/* ==========================================================================
   JIBTOL LUXURY — WOOCOMMERCE MASTER STYLESHEET
   Commercial E-Commerce & Luxury Experience
   ========================================================================== */

/* Main WooCommerce Wrapper */
.joush-luxury-shop-main {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-3xl);
}

/* ==========================================================================
   GLOBAL LUXURY PRICE STYLING
   ========================================================================== */
.woocommerce-Price-amount {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.woocommerce-Price-currencySymbol {
    font-size: 0.82em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 2px;
    color: inherit;
    opacity: 0.9;
}

.woocommerce ul.products li.product .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-black);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    margin-top: 6px;
    line-height: 1.3;
}

.woocommerce ul.products li.product .price del {
    color: var(--color-muted);
    font-size: 0.825rem;
    font-weight: 400;
    text-decoration: line-through;
    text-decoration-color: rgba(180, 0, 0, 0.45);
    text-decoration-thickness: 1px;
    opacity: 0.8;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 700;
}

/* ==========================================================================
   1. SHOP ARCHIVE / CATALOG PAGE
   ========================================================================== */
.shop-hero-header {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.shop-title {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    line-height: 1.15;
}

.shop-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto var(--spacing-lg);
}

/* Category Navigation Pills */
.shop-category-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--spacing-md);
}

.category-pill {
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-dark);
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.category-pill:hover {
    border-color: var(--color-gold);
    color: var(--color-black);
}

.category-pill.is-active {
    background-color: var(--color-black);
    color: var(--color-gold-light);
    border-color: var(--color-black);
}

/* AJAX Loading State for Products Column */
.shop-products-column {
    position: relative;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-products-column.is-loading {
    opacity: 0.45 !important;
    pointer-events: none !important;
}

.shop-products-column.is-loading::after {
    content: '';
    position: absolute;
    top: 160px;
    left: 50%;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border: 2.5px solid rgba(201, 162, 39, 0.2);
    border-top-color: var(--color-gold, #C9A227);
    border-radius: 50%;
    animation: shopSpin 0.7s linear infinite;
    z-index: 50;
    pointer-events: none;
}

@keyframes shopSpin {
    to { transform: rotate(360deg); }
}

/* Shop Toolbar */
.shop-toolbar-luxury {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-border);
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.shop-results-count {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-muted);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Grid Switcher (3 Columns vs 4 Columns) */
.shop-grid-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
}

.grid-switch-btn {
    display: flex;
    gap: 2px;
    align-items: center;
    padding: 6px 8px;
    background: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.grid-switch-btn span {
    display: block;
    width: 3px;
    height: 14px;
    background-color: var(--color-muted-light);
    transition: background-color var(--transition-fast);
}

.grid-switch-btn:hover span,
.grid-switch-btn.is-active span {
    background-color: var(--color-black);
}

.grid-switch-btn.is-active {
    border-color: var(--color-black);
}

.woocommerce-ordering select {
    border: 1px solid var(--color-border);
    padding: 10px 18px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--color-white);
    color: var(--color-dark);
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.woocommerce-ordering select:focus {
    border-color: var(--color-black);
}

/* Product Loop Grid */
.woocommerce ul.products,
#shop-products-column ul.products,
.amerce-related-grid ul.products {
    display: grid !important;
    gap: var(--spacing-xl) var(--spacing-md) !important;
    margin: 0 0 var(--spacing-3xl) 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products.columns-4,
.jibtol-product-grid-widget ul.products.columns-4,
#shop-products-column ul.products.columns-4,
.amerce-related-grid ul.products.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px clamp(10px, 1.4vw, 18px) !important;
}

.woocommerce ul.products.columns-3,
.jibtol-product-grid-widget ul.products.columns-3,
#shop-products-column ul.products.columns-3,
.amerce-related-grid ul.products.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px clamp(14px, 1.8vw, 24px) !important;
}

.woocommerce ul.products.columns-2,
.jibtol-product-grid-widget ul.products.columns-2,
#shop-products-column ul.products.columns-2,
.amerce-related-grid ul.products.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px clamp(10px, 1.2vw, 16px) !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
#shop-products-column ul.products li.product,
.amerce-related-grid ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: var(--spacing-2xl);
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    color: var(--color-dark);
    transition: all var(--transition-fast);
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
    background-color: var(--color-black);
    color: var(--color-gold-light);
    border-color: var(--color-black);
}

/* ==========================================================================
   2. SINGLE PRODUCT PAGE (AMERCE MODERN COMMERCIAL EDITION)
   ========================================================================== */
.single-product-amerce-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--spacing-sm) 0 var(--spacing-3xl);
}

/* 1. Top Breadcrumbs & Next/Prev Row */
.product-top-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.8125rem;
    color: #6b7280;
}

.product-top-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.product-top-breadcrumbs a:hover {
    color: #111;
}

.product-top-breadcrumbs .crumb-sep {
    margin: 0 6px;
    color: #9ca3af;
}

.product-top-breadcrumbs .crumb-current {
    color: #111;
    font-weight: 500;
}

.product-adj-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adj-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    color: #374151;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s;
}

.adj-nav-btn:hover {
    background-color: #f3f4f6;
    color: #111;
}

.grid-icon-btn {
    font-size: 0.85rem;
    letter-spacing: -1px;
}

/* 2. Main 2-Column Product Grid */
.product-amerce-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

/* Left: Gallery with Vertical Thumbnail Strip */
.gallery-amerce-wrapper {
    display: flex;
    gap: 16px;
    position: sticky;
    top: 110px;
}

.amerce-thumbs-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 76px;
    flex-shrink: 0;
}

.amerce-thumb-item {
    aspect-ratio: 3/4;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f3f4f6;
    border: 1.5px solid transparent;
    cursor: pointer;
    opacity: 0.65;
    transition: all 0.2s ease;
}

.amerce-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amerce-thumb-item:hover,
.amerce-thumb-item.is-active {
    opacity: 1;
    border-color: #111;
}

.amerce-main-viewport {
    flex-grow: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f4f6;
    position: relative;
    aspect-ratio: 3/4;
}

.amerce-main-viewport .main-img-holder {
    width: 100%;
    height: 100%;
}

.amerce-main-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.amerce-main-viewport:hover img {
    transform: scale(1.03);
}

.badge-sale-amerce {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 14px;
    z-index: 5;
}

/* Right: Product Dossier */
.product-dossier-amerce {
    padding-left: 8px;
}

.amerce-eyebrow {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
    text-transform: capitalize;
    margin-bottom: 6px;
    font-weight: 500;
}

.amerce-product-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.6vw, 2.4rem);
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* Reviews & Social Proof */
.amerce-social-proof-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    margin-bottom: 16px;
}

.amerce-stars-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.stars-gold,
.amerce-stars-wrap .stars-gold {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    color: #C9A227;
    font-size: 0.9rem;
    vertical-align: middle;
}

