/* ==========================================================================
   GURUKRUPA GIFT AND TOYS — MAIN STYLESHEET
   Theme: "A toy shop that came alive"

   QUICK EDITS:
   - Change colours in the :root block right below.
   - Fonts are loaded in includes/header.php (Baloo 2 + Nunito).
   ========================================================================== */

/* ---------- 1. COLOURS & SETTINGS ---------- */
:root {
    /* Base backgrounds */
    --cream:      #FFF8F0;
    --butter:     #FFF1CF;
    --blush:      #FFE6E1;
    --lilac:      #F0E8FF;
    --teal-soft:  #DDF5F0;
    --paper:      #FFFDF9;

    /* Candy accents */
    --coral:      #FF6B6B;
    --coral-dark: #E24D58;
    --sunny:      #FFD23F;
    --sunny-dark: #E8AE00;
    --teal:       #1FB5A5;
    --teal-dark:  #128A7E;
    --purple:     #9B7EDE;
    --purple-dark:#7457C4;
    --pink:       #FF8FB1;
    --mint:       #4CC79C;

    /* Text & dark */
    --plum:       #3B1E45;
    --plum-2:     #4E2A5B;
    --ink:        #2D1B3A;
    --ink-soft:   #6A5878;
    --line:       #F1E2D3;

    --wa:         #25D366;
    --wa-dark:    #1DA851;

    /* Shapes */
    --radius-sm:  12px;
    --radius:     22px;
    --radius-lg:  32px;
    --shadow-sm:  0 4px 12px rgba(59, 30, 69, .08);
    --shadow:     0 12px 30px rgba(59, 30, 69, .10);

    --font-head:  'Baloo 2', 'Nunito', system-ui, sans-serif;
    --font-body:  'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --header-h:   76px;
    --bounce:     cubic-bezier(.34, 1.56, .64, 1);
}

/* Per-colour helpers: any element with one of these classes gets
   --c (main colour), --c-soft (light tint) and --c-deep (darker). */
