/*
Theme Name: FIAAMZY Astra Child
Theme URI: https://fiaamzy.com/
Description: FIAAMZY — Women’s Fashion & Lifestyle child theme.
Author: FIAAMZY
Template: astra
Version: 1.4.0
Text Domain: fiaamzy
*/

:root {
    --fiaamzy-cream: #F8F4EE;
    --fiaamzy-burgundy: #641F2A;
    --fiaamzy-gold: #B89452;
    --fiaamzy-ink: #191716;
    --fiaamzy-border: #E4DCD2;
    --fiaamzy-white: #FFFFFF;
}

html { scroll-behavior: smooth; }
body.fiaamzy-site { color: var(--fiaamzy-ink); background: var(--fiaamzy-white); }
.fiaamzy-site a { color: inherit; }

/* Prevent Astra's old masthead from remaining visible if a builder callback survives cache. */
body.fiaamzy-site #masthead { display: none !important; }

.fiaamzy-announcement {
    background: var(--fiaamzy-burgundy);
    color: var(--fiaamzy-white);
    font-size: 11px;
    letter-spacing: .07em;
    line-height: 1.4;
    padding: 8px 16px;
    text-align: center;
    text-transform: uppercase;
}
.fiaamzy-announcement-separator { margin: 0 8px; opacity: .7; }

.fiaamzy-header {
    background: var(--fiaamzy-white);
    border-bottom: 1px solid var(--fiaamzy-border);
    position: relative;
    z-index: 9999;
}
.fiaamzy-header-inner {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1320px;
    min-height: 76px;
    padding: 0 28px;
}
.fiaamzy-logo {
    color: var(--fiaamzy-ink) !important;
    flex: 0 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1;
    text-decoration: none !important;
}
.fiaamzy-desktop-nav {
    align-items: center;
    display: flex;
    gap: 25px;
    margin-left: auto;
    margin-right: 10px;
}
.fiaamzy-desktop-nav > a,
.fiaamzy-nav-dropdown > button {
    background: none;
    border: 0;
    color: var(--fiaamzy-ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    padding: 10px 0;
    text-decoration: none;
}
.fiaamzy-desktop-nav > a:hover,
.fiaamzy-nav-dropdown > button:hover { color: var(--fiaamzy-burgundy); }
.fiaamzy-nav-dropdown { position: relative; }
.fiaamzy-nav-dropdown > button span { font-size: 11px; margin-left: 4px; }
.fiaamzy-dropdown-menu {
    background: var(--fiaamzy-white);
    border: 1px solid var(--fiaamzy-border);
    box-shadow: 0 16px 40px rgba(25,23,22,.10);
    display: none;
    left: -18px;
    min-width: 190px;
    padding: 10px 0;
    position: absolute;
    top: calc(100% + 3px);
}
.fiaamzy-nav-dropdown:hover .fiaamzy-dropdown-menu,
.fiaamzy-nav-dropdown:focus-within .fiaamzy-dropdown-menu { display: block; }
.fiaamzy-dropdown-menu a {
    display: block;
    font-size: 13px;
    padding: 10px 18px;
    text-decoration: none;
}
.fiaamzy-dropdown-menu a:hover { background: var(--fiaamzy-cream); color: var(--fiaamzy-burgundy); }

.fiaamzy-header-actions { align-items: center; display: flex; gap: 16px; }
.fiaamzy-icon-link { display: inline-flex; color: var(--fiaamzy-ink) !important; line-height: 1; }
.fiaamzy-icon-link:hover { color: var(--fiaamzy-burgundy) !important; }
.fiaamzy-icon-link svg { fill: none; height: 19px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; width: 19px; }

.fiaamzy-mobile-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    height: 34px;
    padding: 6px 4px;
    width: 34px;
}
.fiaamzy-mobile-toggle span { background: var(--fiaamzy-ink); display: block; height: 1.5px; margin: 4px 0; width: 22px; }
.fiaamzy-mobile-menu { background: var(--fiaamzy-white); border-top: 1px solid var(--fiaamzy-border); display: none; padding: 8px 20px 18px; }
.fiaamzy-mobile-menu.is-open { display: block; }
.fiaamzy-mobile-menu a { border-bottom: 1px solid var(--fiaamzy-border); display: block; font-size: 14px; padding: 13px 0; text-decoration: none; }