.stars-gold svg,
.amerce-stars-wrap .stars-gold svg {
    display: inline-block !important;
    flex-shrink: 0;
    margin: 0 !important;
    vertical-align: middle;
}

.review-count-text {
    color: #6b7280;
    display: inline-block;
}

.proof-sep {
    color: #d1d5db;
}

.amerce-sales-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #374151;
}

.lightning-icon {
    color: #f97316;
}

/* Price Section */
.amerce-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.amerce-price-display {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    font-variant-numeric: tabular-nums;
}

.amerce-price-display del {
    font-size: 1.15rem;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 8px;
    text-decoration: line-through;
}

.amerce-price-display ins {
    text-decoration: none;
    color: #111;
}

.amerce-discount-pill {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

/* Live Viewers Pill */
.amerce-live-viewers-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f3f4f6;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8125rem;
    color: #374151;
    margin-bottom: 22px;
}

.eye-icon {
    font-size: 0.9rem;
}

/* Dynamic Variations Wrapper */
.amerce-variations-wrapper {
    margin-bottom: 24px;
}

.variation-row {
    margin-bottom: 20px;
}

.variation-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.variation-attribute-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    text-transform: capitalize;
}

.amerce-link-sizeguide {
    font-size: 0.8125rem;
    color: #111;
    text-decoration: underline;
    font-weight: 500;
}