.cat-tile--coral, .why-card--coral, .review--coral, .timeline__item--coral, .contact-card--coral, .chip--coral, [data-color="coral"]
    { --c: var(--coral);  --c-soft: #FFE3DF; --c-deep: var(--coral-dark); }
.cat-tile--sunny, .why-card--sunny, .review--sunny, .timeline__item--sunny, .contact-card--sunny, .chip--sunny, [data-color="sunny"]
    { --c: var(--sunny);  --c-soft: #FFF3C4; --c-deep: var(--sunny-dark); }
.cat-tile--teal, .why-card--teal, .review--teal, .timeline__item--teal, .contact-card--teal, .chip--teal, [data-color="teal"]
    { --c: var(--teal);   --c-soft: #D4F3EE; --c-deep: var(--teal-dark); }
.cat-tile--purple, .why-card--purple, .review--purple, .timeline__item--purple, .contact-card--purple, .chip--purple, [data-color="purple"]
    { --c: var(--purple); --c-soft: #ECE4FF; --c-deep: var(--purple-dark); }
.cat-tile--pink, .why-card--pink, .review--pink, .timeline__item--pink, .contact-card--pink, .chip--pink, [data-color="pink"]
    { --c: var(--pink);   --c-soft: #FFE4EE; --c-deep: #E0628D; }
.cat-tile--mint, .why-card--mint, .review--mint, .timeline__item--mint, .contact-card--mint, .chip--mint, [data-color="mint"]
    { --c: var(--mint);   --c-soft: #D9F6EA; --c-deep: #2EA57B; }

/* ---------- 2. BASICS ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.12;
    margin: 0 0 .5em;
    color: var(--plum);
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p  { margin: 0 0 1em; }
address { font-style: normal; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px dashed var(--purple); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sunny); color: var(--plum); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 2.5rem; }
.muted { color: var(--ink-soft); }
.break { word-break: break-word; }
.nowrap { white-space: nowrap; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 999;
    background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 10px;
    transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. BUTTONS (with "squish" micro-interaction) ---------- */
.btn {
    --btn-bg: var(--coral);
    --btn-fg: #fff;
    --btn-shadow: var(--coral-dark);
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.4em;
    border: 0; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.1;
    text-decoration: none; white-space: nowrap;
    color: var(--btn-fg); background: var(--btn-bg);
    box-shadow: 0 5px 0 var(--btn-shadow), 0 10px 20px -6px color-mix(in srgb, var(--btn-shadow) 60%, transparent);
    transition: transform .25s var(--bounce), box-shadow .2s, background .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 0 var(--btn-shadow), 0 16px 26px -8px color-mix(in srgb, var(--btn-shadow) 60%, transparent); }
.btn:active { transform: translateY(3px) scale(.95, .9); box-shadow: 0 1px 0 var(--btn-shadow); transition-duration: .08s; }
.btn .icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.btn--sm { font-size: .92rem; padding: .6em 1.05em; box-shadow: 0 4px 0 var(--btn-shadow); }
.btn--sm:hover { box-shadow: 0 6px 0 var(--btn-shadow); }
.btn--lg { font-size: 1.15rem; padding: .95em 1.7em; }
.btn--primary { --btn-bg: var(--coral); --btn-shadow: var(--coral-dark); }
.btn--wa { --btn-bg: var(--wa); --btn-shadow: var(--wa-dark); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--plum); --btn-shadow: rgba(0,0,0,.18); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-shadow: transparent; border: 2.5px solid rgba(255,255,255,.85); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--plum); --btn-shadow: transparent; border: 2.5px solid var(--plum); box-shadow: none; }
.btn--outline:hover { --btn-bg: var(--plum); --btn-fg: #fff; box-shadow: none; }

/* ---------- 4. FESTIVAL STRIP ---------- */
.festival-strip {
    position: relative; overflow: hidden;
    background: linear-gradient(90deg, var(--purple), var(--coral) 55%, var(--sunny-dark));
    color: #fff; font-weight: 700; font-size: .95rem;
}
.festival-strip::after { /* moving shine */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shine 5s ease-in-out infinite;
    pointer-events: none;
}
.festival-strip__inner {
    max-width: 1200px; margin: 0 auto; padding: 9px 20px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35em .8em; text-align: center;
}
.festival-strip__emoji { display: inline-block; animation: flicker 1.8s ease-in-out infinite; font-size: 1.2em; }
.festival-strip__link {
    color: var(--plum); background: #fff; padding: 3px 12px; border-radius: 999px;
    text-decoration: none; font-weight: 800; white-space: nowrap; position: relative; z-index: 1;
    transition: transform .2s var(--bounce);
}
.festival-strip__link:hover { transform: scale(1.06); color: var(--coral-dark); }

/* ---------- 5. HEADER & NAVIGATION ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
/* Frosted background lives on a pseudo-element so the mobile menu
   (position: fixed) is positioned against the screen, not the header. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: color-mix(in srgb, var(--cream) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled::before { box-shadow: 0 6px 24px rgba(59,30,69,.08); background: color-mix(in srgb, var(--cream) 96%, transparent); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

/* Logo with gift box that opens on hover */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.logo:hover { color: var(--plum); }
.logo__box { width: 48px; height: 48px; overflow: visible; flex-shrink: 0; }
.logo__lid { transform-origin: 8px 26px; transition: transform .45s var(--bounce); }
.logo__base { transition: transform .45s var(--bounce); transform-origin: 32px 58px; }
.logo__sparkles { opacity: 0; transform: translateY(8px) scale(.4); transform-origin: 32px 12px; transition: opacity .3s, transform .45s var(--bounce); }
.logo:hover .logo__lid, .logo:focus-visible .logo__lid { transform: translate(-2px, -8px) rotate(-22deg); }
.logo:hover .logo__base { transform: scale(1.04, .96); }
.logo:hover .logo__sparkles, .logo:focus-visible .logo__sparkles { opacity: 1; transform: translateY(-4px) scale(1); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -.01em; }
.logo__sub  { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--coral-dark); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.logo__emoji { font-size: 2.2rem; display: inline-block; transition: transform .4s var(--bounce); }
.logo:hover .logo__emoji { transform: rotate(-12deg) scale(1.15); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.site-nav ul a {
    position: relative; display: block; padding: 8px 14px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
    color: var(--plum); text-decoration: none;
}
/* Animated wavy underline on nav links */
.site-nav ul a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23FF6B6B' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 8px;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--bounce);
}
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }
.site-nav ul a:hover::after { animation: wiggle-line .6s linear infinite; }
.site-nav ul a.is-active { color: var(--coral-dark); }

.nav-toggle {
    display: none; position: relative; z-index: 120;
    width: 48px; height: 48px; border: 0; border-radius: 16px; background: var(--sunny);
    box-shadow: 0 4px 0 var(--sunny-dark); transition: transform .2s var(--bounce);
}
.nav-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sunny-dark); }
.nav-toggle span {
    position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 3px; background: var(--plum);
    transition: transform .35s var(--bounce), opacity .2s, top .35s var(--bounce);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(45,27,58,.35); opacity: 0; transition: opacity .3s; }
.nav-backdrop.is-visible { opacity: 1; }

/* ---------- 6. WAVY / SCALLOPED DIVIDERS ---------- */
.divider { line-height: 0; margin: -1px 0; position: relative; z-index: 1; }
.divider svg { width: 100%; height: clamp(38px, 6vw, 88px); display: block; }
.divider--flip svg { transform: scaleX(-1); }

/* ---------- 7. SECTIONS ---------- */
.section { padding: clamp(48px, 7vw, 90px) 0; position: relative; }
.section--tight { padding-top: 10px; }
.section--butter { background: var(--butter); }
.section--teal { background: var(--teal-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.eyebrow {
    display: inline-block; margin-bottom: 12px; padding: 5px 14px;
    background: #fff; border: 2px dashed var(--coral); border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--coral-dark);
    transform: rotate(-2deg);
}
/* Hand-drawn squiggle under a highlighted word */
.squiggle { position: relative; white-space: nowrap; color: var(--coral); }
.squiggle::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .3em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C40 2 70 2 100 10 S165 18 197 6' fill='none' stroke='%23FFD23F' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    z-index: -1;
    animation: draw 1.2s .6s both ease-out;
    clip-path: inset(0 100% 0 0);
}
.wiggle { display: inline-block; animation: wiggle 2.6s ease-in-out infinite; transform-origin: 50% 80%; }

/* ---------- 8. HERO ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 5vw, 60px);
    background:
        radial-gradient(600px 400px at 90% 10%, rgba(255,210,63,.28), transparent 60%),
        radial-gradient(500px 380px at 0% 90%, rgba(155,126,222,.18), transparent 60%),
        radial-gradient(420px 300px at 50% 0%, rgba(255,107,107,.12), transparent 60%),
        var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero__title { margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 36em; }
.hero__lead strong { color: var(--plum); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 28px 0 34px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 0; }
.hero__stats li {
    background: #fff; border-radius: 18px; padding: 10px 18px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; line-height: 1.15; border-bottom: 4px solid var(--line);
}
.hero__stats li:nth-child(1) { border-color: var(--coral); }
.hero__stats li:nth-child(2) { border-color: var(--teal); }
.hero__stats li:nth-child(3) { border-color: var(--sunny); }
.hero__stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--plum); }
.hero__stats span { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

/* Floating decorations */
.hero__floaties { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floaty { position: absolute; display: block; }
.floaty--balloon {
    width: 46px; height: 56px; border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
    background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.7) 0 8%, transparent 9%), var(--coral);
    animation: float-up 7s ease-in-out infinite;
}
.floaty--balloon::before { /* knot */
    content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
    border: 5px solid transparent; border-bottom: 7px solid currentColor; border-top: 0; color: inherit;
}
.floaty--balloon::after { /* string */
    content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 60px;
    background: linear-gradient(rgba(59,30,69,.35), transparent);
}
.floaty--b1 { top: 12%; left: 4%;  color: var(--coral);  background-color: var(--coral); }
.floaty--b2 { top: 84%; left: 50%; width: 36px; height: 44px; color: var(--teal); background-color: var(--teal); animation-delay: -2s; animation-duration: 8s; }
.floaty--b3 { top: 8%;  right: 3%; color: var(--purple); background-color: var(--purple); animation-delay: -4s; }
.floaty--star { color: var(--sunny); font-size: 26px; animation: twinkle 3.2s ease-in-out infinite; text-shadow: 0 2px 0 var(--sunny-dark); }
.floaty--s1 { top: 18%; left: 38%; }
.floaty--s2 { top: 72%; left: 6%;  font-size: 20px; color: var(--coral); text-shadow: none; animation-delay: -1s; }
.floaty--s3 { top: 84%; right: 12%; font-size: 30px; animation-delay: -2s; }
.floaty--s4 { top: 30%; right: 42%; font-size: 16px; color: var(--teal); text-shadow: none; animation-delay: -.5s; }
.floaty--dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); animation: bob 5s ease-in-out infinite; }
.floaty--d1 { top: 88%; left: 30%; }
.floaty--d2 { top: 6%; left: 60%; background: var(--mint); animation-delay: -2s; }

