/* ==========================================================================
   KC GIFT 4U — SHOP — catalogue and the whole purchase flow
   Loaded by shop, product-details, cart, checkout and wishlist.

   Sections in this file:
     01. SHOP                   Saree listing: filter rail, grid, toolbar
     02. PRODUCT-DETAILS        Single saree: gallery, craft panel, specs, reviews
     03. CART                   Shopping bag
     04. CHECKOUT               Delivery details, payment, order summary
     05. WISHLIST               Saved sarees
   ========================================================================== */


/* ==========================================================================
   01. SHOP
   Saree listing: filter rail, grid, toolbar
   ========================================================================== */
/* ==========================================================================
   KC GIFT 4U — SHOP / SAREE LISTING PAGE
   Page-scoped stylesheet. Loaded only on shop.php.
   Palette + type inherited from the design tokens in style.css.
   ========================================================================== */

.shop-page {
    background-color: var(--color-white);
}

/* ==========================================================================
   01. LAYOUT SHELL
   ========================================================================== */
.shop-layout {
    padding: 46px var(--pad-h) 86px;
}

.shop-layout__inner {
    display: grid;
    grid-template-columns: minmax(210px, 24%) 1fr;
    gap: 56px;
    width: 100%;
    max-width: var(--wrap-nav);
    margin-inline: auto;
}

/* ==========================================================================
   02. SIDEBAR FILTERS
   ========================================================================== */
.shop-filters {
    position: relative;
}

.shop-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gold-line);
}

.shop-filters__heading {
    margin: 0;
    font-family: var(--font-label);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-maroon);
}

.shop-filters__clear {
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color var(--t-fast);
}

.shop-filters__clear:hover {
    color: var(--color-maroon);
}

.shop-filters__clear[hidden] {
    display: none;
}

.shop-filters__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--color-gold-line);
    border-radius: 50%;
    background: none;
    color: var(--color-maroon);
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.shop-filters__close:hover {
    background-color: var(--color-maroon);
    color: var(--color-white);
}

/* --- Filter group ------------------------------------------------------- */
.shop-filters__group {
    padding: 26px 0;
    border-bottom: 1px solid rgba(84, 11, 20, 0.09);
}

.shop-filters__group:last-child {
    border-bottom: none;
}

.shop-filters__group-title {
    margin: 0 0 16px;
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: #6d6257;
}

.shop-filters__list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --- Custom checkbox ---------------------------------------------------- */
.shop-filters__check {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 300;
    color: #46403a;
    cursor: pointer;
    transition: color var(--t-fast);
    user-select: none;
}

.shop-filters__check:hover {
    color: var(--color-maroon);
}

.shop-filters__check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.shop-filters__box {
    position: relative;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(84, 11, 20, 0.28);
    border-radius: 2px;
    background-color: transparent;
    transition: background-color var(--t-fast), border-color var(--t-fast);
}

.shop-filters__box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid var(--color-white);
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(45deg) scale(0.4);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.shop-filters__check-input:checked ~ .shop-filters__box {
    background-color: var(--color-gold);
    border-color: var(--color-gold-deep);
}

.shop-filters__check-input:checked ~ .shop-filters__box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.shop-filters__check-input:focus-visible ~ .shop-filters__box {
    outline: 1px solid var(--color-gold-deep);
    outline-offset: 2px;
}

.shop-filters__check-input:checked ~ .shop-filters__check-text {
    color: var(--color-maroon);
    font-weight: 400;
}

.shop-filters__count {
    margin-left: auto;
    font-family: var(--font-label);
    font-size: 10.5px;
    color: #a8a096;
}

/* --- Price range slider -------------------------------------------------- */
.shop-filters__price-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-maroon);
}

.shop-filters__price-dash {
    width: 14px;
    height: 1px;
    background-color: var(--color-gold-line);
}

.shop-range {
    position: relative;
    height: 22px;
    margin-bottom: 4px;
}

.shop-range__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    background-color: rgba(84, 11, 20, 0.12);
    border-radius: 2px;
}

.shop-range__fill {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.shop-range__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.shop-range__input:focus {
    outline: none;
}

.shop-range__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-deep);
    background-color: var(--color-cream-warm);
    box-shadow: 0 1px 4px rgba(84, 11, 20, 0.18);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.shop-range__input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background-color: var(--color-gold-bright);
}

.shop-range__input::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-deep);
    background-color: var(--color-cream-warm);
    box-shadow: 0 1px 4px rgba(84, 11, 20, 0.18);
    cursor: pointer;
    pointer-events: auto;
}

.shop-range__input::-moz-range-track {
    background: none;
    border: none;
}

.shop-filters__price-caption {
    margin: 12px 0 0;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a8a096;
}

/* ==========================================================================
   03. FILTER DRAWER (mobile / tablet)
   ========================================================================== */
.shop-filters__overlay {
    position: fixed;
    inset: 0;
    z-index: 1039;
    background-color: rgba(40, 7, 4, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base);
}

.shop-filters__overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    background-color: transparent;
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-maroon);
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.shop-filter-toggle:hover {
    background-color: var(--color-maroon);
    border-color: var(--color-maroon);
    color: var(--color-white);
}

.shop-filter-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding-inline: 4px;
    border-radius: 999px;
    background-image: var(--grad-gold);
    font-size: 9.5px;
    color: var(--color-maroon-deep);
}

.shop-filter-toggle__count[hidden] {
    display: none;
}

/* ==========================================================================
   04. RESULT TOOLBAR
   ========================================================================== */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(84, 11, 20, 0.09);
}

.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-toolbar__count {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #8b8378;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sort__label {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: #a8a096;
}

.shop-sort__select {
    padding: 8px 34px 8px 12px;
    border: 1px solid var(--color-gold-line);
    border-radius: 2px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%3E%3Cpath%20d='M1%201l4%204%204-4'%20fill='none'%20stroke='%239f722c'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    color: var(--color-maroon);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--t-fast);
}

.shop-sort__select:hover,
.shop-sort__select:focus {
    border-color: var(--color-gold);
    outline: none;
}

/* ==========================================================================
   05. ACTIVE FILTER PILLS
   ========================================================================== */
.shop-active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
}

.shop-active[hidden] {
    display: none;
}

.shop-active__label {
    margin-right: 3px;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: #a8a096;
}

.shop-active__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--color-gold-line);
    border-radius: 999px;
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--color-maroon);
    cursor: pointer;
    transition: border-color var(--t-fast), background-color var(--t-fast);
}

.shop-active__pill:hover {
    border-color: var(--color-gold);
    background-color: rgba(207, 167, 90, 0.1);
}

.shop-active__pill-x {
    font-size: 13px;
    line-height: 1;
    color: var(--color-gold-deep);
}