.variation-swatches-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variation-swatch-item {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.swatch-text-pill {
    min-width: 44px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.swatch-color-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d1d5db;
}

.variation-swatch-item:hover {
    border-color: #111;
}

.swatch-text-pill.is-active {
    border-color: #111;
    background-color: #111;
    color: #fff;
}

.swatch-color-pill.is-active {
    box-shadow: 0 0 0 2px #111;
}

/* Single Variation Wrap (Price & Availability when selected) */
.single_variation_wrap {
    margin-top: 14px;
}

.woocommerce-variation-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.woocommerce-variation-price del {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-right: 8px;
}

.woocommerce-variation-price ins {
    text-decoration: none;
    color: #111;
}

.woocommerce-variation-availability {
    font-size: 0.8125rem;
    margin-bottom: 12px;
}

/* Quantity & Add to Cart Area */
.amerce-cart-action-area {
    margin-bottom: 24px;
}

.quantity-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.amerce-qty-and-cart-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.single-product-qty {
    height: 48px;
    width: 124px;
    flex-shrink: 0;
}

.btn-amerce-add-to-cart {
    flex-grow: 1;
    height: 48px;
    border-radius: 30px !important;
    background-color: #111 !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.btn-amerce-add-to-cart:hover {
    background-color: #333 !important;
}

.btn-amerce-wishlist {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #111;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-amerce-wishlist svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
    display: block;
}

.btn-amerce-wishlist:hover {
    border-color: var(--color-gold, #C9A227);
    color: var(--color-gold, #C9A227);
}

.btn-amerce-wishlist:hover svg {
    transform: scale(1.15);
    stroke: var(--color-gold, #C9A227);
    fill: rgba(201, 162, 39, 0.12);
}

.btn-amerce-wishlist.is-active {
    border-color: var(--color-gold, #C9A227);
    color: var(--color-gold, #C9A227);
}

.btn-amerce-wishlist.is-active svg {
    stroke: var(--color-gold, #C9A227);
    fill: var(--color-gold, #C9A227);
}

/* Buy It Now Button */
.amerce-buy-now-wrap {
    margin-top: 4px;
}

.btn-amerce-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background-color: var(--color-gold, #C9A227);
    color: #fff;
    border: 1px solid var(--color-gold, #C9A227);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-amerce-buy-now:hover {
    background-color: #b38e1b;
    border-color: #b38e1b;
    color: #fff;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

/* Micro Actions Row */
.amerce-micro-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.micro-action-link {
    background: none;
    border: none;
    color: #4b5563;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0;
}

.micro-action-link:hover {
    color: #111;
}

/* Shipping & Returns Bullets */
.amerce-shipping-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.5;
}

.bullet-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: -1px;
}

.bullet-item p {
    margin: 0;
}

.bullet-item strong {
    color: #111;
}

/* Product Meta Info */
.amerce-product-meta-list {
    margin-bottom: 24px;
    font-size: 0.8125rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.amerce-product-meta-list p {
    margin: 0;
}

.amerce-product-meta-list strong {
    color: #111;
}

/* Guarantee Safe Checkout Box */
.amerce-safe-checkout-card {
    background-color: #f8f8f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.amerce-safe-checkout-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 14px 0;
}

.payment-icons-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-chip {
    padding: 4px 10px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   3. TABS SECTION (UNDERLINE STYLE)
   ========================================================================== */
.amerce-tabs-section {
    margin: 56px 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.amerce-tabs-nav {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 28px;
}

.amerce-tab-nav-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.amerce-tab-nav-btn:hover {
    color: #111;
}

.amerce-tab-nav-btn.is-active {
    color: #111;
}

.amerce-tab-nav-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111;
}

.amerce-tab-panel {
    display: none;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
}

.amerce-tab-panel.is-active {
    display: block;
}

.amerce-specs-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
}

.amerce-specs-table th {
    text-align: left;
    width: 120px;
    font-weight: 600;
    text-transform: capitalize;
    color: #111;
    padding: 10px 0;
}

.amerce-specs-table td {
    padding: 10px 0;
    color: #4b5563;
}

.amerce-review-sample {
    max-width: 600px;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.review-quote {
    font-style: italic;
    color: #374151;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    color: #111;
    font-size: 0.85rem;
}

/* ==========================================================================
   4. RECOMMENDATIONS / RELATED PRODUCTS
   ========================================================================== */
.amerce-recommendations-section {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.recommendations-tabs-header {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 600;
}

.rec-tab-item {
    color: #9ca3af;
    cursor: pointer;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s;
}

.rec-tab-item.is-active {
    color: #111;
}

.rec-tab-item.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111;
}

/* Hide duplicate WooCommerce core related products h2 heading */
.amerce-recommendations-section .related > h2,
.amerce-related-grid .related > h2,
.amerce-related-grid .related.products > h2 {
    display: none !important;
}

.amerce-related-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.amerce-related-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 28px) clamp(10px, 1.4vw, 18px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .amerce-related-grid ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px 12px !important;
    }
}

/* ==========================================================================
   5. STICKY BOTTOM ADD TO CART BAR
   ========================================================================== */
.amerce-sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: calc(var(--z-drawer, 999) + 50);
    padding: 12px 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.amerce-sticky-bottom-bar.is-visible {
    transform: translateY(0);
}

.sticky-bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-left-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
}

.sticky-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.sticky-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-select-dropdown {
    height: 40px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: #111;
    outline: none;
    background: #fff;
}

.sticky-qty-stepper {
    height: 40px;
    width: 90px;
}

.btn-sticky-add-cart {
    height: 40px;
    padding: 0 24px;
    border-radius: 20px;
    background-color: #111;
    color: #fff;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-sticky-add-cart:hover {
    background-color: #333;
}

/* ==========================================================================
   2.1 SINGLE PRODUCT RESPONSIVE RULES (TABLET & MOBILE)
   ========================================================================== */

/* Tablet & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
    .product-amerce-main-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .gallery-amerce-wrapper {
        position: static !important;
        max-width: 600px;
        margin: 0 auto;
    }

    .product-dossier-amerce {
        padding-left: 0;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .single-product-amerce-container {
        padding: 0 20px;
    }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .product-top-nav-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }

    .product-top-breadcrumbs {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .product-adj-nav {
        align-self: flex-end;
    }

    /* Gallery: Stack main image above horizontal thumbnails */
    .gallery-amerce-wrapper {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .amerce-main-viewport {
        order: 1;
        width: 100%;
        border-radius: 10px;
        aspect-ratio: 4/5;
    }

    .amerce-thumbs-strip {
        order: 2;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 6px;
    }

    .amerce-thumb-item {
        width: 64px;
        height: 80px;
        flex-shrink: 0;
        border-radius: 6px;
    }

    /* Product Dossier on Mobile */
    .product-dossier-amerce {
        max-width: 100%;
    }

    .amerce-product-title {
        font-size: 1.65rem !important;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .amerce-social-proof-row {
        gap: 8px;
        font-size: 0.8125rem;
    }

    .amerce-price-row {
        margin-bottom: 18px;
    }

    .amerce-price-display {
        font-size: 1.65rem !important;
    }

    /* Actions Row */
    .amerce-qty-and-cart-row {
        gap: 10px;
        width: 100%;
    }

    .btn-amerce-add-to-cart {
        height: 48px;
        font-size: 0.875rem;
    }

    .btn-amerce-buy-now {
        height: 48px;
        font-size: 0.875rem;
    }

    /* Micro Actions Grid */
    .amerce-micro-actions-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 14px 0;
    }

    .micro-action-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        background-color: #f9fafb;
        border-radius: 8px;
        border: 1px solid #f3f4f6;
        font-size: 0.78rem;
    }

    /* Tabs Horizontal Scroll */
    .amerce-tabs-section {
        margin: 40px 0;
    }

    .amerce-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 4px;
    }

    .amerce-tab-nav-btn {
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    /* Related Products Grid */
    .amerce-recommendations-section {
        margin-top: 40px;
        padding-top: 32px;
    }

    .recommendations-tabs-header {
        font-size: 1.4rem;
        gap: 20px;
        margin-bottom: 24px;
    }

    .amerce-related-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    /* Sticky Bottom Bar on Mobile */
    .amerce-sticky-bottom-bar {
        padding: 10px 16px;
    }

    .sticky-title {
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8125rem;
    }

    .sticky-select-dropdown {
        display: none;
    }

    .sticky-thumb {
        width: 38px;
        height: 38px;
    }

    .btn-sticky-add-cart {
        height: 38px;
        padding: 0 16px;
        font-size: 0.8125rem;
    }
}

/* Small Smart Phones (max-width: 480px) */
@media (max-width: 480px) {
    .single-product-amerce-container {
        padding: 0 12px;
    }

    .amerce-product-title {
        font-size: 1.45rem !important;
    }

    .amerce-price-display {
        font-size: 1.45rem !important;
    }

    /* Quantity Stepper Compact Width */
    .modern-qty-stepper {
        width: 105px !important;
        grid-template-columns: 32px 1fr 32px !important;
        height: 46px !important;
    }

    .modern-qty-stepper .qty-btn {
        font-size: 1.1rem !important;
    }

    .modern-qty-stepper .input-qty {
        font-size: 0.9rem !important;
    }

    .btn-amerce-wishlist {
        width: 46px !important;
        height: 46px !important;
    }

    .btn-amerce-add-to-cart {
        height: 46px !important;
        font-size: 0.8125rem !important;
        letter-spacing: 0.05em !important;
        padding: 0 14px !important;
    }

    .btn-amerce-buy-now {
        height: 46px !important;
        font-size: 0.8125rem !important;
    }

    .variation-swatch-list {
        gap: 6px;
    }

    .variation-swatch-item {
        min-width: 42px;
        height: 36px;
        font-size: 0.8rem;
    }

    .amerce-safe-checkout-card {
        padding: 16px 12px;
    }

    .pay-chip {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .sticky-title {
        max-width: 90px;
    }
}

/* ==========================================================================
   3. CART PAGE (AMERCE MODERN COMMERCIAL EDITION)
   ========================================================================== */
.cart-modern-wrapper {
    padding: var(--spacing-lg) 0 var(--spacing-3xl);
    max-width: 1240px;
    margin: 0 auto;
}

/* 1. Header & Breadcrumbs */
.cart-breadcrumbs {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.cart-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.cart-breadcrumbs a:hover {
    color: #111;
}

.cart-breadcrumbs .crumb-sep {
    margin: 0 6px;
    color: #9ca3af;
}

.cart-breadcrumbs .crumb-current {
    color: #111;
    font-weight: 500;
}

.cart-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #111;
    margin-bottom: 8px;
}

.cart-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

/* 2. Urgency Expiry Banner */
.cart-countdown-banner {
    background-color: #fdf3f2;
    border: 1px solid #fae1de;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.875rem;
    color: #374151;
    max-width: 860px;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.banner-flame {
    font-size: 1rem;
}

.cart-timer-highlight {
    color: #d9383a;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* 3. Two-Column Layout */
.cart-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Products Table */
.cart-modern-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.cart-modern-table th {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    padding: 14px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-transform: capitalize;
    letter-spacing: 0;
}

.cart-modern-table th.col-product {
    text-align: left;
    width: 48%;
}

.cart-modern-table th.col-price {
    text-align: center;
    width: 18%;
}

.cart-modern-table th.col-quantity {
    text-align: center;
    width: 18%;
}

.cart-modern-table th.col-subtotal {
    text-align: right;
    width: 16%;
}

.cart-modern-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

/* Product Info Cell */
.product-info-flex {
    display: flex;
    gap: 16px;
    align-items: center;
}

.product-thumb-box {
    width: 75px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f3f4f6;
    flex-shrink: 0;
}

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

.product-meta-box {
    flex-grow: 1;
}

.product-name-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.product-name-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name-title a:hover {
    color: #d9383a;
}

.product-remove-wrap {
    margin-top: 4px;
}

.btn-remove-link {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-remove-link:hover {
    color: #d9383a;
}

/* Price & Subtotal Cells */
.product-price-cell,
.product-subtotal-cell {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d9383a;
    font-variant-numeric: tabular-nums;
}

.product-price-cell del {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 400;
    margin-right: 6px;
}

.product-price-cell ins {
    text-decoration: none;
    color: #d9383a;
}

/* Quantity Stepper (Pill with - / +) */
.modern-qty-stepper {
    display: inline-grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    justify-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    height: 48px;
    width: 124px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}

.modern-qty-stepper .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    height: 100% !important;
}

.modern-qty-stepper .quantity .screen-reader-text {
    display: none !important;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #374151;
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: all 0.2s;
    user-select: none;
    -webkit-user-select: none;
}

.qty-btn:hover {
    color: #111;
    background-color: rgba(0, 0, 0, 0.04);
}

.modern-qty-stepper input.input-qty {
    width: 100% !important;
    max-width: 46px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #111 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.modern-qty-stepper input.input-qty::-webkit-outer-spin-button,
.modern-qty-stepper input.input-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Compact Stepper for Cart Table & Sticky Bar */
.cart-item-stepper,
.sticky-qty-stepper {
    height: 38px;
    width: 100px;
    grid-template-columns: 28px 1fr 28px;
}

.cart-item-stepper .qty-btn,
.sticky-qty-stepper .qty-btn {
    font-size: 1.1rem;
}

.cart-item-stepper input.input-qty,
.sticky-qty-stepper input.input-qty {
    font-size: 0.9rem !important;
}

/* Gift Packaging Checkbox */
.cart-gift-packaging-row {
    margin: 16px 0 20px;
}

.checkbox-gift-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #e11d48;
    font-weight: 500;
}

.checkbox-gift-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #e11d48;
    cursor: pointer;
}

/* Special Instructions Textarea */
.cart-seller-instructions-box {
    margin-bottom: 28px;
}

.seller-instructions-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.seller-instructions-textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.875rem;
    color: #111;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    background-color: #fff;
}

.seller-instructions-textarea:focus {
    border-color: #111;
}

/* Voucher Code & Update Cart Row */
.cart-bottom-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.voucher-discount-box {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    background: #fff;
}

.voucher-input {
    border: none;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #111;
    outline: none;
    flex-grow: 1;
}

.btn-apply-code {
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 22px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    margin: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.btn-apply-code:hover {
    background-color: #333 !important;
}

.btn-pill-update-cart {
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.btn-pill-update-cart:hover {
    background-color: #333 !important;
}

/* ==========================================================================
   Right Column: Order Summary Card
   ========================================================================== */
.order-summary-card {
    position: sticky;
    top: 110px;
    background-color: #f8f8f9;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #f0f0f2;
}

/* Order Summary Total Row */
.order-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.summary-label-col {
    display: flex;
    flex-direction: column;
}

.summary-title-main {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
}

.summary-title-sub {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.summary-final-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    font-variant-numeric: tabular-nums;
}

/* Terms Agreement Checkbox */
.cart-terms-agreement-row {
    margin-bottom: 18px;
}

.terms-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #4b5563;
    cursor: pointer;
}

.terms-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    accent-color: #111;
    cursor: pointer;
}

.terms-label a {
    color: #111;
    text-decoration: underline;
}

/* Terms & Conditions Validation Feedback */
.cart-terms-agreement-row {
    position: relative;
    transition: all 0.25s ease;
    border-radius: 8px;
    margin-bottom: 14px;
}

.cart-terms-agreement-row.has-terms-error {
    background-color: #FFF8F8;
    border: 1px solid #FECACA;
    padding: 10px 14px;
}

.cart-terms-agreement-row.has-terms-error .terms-label {
    color: #DC2626 !important;
    font-weight: 600 !important;
}

.cart-terms-agreement-row.has-terms-error input[type="checkbox"] {
    outline: 2px solid #DC2626;
    outline-offset: 1px;
}

.cart-terms-error-msg {
    display: none;
    align-items: center;
    gap: 6px;
    color: #DC2626;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.4;
}

@keyframes termsShakeAnim {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.terms-shake {
    animation: termsShakeAnim 0.35s ease;
}

/* Checkout Button */
.btn-process-checkout {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    background-color: #111 !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: background-color 0.2s !important;
    margin-bottom: 14px !important;
}

.btn-process-checkout:hover {
    background-color: #333 !important;
}

.continue-shopping-center-link {
    text-align: center;
}

.link-continue-browse {
    font-size: 0.875rem;
    color: #111;
    text-decoration: underline;
    font-weight: 500;
}

.link-continue-browse:hover {
    color: #d9383a;
}

/* ==========================================================================
   4. RECENTLY VIEWED SECTION
   ========================================================================== */
.recently-viewed-section {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
}

.recently-viewed-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 36px;
}

.recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left;
}

.recent-product-card {
    display: flex;
    flex-direction: column;
}

.recent-thumb-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3f4f6;
    aspect-ratio: 3/4;
    margin-bottom: 14px;
}

.recent-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recent-thumb-wrapper:hover img {
    transform: scale(1.04);
}

.recent-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 5;
}

.badge-stock-green {
    background-color: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

.badge-discount-red {
    background-color: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

.recent-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 4px;
}

.recent-title a {
    color: #111;
    text-decoration: none;
}

.recent-title a:hover {
    color: #d9383a;
}

.recent-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.recent-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d9383a;
    margin-bottom: 8px;
}

.recent-swatches {
    display: flex;
    gap: 6px;
}

.swatch-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
}

.dot-brown { background-color: #6b4f3b; }
.dot-green { background-color: #5b7553; }
.dot-beige { background-color: #d8c2aa; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .cart-two-col-grid {
        grid-template-columns: 1fr;
    }
    .order-summary-card {
        position: static;
    }
    .recently-viewed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cart-modern-table thead {
        display: none;
    }
    .cart-modern-table td {
        display: block;
        text-align: right;
        padding: 8px 0;
    }
    .cart-modern-table td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        color: #6b7280;
        font-size: 0.8125rem;
    }
    .cart-modern-table td.product-info-cell {
        text-align: left;
    }
    .cart-modern-table td.product-info-cell::before {
        display: none;
    }
    .product-info-flex {
        align-items: flex-start;
    }
    .voucher-discount-box {
        max-width: 100%;
    }
    .btn-pill-update-cart {
        width: 100%;
    }
    .recently-viewed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
    }
}

/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .single-product-luxury-layout,
    .cart-two-column-layout {
        grid-template-columns: 1fr;
    }

    .product-dossier-inner,
    .product-gallery-sticky-wrap,
    .cart-summary-sticky-card {
        position: static;
        padding-left: 0;
    }

    .woocommerce #shop-products-column ul.products.columns-4,
    .woocommerce #shop-products-column ul.products.columns-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    /* Shop Page 2-Column Mobile Product Grid */
    .woocommerce #shop-products-column ul.products,
    .woocommerce #shop-products-column ul.products.columns-4,
    .woocommerce #shop-products-column ul.products.columns-3,
    .woocommerce #shop-products-column ul.products.columns-2,
    #shop-products-column ul.products,
    #shop-products-column ul.products.columns-4,
    #shop-products-column ul.products.columns-3,
    #shop-products-column ul.products.columns-2,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: var(--spacing-2xl) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide 3/4-col desktop switcher on mobile */
    .shop-grid-switcher {
        display: none !important;
    }

    /* Recently Viewed 2-Column Mobile Layout */
    .recently-viewed-section {
        margin-top: 40px !important;
        padding-top: 30px !important;
    }

    .recently-viewed-title {
        font-size: 1.35rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .recently-viewed-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
        width: 100% !important;
    }

    .recent-product-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .recent-thumb-wrapper {
        position: relative !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        background-color: #f3f4f6 !important;
        aspect-ratio: 3/4 !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .recent-thumb-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .recent-badges {
        position: absolute !important;
        top: 6px !important;
        left: 6px !important;
        display: flex !important;
        gap: 4px !important;
        z-index: 5 !important;
    }

    .badge-stock-green,
    .badge-discount-red {
        font-size: 0.62rem !important;
        font-weight: 600 !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }

    .recent-info {
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
    }

    .recent-title {
        font-size: 0.84rem !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
        color: #111111 !important;
        margin: 0 0 4px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 2.3em !important;
    }

    .recent-title a {
        color: #111111 !important;
        text-decoration: none !important;
    }

    .recent-stars {
        font-size: 0.72rem !important;
        letter-spacing: 1px !important;
        color: #EAB308 !important;
        margin-bottom: 4px !important;
    }

    .recent-price {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #111111 !important;
        line-height: 1.25 !important;
    }

    .recent-price del {
        font-size: 0.75rem !important;
        font-weight: 400 !important;
        color: #888888 !important;
        margin-right: 4px !important;
    }

    .recent-price ins {
        text-decoration: none !important;
        color: #B84A39 !important;
    }

    .recent-swatches {
        display: flex !important;
        gap: 4px !important;
        margin-top: 4px !important;
    }

    .swatch-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        display: inline-block !important;
    }

    .woocommerce ul.products li.product {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .cart-luxury-table thead {
        display: none;
    }

    .cart-luxury-table td {
        display: block;
        padding: 10px 0;
        text-align: right;
    }

    .cart-luxury-table td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: var(--color-muted);
    }

    .cart-luxury-table td.product-thumbnail {
        text-align: center;
    }

    .cart-luxury-table td.product-thumbnail::before {
        display: none;
    }

    .cart-thumb-wrap {
        margin: 0 auto;
    }

    .cart-actions-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .coupon-box-luxury {
        flex-direction: column;
    }

    .coupon-box-luxury input[type="text"] {
        width: 100%;
    }
}

/* ==========================================================================
   5. SHOP SIDEBAR & TWO-COLUMN CATALOG
   ========================================================================== */
.shop-layout-with-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 40px);
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.shop-products-column {
    position: relative;
    min-height: 350px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}