/* Hero illustration stage */
.hero__art { display: flex; justify-content: center; }
.stage { position: relative; width: min(460px, 90vw); aspect-ratio: 1; }
.stage__sun {
    position: absolute; inset: 8%; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFE680, var(--sunny) 60%, #FFC21A);
    box-shadow: 0 30px 60px -20px rgba(232,174,0,.55), inset 0 -18px 0 rgba(0,0,0,.05);
    animation: breathe 6s ease-in-out infinite;
}
.stage__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 3px dashed rgba(255,107,107,.45);
    animation: spin 40s linear infinite;
}
.stage__item {
    position: absolute; font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1;
    filter: drop-shadow(0 10px 10px rgba(59,30,69,.18));
    animation: bob 4.5s ease-in-out infinite;
}
.stage__item--teddy   { font-size: clamp(5rem, 13vw, 8.5rem); left: 50%; top: 47%; transform: translate(-50%, -50%); animation: teddy 5s ease-in-out infinite; z-index: 2; }
.stage__item--gift1   { left: 6%;  top: 18%; animation-delay: -1s; }
.stage__item--gift2   { right: 8%; top: 10%; animation-delay: -2.2s; animation-name: bob-rotate; }
.stage__item--car     { left: 2%;  bottom: 18%; animation-delay: -3s; }
.stage__item--unicorn { right: 0;  bottom: 22%; animation-delay: -1.6s; animation-name: bob-rotate; }
.stage__item--balloon { left: 40%; top: -4%; animation: float-up 6s ease-in-out infinite; }
.stage__item--star    { right: 28%; bottom: 2%; font-size: 2rem; animation: twinkle 2.4s ease-in-out infinite; }
/* CSS gift box whose lid keeps popping open */
.cssgift { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); width: 110px; z-index: 3; }
.cssgift__box {
    height: 70px; border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, transparent 43%, var(--sunny) 43% 57%, transparent 57%), var(--coral);
    box-shadow: inset 0 -10px 0 rgba(0,0,0,.08), 0 14px 24px -8px rgba(226,77,88,.5);
}
.cssgift__lid {
    position: relative; height: 24px; margin: 0 -8px; border-radius: 8px;
    background: linear-gradient(90deg, transparent 44%, var(--sunny) 44% 56%, transparent 56%), var(--coral-dark);
    transform-origin: 10% 100%;
    animation: lid-pop 4s var(--bounce) infinite;
}
.cssgift__bow { position: absolute; left: 50%; top: -20px; width: 44px; height: 22px; transform: translateX(-50%); }
.cssgift__bow::before, .cssgift__bow::after {
    content: ""; position: absolute; top: 0; width: 22px; height: 22px;
    border: 5px solid var(--sunny); border-radius: 50% 50% 0 50%; background: transparent;
}
.cssgift__bow::before { left: 0; transform: rotate(-20deg); }
.cssgift__bow::after  { right: 0; transform: scaleX(-1) rotate(-20deg); }

/* ---------- 9. INNER PAGE BANNERS ---------- */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 90px) 0 clamp(20px, 3vw, 40px); }
.page-hero .container { position: relative; z-index: 2; max-width: 820px; }
.page-hero p { font-size: 1.15rem; color: var(--ink-soft); }
.page-hero--coral { background: var(--blush); }
.page-hero--lilac { background: var(--lilac); }
.page-hero--teal  { background: var(--teal-soft); }

