/* =========================================================================
   AVOCADO SKIN LAB — brand tokens
   Fresh / playful: bright avocado greens, rounded shapes, casual confidence.
   ========================================================================= */

:root {
    /* Palette */
    --av-leaf:        #8FBC4A;   /* primary avocado */
    --av-leaf-light:  #B8D976;   /* hover, surfaces */
    --av-leaf-deep:   #2C5530;   /* deep forest, CTAs, headings */
    --av-cream:       #FBFAE3;   /* page background */
    --av-cream-alt:   #F2F0DA;   /* section variants */
    --av-coral:       #FF8C7B;   /* accent — urgency dots, sale badges */
    --av-coral-soft:  #FFE2DD;   /* coral surface */
    --av-stone:       #6B7065;   /* muted body */
    --av-ink:         #1F2A1A;   /* headings, body */
    --av-hairline:    #E2E5D6;
    --av-white:       #FFFFFF;

    /* Type */
    --av-serif:  "DM Serif Display", "Iowan Old Style", Georgia, serif;
    --av-sans:   "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --av-script: "Caveat", "Brush Script MT", cursive;

    /* Shape */
    --av-radius:        18px;
    --av-radius-lg:     28px;
    --av-radius-pill:   999px;

    /* Spacing scale */
    --av-gap-xs: 8px;
    --av-gap-sm: 16px;
    --av-gap-md: 24px;
    --av-gap-lg: 48px;
    --av-gap-xl: 96px;

    /* Shadows */
    --av-shadow-card: 0 8px 24px rgba(31, 42, 26, 0.06);
    --av-shadow-pop:  0 16px 40px rgba(31, 42, 26, 0.12);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--av-sans);
    color: var(--av-ink);
    background: var(--av-cream);
    line-height: 1.6;
    font-size: 16px;
}
h1, h2, h3, h4 {
    font-family: var(--av-serif);
    color: var(--av-ink);
    line-height: 1.1;
    font-weight: 400; /* DM Serif Display is heavy already */
    letter-spacing: -0.01em;
}
a { color: var(--av-leaf-deep); text-decoration: none; transition: color .15s; }
a:hover { color: var(--av-leaf); }
img { max-width: 100%; height: auto; display: block; }

/* -- Layout helpers -------------------------------------------------------- */
.av-section {
    padding: clamp(48px, 10vw, 120px) clamp(20px, 6vw, 80px);
    max-width: 1280px;
    margin: 0 auto;
}
.av-section--alt   { background: var(--av-cream-alt); }
.av-section--leaf  { background: var(--av-leaf-light); }
.av-section--deep  { background: var(--av-leaf-deep); color: var(--av-cream); }
.av-section--deep h2 { color: var(--av-cream); }

.av-eyebrow {
    display: inline-block;
    font-family: var(--av-script);
    font-size: 22px;
    color: var(--av-leaf-deep);
    transform: rotate(-3deg);
    margin-bottom: var(--av-gap-xs);
}