.shop-products-column.is-loading {
    opacity: 0.35;
    pointer-events: none;
}

.shop-products-column.is-loading::after {
    content: '';
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-gold, #c9a227);
    border-radius: 50%;
    animation: luxurySpin 0.7s infinite linear;
    z-index: 20;
}

@keyframes luxurySpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.shop-sidebar-wrapper {
    position: sticky;
    top: 110px;
    padding-right: var(--spacing-lg);
    border-right: 1px solid var(--color-border);
}

.shop-filter-widget {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

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

.shop-filter-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-black);
}

.filter-categories-list,
.filter-price-tiers,
.filter-availability-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-categories-list li a,
.filter-price-tiers li a,
.filter-availability-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    transition: color var(--transition-fast);
}

.filter-categories-list li a:hover,
.filter-price-tiers li a:hover,
.filter-availability-list li a:hover,
.filter-categories-list li.is-active a,
.filter-price-tiers li.is-active a {
    color: var(--color-black);
    font-weight: 600;
}

.filter-categories-list li.is-active a {
    color: var(--color-gold-dark);
}

.count-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    background-color: var(--color-light);
    border-radius: 12px;
    color: var(--color-muted);
}

/* Shopping Advisor Card in Sidebar */
.advisor-sidebar-card {
    background-color: var(--color-light);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    text-align: center;
}