/* ---------- 10. CATEGORY TILES ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
    padding: 26px 12px 20px; border-radius: var(--radius);
    background: #fff; text-decoration: none; color: var(--plum);
    box-shadow: 0 6px 0 var(--c-soft), 0 14px 28px -12px var(--c);
    border: 3px solid var(--c-soft);
    transition: transform .35s var(--bounce), box-shadow .3s, background .3s;
}
.cat-tile:hover { color: var(--plum); transform: translateY(-8px) rotate(-2deg); background: var(--c-soft); box-shadow: 0 10px 0 var(--c), 0 22px 30px -12px var(--c); }
.cat-tile:nth-child(even):hover { transform: translateY(-8px) rotate(2deg); }
.cat-tile__emoji {
    display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 8px; border-radius: 50%;
    font-size: 2.4rem; background: var(--c-soft); transition: transform .45s var(--bounce);
}
.cat-tile:hover .cat-tile__emoji { transform: scale(1.15) rotate(10deg); background: #fff; }
.cat-tile__name { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
.cat-tile__count { font-size: .82rem; font-weight: 700; color: var(--c-deep); }

/* ---------- 11. PRODUCT GRID & CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius);
    box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--c) 55%, transparent), 0 2px 0 var(--c-soft);
    transition: transform .4s var(--bounce), box-shadow .35s;
}
.card:hover {
    transform: translateY(-10px) rotate(-1.2deg);
    box-shadow: 0 26px 40px -16px color-mix(in srgb, var(--c) 70%, transparent), 0 4px 0 var(--c);
}
.card:nth-child(even):hover { transform: translateY(-10px) rotate(1.2deg); }
.card__media {
    position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.8) 0 6%, transparent 7%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,.6) 0 4%, transparent 5%),
        radial-gradient(circle at 70% 85%, rgba(255,255,255,.6) 0 5%, transparent 6%),
        var(--c-soft);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.07); }
.emoji-art {
    display: grid; place-items: center; width: 100%; height: 100%;
    font-size: clamp(4.5rem, 9vw, 6.2rem); line-height: 1;
    filter: drop-shadow(0 12px 10px rgba(59,30,69,.18));
    transition: transform .5s var(--bounce);
}
.card:hover .emoji-art { transform: scale(1.12) rotate(-6deg); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card__cat {
    align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: var(--c-deep, var(--coral-dark)); background: var(--c-soft, var(--blush)); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.card__title { font-size: 1.18rem; margin-bottom: 6px; }
.card__title a { color: var(--plum); text-decoration: none; background: linear-gradient(var(--c-soft), var(--c-soft)) no-repeat 0 90% / 0 40%; transition: background-size .35s; }
.card__title a:hover { background-size: 100% 40%; }
.card__short { font-size: .95rem; color: var(--ink-soft); margin-bottom: 16px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Price shown inside a "price tag" shape with a string hole */
.price-tag {
    position: relative; display: inline-flex; align-items: baseline; gap: 6px;
    padding: 6px 14px 6px 24px;
    font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--plum);
    background: var(--sunny);
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
    border-radius: 0 8px 8px 0;
    transform: rotate(-3deg);
    transition: transform .3s var(--bounce);
}
.price-tag::before { /* hole */
    content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
    border-radius: 50%; background: #fff; box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
}
.price-tag s { font-size: .72em; font-weight: 600; color: rgba(59,30,69,.55); }
.card:hover .price-tag { transform: rotate(3deg) scale(1.05); }
.price-tag--lg { font-size: 1.7rem; padding: 8px 20px 8px 32px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
.price-tag--lg::before { left: 13px; width: 9px; height: 9px; margin-top: -4.5px; }

/* Corner ribbons */
.ribbon {
    position: absolute; z-index: 3; top: 16px; left: -8px;
    padding: 5px 14px 5px 12px;
    font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .03em; color: #fff;
    background: var(--coral); border-radius: 4px 6px 6px 0;
    box-shadow: 0 4px 10px -2px rgba(0,0,0,.2);
}
.ribbon::before { /* folded end */
    content: ""; position: absolute; left: 0; bottom: -8px;
    border-top: 8px solid var(--coral-dark); border-left: 8px solid transparent;
}
.ribbon::after { /* notched tail */
    content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 12px;
    background: inherit; clip-path: polygon(0 0, 100% 0, 45% 50%, 100% 100%, 0 100%);
}
.ribbon--new { background: var(--teal); }
.ribbon--new::before { border-top-color: var(--teal-dark); }
.ribbon--best-seller { background: var(--coral); animation: ribbon-wave 3s ease-in-out infinite; transform-origin: left center; }

/* ---------- 12. CATEGORY CHIPS (candy buttons) ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
:where(.chip) { --c: var(--purple); --c-soft: #ECE4FF; --c-deep: var(--purple-dark); } /* default for "All" */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none;
    color: var(--plum);
    background: linear-gradient(180deg, #fff, var(--c-soft));
    border: 2.5px solid var(--c);
    box-shadow: 0 4px 0 var(--c), inset 0 2px 0 rgba(255,255,255,.9);
    transition: transform .25s var(--bounce), box-shadow .2s, background .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
}
.chip small { font-size: .78em; background: rgba(255,255,255,.8); color: var(--c-deep); border-radius: 999px; padding: 0 7px; font-weight: 800; }
.chip:hover { color: var(--plum); transform: translateY(-3px); box-shadow: 0 7px 0 var(--c), inset 0 2px 0 rgba(255,255,255,.9); }
.chip.is-active {
    color: #fff;
    background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c));
    box-shadow: 0 4px 0 var(--c-deep), inset 0 3px 0 rgba(255,255,255,.35);
    border-color: var(--c-deep);
    text-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.chip.is-active small { color: var(--c-deep); }
