.product-content {
    background: var(--background);
}

.product-container {
    width: 100%;
}

.product-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 18px;
    padding-bottom: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.product-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.product-breadcrumb-link {
    color: var(--text-muted);
    font-weight: 650;
}

.product-breadcrumb-link:hover {
    color: var(--brand);
}

.product-breadcrumb-current {
    color: var(--navy);
    font-weight: 750;
}

.product-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.product-notice {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    box-shadow: var(--shadow-small);
}

.product-notice.success {
    border-color: #bce4d3;
    background: var(--success-soft);
}

.product-notice.error {
    border-color: #efc8c8;
    background: var(--error-soft);
}

.product-top {
    display: grid;
    gap: 26px;
    padding-bottom: 52px;
}

.product-gallery {
    min-width: 0;
}

.product-gallery-stage {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 250, 254, 0.96)),
        #fff;
    box-shadow: var(--shadow-small);
    overflow: hidden;
}

.product-gallery-stage::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(51, 189, 213, 0.09);
    pointer-events: none;
}

.product-gallery-main {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 19px;
    background: transparent;
    overflow: hidden;
}

.product-gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 19px;
    transition: transform 220ms ease;
}

.product-gallery-main:hover .product-gallery-image {
    transform: scale(1.015);
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px 1px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

.product-gallery-thumb {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: #fff;
    scroll-snap-align: start;
    overflow: hidden;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.product-gallery-thumb:hover {
    transform: translateY(-1px);
    border-color: var(--border-strong);
}

.product-gallery-thumb.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(8, 127, 181, 0.1);
}

.product-gallery-thumb-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.product-summary {
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-medium);
}

.product-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.product-title {
    margin: 0 0 12px;
    color: var(--navy-strong);
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.product-reviews-link,
.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.product-reviews-link:hover,
.product-rating:hover {
    color: var(--brand);
}

.product-rating {
    margin-top: 3px;
    flex-wrap: wrap;
}

.product-rating-stars,
.review-stars {
    color: #f2a31c;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 1px;
}

.product-rating-text {
    line-height: 1.4;
}

.product-pricing {
    padding: 20px 0 8px;
}

.price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 12px;
}

.price-old {
    color: var(--text-subtle);
    font-size: 17px;
    font-weight: 650;
}

.price-new,
.price-current {
    color: var(--navy-strong);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.6px;
}

.saving-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 13px;
    line-height: 1.15;
    font-weight: 850;
}

.product-short-description {
    margin: 14px 0 18px;
    color: var(--text);
    font-size: 16px;
}

.product-short-description > *:last-child {
    margin-bottom: 0;
}

.product-short-description ul,
.product-short-description ol {
    padding-left: 20px;
}

.product-short-description li + li {
    margin-top: 7px;
}

.product-purchase {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.product-quantity {
    min-width: 0;
}

.product-quantity-control {
    height: 56px;
    display: grid;
    grid-template-columns: 42px 42px 42px;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface-blue);
    overflow: hidden;
}

.product-quantity-button {
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 20px;
    font-weight: 850;
}

.product-quantity-button:hover {
    background: var(--brand-soft);
}

.product-quantity-input {
    width: 42px !important;
    min-height: 54px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--navy) !important;
    text-align: center;
    font-size: 15px !important;
    font-weight: 850;
    box-shadow: none !important;
    appearance: textfield;
}

.product-quantity-input::-webkit-inner-spin-button,
.product-quantity-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.product-add-to-cart {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    border-radius: 999px;
}

.product-add-to-cart svg {
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
}

.product-add-to-cart-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: product-spin 700ms linear infinite;
}

.product-add-to-cart.is-loading .product-add-to-cart-spinner,
.sticky-add-to-cart-button.is-loading .product-add-to-cart-spinner {
    display: block;
}

.product-add-to-cart.is-loading svg,
.sticky-add-to-cart-button.is-loading svg {
    display: none;
}

@keyframes product-spin {
    to {
        transform: rotate(360deg);
    }
}

.product-unavailable {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #efcaca;
    border-radius: 15px;
    background: var(--error-soft);
    color: var(--error);
    font-size: 15px;
    font-weight: 750;
}

.purchase-benefits {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.purchase-benefit {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--brand-pale);
}

.buy-benefit-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 5px 12px rgba(9, 58, 90, 0.07);
}

.buy-benefit-icon svg {
    width: 20px;
    height: 20px;
}

.buy-benefit-content {
    min-width: 0;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}

.payments-wrapper,
.product-payments {
    margin-top: 14px;
}

.payments,
.product-payments-image {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.product-comfort-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid #bfe7ef;
    border-radius: 16px;
    background: linear-gradient(135deg, #edfafe, #f8fdff);
}

.product-comfort-note-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-small);
}

.ortobalance-product-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 4px;
    padding: 4px 4px;
    border: 1px solid #bfe7ef;
    border-radius: 16px;
    background: linear-gradient(135deg, #edfafe, #f8fdff);
}

.product-note-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-small);
}

.product-comfort-note-icon svg {
    width: 20px;
    height: 20px;
}

.product-note-icon {
    font-size: 16px;
    font-weight: 700;
}

.product-comfort-note-content {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.product-comfort-note-title {
    color: var(--navy);
    font-size: 14px;
    font-weight: 850;
}

.product-comfort-note-text,
.product-note-text {
    font-size: 14px;
    line-height: 1.45;
}

.product-description {
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
}

.product-description-content {
    width: 100%;
    margin: 0 auto;
    color: var(--text);
    font-size: 16px;
}

.product-description-content > *:first-child {
    margin-top: 0;
}

.product-description-content img,
.product-description-content video,
.product-description-content iframe {
    max-width: 100%;
}

.product-description-content a:not(.button) {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.product-description-content strong {
    color: var(--navy);
}

.review-copy {
    color: var(--text-muted);
    font-size: 14px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(5, 27, 42, 0.92);
}

.lightbox-image {
    max-width: min(100%, 1100px);
    max-height: calc(100vh - 44px);
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

@media (min-width: 768px) {
    .product-breadcrumbs {
        padding-top: 24px;
        padding-bottom: 20px;
    }

    .product-top {
        grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
        align-items: start;
        gap: 34px;
        padding-bottom: 72px;
    }

    .product-gallery-stage {
        padding: 14px;
        border-radius: 30px;
    }

    .product-gallery-image,
    .product-gallery-main {
        border-radius: 22px;
    }

    .product-gallery-thumb {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .product-summary {
        position: sticky;
        top: 104px;
        padding: 28px;
        border-radius: 30px;
    }

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

    .purchase-benefits {
        grid-template-columns: 1fr;
    }

    .product-description-content {
        font-size: 17px;
    }
}

@media (min-width: 1280px) {
    .product-breadcrumbs {
        padding-top: 30px;
        padding-bottom: 24px;
    }

    .product-top {
        grid-template-columns: minmax(0, 1.08fr) 470px;
        gap: 58px;
        padding-bottom: 88px;
    }

    .product-summary {
        top: 112px;
        padding: 34px;
    }

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

    .price-new,
    .price-current {
        font-size: 34px;
    }
}