.advisor-icon {
    font-size: 1.1rem;
    color: var(--color-gold);
    display: block;
    margin-bottom: 6px;
}

.advisor-sidebar-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.advisor-sidebar-card p {
    font-size: 0.75rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.btn-sidebar-advisor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.btn-sidebar-advisor:hover {
    background-color: #25D366;
    color: #ffffff;
}

/* Mobile Sidebar Drawer */
.btn-toggle-shop-filters {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.shop-sidebar-header-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .shop-layout-with-sidebar {
        grid-template-columns: 1fr;
    }

    .shop-sidebar-column {
        display: none;
    }

    .shop-sidebar-column.is-active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        background: var(--color-white);
        z-index: calc(var(--z-drawer) + 10);
        padding: var(--spacing-lg);
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    }

    .shop-sidebar-wrapper {
        border-right: none;
        padding-right: 0;
        position: static;
    }

    .btn-toggle-shop-filters {
        display: inline-flex;
    }

    .shop-sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--spacing-lg);
        padding-bottom: 10px;
        border-bottom: 1px solid var(--color-border);
    }

    .btn-close-shop-sidebar {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
    }
}

/* ==========================================================================
   6. CHECKOUT PAGE (COMMERCIAL LUXURY 2-COLUMN EXPERIENCE)
   ========================================================================== */
.checkout-modern-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--spacing-md) 0 var(--spacing-3xl);
}

/* 1. Progression Steps Bar */
.checkout-progression-bar {
    margin-bottom: 32px;
    text-align: center;
}

.checkout-steps-nav {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background-color: #fafaf9;
    padding: 10px 28px;
    border-radius: 40px;
    border: 1px solid #e5e7eb;
}

.checkout-steps-nav .step-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
}

.checkout-steps-nav .step-item.is-completed {
    color: #111;
}

.checkout-steps-nav .step-item.is-active {
    color: #111;
    font-weight: 700;
}

.checkout-steps-nav .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkout-steps-nav .step-item.is-active .step-num,
.checkout-steps-nav .step-item.is-completed .step-num {
    background-color: #111;
    color: #fff;
}

.checkout-steps-nav .step-arrow {
    color: #9ca3af;
    font-size: 1.1rem;
}

/* 2. Coupon & Login Notice Styling */
.checkout-notices-container {
    margin-bottom: 24px;
}

.checkout-coupon-toggle-wrap {
    margin-bottom: 20px;
}

.coupon-toggle-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #334155;
}

.coupon-toggle-box a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
}

.modern-checkout-coupon-form {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    max-width: 420px;
}