.chip.bounce { animation: candy-bounce .55s var(--bounce); }

.search { position: relative; max-width: 460px; margin: 0 auto 10px; }
.search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search__input {
    width: 100%; padding: 14px 20px 14px 50px; border-radius: 999px;
    font: inherit; font-weight: 600; color: var(--plum);
    background: #fff; border: 2.5px solid var(--line);
    transition: border-color .2s, box-shadow .2s;
}
.search__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 5px rgba(31,181,165,.18); }
.result-count { text-align: center; color: var(--ink-soft); font-weight: 700; font-size: .95rem; min-height: 1.5em; margin-bottom: 22px; }

.empty-state { text-align: center; padding: 50px 20px; }
.empty-state__emoji { font-size: 4rem; display: inline-block; animation: wiggle 2s ease-in-out infinite; }

.note-card {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    margin-top: 56px; padding: 26px 30px; border-radius: var(--radius-lg);
    background: #fff; border: 3px dashed var(--teal);
}
.note-card > div { flex: 1 1 280px; }
.note-card h3 { margin-bottom: 4px; }
.note-card p { margin: 0; color: var(--ink-soft); }
.note-card__emoji { font-size: 2.8rem; }

/* ---------- 13. WHY CHOOSE US ---------- */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why-card {
    position: relative; text-align: center; padding: 30px 20px 26px;
    background: #fff; border-radius: var(--radius);
    box-shadow: 0 6px 0 var(--c-soft);
    transition: transform .4s var(--bounce), box-shadow .3s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 12px 0 var(--c), 0 22px 30px -14px var(--c); }
.why-card__icon {
    display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px;
    border-radius: 24px; font-size: 2.1rem; background: var(--c-soft);
    transform: rotate(-6deg); transition: transform .45s var(--bounce), border-radius .45s;
}
.why-card:hover .why-card__icon { transform: rotate(6deg) scale(1.1); border-radius: 50%; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- 14. TESTIMONIALS (speech bubbles) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review { margin: 0; }
.review__bubble {
    position: relative; margin: 0 0 26px; padding: 26px 26px 22px;
    background: #fff; border-radius: 28px; border: 3px solid var(--c);
    box-shadow: 8px 8px 0 var(--c-soft);
    transition: transform .4s var(--bounce);
}
.review:nth-child(2) .review__bubble { transform: rotate(1deg); }
.review:nth-child(odd) .review__bubble { transform: rotate(-1deg); }
.review:hover .review__bubble { transform: rotate(0) translateY(-6px); }
.review__bubble::after { /* bubble tail */
    content: ""; position: absolute; left: 40px; bottom: -22px;
    width: 30px; height: 22px; background: #fff;
    border-right: 3px solid var(--c); border-bottom: 3px solid var(--c);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    border-bottom-right-radius: 8px;
}
.review__bubble::before {
    content: "“"; position: absolute; right: 18px; top: -10px;
    font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--c-soft);
}
.review__bubble p { position: relative; margin: 0; font-size: 1.02rem; }
.review__stars { color: var(--sunny-dark); letter-spacing: 2px; margin-bottom: 8px; font-size: 1.1rem; }
.review__who { display: flex; align-items: center; gap: 12px; padding-left: 20px; }
.review__who strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--plum); line-height: 1.1; }
.review__who small { color: var(--ink-soft); font-weight: 600; }
.review__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; background: var(--c-soft); border: 3px solid #fff; box-shadow: var(--shadow-sm); }

