/* ==========================================================================
   NABTA — AI features
   --------------------------------------------------------------------------
   1. The shopping assistant (floating button + chat panel), every page
   2. "اعمل تركيبتك بنفسك" — the oil-blend builder page
   Kept apart from nabta.css, which is the ported design spec.
   ========================================================================== */

/* --- 1. assistant ---------------------------------------------------------- */

.ai { --ai-g: #176B3A; --ai-dg: #0E2A1B; --ai-gold: #B08D57; --ai-cream: #FCFAF5; --ai-beige: #F5EBD8; }
.ai[x-cloak] { display: block !important; }
.ai [x-cloak] { display: none !important; }

.ai-fab {
  position: fixed; z-index: 90; bottom: calc(20px + env(safe-area-inset-bottom)); inset-inline-end: 20px;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 18px;
  border: 0; border-radius: 9999px; cursor: pointer; color: #F5EBD8;
  background: linear-gradient(135deg, #176B3A, #0E2A1B 70%);
  box-shadow: 0 14px 34px rgba(14, 42, 27, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
  font: 600 15px/1 'IBM Plex Sans Arabic', system-ui, sans-serif;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), box-shadow .3s ease, padding .3s ease;
  animation: ai-fab-in .7s .6s both cubic-bezier(.2, .9, .3, 1.2);
}
.ai-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14, 42, 27, .42); }
.ai-fab-icon { animation: ai-twinkle 3.2s ease-in-out infinite; }
.ai-fab-close { display: none; }
.ai-fab.is-open { padding: 0; width: 58px; justify-content: center; }
.ai-fab.is-open .ai-fab-icon, .ai-fab.is-open .ai-fab-label, .ai-fab.is-open .ai-fab-ring { display: none; }
.ai-fab.is-open .ai-fab-close { display: block; }
.ai-fab-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(176, 141, 87, .7); animation: ai-ring 2.8s ease-out infinite; pointer-events: none; }

@keyframes ai-fab-in { from { opacity: 0; transform: translateY(30px) scale(.8); } }
@keyframes ai-ring { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes ai-twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(12deg) scale(1.12); } }

.ai-panel {
  position: fixed; z-index: 95; bottom: calc(92px + env(safe-area-inset-bottom)); inset-inline-end: 20px;
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ai-cream); border-radius: 22px; border: 1px solid rgba(14, 42, 27, .08);
  box-shadow: 0 30px 80px rgba(14, 42, 27, .3), 0 4px 14px rgba(14, 42, 27, .08);
  transform-origin: bottom left;
}
[dir="ltr"] .ai-panel { transform-origin: bottom right; }
.ai-enter, .ai-leave { transition: opacity .32s ease, transform .42s cubic-bezier(.2, .9, .3, 1.1); }
.ai-enter-start { opacity: 0; transform: translateY(18px) scale(.92); }
.ai-enter-end { opacity: 1; transform: none; }

.ai-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 10px;
  background: linear-gradient(135deg, #0E2A1B, #176B3A); color: #F5EBD8;
}
.ai-avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: #F5EBD8; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(245, 235, 216, .18); }
.ai-avatar img { width: 30px; height: auto; }
.ai-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ai-title strong { font-size: 16px; }
.ai-title small { font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7CD992; margin-inline-end: 3px; box-shadow: 0 0 0 0 rgba(124, 217, 146, .7); animation: ai-live 2s infinite; }
@keyframes ai-live { 70% { box-shadow: 0 0 0 7px rgba(124, 217, 146, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 217, 146, 0); } }
.ai-icon-btn { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(245, 235, 216, .12); color: inherit; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.ai-icon-btn:hover { background: rgba(245, 235, 216, .25); }

.ai-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth;
  background: radial-gradient(circle at 100% 0, rgba(176, 141, 87, .08), transparent 40%), var(--ai-cream); }
.ai-msg { display: flex; flex-direction: column; max-width: 90%; }
.ai-msg--user { align-self: flex-end; align-items: flex-end; }
.ai-msg--bot { align-self: flex-start; }
.ai-in { animation: ai-msg-in .42s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes ai-msg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }

.ai-bubble { padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.75; color: #1d2b21; background: #fff; border: 1px solid rgba(14, 42, 27, .07); box-shadow: 0 2px 8px rgba(14, 42, 27, .04); word-break: break-word; }
.ai-msg--bot .ai-bubble { border-start-start-radius: 6px; }
.ai-msg--user .ai-bubble { background: var(--ai-g); color: #fff; border-color: transparent; border-start-end-radius: 6px; }
.ai-bubble p { margin: 0; }
.ai-bubble ul { margin: 4px 0; padding-inline-start: 18px; }
.ai-bubble li { margin: 2px 0; }
.ai-bubble li::marker { color: var(--ai-gold); }
.ai-bubble strong { color: var(--ai-dg); }
.ai-msg--user .ai-bubble strong { color: #fff; }
.ai-bubble--error { background: #FFF4F2; border-color: #F0D0C8; color: #8A3B2E; }

.ai-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.ai-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ai-gold); animation: ai-bounce 1.2s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }

.ai-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; width: 100%; }
.ai-card { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: #fff; border-radius: 14px; border: 1px solid rgba(14, 42, 27, .08); animation: ai-msg-in .5s both cubic-bezier(.2, .9, .3, 1.1); transition: border-color .2s, transform .2s; }
.ai-card:hover { border-color: rgba(23, 107, 58, .35); transform: translateY(-1px); }
.ai-card-img { width: 54px; height: 54px; border-radius: 10px; background: var(--ai-beige); display: grid; place-items: center; overflow: hidden; }
.ai-card-img img { width: 86%; height: 86%; object-fit: contain; }
.ai-card-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ai-card-name { font-size: 13.5px; font-weight: 600; color: var(--ai-dg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-card-price { font-size: 12px; color: var(--ai-g); font-weight: 600; }
.ai-card-add { border: 0; border-radius: 9999px; padding: 8px 12px; background: var(--ai-beige); color: var(--ai-dg); font: 600 12.5px/1 inherit; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.ai-card-add:hover:not(:disabled) { background: var(--ai-g); color: #fff; }
.ai-card-add:disabled { opacity: .55; cursor: not-allowed; }

.ai-suggest { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 10px; scrollbar-width: none; }
.ai-suggest::-webkit-scrollbar { display: none; }
.ai-suggest button { flex: 0 0 auto; border: 1px solid rgba(23, 107, 58, .25); background: #fff; color: var(--ai-g); border-radius: 9999px; padding: 8px 13px; font: 500 13px/1 inherit; cursor: pointer; transition: all .2s; }
.ai-suggest button:hover { background: var(--ai-g); color: #fff; }

.ai-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(14, 42, 27, .08); background: #fff; }
.ai-form textarea { flex: 1; resize: none; border: 1px solid rgba(14, 42, 27, .12); border-radius: 16px; padding: 11px 14px; font: 400 14.5px/1.5 inherit; max-height: 110px; background: var(--ai-cream); color: var(--ai-dg); transition: border-color .2s, box-shadow .2s; }
.ai-form textarea:focus { outline: none; border-color: var(--ai-g); box-shadow: 0 0 0 3px rgba(23, 107, 58, .12); }
.ai-send { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ai-g); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .2s, background .2s; }
.ai-send:hover:not(:disabled) { transform: scale(1.06); background: var(--ai-dg); }
.ai-send:disabled { background: rgba(14, 42, 27, .2); cursor: not-allowed; }
[dir="ltr"] .ai-send svg { transform: scaleX(-1); }
.ai-note { margin: 0; padding: 0 14px 10px; background: #fff; font-size: 11px; color: #8a7a6c; text-align: center; }

@media (max-width: 640px) {
  .ai-fab { bottom: calc(14px + env(safe-area-inset-bottom)); inset-inline-end: 14px; height: 52px; padding: 0 16px 0 14px; font-size: 14px; }
  .ai-fab.is-open { width: 52px; }
  .ai-panel { inset: auto 0 0 0; width: 100%; height: 88dvh; border-radius: 22px 22px 0 0; bottom: 0; }
  .ai-fab.is-open { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ai *, .blend * { animation: none !important; transition: none !important; }
}

/* --- 2. oil-blend builder ------------------------------------------------- */

.blend { --b-g: #176B3A; --b-dg: #0E2A1B; --b-gold: #B08D57; --b-beige: #F5EBD8; --b-cream: #FCFAF5; }

.blend-hero { position: relative; overflow: hidden; padding: clamp(120px, 15vw, 170px) clamp(16px, 4vw, 60px) clamp(60px, 8vw, 100px);
  background: radial-gradient(ellipse at 15% 20%, rgba(176, 141, 87, .35), transparent 55%), radial-gradient(ellipse at 90% 90%, rgba(23, 107, 58, .55), transparent 60%), #0E2A1B; color: #F5EBD8; }
.blend-hero-inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.blend-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; color: var(--b-gold); font-weight: 600; }
.blend-hero h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; animation: blend-rise .9s .1s both cubic-bezier(.2, .9, .3, 1); }
.blend-hero h1 span { background: linear-gradient(90deg, #E7C98B, #B08D57, #E7C98B); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: blend-shimmer 5s linear infinite; }
.blend-lead { margin: 20px 0 0; max-width: 56ch; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.9; font-weight: 300; color: rgba(245, 235, 216, .85); animation: blend-rise .9s .25s both cubic-bezier(.2, .9, .3, 1); }
.blend-hero-bottle { display: flex; justify-content: center; animation: blend-rise 1s .35s both cubic-bezier(.2, .9, .3, 1); }
@keyframes blend-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes blend-shimmer { to { background-position: 200% center; } }

.blend-drops { position: absolute; inset: 0; pointer-events: none; }
/* Oil drops falling through the hero. A rounded square with one sharp
   corner, turned so the point is UP and the round belly down — a real drop —
   gathering, then falling faster and faster (gravity), fading as it goes. */
.blend-drops span { position: absolute; top: -40px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  background: radial-gradient(circle at 40% 62%, rgba(255, 244, 205, .95), rgba(214, 170, 92, .75) 45%, rgba(150, 105, 45, .6)); box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  opacity: 0; animation: blend-drip var(--d) var(--delay) infinite; }
@keyframes blend-drip {
  0% { transform: translateY(0) rotate(-45deg) scale(.3); opacity: 0; animation-timing-function: ease-out; }
  14% { transform: translateY(6px) rotate(-45deg) scale(1); opacity: .75; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  100% { transform: translateY(85vh) rotate(-45deg) scale(1, 1.08); opacity: 0; }
}

/* The bottle — HTML, so its liquid can be stacked layers that animate. */
.bottle { position: relative; display: flex; flex-direction: column; align-items: center; }
.bottle-cap { width: 46px; height: 26px; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #6B4630, #A0714F 45%, #6B4630); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.bottle-neck { width: 34px; height: 30px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .5) 40%, rgba(255, 255, 255, .2)); border-inline: 1px solid rgba(255, 255, 255, .45); }
.bottle-body { position: relative; width: 170px; height: 230px; border-radius: 34px 34px 40px 40px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .32) 35%, rgba(255, 255, 255, .1));
  border: 2px solid rgba(255, 255, 255, .55); box-shadow: inset 0 0 30px rgba(255, 255, 255, .15), 0 30px 60px rgba(0, 0, 0, .25); backdrop-filter: blur(2px); }
.bottle-shine { position: absolute; top: 18px; inset-inline-start: 18px; width: 18px; height: 70%; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); pointer-events: none; }
.bottle-liquid { position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(180deg, #E7C98B, #B08D57 60%, #8E6A35); animation: blend-wave 4s ease-in-out infinite; }
.bottle-liquid::before { content: ''; position: absolute; top: -10px; left: -10%; width: 120%; height: 20px; border-radius: 50%; background: #F0D79E; opacity: .9; }
@keyframes blend-wave { 50% { transform: translateY(6px); } }
.bottle--hero { animation: blend-bob 5s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }
@keyframes blend-bob { 50% { transform: translateY(-14px) rotate(-2deg); } }

.blend-main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 60px) clamp(60px, 8vw, 110px); }

.blend-card { background: #fff; border: 1px solid rgba(14, 42, 27, .08); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px rgba(14, 42, 27, .07); }
.blend-ask { position: relative; margin-top: clamp(-60px, -6vw, -40px); animation: blend-rise .8s .45s both cubic-bezier(.2, .9, .3, 1); }
.blend-label { display: block; margin-bottom: 10px; font-size: 17px; font-weight: 700; color: var(--b-dg); }
.blend-label--inline { display: inline; margin: 0 6px 0 0; font-size: 14px; }
.blend-ask textarea { width: 100%; resize: vertical; min-height: 110px; padding: 16px 18px; border: 1.5px solid rgba(14, 42, 27, .14); border-radius: 16px; font: 400 16px/1.7 inherit; color: var(--b-dg); background: var(--b-cream); transition: border-color .25s, box-shadow .25s; }
.blend-ask textarea:focus { outline: none; border-color: var(--b-g); box-shadow: 0 0 0 4px rgba(23, 107, 58, .1); }
.blend-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.blend-ideas button { border: 1px dashed rgba(176, 141, 87, .7); background: #FFFBF2; color: #6B4630; border-radius: 9999px; padding: 8px 14px; font: 500 13.5px/1 inherit; cursor: pointer; transition: all .2s; }
.blend-ideas button:hover:not(:disabled) { border-style: solid; background: var(--b-gold); color: #fff; transform: translateY(-1px); }
.blend-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.blend-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.blend-sizes button { border: 1.5px solid rgba(14, 42, 27, .14); background: #fff; border-radius: 12px; padding: 9px 14px; font: 600 14px/1 inherit; color: var(--b-dg); cursor: pointer; transition: all .2s; }
.blend-sizes button[aria-checked="true"] { border-color: var(--b-g); background: rgba(23, 107, 58, .08); color: var(--b-g); }
.blend-go { position: relative; overflow: hidden; border: 0; border-radius: 9999px; padding: 16px 30px; min-width: 200px; font: 700 16px/1 inherit; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #1E8449, #0E2A1B); box-shadow: 0 14px 30px rgba(23, 107, 58, .35); transition: transform .25s, box-shadow .25s; }
.blend-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); animation: blend-sheen 3.5s 1.5s infinite; }
@keyframes blend-sheen { 40%, 100% { transform: translateX(120%); } }
.blend-go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(23, 107, 58, .45); }
.blend-go:disabled { background: rgba(14, 42, 27, .25); box-shadow: none; cursor: not-allowed; }
.blend-go:disabled::after { display: none; }
.blend-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #FFF4F2; color: #8A3B2E; font-size: 14px; }

.blend-loading { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 34px 0 6px; }
.bottle--pour .bottle-body { width: 120px; height: 160px; border-color: rgba(23, 107, 58, .35); background: linear-gradient(90deg, rgba(23, 107, 58, .04), rgba(23, 107, 58, .1) 35%, rgba(23, 107, 58, .03)); }
.bottle--pour .bottle-neck { border-color: rgba(23, 107, 58, .3); background: rgba(23, 107, 58, .06); }
.bottle-liquid--rise { animation: blend-fill 9s ease-out forwards, blend-wave 3s ease-in-out infinite; height: 0; }
@keyframes blend-fill { to { height: 78%; } }
.pour-drop { position: absolute; top: -60px; width: 13px; height: 13px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: radial-gradient(circle at 40% 62%, #FBEBC0, #D9AE5F 50%, #A97C3A); animation: blend-pour 1.4s calc(var(--i) * .45s) infinite; z-index: 2; }
@keyframes blend-pour {
  0% { transform: translateY(0) rotate(-45deg) scale(.3); opacity: 0; animation-timing-function: ease-out; }
  18% { transform: translateY(4px) rotate(-45deg) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  88% { opacity: 1; }
  100% { transform: translateY(150px) rotate(-45deg) scale(1, 1.1); opacity: 0; }
}
.blend-loading-text { margin: 0; font-size: 15px; color: var(--b-g); font-weight: 600; animation: blend-pulse 1.6s ease-in-out infinite; }
@keyframes blend-pulse { 50% { opacity: .55; } }

.blend-result { padding-top: clamp(28px, 4vw, 44px); animation: blend-rise .7s both cubic-bezier(.2, .9, .3, 1); }
.blend-result-head { text-align: center; max-width: 720px; margin: 0 auto clamp(26px, 4vw, 40px); }
.blend-result-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--b-dg); line-height: 1.25; }
.blend-intro { margin: 14px 0 0; font-size: 16px; line-height: 1.9; color: #3A483D; }
.blend-for { margin: 10px 0 0; font-size: 13px; color: #6B4630; }

.blend-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.blend-visual { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 0; border-radius: 26px;
  background: radial-gradient(circle at 50% 30%, #fff, var(--b-beige) 75%); }
.bottle--result .bottle-body { width: 180px; height: 250px; border-color: rgba(14, 42, 27, .18); background: linear-gradient(90deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .95) 35%, rgba(255, 255, 255, .5)); }
.bottle--result .bottle-neck { border-color: rgba(14, 42, 27, .15); background: rgba(255, 255, 255, .7); }
.bottle-layers { position: absolute; inset: 0; display: flex; flex-direction: column-reverse; }
.bottle-layer { width: 100%; height: 0; transition: height 1.1s cubic-bezier(.35, .9, .3, 1); box-shadow: inset 0 6px 8px -6px rgba(255, 255, 255, .55); opacity: .92; }
.bottle-layer:last-child { border-radius: 50% 50% 0 0 / 10px 10px 0 0; }
.blend-total { margin: 0; font-size: 15px; color: #6B4630; }
.blend-total strong { font-size: 22px; color: var(--b-dg); margin-inline-end: 4px; }

.blend-oils { display: flex; flex-direction: column; gap: 14px; }
.blend-oil { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px; background: #fff; border-radius: 20px; border: 1px solid rgba(14, 42, 27, .07);
  border-inline-start: 5px solid var(--c); box-shadow: 0 10px 30px rgba(14, 42, 27, .05); animation: blend-rise .6s both cubic-bezier(.2, .9, .3, 1); }
.blend-oil-img { width: 76px; height: 76px; border-radius: 14px; background: var(--b-beige); display: grid; place-items: center; overflow: hidden; }
.blend-oil-img img { width: 84%; height: 84%; object-fit: contain; }
.blend-oil-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.blend-oil-name { font-size: 17px; font-weight: 700; color: var(--b-dg); }
.blend-oil-ml { font-size: 20px; color: var(--c); white-space: nowrap; filter: brightness(.8); }
.blend-bar { height: 8px; margin: 10px 0; border-radius: 9999px; background: rgba(14, 42, 27, .07); overflow: hidden; }
.blend-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c); transition: width 1.1s cubic-bezier(.35, .9, .3, 1); }
.blend-oil-why { margin: 0; font-size: 14px; line-height: 1.8; color: #3A483D; }
.blend-oil-buy { margin: 8px 0 0; font-size: 13px; color: #6B4630; }

.blend-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: clamp(26px, 4vw, 40px); }
.blend-how h3 { margin: 0 0 10px; font-size: 17px; color: var(--b-dg); }
.blend-how p, .blend-how li { font-size: 14.5px; line-height: 1.9; color: #3A483D; margin: 0; }
.blend-how ol { margin: 0; padding-inline-start: 20px; }
.blend-how li::marker { color: var(--b-gold); font-weight: 700; }
.blend-warn { background: #FFFBF2; border-color: rgba(176, 141, 87, .35); }

.blend-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(26px, 4vw, 40px); padding: 20px; border-radius: 22px; background: var(--b-beige); }
.blend-buy-total { display: flex; flex-direction: column; margin-inline-end: auto; }
.blend-buy-total small { font-size: 13px; color: #6B4630; }
.blend-buy-total strong { font-size: 26px; color: var(--b-g); }
.blend-buy .btn-primary, .blend-buy .btn-ghost { min-width: 200px; }
.blend-disclaimer { margin: 16px auto 0; max-width: 760px; text-align: center; font-size: 12.5px; line-height: 1.8; color: #8a7a6c; }
.blend-none { text-align: center; }
.blend-none p { margin: 0 0 16px; font-size: 16px; }

.blend-palette { margin-top: clamp(36px, 5vw, 56px); }
.blend-palette h2 { margin: 0 0 14px; font-size: 18px; color: var(--b-dg); }
.blend-palette-list { display: flex; flex-wrap: wrap; gap: 10px; }
.blend-chip { padding: 10px 16px; border-radius: 9999px; background: #fff; border: 1px solid rgba(14, 42, 27, .1); color: var(--b-dg); font-size: 14px; font-weight: 500;
  animation: blend-rise .5s calc(.5s + var(--i) * 40ms) both; transition: all .2s; }
.blend-chip::before { content: '●'; margin-inline-end: 7px; color: var(--b-gold); font-size: 10px; }
.blend-chip:hover { border-color: var(--b-g); color: var(--b-g); transform: translateY(-2px); }

.blend-empty { margin-top: 40px; text-align: center; padding: 50px 20px; background: #fff; border-radius: 22px; border: 1px dashed rgba(14, 42, 27, .2); }
.blend-empty h2 { margin: 0 0 10px; }
.blend-empty p { margin: 0 0 20px; color: #3A483D; }

@media (max-width: 860px) {
  .blend-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .blend-lead { margin-inline: auto; }
  .blend-hero-bottle { order: -1; transform: scale(.7); margin: -40px 0 -50px; }
  .blend-grid { grid-template-columns: 1fr; }
  .blend-visual { position: static; }
  .blend-row { flex-direction: column; align-items: stretch; }
  .blend-go { width: 100%; }
  .blend-buy-total { margin: 0 auto; align-items: center; }
  .blend-buy .btn-primary, .blend-buy .btn-ghost { flex: 1 1 100%; }
  .blend-oil { grid-template-columns: 58px 1fr; padding: 12px; }
  .blend-oil-img { width: 58px; height: 58px; }
}