.coupon-input-group input.coupon-field {
    flex-grow: 1;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 22px;
    padding: 0 16px;
    font-size: 0.875rem;
    outline: none;
}

.coupon-input-group .btn-apply-coupon {
    height: 44px;
    padding: 0 24px;
    border-radius: 22px;
    background-color: #111;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Checkout Form Container */
.checkout-modern-form {
    width: 100%;
}

/* Luxury Validation & Notice Styles (Prevents Layout Scattering) */
.woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .woocommerce-NoticeGroup {
    width: 100% !important;
    margin-bottom: 28px !important;
    clear: both !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error,
.woocommerce-error {
    background: #FFFBFB !important;
    border: 1px solid #FECACA !important;
    border-left: 4px solid #DC2626 !important;
    border-radius: 8px !important;
    padding: 18px 24px 18px 54px !important;
    margin: 0 0 28px 0 !important;
    list-style: none !important;
    position: relative !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.07) !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error::before,
.woocommerce-error::before {
    content: "⚠️" !important;
    position: absolute !important;
    left: 18px !important;
    top: 16px !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error li,
.woocommerce-error li {
    font-size: 0.875rem !important;
    color: #991B1B !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin-bottom: 6px !important;
    list-style: none !important;
}

.woocommerce-NoticeGroup-checkout ul.woocommerce-error li:last-child,
.woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}

/* Guard: If any notice is ever placed directly inside the CSS Grid */
.checkout-modern-grid > .woocommerce-NoticeGroup,
.checkout-modern-grid > .woocommerce-NoticeGroup-checkout,
.checkout-modern-grid > .woocommerce-error,
.checkout-modern-grid > .woocommerce-message,
.checkout-modern-grid > .woocommerce-info {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* High-End Invalid Input States */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea {
    border-color: #DC2626 !important;
    background-color: #FEF2F2 !important;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text:focus,
.woocommerce form .form-row.woocommerce-invalid select:focus,
.woocommerce form .form-row.woocommerce-invalid textarea:focus {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15) !important;
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: #991B1B !important;
}

/* 3. Main 2-Column Grid (Contact Information Wider than Order Summary) */
.checkout-modern-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 36px;
    align-items: stretch;
}

/* Left Column: Form Blocks */
.checkout-main-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-main-column .checkout-form-section,
.checkout-main-column #customer_details {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.checkout-main-column .billing-details-block {
    margin-bottom: 24px;
}

.checkout-main-column .shipping-details-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

.checkout-main-column .shipping-details-block .block-body,
.checkout-main-column .shipping-details-block .woocommerce-additional-fields,
.checkout-main-column .shipping-details-block .woocommerce-additional-fields__field-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.checkout-main-column .shipping-details-block .woocommerce-additional-fields__field-wrapper .form-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

.checkout-main-column .shipping-details-block textarea {
    flex: 1;
    min-height: 120px;
    height: 100% !important;
    box-sizing: border-box !important;
}

.checkout-block {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.checkout-block .block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.checkout-block .block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    letter-spacing: -0.01em;
}

.block-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-login-link {
    font-size: 0.8125rem;
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.ssl-encrypted-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
    background-color: #f0fdf4;
    padding: 4px 10px;
    border-radius: 14px;
}

/* Native WooCommerce Form Fields Overrides */
.woocommerce form .form-row {
    margin: 0 0 18px;
    padding: 0;
}

.woocommerce form .form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.woocommerce form .form-row .required {
    color: #dc2626;
    text-decoration: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 0.9375rem !important;
    color: #111 !important;
    background-color: #fff !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce form .form-row textarea {
    height: 100px !important;
    padding: 12px 16px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #111 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06) !important;
}

.woocommerce form .form-row-first {
    width: 48.5% !important;
    float: left !important;
}

.woocommerce form .form-row-last {
    width: 48.5% !important;
    float: right !important;
}

.woocommerce form .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

/* Hide duplicate order review table in payment section */
.woocommerce-checkout-review-order-table,
.checkout-order-table-styled {
    display: none !important;
}

/* Payment Methods Block (#payment) */
/* Separate Payment Method Card (Card 2 below Order Summary) */
#checkout-payment-section.checkout-payment-card {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 28px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#checkout-payment-section.checkout-payment-card .block-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#checkout-payment-section.checkout-payment-card .block-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

#checkout-payment-section.checkout-payment-card .block-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background-color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #c9a227;
}

.woocommerce-checkout #payment ul.payment_methods li.woocommerce-payment-method--selected,
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
    border-color: #c9a227 !important;
    background-color: #fdfbf7 !important;
    box-shadow: 0 0 0 1px #c9a227, 0 4px 14px rgba(201, 162, 39, 0.08) !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-right: 10px !important;
    accent-color: #c9a227 !important;
    cursor: pointer;
    width: 17px !important;
    height: 17px !important;
    vertical-align: middle;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.woocommerce-checkout #payment ul.payment_methods li label img {
    max-height: 24px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    border-radius: 3px;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    font-size: 0.875rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 14px 0 4px 0 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Future Gateway & Credit Card Fields (Stripe, Tap, PayTabs, Telr, Checkout.com) */
.woocommerce-checkout #payment .wc-stripe-elements-field,
.woocommerce-checkout #payment .wc-credit-card-form-card-number,
.woocommerce-checkout #payment .wc-credit-card-form-card-expiry,
.woocommerce-checkout #payment .wc-credit-card-form-card-cvc,
.woocommerce-checkout #payment .payment_box input.input-text {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    background: #ffffff !important;
    font-size: 0.9375rem !important;
    box-sizing: border-box !important;
    color: #111 !important;
    margin-top: 6px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-checkout #payment .payment_box input.input-text:focus,
.woocommerce-checkout #payment .wc-stripe-elements-field.StripeElement--focus {
    border-color: #c9a227 !important;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15) !important;
    outline: none !important;
}

.woocommerce-checkout #payment .wc-credit-card-form .form-row {
    margin-bottom: 12px !important;
}

/* Express Checkout & Digital Wallets Container */
#wc-stripe-payment-request-wrapper,
.wc-stripe-payment-request-container,
#payment-request-button {
    margin-bottom: 18px !important;
    width: 100% !important;
}

/* Terms and Conditions Checkbox */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin: 18px 0 !important;
    font-size: 0.8125rem !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    margin-top: 3px !important;
    accent-color: #c9a227 !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: #111 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.woocommerce-checkout #payment #place_order {
    width: 100% !important;
    height: 54px !important;
    background-color: #111 !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s !important;
}

.woocommerce-checkout #payment #place_order:hover {
    background-color: #2b2b2b !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.woocommerce-checkout #payment #place_order:active {
    transform: translateY(1px) !important;
}

