.phone-spec-showcase {
    margin-top: 38px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0, rgb(52 136 255 / 12%), transparent 32%),
        var(--paper);
}

.phone-spec-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    padding: 22px 24px;
}

.phone-spec-heading h2,
.phone-spec-heading p {
    margin: 0;
}

.phone-spec-heading h2 {
    font-size: clamp(21px, 3vw, 29px);
}

.phone-spec-heading p {
    max-width: 360px;
    color: var(--muted);
    font-size: 11px;
}

.phone-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.phone-spec-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    min-height: 112px;
    background: var(--paper);
    padding: 18px 20px;
}

.phone-spec-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid #2c5a88;
    border-radius: 13px;
    background: linear-gradient(145deg, #173d67, #102947);
    color: #83bbff;
}

.phone-spec-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phone-spec-card h3 {
    margin: 0 0 4px;
    color: #7eb7ff;
    font-size: 11px;
}

.phone-spec-card p {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.9;
}

.phone-spec-card p b {
    color: var(--muted);
    font-size: 10px;
}

html[data-theme="light"] .phone-spec-showcase {
    border-color: #d7e2dc;
    background: #fff;
    box-shadow: 0 16px 40px rgb(31 72 56 / 7%);
}

html[data-theme="light"] .phone-spec-grid {
    background: #dce6e1;
}

html[data-theme="light"] .phone-spec-card {
    background: #fff;
}

html[data-theme="light"] .phone-spec-card p {
    color: #17201d;
}

@media (max-width: 700px) {
    .phone-spec-heading {
        display: block;
        padding: 18px;
    }

    .phone-spec-heading p {
        margin-top: 6px;
    }

    .phone-spec-grid {
        grid-template-columns: 1fr;
    }

    .phone-spec-card {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 96px;
        padding: 15px;
    }

    .phone-spec-icon {
        width: 46px;
        height: 46px;
    }
}

/* Variant picker and color-specific gallery */
.product-gallery [data-product-main-image] { width: 100%; max-height: 560px; display: block; object-fit: contain; }
.product-thumbnails { display: flex; gap: 8px; padding-top: 10px; overflow-x: auto; }
.product-thumbnails button { width: 66px; height: 66px; flex: 0 0 66px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; }
.product-thumbnails button.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.product-thumbnails img { width: 100%; height: 100%; display: block; border-radius: 5px; object-fit: cover; }
.variant-picker-panel { display: grid; gap: 14px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 21, 38, .42); }
.variant-picker-panel script { display: none; }
.variant-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.variant-dimensions label { color: var(--muted); font-size: 11px; font-weight: 800; }
.variant-dimensions select { display: block; width: 100%; margin-top: 5px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); }
.variant-colors { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
.variant-colors legend { width: 100%; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 800; }
.variant-colors button { min-width: 76px; min-height: 42px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); cursor: pointer; }
.variant-colors button.selected { border-color: var(--blue); background: var(--blue); color: #fff; }
.variant-colors button:disabled { opacity: .42; cursor: not-allowed; text-decoration: line-through; }
.variant-picker-panel #variant-stock { color: var(--green); font-weight: 800; }
.variant-picker-panel #variant-stock.out { color: var(--coral); }
html[data-theme="light"] .variant-picker-panel { background: #f6f9f7; }
@media (max-width: 480px) { .variant-dimensions { grid-template-columns: 1fr; } .variant-colors button { flex: 1 1 calc(50% - 8px); } .product-thumbnails button { width: 58px; height: 58px; flex-basis: 58px; } }