.shop-active__clear {
    padding: 0 4px;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    color: var(--color-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color var(--t-fast);
}

.shop-active__clear:hover {
    color: var(--color-maroon);
}

/* ==========================================================================
   06. PRODUCT GRID
   ========================================================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 28px;
    margin-top: 34px;
}

.shop-grid__item {
    min-width: 0;
    transition: opacity 0.4s var(--ease-luxury), transform 0.4s var(--ease-luxury);
}

.shop-grid__item[hidden] {
    display: none;
}

.shop-grid__item.is-entering {
    opacity: 0;
    transform: translateY(10px);
}

/* Subtle lift — the only shadow the card carries */
.shop-grid .product-card__image-wrap {
    transition: box-shadow 0.45s var(--ease-luxury), transform 0.45s var(--ease-luxury);
}

.shop-grid .product-card:hover .product-card__image-wrap {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(40, 7, 4, 0.13);
}

/* Badge — page-scoped, sits over the image top-left */
.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    padding: 5px 10px;
    border-radius: 999px;
    font-family: var(--font-label);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-card__badge--gold {
    background-image: var(--grad-gold);
    color: var(--color-maroon-deep);
}

.product-card__badge--royal {
    background-image: var(--grad-royal);
    color: var(--color-cream);
}

.product-card__badge--maroon {
    background-image: var(--grad-maroon);
    color: var(--color-cream);
}

.product-card__badge--dark {
    background-color: rgba(40, 7, 4, 0.9);
    color: var(--color-gold-bright);
}

.product-card__meta {
    margin: 0 0 5px;
    font-family: var(--font-label);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a8a096;
}

/* ==========================================================================
   07. EMPTY STATE
   ========================================================================== */
.shop-empty {
    padding: 90px 20px;
    text-align: center;
}

.shop-empty[hidden] {
    display: none;
}

.shop-empty__title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 400;
    color: var(--color-maroon);
}

.shop-empty__text {
    margin: 0 0 22px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 300;
    color: #8b8378;
}

.shop-empty__btn {
    padding: 10px 24px;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    background: none;
    font-family: var(--font-label);
    font-size: 10.5px;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-maroon);
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.shop-empty__btn:hover {
    background-color: var(--color-maroon);
    border-color: var(--color-maroon);
    color: var(--color-white);
}

/* ==========================================================================
   08. PAGINATION
   ========================================================================== */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 62px;
}

.shop-pagination[hidden] {
    display: none;
}

.shop-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border: none;
    border-radius: 50%;
    background: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: #6d6257;
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.shop-pagination__btn:hover:not(:disabled):not(.is-current) {
    background-color: rgba(207, 167, 90, 0.16);
    color: var(--color-maroon);
}

.shop-pagination__btn.is-current {
    background-image: var(--grad-gold);
    color: var(--color-maroon-deep);
    font-weight: 500;
    cursor: default;
}

.shop-pagination__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.shop-pagination__btn--arrow {
    color: var(--color-maroon);
}

.shop-pagination__dots {
    min-width: 20px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    color: #b9b1a6;
    user-select: none;
}

/* ==========================================================================
   09. RESPONSIVE — mirrors the responsive.css breakpoint ladder
   ========================================================================== */

/* --- Off-canvas filter drawer: mobile + tablet (< 992px) ----------------- */
@media (max-width: 991.98px) {
    .shop-layout__inner {
        display: block;
    }

    .shop-filters {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1040;
        width: min(320px, 86vw);
        height: 100%;
        padding: 22px 24px 40px;
        background-color: var(--color-cream-warm);
        box-shadow: 0 0 44px rgba(40, 7, 4, 0.22);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(-102%);
        transition: transform var(--t-base);
    }

    .shop-filters.is-open {
        transform: translateX(0);
    }

    .shop-filters__close {
        display: inline-flex;
    }

    .shop-filters__clear {
        margin-left: auto;
        margin-right: 4px;
    }

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

/* --- Tablet: 576px – 991.98px -------------------------------------------- */
@media (min-width: 576px) and (max-width: 991.98px) {
    .shop-layout {
        padding: 36px 24px 70px;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 22px;
    }
}

/* --- Mobile: < 576px ------------------------------------------------------ */
@media (max-width: 575.98px) {
    .shop-layout {
        padding: 26px 18px 56px;
    }

    .shop-toolbar {
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 14px;
    }

    .shop-toolbar__left {
        width: 100%;
        justify-content: space-between;
    }

    .shop-toolbar__count {
        font-size: 11.5px;
    }

    .shop-sort {
        width: 100%;
    }

    .shop-sort__label {
        display: none;
    }

    .shop-sort__select {
        width: 100%;
        padding-block: 10px;
    }

    .shop-active {
        margin-top: 16px;
    }

    .shop-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        margin-top: 26px;
    }

    .shop-pagination {
        margin-top: 44px;
        gap: 5px;
    }

    .shop-pagination__btn {
        min-width: 31px;
        height: 31px;
        font-size: 12.5px;
    }
}

/* --- Laptop: 992px – 1399.98px ------------------------------------------- */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .shop-layout__inner {
        grid-template-columns: minmax(200px, 25%) 1fr;
        gap: 44px;
    }

    .shop-grid {
        gap: 38px 24px;
    }
}

/* --- Large screens: >= 1400px -------------------------------------------- */
@media (min-width: 1400px) {
    .shop-layout {
        padding-inline: 48px;
    }

    .shop-layout__inner {
        grid-template-columns: 250px 1fr;
        gap: 68px;
    }

    .shop-grid {
        gap: 52px 32px;
    }
}

/* --- Very large screens: a fourth column earns its space ------------------ */
@media (min-width: 1700px) {
    .shop-layout__inner {
        max-width: var(--wrap-max);
    }

    .shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .shop-filters,
    .shop-filters__overlay,
    .shop-grid__item,
    .shop-grid .product-card__image-wrap {
        transition: none;
    }
}


/* ==========================================================================
   02. PRODUCT-DETAILS
   Single saree: gallery, craft panel, specs, reviews
   ========================================================================== */
/* ==========================================================================
   KC GIFT 4U — PRODUCT DETAILS PAGE
   Page-scoped stylesheet. Loaded only on product-details.php.
   Palette + type inherited from the design tokens in style.css.
   The page header band lives in page-header.css (shared with shop.php).
   ========================================================================== */

.product-details-page {
    background-color: var(--color-white);
}

/* ==========================================================================
   01. MAIN PRODUCT BLOCK
   ========================================================================== */
.product-details {
    padding: 58px var(--pad-h) 24px;
}

.product-details__inner {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 62px;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

/* ==========================================================================
   02. GALLERY
   ========================================================================== */
.product-details__gallery {
    min-width: 0;
}

.product-details__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #f5f0e8;
    cursor: zoom-in;
}

.product-details__stage.is-zoomed {
    cursor: zoom-out;
    touch-action: none;
}

