/* Deshi Drop — deals carousel styles */
  /* ===== DEALS CAROUSEL ===== */
  .deals { padding: 14px 14px 6px; }
  .deals .wrap { padding: 0; }
  .cs { position: relative; --cs-iv: 6500ms; }
  .cs-track {
    display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 26px;
    box-shadow: 0 14px 34px rgba(20,79,44,.2); transition: opacity .18s ease;
  }
  .cs-track::-webkit-scrollbar { display: none; }
  .cs-track:focus-visible { outline: 3px solid var(--fm-accent-dark); outline-offset: 3px; }
  .cs.swap .cs-track { opacity: 0; }

  .cs-slide {
    position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; flex-direction: column; min-height: 440px; padding: 26px 22px 0; overflow: hidden; isolation: isolate; color: #fff;
    --cs-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.3'%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Crect x='14' y='14' width='28' height='28' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
  }
  /* quiet 8-point-star lattice, fading in from the right */
  .cs-slide::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--cs-pat); opacity: .13;
    -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 100%); mask-image: linear-gradient(115deg, transparent 25%, #000 100%);
  }
  .cs-s1 { background: radial-gradient(120% 90% at 100% 0%, #2f8a52 0%, rgba(47,138,82,0) 60%), linear-gradient(135deg, #144f2c 0%, #1c6b3c 100%); }
  .cs-s2 { background: radial-gradient(110% 90% at 0% 0%, #fff8ea 0%, rgba(255,248,234,0) 55%), linear-gradient(135deg, #f1e7d3 0%, #e2d3b6 100%); color: #24231f;
    --cs-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%231c6b3c' stroke-width='1.3'%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Crect x='14' y='14' width='28' height='28' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E"); }
  .cs-s3 { background: linear-gradient(135deg, #e6f2e9 0%, #b9e1c6 100%); color: #0f3d21;
    --cs-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%231c6b3c' stroke-width='1.3'%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Crect x='14' y='14' width='28' height='28' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E"); }
  .cs-s4 { background: radial-gradient(110% 90% at 100% 0%, #e0524a 0%, rgba(224,82,74,0) 55%), linear-gradient(135deg, #9d1822 0%, #c8202f 100%); }
  .cs-s6 { background: radial-gradient(110% 90% at 100% 0%, #31b0cf 0%, rgba(49,176,207,0) 58%), linear-gradient(135deg, #0b4d6b 0%, #137a9c 100%); }
  .cs-s5 { background: radial-gradient(110% 90% at 0% 100%, #1c6b3c 0%, rgba(28,107,60,0) 60%), linear-gradient(135deg, #24231f 0%, #17261d 100%); color: #f3ece0; }

  .cs-copy { position: relative; z-index: 2; max-width: 540px; }
  .cs-tag { display: inline-block; padding: 5px 13px; border-radius: 999px; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.4); font: 700 12.5px/1.2 'Inter', sans-serif; }
  .cs-s2 .cs-tag, .cs-s3 .cs-tag { background: rgba(28,107,60,.1); border-color: rgba(28,107,60,.35); color: #144f2c; }
  .cs-h { margin: 12px 0 8px; font: 800 clamp(27px, 7.6vw, 44px)/1.08 'Manrope', sans-serif; letter-spacing: -.8px; text-wrap: balance; }
  .cs-p { margin: 0 0 18px; max-width: 430px; font: 500 15px/1.55 'Inter', sans-serif; opacity: .93; }
  .cs-cta {
    display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 999px; background: #fff; color: #144f2c;
    font: 700 14px/1 'Inter', sans-serif; box-shadow: 0 6px 16px rgba(0,0,0,.22); transition: transform .2s ease, box-shadow .2s ease;
  }
  .cs-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.26); }
  .cs-cta:active { transform: scale(.97); }
  .cs-cta:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
  .cs-s2 .cs-cta, .cs-s3 .cs-cta { background: #1c6b3c; color: #fff; }
  .cs-s4 .cs-cta { color: #a1181f; }
  .cs-s6 .cs-cta { color: #0b4d6b; }
  .cs-s5 .cs-cta { color: #24231f; }

  /* art side: product photos in arch frames rising from the bottom edge, red hang-tag price */
  .cs-art { position: relative; z-index: 1; margin-top: auto; display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding-top: 20px; }
  .cs-art.sit { padding-bottom: 18px; align-items: center; }
  .cs-arch {
    position: relative; flex: 0 1 30%; max-width: 112px; overflow: hidden; border-radius: 999px 999px 0 0; background: rgba(255,255,255,.2);
    border: 3px solid rgba(255,255,255,.92); border-bottom: 0; box-shadow: 0 -6px 22px rgba(0,0,0,.18);
  }
  .cs-s2 .cs-arch, .cs-s3 .cs-arch { border-color: #fff; }
  .cs-arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .cs-arch.t1 { height: 116px; } .cs-arch.t2 { height: 156px; } .cs-arch.t3 { height: 128px; }
  /* animated fish (coming-soon fish slide) */
  .cs-fisharch { background: rgba(255,255,255,.14); display: grid; place-items: center; }
  .cs-fish { width: 118%; max-width: none; height: auto; margin-top: 6px; overflow: visible; }
  .cs-fish .bub { fill: rgba(255,255,255,.6); }
  .cs-fish .ftail { transform-box: fill-box; transform-origin: 0% 50%; }
  .cs-fish .fsw { transform-box: fill-box; transform-origin: 50% 50%; }
  /* coming-soon buttons: outlined, quieter than a live "Shop" button */
  .cs-soon-cta { background: transparent !important; color: inherit !important; box-shadow: none !important; border: 2px solid currentColor; padding-top: 10px; padding-bottom: 10px; }
  .cs-soon-cta::after { content: "→"; margin-inline-start: 8px; transition: transform .2s ease; }
  .cs-soon-cta:hover { background: rgba(255,255,255,.18) !important; }
  .cs-s3 .cs-soon-cta:hover { background: rgba(28,107,60,.1) !important; }
  html[dir="rtl"] .cs-soon-cta::after { content: "←"; }
  .cs-s3 .cs-soon-cta { color: #144f2c !important; }
  .cs-maparch { flex: 0 1 46%; max-width: 170px; height: 164px; display: grid; place-items: center; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); }
  .cs-pin { position: relative; width: 62px; height: auto; margin-top: 18px; }
  .cs-ring { position: absolute; left: 50%; top: 56%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); }

  .cs-price {
    position: absolute; top: -2px; right: 1%; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    padding: 8px 14px 8px 21px; background: #c8202f; color: #fff; transform: rotate(5deg);
    clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); filter: drop-shadow(0 4px 6px rgba(0,0,0,.25));
  }
  .cs-price .pl { font: 600 11.5px/1.2 'Inter', sans-serif; }
  .cs-price .pv { display: inline-flex; align-items: baseline; gap: 2px; }
  .cs-price b { font: 800 20px/1.1 'Manrope', sans-serif; letter-spacing: -.3px; }
  .cs-price small { font: 600 11px/1 'Inter', sans-serif; }
  .cs-s4 .cs-price { background: #fff; color: #a1181f; }

  .cs-truck { width: min(80%, 310px); height: auto; display: block; }
  .cs-badge {
    position: absolute; top: -2px; right: 3%; z-index: 3; width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; text-align: center;
    background: #c8202f; color: #fff; transform: rotate(-12deg); box-shadow: inset 0 0 0 3px rgba(255,255,255,.75), 0 6px 14px rgba(0,0,0,.28);
  }
  .cs-badge b { font: 800 21px/1 'Manrope', sans-serif; }
  .cs-badge small { margin-top: 2px; font: 700 11px/1 'Inter', sans-serif; }

  /* controls */
  .cs-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
  .cs-nav {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: #fff; color: var(--fm-accent-dark); border: 1.5px solid var(--fm-accent); transition: background .2s ease, color .2s ease, transform .15s ease;
  }
  .cs-nav:hover { background: var(--fm-accent); color: #fff; }
  .cs-nav:active { transform: scale(.92); }
  .cs-nav:focus-visible, .cs-dot:focus-visible { outline: 3px solid var(--fm-accent-dark); outline-offset: 2px; }
  .cs-pp .i-play { display: none; }
  .cs-pp.is-paused .i-play { display: block; } .cs-pp.is-paused .i-pause { display: none; }
  .cs.no-auto .cs-pp { display: none; }
  .cs-dots { display: flex; align-items: center; }
  .cs-dot { padding: 15px 4px; border: 0; background: none; cursor: pointer; }
  .cs-pip { position: relative; display: block; width: 10px; height: 10px; overflow: hidden; border-radius: 999px; background: rgba(20,79,44,.25); transition: width .35s ease; }
  .cs-pip::after { content: ""; position: absolute; inset: 0; background: var(--fm-accent); transform-origin: left center; transform: scaleX(0); }
  .cs-dot.on .cs-pip { width: 36px; }
  .cs-dot.on .cs-pip::after { transform: scaleX(1); }
  .cs.run .cs-dot.on .cs-pip::after { animation: csFill var(--cs-iv) linear both; }
  @keyframes csFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Arabic: slide content flows right-to-left while the slider mechanics stay left-to-right */
  html[dir="rtl"] .cs-slide { direction: rtl; }
  html[dir="rtl"] .cs-price { right: auto; left: 1%; padding: 8px 21px 8px 14px; transform: rotate(-5deg); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%); }
  html[dir="rtl"] .cs-badge { right: auto; left: 3%; transform: rotate(12deg); }
  :lang(ar) .cs-tag, :lang(ar) .cs-h, :lang(ar) .cs-p, :lang(ar) .cs-cta, :lang(ar) .cs-price .pl, :lang(ar) .cs-price small, :lang(ar) .cs-badge b, :lang(ar) .cs-badge small { font-family: 'Noto Sans Arabic', 'Inter', sans-serif; letter-spacing: 0; }
  :lang(bn) .cs-tag, :lang(bn) .cs-h, :lang(bn) .cs-p, :lang(bn) .cs-cta, :lang(bn) .cs-price .pl, :lang(bn) .cs-price small, :lang(bn) .cs-badge b, :lang(bn) .cs-badge small { font-family: 'Noto Sans Bengali', 'Inter', sans-serif; letter-spacing: 0; }
  :lang(ar) .cs-h, :lang(bn) .cs-h { line-height: 1.3; }

  @media (max-width: 380px) {
    .cs-slide { padding: 22px 18px 0; min-height: 430px; }
    .cs-arch.t1 { height: 104px; } .cs-arch.t2 { height: 140px; } .cs-arch.t3 { height: 116px; }
    .cs-price b { font-size: 18px; } .cs-badge { width: 74px; height: 74px; } .cs-badge b { font-size: 18px; }
  }
  @media (min-width: 760px) {
    .deals { padding: 22px 20px 8px; }
    .cs-slide { flex-direction: row; align-items: center; gap: 24px; min-height: 410px; padding: 0 clamp(36px, 6vw, 72px); }
    .cs-copy { flex: 1 1 50%; }
    .cs-h { font-size: clamp(36px, 4.4vw, 50px); }
    .cs-p { font-size: 17px; margin-bottom: 24px; }
    .cs-cta { padding: 14px 30px; font-size: 15px; }
    .cs-art { flex: 0 0 44%; margin: 0; padding-top: 0; align-self: flex-end; gap: 14px; }
    .cs-art.sit { align-self: center; padding-bottom: 0; }
    .cs-arch { flex: 0 0 auto; width: 132px; max-width: none; }
    .cs-arch.t1 { height: 196px; } .cs-arch.t2 { height: 262px; } .cs-arch.t3 { height: 216px; }
    .cs-maparch { width: 190px; height: 250px; }
    .cs-pin { width: 82px; margin-top: 26px; } .cs-ring { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
    .cs-price { top: 6px; padding: 10px 16px 10px 24px; } .cs-price b { font-size: 26px; } .cs-price .pl { font-size: 13px; }
    .cs-truck { width: min(100%, 400px); }
    .cs-badge { width: 100px; height: 100px; top: 0; } .cs-badge b { font-size: 25px; }
  }

  @media (prefers-reduced-motion: no-preference) {
    .cs-slide.is-active .cs-fish .fsw { animation: csSwim 3.4s ease-in-out infinite; }
    .cs-slide.is-active .cs-fisharch.t2 .fsw { animation-duration: 4s; animation-delay: -1.2s; }
    .cs-slide.is-active .cs-fisharch.t3 .fsw { animation-duration: 3s; animation-delay: -.6s; }
    .cs-slide.is-active .cs-fish .ftail { animation: csTail .7s ease-in-out infinite alternate; }
    .cs-slide.is-active .cs-fish .bub { animation: csBub 3s ease-in infinite; }
    .cs-slide.is-active .cs-fish .b2 { animation-delay: .9s; } .cs-slide.is-active .cs-fish .b3 { animation-delay: 1.8s; }
    @keyframes csSwim { 0%,100% { transform: translate(-5px, 4px) rotate(-2deg); } 50% { transform: translate(7px, -6px) rotate(2deg); } }
    @keyframes csTail { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
    @keyframes csBub { 0% { transform: translateY(14px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }
    .cs-slide.is-active .cs-arch { animation: csArch .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.08s + var(--k, 0) * .09s); }
    .cs-slide.is-active .cs-price { animation: csTag .7s cubic-bezier(.2,1.3,.4,1) .45s both; }
    .cs-slide.is-active .cs-badge { animation: csStamp .65s cubic-bezier(.2,1.4,.4,1) .3s both; }
    .cs-slide.is-active .cs-truck { animation: csDrive .9s cubic-bezier(.2,.8,.2,1) both; }
    .cs-slide.is-active .cs-fish { animation: csSwim 3.4s ease-in-out .9s infinite alternate; }
    .cs-slide.is-active .cs-ring { animation: csRing 2.6s ease-out infinite; }
    .cs-slide.is-active .cs-ring:nth-child(2) { animation-delay: .85s; } .cs-slide.is-active .cs-ring:nth-child(3) { animation-delay: 1.7s; }
    .cs-slide.is-active .cs-pin { animation: csPin 2.2s ease-in-out infinite; }
    @keyframes csArch { from { transform: translateY(46%); } to { transform: none; } }
    @keyframes csTag { from { opacity: 0; transform: rotate(5deg) scale(.5); } to { opacity: 1; transform: rotate(5deg) scale(1); } }
    @keyframes csStamp { from { opacity: 0; transform: rotate(14deg) scale(1.9); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
    @keyframes csDrive { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
    @keyframes csSwim { to { transform: translateX(6px) translateY(-4px) rotate(2deg); } }
    @keyframes csRing { from { transform: scale(.5); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
    @keyframes csPin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    html[dir="rtl"] .cs-slide.is-active .cs-price { animation-name: csTagRtl; }
    html[dir="rtl"] .cs-slide.is-active .cs-badge { animation-name: csStampRtl; }
    @keyframes csTagRtl { from { opacity: 0; transform: rotate(-5deg) scale(.5); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
    @keyframes csStampRtl { from { opacity: 0; transform: rotate(-14deg) scale(1.9); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
  }

/* offer slides: chicken (buy 5 get 1), koliza (free with 100 lb), catering */
.cs-s7 { background: radial-gradient(110% 90% at 100% 0%, #f7c948 0%, rgba(247,201,72,0) 55%), linear-gradient(135deg, #144f2c 0%, #1c6b3c 100%); }
.cs-s8 { background: radial-gradient(110% 90% at 0% 0%, #e8b84a 0%, rgba(232,184,74,0) 50%), linear-gradient(135deg, #7a1620 0%, #a1181f 100%); }
.cs-s9 { background: radial-gradient(110% 90% at 100% 100%, #2f8a52 0%, rgba(47,138,82,0) 60%), linear-gradient(135deg, #1b2a20 0%, #123d24 100%); }
.cs-s7 .cs-cta { color: #144f2c; } .cs-s8 .cs-cta { color: #8a131b; } .cs-s9 .cs-cta { color: #123d24; }
.cs-s7 .cs-price, .cs-s8 .cs-price { background: #f7c948; color: #24231f; }

/* ---- button animation layer (js/anim.js) ---- */
.ga-layer { position: fixed; inset: 0; z-index: 320; pointer-events: none; overflow: hidden; }
.ga-sp { position: absolute; width: var(--w); left: 0; bottom: calc(14vh + var(--y, 0%)); transform: translateX(-30vw); opacity: 0; animation: gaRun var(--dur) cubic-bezier(.3,.1,.3,1) var(--d) both; filter: drop-shadow(0 8px 10px rgba(0,0,0,.22)); }
.ga-sp svg { display: block; width: 100%; height: auto; overflow: visible; }
.ga-rtl .ga-sp { left: auto; right: 0; transform: translateX(30vw); animation-name: gaRunRtl; }
.ga-rtl .ga-sp svg { transform: scaleX(-1); }
.ga-swim .ga-sp { bottom: auto; top: calc(34vh + var(--y)); animation-name: gaSwim; filter: drop-shadow(0 6px 8px rgba(11,77,107,.3)); }
.ga-swim.ga-rtl .ga-sp { animation-name: gaSwimRtl; }
@keyframes gaRun { 0% { transform: translateX(-30vw); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(112vw); opacity: 0; } }
@keyframes gaRunRtl { 0% { transform: translateX(30vw); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(-112vw); opacity: 0; } }
@keyframes gaSwim { 0% { transform: translate(-30vw, 0); opacity: 0; } 8% { opacity: 1; } 25% { transform: translate(15vw, -14px); } 50% { transform: translate(45vw, 12px); } 75% { transform: translate(78vw, -12px); } 92% { opacity: 1; } 100% { transform: translate(112vw, 4px); opacity: 0; } }
@keyframes gaSwimRtl { 0% { transform: translate(30vw, 0); opacity: 0; } 8% { opacity: 1; } 25% { transform: translate(-15vw, -14px); } 50% { transform: translate(-45vw, 12px); } 75% { transform: translate(-78vw, -12px); } 92% { opacity: 1; } 100% { transform: translate(-112vw, 4px); opacity: 0; } }
/* walking: body bobs, legs swing */
.ga-walk .ga-bob { animation: gaBob .55s ease-in-out infinite alternate; }
.ga-walk .ga-leg { transform-box: fill-box; transform-origin: 50% 0; animation: gaLeg .55s ease-in-out infinite alternate; }
.ga-walk .ga-leg.b { animation-direction: alternate-reverse; }
@keyframes gaBob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes gaLeg { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
/* hopping produce / grocery */
.ga-hop .ga-sp svg { animation: gaHop .75s ease-in-out infinite; transform-origin: 50% 100%; }
.ga-hop.ga-rtl .ga-sp svg { animation-name: gaHopRtl; }
@keyframes gaHop { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-34px) rotate(8deg); } }
@keyframes gaHopRtl { 0%, 100% { transform: scaleX(-1) translateY(0) rotate(-6deg); } 50% { transform: scaleX(-1) translateY(-34px) rotate(8deg); } }
/* swimming fish: tail wag + bubbles */
.ga-swim .ga-wag { transform-box: fill-box; transform-origin: 0% 50%; animation: gaWag .42s ease-in-out infinite alternate; }
@keyframes gaWag { from { transform: skewY(-5deg); } to { transform: skewY(5deg); } }
.ga-b { position: absolute; left: -8px; border-radius: 50%; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); animation: gaBub .9s ease-out infinite; }
.ga-b.b1 { width: 9px; height: 9px; top: 20%; } .ga-b.b2 { width: 6px; height: 6px; top: 10%; animation-delay: .3s; } .ga-b.b3 { width: 5px; height: 5px; top: 30%; animation-delay: .6s; }
@keyframes gaBub { from { transform: translate(0, 0); opacity: .9; } to { transform: translate(-16px, -26px); opacity: 0; } }

/* an empty price tag (no label and no value) is never shown */
.cs-price:has(.pl:empty):has(b:empty) { display: none; }
