:root {
  --green: #2f5d3a;
  --green-2: #3f8f5a;
  --leaf: #a7d07c;
  --terra: #c8693f;
  --terra-2: #a9532e;
  --cream: #f7f1e3;
  --paper: #fffdf7;
  --ink: #2b2a24;
  --muted: #7a7466;
  --line: #e7dcc4;
  --ok: #2e9b55;
  --warn: #d08a1d;
  --err: #c0392b;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(47, 93, 58, .28);
  --shadow-lg: 0 24px 60px -20px rgba(47, 93, 58, .4);
  --font: 'Tajawal', system-ui, sans-serif;
  --display: 'Reem Kufi', 'Tajawal', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  background-image: radial-gradient(circle at 10% 0%, #eef3da 0, transparent 40%), radial-gradient(circle at 100% 30%, #f9e6d4 0, transparent 35%);
  line-height: 1.7; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: var(--green-2); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.35; margin: 0 0 .5em; color: var(--green); }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
input, select, textarea, button { font: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.announce { background: var(--green); color: #f3e7cf; font-size: .92rem; text-align: center; padding: 6px 0; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 241, 227, .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: .3s; }
.scrolled .site-header { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.header-row { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green); }
.brand img { border-radius: 12px; transition: transform .4s; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--display); font-size: 1.6rem; }
.brand-text small { color: var(--muted); font-size: .75rem; }
.search { flex: 1; display: flex; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; max-width: 520px; margin-inline: auto; transition: .2s; }
.search:focus-within { border-color: var(--green-2); box-shadow: 0 0 0 4px #3f8f5a22; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 18px; outline: none; min-width: 0; }
.search button { border: 0; background: transparent; padding: 0 16px; cursor: pointer; font-size: 1.1rem; }
.header-actions { display: flex; gap: 6px; }
.hbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.05rem; transition: .2s; }
.hbtn span { font-size: .9rem; }
.hbtn:hover { background: #fff; box-shadow: var(--shadow); }
.hbtn.in span { color: var(--green-2); font-weight: 700; }
#soundBtn.live { animation: breathe 2.4s ease-in-out infinite; }
.catnav { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { white-space: nowrap; padding: 6px 14px; border-radius: 999px; color: var(--ink); font-size: .93rem; background: #ffffff8c; border: 1px solid var(--line); transition: .2s; }
.catnav a:hover { background: #fff; transform: translateY(-1px); }
.catnav a.on { background: var(--green); color: #fff; border-color: var(--green); }
.catnav a.hot { background: #fbe3d6; border-color: #f0c2a8; color: var(--terra-2); font-weight: 700; }
.catnav a.hot2 { background: #e3f0d6; border-color: #c4dfa9; font-weight: 700; }

/* ---------- main ---------- */
#app { min-height: 60vh; padding: 22px 0 80px; outline: none; }
#app.enter { animation: pageIn .45s cubic-bezier(.2,.7,.3,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.section { margin-top: 56px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-sub { margin-top: -6px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.page-title { margin-bottom: 20px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 14px; border: 0; cursor: pointer; background: var(--green-2); color: #fff; font-weight: 700; transition: transform .15s, box-shadow .2s, background .2s; position: relative; overflow: hidden; }
.btn:hover { background: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-big { padding: 14px 26px; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { padding: 6px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--green); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--green-2); }
.btn-wa { background: #25d366; } .btn-wa:hover { background: #1da851; }
.btn-ms { background: linear-gradient(135deg, #0084ff, #a033ff); } .btn-ms:hover { background: linear-gradient(135deg, #006fd6, #8722e0); }
.btn.loading { color: transparent; pointer-events: none; }
.btn.loading::after { content: ''; position: absolute; width: 22px; height: 22px; border: 3px solid #fff8; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; padding: 6px; border-radius: 10px; }
.icon-btn:hover { background: #0000000d; }
.linkish { border: 0; background: none; color: var(--green-2); cursor: pointer; padding: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; background: linear-gradient(135deg, #fffdf7, #f1ebd8); border-radius: 32px; padding: clamp(24px, 5vw, 56px); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero::before { content: ''; position: absolute; inset: auto -80px -120px auto; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(#a7d07c55, transparent 70%); }
.kicker { display: inline-block; background: #e3f0d6; color: var(--green); padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hl { color: var(--terra); position: relative; }
.hl::after { content: ''; position: absolute; inset: auto 0 6px 0; height: 12px; background: #f3c9a5; z-index: -1; border-radius: 6px; transform-origin: right; animation: underline 1s .6s both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero p { font-size: 1.1rem; color: #5b5649; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-art { position: relative; }
.grow { width: 100%; max-width: 360px; margin-inline: auto; overflow: visible; }
.grow .stem { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.4s .2s ease-out forwards; }
.grow .leaf { transform-box: fill-box; transform: scale(0); animation: pop .6s cubic-bezier(.3,1.6,.5,1) forwards, sway 4s ease-in-out infinite alternate; }
.grow .l1 { transform-origin: 100% 100%; animation-delay: .9s, 1.6s; }
.grow .l2 { transform-origin: 0% 100%; animation-delay: 1.1s, 1.8s; }
.grow .l3 { transform-origin: 50% 100%; animation-delay: 1.3s, 2s; }
.grow .bloom { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .7s 1.6s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes sway { from { rotate: -3deg; } to { rotate: 4deg; } }
.leaves i { position: absolute; top: -10%; font-style: normal; font-size: 1.4rem; opacity: 0; animation: fall 9s linear infinite; }
.leaves i:nth-child(1) { left: 5%; animation-delay: 0s; }
.leaves i:nth-child(2) { left: 25%; animation-delay: 1.5s; font-size: 1rem; }
.leaves i:nth-child(3) { left: 45%; animation-delay: 3s; }
.leaves i:nth-child(4) { left: 65%; animation-delay: 4.2s; font-size: 1.1rem; }
.leaves i:nth-child(5) { left: 85%; animation-delay: 5.5s; }
.leaves i:nth-child(6) { left: 15%; animation-delay: 6.6s; font-size: .9rem; }
.leaves i:nth-child(7) { left: 75%; animation-delay: 7.7s; }
@keyframes fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(-30px, 200px) rotate(160deg); }
  90% { opacity: .8; }
  100% { transform: translate(20px, 420px) rotate(320deg); opacity: 0; }
}
@keyframes breathe { 50% { transform: scale(1.12); } }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 12px; border-radius: var(--radius); background: #fff; color: var(--ink); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cat::before { content: ''; position: absolute; inset: auto -30% -60% -30%; height: 90%; background: radial-gradient(var(--c), transparent 65%); opacity: .18; transition: .35s; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat:hover::before { opacity: .32; }
.cat span { font-size: 2.6rem; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.cat:hover span { transform: scale(1.18) rotate(-8deg); }
.cat b { font-size: 1.05rem; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.out { filter: grayscale(.6); }
.card-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h4 { font-family: var(--font); font-size: 1.02rem; margin: 0; }
.card h4 a { color: var(--ink); }
.card .btn-add { margin-top: auto; }
.badge { position: absolute; top: 12px; right: 12px; background: var(--terra); color: #fff; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; z-index: 2; }
.badge.off { right: auto; left: 12px; background: var(--green); }
.thumb { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 28%, #fff), color-mix(in srgb, var(--c) 10%, #fffdf7) 70%); position: relative; overflow: hidden; }
.thumb::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#ffffff60 1.5px, transparent 1.5px); background-size: 16px 16px; opacity: .6; }
.thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform .5s; }
.thumb-emoji { font-size: 4.2rem; position: relative; z-index: 1; filter: drop-shadow(0 10px 10px #0002); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.card:hover .thumb-emoji { transform: scale(1.15) rotate(-6deg); }
.card:hover .thumb img { transform: scale(1.06); }
.thumb.sm { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 14px; flex-shrink: 0; }
.thumb.sm .thumb-emoji { font-size: 2rem; }
.thumb.xs { width: 40px; height: 40px; aspect-ratio: 1; border-radius: 10px; flex-shrink: 0; }
.thumb.xs .thumb-emoji { font-size: 1.3rem; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-row b { color: var(--terra-2); font-size: 1.15rem; }
.price-row s { color: var(--muted); font-size: .9rem; }
.price-row.big b { font-size: 1.8rem; }

/* ---------- bundles ---------- */
.bundles-sec { background: linear-gradient(135deg, #e9f2dc, #fbeadc); margin-inline: -16px; padding: 34px 16px; border-radius: 32px; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.bcard { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; border: 1px solid var(--line); }
.bcard:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.bcard-top { height: 140px; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #000 0%), color-mix(in srgb, var(--c) 55%, #fff)); overflow: hidden; }
.bcard-top::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: #ffffff22; top: -90px; left: -60px; }
.bcard-emoji { font-size: 4.5rem; filter: drop-shadow(0 12px 12px #0003); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.bcard:hover .bcard-emoji { transform: scale(1.15) rotate(8deg); }
.bcard-off { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--terra-2); font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: .9rem; box-shadow: 0 6px 14px -6px #0005; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%, 85%, 100% { transform: rotate(0); } 90% { transform: rotate(-6deg) scale(1.06); } 95% { transform: rotate(5deg); } }
.bcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bcard-body h3 { margin: 0; font-size: 1.25rem; }
.bcard-body h3 a { color: var(--green); }
.bcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; background: #f4efe1; color: var(--ink); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); transition: .2s; }
.chip:hover { background: #e3f0d6; border-color: #c4dfa9; }
.tag { display: inline-block; font-size: .78rem; padding: 1px 10px; border-radius: 999px; font-weight: 700; }
.tag-bundle { background: #fbe3d6; color: var(--terra-2); }

/* ---------- pots banner ---------- */
.pots-banner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; padding: 30px; border-radius: 28px; background: #fff; border: 2px dashed #c4dfa9; }
.pots-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pot-mini { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink); font-size: .82rem; line-height: 1.3; transition: transform .25s; }
.pot-mini:hover { transform: translateY(-5px); }
.pot-mini .thumb.sm { width: 100%; height: auto; aspect-ratio: 1; }

/* ---------- how ---------- */
.how { text-align: center; background: var(--green); color: #f3e7cf; padding: 40px 24px; border-radius: 32px; }
.how h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.steps li span { width: 70px; height: 70px; display: grid; place-items: center; font-size: 2rem; border-radius: 50%; background: #ffffff18; border: 2px solid #ffffff30; transition: .3s; }
.how.in .steps li span { animation: pop2 .6s calc(var(--i) * .15s) both cubic-bezier(.3,1.6,.5,1); }
@keyframes pop2 { from { transform: scale(0); } to { transform: scale(1); } }
.steps li b { color: #fff; }
.steps li small { color: #d6e7c2; }

/* ---------- category hero / detail ---------- */
.cat-hero { display: flex; align-items: center; gap: 20px; padding: 26px; border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, #fff), #fffdf7); border: 1px solid var(--line); margin-bottom: 20px; }
.cat-hero > span { font-size: 3.6rem; animation: sway 3s ease-in-out infinite alternate; }
.cat-hero h1 { margin: 0; }
.cat-hero p { margin: 0; color: #5b5649; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.toolbar select, .field select { padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.detail-art { aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 8%, #fffdf7) 72%); box-shadow: var(--shadow); position: sticky; top: 130px; }
.detail-art span { font-size: clamp(7rem, 16vw, 11rem); filter: drop-shadow(0 20px 20px #0003); animation: float 4s ease-in-out infinite; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }
.ribbon { position: absolute; top: 20px; right: -40px; transform: rotate(35deg); background: var(--terra); color: #fff; font-style: normal; font-weight: 800; padding: 4px 50px; box-shadow: 0 6px 14px -6px #0006; }
.lead { font-size: 1.15rem; color: var(--terra-2); font-weight: 700; }
.stock.in { color: var(--ok); } .stock.out { color: var(--err); }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.bitems { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.bitems li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; transition: .2s; }
.bitems li:hover { border-color: #c4dfa9; transform: translateX(-4px); }
.bitems li a { display: flex; align-items: center; gap: 10px; flex: 1; color: var(--ink); font-weight: 500; }
.bitems li em { font-style: normal; color: var(--muted); }
.bprice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #fff; border-radius: 18px; padding: 16px; border: 1px solid var(--line); margin-bottom: 16px; }
.bprice small { display: block; color: var(--muted); }
.bprice s { font-size: 1.2rem; color: var(--muted); }
.bprice b { font-size: 1.8rem; color: var(--terra-2); }
.bprice .save { grid-column: 1 / -1; background: #e3f0d6; color: var(--green); border-radius: 12px; padding: 8px 12px; font-weight: 800; text-align: center; }
.in-bundles { margin-top: 22px; }
.ib { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: linear-gradient(135deg, #fbe3d6, #fff); border: 1px solid #f0c2a8; color: var(--ink); margin-bottom: 8px; transition: .2s; }
.ib:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ib > span { font-size: 2rem; }
.ib div { flex: 1; display: flex; flex-direction: column; }
.ib em { font-style: normal; font-weight: 800; color: var(--terra-2); }

/* ---------- qty ---------- */
.qty { display: inline-flex; align-items: center; gap: 2px; background: #f4efe1; border-radius: 12px; padding: 3px; flex-shrink: 0; }
.qty button { width: 28px; height: 28px; border: 0; border-radius: 9px; background: #fff; cursor: pointer; font-weight: 800; color: var(--green); transition: .15s; }
.qty button:hover { background: var(--green-2); color: #fff; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.qty .qty-del { background: transparent; margin-inline-start: 4px; }
.qty .qty-del:hover { background: #fde2df; }
.qty-lg button { width: 40px; height: 40px; font-size: 1.2rem; }
.qty-lg span { min-width: 36px; font-size: 1.1rem; }
.qty-ro { color: var(--muted); font-weight: 700; }

/* ---------- floating cart ---------- */
.cart-fab { position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 64px; height: 64px; border-radius: 22px; border: 0; background: var(--terra); color: #fff; cursor: pointer; box-shadow: 0 14px 30px -10px #c8693fcc; display: grid; place-items: center; transition: transform .25s, border-radius .3s, width .35s; animation: fabIn .7s cubic-bezier(.3,1.6,.5,1) both; }
.cart-fab:hover { transform: translateY(-4px) rotate(-4deg); }
.cart-fab.has { width: auto; min-width: 64px; padding: 0 18px 0 14px; display: flex; gap: 10px; align-items: center; border-radius: 999px; }
.cart-fab.bump { animation: bump .6s cubic-bezier(.3,1.6,.5,1); }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--green); color: #fff; min-width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: .85rem; font-weight: 800; border: 3px solid var(--cream); padding: 0 4px; transition: transform .3s; }
.cart-fab:not(.has) .cart-count { transform: scale(0); }
.cart-fab-total { font-weight: 800; font-size: .95rem; white-space: nowrap; }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.92) rotate(4deg); } }
@keyframes fabIn { from { transform: scale(0) rotate(-90deg); } }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(440px, 100%); background: var(--paper); z-index: 80; display: flex; flex-direction: column; transform: translateX(-105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); box-shadow: 20px 0 60px -20px #0005; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.drawer-foot { padding: 14px 18px 20px; border-top: 1px solid var(--line); background: #fff; }
.scrim { position: fixed; inset: 0; background: #1d2a1f66; backdrop-filter: blur(3px); z-index: 70; opacity: 0; pointer-events: none; transition: .35s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.cline { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); animation: pageIn .35s both; }
.cline-main { flex: 1; min-width: 0; }
.cline-title { font-weight: 700; line-height: 1.4; }
.cline-price { font-size: .92rem; color: var(--muted); }
.cline-price b { color: var(--terra-2); }
.bundle-line { background: linear-gradient(135deg, #fff7f1, #f5faef); border: 1px solid #f0d9c5; border-radius: 16px; padding: 12px; margin: 8px 0; }
.bundle-kids { list-style: none; margin: 6px 0; padding: 6px 10px; border-inline-start: 3px solid #c4dfa9; font-size: .86rem; color: #5b5649; }
.bundle-kids li { display: flex; gap: 6px; align-items: baseline; }
.bundle-kids em { font-style: normal; color: var(--muted); }
.bundle-kids s { margin-inline-start: auto; color: #a49c8a; font-size: .8rem; }
.saving { background: #e3f0d6; color: var(--green); font-weight: 700; font-size: .85rem; border-radius: 10px; padding: 4px 10px; display: inline-block; margin: 2px 0 4px; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; }
.totals > div { display: flex; justify-content: space-between; }
.totals .disc { color: var(--green-2); font-weight: 700; }
.totals .grand { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: 8px; color: var(--green); }
.totals .free { color: var(--ok); }
.freebar { height: 8px; border-radius: 99px; background: #ece4cf; overflow: hidden; }
.freebar div { height: 100%; background: linear-gradient(90deg, var(--leaf), var(--green-2)); border-radius: 99px; transition: width .6s; }
.suggest { margin-top: 14px; padding: 14px; border-radius: 16px; background: #fffbe8; border: 1px dashed #e8cf7a; }
.suggest p { margin: 2px 0 8px; font-size: .9rem; }
.empty { text-align: center; padding: 40px 10px; }
.empty.big { padding: 80px 10px; }
.empty-pot { font-size: 4rem; animation: float 3s ease-in-out infinite; }
.flyer { position: fixed; z-index: 200; font-size: 2.2rem; pointer-events: none; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 8px #0004); }
.burst { position: fixed; z-index: 200; font-size: 1.7rem; pointer-events: none; }

/* ---------- contact dial ---------- */
.contact-dial { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cd-main { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25d366; color: #fff; font-size: 1.6rem; cursor: pointer; box-shadow: 0 14px 30px -10px #25d366cc; position: relative; transition: .3s; animation: fabIn .7s .2s cubic-bezier(.3,1.6,.5,1) both; }
.cd-main::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.cd-x { display: none; }
.contact-dial.open .cd-main { background: var(--green); transform: rotate(90deg); }
.contact-dial.open .cd-main::before { display: none; }
.contact-dial.open .cd-ic { display: none; } .contact-dial.open .cd-x { display: inline; }
.cd-items { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cd { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: .3s cubic-bezier(.3,1.5,.5,1); flex-direction: row-reverse; }
.cd svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; color: #fff; }
.cd.wa svg { background: #25d366; } .cd.ms svg { background: linear-gradient(135deg, #0084ff, #a033ff); } .cd.ph svg { background: var(--terra); }
.contact-dial.open .cd { opacity: 1; transform: none; pointer-events: auto; }
.contact-dial.open .cd:nth-child(2) { transition-delay: .05s; } .contact-dial.open .cd:nth-child(3) { transition-delay: .1s; }

/* ---------- sound ---------- */
.sound-panel { position: fixed; top: 74px; left: max(16px, calc((100vw - 1200px) / 2)); z-index: 90; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; width: 290px; border: 1px solid var(--line); animation: pageIn .25s; }
.sound-panel small { color: var(--muted); line-height: 1.5; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.switch input { display: none; }
.switch span { width: 42px; height: 24px; border-radius: 99px; background: #ddd5c0; position: relative; transition: .25s; flex-shrink: 0; }
.switch span::after { content: ''; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .25s; box-shadow: 0 2px 4px #0003; }
.switch input:checked + span { background: var(--green-2); }
.switch input:checked + span::after { right: 21px; }
input[type=range] { accent-color: var(--green-2); }
.sound-tip { position: fixed; top: 80px; left: 50%; transform: translate(-50%, -20px); opacity: 0; z-index: 95; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; transition: .4s; font-size: .95rem; }
.sound-tip.in { opacity: 1; transform: translate(-50%, 0); }
.sound-tip button { border: 0; border-radius: 10px; padding: 4px 12px; background: var(--leaf); color: var(--green); font-weight: 800; cursor: pointer; }
.sound-tip button.x { background: transparent; color: #fff; }

/* ---------- toasts / modal ---------- */
.toast-zone { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(420px, 92vw); pointer-events: none; }
.toast { background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); border-inline-start: 5px solid var(--green-2); opacity: 0; transform: translateY(-16px) scale(.96); transition: .35s cubic-bezier(.3,1.4,.5,1); }
.toast.in { opacity: 1; transform: none; }
.toast.err { border-color: var(--err); }
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: #1d2a1f66; opacity: 0; transition: .25s; padding: 16px; }
.modal.open { opacity: 1; }
.modal-card { background: var(--paper); border-radius: 24px; padding: 24px; width: min(560px, 100%); max-height: 90vh; overflow: auto; position: relative; }
.modal-x { position: absolute; top: 10px; left: 10px; }

/* ---------- forms / panels ---------- */
.panel { background: #fff; border-radius: 22px; padding: 20px; border: 1px solid var(--line); box-shadow: 0 6px 18px -14px #0003; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.summary { position: sticky; top: 130px; }
.sum-lines { max-height: 50vh; overflow: auto; margin-bottom: 10px; }
.panel h3 { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.num { width: 30px; height: 30px; border-radius: 50%; background: var(--green-2); color: #fff; display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; font-family: var(--font); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea, .inline input { padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); outline: none; transition: .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus, .inline input:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px #3f8f5a1f; background: #fff; }
.field input[readonly] { background: #f2eee2; }
.invalid { border-color: var(--err) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 75% { transform: translateX(-6px); } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { display: block; padding: 12px 14px; border-radius: 14px; background: #f7f3e8; border: 1px solid var(--line); margin: 8px 0 14px; font-size: .94rem; }
.note.ok { background: #eaf5e3; border-color: #c4dfa9; }
.note.info { background: #eef5fb; border-color: #cfe1f0; }
.note.warn { background: #fff4e0; border-color: #f0d49b; }
.acc-create { cursor: pointer; }
.acc-create .check { display: flex; align-items: center; gap: 8px; }
.acc-create input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--green-2); }
.acc-create small { display: block; color: var(--muted); margin: 2px 0 6px; }
.acc-create input[type=password] { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); width: 100%; margin-top: 6px; }
.inline { display: flex; gap: 8px; margin-top: 8px; }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.paycard { cursor: pointer; }
.paycard input { display: none; }
.paycard span { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); transition: .2s; height: 100%; }
.paycard small { color: var(--muted); }
.paycard input:checked + span { border-color: var(--green-2); background: #eef7e6; box-shadow: 0 0 0 4px #3f8f5a1a; transform: translateY(-2px); }

/* ---------- order page ---------- */
.order-page { display: grid; gap: 16px; }
.celebrate { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, #e3f0d6, #fbe3d6); }
.celebrate > span { font-size: 3.4rem; animation: float 3s ease-in-out infinite; }
.celebrate h2 { margin: 0; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-code { margin: 0; direction: ltr; text-align: right; display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); border: 1.5px solid color-mix(in srgb, var(--c) 40%, #fff); font-weight: 800; font-size: .92rem; white-space: nowrap; }
.status-pill.big { font-size: 1.2rem; padding: 10px 20px; }
.tracker { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); padding: 0; margin: 0; position: relative; }
.tracker li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; color: var(--muted); }
.tracker li::before { content: ''; position: absolute; top: 22px; right: 50%; width: 100%; height: 4px; background: #ece4cf; z-index: 0; }
.tracker li:first-child::before { display: none; }
.tracker li.done::before, .tracker li.now::before { background: var(--green-2); }
.tracker li span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #f4efe1; border: 3px solid #ece4cf; z-index: 1; font-size: 1.2rem; filter: grayscale(1); opacity: .6; transition: .4s; }
.tracker li.done span { background: #e3f0d6; border-color: var(--green-2); filter: none; opacity: 1; }
.tracker li.now span { background: #fff; border-color: var(--terra); filter: none; opacity: 1; animation: breathe 2s ease-in-out infinite; box-shadow: 0 0 0 6px #c8693f22; }
.tracker li.now small { color: var(--terra-2); font-weight: 800; }
.tracker li small { font-size: .8rem; line-height: 1.3; }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.step.done { border-color: #c4dfa9; }
.step h3 { margin-top: 0; }
.amount { color: var(--terra-2); }
.paybox { background: var(--paper); border: 1.5px dashed #c4dfa9; border-radius: 16px; padding: 14px; display: grid; gap: 6px; }
.copyrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copyrow b { font-size: 1.4rem; letter-spacing: 1px; color: var(--green); }
.drop { display: block; border: 2.5px dashed #c4dfa9; border-radius: 18px; padding: 18px; text-align: center; cursor: pointer; background: #f8fbf3; transition: .2s; margin-bottom: 12px; }
.drop:hover, .drop.over { background: #eef7e6; border-color: var(--green-2); transform: scale(1.01); }
.drop-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.drop-inner span { font-size: 2.6rem; }
.drop-inner small { color: var(--muted); }
.preview { max-height: 220px; border-radius: 12px; margin-inline: auto; box-shadow: var(--shadow); }
.send-btns { display: grid; gap: 8px; margin: 10px 0; }
.send-step.pulse { animation: glow 1.4s ease-in-out 3; }
@keyframes glow { 50% { box-shadow: 0 0 0 8px #25d36633; border-color: #25d366; } }
.order-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0 0 12px; border-inline-start: 3px solid #e3f0d6; }
.timeline li { padding: 4px 16px 10px; position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; right: -8px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--green-2); border: 3px solid #fff; }
.timeline small { color: #5b5649; }
.timeline em { font-style: normal; color: var(--muted); font-size: .8rem; }
.save-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; background: var(--paper); padding: 10px; border-radius: 12px; }
.loading-box { display: grid; place-items: center; min-height: 40vh; }
.spinner { width: 46px; height: 46px; border: 5px solid #e3f0d6; border-top-color: var(--green-2); border-radius: 50%; animation: spin .9s linear infinite; }

/* ---------- account ---------- */
.auth { max-width: 480px; margin: 20px auto; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f4efe1; border-radius: 14px; padding: 4px; margin-bottom: 16px; }
.tabs button { border: 0; background: transparent; padding: 10px; border-radius: 10px; cursor: pointer; font-weight: 700; color: var(--muted); transition: .2s; }
.tabs button.on { background: #fff; color: var(--green); box-shadow: 0 4px 10px -6px #0004; }
.acc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.acc-head h1 { margin: 0; }
.orders-list { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 14px; align-items: center; color: var(--ink); transition: .2s; padding: 14px 18px; }
.order-row:hover { transform: translateX(-4px); border-color: #c4dfa9; }
.warn-chip { font-style: normal; background: #fff4e0; color: var(--warn); padding: 2px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: #233f2b; color: #d8e5cc; padding: 50px 0 0; margin-top: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font); }
.site-footer a { display: block; color: #d8e5cc; padding: 2px 0; transition: .2s; }
.site-footer a:hover { color: var(--leaf); transform: translateX(-4px); }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer .muted { color: #9fb495; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 28px; }
.foot-bottom { text-align: center; padding: 16px; margin-top: 30px; border-top: 1px solid #ffffff1a; font-size: .9rem; padding-bottom: 100px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero, .detail, .checkout, .order-cols, .pots-banner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 240px; margin-inline: auto; }
  .detail-art, .summary { position: static; }
  .pay-steps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-row { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header-actions { margin-inline-start: auto; }
  .hbtn span { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; }
  .card h4 { font-size: .92rem; }
  .thumb-emoji { font-size: 3rem; }
  .btn-add { padding: 8px 10px; font-size: .88rem; }
  .bgrid { grid-template-columns: 1fr; }
  .row2, .paygrid { grid-template-columns: 1fr; }
  .tracker { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .tracker li:nth-child(4)::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr auto; }
  .pots-row { grid-template-columns: repeat(2, 1fr); }
  .cart-fab { left: 14px; bottom: 14px; }
  .contact-dial { right: 14px; bottom: 14px; }
  .sound-panel { left: 16px; right: 16px; width: auto; top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.bundle-line { flex-wrap: wrap; }
.bundle-line .cline-main { flex: 1 1 calc(100% - 80px); }
.bundle-line > .qty, .bundle-line > .qty-ro { margin-inline-start: auto; }
.drawer .bundle-kids li { flex-wrap: nowrap; }