/* The site's signature inset frame sits over the hero shot */
.product-details__stage .framed-image::after {
    inset: 18px;
    border-color: rgba(255, 255, 255, 0.88);
}

.product-details__stage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    /* Origin tracks the pointer while zoomed — set from JS, not transitioned,
       so panning follows the cursor without lag. */
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    transition: opacity 0.45s var(--ease-luxury), transform 0.35s var(--ease-luxury);
}

.product-details__stage-img.is-active {
    opacity: 1;
}

.product-details__stage.is-zoomed .product-details__stage-img.is-active {
    transform: scale(2.2);
}

/* The inset frame and badge step aside while zoomed */
.product-details__stage.is-zoomed .framed-image::after {
    border-color: transparent;
}

.product-details__stage.is-zoomed .product-details__badge {
    opacity: 0;
    pointer-events: none;
}

.product-details__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 999px;
    background-image: var(--grad-maroon);
    font-family: var(--font-label);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-bright);
}

.product-details__zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-maroon);
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.product-details__zoom:hover {
    background-color: var(--color-maroon);
    color: var(--color-cream);
}

.product-details__zoom-icon--out,
.product-details__stage.is-zoomed .product-details__zoom-icon--in {
    display: none;
}

.product-details__stage.is-zoomed .product-details__zoom-icon--out {
    display: block;
}

/* --- Thumbnails ----------------------------------------------------------- */
/* Sits in the info column, between the title and the price */
.product-details__thumbs {
    display: flex;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

/* The <li> is the flex item — size it there, not on the button inside it.
   Fixed basis keeps them compact squares rather than stretching the column. */
.product-details__thumbs > li {
    flex: 0 1 74px;
    min-width: 0;
}

.product-details__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.product-details__thumb-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    opacity: 0.72;
    transition: opacity var(--t-fast);
}

.product-details__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color var(--t-fast);
}

.product-details__thumb:hover .product-details__thumb-img {
    opacity: 1;
}

.product-details__thumb.is-active .product-details__thumb-img {
    opacity: 1;
}

.product-details__thumb.is-active::after {
    border-color: var(--color-gold);
}

/* ==========================================================================
   03. INFO COLUMN (REVAMPED LUXURY UI)
   ========================================================================== */
.product-details__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Top Meta Header: Category + SKU */
.product-details__meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.product-details__category-tag {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-deep, #cfa75a);
}

.product-details__sku-pill {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

/* Main Title */
.product-details__title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #0f172a;
}

/* Rating & Stock Summary Bar */
.product-details__rating-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
}

.product-details__stars-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-details__rating-score {
    font-weight: 700;
    color: #0f172a;
    margin-left: 2px;
}

.product-details__rating-divider {
    color: #cbd5e1;
    font-weight: 700;
}

.product-details__rating-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.product-details__rating-link:hover {
    color: var(--color-maroon);
    text-decoration: underline;
}

