/* =====================================================
   WOMEN'S PAGE — Hero, products, featured, modals
   (Replaces legacy style.css + inline blocks)
   ===================================================== */

body.womens-page.ep-store {
    overflow-x: hidden;
}

body.womens-page .search-model {
    display: none !important;
}

/* —— Section spacing —— */
body.womens-page .spad {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

body.womens-page .product.spad {
    background: #f8f6f2;
}

/* —— Hero —— */
body.womens-page .womens-hero {
    position: relative;
    min-height: clamp(320px, 52vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

body.womens-page .womens-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

body.womens-page .womens-hero:hover .womens-hero__bg {
    transform: scale(1.08);
}

body.womens-page .womens-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.78) 0%,
        rgba(20, 20, 20, 0.5) 55%,
        rgba(184, 149, 46, 0.25) 100%
    );
}

body.womens-page .womens-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 24px;
    max-width: 720px;
    animation: womensHeroFade 0.9s ease forwards;
}

@keyframes womensHeroFade {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.womens-page .womens-hero__tag {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(212, 175, 55, 0.95);
    color: #1a1a1a;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

body.womens-page .womens-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 14px;
    line-height: 1.15;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

body.womens-page .womens-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

body.womens-page .womens-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: #d4af37;
    color: #1a1a1a;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body.womens-page .womens-hero__btn:hover {
    background: #fff;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

/* —— Section titles (featured) —— */
body.womens-page .section-title {
    text-align: center;
    margin-bottom: 36px;
}

body.womens-page .featured-section .section-title h4 {
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

body.womens-page .featured-section .section-title h4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f4e4ba, #d4af37);
    transform: translateX(-50%);
    border-radius: 2px;
}

body.womens-page .featured-section .section-title p {
    color: #666;
    font-size: 0.9375rem;
    margin: 12px 0 0;
}

/* —— Featured collection grid —— */
body.womens-page .featured-section {
    background: #fff;
}

body.womens-page .featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
    min-height: 460px;
}

body.womens-page .featured-card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

body.womens-page .featured-card--large {
    grid-row: span 2;
}

body.womens-page .featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

body.womens-page .featured-card:hover img {
    transform: scale(1.07);
}

body.womens-page .featured-card__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 24px;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, transparent 100%);
}

body.womens-page .featured-card__tag {
    display: inline-block;
    padding: 5px 14px;
    background: #d4af37;
    color: #1a1a1a;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 999px;
    margin-bottom: 10px;
}

body.womens-page .featured-card__content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #fff !important;
    margin: 0 0 6px;
    font-weight: 600;
}

body.womens-page .featured-card--large .featured-card__content h3 {
    font-size: 1.65rem;
}

body.womens-page .featured-card__content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0;
    line-height: 1.5;
}

/* —— Quick view modal —— */
body.womens-page .quick-view-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.womens-page .quick-view-modal.show {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

body.womens-page .quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

body.womens-page .quick-view-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 20px;
    max-width: 720px;
    width: 92%;
    max-height: 88vh;
    overflow: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

body.womens-page .quick-view-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.25s ease, color 0.25s ease;
}

body.womens-page .quick-view-close:hover {
    background: #d4af37;
    color: #fff;
}

body.womens-page .quick-view-image {
    padding: 32px;
    background: #fafafa;
    text-align: center;
}

body.womens-page .quick-view-image img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 12px;
}

body.womens-page .quick-view-info {
    padding: 24px 32px 32px;
    text-align: center;
    border-top: 1px solid #eee;
}

body.womens-page .quick-view-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #1a1a1a;
    margin: 0 0 8px;
}

body.womens-page .quick-view-info .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4af37;
    margin: 0 0 10px;
}

/* —— Quick add popup —— */
body.womens-page .quick-add-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.womens-page .quick-add-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

body.womens-page .quick-add-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

body.womens-page .quick-add-popup-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    max-width: 400px;
    width: 92%;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

body.womens-page .quick-add-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

body.womens-page .quick-add-popup-title h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    color: #1a1a1a;
}

body.womens-page .quick-add-popup-title p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

body.womens-page .quick-add-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

body.womens-page .quick-add-product-info h4 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    color: #1a1a1a;
}

body.womens-page .quick-add-product-info p {
    margin: 0 0 6px;
    font-size: 0.875rem;
    color: #666;
}

body.womens-page .quick-add-popup-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

body.womens-page .btn-continue-shopping {
    flex: 1;
    padding: 13px 16px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

body.womens-page .btn-whatsapp-order {
    flex: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    background: #25d366;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

body.womens-page .btn-whatsapp-order:hover {
    background: #20bd5a;
    color: #fff;
}

/* —— Responsive —— */
@media (max-width: 991px) {
    body.womens-page .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: 0;
    }

    body.womens-page .featured-card--large {
        grid-row: span 1;
        min-height: 280px;
    }

    body.womens-page .featured-card:not(.featured-card--large) {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    body.womens-page .womens-hero {
        min-height: clamp(280px, 48vh, 400px);
    }

    body.womens-page .womens-hero__content {
        padding: 32px 20px;
    }

    body.womens-page .spad {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 575px) {
    body.womens-page .quick-add-popup-actions {
        flex-direction: column;
    }

    body.womens-page .quick-view-content {
        width: 95%;
    }

    body.womens-page .quick-view-image {
        padding: 16px;
    }

    body.womens-page .quick-view-info {
        padding: 16px 20px 24px;
    }
}
