/* ═══════════════════════════════════════════════
   WOMEN GALLERY  —  women-gallery.css
   Matches landing-page theme:
     coral #FF6B4A · dark #181818 · bg #FAFAF8
     Playfair Display serif headings
═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --coral:      #FF6B4A;
    --coral-dk:   #e85a3a;
    --coral-lt:   #fff1ee;
    --brand-dark: #181818;
    --brand-muted:#777;
    --bg-off:     #FAFAF8;
    --bg-white:   #ffffff;
    --border:     #F0EDE8;
    --radius-card:20px;
    --radius-btn: 30px;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.wg-hero {
    position: relative;
    background: #1a0a05;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.wg-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 80% 50%, rgba(255,107,74,.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 20% 30%, rgba(255,180,140,.10) 0%, transparent 55%);
    pointer-events: none;
}

/* Decorative petals */
.petal {
    position: absolute;
    border-radius: 50% 0 50% 0;
    opacity: .07;
    pointer-events: none;
}
.petal.p1 {
    width: 320px; height: 320px;
    background: var(--coral);
    top: -80px; right: 10%;
    transform: rotate(25deg);
    animation: floatPetal 8s ease-in-out infinite;
}
.petal.p2 {
    width: 180px; height: 180px;
    background: #ffb891;
    bottom: 5%; left: 5%;
    transform: rotate(-15deg);
    animation: floatPetal 6s ease-in-out infinite reverse;
}
.petal.p3 {
    width: 100px; height: 100px;
    background: var(--coral);
    top: 30%; left: 38%;
    transform: rotate(45deg);
    animation: floatPetal 10s ease-in-out infinite 2s;
}
@keyframes floatPetal {
    0%,100% { transform: translateY(0) rotate(25deg); }
    50%      { transform: translateY(-18px) rotate(28deg); }
}

.wg-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 16px 60px;
    flex-wrap: wrap;
}

/* Text side */
.wg-hero-text {
    flex: 1;
    min-width: 280px;
    max-width: 520px;
    animation: fadeUp .7s ease both;
}

.wg-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: .6rem;
}

.wg-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 1.2rem;
}
.wg-hero-title em {
    font-style: italic;
    color: var(--coral);
}

.wg-hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    max-width: 380px;
    margin-bottom: 2rem;
}

.wg-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.wg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--coral);
    color: #fff;
    padding: .7rem 1.8rem;
    border-radius: var(--radius-btn);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 8px 24px rgba(255,107,74,.35);
}
.wg-btn-primary:hover { background: var(--coral-dk); color:#fff; transform: translateY(-2px); }

.wg-btn-ghost {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.8);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(255,255,255,.3);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}
.wg-btn-ghost:hover { color: var(--coral); border-color: var(--coral); }

/* Image side */
.wg-hero-image {
    flex: 1;
    min-width: 260px;
    max-width: 420px;
    animation: fadeUp .9s ease .15s both;
}

.wg-img-frame {
    position: relative;
    border-radius: 24px 60px 24px 60px;
    overflow: hidden;
    border: 2px solid rgba(255,107,74,.3);
}
.wg-img-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    filter: brightness(.9) saturate(1.1);
}

.wg-img-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--coral);
    color: #fff;
    border-radius: 16px;
    padding: 12px 18px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.wg-badge-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
}
.wg-badge-txt {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .9;
}

/* ════════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════════ */
.wg-marquee-strip {
    background: var(--coral);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}

.wg-marquee-track {
    display: inline-flex;
    gap: 0;
    animation: marquee 25s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.wg-marquee-item {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0 2rem;
    opacity: .95;
}

/* ════════════════════════════════════════
   CATEGORY PILLS
════════════════════════════════════════ */
.wg-pills-section {
    padding: 36px 16px 8px;
}

.wg-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wg-pill {
    padding: .42rem 1.1rem;
    border-radius: var(--radius-btn);
    border: 1.5px solid var(--border);
    background: var(--bg-white);
    font-size: .82rem;
    font-weight: 600;
    color: var(--brand-muted);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.wg-pill:hover  { border-color: var(--coral); color: var(--coral); }
.wg-pill.active { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ════════════════════════════════════════
   MOSAIC FEATURE GRID
════════════════════════════════════════ */
.wg-mosaic {
    padding: 40px 16px 20px;
    margin-bottom: 40px;
}

.wg-mosaic-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    height: auto;
}

.wg-mosaic-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wg-mosaic-big,
.wg-mosaic-sm {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
}
.wg-mosaic-big  { height: 100%; }
.wg-mosaic-sm   { flex: 1; }

.wg-mosaic-big img,
.wg-mosaic-sm  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.25,.8,.25,1);
    display: block;
}
.wg-mosaic-big:hover img,
.wg-mosaic-sm:hover  img { transform: scale(1.06); }