/* -- CTA / buttons --------------------------------------------------------- */
.av-cta {
    display: inline-block;
    background: var(--av-leaf-deep);
    color: var(--av-cream);
    padding: 14px 28px;
    border-radius: var(--av-radius-pill);
    font-family: var(--av-sans);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: transform .12s, background .15s, box-shadow .15s;
    box-shadow: var(--av-shadow-card);
    border: none;
    cursor: pointer;
}
.av-cta:hover {
    background: var(--av-ink);
    color: var(--av-cream);
    transform: translateY(-1px);
    box-shadow: var(--av-shadow-pop);
}
.av-cta--coral { background: var(--av-coral); color: var(--av-white); }
.av-cta--coral:hover { background: #e87663; color: var(--av-white); }
.av-cta--ghost { background: transparent; color: var(--av-leaf-deep); border: 2px solid var(--av-leaf-deep); box-shadow: none; }
.av-cta--ghost:hover { background: var(--av-leaf-deep); color: var(--av-cream); }

/* -- Header ---------------------------------------------------------------- */
.av-announce {
    background: var(--av-leaf-deep);
    color: var(--av-cream);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.av-header {
    background: var(--av-cream);
    border-bottom: 1px solid var(--av-hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}
.av-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px clamp(20px, 6vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
/* (older duplicate wordmark/nav/footer block removed — see newer rules below) */
.av-footer__byline { font-size: 13px; opacity: 0.7; margin-top: 8px; }
.av-footer__bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--av-gap-sm);
    margin-top: var(--av-gap-md);
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
}
@media (max-width: 720px) {
    .av-footer__inner { grid-template-columns: 1fr 1fr; }
}

.av-trust-line { color: var(--av-stone); font-size: 13px; margin-top: 12px; }

/* ===== HOMEPAGE COMPONENTS (av-*) ===== */

/* Announcement bar */
.av-announce {
    background: var(--av-leaf-deep);
    color: var(--av-cream);
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .av-announce span:nth-child(n+3) { display: none; }
}

/* Header — slim, dark green wordmark, no emoji */
.av-header { background: var(--av-cream); border-bottom: 1px solid var(--av-hairline); position: sticky; top: 0; z-index: 100; }
.av-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 12px 24px; max-width: 1280px; margin: 0 auto; }
.av-wordmark { font-family: var(--av-serif); font-size: 20px; color: var(--av-leaf-deep) !important; text-decoration: none; letter-spacing: -0.005em; line-height: 1; }
.av-wordmark__leaf { display: none; }
.av-nav { display: flex; gap: 4px; justify-content: center; }
.av-nav a { padding: 8px 16px; font-size: 13px; color: var(--av-ink); text-decoration: none; border-radius: var(--av-radius-pill); transition: background 0.15s; }
.av-nav a:hover { background: var(--av-leaf-light); }
.av-cart-link { color: var(--av-ink); text-decoration: none; font-size: 14px; position: relative; }
.av-cart-icon { font-size: 18px; }
.av-cart-count { background: var(--av-coral); color: var(--av-white); border-radius: var(--av-radius-pill); padding: 2px 8px; font-size: 11px; font-weight: 600; margin-left: 4px; }
@media (max-width: 768px) {
    .av-header__inner { grid-template-columns: auto 1fr auto; padding: 10px 16px; }
    .av-nav { display: none; }
    .av-wordmark { font-size: 16px; }
}

/* Footer wordmark — same slim treatment, on cream-alt bg keep dark green */
.av-wordmark--footer { color: var(--av-leaf-deep) !important; font-size: 22px; }

/* Buttons */
.av-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; font-family: var(--av-sans); font-size: 14px; font-weight: 600; border-radius: var(--av-radius-pill); border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1; transition: all 0.15s; }
.av-btn--primary { background: var(--av-leaf-deep); color: var(--av-cream); border-color: var(--av-leaf-deep); }
.av-btn--primary:hover { background: var(--av-ink); border-color: var(--av-ink); transform: translateY(-1px); box-shadow: var(--av-shadow-pop); }
.av-btn--secondary { background: transparent; color: var(--av-leaf-deep); border-color: var(--av-leaf-deep); }
.av-btn--secondary:hover { background: var(--av-leaf-deep); color: var(--av-cream); }

/* Hero */
.av-hero { background: linear-gradient(135deg, var(--av-cream) 0%, var(--av-cream-alt) 100%); padding: 80px 24px; }
.av-hero__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.av-hero__eyebrow { color: var(--av-leaf-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; margin-bottom: 16px; }
.av-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 20px; color: var(--av-ink); }
.av-hero h1 em { color: var(--av-leaf-deep); font-style: italic; }
.av-hero__sub { color: var(--av-stone); font-size: 18px; line-height: 1.55; margin-bottom: 32px; max-width: 460px; }
.av-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.av-hero__trust { display: flex; gap: 18px; font-size: 13px; color: var(--av-stone); flex-wrap: wrap; }
.av-hero__visual { background: var(--av-leaf-light); border-radius: var(--av-radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: var(--av-leaf-deep); font-family: var(--av-serif); font-size: 18px; box-shadow: var(--av-shadow-pop); }
@media (max-width: 768px) {
    .av-hero { padding: 48px 16px; }
    .av-hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .av-hero__visual { aspect-ratio: 4/5; }
}

/* Sections */
.av-section { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.av-section-alt { background: var(--av-cream-alt); }
.av-section h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 12px; color: var(--av-ink); }
.av-section__lede { text-align: center; color: var(--av-stone); max-width: 580px; margin: 0 auto 48px; font-size: 17px; }
.av-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.av-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1024px) { .av-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .av-grid-3 { grid-template-columns: 1fr; } .av-grid-5 { grid-template-columns: repeat(2, 1fr); } .av-section { padding: 56px 16px; } }

