/* =====================================================
   LUXURY PRODUCT CARDS — Index & Women's pages
   ===================================================== */

body.index-page section.index-products,
body.womens-page section.womens-products {
    --boutique-text: #1a1a1a;
    --boutique-gold: #C5A044;
    --boutique-gold-hover: #b8942e;
    --boutique-card-bg: #FAF9F6;
    --boutique-cta: #D4AF37;
    --boutique-cta-hover: #b8942e;
    --boutique-card-radius: 18px;
}

body.index-page section.index-products,
body.womens-page section.womens-products {
    background: #f5f2ed !important;
    padding: 72px 0 80px !important;
}

body.index-page section.index-products .index-products__container,
body.womens-page section.womens-products .womens-products__container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.womens-page section.womens-products .section-title {
    display: none !important;
}

body.index-page section.index-products .index-section-header,
body.womens-page section.womens-products .index-section-header {
    text-align: center !important;
    max-width: 640px;
    margin: 0 auto 48px !important;
    width: 100%;
}

body.index-page section.index-products .index-section-eyebrow,
body.womens-page section.womens-products .index-section-eyebrow {
    display: inline-block !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: #D4AF37 !important;
    margin-bottom: 12px !important;
    font-family: 'Poppins', sans-serif !important;
}

body.index-page section.index-products .index-section-title,
body.womens-page section.womens-products .index-section-title {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    color: #1a1a1a !important;
}

body.index-page section.index-products .index-section-title::after,
body.womens-page section.womens-products .index-section-title::after {
    display: none !important;
    content: none !important;
}

body.index-page section.index-products .index-section-desc,
body.womens-page section.womens-products .index-section-desc {
    display: block !important;
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #666 !important;
    text-align: center !important;
}

body.index-page section.index-products .product-grid.index-products__grid,
body.index-page section.index-products .index-products__grid,
body.womens-page section.womens-products .product-grid.womens-products__grid,
body.womens-page section.womens-products .products-grid.womens-products__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    box-sizing: border-box !important;
}

body.index-page section.index-products .product-card.product-card--lux,
body.womens-page section.womens-products .product-card.product-card--lux,
body.index-page section.product.index-products .product-card.product-card--lux {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--boutique-card-bg) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: var(--boutique-card-radius) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07) !important;
    overflow: visible !important;
    height: auto !important;
    min-width: 0 !important;
    transform: none !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.index-page section.index-products .product-card--lux:hover,
body.womens-page section.womens-products .product-card--lux:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.index-page section.index-products .product-card__media,
body.womens-page section.womens-products .product-card__media {
    position: relative;
    flex-shrink: 0;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 3 / 3.65;
    overflow: hidden;
    border-radius: 0 !important;
    background: #f0f0f0;
    margin: 0 !important;
}

body.index-page section.index-products .product-card__link,
body.womens-page section.womens-products .product-card__link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    text-decoration: none;
}

body.index-page section.index-products .product-card__img,
body.womens-page section.womens-products .product-card__img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 0 !important;
    transition: transform 0.4s ease;
    background: #f0f0f0;
}

body.index-page section.index-products .product-card--lux:hover .product-card__img,
body.womens-page section.womens-products .product-card--lux:hover .product-card__img {
    transform: scale(1.03);
}

body.index-page section.index-products .product-card__badge,
body.index-page section.index-products .product-card__quick,
body.index-page section.index-products .product-card__overlay,
body.womens-page section.womens-products .product-card__badge,
body.womens-page section.womens-products .product-card__quick,
body.womens-page section.womens-products .product-card__overlay,
body.index-page section.index-products .product-card__price-row .price-original,
body.index-page section.index-products .product-card__price-row .price-off,
body.womens-page section.womens-products .product-card__price-row .price-original,
body.womens-page section.womens-products .product-card__price-row .price-off {
    display: none !important;
}

body.index-page section.index-products .product-card__content,
body.womens-page section.womens-products .product-card__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 16px 18px 18px !important;
    flex: 1 1 auto !important;
    text-align: left !important;
    background: var(--boutique-card-bg) !important;
    box-sizing: border-box !important;
}

body.index-page section.index-products .product-card__brand,
body.womens-page section.womens-products .product-card__brand {
    display: block !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--boutique-gold) !important;
    margin: 0 0 8px !important;
}