/* Right Column: Equal Height Column with Separate Cards */
.checkout-summary-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-summary-sticky-card {
    background-color: #fafaf9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.summary-card-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.summary-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-count-pill {
    background-color: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Items List with Thumbnails & Qty Badges */
.checkout-items-list-scroll {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 20px;
}

.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.checkout-summary-item:last-child {
    border-bottom: none;
}

.summary-item-thumb {
    width: 56px;
    height: 70px;
    border-radius: 8px;
    overflow: visible;
    position: relative;
    flex-shrink: 0;
    background-color: #e5e7eb;
}

.summary-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-qty-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background-color: #4b5563;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.summary-item-info {
    flex-grow: 1;
}

.summary-item-info .item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.item-variation-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.summary-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

/* Voucher Discount Row */
.checkout-voucher-row {
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.voucher-input-group {
    display: flex;
    gap: 8px;
}

.input-voucher {
    flex-grow: 1;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 22px;
    padding: 0 16px;
    font-size: 0.8125rem;
    outline: none;
    background-color: #fff;
}

.input-voucher:focus {
    border-color: #111;
}

.btn-apply-checkout-coupon {
    height: 42px;
    padding: 0 20px;
    border-radius: 22px;
    background-color: #111;
    color: #fff;
    border: none;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-apply-checkout-coupon:hover {
    background-color: #333;
}

/* Totals Breakdown */
.checkout-totals-summary-box {
    margin-bottom: 24px;
}

.totals-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.totals-line .value {
    font-weight: 600;
    color: #111;
    font-variant-numeric: tabular-nums;
}

.grand-total-line {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.total-label-wrap {
    display: flex;
    flex-direction: column;
}

.vat-included-note {
    font-size: 0.72rem;
    font-weight: 400;
    color: #9ca3af;
}

.grand-total-line .total-amount {
    font-size: 1.45rem;
    color: #111;
}

/* Trust Box in Summary */
.checkout-trust-box {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: #4b5563;
}

.trust-point a {
    color: #128c7e;
    text-decoration: underline;
    font-weight: 600;
}

/* ==========================================================================
   7. ORDER RECEIVED / THANK YOU PAGE
   ========================================================================== */
.thankyou-luxury-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
}

.thankyou-hero-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 44px 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.status-icon-wrap {
    margin-bottom: 20px;
}

.confirmed-check-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #22c55e;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.thankyou-eyebrow {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 0.2em;
    color: #c9a227;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.thankyou-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: #111;
    margin: 0 0 12px 0;
}

.thankyou-desc {
    font-size: 1rem;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.thankyou-meta-pills {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-pill {
    background-color: #fafaf9;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 20px;
    text-align: left;
    min-width: 140px;
}

.meta-pill .label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.meta-pill .val {
    font-size: 0.95rem;
    color: #111;
    font-weight: 700;
}

/* Order Timeline Card */
.order-timeline-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 24px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-steps-track {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-steps-track::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.timeline-step .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #d1d5db;
    display: inline-block;
    margin-bottom: 8px;
}

.timeline-step.is-completed .dot {
    border-color: #22c55e;
    background-color: #22c55e;
}

.timeline-step.is-active .dot {
    border-color: #c9a227;
    background-color: #c9a227;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2);
}

.timeline-step .step-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4b5563;
}

/* Thank You Details Grid */
.thankyou-details-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.support-card {
    background-color: #fafaf9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.support-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
}

.support-card p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-whatsapp-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border-radius: 22px;
    background-color: #25d366;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-whatsapp-order:hover {
    background-color: #1ebe5d;
}

.btn-continue-shopping {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #111;
    border-radius: 30px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-continue-shopping:hover {
    background-color: #111;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-modern-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .checkout-main-column {
        order: 1; /* Customer fills form before order placement button on mobile */
    }
    .checkout-summary-column {
        order: 2; /* Order summary & WhatsApp placement button appear after form */
        margin-bottom: 24px;
        position: static;
    }
    .checkout-summary-sticky-card {
        position: static;
        margin-bottom: 20px;
    }
    #checkout-payment-section.checkout-payment-card {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
    .thankyou-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Product Custom Order Delivery Tab */
.joush-product-custom-delivery-wrap {
    padding: 10px 0 20px;
}

.joush-product-custom-delivery-wrap .custom-delivery-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A227;
    margin-bottom: 8px;
}

.joush-product-custom-delivery-wrap .custom-delivery-title {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: 1.625rem;
    font-weight: 400;
    color: #111;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.joush-product-custom-delivery-wrap .custom-delivery-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 24px;
}

.joush-product-custom-delivery-wrap .product-custom-factors {
    margin-bottom: 28px;
}

.joush-product-custom-delivery-wrap .factors-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 16px;
}

.joush-product-custom-delivery-wrap .factors-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.joush-product-custom-delivery-wrap .factors-bullet-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #2b2b2b;
    padding: 10px 14px;
    background: #FAF8F5;
    border: 1px solid #F0ECE1;
    border-radius: 4px;
}

.joush-product-custom-delivery-wrap .bullet-crest {
    color: #C9A227;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.joush-product-custom-delivery-wrap .product-custom-timeframe-box {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #EAE5D9;
    border-left: 3px solid #C9A227;
    border-radius: 4px;
}

.joush-product-custom-delivery-wrap .product-custom-timeframe-box p {
    margin: 0;
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.6;
}

.joush-product-custom-delivery-wrap .product-custom-advisory-ribbon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #FAF8F5;
    border: 1px dashed #D4AF37;
    border-radius: 4px;
    margin-bottom: 28px;
}

.joush-product-custom-delivery-wrap .advisory-sparkle {
    color: #C9A227;
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.joush-product-custom-delivery-wrap .product-custom-advisory-ribbon p {
    margin: 0;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
}

.joush-product-custom-delivery-wrap .product-custom-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 8px;
}

.joush-product-custom-delivery-wrap .btn-custom-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.joush-product-custom-delivery-wrap .btn-custom-wa:hover {
    background: #C9A227;
    color: #111;
    transform: translateY(-1px);
}

.joush-product-custom-delivery-wrap .link-shipping-policy {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #C9A227;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.joush-product-custom-delivery-wrap .link-shipping-policy:hover {
    color: #C9A227;
}

@media (max-width: 680px) {
    .joush-product-custom-delivery-wrap .factors-bullet-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LUXURY PRODUCT REVIEWS & RATING SYSTEM
   ========================================================================== */

/* Single Product Social Proof Rating Link */
.amerce-stars-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.amerce-stars-link:hover {
    opacity: 0.85;
}

.amerce-stars-link .review-count-text {
    font-size: 0.8125rem;
    color: #4a4a58;
    font-weight: 500;
}

.amerce-stars-link .review-count-text strong {
    color: #111;
    font-weight: 700;
    margin-right: 2px;
}

/* Product Card Star Rating (Grids & Shop) */
.product-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
    min-height: 18px;
    line-height: 1;
}

