.store-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: none;
}

.product-copy h3 a {
    color: inherit;
}

.cart-shortcut {
    position: relative;
    order: 100;
    width: 46px;
    height: 46px;
    border-color: #34506f;
    background: #101f33;
    box-shadow: 0 6px 18px #0005;
}

.cart-shortcut:hover {
    border-color: var(--blue);
    background: #142944;
    transform: translateY(-1px);
}

.cart-shortcut svg {
    width: 23px;
    height: 23px;
}

.cart-shortcut > span {
    position: absolute;
    inset: -5px -5px auto auto;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 2px solid #09162a;
    border-radius: 50%;
    background: var(--green);
    color: #062d24;
    font-size: 8px;
    font-weight: 900;
}

.account-security-panel label small {
    display: block;
    margin-top: 4px;
    color: #667287;
    font-weight: 400;
}

.account-password-form label {
    display: block;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #f8fafc;
    color: #142033;
    font-size: 13px;
}

.account-password-form label input {
    min-height: 48px;
    margin-top: 7px;
    border-color: #c8d2de;
    background: #fff;
}

.account-password-form label input:focus {
    border-color: #16865f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(22, 134, 95, .14);
}

.account-password-form label + label {
    margin-top: 2px;
}
@media (max-width: 680px) {
    .cart-shortcut {
        width: 44px;
        height: 44px;
    }
}

.promotion-thumb,
.brand-cover {
    overflow: hidden;
}

.promotion-thumb img,
.brand-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-specs {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.phone-specs span {
    border: 1px solid #30445f;
    border-radius: 4px;
    padding: 2px 6px;
    color: #aebbd0;
    font-size: 9px;
}

.product-page {
    padding-block: 24px 60px;
    min-height: 70vh;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
    color: #718198;
    font-size: 11px;
    white-space: nowrap;
}

.breadcrumbs b {
    overflow: hidden;
    color: #aebbd0;
    text-overflow: ellipsis;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 42px;
    align-items: start;
}

.product-gallery {
    min-height: 510px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #091728;
    overflow: hidden;
}

.product-gallery img {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: contain;
}

.detail-placeholder {
    min-height: 510px;
    display: grid;
    place-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0d2340, #101c30);
}

.detail-placeholder span {
    color: var(--blue);
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
}

.detail-placeholder small {
    color: var(--muted);
}

.product-summary h1 {
    margin: 4px 0 10px;
    font-size: 35px;
    line-height: 1.35;
}

.detail-state {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
}

.detail-description {
    margin: 20px 0;
    color: #aebbd0;
    font-size: 13px;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.spec-list div {
    padding: 11px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.spec-list dt {
    color: var(--muted);
    font-size: 10px;
}

.spec-list dd {
    margin: 2px 0 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding-block: 22px;
}

.detail-price strong {
    font-size: 29px;
}

.detail-price strong small,
.detail-price del {
    color: var(--muted);
    font-size: 11px;
}

.detail-price > span {
    padding: 3px 7px;
    border-radius: 4px;
    background: #12342f;
    color: #62e1ba;
    font-size: 10px;
    font-weight: 800;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #30445f;
    border-radius: 6px;
    color: #d4deea;
    font-weight: 800;
}

.related-section {
    margin-top: 46px;
}

.related-section h2 {
    margin: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.related-grid > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    padding: 10px;
}

.related-grid > a > span {
    flex: 0 0 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #0b192b;
    color: var(--blue);
    font-size: 25px;
    font-weight: 900;
}

.related-grid small,
.related-grid strong,
.related-grid b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-grid small {
    color: var(--muted);
    font-size: 9px;
}

.related-grid strong {
    color: #fff;
    font-size: 12px;
}

.related-grid b {
    color: #62e1ba;
    font-size: 10px;
}

@media (max-width: 760px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery,
    .product-gallery img,
    .detail-placeholder {
        min-height: 340px;
        height: 340px;
    }

    .product-summary h1 {
        font-size: 27px;
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 430px) {
    .detail-actions {
        grid-template-columns: 1fr;
    }

    .secondary-button {
        min-height: 44px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

.store-hero::before,
.store-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

.store-hero .hero-content {
    position: relative;
    z-index: 1;
}

.store-hero::before {
    display: none;
}

.store-hero .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-hero::after {
    background: linear-gradient(90deg, transparent 25%, #071321 74%);
}

@media (max-width: 680px) {
    .store-hero {
        background-image: none;
    }

    .store-hero .hero-media {
        object-position: 35% center;
    }

    .store-hero::after {
        background: linear-gradient(90deg, #07132130, #071321 75%);
    }
}
.store-banner {
    margin: 1.5rem 0 2rem;
    overflow: hidden;
    border: 1px solid rgba(43, 145, 255, .28);
    border-radius: 28px;
    background: #020711;
    box-shadow: 0 24px 70px rgba(0, 64, 160, .22);
}

.store-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.5 / 1;
    object-fit: cover;
}

.home-showcase {
    margin: 3rem 0;
}

.showcase-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding: .3rem .1rem 1rem;
    scroll-snap-type: x mandatory;
}

.showcase-card {
    display: grid;
    gap: .45rem;
    min-height: 320px;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(14, 29, 49, .96), rgba(4, 12, 25, .96));
    scroll-snap-align: start;
}

.showcase-image {
    display: grid;
    place-items: center;
    min-height: 180px;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 30%, rgba(27, 137, 255, .2), transparent 68%);
}

.showcase-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.showcase-card strong { color: #35a2ff; font-size: 1.08rem; }
.showcase-card del { opacity: .55; font-size: .85rem; }

@media (max-width: 700px) {
    .store-banner { margin-top: 1rem; border-radius: 18px; }
    .store-banner img { min-height: 190px; object-position: center; }
    .showcase-scroller { grid-auto-columns: minmax(175px, 78vw); }
}

.detail-cart-form { display: grid; gap: 14px; }
.detail-quantity { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 800; }
.detail-quantity input { width: 110px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); padding: 10px; text-align: center; }
.detail-cart-feedback {
    display: block;
    height: 22px;
    overflow: hidden;
    color: var(--green);
    font-weight: 800;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cart-feedback {
    display: block;
    height: 26px;
    overflow: hidden;
    padding-top: 4px;
    color: var(--green);
    font-weight: 800;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}