.product-details__stock-badge {
    color: #16a34a;
    font-weight: 600;
    font-size: 12px;
    background: rgba(22, 163, 74, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Price Row */
.product-details__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 16px 20px;
    border-block: 1px solid rgba(0, 0, 0, 0.07);
    margin-bottom: 24px;
}

.product-details__price {
    font-family: var(--font-label);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1;
}

.product-details__price--original {
    font-size: 18px;
    font-weight: 400;
    text-decoration: line-through;
    color: #94a3b8;
}

.product-details__save {
    padding: 4px 10px;
    border-radius: 6px;
    background-color: #fef2f2;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #dc2626;
}

.product-details__tax-note {
    width: 100%;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* Variant & Gallery Selector */
.product-details__variant-block {
    margin-bottom: 24px;
}

.product-details__variant-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.product-details__variant-label {
    font-weight: 600;
    color: #334155;
}

.product-details__variant-active {
    color: var(--color-maroon);
    font-weight: 500;
}

.product-details__thumbs {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-details__thumbs > li {
    flex: 0 1 76px;
    min-width: 0;
}

.product-details__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.product-details__thumb-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    opacity: 0.75;
    border-radius: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-details__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    pointer-events: none;
    transition: border-color 0.2s ease;
}

.product-details__thumb:hover .product-details__thumb-img {
    opacity: 1;
    transform: scale(1.05);
}

.product-details__thumb.is-active .product-details__thumb-img {
    opacity: 1;
}

.product-details__thumb.is-active::after {
    border-color: var(--color-maroon, #540b14);
}

/* Craft Summary Card */
.product-details__craft-box {
    background: #fcfbf9;
    border: 1px solid rgba(84, 11, 20, 0.08);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 28px;
}

.product-details__intro {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.6;
    color: #475569;
}

.product-details__craft-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.product-details__highlight-item {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-maroon);
    letter-spacing: 0.02em;
}

/* Quantity + Action Buttons */
.product-details__buy-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.product-details__qty {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    width: 120px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    flex-shrink: 0;
}

.product-details__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.product-details__qty-btn:hover:not(:disabled) {
    background-color: #f1f5f9;
    color: var(--color-maroon);
}

.product-details__qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.product-details__qty-input {
    width: 40px;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.product-details__qty-input:focus {
    outline: none;
}

.product-details__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    font-family: var(--font-label);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-details__btn--cart {
    border: 1.5px solid var(--color-maroon, #540b14);
    background-color: transparent;
    color: var(--color-maroon, #540b14);
}

.product-details__btn--cart:hover,
.product-details__btn--cart.is-added {
    background-color: rgba(84, 11, 20, 0.06);
    color: var(--color-maroon, #540b14);
}

.product-details__btn--buy {
    border: none;
    background-color: var(--color-maroon, #540b14);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(84, 11, 20, 0.2);
}

.product-details__btn--buy:hover {
    background-color: #3c070e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(84, 11, 20, 0.3);
}

/* Trust Strip */
.product-details__trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.product-details__trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.product-details__trust-icon {
    color: var(--color-maroon);
    flex-shrink: 0;
}

/* ==========================================================================
   05. SKU + PRODUCT DETAILS BLOCK
   ========================================================================== */
.product-details__sku {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
}

.product-details__sku-key {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: #8a8076;
}

.product-details__sku-value {
    font-family: var(--font-label);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    color: #6d6257;
}

/* ==========================================================================
   05. PRODUCT DETAILS & SPECIFICATIONS (FULL-WIDTH 2-COLUMN SECTION)
   ========================================================================== */
.product-full-details-section {
    padding: 48px var(--pad-h) 56px;
    background-color: #ffffff;
    border-top: 1px solid rgba(84, 11, 20, 0.08);
}

.product-full-details__inner {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

.product-full-details__eyebrow {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-maroon, #540b14);
    margin: 0 0 28px;
}

.product-full-details__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 64px;
    align-items: start;
}

.product-full-details__left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.product-full-details__block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-full-details__heading {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-maroon, #540b14);
    margin: 0;
}

.product-full-details__text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: #4a443e;
    margin: 0;
}

.product-full-details__right {
    display: flex;
    flex-direction: column;
}

/* --- Specification pairs -------------------------------------------------- */
.product-details__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 44px;
    margin: 16px 0 0;
    width: 100%;
}

.product-details__spec {
    padding: 13px 0;
    border-bottom: 1px solid rgba(84, 11, 20, 0.08);
}

.product-details__spec--extra {
    display: none;
}

.product-details__specs.is-open .product-details__spec--extra {
    display: block;
}

.product-details__spec-key {
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #8c827a;
}

.product-details__spec-value {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #24201c;
}

.product-details__facts-more {
    margin-top: 20px;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-deep, #cfa75a);
    cursor: pointer;
    text-align: left;
    transition: color var(--t-fast);
}

.product-details__facts-more:hover {
    color: var(--color-maroon);
}

/* ==========================================================================
   06. CUSTOMER RATINGS & REVIEWS SECTION (MODERN LUXURY UI)
   ========================================================================== */
.product-reviews-section {
    padding: 56px var(--pad-h) 64px;
    background-color: #faf7f2;
    border-top: 1px solid rgba(84, 11, 20, 0.08);
}

.product-reviews__inner {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

.product-details-page .product-slider-section__inner {
    max-width: 1200px;
    margin-inline: auto;
}

.product-reviews__eyebrow {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-maroon, #540b14);
    margin: 0 0 24px;
}

/* Top Rating Breakdown Summary Card */
.product-reviews__summary-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 48px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 48px;
}

.product-reviews__score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    min-width: 180px;
}

.product-reviews__big-score {
    font-family: var(--font-label);
    font-size: 52px;
    font-weight: 700;
    color: var(--color-maroon, #540b14);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.product-reviews__stars-row {
    color: #f59e0b;
    margin-bottom: 8px;
    display: flex;
    gap: 4px;
}

.product-reviews__total-count {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 10px;
    font-weight: 500;
}

.product-reviews__verified-badge {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #15803d;
    background: rgba(22, 101, 52, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-reviews__divider-v {
    width: 1px;
    height: 110px;
    background-color: rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
}

/* Bars Box */
.product-reviews__bars-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-reviews__bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
}

.product-reviews__bar-lbl {
    width: 42px;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    font-family: var(--font-label);
    white-space: nowrap;
}

.product-reviews__bar-track {
    flex: 1;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.product-reviews__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-reviews__bar-count {
    width: 36px;
    text-align: right;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

/* Bottom Grid */
.product-reviews__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* Left Column: Reviews List */
.product-reviews__list-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-reviews__list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.product-reviews__column-title {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.01em;
}

.product-reviews__filter-badge {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.product-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-review-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.04);
}

.product-review-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.product-review-item__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-review-item__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(84, 11, 20, 0.1), rgba(207, 167, 90, 0.2));
    color: var(--color-maroon, #540b14);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-review-item__name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px;
}

.product-review-item__meta {
    font-size: 12px;
    color: #94a3b8;
}

.product-review-item__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.product-review-item__stars {
    color: #f59e0b;
}

.product-review-item__verified {
    font-size: 11px;
    color: #16a34a;
    font-weight: 600;
}

.product-review-item__text {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.65;
    margin: 0;
}

/* Right Column: Add Review Form */
.product-reviews__form-column {
    position: sticky;
    top: 100px;
}

.product-reviews__form-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}

.product-reviews__form-sub {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 20px;
}

.product-review-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.review-form-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.review-form-label .required {
    color: #dc2626;
}

.product-details__star {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.15s ease;
}

.product-details__star--full {
    fill: #f59e0b;
}

.product-details__star--empty {
    fill: #cbd5e1;
}

.review-star-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
}

.star-pick-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.star-pick-icon {
    fill: #cbd5e1;
    transition: fill 0.15s ease, transform 0.15s ease;
}

.star-pick-btn.active .star-pick-icon,
.star-pick-btn:hover .star-pick-icon {
    fill: #f59e0b;
}

.star-pick-btn:hover {
    transform: scale(1.22);
}

.review-form-input,
.review-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fcfcfd;
    font-size: 13.5px;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.review-form-input:focus,
.review-form-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--color-maroon, #540b14);
    box-shadow: 0 0 0 3px rgba(84, 11, 20, 0.08);
}

.review-submit-btn {
    height: 46px;
    width: 100%;
    border-radius: 8px;
    border: none;
    background-color: var(--color-maroon, #540b14);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 6px;
}

.review-submit-btn:hover {
    background-color: #3c070e;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(84, 11, 20, 0.25);
}

.product-reviews__cta-card {
    text-align: center;
    padding: 36px 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.product-reviews__cta-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #b45309;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.review-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    width: 100%;
    border-radius: 8px;
    border: none;
    background-color: var(--color-maroon, #540b14);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(84, 11, 20, 0.15);
}

.review-cta-btn:hover {
    background-color: #3c070e;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(84, 11, 20, 0.25);
}

.review-cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-cta-secondary-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.product-reviews__status-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.product-reviews__status-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.product-reviews__status-icon--pending {
    background: #fef3c7;
    color: #b45309;
}

.product-reviews__status-icon--success {
    background: #d1fae5;
    color: #047857;
}

.product-reviews__status-icon--info {
    background: #e0f2fe;
    color: #0369a1;
}

.review-order-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.review-star-hint {
    font-size: 12px;
    font-weight: 500;
    color: #b45309;
    margin-left: 10px;
}

.review-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.review-cancel-btn {
    height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-cancel-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.product-reviews__empty-state {
    padding: 40px 24px;
    text-align: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
}


@media (max-width: 991.98px) {
    .product-reviews__summary-card {
        flex-direction: column;
        gap: 24px;
        padding: 24px 20px;
    }

    .product-reviews__score-box {
        min-width: 0;
    }

    .product-reviews__divider-v {
        width: 100%;
        height: 1px;
    }

    .product-reviews__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-reviews__form-column {
        position: static;
    }

    .review-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   07. RESPONSIVE — mirrors the responsive.css breakpoint ladder
   ========================================================================== */

/* --- Stack below 992px ---------------------------------------------------- */
@media (max-width: 991.98px) {
    .product-details__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .product-details__stage {
        aspect-ratio: 3 / 4;
    }
}

/* --- Tablet: 576px – 991.98px --------------------------------------------- */
@media (min-width: 576px) and (max-width: 991.98px) {
    .product-details {
        padding: 40px 24px 18px;
    }

    .product-details__reviews-section {
        padding: 44px 24px 18px;
    }

    .product-details__gallery {
        max-width: 520px;
        margin-inline: auto;
    }
}

/* --- Mobile: < 576px ------------------------------------------------------ */
@media (max-width: 575.98px) {
    .product-details {
        padding: 28px 18px 12px;
    }

    .product-details__stage {
        aspect-ratio: 3 / 4;
    }

    .product-details__stage .framed-image::after {
        inset: 12px;
    }

    .product-details__zoom {
        width: 32px;
        height: 32px;
    }

    .product-details__zoom {
        top: 12px;
        right: 12px;
    }

    /* Thumbnail strip scrolls horizontally instead of squeezing */
    .product-details__thumbs {
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

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

    .product-details__thumbs > li {
        flex: 0 0 68px;
    }

    .product-details__price {
        font-size: 23px;
    }

    .product-details__buy-row {
        gap: 10px;
    }

    .product-details__btn {
        flex: 1 1 140px;
        padding-inline: 18px;
    }

    .product-details__specs {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .product-details__reviews-section {
        padding: 34px 18px 10px;
    }

    .product-details__reviews {
        margin-top: 26px;
    }

    .product-details__review {
        gap: 14px;
        padding: 20px 0;
    }

    .product-details__review-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* --- Laptop: 992px – 1399.98px -------------------------------------------- */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .product-details__inner {
        grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
        gap: 46px;
    }
}

/* --- Large screens: >= 1400px --------------------------------------------- */
@media (min-width: 1400px) {
    .product-details__inner,
    .product-full-details__inner,
    .product-details__reviews-inner,
    .product-details-page .product-slider-section__inner {
        max-width: 1240px;
    }

    .product-details__inner {
        grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
        gap: 68px;
    }
}

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .product-details__stage-img {
        transition: none;
    }
}

/* ==========================================================================
   ARTISTIC POLISH — script accents, arch thumbnails, zari threads
   ========================================================================== */

/* Script accents ---------------------------------------------------------- */
/* Price row gets a woven close ------------------------------------------- */
.product-details__price-row {
    position: relative;
    flex-wrap: wrap;
}

.product-details__price-rule {
    flex-basis: 100%;
    width: 190px;
    margin-top: 16px;
}

/* Craft box — paper panel with an arched top-left corner ------------------ */
.product-details__craft-box {
    position: relative;
    background-color: var(--color-cream-warm);
    background-image: var(--cream-grain);
    border: 0;
    border-left: 1px solid var(--color-gold-line);
    border-radius: 22px 4px 4px 4px;
    padding: 22px 24px 20px;
    overflow: hidden;
}

.product-details__craft-label {
    margin: 0 0 10px;
    font-family: var(--font-label);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.product-details__artisan-note {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--color-gold-faint);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.6;
    color: #8b7d72;
}

/* Highlight pills — the diamond is drawn, not typed */
.product-details__highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1px solid var(--color-gold-line);
    border-radius: 100px;
    background-color: rgba(207, 167, 90, 0.05);
    font-family: var(--font-label);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.product-details__highlight-icon {
    flex: 0 0 auto;
    color: var(--color-gold-deep);
    transition: color var(--t-fast);
}

.product-details__highlight-item:hover .product-details__highlight-icon {
    color: var(--color-maroon);
}

.product-details__highlight-item:hover {
    border-color: var(--color-gold);
    background-color: rgba(207, 167, 90, 0.12);
    color: var(--color-maroon);
}

/* Gallery thumbs echo the house arch -------------------------------------- */
.product-details__thumb {
    border-radius: 28px 28px 4px 4px;
    overflow: hidden;
    transition: box-shadow var(--t-base), transform var(--t-base);
}

.product-details__thumb-img {
    border-radius: inherit;
}

.product-details__thumb:hover {
    transform: translateY(-3px);
}

.product-details__thumb.is-active {
    box-shadow: 0 0 0 1px var(--color-gold),
                0 8px 18px rgba(60, 7, 14, 0.14);
}

/* Trust strip — gold icons, gradient separators --------------------------- */
.product-details__trust-item {
    position: relative;
}

.product-details__trust-icon {
    color: var(--color-gold-deep);
}

.product-details__trust-item + .product-details__trust-item::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 1px;
    height: 20px;
    transform: translateY(-50%);
    background: linear-gradient(180deg,
        rgba(207, 167, 90, 0) 0%,
        var(--color-gold-line) 50%,
        rgba(207, 167, 90, 0) 100%);
}

/* Stock badge reads as a woven tag rather than a plain chip */
.product-details__stock-badge {
    color: #2f6b3f;
    letter-spacing: 0.08em;
}

/* Section grounds pick up the paper grain -------------------------------- */
.product-full-details-section,
.product-reviews-section {
    background-image: var(--cream-grain);
}

@media (max-width: 575.98px) {
    .product-details__craft-box {
        padding: 18px 18px 16px;
    }

    .product-details__price-rule {
        width: 140px;
        margin-top: 12px;
    }
}


/* ==========================================================================
   03. CART
   Shopping bag
   ========================================================================== */
/* ==========================================================================
   KC GIFT 4U — LUXURY CART PAGE
   Minimal, sober 2-column shopping cart layout.
   ========================================================================== */

.cart-page {
    background-color: #faf7f2;
    background-image: 
        radial-gradient(ellipse at top center, rgba(207, 167, 90, 0.05) 0%, transparent 70%),
        var(--linen);
    color: #1c1917;
    min-height: 80vh;
}

/* ==========================================================================
   01. HEADER & BREADCRUMBS
   ========================================================================== */
.cart-header-bar {
    padding: 36px var(--pad-h) 20px;
    max-width: 1360px;
    margin-inline: auto;
}

.cart-crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #8b8378;
}

.cart-crumbs a {
    color: #8b8378;
    text-decoration: none;
    transition: color 0.28s ease;
}

.cart-crumbs a:hover {
    color: var(--color-maroon);
}

.cart-crumbs span {
    color: var(--color-maroon);
    font-weight: 500;
}

/* ==========================================================================
   02. MAIN CART LAYOUT GRID
   ========================================================================== */
.cart-layout {
    padding: 10px var(--pad-h) 90px;
    max-width: 1360px;
    margin-inline: auto;
}

.cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: 54px;
    align-items: start;
}

/* ==========================================================================
   03. LEFT COLUMN — CART ITEMS LIST
   ========================================================================== */
.cart-items-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--color-gold-line);
    margin-bottom: 24px;
}

.cart-items-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-maroon);
    margin: 0;
}

.cart-items-count {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: #f0e6d6;
    color: var(--color-maroon);
}

.cart-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a84242;
    cursor: pointer;
    transition: color 0.28s ease;
    padding: 0;
}