.wg-mosaic-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.4rem 1.2rem 1.1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.78));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(4px);
    transition: transform .3s;
}
.wg-mosaic-big:hover  .wg-mosaic-overlay,
.wg-mosaic-sm:hover   .wg-mosaic-overlay { transform: translateY(0); }

.wg-tag {
    display: inline-block;
    background: var(--coral);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.wg-mosaic-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wg-mosaic-sm .wg-mosaic-name { font-size: .9rem; }

.wg-mosaic-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wg-price {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
}

.wg-view-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
}
.wg-view-btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ════════════════════════════════════════
   PRODUCTS GRID
════════════════════════════════════════ */
.wg-grid-section {
    padding: 40px 16px 60px;
}

.wg-section-head {
    margin-bottom: 28px;
}

.wg-eyebrow-sm {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: .3rem;
}

.wg-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
}

.wg-sort-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wg-sort-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand-muted);
}
.wg-sort-select {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--bg-white);
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: border-color .2s;
}
.wg-sort-select:focus { border-color: var(--coral); }

/* Grid */
.wg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Card */
.wg-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    animation: fadeUp .5s ease both;
}
.wg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0,0,0,.09);
}
.wg-card:hover .wg-card-hover-actions { opacity: 1; transform: translateY(0); }
.wg-card:hover .wg-card-img { transform: scale(1.06); }

.wg-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.wg-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.25,.8,.25,1);
}

.wg-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .63rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 1;
}

.wg-wishlist {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #aaa;
    font-size: .95rem;
    transition: color .2s, background .2s;
    z-index: 1;
}
.wg-wishlist:hover,
.wg-wishlist.active { color: #FF4F91; background: #fff; }
.wg-wishlist.active .bi-heart::before { content: "\f415"; } /* bi-heart-fill */

/* Hover action row */
.wg-card-hover-actions {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
}

.wg-quick-view,
.wg-add-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: .45rem .6rem;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s;
    border: none;
}

.wg-quick-view {
    background: rgba(255,255,255,.9);
    color: var(--brand-dark);
}
.wg-quick-view:hover { background: #fff; color: var(--coral); }

.wg-add-cart {
    background: var(--coral);
    color: #fff;
}
.wg-add-cart:hover { background: var(--coral-dk); color: #fff; }

/* Card body */
.wg-card-body {
    padding: 14px 14px 16px;
}

.wg-card-name {
    font-size: .86rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wg-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wg-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.wg-card-original {
    font-size: .8rem;
    color: #aaa;
    text-decoration: line-through;
}

/* Hidden state */
.wg-card.wg-hidden { display: none !important; }

/* Empty state */
.wg-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: .95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Pagination */
.wg-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.wg-pagination .pagination .page-link {
    border-radius: 10px;
    border-color: var(--border);
    color: var(--brand-dark);
    font-weight: 600;
}
.wg-pagination .pagination .page-item.active .page-link {
    background: var(--coral);
    border-color: var(--coral);
}

/* ════════════════════════════════════════
   STYLE FEATURES STRIP
════════════════════════════════════════ */
.wg-style-strip {
    background: var(--bg-white);
    border-top: 1.5px solid var(--border);
    padding: 44px 16px;
}

.wg-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

.wg-style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wg-style-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--coral-lt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--coral);
    transition: background .2s, transform .2s;
}
.wg-style-card:hover .wg-style-icon {
    background: var(--coral);
    color: #fff;
    transform: translateY(-3px);
}

.wg-style-card h5 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}
.wg-style-card p {
    font-size: .78rem;
    color: var(--brand-muted);
    margin: 0;
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* stagger cards */
.wg-card:nth-child(1)  { animation-delay: .05s; }
.wg-card:nth-child(2)  { animation-delay: .10s; }
.wg-card:nth-child(3)  { animation-delay: .15s; }
.wg-card:nth-child(4)  { animation-delay: .20s; }
.wg-card:nth-child(5)  { animation-delay: .25s; }
.wg-card:nth-child(6)  { animation-delay: .30s; }
.wg-card:nth-child(7)  { animation-delay: .35s; }
.wg-card:nth-child(8)  { animation-delay: .40s; }
.wg-card:nth-child(9)  { animation-delay: .45s; }
.wg-card:nth-child(10) { animation-delay: .50s; }
.wg-card:nth-child(11) { animation-delay: .55s; }
.wg-card:nth-child(12) { animation-delay: .60s; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
    .wg-mosaic-grid { grid-template-columns: 1fr; height: auto; }
    .wg-mosaic-big  { height: 320px; }
    .wg-mosaic-sm   { height: 200px; }
    .wg-mosaic-stack { flex-direction: row; }
}

@media (max-width: 768px) {
    .wg-hero-inner  { padding: 60px 16px 50px; flex-direction: column-reverse; }
    .wg-hero-image  { max-width: 100%; }
    .wg-img-frame img { height: 300px; }
    .wg-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .wg-card-img-wrap { height: 200px; }
}

@media (max-width: 480px) {
    .wg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .wg-mosaic-stack { flex-direction: column; }
}