/* Product cards (av-card) */
.av-card { display: flex; flex-direction: column; gap: 14px; }
.av-card__imagewrap { aspect-ratio: 1; border-radius: var(--av-radius); position: relative; overflow: hidden; display: block; }
.av-card__imagewrap.av-tone-leaf       { background: var(--av-leaf); }
.av-card__imagewrap.av-tone-leaf-light { background: var(--av-leaf-light); }
.av-card__imagewrap.av-tone-cream      { background: var(--av-cream-alt); border: 1px solid var(--av-hairline); }
.av-card__imagewrap.av-tone-coral      { background: var(--av-coral-soft); }
.av-card__imagewrap img { width: 100%; height: 100%; object-fit: cover; }
.av-card__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; font-size: 11px; font-weight: 600; background: var(--av-coral); color: var(--av-white); border-radius: var(--av-radius-pill); }
.av-card__name { font-family: var(--av-serif); font-size: 20px; color: var(--av-ink); margin: 4px 0; line-height: 1.25; }
.av-card__price { display: flex; align-items: baseline; gap: 8px; }
.av-card__sale { color: var(--av-leaf-deep); font-weight: 600; font-size: 18px; }
.av-card__mrp { color: var(--av-stone); text-decoration: line-through; font-size: 14px; }
.av-card__cta { padding: 10px 18px; font-size: 13px; align-self: flex-start; }

/* Trust band */
.av-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; padding: 64px 24px; background: var(--av-cream); }
.av-trust__item { text-align: center; }
.av-trust__icon { font-size: 36px; margin-bottom: 12px; }
.av-trust__title { font-family: var(--av-serif); font-size: 18px; color: var(--av-ink); margin-bottom: 4px; }
.av-trust__sub { color: var(--av-stone); font-size: 13px; line-height: 1.4; }
@media (max-width: 768px) { .av-trust { grid-template-columns: 1fr 1fr; padding: 48px 16px; gap: 24px; } }

/* Reviews */
.av-review { background: var(--av-white); padding: 28px 24px; border-radius: var(--av-radius-lg); box-shadow: var(--av-shadow-card); display: flex; flex-direction: column; gap: 16px; }
.av-review__stars { color: var(--av-coral); font-size: 16px; letter-spacing: 2px; }
.av-review__quote { font-family: var(--av-serif); font-size: 18px; line-height: 1.45; color: var(--av-ink); }
.av-review__meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.av-review__initial { width: 40px; height: 40px; border-radius: 50%; background: var(--av-leaf-deep); color: var(--av-cream); display: grid; place-items: center; font-family: var(--av-serif); font-size: 18px; }
.av-review__name { font-size: 14px; color: var(--av-ink); font-weight: 600; }
.av-review__verified { font-size: 12px; color: var(--av-leaf-deep); margin-top: 2px; }