.cart-clear-btn:hover {
    color: var(--color-maroon-dark);
}

/* Item Rows */
.cart-items-list {
    display: flex;
    flex-direction: column;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 24px 94px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #e7e2d9;
    transition: background-color 0.28s ease;
}

.cart-item-row:last-child {
    border-bottom: none;
}

/* Checkbox */
.cart-item-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-maroon);
    cursor: pointer;
}

/* Thumbnail */
.cart-item-thumb {
    width: 94px;
    aspect-ratio: 1 / 1.15;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ede5d8;
    display: block;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item-tag {
    display: inline-block;
    font-family: var(--font-label);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.cart-item-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-maroon);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.28s ease;
}

.cart-item-name:hover {
    color: var(--color-gold-deep);
}

.cart-item-specs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: #655c52;
}

.cart-item-specs span strong {
    color: var(--color-maroon);
    font-weight: 500;
}

/* Action Controls & Price Right */
.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.cart-item-price {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-maroon);
    text-align: right;
}

.cart-item-price--original {
    font-size: 13.5px;
    font-weight: 400;
    color: #9e9588;
    text-decoration: line-through;
    margin-right: 6px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-icon-btn {
    border: none;
    background: none;
    padding: 4px;
    color: #888075;
    cursor: pointer;
    transition: color 0.28s ease, transform 0.28s ease;
    display: inline-flex;
    align-items: center;
}

.cart-icon-btn:hover {
    color: var(--color-maroon);
    transform: scale(1.1);
}

.cart-qty-selector {
    display: inline-flex;
    align-items: center;
    height: 32px;
    border: 1px solid var(--color-gold-line);
    border-radius: 999px;
    background-color: #ffffff;
    overflow: hidden;
}

.cart-qty-btn {
    width: 28px;
    height: 100%;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-maroon);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.28s ease;
}

