.product-page {
    min-height: 100vh;
    background: var(--white);
    padding-top: 0;
    margin-top: 70px !important;
}

.product-topbar {
    padding-top: 12px;
}

.product-topbar-inner,
.product-main-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}

.product-topbar-inner {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.product-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ink3);
}

.product-breadcrumbs a {
    color: var(--ink2);
    text-decoration: none;
    transition: color .2s;
}

.product-breadcrumbs a:hover {
    color: var(--blue);
}

.product-breadcrumbs .current {
    color: var(--ink);
}

.product-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 35px;
    padding: 8px 20px;
    border: 1.5px solid var(--border2);
    font-family: 'Inter',sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.product-back-link:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.product-main {
    padding: 0 0 72px;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.product-gallery-card,
.product-buy-card,
.product-section-card {
    border: 1px solid var(--border);
    background: var(--white);
}

.product-gallery-card {
    padding: 28px;
}

.product-gallery-head {
    margin-bottom: 20px;
}

.product-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
}

.product-title {
    margin: 0;
    font-family: 'Oswald',sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.02;
    letter-spacing: -1px;
}

.product-visual-card {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--surface);
}

.product-model-wrap {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.product-mufta-slider {
    width: 100%;
    overflow: hidden;
}

.product-mufta-track {
    display: flex;
    width: 100%;
    transition: transform .35s ease;
    will-change: transform;
}

.product-mufta-slide {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
}

.product-model-viewer {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: transparent;
    --progress-bar-color: var(--blue);
    --poster-color: transparent;
}

.product-model-viewer::part(default-progress-bar),
.product-model-viewer::part(progress-bar),
.product-model-viewer::part(progress-mask) {
    display: none;
}

.product-model-skeleton {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%),
        var(--surface);
    background-size: 220px 100%, auto;
    animation: productSkeletonShift 1.4s linear infinite;
}

.product-model-skeleton-ring {
    width: clamp(140px, 42%, 220px);
    aspect-ratio: 2.3 / 1;
    border: 4px solid rgba(11, 56, 212, 0.9);
    border-radius: 999px;
    position: relative;
    opacity: 0.9;
}

.product-model-skeleton-ring::after {
    content: "";
    position: absolute;
    inset: 18% auto 18% 36%;
    width: 28%;
    border: 4px solid rgba(11, 56, 212, 0.9);
    border-radius: 999px;
}

@keyframes productSkeletonShift {
    from { background-position: -220px 0, 0 0; }
    to { background-position: calc(100% + 220px) 0, 0 0; }
}

.product-visual-card img,
.product-visual-card svg {
    width: 100%;
    height: 100%;
    max-width: 520px;
    object-fit: contain;
}

.product-secondary-shot {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.product-image-open {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-secondary-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-modal {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(17, 17, 16, .86);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.product-image-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.product-image-modal img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: var(--surface);
}

.product-image-modal-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.product-image-modal-close:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.16);
}

.product-mufta-controls {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.product-mufta-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
    border-radius: 25px;
}

.product-mufta-arrow:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.product-mufta-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-mufta-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border2);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.product-mufta-dot.active {
    background: var(--blue);
    transform: scale(1.15);
}

.product-buy-card {
    position: sticky;
    top: 94px;
    padding: 24px;
}

.product-buy-price {
    margin-bottom: 18px;
    font-family: 'Oswald',sans-serif;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.8px;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.product-stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 9px;
}

.product-stock.is-in-stock {
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
}

.product-stock.is-in-stock .product-stock-dot {
    background: #10b981;
}

.product-stock.is-preorder {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
}

.product-stock.is-preorder .product-stock-dot {
    background: #f59e0b;
}

.product-stock.is-out {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.1);
}

.product-stock.is-out .product-stock-dot {
    background: #ef4444;
}

.product-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-primary-btn,
.product-secondary-btn {
    min-height: 52px;
    border: 0;
    font-family: 'Inter',sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.product-primary-btn {
    background: var(--blue);
    color: var(--white);
}

.product-secondary-btn {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--border);
}

.product-buy-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--ink2);
}

.product-help-card {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.product-help-card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink2);
}

.product-help-card a {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

.product-meta-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.product-section-card {
    padding: 28px;
}

.product-size-table-section {
    margin-top: 20px;
}

.product-section-head {
    margin-bottom: 16px;
}

.product-section-head h2 {
    margin: 0;
    font-family: 'Oswald',sans-serif;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.6px;
}

.product-copy {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink2);
}

.product-copy p:last-child {
    margin-bottom: 0;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-spec-item {
    border: 1px solid var(--border);
    padding: 16px;
    min-height: 84px;
}

.product-spec-item span {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink3);
}

.product-spec-item strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
    word-break: break-word;
}

.product-related {
    margin-top: 28px;
    padding: 0 0 16px;
}

.product-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.product-size-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.product-size-table th,
.product-size-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}

.product-size-table th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--ink3);
    background: var(--surface);
}

.product-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.product-related-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-carousel-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}

.product-carousel-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.product-related-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 300px);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.product-related-carousel::-webkit-scrollbar {
    display: none;
}

.product-related-card {
    scroll-snap-align: start;
}

@media (max-width: 1180px) {
    .product-hero {
        grid-template-columns: 1fr;
    }

    .product-buy-card {
        position: static;
    }

    .product-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .product-topbar-inner,
    .product-main-inner {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 640px) {
    .product-topbar-inner,
    .product-main-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .product-topbar-inner {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .product-topbar {
        padding-top: 8px;
    }

    .product-main {
        padding: 0 0 56px;
    }

    .product-gallery-card,
    .product-section-card,
    .product-buy-card {
        padding: 20px;
    }

    .product-title {
        font-size: 28px;
    }

    .product-visual-card {
        min-height: 240px;
        padding: 20px;
    }

    .product-model-wrap,
    .product-model-viewer,
    .product-model-skeleton,
    .product-secondary-shot {
        min-height: 220px;
    }

    .product-buy-price {
        font-size: 30px;
    }

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

    .product-related-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-related-actions {
        width: 100%;
        justify-content: space-between;
    }

    .product-related-carousel {
        grid-auto-columns: minmax(220px, 82vw);
        gap: 14px;
    }
}