/* ---------- 15. CALL-TO-ACTION BAND ---------- */
.cta-band {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: clamp(28px, 5vw, 50px) clamp(24px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 10% 120%, rgba(255,255,255,.18) 0 22%, transparent 23%),
        radial-gradient(circle at 95% -20%, rgba(255,210,63,.35) 0 25%, transparent 26%),
        linear-gradient(120deg, var(--coral), #FF8A65);
    color: #fff;
    box-shadow: 0 24px 40px -20px var(--coral-dark);
}
.cta-band--teal { margin-top: 60px; background: radial-gradient(circle at 95% -20%, rgba(255,210,63,.35) 0 25%, transparent 26%), linear-gradient(120deg, var(--teal), #2AC9A0); box-shadow: 0 24px 40px -20px var(--teal-dark); }
.cta-band > div:first-of-type { flex: 1 1 360px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .3em; }
.cta-band p { margin: 0; opacity: .95; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.cta-band__deco { position: absolute; font-size: 3.4rem; opacity: .9; animation: bob 5s ease-in-out infinite; }
.cta-band__deco--1 { left: 46%; top: -12px; }
.cta-band__deco--2 { right: 3%; bottom: -14px; animation-delay: -2s; }
.cta-band .btn--light { --btn-fg: var(--coral-dark); }
.cta-band--teal .btn--light { --btn-fg: var(--teal-dark); }

/* ---------- 16. ABOUT PAGE ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-intro__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.shopfront { position: relative; max-width: 420px; margin: 0 auto; padding-top: 44px; filter: drop-shadow(0 26px 30px rgba(59,30,69,.15)); }
.shopfront__awning {
    position: absolute; top: 0; left: -14px; right: -14px; height: 50px; z-index: 2;
    background: repeating-linear-gradient(90deg, var(--coral) 0 42px, #fff 42px 84px);
    border-radius: 14px 14px 0 0;
}
.shopfront__awning::after { /* scalloped edge */
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 21px;
    background:
        radial-gradient(circle at 21px 0, var(--coral) 20px, transparent 21px) 0 0 / 84px 21px repeat-x,
        radial-gradient(circle at 21px 0, #fff 20px, transparent 21px) 42px 0 / 84px 21px repeat-x;
}
.shopfront__sign {
    position: relative; z-index: 3; margin: 30px auto 0; width: max-content; padding: 6px 22px;
    background: var(--plum); color: var(--sunny); border-radius: 12px;
    font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: .04em;
    box-shadow: 0 5px 0 #25102D;
}
.shopfront__window {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-top: -10px; padding: 34px 22px 110px;
    background: var(--butter); border: 12px solid var(--purple); border-radius: 0 0 20px 20px;
}
.shopfront__window span {
    display: grid; place-items: center; aspect-ratio: 1; font-size: 2.3rem;
    background: #fff; border-radius: 16px; box-shadow: inset 0 -4px 0 var(--line);
    animation: bob 4s ease-in-out infinite;
}
.shopfront__window span:nth-child(2n) { animation-delay: -1.3s; }
.shopfront__window span:nth-child(3n) { animation-delay: -2.4s; }
.shopfront__door {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    width: 84px; height: 92px; background: var(--teal); border-radius: 44px 44px 0 0;
    border: 6px solid var(--teal-dark); border-bottom: 0;
}
.shopfront__open {
    position: absolute; left: 50%; top: 22px; transform: translateX(-50%) rotate(-4deg);
    background: #fff; color: var(--coral-dark); font-weight: 900; font-size: .75rem; padding: 2px 8px; border-radius: 6px;
    animation: swing 3s ease-in-out infinite; transform-origin: 50% -10px;
}

.timeline { list-style: none; position: relative; max-width: 900px; margin: 0 auto; padding: 0; }
.timeline::before {
    content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 6px; margin-left: -3px;
    background: repeating-linear-gradient(180deg, var(--coral) 0 14px, transparent 14px 26px);
    border-radius: 6px; opacity: .6;
}
.timeline__item { position: relative; width: 50%; padding: 0 44px 34px 0; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 34px 44px; }
.timeline__dot {
    position: absolute; top: 4px; right: -28px; z-index: 1;
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: #fff; border: 4px solid var(--c); font-size: 1.6rem;
    box-shadow: 0 0 0 6px var(--butter);
    transition: transform .45s var(--bounce);
}
.timeline__item:nth-child(even) .timeline__dot { right: auto; left: -28px; }
.timeline__item:hover .timeline__dot { transform: scale(1.15) rotate(-10deg); }
.timeline__card {
    position: relative; background: #fff; border-radius: var(--radius); padding: 22px 24px;
    box-shadow: 6px 6px 0 var(--c-soft); border: 2.5px solid var(--c-soft);
    transition: transform .35s var(--bounce);
}
.timeline__item:hover .timeline__card { transform: translateY(-4px); }
.timeline__tag {
    display: inline-block; padding: 2px 12px; margin-bottom: 6px; border-radius: 999px;
    background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .88rem;
}
.timeline__card h3 { margin-bottom: 4px; }
.timeline__card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { text-align: center; padding: 28px 20px; background: #fff; border-radius: var(--radius); border: 2.5px dashed var(--line); transition: transform .35s var(--bounce), border-color .3s; }
.value:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--coral); }
.value__emoji { display: inline-block; font-size: 2.6rem; margin-bottom: 8px; transition: transform .4s var(--bounce); }
.value:hover .value__emoji { transform: scale(1.2) rotate(8deg); }
.value h3 { font-size: 1.15rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- 17. CONTACT PAGE ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
    display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius);
    background: #fff; text-decoration: none; color: var(--ink);
    border-top: 6px solid var(--c);
    box-shadow: 0 10px 24px -14px var(--c);
    transition: transform .35s var(--bounce), box-shadow .3s, background .3s;
}
.contact-card:hover { color: var(--ink); transform: translateY(-8px) rotate(-1deg); background: var(--c-soft); box-shadow: 0 20px 30px -14px var(--c); }
.contact-card__icon { font-size: 2.2rem; margin-bottom: 8px; display: inline-block; transition: transform .4s var(--bounce); }
.contact-card:hover .contact-card__icon { transform: scale(1.2) rotate(-10deg); }
.contact-card h3 { margin-bottom: 4px; }
.contact-card p { font-size: .96rem; color: var(--ink-soft); flex: 1; }
.contact-card__cta { font-family: var(--font-head); font-weight: 700; color: var(--c-deep); }

.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 3px solid var(--butter); scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 4px; }
.form { margin-top: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: .95rem; color: var(--plum); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--cream); border: 2.5px solid var(--line); border-radius: 16px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 5px rgba(31,181,165,.16); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); background: #FFF2F0; }
.field__error { display: block; color: var(--coral-dark); font-weight: 700; margin-top: 5px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 6px; }
.form__or { color: var(--ink-soft); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 16px; margin: 16px 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.alert--success { background: #DDF7EA; border: 2px solid var(--mint); color: #17653F; animation: pop-in .5s var(--bounce); }
.alert--warn { background: #FFF1D6; border: 2px solid var(--sunny); color: #6B4A00; }

.map-col { display: grid; gap: 20px; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: var(--teal-soft); aspect-ratio: 4 / 3.4; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.hours-card { background: var(--plum); color: #fff; border-radius: var(--radius); padding: 24px 26px; }
.hours-card h3 { color: var(--sunny); }
.hours-card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.hours-card li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.hours-card .btn--outline { --btn-fg: #fff; border-color: #fff; }
.hours-card .btn--outline:hover { --btn-bg: #fff; --btn-fg: var(--plum); }

/* ---------- 18. FOOTER ---------- */
.site-footer { position: relative; margin-top: 30px; color: rgba(255,255,255,.82); }
.site-footer__body { position: relative; overflow: hidden; background: var(--plum); padding: 30px 0 110px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sunny); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; position: relative; z-index: 1; }
.footer-col p { font-size: .98rem; margin-top: 14px; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: var(--sunny); }
.footer-title { color: var(--sunny); font-size: 1.2rem; margin-bottom: 14px; }
.footer-title--sm { margin-top: 22px; font-size: 1.05rem; }
.footer-title span { display: inline-block; transition: transform .4s var(--bounce); }
.footer-col:hover .footer-title span { transform: rotate(-14deg) scale(1.2); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 5px 0; word-break: break-word; }
.footer-list a { position: relative; }
.footer-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--sunny); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--bounce); }
.footer-list a:hover::after { transform: scaleX(1); }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(255,255,255,.15); }
.footer-hours strong { color: #fff; font-weight: 700; text-align: right; }
.footer-link { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 700; transition: background .2s, transform .3s var(--bounce); }
.footer-link:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.footer-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 700; }
.footer-bottom {
    position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    margin-top: 40px; padding-top: 22px; border-top: 1px dashed rgba(255,255,255,.2); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-float { position: absolute; font-size: 2.2rem; opacity: .22; animation: bob 6s ease-in-out infinite; }
.footer-float--1 { top: 16%; left: 46%; }
.footer-float--2 { bottom: 16%; right: 6%; animation-delay: -2s; font-size: 3rem; }
.footer-float--3 { bottom: 30%; left: 3%; animation-delay: -4s; }

/* ---------- 19. PRODUCT POPUP (MODAL) ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(45,27,58,.55); backdrop-filter: blur(4px); animation: fade-in .25s ease; }
.modal__box {
    position: relative; display: grid; grid-template-columns: 1fr 1fr;
    width: min(920px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
    background: var(--paper); border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.45);
    animation: modal-in .45s var(--bounce);
}
.modal.is-closing .modal__box { animation: modal-out .22s ease forwards; }
.modal.is-closing .modal__overlay { animation: fade-in .22s ease reverse forwards; }
.modal__close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: #fff; color: var(--plum); font-size: 1.1rem; font-weight: 900; box-shadow: var(--shadow-sm);
    transition: transform .3s var(--bounce), background .2s;
}
.modal__close:hover { transform: rotate(90deg) scale(1.1); background: var(--sunny); }
.modal__media {
    position: relative; min-height: 320px; display: grid; place-items: center; overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.8) 0 5%, transparent 6%),
        radial-gradient(circle at 80% 75%, rgba(255,255,255,.6) 0 7%, transparent 8%),
        var(--c-soft, var(--blush));
}
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media .emoji-art { font-size: clamp(7rem, 18vw, 11rem); animation: bob 4s ease-in-out infinite; }
.modal__media .ribbon { top: 22px; left: 18px; border-radius: 6px 0 0 6px; }
.modal__media .ribbon::before { display: none; }
.modal__content { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.modal__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 14px; padding-right: 30px; }
.modal__price { margin-bottom: 18px; }
.modal__desc { color: var(--ink-soft); font-size: 1.04rem; }
.modal__note { margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- 20. FLOATING WHATSAPP & BACK-TO-TOP ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 200;
    display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
    background: var(--wa); color: #fff;
    box-shadow: 0 10px 24px -6px rgba(37,211,102,.7), 0 4px 0 var(--wa-dark);
    transition: transform .3s var(--bounce);
    animation: wa-pop .6s 1s var(--bounce) backwards;
}
.wa-float::before, .wa-float::after { /* pulse rings */
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--wa);
    animation: pulse 2.4s ease-out infinite; pointer-events: none;
}
.wa-float::after { animation-delay: 1.2s; }
.wa-float:hover { color: #fff; transform: scale(1.1) rotate(-8deg); }
.wa-float:active { transform: scale(.92); }
.wa-float__icon { width: 34px; height: 34px; }
.wa-float__tip {
    position: absolute; right: calc(100% + 14px); top: 50%;
    padding: 8px 14px; border-radius: 12px; white-space: nowrap;
    background: #fff; color: var(--plum); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    box-shadow: var(--shadow);
    transform: translate(10px, -50%) scale(.9); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .35s var(--bounce);
}
.wa-float__tip::after { content: ""; position: absolute; right: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right: 0; border-left-color: #fff; }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: translate(0, -50%) scale(1); }

.to-top {
    position: fixed; right: 29px; bottom: 96px; z-index: 199;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--sunny); color: var(--plum); font-weight: 900; font-size: 1.3rem; text-decoration: none;
    box-shadow: 0 4px 0 var(--sunny-dark);
    opacity: 0; transform: translateY(20px) scale(.6); pointer-events: none;
    transition: opacity .3s, transform .4s var(--bounce);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--plum); transform: translateY(-3px); }

/* ---------- 21. SCROLL REVEAL ----------
   Uses "translate" + "scale" (not "transform") so hover effects still work. */
.js .reveal { opacity: 0; translate: 0 34px; scale: .98; }
.js .reveal.is-visible {
    opacity: 1; translate: none; scale: none;
    transition:
        opacity .7s ease var(--delay, 0ms),
        translate .8s var(--bounce) var(--delay, 0ms),
        scale .8s var(--bounce) var(--delay, 0ms),
        transform .45s var(--bounce), box-shadow .35s, background .3s, border-color .3s;
}

/* ---------- 22. CONFETTI ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden; }
.confetti i {
    position: absolute; top: -20px; display: block; width: 10px; height: 14px; border-radius: 2px;
    animation: confetti-fall var(--dur, 3s) cubic-bezier(.25,.46,.45,.94) var(--delay, 0s) forwards;
}
.confetti i.round { border-radius: 50%; width: 10px; height: 10px; }

/* ---------- 23. ANIMATIONS ---------- */
@keyframes bob        { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bob-rotate { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes teddy      { 0%,100% { transform: translate(-50%, -50%) rotate(-4deg); } 50% { transform: translate(-50%, -56%) rotate(4deg); } }
@keyframes float-up   { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-26px) rotate(5deg); } }
@keyframes twinkle    { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(40deg); opacity: .5; } }
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes breathe    { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes wiggle     { 0%,70%,100% { transform: rotate(0); } 76% { transform: rotate(-14deg); } 82% { transform: rotate(12deg); } 88% { transform: rotate(-8deg); } 94% { transform: rotate(5deg); } }
@keyframes lid-pop    { 0%,55%,100% { transform: translateY(0) rotate(0); } 65% { transform: translateY(-26px) rotate(-18deg); } 80% { transform: translateY(-20px) rotate(-14deg); } }
@keyframes shine      { 0%,60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes flicker    { 0%,100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.15) rotate(3deg); } }
@keyframes draw       { to { clip-path: inset(0 0 0 0); } }
@keyframes wiggle-line{ to { background-position: 20px 0; } }
@keyframes candy-bounce { 0% { transform: scale(1); } 30% { transform: scale(.85, 1.12); } 55% { transform: scale(1.12, .9); } 75% { transform: scale(.96, 1.04); } 100% { transform: scale(1); } }
@keyframes ribbon-wave{ 0%,100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes swing      { 0%,100% { transform: translateX(-50%) rotate(-6deg); } 50% { transform: translateX(-50%) rotate(6deg); } }
@keyframes pulse      { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wa-pop     { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0); } }
@keyframes fade-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in   { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes modal-out  { to { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes pop-in     { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes confetti-fall {
    0%   { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; }
    100% { transform: translate3d(var(--drift, 40px), 105vh, 0) rotate(var(--spin, 720deg)); opacity: .9; }
}

/* ---------- 24. RESPONSIVE (tablet & mobile) ---------- */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }
    /* Hamburger menu with slide-in panel */
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
        width: min(320px, 86vw);
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
        padding: calc(var(--header-h) + 24px) 26px 30px;
        background:
            radial-gradient(circle at 100% 100%, rgba(255,210,63,.35) 0 30%, transparent 31%),
            var(--cream);
        box-shadow: -20px 0 40px rgba(59,30,69,.15);
        border-radius: 30px 0 0 30px;
        transform: translateX(105%);
        transition: transform .5s var(--bounce);
        visibility: hidden;
    }
    .site-nav.is-open { transform: none; visibility: visible; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav ul a { font-size: 1.35rem; padding: 12px 16px; border-radius: 16px; }
    .site-nav ul a:hover, .site-nav ul a.is-active { background: #fff; }
    .site-nav ul a::after { left: 16px; right: auto; width: 60px; }
    .site-nav.is-open li { animation: nav-item-in .5s var(--bounce) both; }
    .site-nav.is-open li:nth-child(2) { animation-delay: .06s; }
    .site-nav.is-open li:nth-child(3) { animation-delay: .12s; }
    .site-nav.is-open li:nth-child(4) { animation-delay: .18s; }
    .site-nav__cta { align-self: stretch; }

    .hero__grid { grid-template-columns: 1fr; text-align: center; }
    .hero__lead { margin-left: auto; margin-right: auto; }
    .hero__actions, .hero__stats { justify-content: center; }
    .hero__art { order: -1; }
    .hero .floaty--b1, .hero .floaty--b2, .hero .floaty--s1, .hero .floaty--s4 { display: none; }
    .stage { width: min(340px, 80vw); }
    .about-intro { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .modal__box { grid-template-columns: 1fr; }
    .modal__media { min-height: 240px; aspect-ratio: 16 / 11; }

    .timeline::before { left: 28px; }
    .timeline__item, .timeline__item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 76px; }
    .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 0; right: auto; }
}
@keyframes nav-item-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .card__body { padding: 14px 14px 16px; }
    .card__title { font-size: 1.05rem; }
    .card__foot { flex-direction: column; align-items: stretch; }
    .card__foot .price-tag { align-self: flex-start; }
    .card__foot .btn { width: 100%; }
    .form__row { grid-template-columns: 1fr; gap: 0; }
    .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -20px 16px; padding-left: 20px; padding-right: 20px; scroll-snap-type: x proximity; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; scroll-snap-align: start; }
    .cta-band { text-align: center; justify-content: center; }
    .cta-band__actions { justify-content: center; }
    .cta-band__deco--1 { left: 6%; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .wa-float__tip { display: none; }
}

@media (max-width: 480px) {
    body { font-size: 1rem; }
    .container { padding: 0 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .logo__name { font-size: 1.3rem; }
    .logo__box { width: 42px; height: 42px; }
    .festival-strip { font-size: .85rem; }
    .wa-float { right: 16px; bottom: 16px; }
    .to-top { right: 25px; bottom: 90px; }
    .chips { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; translate: none; scale: none; }
    .confetti { display: none; }
}