.cart-qty-btn:hover {
    background-color: rgba(84, 11, 20, 0.08);
}

.cart-qty-num {
    width: 28px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-maroon);
}

/* ==========================================================================
   04. RIGHT COLUMN — ORDER SUMMARY CARD
   ========================================================================== */
.cart-summary-title {
    font-family: var(--font-body);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-maroon);
    margin: 0 0 20px;
    text-transform: uppercase;
}

.cart-summary-card {
    background-color: #ffffff;
    border: 1px solid #e7e2d9;
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.cart-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 14px;
    color: #655c52;
}

.cart-summary-val {
    font-weight: 600;
    color: #1c1917;
}

.cart-summary-row--total {
    padding-top: 18px;
    border-top: 1px dashed #e7e2d9;
    font-size: 16px;
    font-weight: 600;
    color: #1c1917;
}

.cart-summary-row--total .cart-summary-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-maroon);
}

.cart-summary-val--tax {
    color: #b83b3b;
    font-weight: 600;
}

.cart-summary-val--free {
    color: #2b7a3e;
    font-weight: 600;
}

.cart-summary-val--discount {
    color: #2b7a3e;
    font-weight: 600;
}

/* Promo Code Box */
.cart-promo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 16px;
    background-color: #f9f7f4;
    border: 1px solid #e7e2d9;
    border-radius: 999px;
    margin-bottom: 24px;
}

.cart-promo-input {
    flex: 1;
    border: none;
    background: none;
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: #1c1917;
    box-sizing: border-box;
}

.cart-promo-input::placeholder {
    color: #9e9588;
}

.cart-promo-input:focus {
    outline: none;
}

.cart-promo-btn {
    height: 38px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    background-color: #1c1917;
    color: #ffffff;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.28s ease;
}

.cart-promo-btn:hover {
    background-color: var(--color-maroon);
}

/* Checkout Buttons */
.cart-checkout-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 100%;
    border-radius: 999px;
    border: none;
    background-color: #1c1917;
    color: #ffffff;
    font-family: var(--font-label);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.28s ease;
}

.cart-btn-primary:hover {
    background-color: var(--color-maroon);
    color: #ffffff;
    transform: translateY(-1px);
}

.cart-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    border-radius: 999px;
    border: 1px solid #e7e2d9;
    background-color: #f9f7f4;
    color: #1c1917;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.28s ease;
}

.cart-btn-secondary:hover {
    border-color: var(--color-maroon);
    color: var(--color-maroon);
    background-color: #ffffff;
}

/* Empty State */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-state h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-maroon);
    margin-bottom: 12px;
}

/* ==========================================================================
   05. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991.98px) {
    .cart-header-bar {
        padding: 20px var(--pad-h, 14px) 12px;
    }

    .cart-layout {
        padding: 10px var(--pad-h, 14px) 60px;
    }

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

    .cart-summary-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .cart-item-row {
        grid-template-columns: 20px 76px 1fr;
        gap: 14px;
        align-items: start;
        padding: 18px 0;
        position: relative;
    }

    .cart-item-thumb {
        width: 76px;
        aspect-ratio: 1 / 1.15;
    }

    .cart-item-details {
        gap: 4px;
    }

    .cart-item-name {
        font-size: 14.5px;
    }

    .cart-item-specs {
        font-size: 12px;
        gap: 4px 8px;
    }

    .cart-item-right {
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        margin-top: 4px;
        border-top: 1px dashed #e7e2d9;
    }

    .cart-item-price {
        font-size: 15.5px;
        text-align: left;
    }

    .cart-item-controls {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .cart-header-bar {
        padding: 16px 14px 10px;
    }

    .cart-layout {
        padding: 8px 14px 50px;
    }

    .cart-items-title {
        font-size: 22px;
    }

    .cart-item-row {
        grid-template-columns: 18px 68px 1fr;
        gap: 10px;
    }

    .cart-item-thumb {
        width: 68px;
    }

    .cart-item-name {
        font-size: 13.5px;
    }

    .cart-qty-selector {
        height: 28px;
    }

    .cart-qty-btn {
        width: 24px;
        font-size: 13px;
    }

    .cart-qty-num {
        width: 22px;
        font-size: 12px;
    }

    .cart-summary-card {
        padding: 20px 14px;
    }

    .cart-promo-box {
        padding: 4px 4px 4px 12px;
    }

    .cart-promo-input {
        font-size: 12px;
    }

    .cart-promo-btn {
        height: 34px;
        padding: 0 16px;
        font-size: 10px;
    }
}


/* ==========================================================================
   04. CHECKOUT
   Delivery details, payment, order summary
   ========================================================================== */
/* ==========================================================================
   KC GIFT 4U — CHECKOUT
   Two columns: numbered delivery/payment blocks, sticky bag summary.
   ========================================================================== */

.checkout-page {
    background-color: var(--color-cream);
}

.checkout {
    padding: 56px var(--pad-h) 88px;
    background-color: var(--color-cream);
    background-image: var(--cream-grain);
}

.checkout__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 46px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: start;
}

/* Blocks ------------------------------------------------------------------ */
.checkout-block {
    padding: 26px 28px 24px;
    margin-bottom: 22px;
    background-color: var(--color-cream-warm);
    border-left: 1px solid var(--color-gold-line);
    border-radius: 22px 4px 4px 4px;
}