body.index-page section.index-products .product-card__title,
body.womens-page section.womens-products .product-card__title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    width: 100% !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--boutique-text) !important;
    text-align: left !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    min-width: 0 !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

body.index-page section.index-products .product-card__title a,
body.womens-page section.womens-products .product-card__title a {
    color: var(--boutique-text) !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline !important;
    white-space: normal !important;
    overflow: visible !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
}

body.index-page section.index-products .product-card__title a:hover,
body.womens-page section.womens-products .product-card__title a:hover {
    color: var(--boutique-gold) !important;
}

body.index-page section.index-products .product-card__price-row,
body.womens-page section.womens-products .product-card__price-row {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}

body.index-page section.index-products .product-card__price-row .price-current,
body.womens-page section.womens-products .product-card__price-row .price-current {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--boutique-text) !important;
}

body.index-page section.index-products .product-card__price-row .price-current::after,
body.womens-page section.womens-products .product-card__price-row .price-current::after {
    content: '/-';
    font-weight: 800;
}

body.index-page section.index-products .product-card--lux > .product-card__image,
body.index-page section.index-products .product-card--lux > .product-card__body,
body.womens-page section.womens-products .product-card--lux > .product-card__image,
body.womens-page section.womens-products .product-card--lux > .product-card__body {
    display: none !important;
}

body.index-page section.index-products .index-products__footer {
    margin-top: 40px;
    text-align: center !important;
}

body.index-page section.index-products .index-view-all-btn {
    display: inline-block;
    padding: 14px 48px;
    background: var(--boutique-cta) !important;
    color: #1a1a1a !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: none !important;
    border-radius: 0 !important;
}

@keyframes luxShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

body.index-page section.index-products .product-card__media.is-loading .product-card__img:not(.is-loaded),
body.womens-page section.womens-products .product-card__media.is-loading .product-card__img:not(.is-loaded) {
    background: linear-gradient(110deg, #ececec 8%, #f8f8f8 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: luxShimmer 1.4s ease-in-out infinite;
}

@media (min-width: 992px) {
    body.index-page section.index-products .product-grid.index-products__grid,
    body.index-page section.index-products .index-products__grid,
    body.womens-page section.womens-products .product-grid.womens-products__grid,
    body.womens-page section.womens-products .products-grid.womens-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    body.index-page section.index-products .product-grid.index-products__grid,
    body.index-page section.index-products .index-products__grid,
    body.womens-page section.womens-products .product-grid.womens-products__grid,
    body.womens-page section.womens-products .products-grid.womens-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 16px !important;
    }
}

@media (max-width: 767px) {
    body.index-page section.index-products,
    body.womens-page section.womens-products {
        padding: 40px 0 48px !important;
    }

    body.index-page section.index-products .index-products__container,
    body.womens-page section.womens-products .womens-products__container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.index-page section.index-products .product-grid.index-products__grid,
    body.index-page section.index-products .index-products__grid,
    body.womens-page section.womens-products .product-grid.womens-products__grid,
    body.womens-page section.womens-products .products-grid.womens-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 12px !important;
    }

    body.index-page section.index-products .product-card__content,
    body.womens-page section.womens-products .product-card__content {
        padding: 12px 14px 14px !important;
    }

    body.index-page section.index-products .product-card__title,
    body.womens-page section.womens-products .product-card__title {
        font-size: 0.875rem !important;
    }

    body.index-page section.index-products .product-card__price-row .price-current,
    body.womens-page section.womens-products .product-card__price-row .price-current {
        font-size: 1.0625rem !important;
    }
}

@media (max-width: 399px) {
    body.index-page section.index-products .product-grid.index-products__grid,
    body.index-page section.index-products .index-products__grid,
    body.womens-page section.womens-products .product-grid.womens-products__grid,
    body.womens-page section.womens-products .products-grid.womens-products__grid {
        gap: 10px 8px !important;
    }
}

@media (max-width: 767px) {
    body.index-page section.product.index-products .product-grid,
    body.index-page section.product .product-grid.index-products__grid,
    body.womens-page section.womens-products .products-grid,
    body.womens-page section.womens-products .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1199px) {
    body.index-page section.product.index-products .product-grid,
    body.index-page section.product .product-grid.index-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 992px) {
    body.index-page section.product.index-products .product-grid,
    body.index-page section.product .product-grid.index-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