@media (max-width: 1024px) {
    .fiaamzy-desktop-nav { gap: 16px; }
    .fiaamzy-header-inner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 900px) {
    .fiaamzy-desktop-nav { display: none; }
    .fiaamzy-mobile-toggle { display: block; }
    .fiaamzy-header-inner { gap: 10px; min-height: 64px; padding: 0 16px; }
    .fiaamzy-logo { font-size: 22px; letter-spacing: .10em; }
    .fiaamzy-header-actions { gap: 12px; }
    .fiaamzy-icon-link svg { height: 18px; width: 18px; }
}
@media (max-width: 480px) {
    .fiaamzy-announcement { font-size: 10px; letter-spacing: .05em; }
    .fiaamzy-announcement-separator { margin: 0 5px; }
    .fiaamzy-logo { font-size: 20px; }
    .fiaamzy-header-actions { gap: 10px; }
    .fiaamzy-header-actions .fiaamzy-icon-link:nth-child(2) { display: none; }
}

/* ================= FIAAMZY HOMEPAGE ================= */
.fiaamzy-homepage { overflow: hidden; }
.fiaamzy-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.fiaamzy-eyebrow,
.fiaamzy-section-kicker { margin: 0 0 14px; color: var(--fiaamzy-burgundy); font-size: 10px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.fiaamzy-hero { background: var(--fiaamzy-cream); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 650px; }
.fiaamzy-hero-copy { align-self: center; max-width: 620px; padding: 76px clamp(28px, 7vw, 110px); }
.fiaamzy-hero-copy h1 { color: var(--fiaamzy-ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 5.2vw, 76px); font-weight: 500; letter-spacing: -.035em; line-height: .98; margin: 0 0 25px; }
.fiaamzy-hero-copy h1 em { color: var(--fiaamzy-burgundy); font-style: italic; font-weight: 400; }
.fiaamzy-hero-text { color: #5f5a56; font-size: 15px; line-height: 1.8; margin: 0 0 30px; max-width: 500px; }
.fiaamzy-hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 22px; }
.fiaamzy-btn { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 11px; font-weight: 600; justify-content: center; letter-spacing: .12em; min-height: 48px; padding: 0 25px; text-decoration: none !important; text-transform: uppercase; transition: .2s ease; }
.fiaamzy-btn-dark { background: var(--fiaamzy-ink); color: #fff !important; }
.fiaamzy-btn-dark:hover { background: var(--fiaamzy-burgundy); }
.fiaamzy-btn-light { background: #fff; color: var(--fiaamzy-ink) !important; }
.fiaamzy-btn-light:hover { background: var(--fiaamzy-cream); }
.fiaamzy-text-link { color: var(--fiaamzy-ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.fiaamzy-text-link span { margin-left: 8px; }
.fiaamzy-hero-media { min-height: 650px; overflow: hidden; position: relative; }
.fiaamzy-hero-image { height: 100% !important; object-fit: cover; object-position: center; width: 100% !important; }
.fiaamzy-hero-empty { align-items: center; background: #e9dfd2; color: #756d66; display: flex; height: 100%; justify-content: center; padding: 30px; text-align: center; }
.fiaamzy-hero-label { background: rgba(255,255,255,.9); bottom: 28px; color: var(--fiaamzy-ink); font-size: 9px; letter-spacing: .18em; line-height: 1.5; padding: 12px 15px; position: absolute; right: 28px; text-align: center; }
.fiaamzy-hero-label span { color: var(--fiaamzy-burgundy); }
.fiaamzy-intro { padding-bottom: 95px; padding-top: 105px; text-align: center; }
.fiaamzy-intro h2,
.fiaamzy-section-heading h2,
.fiaamzy-editorial h2,
.fiaamzy-why h2,
.fiaamzy-social h2,
.fiaamzy-whatsapp h2 { color: var(--fiaamzy-ink); font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.025em; }
.fiaamzy-intro h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 auto 18px; max-width: 850px; }
.fiaamzy-intro > p:last-child { color: #6b6661; font-size: 15px; line-height: 1.8; margin: auto; max-width: 720px; }
.fiaamzy-product-section { padding-bottom: 105px; }
.fiaamzy-section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 30px; }
.fiaamzy-section-heading h2 { font-size: clamp(30px, 3.2vw, 43px); margin: 0; }
.fiaamzy-view-link { color: var(--fiaamzy-ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.fiaamzy-view-link span { margin-left: 7px; }
.fiaamzy-product-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fiaamzy-product-card { min-width: 0; }
.fiaamzy-product-image { aspect-ratio: 1 / 1.12; background: var(--fiaamzy-cream); display: block; overflow: hidden; }
.fiaamzy-product-image img { height: 100% !important; object-fit: cover; transition: transform .35s ease; width: 100% !important; }
.fiaamzy-product-card:hover .fiaamzy-product-image img { transform: scale(1.035); }
.fiaamzy-product-meta { padding: 14px 2px 0; }
.fiaamzy-product-meta h3 { font-size: 14px; font-weight: 500; line-height: 1.45; margin: 0 0 7px; }
.fiaamzy-product-meta h3 a { text-decoration: none; }
.fiaamzy-price { color: #5e5954; font-size: 13px; }
.fiaamzy-price del { opacity: .55; margin-right: 5px; }
.fiaamzy-category-section { background: var(--fiaamzy-cream); padding: 100px 0 105px; }
.fiaamzy-category-grid { display: grid; gap: 20px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fiaamzy-category-card { color: var(--fiaamzy-ink); text-decoration: none; }
.fiaamzy-category-image { aspect-ratio: .78; background: #e9dfd2; overflow: hidden; }
.fiaamzy-category-image img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.fiaamzy-category-card:hover .fiaamzy-category-image img { transform: scale(1.04); }
.fiaamzy-category-title { align-items: center; display: flex; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; justify-content: space-between; padding-top: 14px; }
.fiaamzy-best-sellers { padding-top: 105px; }
.fiaamzy-editorial { background: var(--fiaamzy-burgundy); color: #fff; margin-top: 0; }
.fiaamzy-editorial-inner { min-height: 470px; }
.fiaamzy-editorial-copy { max-width: 650px; padding: 95px 0; }
.fiaamzy-editorial .fiaamzy-section-kicker { color: #e8cf9b; }
.fiaamzy-editorial h2 { color: #fff; font-size: clamp(36px, 4.3vw, 58px); margin: 0 0 18px; }
.fiaamzy-editorial p:not(.fiaamzy-section-kicker) { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.8; margin: 0 0 30px; max-width: 550px; }
.fiaamzy-why { padding-bottom: 105px; padding-top: 105px; }
.fiaamzy-section-heading-centered { display: block; text-align: center; }
.fiaamzy-why-grid { border-top: 1px solid var(--fiaamzy-border); display: grid; grid-template-columns: repeat(4, 1fr); }
.fiaamzy-why-item { border-right: 1px solid var(--fiaamzy-border); padding: 28px 28px 10px 0; }
.fiaamzy-why-item:not(:first-child) { padding-left: 28px; }
.fiaamzy-why-item:last-child { border-right: 0; }
.fiaamzy-why-number { color: var(--fiaamzy-gold); display: block; font-size: 10px; letter-spacing: .12em; margin-bottom: 30px; }
.fiaamzy-why-item h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; margin: 0 0 12px; }
.fiaamzy-why-item p { color: #706a65; font-size: 13px; line-height: 1.75; margin: 0; }
.fiaamzy-social { background: #f7f5f1; padding: 100px 0; text-align: center; }
.fiaamzy-social h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 15px; }
.fiaamzy-social h2 span { color: var(--fiaamzy-burgundy); }
.fiaamzy-social-inner > p:not(.fiaamzy-section-kicker) { color: #6b6661; font-size: 14px; margin: 0 auto 28px; }
.fiaamzy-whatsapp { background: var(--fiaamzy-ink); color: #fff; padding: 70px 0; }
.fiaamzy-whatsapp-inner { align-items: center; display: flex; gap: 40px; justify-content: space-between; }
.fiaamzy-whatsapp h2 { color: #fff; font-size: 38px; margin: 0 0 10px; }
.fiaamzy-whatsapp .fiaamzy-section-kicker { color: #d4b46f; }
.fiaamzy-whatsapp p:not(.fiaamzy-section-kicker) { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; margin: 0; max-width: 620px; }

@media (max-width: 900px) {
    .fiaamzy-container { width: min(100% - 32px, 680px); }
    .fiaamzy-hero { grid-template-columns: 1fr; }
    .fiaamzy-hero-copy { padding: 58px 24px 45px; }
    .fiaamzy-hero-media { min-height: 500px; }
    .fiaamzy-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .fiaamzy-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fiaamzy-why-grid { grid-template-columns: repeat(2, 1fr); }
    .fiaamzy-why-item:nth-child(2) { border-right: 0; }
    .fiaamzy-why-item:nth-child(n+3) { border-top: 1px solid var(--fiaamzy-border); }
    .fiaamzy-whatsapp-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
    .fiaamzy-intro { padding-bottom: 70px; padding-top: 72px; }
    .fiaamzy-product-section { padding-bottom: 70px; }
    .fiaamzy-category-section { padding: 70px 0; }
    .fiaamzy-best-sellers { padding-top: 70px; }
    .fiaamzy-section-heading { align-items: flex-start; gap: 16px; }
    .fiaamzy-section-heading h2 { font-size: 30px; }
    .fiaamzy-view-link { padding-top: 7px; white-space: nowrap; }
    .fiaamzy-category-title { font-size: 18px; }
    .fiaamzy-editorial-inner { min-height: 0; }
    .fiaamzy-editorial-copy { padding: 70px 0; }
    .fiaamzy-why { padding-bottom: 70px; padding-top: 70px; }
    .fiaamzy-why-grid { grid-template-columns: 1fr; }
    .fiaamzy-why-item,
    .fiaamzy-why-item:not(:first-child) { border-right: 0; border-top: 1px solid var(--fiaamzy-border); padding: 25px 0; }
    .fiaamzy-why-item:first-child { border-top: 0; }
    .fiaamzy-social { padding: 70px 0; }
    .fiaamzy-whatsapp { padding: 55px 0; }
    .fiaamzy-whatsapp h2 { font-size: 32px; }
}

/* ================= FIAAMZY HOMEPAGE PHASE 2 ================= */
.fiaamzy-product-visual { position: relative; }
.fiaamzy-product-badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: #fff; color: var(--fiaamzy-ink); font-size: 9px; font-weight: 600; letter-spacing: .12em; padding: 7px 9px; text-transform: uppercase; }
.fiaamzy-product-wishlist { align-items: center; background: rgba(255,255,255,.94); border-radius: 50%; color: var(--fiaamzy-ink); display: flex; font-size: 18px; height: 36px; justify-content: center; line-height: 1; position: absolute; right: 12px; text-decoration: none; top: 12px; width: 36px; z-index: 2; }
.fiaamzy-product-wishlist:hover { color: var(--fiaamzy-burgundy); }
.fiaamzy-product-image img { display: block; }
.fiaamzy-product-meta h3 { min-height: 41px; }
.fiaamzy-rating { color: #9a7a38; font-size: 11px; letter-spacing: .04em; margin: 0 0 5px; min-height: 15px; }
.fiaamzy-price { min-height: 20px; }
.fiaamzy-category-section .fiaamzy-section-heading { margin-bottom: 36px; }
.fiaamzy-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fiaamzy-category-image { position: relative; }
.fiaamzy-category-image:after { border: 1px solid rgba(255,255,255,.55); content: ''; inset: 12px; pointer-events: none; position: absolute; }
@media (max-width: 900px) {
    .fiaamzy-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .fiaamzy-product-grid { gap: 28px 12px; }
    .fiaamzy-product-image { aspect-ratio: 1 / 1.18; }
    .fiaamzy-product-meta { padding-top: 12px; }
    .fiaamzy-product-meta h3 { font-size: 13px; min-height: 38px; }
    .fiaamzy-product-wishlist { height: 32px; right: 8px; top: 8px; width: 32px; }
    .fiaamzy-product-badge { left: 8px; top: 8px; }
}


/* ================= FIAAMZY HOMEPAGE PHASE 4 ================= */
.fiaamzy-product-section { padding-bottom: 76px; }
.fiaamzy-product-grid { align-items: start; gap: 24px; }
.fiaamzy-product-visual { aspect-ratio: 1 / 1.08; overflow: hidden; }
.fiaamzy-product-image { height: 100%; aspect-ratio: auto; }
.fiaamzy-product-meta { display: block !important; min-height: 82px; padding: 12px 2px 0 !important; visibility: visible !important; opacity: 1 !important; }
.fiaamzy-product-meta h3 { color: var(--fiaamzy-ink) !important; display: block !important; font-family: inherit; font-size: 14px !important; font-weight: 500 !important; line-height: 1.35 !important; margin: 0 0 8px !important; min-height: 0 !important; visibility: visible !important; opacity: 1 !important; }
.fiaamzy-product-meta h3 a { color: var(--fiaamzy-ink) !important; display: inline !important; }
.fiaamzy-price { color: #4f4a46 !important; display: block !important; font-size: 13px !important; line-height: 1.5 !important; visibility: visible !important; opacity: 1 !important; }
.fiaamzy-rating { display: block !important; }
.fiaamzy-best-sellers { padding-top: 20px; }
@media (max-width: 900px) {
  .fiaamzy-product-grid { gap: 24px 14px; }
}
@media (max-width: 600px) {
  .fiaamzy-product-section { padding-bottom: 54px; }
  .fiaamzy-product-grid { gap: 26px 12px; }
  .fiaamzy-product-visual { aspect-ratio: 1 / 1.12; }
  .fiaamzy-product-meta { min-height: 70px; padding-top: 10px !important; }
  .fiaamzy-product-meta h3 { font-size: 13px !important; line-height: 1.35 !important; margin-bottom: 6px !important; }
  .fiaamzy-price { font-size: 12px !important; }
}


/* ================= FIAAMZY HOMEPAGE PHASE 5 ================= */
/* Keep the catalogue-driven sections compact when the store has only a few real products. */
.fiaamzy-product-section { padding-bottom: 54px; }
.fiaamzy-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.fiaamzy-product-card { overflow: visible; }
.fiaamzy-product-visual { background: var(--fiaamzy-cream); }
.fiaamzy-product-meta { min-height: 0 !important; padding: 12px 2px 0 !important; }
.fiaamzy-product-meta h3 { margin: 0 0 7px !important; min-height: 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
.fiaamzy-product-meta h3 a { color: var(--fiaamzy-ink) !important; }
.fiaamzy-price { margin-top: 0; }
.fiaamzy-category-section { padding: 72px 0 78px; }
.fiaamzy-category-section .fiaamzy-section-heading { margin-bottom: 28px; }
.fiaamzy-category-grid { gap: 16px; }
.fiaamzy-category-title { font-size: 18px; }
.fiaamzy-best-sellers { padding-top: 0; }
@media (max-width: 900px) {
  .fiaamzy-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .fiaamzy-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fiaamzy-product-section { padding-bottom: 44px; }
  .fiaamzy-product-grid { gap: 24px 12px; }
  .fiaamzy-product-meta { padding-top: 9px !important; }
  .fiaamzy-product-meta h3 { font-size: 13px !important; line-height: 1.35 !important; }
  .fiaamzy-category-section { padding: 58px 0 62px; }
}


/* ================= FIAAMZY PRODUCT PAGE PHASE 1 ================= */
.single-product .summary.entry-summary { padding-top: 4px; }
.single-product .fiaamzy-single-product-title {
    color: var(--fiaamzy-ink) !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    line-height: 1.08 !important;
    margin: 8px 0 14px !important;
}
.single-product .fiaamzy-single-price {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}
.single-product .fiaamzy-single-price del {
    color: #8a827b;
    font-size: 15px;
    text-decoration-thickness: 1px;
}
.single-product .fiaamzy-single-price ins {
    color: var(--fiaamzy-burgundy);
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
}
.single-product .fiaamzy-single-price .fiaamzy-discount {
    background: var(--fiaamzy-burgundy);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 6px 8px;
    text-transform: uppercase;
}
.single-product .summary .price { margin: 0 !important; }
.single-product form.cart { margin-top: 18px !important; }

/* Mobile product page: keep the purchase area easy to scan. */
@media (max-width: 767px) {
    .single-product .fiaamzy-single-product-title { font-size: 28px !important; }
    .single-product .fiaamzy-single-price ins { font-size: 22px; }
}

/* Checkout: use one address form by default; the customer can opt into a
   different shipping address when needed. */
.woocommerce-checkout .woocommerce-shipping-fields { margin-top: 18px; }
.woocommerce-checkout #ship-to-different-address { font-size: 14px; margin: 18px 0 10px; }