.checkout-block__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.checkout-block__step {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gold);
    font-variant-numeric: tabular-nums;
}

.checkout-block__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.012em;
    color: var(--color-maroon);
}

.checkout-block__note {
    margin: -6px 0 16px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.6;
    color: #7a6b63;
}

/* Fields ------------------------------------------------------------------ */
.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.checkout-grid--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 18px;
}

@media (max-width: 640px) {
    .checkout-grid,
    .checkout-grid--3 {
        grid-template-columns: 1fr;
    }
}

.checkout-saved-addresses {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px dashed var(--color-gold-line);
}

.checkout-saved-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-saved-title {
    font-family: var(--font-label);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-gold-deep);
    display: block;
}

.checkout-saved-desc {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.checkout-new-address-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--color-maroon);
    border-radius: 4px;
    padding: 7px 14px;
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-maroon);
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.checkout-new-address-toggle:hover {
    background: var(--color-maroon);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(84, 11, 20, 0.15);
}

.checkout-saved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.checkout-address-card {
    border: 1.5px solid #e8dfd2;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    user-select: none;
}

.checkout-address-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 4px 14px rgba(84, 11, 20, 0.06);
    transform: translateY(-1px);
}

.checkout-address-card.is-selected {
    border-color: var(--color-maroon);
    background-color: #fdfbf7;
    box-shadow: 0 0 0 1.5px var(--color-maroon), 0 4px 14px rgba(84, 11, 20, 0.08);
}

.checkout-address-card__radio-indicator {
    flex-shrink: 0;
    margin-top: 3px;
}

.checkout-address-card__circle {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    position: relative;
    transition: all 0.15s ease;
}

.checkout-address-card.is-selected .checkout-address-card__circle {
    border-color: var(--color-maroon);
    background: var(--color-maroon);
}

.checkout-address-card.is-selected .checkout-address-card__circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.checkout-address-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkout-address-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.checkout-address-card__badges {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-address-card__tag {
    font-family: var(--font-label);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 2px 7px;
    border-radius: 3px;
    background: #f4ede3;
    color: var(--color-maroon);
    text-transform: uppercase;
}

.checkout-address-card__def {
    font-family: var(--font-label);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    background: #e2e8f0;
    color: #475569;
}

.checkout-address-card__selected-pill {
    display: none;
    font-family: var(--font-label);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 3px;
    background: #fbf0f0;
    color: var(--color-maroon);
    border: 1px solid rgba(84, 11, 20, 0.2);
}

.checkout-address-card.is-selected .checkout-address-card__selected-pill {
    display: inline-flex;
    align-items: center;
}

.checkout-address-card__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-ink);
}

.checkout-address-card__text {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}

.checkout-address-card__phone {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.checkout-address-form-wrap {
    margin-top: 18px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.checkout-new-addr-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: #fdfbf7;
    border: 1px solid #ede8de;
    border-left: 3px solid var(--color-maroon);
    border-radius: 6px;
    margin-bottom: 20px;
}

.checkout-new-addr-banner__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-maroon);
}

.checkout-cancel-new-btn {
    background: none;
    border: none;
    color: #64748b;
    font-family: var(--font-body);
    font-size: 12.5px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
}

.checkout-cancel-new-btn:hover {
    color: var(--color-maroon);
}

.checkout-first-addr-notice {
    font-family: var(--font-body);
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.5;
}

.checkout-save-book-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: #4b4f5e;
    cursor: pointer;
    margin-top: 14px;
}

.checkout-save-book-check input[type="checkbox"] {
    accent-color: var(--color-maroon);
    width: 15px;
    height: 15px;
}

.checkout-rewards-box {
    margin-top: 18px;
    background: #faf7f2;
    border: 1px solid #ede8de;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 12px;
    color: #540b14;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.checkout-rewards-icon {
    flex-shrink: 0;
    color: #cfa451;
}

.checkout-field--full {
    grid-column: 1 / -1;
}

.checkout-label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-label);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.checkout-optional {
    letter-spacing: 0.06em;
    text-transform: none;
    color: #a2988a;
}

.checkout-input {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gold-faint);
    border-radius: 3px;
    outline: none;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 300;
    color: var(--color-ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.checkout-input::placeholder {
    color: #b0a597;
}

.checkout-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(207, 167, 90, 0.13);
}

.checkout-input.is-invalid {
    border-color: #b4433f;
    box-shadow: 0 0 0 3px rgba(180, 67, 63, 0.1);
}

.checkout-input--area {
    resize: vertical;
    min-height: 74px;
    line-height: 1.6;
}

/* Payment ----------------------------------------------------------------- */
.checkout-pay {
    display: grid;
    gap: 10px;
}

.checkout-pay__option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gold-faint);
    border-radius: 3px;
    cursor: pointer;
    transition: border-color var(--t-fast), background-color var(--t-fast);
}

.checkout-pay__option:hover {
    border-color: var(--color-gold-line);
}

.checkout-pay__option.is-selected {
    border-color: var(--color-gold);
    background-color: rgba(207, 167, 90, 0.06);
}

.checkout-pay__radio {
    margin-top: 3px;
    accent-color: var(--color-maroon);
    flex: 0 0 auto;
}

.checkout-pay__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.checkout-pay__label {
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-maroon);
}

.checkout-pay__note {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    color: #7a6b63;
}

.checkout-secure {
    margin: 16px 0 0;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.6;
    color: #8b7d72;
}

.checkout-secure a {
    color: var(--color-gold-deep);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold-line);
}

.checkout-secure a:hover {
    color: var(--color-maroon);
}

.checkout-alert {
    margin: 0;
    padding: 13px 16px;
    border-left: 2px solid var(--color-gold);
    background-color: var(--color-cream-warm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-maroon);
}

.checkout-alert.is-error {
    border-left-color: #b4433f;
    color: #8e2f2c;
}

.checkout-alert[hidden] {
    display: none;
}

/* Summary ----------------------------------------------------------------- */
.checkout__summary {
    position: sticky;
    top: 120px;
}

.checkout-summary-card {
    padding: 26px 24px 24px;
    background-color: var(--color-cream-warm);
    border-top: 2px solid var(--color-gold);
    border-radius: 3px;
    box-shadow: 0 16px 36px rgba(60, 7, 14, 0.08);
}

.checkout-summary__title {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-maroon);
}

.checkout-summary__items {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.checkout-line {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-gold-faint);
}

.checkout-line:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.checkout-line__img {
    width: 54px;
    height: 68px;
    object-fit: cover;
    border-radius: 24px 24px 3px 3px;
    flex: 0 0 auto;
}

.checkout-line__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.checkout-line__title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-maroon);
    text-decoration: none;
}

.checkout-line__title:hover {
    color: var(--color-wine);
}

.checkout-line__meta {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 300;
    line-height: 1.4;
    color: #8b7d72;
}