/* Reels + UGC */
.av-reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.av-reel-tile { aspect-ratio: 9/16; background: linear-gradient(135deg, var(--av-leaf-light), var(--av-coral-soft)); border-radius: var(--av-radius); }
.av-ugc { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.av-ugc-tile { aspect-ratio: 1; background: var(--av-leaf-light); border-radius: var(--av-radius); }
.av-ugc-tile:nth-child(2n) { background: var(--av-coral-soft); }
.av-ugc-tile:nth-child(3n) { background: var(--av-cream-alt); border: 1px solid var(--av-hairline); }
@media (max-width: 768px) { .av-reels { grid-template-columns: repeat(2, 1fr); } .av-ugc { grid-template-columns: repeat(4, 1fr); } }

/* Founder section */
.av-founder { background: var(--av-cream); padding: 96px 24px; }
.av-founder__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.av-founder__portrait { aspect-ratio: 4/5; background: var(--av-leaf-light); border-radius: var(--av-radius-lg); display: flex; align-items: center; justify-content: center; font-style: italic; color: var(--av-leaf-deep); }
.av-founder h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.av-founder h2 em { color: var(--av-leaf-deep); }
.av-founder p { color: var(--av-stone); font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.av-founder__signature { font-family: var(--av-script); font-size: 36px; color: var(--av-leaf-deep); transform: rotate(-2deg); display: inline-block; margin-top: 12px; }
@media (max-width: 768px) { .av-founder { padding: 64px 16px; } .av-founder__inner { grid-template-columns: 1fr; gap: 32px; } }

/* Newsletter */
.av-newsletter { background: var(--av-leaf-deep); color: var(--av-cream); padding: 96px 24px; text-align: center; }
.av-newsletter h2 { color: var(--av-cream); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.av-newsletter p { color: var(--av-cream); opacity: 0.85; margin-bottom: 32px; }
.av-newsletter__form { max-width: 480px; margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.av-newsletter__form input { background: var(--av-cream); border: 0; color: var(--av-ink); padding: 14px 18px; border-radius: var(--av-radius-pill); flex: 1 1 200px; font-family: var(--av-sans); font-size: 14px; }
.av-newsletter__form button { background: var(--av-coral); color: var(--av-white); border: 0; padding: 14px 28px; border-radius: var(--av-radius-pill); font-weight: 600; cursor: pointer; }

/* Footer */
.av-footer { background: var(--av-cream-alt); padding: 64px 24px 24px; border-top: 1px solid var(--av-hairline); }
.av-footer__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--av-hairline); }
.av-footer__col strong { display: block; margin-bottom: 12px; color: var(--av-ink); font-family: var(--av-serif); font-size: 16px; font-weight: 400; }
.av-footer__col a { display: block; color: var(--av-stone); text-decoration: none; padding: 4px 0; font-size: 14px; }
.av-footer__col a:hover { color: var(--av-leaf-deep); }
.av-footer__byline { color: var(--av-stone); font-size: 14px; line-height: 1.55; margin-top: 12px; max-width: 280px; }
.av-footer__bar { max-width: 1100px; margin: 24px auto 0; font-size: 12px; color: var(--av-stone); text-align: center; }
@media (max-width: 768px) { .av-footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp floating CTA */
.av-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #25D366; color: #fff !important; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.av-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5); }
@media (max-width: 768px) { .av-whatsapp { bottom: 16px; right: 16px; width: 52px; height: 52px; } }

/* Policy page */
.av-policy { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
.av-policy h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 24px; color: var(--av-ink); }
.av-policy h2 { font-size: 22px; margin: 32px 0 12px; color: var(--av-leaf-deep); font-family: var(--av-serif); }
.av-policy p { color: var(--av-ink); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.av-policy ul { padding-left: 20px; margin-bottom: 16px; }
.av-policy li { color: var(--av-ink); line-height: 1.7; margin-bottom: 8px; }

/* ===== COLOR DEPTH PASS (Avocado iter v2) =====
   The cream-only sections felt too washed-out. Add layered green tints,
   alternating section backgrounds, and accent panels.
   ============================================================ */

/* Body subtle green-tint warmth on cream */
body { background: linear-gradient(180deg, var(--av-cream) 0%, #F8F4DA 100%); background-attachment: fixed; }

/* Section background variants — gives visual rhythm without being heavy */
.av-section-alt { background: var(--av-cream-alt); border-top: 1px solid var(--av-hairline); border-bottom: 1px solid var(--av-hairline); }
.av-section-leaf { background: linear-gradient(180deg, #EEF4DC 0%, #E0EAC4 100%); }
.av-section-coral { background: linear-gradient(180deg, var(--av-coral-soft) 0%, #FFF1EE 100%); }
.av-section-deep { background: var(--av-leaf-deep); color: var(--av-cream); }
.av-section-deep h2 { color: var(--av-cream); }
.av-section-deep .av-section__lede { color: rgba(251, 250, 227, 0.85); }

/* Hero gets a more saturated leaf gradient + subtle pattern */
.av-hero {
    background: linear-gradient(140deg, #EEF4DC 0%, var(--av-leaf-light) 60%, var(--av-leaf) 100%) !important;
    position: relative;
    overflow: hidden;
}
.av-hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -8%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--av-coral-soft) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
}
.av-hero::after {
    content: '';
    position: absolute;
    bottom: -15%; left: -10%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--av-cream-alt) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}
.av-hero__inner { position: relative; z-index: 1; }
.av-hero h1 { color: var(--av-leaf-deep) !important; }
.av-hero h1 em { color: var(--av-coral) !important; }
.av-hero__visual { background: var(--av-cream-alt) !important; border: 4px solid var(--av-cream); }

/* Section heading underline accent */
.av-section h2 { position: relative; padding-bottom: 18px; margin-bottom: 8px; }
.av-section h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 3px;
    background: var(--av-coral);
    border-radius: 2px;
}

/* Featured 3 cards — alternating tones gives the "playful" feel */
.av-card__imagewrap { box-shadow: var(--av-shadow-card); }
.av-card__name { color: var(--av-leaf-deep); }
.av-card__sale { color: var(--av-leaf-deep); font-size: 20px; font-weight: 700; }

/* Trust band — leaf-deep band so it pops against cream */
.av-trust {
    background: var(--av-leaf-deep);
    border-radius: 0;
    padding: 56px 32px;
    max-width: 100%;
}
.av-trust__icon { background: var(--av-leaf-light); width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.av-trust__title { color: var(--av-cream); font-weight: 500; }
.av-trust__sub { color: rgba(251, 250, 227, 0.75); }

/* Catalog grid section — give it the leaf gradient */
section.av-section:has(.av-grid-5) { background: linear-gradient(180deg, #EEF4DC 0%, var(--av-cream-alt) 100%); border-radius: 0; max-width: 100%; padding: 96px clamp(20px, 6vw, 60px); }

/* Reviews section — coral-soft background instead of cream-alt */
section.av-section:has(.av-review) { background: linear-gradient(180deg, var(--av-coral-soft) 0%, #FFF1EE 100%); max-width: 100%; padding: 96px clamp(20px, 6vw, 60px); }
.av-review { background: var(--av-cream); }

/* Reels section — leaf-light tint */
section.av-section:has(.av-reels) { background: var(--av-cream-alt); max-width: 100%; padding: 96px clamp(20px, 6vw, 60px); border-top: 1px solid var(--av-hairline); border-bottom: 1px solid var(--av-hairline); }

/* UGC section — back to cream */
section.av-section:has(.av-ugc) { background: var(--av-cream); max-width: 100%; padding: 96px clamp(20px, 6vw, 60px); }

/* Founder — leaf-light bg */
.av-founder { background: linear-gradient(135deg, var(--av-leaf-light) 0%, #C4DC8C 100%) !important; }
.av-founder h2 { color: var(--av-leaf-deep); }
.av-founder h2 em { color: var(--av-coral); }
.av-founder__portrait { background: var(--av-cream) !important; box-shadow: var(--av-shadow-pop); }
.av-founder__signature { color: var(--av-leaf-deep); }

/* Footer — keep cream-alt bg, ensure wordmark is deep green */
.av-footer { background: var(--av-cream-alt); }
.av-wordmark--footer { color: var(--av-leaf-deep) !important; font-size: 22px; }
.av-footer__col strong { color: var(--av-leaf-deep); font-family: var(--av-serif); font-weight: 400; }
