.product-page,
.product-detail {
    color: var(--web-body-text, #1f2937);
    background: var(--web-body-background, #ffffff);
}

.product-page__header,
.product-detail__header {
    padding: 34px 0;
    background: #f4f7fb;
    border-bottom: 1px solid #dbe3ec;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 14px;
}

.product-breadcrumb a {
    color: var(--web-link-text, #2563eb);
    text-decoration: none;
}

.product-breadcrumb i {
    font-size: 10px;
}

.product-page__header h1 {
    margin: 18px 0 0;
    color: var(--web-title-text, #0f172a);
    font-family: var(--web-title-font-family, inherit);
    font-size: min(var(--web-title-font-size, 38px), 42px);
    line-height: 1.2;
    letter-spacing: 0;
}

.product-page__lead {
    max-width: 860px;
    margin-top: 16px;
    color: #526174;
    line-height: 1.75;
}

.product-page__content {
    padding-top: 42px;
    padding-bottom: 68px;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.product-categories a {
    padding: 9px 14px;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #ffffff;
}

.product-categories a:hover,
.product-categories a.is-active {
    color: #ffffff;
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
}

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

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    transform: translateY(-3px);
}

.product-card__media {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #eef2f6;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.035);
}

.product-card__placeholder,
.product-gallery__empty {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #94a3b8;
    font-size: 32px;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.product-card__category {
    margin-bottom: 7px;
    color: #15803d;
    font-size: 12px;
    font-weight: 750;
}

.product-card h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: 0;
}

.product-card h2 a {
    color: var(--web-heading-text, #111827);
    text-decoration: none;
}

.product-card p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.product-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.product-price {
    display: flex;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.product-price strong,
.product-detail-price strong {
    font-size: 16px;
    line-height: 1.5;
    color: #d70018;
    display: inline-block;
}

.product-price del,
.product-detail-price del {
    color: #94a3b8;
    font-size: 13px;
}

.product-card__link {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
}

.product-pagination {
    margin-top: 34px;
}

.product-empty {
    padding: 48px 0;
    color: #64748b;
    text-align: center;
}

.product-detail__overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 56px;
}

.product-gallery__main {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #eef2f6;
}

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

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-gallery__thumbs button {
    overflow: hidden;
    padding: 0;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #ffffff;
}

.product-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__empty {
    min-height: 420px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #eef2f6;
}

.product-summary h1 {
    margin: 0 0 18px;
    color: var(--web-title-text, #0f172a);
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: 0;
}

.product-summary__description {
    color: #526174;
    line-height: 1.75;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 24px 0;
}

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

.product-meta {
    margin: 0;
    border-top: 1px solid #e5eaf0;
}

.product-meta > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #e5eaf0;
}

.product-meta dt {
    color: #64748b;
    font-weight: 700;
}

.product-meta dd {
    margin: 0;
}

.product-detail__content {
    display: grid;
    gap: 34px;
    padding-bottom: 60px;
}

.product-detail__content section {
    padding-top: 30px;
    border-top: 1px solid #dbe3ec;
}

.product-detail__content h2,
.product-related > h2 {
    margin: 0 0 20px;
    color: var(--web-heading-text, #111827);
    font-size: 25px;
    letter-spacing: 0;
}

.product-richtext {
    font-family: var(--web-content-font-family, inherit);
    font-size: var(--web-content-font-size, 16px);
    line-height: 1.8;
}

.product-richtext img {
    max-width: 100%;
    height: auto;
}

.product-related {
    padding-top: 34px;
    padding-bottom: 68px;
    border-top: 1px solid #dbe3ec;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail__overview {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 520px) {
    .product-page__header,
    .product-detail__header {
        padding: 26px 0;
    }

    .product-page__content,
    .product-detail__overview {
        padding-top: 32px;
        padding-bottom: 44px;
    }

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

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

    .product-gallery__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* ==============================
   PRODUCT COMMERCE CONTROLS
================================= */
.product-card__visual {
    position: relative;
}

.product-card__sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 5px;
    background: #dc2626;
}

.product-card__quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    gap: 8px;
}

.product-card__quick-actions button,
.product-detail__actions > button:not(.product-detail__cart) {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #334155;
    cursor: pointer;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.11);
}

.product-card__quick-actions button:hover,
.product-card__quick-actions button.is-active,
.product-detail__actions > button:not(.product-detail__cart):hover,
.product-detail__actions > button:not(.product-detail__cart).is-active {
    color: #ffffff;
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
}

.product-card__commands {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.product-card__cart,
.product-detail__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    color: #ffffff;
    font-weight: 750;
    cursor: pointer;
    border: 1px solid var(--web-link-text, #2563eb);
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
}

.product-card__cart:hover,
.product-detail__cart:hover,
.product-card__cart.is-added {
    border-color: #15803d;
    background: #15803d;
}

.product-card__cart:disabled,
.product-detail__cart:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
    background: #f1f5f9;
}

.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin: 0 0 24px;
}

.product-detail__cart {
    height: 44px;
    padding: 0 20px;
}

.product-detail__actions > button:not(.product-detail__cart) {
    width: 44px;
    height: 44px;
    box-shadow: none;
}

@media (max-width: 520px) {
    .product-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-card__commands {
        justify-content: stretch;
    }

    .product-card__cart {
        flex: 1;
    }
}
/* ==============================
   PRODUCT CARD POLISH
================================= */
.product-card__media img {
    display: block;
}

.product-card__body {
    min-height: 0;
}

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

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

.product-card__detail {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    color: var(--web-link-text, #2563eb);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid var(--web-link-text, #2563eb);
    border-radius: 6px;
    background: #ffffff;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.product-card__detail:hover {
    color: #ffffff;
    background: var(--web-link-text, #2563eb);
}

.product-card__detail i {
    font-size: 12px;
}

.product-card__cart,
.product-card__detail,
.product-card__link {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .product-card__cart span {
        display: none;
    }

    .product-card__cart {
        width: 38px;
        flex: 0 0 38px;
        padding: 0;
    }
}

@media (max-width: 520px) {
    .product-card__cart span {
        display: inline;
    }

    .product-card__cart {
        width: auto;
        flex: 1;
        padding: 0 13px;
    }
}
/* ==============================
   ADVANCED PRODUCT CATALOG
================================= */
.product-page__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
}

.product-page__heading h1 {
    margin: 0;
}

.product-page__heading p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
}

.product-page__heading p span {
    padding: 4px 8px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    border-radius: 5px;
    background: #dbeafe;
}

.product-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    color: #ffffff;
    font-weight: 750;
    cursor: pointer;
    border: 0;
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
}

.product-filter-toggle strong {
    display: grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    color: var(--web-link-text, #2563eb);
    font-size: 11px;
    border-radius: 10px;
    background: #ffffff;
}

.product-catalog {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.product-filter {
    position: sticky;
    top: 18px;
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
}

.product-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5eaf0;
}

.product-filter__head > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #0f172a;
}

.product-filter__head > div i {
    color: var(--web-link-text, #2563eb);
}

.product-filter__head button {
    display: none;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #475569;
    cursor: pointer;
    border: 1px solid #dbe3ec;
    border-radius: 5px;
    background: #ffffff;
}

.product-filter__form {
    display: grid;
}

.product-filter__group {
    display: grid;
    gap: 9px;
    padding: 17px 18px;
    border-bottom: 1px solid #edf1f5;
}

.product-filter__group > label {
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.product-filter input,
.product-filter select,
.product-toolbar select {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 11px;
    color: #0f172a;
    font: inherit;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    background: #ffffff;
}

.product-filter input:focus,
.product-filter select:focus,
.product-toolbar select:focus {
    border-color: var(--web-link-text, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.product-filter__search {
    position: relative;
}

.product-filter__search i {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #94a3b8;
    font-size: 13px;
    transform: translateY(-50%);
}

.product-filter__search input {
    padding-left: 34px;
}

.product-filter__prices {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 7px;
    align-items: center;
}

.product-filter__prices span {
    color: #94a3b8;
}

.product-filter__checks {
    gap: 8px;
}

.product-filter__checks label {
    cursor: pointer;
}

.product-filter__checks input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.product-filter__checks span {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    padding: 0 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 650;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
}

.product-filter__checks span i {
    width: 17px;
    color: #94a3b8;
    text-align: center;
}

.product-filter__checks input:checked + span {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
}

.product-filter__checks input:checked + span i {
    color: #2563eb;
}

.product-filter__actions {
    display: grid;
    gap: 9px;
    padding: 17px 18px;
}

.product-filter__actions button,
.product-filter__actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--web-link-text, #2563eb);
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
}

.product-filter__actions a {
    color: #475569;
    border-color: #dbe3ec;
    background: #ffffff;
}

.product-filter__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    color: #64748b;
    font-size: 13px;
    border-top: 1px solid #e5eaf0;
    background: #f8fafc;
}

.product-filter__summary strong {
    color: #0f172a;
    font-size: 16px;
}

.product-filter-overlay {
    display: none;
}

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

.product-toolbar {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 8px 12px 8px 16px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
}

.product-toolbar p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.product-toolbar p strong {
    color: #0f172a;
}

.product-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 9px;
}

.product-toolbar__sort label {
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.product-toolbar__sort select {
    width: 160px;
    height: 36px;
}

.product-catalog__main .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-catalog__main .product-card h2 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-catalog__main .product-card__footer {
    display: grid;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
}

.product-catalog__main .product-card__commands {
    width: 100%;
}

.product-catalog__main .product-card__cart,
.product-catalog__main .product-card__detail {
    flex: 1;
}

.product-empty {
    display: grid;
    min-height: 320px;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 40px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.product-empty > i {
    color: #94a3b8;
    font-size: 34px;
}

.product-empty strong {
    color: #0f172a;
    font-size: 18px;
}

.product-empty p {
    margin: 0;
}

.product-empty a {
    color: var(--web-link-text, #2563eb);
    font-weight: 750;
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 34px;
}

.catalog-pagination__page,
.catalog-pagination__nav,
.catalog-pagination__dots {
    display: grid;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    place-items: center;
    color: #475569;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #ffffff;
}

.catalog-pagination__page:hover,
.catalog-pagination__nav:hover,
.catalog-pagination__page.is-active {
    color: #ffffff;
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
}

.catalog-pagination__nav.is-disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background: #f8fafc;
}

.catalog-pagination__dots {
    min-width: 28px;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

@media (max-width: 1120px) {
    .product-catalog {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 20px;
    }

    .product-catalog__main .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body.is-product-filter-open {
        overflow: hidden;
    }

    .product-filter-toggle {
        display: inline-flex;
    }

    .product-catalog {
        display: block;
    }

    .product-filter {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 101;
        width: min(360px, 92vw);
        height: 100vh;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .product-filter.is-open {
        transform: translateX(0);
    }

    .product-filter__head {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #ffffff;
    }

    .product-filter__head button {
        display: grid;
    }

    .product-filter-overlay {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    body.is-product-filter-open .product-filter-overlay {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 620px) {
    .product-page__heading {
        align-items: flex-start;
    }

    .product-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .product-toolbar__sort {
        justify-content: space-between;
    }

    .product-toolbar__sort select {
        flex: 1;
        width: auto;
    }

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

    .product-catalog__main .product-card__body {
        padding: 12px;
    }

    .product-catalog__main .product-card h2 {
        min-height: 42px;
        font-size: 15px;
    }

    .catalog-pagination__page,
    .catalog-pagination__nav {
        min-width: 36px;
        height: 36px;
    }
}

@media (max-width: 390px) {
    .product-catalog__main .product-grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   ENHANCED PRODUCT DETAIL
================================= */
.product-detail__header {
    padding: 18px 0;
}

.product-detail__overview {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 56px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--product-sticky-offset, 16px) + 16px);
    min-width: 0;
}

.product-gallery__arrow {
    position: absolute;
    top: calc((100% - 88px) / 2);
    z-index: 4;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid #d9e1ea;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.14);
    color: #344054;
    cursor: pointer;
    transition: 0.2s ease;
}
.product-gallery__arrow.is-prev {
    left: 14px;
}
.product-gallery__arrow.is-next {
    right: 14px;
}
.product-gallery__arrow:hover {
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
    color: #fff;
    transform: scale(1.06);
}
.product-gallery__dots {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 102px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}
.product-gallery__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(71, 84, 103, 0.38);
    cursor: pointer;
    pointer-events: auto;
    transition: 0.2s ease;
}
.product-gallery__dots button.is-active {
    width: 24px;
    border-radius: 5px;
    background: var(--web-link-text, #2563eb);
}
.product-gallery__main {
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}
.product-gallery__main:active {
    cursor: grabbing;
}
.product-gallery__main img {
    pointer-events: none;
}

.product-callback {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dce4ed;
    border-radius: 8px;
    background: #f8fafc;
}
.product-callback__head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}
.product-callback__head > i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #e8f3ff;
    color: var(--web-link-text, #2563eb);
}
.product-callback__head div {
    display: grid;
    gap: 2px;
}
.product-callback__head strong {
    color: #172033;
    font-size: 15px;
}
.product-callback__head span {
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}
.product-callback form {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
    gap: 9px;
}
.product-callback form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.product-callback input {
    min-width: 0;
    height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: none;
}
.product-callback input:focus {
    border-color: var(--web-link-text, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.product-callback button {
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.product-callback button i {
    margin-right: 6px;
}
.product-callback__honeypot {
    position: absolute !important;
    left: -9999px !important;
}
.product-callback__message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
}
.product-callback__message.is-success {
    border: 1px solid #a7e2c4;
    background: #ecfdf3;
    color: #087443;
}
.product-callback__message.is-error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b42318;
}

@media (max-width: 767px) {
    .product-gallery__arrow {
        width: 36px;
        height: 36px;
    }
    .product-gallery__arrow.is-prev {
        left: 9px;
    }
    .product-gallery__arrow.is-next {
        right: 9px;
    }
    .product-gallery__dots {
        bottom: 94px;
    }
    .product-callback form {
        grid-template-columns: 1fr;
    }
    .product-callback form > div {
        grid-template-columns: 1fr;
    }
    .product-callback button {
        width: 100%;
    }
}

.product-gallery__main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    cursor: zoom-in;
    border: 1px solid #dbe3ec;
    background: #ffffff;
}

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

.product-gallery__main > span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.product-gallery__thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-gallery__thumbs button {
    position: relative;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-gallery__thumbs button:hover,
.product-gallery__thumbs button.is-active {
    border-color: var(--web-link-text, #2563eb);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

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

.product-summary__category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--web-link-text, #2563eb);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    text-transform: uppercase;
}

.product-summary h1 {
    margin-bottom: 12px;
}

.product-summary__rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
}

.product-summary__rating strong {
    color: #0f172a;
}

.product-stars {
    display: inline-flex;
    gap: 3px;
    color: #f59e0b;
}

.product-stars i {
    font-size: 14px;
}

.product-detail-price {
    padding: 17px 0;
    margin: 18px 0;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.product-meta {
    margin-top: 22px;
}

.product-meta > div {
    grid-template-columns: 112px minmax(0, 1fr);
}

.product-meta dd.is-in-stock {
    color: #15803d;
    font-weight: 750;
}

.product-meta dd.is-out-of-stock {
    color: #dc2626;
    font-weight: 750;
}

.product-meta dd i {
    margin-right: 6px;
}

.product-summary__description {
    margin-top: 20px;
    padding: 18px;
    color: #475569;
    line-height: 1.75;
    border-left: 3px solid var(--web-link-text, #2563eb);
    border-radius: 0 6px 6px 0;
    background: #f8fafc;
}

.product-summary__description > :first-child {
    margin-top: 0;
}

.product-summary__description > :last-child {
    margin-bottom: 0;
}

.product-information {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding-top: 18px;
    padding-bottom: 68px;
}

.product-detail-toc {
    position: sticky;
    top: calc(var(--product-sticky-offset, 16px) + 16px);
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
}

.product-detail-toc > strong {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 17px;
    color: #0f172a;
    border-bottom: 1px solid #e5eaf0;
    background: #f8fafc;
}

.product-detail-toc > strong i {
    color: var(--web-link-text, #2563eb);
}

.product-detail-toc nav {
    display: grid;
    max-height: calc(100vh - var(--product-sticky-offset, 16px) - 48px);
    overflow-y: auto;
    padding: 8px;
}

.product-detail-toc a {
    padding: 9px 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 5px;
}

.product-detail-toc a:hover {
    color: var(--web-link-text, #2563eb);
    background: #eff6ff;
}

.product-detail-toc a.toc-level-2 {
    padding-left: 18px;
}

.product-detail-toc a.toc-level-3 {
    padding-left: 30px;
    font-weight: 550;
}

.product-detail-toc a.toc-level-4 {
    padding-left: 42px;
    color: #64748b;
    font-weight: 500;
}

.product-information__body {
    display: grid;
    min-width: 0;
    gap: 24px;
}

.product-content-panel {
    scroll-margin-top: calc(var(--product-sticky-offset, 16px) + 20px);
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
}

.product-content-panel > header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 22px;
    border-bottom: 1px solid #e5eaf0;
    background: #f8fafc;
}

.product-content-panel > header i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
}

.product-content-panel > header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
}

.product-content-panel .product-richtext {
    padding: 24px;
}

.product-richtext h2,
.product-richtext h3,
.product-richtext h4 {
    scroll-margin-top: calc(var(--product-sticky-offset, 16px) + 20px);
    color: #0f172a;
    letter-spacing: 0;
}

.product-richtext h2 {
    margin: 30px 0 14px;
    font-size: 24px;
}

.product-richtext h3 {
    margin: 25px 0 12px;
    font-size: 20px;
}

.product-richtext h4 {
    margin: 21px 0 10px;
    font-size: 17px;
}

.product-richtext table {
    width: 100%;
    overflow: hidden;
    border-spacing: 0;
    border-collapse: separate;
    border: 1px solid #dbe3ec;
    border-radius: 7px;
}

.product-richtext th,
.product-richtext td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid #e5eaf0;
    border-bottom: 1px solid #e5eaf0;
}

.product-richtext th {
    width: 34%;
    color: #334155;
    background: #f8fafc;
}

.product-richtext tr:last-child > * {
    border-bottom: 0;
}

.product-richtext tr > *:last-child {
    border-right: 0;
}

body.is-product-lightbox-open {
    overflow: hidden;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
}

.product-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1100px, 96vw);
    height: min(820px, 92vh);
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.product-lightbox__head {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 20px;
    color: #475569;
    font-weight: 700;
    border-bottom: 1px solid #e5eaf0;
}

.product-lightbox__head button,
.product-lightbox__nav {
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 0;
}

.product-lightbox__head button {
    width: 38px;
    height: 38px;
    color: #334155;
    border-radius: 6px;
    background: #f1f5f9;
}

.product-lightbox__stage {
    position: relative;
    display: grid;
    min-height: 0;
    place-items: center;
    padding: 18px 72px;
    background: #f8fafc;
}

.product-lightbox__stage > img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-lightbox__nav {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 54px;
    color: #ffffff;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.76);
    transform: translateY(-50%);
}

.product-lightbox__nav--prev {
    left: 14px;
}

.product-lightbox__nav--next {
    right: 14px;
}

.product-lightbox__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 16px;
    border-top: 1px solid #e5eaf0;
}

.product-lightbox__thumbs button {
    overflow: hidden;
    flex: 0 0 64px;
    height: 64px;
    padding: 0;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    background: #f1f5f9;
}

.product-lightbox__thumbs button.is-active {
    border-color: var(--web-link-text, #2563eb);
}

.product-lightbox__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ==============================
   PRODUCT REVIEWS AND RELATED
================================= */
.product-reviews {
    padding: 64px 0;
    border-top: 1px solid #e5eaf0;
    background: #f8fafc;
    scroll-margin-top: calc(var(--product-sticky-offset, 16px) + 20px);
}

.product-reviews__head,
.product-related__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.product-reviews__head span {
    color: var(--web-link-text, #2563eb);
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
}

.product-reviews__head h2,
.product-related__head h2 {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 28px;
    letter-spacing: 0;
}

.product-reviews__head > p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.product-review-overview {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.product-rating-summary,
.product-review-form {
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
}

.product-rating-summary {
    padding: 24px;
    text-align: center;
}

.product-rating-summary__score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.product-rating-summary__score strong {
    color: #0f172a;
    font-size: 48px;
    line-height: 1;
}

.product-rating-summary__score span {
    color: #94a3b8;
    font-size: 18px;
}

.product-rating-summary > .product-stars {
    margin-top: 12px;
}

.product-rating-summary > .product-stars i {
    font-size: 20px;
}

.product-rating-summary > p {
    margin: 10px 0 20px;
    color: #64748b;
    font-size: 13px;
}

.product-rating-bars {
    display: grid;
    gap: 8px;
}

.product-rating-bars > div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 8px;
    align-items: center;
    color: #64748b;
    font-size: 12px;
}

.product-rating-bars > div > span i {
    color: #f59e0b;
    font-size: 10px;
}

.product-rating-bars > div > div {
    overflow: hidden;
    height: 7px;
    border-radius: 4px;
    background: #e5eaf0;
}

.product-rating-bars > div > div i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f59e0b;
}

.product-review-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.product-review-form h3 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
}

.product-review-form > label,
.product-review-form__row label {
    display: grid;
    gap: 7px;
}

.product-review-form label > span,
.product-review-stars legend {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.product-review-form input,
.product-review-form textarea,
.product-review-reply input,
.product-review-reply textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    color: #0f172a;
    font: inherit;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    background: #ffffff;
}

.product-review-form input {
    height: 42px;
}

.product-review-form textarea,
.product-review-reply textarea {
    resize: vertical;
}

.product-review-form input:focus,
.product-review-form textarea:focus,
.product-review-reply input:focus,
.product-review-reply textarea:focus {
    border-color: var(--web-link-text, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.product-review-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.product-review-stars {
    padding: 0;
    margin: 0;
    border: 0;
}

.product-review-stars > div {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 3px;
    margin-top: 8px;
}

.product-review-stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.product-review-stars label {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 24px;
}

.product-review-stars label:hover,
.product-review-stars label:hover ~ label,
.product-review-stars input:checked ~ label {
    color: #f59e0b;
}

.product-review-form > button,
.product-review-reply form > button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: 8px;
    padding: 0 18px;
    color: #ffffff;
    font-weight: 750;
    cursor: pointer;
    border: 0;
    border-radius: 6px;
    background: var(--web-link-text, #2563eb);
}

.product-review-honeypot {
    position: absolute !important;
    left: -10000px !important;
}

.product-review-message {
    padding: 11px 13px;
    font-size: 13px;
    border-radius: 6px;
}

.product-review-message.is-success {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.product-review-message.is-error {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.product-review-list {
    display: grid;
    gap: 0;
    margin-top: 30px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #ffffff;
}

.product-review-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid #e5eaf0;
}

.product-review-item:last-child {
    border-bottom: 0;
}

.product-review-item__avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #1d4ed8;
    font-weight: 800;
    border-radius: 50%;
    background: #dbeafe;
}

.product-review-item__body {
    min-width: 0;
}

.product-review-item header,
.product-review-replies article header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-review-item header > div,
.product-review-replies article header > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.product-review-item header span,
.product-review-replies article header span {
    padding: 3px 7px;
    color: #166534;
    font-size: 11px;
    font-weight: 750;
    border-radius: 4px;
    background: #dcfce7;
}

.product-review-item time,
.product-review-replies time {
    color: #94a3b8;
    font-size: 12px;
}

.product-review-item__body > .product-stars {
    margin-top: 7px;
}

.product-review-item__body > p,
.product-review-replies p {
    margin: 10px 0 0;
    color: #475569;
    line-height: 1.7;
}

.product-review-reply {
    margin-top: 12px;
}

.product-review-reply summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--web-link-text, #2563eb);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.product-review-reply form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 7px;
    background: #f8fafc;
}

.product-review-reply form > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-review-replies {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.product-review-replies article {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
    border-left: 3px solid #bfdbfe;
    border-radius: 0 6px 6px 0;
    background: #f8fafc;
}

.product-review-replies .product-review-item__avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
}

.product-review-empty {
    display: grid;
    min-height: 160px;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #64748b;
}

.product-review-empty i {
    font-size: 30px;
}

.product-review-empty p {
    margin: 0;
}

.product-related {
    padding: 62px 0 72px;
    background: #ffffff;
}

.product-related__head > a {
    color: var(--web-link-text, #2563eb);
    font-weight: 750;
    text-decoration: none;
}

.product-related__head > a i {
    margin-left: 6px;
    font-size: 12px;
}

.product-related__grid .product-card {
    height: 100%;
}

.product-related__grid .product-card h2 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 46px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
    .product-detail__overview,
    .product-information {
        grid-template-columns: 1fr;
    }

    .product-gallery,
    .product-detail-toc {
        position: static;
    }

    .product-detail-toc nav {
        max-height: 280px;
    }

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

    .product-rating-summary {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .product-detail__overview {
        gap: 28px;
    }

    .product-gallery__thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .product-gallery__main > span {
        right: 10px;
        bottom: 10px;
    }

    .product-lightbox {
        padding: 0;
    }

    .product-lightbox__dialog {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    .product-lightbox__stage {
        padding: 12px 54px;
    }

    .product-lightbox__nav {
        width: 38px;
        height: 48px;
    }

    .product-information {
        gap: 20px;
        padding-bottom: 48px;
    }

    .product-content-panel .product-richtext {
        padding: 18px;
    }

    .product-content-panel > header {
        padding: 15px 17px;
    }

    .product-review-form__row,
    .product-review-reply form > div {
        grid-template-columns: 1fr;
    }

    .product-reviews,
    .product-related {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .product-review-item {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 17px;
    }

    .product-review-item__avatar {
        width: 38px;
        height: 38px;
    }

    .product-review-item header,
    .product-review-replies article header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

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

@media (max-width: 390px) {
    .product-related__grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   PRODUCT VARIANTS SHARE TOC POLISH
================================= */
.product-variant-selector {
    display: grid;
    gap: 16px;
    margin: 20px 0;
    padding: 18px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
}

.product-variant-selector fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

.product-variant-selector legend {
    margin-bottom: 9px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.product-variant-selector legend strong {
    color: #0f172a;
}

.product-variant-selector fieldset > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-variant-selector button {
    min-height: 38px;
    padding: 0 14px;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
}

.product-variant-selector button:hover,
.product-variant-selector button.is-active {
    color: #ffffff;
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
}

.product-variant-selector button:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #e2e8f0;
    background: #f1f5f9;
}

.product-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.product-share > span {
    margin-right: 3px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.product-share a,
.product-share button {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #ffffff;
}

.product-share a:hover,
.product-share button:hover,
.product-share button.is-copied {
    color: #ffffff;
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
}

.product-detail-toc {
    border: 0;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.product-detail-toc > strong {
    position: relative;
    color: #ffffff;
    border: 0;
    background: #0f172a;
}

.product-detail-toc > strong::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.product-detail-toc nav {
    position: relative;
    gap: 2px;
    padding: 10px;
}

.product-detail-toc nav::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 17px;
    width: 1px;
    background: #e2e8f0;
}

.product-detail-toc a {
    position: relative;
    z-index: 1;
    padding-left: 23px;
    border-left: 2px solid transparent;
}

.product-detail-toc a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 4px;
    width: 7px;
    height: 7px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    transform: translateY(-50%);
}

.product-detail-toc a:hover,
.product-detail-toc a.is-active {
    color: var(--web-link-text, #2563eb);
    border-left-color: var(--web-link-text, #2563eb);
    background: #eff6ff;
}

.product-detail-toc a.is-active::before {
    border-color: var(--web-link-text, #2563eb);
    background: var(--web-link-text, #2563eb);
}

.product-detail-toc a.toc-level-2 {
    padding-left: 27px;
}

.product-detail-toc a.toc-level-3 {
    padding-left: 38px;
}

.product-detail-toc a.toc-level-4 {
    padding-left: 48px;
}

.product-lightbox__dialog {
    width: min(800px, 98vw);
    height: min(800px, 96vh);
    background: #0b1120;
}

.product-lightbox__head {
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: #0f172a;
}

.product-lightbox__head button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.product-lightbox__stage {
    overflow: hidden;
    min-height: 0;
    padding: 10px 150px;
    background: #020617;
}

.product-lightbox__stage > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-lightbox__thumbs {
    min-height: 88px;
    border-top-color: rgba(255, 255, 255, 0.1);
    background: #0f172a;
}

.product-lightbox__thumbs button {
    flex-basis: 70px;
    height: 70px;
    background: #1e293b;
}

.product-lightbox__nav {
    z-index: 2;
    width: 48px;
    height: 64px;
    background: rgba(30, 41, 59, 0.88);
}

@media (max-width: 620px) {
    .product-lightbox__stage {
        padding: 16px 52px;
    }

    .product-lightbox__thumbs {
        min-height: 76px;
    }

    .product-lightbox__thumbs button {
        flex-basis: 58px;
        height: 58px;
    }
}
/* ==============================
   PRODUCT VERSION AND COLLAPSIBLE TOC
================================= */
.product-version-static {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 18px 0;
    padding: 13px 15px;
    border: 1px solid #dbe3ec;
    border-radius: 7px;
    background: #f8fafc;
}

.product-version-static span,
.product-variant-current span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.product-version-static strong {
    padding: 5px 9px;
    color: #1d4ed8;
    font-size: 13px;
    border-radius: 5px;
    background: #dbeafe;
}

.product-variant-current {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #dbe3ec;
}

.product-variant-current strong {
    color: #0f172a;
    font-size: 14px;
}

.product-detail-toc__toggle {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    color: #ffffff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    border: 0;
    background: #0f172a;
}

.product-detail-toc__toggle > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.product-detail-toc__toggle > span > i {
    color: #60a5fa;
}

.product-detail-toc__toggle > i {
    font-size: 12px;
    transition: transform 0.22s ease;
}

.product-detail-toc__toggle::after {
    content: "";
    position: absolute;
    right: 42px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.product-detail-toc [data-product-toc-body] {
    max-height: calc(100vh - var(--product-sticky-offset, 16px) - 48px);
    opacity: 1;
    transition:
        max-height 0.25s ease,
        opacity 0.2s ease,
        padding 0.25s ease;
}

.product-detail-toc.is-collapsed [data-product-toc-body] {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.product-detail-toc.is-collapsed .product-detail-toc__toggle > i {
    transform: rotate(180deg);
}

.product-detail-toc.is-collapsed .product-detail-toc__toggle::after {
    background: #94a3b8;
    box-shadow: none;
}
.product-quantity {
    display: grid;
    gap: 6px;
}

.product-quantity > label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.product-quantity__control {
    display: grid;
    grid-template-columns: 38px 54px 38px;
    height: 44px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
}

.product-quantity__control button {
    display: grid;
    padding: 0;
    color: #334155;
    cursor: pointer;
    border: 0;
    background: #f8fafc;
    place-items: center;
}

.product-quantity__control button:hover {
    color: #ffffff;
    background: var(--web-link-text, #2563eb);
}

.product-quantity__control input {
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    color: #0f172a;
    font-weight: 800;
    text-align: center;
    border: 0;
    border-right: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    outline: 0;
    appearance: textfield;
}

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