.product-card-rating.product-card-rating-empty {
    min-height: 18px;
    visibility: hidden;
}

.product-card-rating .card-stars-gold {
    display: inline-flex;
    align-items: center;
    gap: 1.5px;
}

.product-card-rating .card-stars-gold svg {
    display: inline-block;
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
}

.product-card-rating .card-rating-val {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111;
    margin-left: 2px;
}

.product-card-rating .card-rating-count {
    font-size: 0.7rem;
    color: #777;
    font-weight: 500;
}

/* Product Reviews Container */
.joush-luxury-reviews-container {
    padding-top: 10px;
}

/* 1. Scoreboard Card */
.joush-reviews-summary-card {
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    gap: 36px;
    align-items: center;
    background: #FAFAFC;
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 36px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.summary-score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 32px;
}

.score-badge-circle {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.score-number {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 3.25rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.score-max {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}

.score-stars-row {
    display: flex;
    gap: 3px;
    margin-bottom: 8px;
}

.score-summary-text {
    font-size: 0.8125rem;
    color: #555;
    margin: 0 0 10px 0;
}

.score-summary-text strong {
    color: #111;
}

.summary-satisfaction-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(37, 211, 102, 0.1);
    color: #128C7E;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Rating Breakdown Bars */
.summary-bars-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-row {
    display: grid;
    grid-template-columns: 48px 1fr 68px;
    align-items: center;
    gap: 12px;
}

.bar-star-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 2px;
}

.bar-star-label .star-icon {
    color: #C9A227;
    font-size: 0.85rem;
}

.bar-track {
    background: #E8E8EE;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    background: linear-gradient(90deg, #D4AF37 0%, #C9A227 100%);
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-count-label {
    font-size: 0.725rem;
    font-weight: 600;
    color: #666;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Action Column */
.summary-action-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 32px;
}

.btn-toggle-review-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 30px;
    border: 1px solid #111;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-toggle-review-form:hover {
    background: #C9A227;
    border-color: #C9A227;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.3);
}

.summary-action-subtext {
    font-size: 0.75rem;
    color: #777;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

/* 2. Review Submission Form Drawer */
.joush-review-form-wrapper {
    background: #fff;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    animation: joushSlideDown 0.35s ease-out;
}

@keyframes joushSlideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.joush-luxury-comment-form .comment-reply-title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.5rem;
    color: #111;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.joush-luxury-comment-form .comment-notes {
    font-size: 0.8125rem;
    color: #777;
    margin-bottom: 24px;
}

.joush-luxury-comment-form .form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.joush-luxury-comment-form .form-field-col label,
.joush-luxury-comment-form .form-field-full label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 8px;
}

.joush-luxury-comment-form .form-field-col input,
.joush-luxury-comment-form .form-field-full textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DCDCE4;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #111;
    background: #FAFAFC;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.joush-luxury-comment-form .form-field-col input:focus,
.joush-luxury-comment-form .form-field-full textarea:focus {
    outline: none;
    border-color: #C9A227;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.joush-luxury-comment-form p.stars,
.joush-luxury-comment-form .comment-form-rating {
    display: none !important;
}

/* Star Rating Selector */
.star-rating-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #F6F6FA;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #E8E8F0;
    margin-bottom: 20px;
}

.stars-picker-wrap {
    display: inline-flex;
    gap: 4px;
}

.star-pick-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #D2D2DC;
    cursor: pointer;
    padding: 2px;
    transition: color 0.15s ease, transform 0.15s ease;
}

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

.star-pick-btn.is-active {
    color: #C9A227;
}

.rating-label-text {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.02em;
}

/* Form Submit Button */
.btn-submit-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 14px;
}

.btn-submit-review:hover {
    background: #C9A227;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
}

/* 3. Reviews List */
.joush-reviews-list-section {
    margin-top: 20px;
}

.reviews-list-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EAEAEF;
}

.reviews-list-title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.reviews-list-title .count-pill {
    background: #111;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.04em;
}

.joush-reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.joush-review-card {
    background: #fff;
    border: 1px solid #ECECF2;
    border-radius: 10px;
    padding: 24px 28px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.joush-review-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.review-card-author-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111;
    border: 1.5px solid #C9A227;
    color: #C9A227;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.name-verified-row {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.review-author-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111;
}

.verified-buyer-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #128C7E;
    background: rgba(37, 211, 102, 0.1);
    padding: 2px 7px;
    border-radius: 10px;
}

.review-date-text {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    display: block;
}

.review-card-stars {
    display: flex;
    gap: 2.5px;
}

.review-card-headline {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px 0;
}

.review-card-body p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
}

/* Empty State */
.joush-no-reviews-state {
    text-align: center;
    padding: 48px 20px;
    background: #FAFAFC;
    border: 1px dashed #DCDCE4;
    border-radius: 12px;
}

.joush-no-reviews-state .no-reviews-icon {
    font-size: 2rem;
    color: #C9A227;
    margin-bottom: 12px;
}

.joush-no-reviews-state h5 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.25rem;
    color: #111;
    margin: 0 0 6px 0;
}

.joush-no-reviews-state p {
    font-size: 0.875rem;
    color: #666;
    margin: 0 0 20px 0;
}

.btn-first-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-first-review:hover {
    background: #C9A227;
    color: #111;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .joush-reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .summary-score-col {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .summary-action-col {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding-left: 0;
        padding-top: 20px;
    }

    .joush-luxury-comment-form .form-row-group {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* 4. Luxury Reviews Pagination */
@keyframes joushCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.joush-reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #ECECF2;
}

.reviews-pagination-summary {
    font-size: 0.8125rem;
    color: #666;
    letter-spacing: 0.02em;
}

.reviews-pagination-summary .rev-range-start,
.reviews-pagination-summary .rev-range-end,
.reviews-pagination-summary .rev-total-count {
    font-weight: 700;
    color: #111;
}

.reviews-pagination-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rev-page-numbers-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rev-page-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #FAFAFC;
    border: 1px solid #DCDCE4;
    border-radius: 20px;
    color: #111;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rev-page-nav-btn:not(:disabled):hover {
    background: #111;
    color: #C9A227;
    border-color: #111;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rev-page-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #F4F4F6;
    border-color: #E2E2E8;
    color: #999;
}

.rev-page-num-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 50%;
    border: 1px solid #ECECF2;
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rev-page-num-btn:hover {
    border-color: #C9A227;
    color: #C9A227;
    background: #FFFDF8;
    transform: translateY(-1px);
}

.rev-page-num-btn.is-active {
    background: #111;
    border-color: #111;
    color: #C9A227;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

@media (max-width: 680px) {
    .joush-reviews-pagination {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .reviews-pagination-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* WhatsApp Checkout Confirmation Card */
.whatsapp-checkout-badge-box {
    border-left: 1px solid #EAE5D9 !important;
}