.checkout-line__qty {
    font-family: var(--font-label);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.checkout-line__price {
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-maroon);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.checkout-totals {
    padding-top: 16px;
    border-top: 1px solid var(--color-gold-line);
}

.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 300;
    color: #6f5f57;
}

.checkout-total-val {
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-ink);
    font-variant-numeric: tabular-nums;
}

.checkout-total-val--free {
    color: #2f6b3f;
    letter-spacing: 0.06em;
}

.checkout-total-row--grand {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--color-gold-faint);
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--color-maroon);
}

.checkout-total-row--grand .checkout-total-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-maroon);
}

.checkout-place-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px 20px;
    background-image: var(--grad-maroon);
    border: 1px solid rgba(207, 167, 90, 0.3);
    border-radius: 2px;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-gold-bright);
    cursor: pointer;
    transition: transform var(--t-fast), border-color var(--t-fast), filter var(--t-fast);
}

.checkout-place-btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-gold);
    filter: brightness(1.08);
}

.checkout-place-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.checkout-back {
    display: block;
    margin-top: 14px;
    text-align: center;
    font-family: var(--font-label);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: #8b7d72;
    text-decoration: none;
    transition: color var(--t-fast);
}

.checkout-back:hover {
    color: var(--color-maroon);
}

.checkout-assure {
    margin: 20px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--color-gold-faint);
    list-style: none;
}

.checkout-assure li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    color: #7a6b63;
}

.checkout-assure li:last-child {
    margin-bottom: 0;
}

.checkout-assure li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background-image: var(--grad-gold);
    transform: rotate(45deg);
}

.checkout-assure a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold-line);
}

.checkout-assure a:hover {
    color: var(--color-maroon);
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1099.98px) {
    .checkout__inner {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 32px;
    }
}

@media (max-width: 991.98px) {
    .checkout {
        padding: 44px 24px 66px;
    }

    .checkout__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .checkout__summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .checkout {
        padding: 32px 18px 52px;
    }

    .checkout-block {
        padding: 20px 18px 18px;
    }

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

    .checkout-summary-card {
        padding: 20px 18px 20px;
    }
}


/* ==========================================================================
   05. WISHLIST
   Saved sarees
   ========================================================================== */
/* ==========================================================================
   KC GIFT 4U — LUXURY MINIMAL WISHLIST PAGE
   Clean, modern, borderless floating card layout matching reference image.
   ========================================================================== */

.wishlist-page {
    background-color: #faf7f2;
    background-image: 
        radial-gradient(ellipse at top center, rgba(207, 167, 90, 0.04) 0%, transparent 70%),
        var(--linen);
    color: #1c1917;
    min-height: 80vh;
    padding-bottom: 90px;
}

/* ==========================================================================
   01. BREADCRUMB HEADER
   ========================================================================== */
.wishlist-header-bar {
    padding: 36px var(--pad-h) 20px;
    max-width: 1360px;
    margin-inline: auto;
}

.wishlist-crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #8b8378;
}

.wishlist-crumbs a {
    color: #8b8378;
    text-decoration: none;
    transition: color 0.28s ease;
}

.wishlist-crumbs a:hover {
    color: var(--color-maroon);
}

.wishlist-crumbs span {
    color: var(--color-maroon);
    font-weight: 500;
}

/* ==========================================================================
   02. CONTAINER & SECTIONS
   ========================================================================== */
.wishlist-container {
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: var(--pad-h);
}

.wishlist-section {
    margin-bottom: 64px;
}

/* Section 1 Header */
.wishlist-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.wishlist-sec-title {
    font-family: var(--font-body);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 600;
    color: #1c1917;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-sec-title__accent {
    width: 10px;
    height: 24px;
    background-color: var(--color-maroon);
    border-radius: 2px;
    display: inline-block;
}

.wishlist-count {
    color: #776e62;
    font-weight: 400;
}

/* Action Outlined Buttons */
.wishlist-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 28px;
    border: 1px solid #dcd5ca;
    border-radius: 4px;
    background-color: #ffffff;
    color: #1c1917;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.28s ease;
}

.wishlist-btn-outline:hover {
    border-color: var(--color-maroon);
    color: var(--color-maroon);
    background-color: #faf7f2;
}

/* ==========================================================================
   03. PRODUCT CARDS GRID
   ========================================================================== */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Card Wrapper */
.wishlist-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: transform 0.28s ease;
}

.wishlist-card:hover {
    transform: translateY(-4px);
}

/* Image Box Container */
.wishlist-card__img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.18;
    background-color: #f3eee7;
    border-radius: 6px;
    overflow: hidden;
}

.wishlist-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.wishlist-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.wishlist-card:hover .wishlist-card__img {
    transform: scale(1.04);
}

/* Top Badge */
.wishlist-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: var(--color-maroon);
    color: #ffffff;
    font-family: var(--font-label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    z-index: 2;
}

.wishlist-card__badge--new {
    background-color: #2b7a3e;
}

/* Top Right Round Action Button */
.wishlist-card__icon-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4339;
    cursor: pointer;
    transition: all 0.28s ease;
    z-index: 2;
}

.wishlist-card__icon-btn:hover {
    background-color: var(--color-maroon);
    color: #ffffff;
}

/* Full Width Bottom Add To Cart Bar */
.wishlist-card__add-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background-color: #1c1917;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.28s ease;
    z-index: 2;
}

.wishlist-card__add-bar:hover {
    background-color: var(--color-maroon);
}

.wishlist-card__add-bar svg {
    opacity: 0.9;
}

/* Content Details Below Image */
.wishlist-card__info {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wishlist-card__title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #1c1917;
    margin: 0;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.28s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-card__title:hover {
    color: var(--color-maroon);
}

/* Price Row */
.wishlist-card__price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-label);
    font-size: 14px;
}

.wishlist-card__price {
    font-weight: 600;
    color: var(--color-maroon);
}

.wishlist-card__price--mrp {
    color: #9e9588;
    font-weight: 400;
    text-decoration: line-through;
}

/* Rating Stars */
.wishlist-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 12px;
    color: #e59819;
}

.wishlist-card__rating-count {
    color: #8c8376;
    font-weight: 400;
    margin-left: 2px;
}

/* Toast Feedback Notification */
.wishlist-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 24px;
    border-radius: 8px;
    background-color: var(--color-maroon);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.wishlist-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Empty State */
.wishlist-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border: 1px solid #e7e2d9;
    border-radius: 12px;
}

.wishlist-empty-state h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-maroon);
    margin-bottom: 10px;
}

/* ==========================================================================
   04. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199.98px) {
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (max-width: 767.98px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .wishlist-sec-head {
        flex-direction: row;
        align-items: center;
    }

    .wishlist-btn-outline {
        height: 38px;
        padding: 0 16px;
        font-size: 12px;
    }
}

@media (max-width: 479.98px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
