@charset "UTF-8";
/* ==========================================================================
   جگرگوشه (Jegarguse) — "Soft Luxe" storefront theme, v2.
   UsesBaseAssets=false: this file is the ENTIRE visual system. Self-hosted
   Vazirmatn (OFL - see DanaVarz.Web.Framework/wwwroot/fonts/vazirmatn/OFL.txt).

   Design brief v2: the v1 theme was friendly but generic - visitors bounced
   before ever seeing a product. v2 is an editorial kids' boutique:
   - real product photography above the fold (hero collage), never clip-art;
   - one signature shape: the soft "arch" (round top, gentle bottom) on every
     product/category image - childlike but premium;
   - Instagram-native patterns Iranian parents already shop with (story-ring
     category bubbles, horizontal swipe rails);
   - every purchase moment rewarded (fly-to-cart, toast, savings in Toman,
     sticky buy bar) and reassured (trust chips next to every CTA);
   - calm cream canvas, deep navy ink, brand blue + peach accents from the logo.
   Motion is always subtle and fully disabled under prefers-reduced-motion.
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("/_content/DanaVarz.Web.Framework/fonts/vazirmatn/Vazirmatn[wght].woff2") format("woff2 supports variations"),
       url("/_content/DanaVarz.Web.Framework/fonts/vazirmatn/Vazirmatn[wght].woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --jegarguse-ink: #1d2142;
  --jegarguse-ink-soft: #6b6f8c;
  --jegarguse-paper: #fbf7f2;
  --jegarguse-paper-alt: #f4ece3;
  --jegarguse-card: #ffffff;
  --jegarguse-line: #ece3d8;

  --jegarguse-blue: #3b67ee;
  --jegarguse-blue-dark: #2447c4;
  --jegarguse-blue-soft: #e9eeff;
  --jegarguse-orange: #ff8a5c;
  --jegarguse-orange-dark: #ec6a3c;
  --jegarguse-orange-soft: #ffeadf;
  --jegarguse-pink: #ff6f8e;
  --jegarguse-pink-soft: #ffe4ea;
  --jegarguse-gold: #ffc94d;
  --jegarguse-butter: #fff3c9;
  --jegarguse-mint: #d9f3ea;

  --jegarguse-gradient: linear-gradient(120deg, #3b67ee 0%, #7b6cf0 48%, #ff8a5c 100%);
  --jegarguse-gradient-soft: linear-gradient(120deg, #e9eeff 0%, #fbe9f2 50%, #ffeadf 100%);
  --jegarguse-gradient-warm: linear-gradient(135deg, #ff8a5c 0%, #ff6f8e 100%);

  --jegarguse-success: #1f9d6b;
  --jegarguse-danger: #e0524a;

  --jegarguse-radius-sm: 12px;
  --jegarguse-radius-md: 20px;
  --jegarguse-radius-lg: 30px;
  --jegarguse-radius-pill: 999px;
  --jegarguse-arch: 999px 999px 28px 28px;

  --jegarguse-shadow: 0 30px 60px -32px rgba(29, 33, 66, 0.32), 0 8px 18px -12px rgba(29, 33, 66, 0.12);
  --jegarguse-shadow-sm: 0 10px 26px -16px rgba(29, 33, 66, 0.28);
  --jegarguse-shadow-lift: 0 40px 70px -30px rgba(59, 103, 238, 0.38);

  --jegarguse-ease: cubic-bezier(.2, .8, .2, 1);
  --jegarguse-font: "Vazirmatn", "IRANSans", Tahoma, "Segoe UI", Arial, sans-serif;
  --jegarguse-header-h: 4.75rem;
}

* { box-sizing: border-box; }
/* "clip" (not "hidden") so the sticky header keeps working; must be on <html> too. */
html { scroll-behavior: smooth; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--jegarguse-font);
  background: var(--jegarguse-paper);
  color: var(--jegarguse-ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-feature-settings: "ss01";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: -0.02em; line-height: 1.35; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }
::selection { background: var(--jegarguse-blue); color: #fff; }
:focus-visible { outline: 3px solid rgba(59, 103, 238, 0.45); outline-offset: 2px; border-radius: 6px; }

.jegarguse-container { max-width: 1280px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 900px) { .jegarguse-container { padding-inline: 2rem; } }
.jegarguse-muted { color: var(--jegarguse-ink-soft); }
.jegarguse-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 800;
  color: var(--jegarguse-orange-dark); margin-bottom: 0.4rem;
  padding: 0.25rem 0.75rem 0.25rem 0.85rem; background: var(--jegarguse-orange-soft); border-radius: var(--jegarguse-radius-pill);
}
.jegarguse-eyebrow::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(236, 106, 60, 0.18); }

/* ---------- Buttons ---------- */
.jegarguse-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.9rem; font-size: 0.95rem; font-weight: 800; border: none; overflow: hidden; isolation: isolate;
  border-radius: var(--jegarguse-radius-pill); min-height: 3.1rem; white-space: nowrap;
  transition: transform 0.25s var(--jegarguse-ease), box-shadow 0.25s var(--jegarguse-ease), opacity 0.2s ease, background 0.2s ease;
}
.jegarguse-btn:hover { transform: translateY(-2px); }
.jegarguse-btn:active { transform: translateY(0) scale(0.98); }
.jegarguse-btn-primary { background: var(--jegarguse-ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(29, 33, 66, 0.6); }
.jegarguse-btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--jegarguse-gradient);
  opacity: 0; transition: opacity 0.3s ease;
}
.jegarguse-btn-primary:hover::before { opacity: 1; }
.jegarguse-btn-primary:hover { box-shadow: var(--jegarguse-shadow-lift); }
.jegarguse-btn-dark { background: var(--jegarguse-ink); color: #fff; }
.jegarguse-btn-dark:hover { background: var(--jegarguse-blue); }
.jegarguse-btn-outline { background: transparent; color: var(--jegarguse-ink); box-shadow: inset 0 0 0 1.5px var(--jegarguse-line); }
.jegarguse-btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--jegarguse-ink); }
.jegarguse-btn-ghost { background: rgba(255,255,255,0.7); color: var(--jegarguse-ink); box-shadow: inset 0 0 0 1.5px rgba(29,33,66,0.12); backdrop-filter: blur(8px); }
.jegarguse-btn-block { width: 100%; }
.jegarguse-btn-sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; min-height: 2.5rem; }
.jegarguse-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.jegarguse-btn .jegarguse-arrow { transition: transform 0.25s var(--jegarguse-ease); }
.jegarguse-btn:hover .jegarguse-arrow { transform: translateX(-4px); }

.jegarguse-badge {
  display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0.7rem; font-size: 0.7rem; font-weight: 900;
  color: #fff; border-radius: var(--jegarguse-radius-pill); line-height: 1.4; width: max-content;
}
.jegarguse-badge-sale { background: var(--jegarguse-gradient-warm); box-shadow: 0 6px 14px -8px rgba(255, 111, 142, 0.9); }
.jegarguse-badge-new { background: var(--jegarguse-ink); }
.jegarguse-badge-love { background: #fff; color: var(--jegarguse-pink); }
.jegarguse-badge-age {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.6rem; font-size: 0.7rem; font-weight: 800;
  color: var(--jegarguse-blue-dark); background: var(--jegarguse-blue-soft); border-radius: var(--jegarguse-radius-pill);
}

/* ---------- Announcement ticker ---------- */
.jegarguse-announce {
  background: var(--jegarguse-ink); color: #fff; text-align: center; font-size: 0.82rem; font-weight: 700;
  padding: 0.5rem 1rem; position: relative; overflow: hidden;
}
.jegarguse-announce::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%); animation: jegarguse-shine 5s ease-in-out infinite;
}
@keyframes jegarguse-shine { 0%, 60% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ---------- Header ---------- */
.jegarguse-header {
  position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 242, 0.78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.jegarguse-header.is-scrolled { background: rgba(255, 255, 255, 0.86); border-color: var(--jegarguse-line); box-shadow: 0 12px 30px -24px rgba(29, 33, 66, 0.4); }
.jegarguse-header-row { display: flex; align-items: center; gap: 1rem; min-height: var(--jegarguse-header-h); min-width: 0; transition: min-height 0.3s var(--jegarguse-ease); }
.jegarguse-header.is-scrolled .jegarguse-header-row { min-height: 4rem; }
.jegarguse-brand { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em; flex-shrink: 0; }
.jegarguse-brand-mark, .jegarguse-brand img { width: 3.1rem; height: 3.1rem; flex-shrink: 0; object-fit: contain; transition: transform 0.4s var(--jegarguse-ease), width 0.3s ease, height 0.3s ease; }
.jegarguse-header.is-scrolled .jegarguse-brand img, .jegarguse-header.is-scrolled .jegarguse-brand-mark { width: 2.6rem; height: 2.6rem; }
.jegarguse-brand:hover img, .jegarguse-brand:hover .jegarguse-brand-mark { transform: rotate(-6deg) scale(1.05); }
.jegarguse-brand span { background: var(--jegarguse-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jegarguse-icon-btn {
  background: none; border: none; color: var(--jegarguse-ink); display: inline-flex; align-items: center;
  justify-content: center; width: 2.75rem; height: 2.75rem; position: relative; border-radius: var(--jegarguse-radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}
.jegarguse-icon-btn:hover { background: var(--jegarguse-card); box-shadow: var(--jegarguse-shadow-sm); }
.jegarguse-header-actions { display: flex; align-items: center; gap: 0.3rem; margin-inline-start: auto; }

.jegarguse-search-form {
  display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; max-width: 420px; background: var(--jegarguse-card);
  border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-pill); padding-inline: 1rem 0.5rem;
  position: relative; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.jegarguse-search-form:focus-within { border-color: var(--jegarguse-blue); box-shadow: 0 0 0 4px var(--jegarguse-blue-soft); }
.jegarguse-search-form > svg { flex: 0 0 auto; color: var(--jegarguse-ink-soft); }
.jegarguse-search-form input { flex: 1; min-width: 0; border: none; background: none; padding-block: 0.7rem; outline: none; font-size: 0.92rem; }
.jegarguse-search-form input::-webkit-search-cancel-button { display: none; }
.jegarguse-search-suggest {
  position: absolute; inset-inline: 0; top: calc(100% + 0.6rem); background: var(--jegarguse-card);
  border: 1px solid var(--jegarguse-line); border-radius: 1.25rem; box-shadow: var(--jegarguse-shadow);
  max-height: 70vh; overflow-y: auto; z-index: 60; padding: 0.5rem; animation: jegarguse-pop 0.22s var(--jegarguse-ease);
}
.jegarguse-search-suggest-section h4 { margin: 0.4rem 0.6rem; font-size: 0.75rem; color: var(--jegarguse-ink-soft); font-weight: 800; }
.jegarguse-search-suggest-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.6rem; border-radius: 0.9rem; }
.jegarguse-search-suggest-item:hover, .jegarguse-search-suggest-item.is-active { background: var(--jegarguse-paper-alt); }
.jegarguse-search-suggest-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 0.75rem; flex: 0 0 auto; background: var(--jegarguse-paper-alt); }
.jegarguse-search-suggest-noimg { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 auto; }
.jegarguse-search-suggest-info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.jegarguse-search-suggest-info .name { font-size: 0.88rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jegarguse-search-suggest-info .price { font-size: 0.8rem; color: var(--jegarguse-orange-dark); font-weight: 800; }
.jegarguse-search-suggest-empty { margin: 0.8rem; font-size: 0.85rem; color: var(--jegarguse-ink-soft); text-align: center; }
@keyframes jegarguse-pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }

.jegarguse-nav-desktop { display: none; align-items: center; gap: 1.5rem; }
.jegarguse-nav-desktop ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; font-weight: 800; font-size: 0.9rem; }
.jegarguse-nav-desktop a { position: relative; padding-block: 0.4rem; transition: color 0.2s ease; }
.jegarguse-nav-desktop > ul > li > a::after, .jegarguse-nav-trust a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--jegarguse-gradient);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--jegarguse-ease);
}
.jegarguse-nav-desktop > ul > li > a:hover::after, .jegarguse-nav-trust a:hover::after { transform: scaleX(1); }
.jegarguse-nav-desktop a:hover { color: var(--jegarguse-blue-dark); }

/* Search extras: chips (recent searches, categories), "all results", sheet close button. */
.jegarguse-search-close { display: none; }
.jegarguse-search-suggest-section h4 { display: flex; align-items: center; justify-content: space-between; }
.jegarguse-search-clear { border: none; background: none; color: var(--jegarguse-ink-soft); font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer; padding: 0; }
.jegarguse-search-clear:hover { color: var(--jegarguse-orange-dark); }
.jegarguse-search-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.15rem 0.5rem 0.6rem; }
.jegarguse-search-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-paper-alt); font-size: 0.82rem; font-weight: 700; transition: background 0.2s ease, transform 0.2s ease; }
.jegarguse-search-chip:hover, .jegarguse-search-chip.is-active { background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); transform: translateY(-1px); }
.jegarguse-search-chip.is-category { background: var(--jegarguse-card); border: 1px solid var(--jegarguse-line); padding-inline-start: 0.35rem; }
.jegarguse-search-chip img { width: 1.6rem; height: 1.6rem; border-radius: 50%; object-fit: cover; }
.jegarguse-search-all { display: block; margin: 0.4rem 0.5rem 0.3rem; padding: 0.75rem; border-radius: 1rem; text-align: center; font-weight: 800; font-size: 0.86rem; background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); }
.jegarguse-search-all:hover, .jegarguse-search-all.is-active { background: var(--jegarguse-blue); color: #fff; }

/* Desktop: the header box can be narrow next to the menu, so the dropdown gets its own width. */
@media (min-width: 761px) {
  .jegarguse-search-suggest { inset-inline: auto 0; width: min(460px, 92vw); }
  .jegarguse-search-suggest-info .name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Phones: the search box gets its own full-width row under the header - always visible - and
   tapping it opens a full-screen sheet (body.jegarguse-search-open, see jegarguse-theme.js). */
@media (max-width: 760px) {
  .jegarguse-header-row { flex-wrap: wrap; gap: 0.5rem; row-gap: 0.55rem; padding-bottom: 0.65rem; }
  .jegarguse-brand { font-size: 1.15rem; }
  .jegarguse-brand img, .jegarguse-brand-mark { width: 2.5rem; height: 2.5rem; }
  .jegarguse-search-form { order: 10; flex: 1 1 100%; max-width: none; width: 100%; background: var(--jegarguse-paper-alt); border-color: transparent; }
  .jegarguse-search-form input { padding-block: 0.62rem; font-size: 16px; } /* 16px: no iOS zoom on focus */

  body.jegarguse-search-open { overflow: hidden; }
  body.jegarguse-search-open .jegarguse-search-form {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; margin: 0; border-radius: 0; max-width: none;
    padding: 0.7rem 0.75rem; gap: 0.4rem; background: var(--jegarguse-card); border: none; border-bottom: 1px solid var(--jegarguse-line);
    box-shadow: none;
  }
  body.jegarguse-search-open .jegarguse-search-form input { background: var(--jegarguse-paper-alt); border-radius: var(--jegarguse-radius-pill); padding-inline: 0.9rem; }
  body.jegarguse-search-open .jegarguse-search-form > svg { display: none; }
  body.jegarguse-search-open .jegarguse-search-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border: none; border-radius: 50%; background: var(--jegarguse-paper-alt); color: var(--jegarguse-ink); }
  body.jegarguse-search-open .jegarguse-search-suggest {
    position: fixed; inset: 3.95rem 0 0 0; top: 3.95rem; max-height: none; border: none; border-radius: 0; box-shadow: none;
    padding: 0.6rem 0.4rem calc(1rem + env(safe-area-inset-bottom)); animation: none; background: var(--jegarguse-card);
  }
  body.jegarguse-search-open .jegarguse-search-suggest[hidden] { display: block; }
  body.jegarguse-search-open .jegarguse-tabbar { display: none; }
}

/* Mega-menu structure (unchanged from v1 - the hover-gap fixes documented below are load-bearing). */
/* Mega-menu: ONE trigger ("دسته‌بندی محصولات") opens a TWO-LEVEL sidebar mega-menu, matching the
   familiar "دسته‌بندی کالاها" pattern - a vertical sidebar lists every top-level category, and
   hovering/focusing a row reveals a flyout beside it (age-grouped categories show their child
   categories; leaf categories show a small grid of their own real, photographed products instead,
   so every row's flyout has real imagery, not just an icon). Desktop shows the sidebar+flyout as a
   hover/focus reveal; the mobile drawer expands each row's flyout inline instead (no hover on
   touch, and it's already inside a slide-out overlay so a second overlay would nest awkwardly).
   Both contexts share the exact same markup from MainNav/Default.cshtml. */
.jegarguse-mega-nav-trigger > a { display: inline-flex; align-items: center; gap: 0.5rem; }
.jegarguse-nav-desktop .jegarguse-mega-nav-item.has-children { position: relative; }
.jegarguse-nav-desktop .jegarguse-mega-menu {
  display: none; position: absolute; top: 100%; inset-inline-start: 0; padding-top: 0.6rem;
  z-index: 50;
}
.jegarguse-nav-desktop .jegarguse-mega-nav-item.has-children:hover > .jegarguse-mega-menu,
.jegarguse-nav-desktop .jegarguse-mega-nav-item.has-children:focus-within > .jegarguse-mega-menu { display: block; }

/* display is set explicitly (not left to default) and the selector is a 2-class compound so it
   beats the generic ".jegarguse-nav-desktop ul { display:flex; ... }" rule above, which would
   otherwise leak into this nested <ul> too and lay the sidebar rows out as a horizontal flex row
   instead of a vertical list (this bit the theme once already - see git history if it regresses). */
.jegarguse-nav-desktop .jegarguse-mega-sidebar-panel,
.jegarguse-mega-sidebar-panel {
  display: flex; flex-direction: column; gap: 0.15rem;
  position: relative; list-style: none; margin: 0; width: 16rem; background: var(--jegarguse-card);
  border-radius: 0; box-shadow: var(--jegarguse-shadow); padding-block: 0.6rem;
}
/* jegarguse-mega-sidebar-row deliberately stays position:static - each row's .jegarguse-mega-flyout
   is absolutely positioned against the PANEL above (its nearest positioned ancestor), not the row,
   so every flyout lines up flush with the panel's own top edge regardless of which row opened it.
   The panel itself carries NO inline padding (only block/vertical) - visual left/right spacing comes
   entirely from THIS link's own padding instead, so the row's real hoverable box reaches all the way
   to the panel's own edge with zero dead strip for the flyout to be separated from by. An inline
   padding on the panel previously left exactly that strip, and crossing it broke :hover mid-transit. */
.jegarguse-mega-sidebar-row > a { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; border-radius: var(--jegarguse-radius-md); border-bottom: none !important; font-weight: 700; white-space: nowrap; }
.jegarguse-mega-sidebar-row > a:hover,
.jegarguse-mega-sidebar-row:focus-within > a { background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); }
.jegarguse-mega-sidebar-label { flex: 1 1 auto; }
.jegarguse-mega-sidebar-chevron { flex: 0 0 auto; opacity: 0.5; }

/* right:100% with NO margin/gap is deliberate - flush against the sidebar panel's own left edge
   (which the row spans full-width to), so there's no dead pixel strip between row and flyout for
   the cursor to fall into while moving from one to the other (the same "gap kills hover" issue
   already fixed once between the trigger and the sidebar itself - see the comment up top). */
.jegarguse-mega-flyout {
  display: none; position: absolute; top: 0; right: 100%;
  background: var(--jegarguse-card); border-radius: 0; box-shadow: var(--jegarguse-shadow);
  padding: 1.25rem; min-width: 26rem;
}
.jegarguse-mega-sidebar-row:hover > .jegarguse-mega-flyout,
.jegarguse-mega-sidebar-row:focus-within > .jegarguse-mega-flyout { display: block; }

.jegarguse-mega-flyout-cols { display: flex; gap: 1.5rem; }
.jegarguse-mega-menu-col { display: flex; flex-direction: column; gap: 0.5rem; flex: 1 1 180px; min-width: 170px; }
.jegarguse-mega-menu-col-title {
  font-weight: 800; font-size: 0.95rem; color: var(--jegarguse-blue-dark); padding-inline: 0.55rem;
  border-bottom: none !important;
}
.jegarguse-mega-menu-col-title-static { color: var(--jegarguse-ink-soft); display: block; margin-bottom: 0.25rem; }
.jegarguse-mega-flyout ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.jegarguse-mega-flyout a { display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0.55rem; border-radius: var(--jegarguse-radius-md); border-bottom: none !important; white-space: nowrap; font-weight: 700; }
.jegarguse-mega-flyout a:hover { background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); }
.jegarguse-mega-menu-thumb {
  flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: var(--jegarguse-radius-sm); background: var(--jegarguse-blue-soft);
  display: flex; align-items: center; justify-content: center;
}
.jegarguse-mega-menu-promo {
  flex: 0 0 auto; width: 11rem; border-radius: var(--jegarguse-radius-lg); padding: 1rem;
  background: linear-gradient(150deg, var(--jegarguse-blue-soft) 0%, var(--jegarguse-paper-alt) 100%);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.jegarguse-mega-menu-promo:hover { background: linear-gradient(150deg, var(--jegarguse-blue-soft) 0%, var(--jegarguse-paper-alt) 100%); }
.jegarguse-mega-menu-promo-eyebrow { font-size: 0.7rem; font-weight: 800; color: var(--jegarguse-orange-dark); }
.jegarguse-mega-menu-promo-title { font-size: 0.95rem; font-weight: 800; color: var(--jegarguse-ink); line-height: 1.5; }
.jegarguse-mega-menu-promo-cta { font-size: 0.8rem; font-weight: 800; color: var(--jegarguse-blue-dark); margin-top: 1rem; }

.jegarguse-mega-flyout-products { display: flex; flex-direction: column; gap: 0.75rem; width: 22rem; }
.jegarguse-mega-flyout-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.jegarguse-mega-flyout-product { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0.5rem; background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-md); font-weight: 600; font-size: 0.78rem; text-align: center; white-space: normal; }
.jegarguse-mega-flyout-product:hover { background: var(--jegarguse-blue-soft); color: var(--jegarguse-ink); }
/* background-color (not just on the <img>) is set on the wrapper above too - belt and suspenders
   against any product whose own cover SVG has transparent regions, so the page behind the menu can
   never show through and make the card look "missing its background". */
.jegarguse-mega-flyout-product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--jegarguse-radius-sm); background-color: var(--jegarguse-paper-alt); }
.jegarguse-mega-flyout-viewall { display: block; text-align: center; font-weight: 800; color: var(--jegarguse-blue-dark); padding: 0.5rem; border-radius: var(--jegarguse-radius-md); border-bottom: none !important; }
.jegarguse-mega-flyout-viewall:hover { background: var(--jegarguse-blue-soft); }

.jegarguse-mobile-nav .jegarguse-mega-menu { display: block; position: static; margin: 0; }
.jegarguse-mobile-nav .jegarguse-mega-sidebar-panel { width: auto; box-shadow: none; padding: 0.5rem 0 0; }
.jegarguse-mobile-nav .jegarguse-mega-flyout {
  display: block; position: static; margin: 0.3rem 0 0.6rem 1.1rem; box-shadow: none; padding: 0; min-width: 0;
}
.jegarguse-mobile-nav .jegarguse-mega-sidebar-chevron { transform: rotate(-90deg); }
.jegarguse-mobile-nav .jegarguse-mega-menu-col-title { color: var(--jegarguse-ink); }
.jegarguse-mobile-nav .jegarguse-mega-flyout a { padding: 0.3rem 0; font-size: 0.95rem; opacity: 0.85; }
.jegarguse-mobile-nav .jegarguse-mega-menu-thumb { width: 2.2rem; height: 2.2rem; }
.jegarguse-mobile-nav .jegarguse-mega-menu-promo { display: none; }
.jegarguse-mobile-nav .jegarguse-mega-flyout-products { width: auto; }
.jegarguse-mobile-nav .jegarguse-mega-flyout-product-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Mega menu - polish on top of the structural rules above ---------- */
.jegarguse-nav-desktop .jegarguse-mega-sidebar-panel, .jegarguse-mega-sidebar-panel { border-radius: var(--jegarguse-radius-md); }
.jegarguse-mega-flyout { border-radius: var(--jegarguse-radius-md); }
.jegarguse-mega-nav-trigger > a {
  padding: 0.5rem 1rem !important; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-ink); color: #fff !important;
}
.jegarguse-mega-nav-trigger > a::after { display: none; }
.jegarguse-mega-nav-trigger > a:hover { background: var(--jegarguse-blue); }

.jegarguse-header-row { position: relative; }
.jegarguse-cart-count {
  position: absolute; top: 0.15rem; inset-inline-end: 0.1rem; background: var(--jegarguse-gradient-warm); color: #fff;
  font-size: 0.62rem; font-weight: 900; min-width: 1.2rem; height: 1.2rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding-inline: 4px; border: 2px solid var(--jegarguse-paper);
}
.jegarguse-cart-count.is-empty { display: none; }
.jegarguse-cart-count.is-bump { animation: jegarguse-bump 0.6s var(--jegarguse-ease); }
@keyframes jegarguse-bump { 0% { transform: scale(1); } 30% { transform: scale(1.55); } 60% { transform: scale(0.9); } 100% { transform: scale(1); } }

.jegarguse-mobile-nav {
  position: fixed; inset-block: 0; inset-inline-start: 0; width: min(340px, 88vw); background: var(--jegarguse-paper);
  transform: translateX(105%); transition: transform 0.4s var(--jegarguse-ease); z-index: 70; padding: 1.25rem 1.25rem 6rem; overflow-y: auto;
  border-radius: 0 0 0 var(--jegarguse-radius-lg); box-shadow: var(--jegarguse-shadow);
}
.jegarguse-mobile-nav.is-open { transform: translateX(0); }
.jegarguse-mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--jegarguse-line); }
.jegarguse-mobile-nav ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; font-weight: 800; font-size: 1.05rem; }
.jegarguse-mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(29, 33, 66, 0.4); opacity: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity 0.3s ease; z-index: 65;
}
.jegarguse-mobile-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
.jegarguse-account-menu { position: relative; display: inline-flex; align-items: center; }
.jegarguse-account-menu-trigger {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: none; cursor: pointer; padding: 0; overflow: hidden;
  background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); display: flex; align-items: center; justify-content: center;
}
.jegarguse-account-menu-trigger img { width: 100%; height: 100%; object-fit: cover; }
.jegarguse-account-menu-initials { font-weight: 900; font-size: 0.9rem; }
.jegarguse-account-menu-panel {
  position: absolute; top: calc(100% + 0.6rem); inset-inline-end: 0; min-width: 200px; background: #fff;
  border-radius: 18px; box-shadow: var(--jegarguse-shadow); z-index: 60; overflow: hidden; padding: 0.4rem;
  animation: jegarguse-pop 0.2s var(--jegarguse-ease);
}
/* [hidden] must win over the flex layout below (same specificity, later rule would otherwise win). */
.jegarguse-account-menu-panel:not([hidden]) { display: flex; flex-direction: column; }
.jegarguse-account-menu-panel a, .jegarguse-account-menu-panel button {
  display: block; width: 100%; text-align: start; padding: 0.6rem 0.8rem; border-radius: 12px; border: none;
  background: none; color: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
}
.jegarguse-account-menu-panel a:hover, .jegarguse-account-menu-panel button:hover { background: var(--jegarguse-paper-alt); }
.jegarguse-account-menu-panel form { margin: 0; }
.jegarguse-admin-link { font-size: 0.82rem; font-weight: 700; padding-inline: 0.75rem; }
.jegarguse-link-btn { background: none; border: none; font: inherit; font-weight: 700; font-size: 0.85rem; color: var(--jegarguse-ink); }
.jegarguse-desktop-only { display: none; }
@media (min-width: 1000px) {
  .jegarguse-nav-desktop { display: flex; }
  .jegarguse-desktop-only { display: inline-flex; }
  .jegarguse-mobile-nav-toggle { display: none; }
}
.jegarguse-nav-trust { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; font-size: 0.82rem; font-weight: 800; color: var(--jegarguse-ink-soft); }
.jegarguse-nav-trust a { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.jegarguse-nav-trust a:hover { color: var(--jegarguse-ink); }
@media (max-width: 1180px) { .jegarguse-nav-desktop .jegarguse-nav-trust { display: none; } }

/* ---------- Mobile bottom tab bar (thumb-reachable, like a native shopping app) ---------- */
.jegarguse-tabbar {
  position: fixed; inset-inline: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(29, 33, 66, 0.92); color: #fff; border-radius: 22px; padding: 0.4rem;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -18px rgba(29, 33, 66, 0.65);
  transition: transform 0.35s var(--jegarguse-ease);
}
.jegarguse-tabbar.is-hidden { transform: translateY(140%); }
.jegarguse-tabbar a, .jegarguse-tabbar button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; padding: 0.35rem 0;
  font-size: 0.66rem; font-weight: 700; color: rgba(255,255,255,0.72); background: none; border: none; border-radius: 16px;
}
.jegarguse-tabbar a.is-active { color: #fff; background: rgba(255,255,255,0.12); }
.jegarguse-tabbar svg { width: 1.35rem; height: 1.35rem; }
.jegarguse-tabbar .jegarguse-cart-count { top: 0; inset-inline-end: 22%; border-color: var(--jegarguse-ink); }
body { padding-bottom: 5.5rem; }
@media (min-width: 1000px) { .jegarguse-tabbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Flash ---------- */
.jegarguse-flash { padding: 0.9rem 1.5rem; font-weight: 700; margin-block: 1rem; border-radius: var(--jegarguse-radius-md); }
.jegarguse-flash-success { background: var(--jegarguse-mint); color: var(--jegarguse-success); }
.jegarguse-flash-error { background: var(--jegarguse-pink-soft); color: var(--jegarguse-danger); }

/* ==========================================================================
   HERO - editorial split: copy + trust on one side, a floating arch collage of
   REAL product photos (each with a live price tag) on the other.
   ========================================================================== */
.jegarguse-hero { position: relative; padding-block: 2rem 3rem; overflow: hidden; }
.jegarguse-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 85% 20%, rgba(59, 103, 238, 0.14), transparent 70%),
    radial-gradient(35% 45% at 15% 70%, rgba(255, 138, 92, 0.18), transparent 70%),
    radial-gradient(30% 40% at 50% 10%, rgba(255, 111, 142, 0.10), transparent 70%);
}
.jegarguse-hero-grid {
  max-width: 1280px; margin-inline: auto; padding-inline: 1.25rem; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
@media (min-width: 900px) { .jegarguse-hero-grid { grid-template-columns: 1.02fr 1fr; padding-inline: 2rem; gap: 3rem; } .jegarguse-hero { padding-block: 3.5rem 4.5rem; } }
.jegarguse-hero-content { text-align: start; }
.jegarguse-hero-content h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.1rem); margin-block: 0.75rem 1rem; line-height: 1.22; letter-spacing: -0.035em;
}
.jegarguse-hero-content h1 em { font-style: normal; background: var(--jegarguse-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jegarguse-hero-content > p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--jegarguse-ink-soft); max-width: 34rem; }
.jegarguse-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.jegarguse-hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 2rem; font-size: 0.85rem; font-weight: 800; color: var(--jegarguse-ink); }
.jegarguse-hero-proof span { display: inline-flex; align-items: center; gap: 0.45rem; }
.jegarguse-hero-proof i { font-style: normal; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--jegarguse-card); box-shadow: var(--jegarguse-shadow-sm); font-size: 0.95rem; }

.jegarguse-hero-collage { position: relative; height: clamp(360px, 52vw, 560px); }
.jegarguse-hero-tile {
  position: absolute; display: block; overflow: hidden; border-radius: var(--jegarguse-arch); background: var(--jegarguse-paper-alt);
  box-shadow: var(--jegarguse-shadow); border: 6px solid #fff; animation: jegarguse-float 7s ease-in-out infinite;
  transition: transform 0.4s var(--jegarguse-ease);
}
.jegarguse-hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--jegarguse-ease); }
.jegarguse-hero-tile:hover img { transform: scale(1.06); }
.jegarguse-hero-tile.t1 { width: 50%; height: 78%; inset-inline-start: 25%; top: 4%; z-index: 2; }
.jegarguse-hero-tile.t2 { width: 34%; height: 50%; inset-inline-end: 0; top: 30%; z-index: 1; animation-delay: -2s; border-radius: 28px 28px 999px 999px; }
.jegarguse-hero-tile.t3 { width: 32%; height: 46%; inset-inline-start: 0; top: 14%; z-index: 1; animation-delay: -4s; }
.jegarguse-hero-tile.t4 { width: 26%; height: 30%; inset-inline-start: 6%; bottom: 0; z-index: 3; animation-delay: -1s; border-radius: 50%; }
@keyframes jegarguse-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.jegarguse-hero-tag {
  position: absolute; inset-inline: 0.6rem; bottom: 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
  padding: 0.45rem 0.75rem; border-radius: var(--jegarguse-radius-pill); background: rgba(255,255,255,0.9); color: var(--jegarguse-ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.72rem; font-weight: 800; line-height: 1.4;
}
.jegarguse-hero-tag b { color: var(--jegarguse-orange-dark); white-space: nowrap; }
.jegarguse-hero-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.jegarguse-hero-tile.t2 .jegarguse-hero-tag, .jegarguse-hero-tile.t3 .jegarguse-hero-tag { justify-content: center; }
.jegarguse-hero-tile.t2 .jegarguse-hero-tag span, .jegarguse-hero-tile.t3 .jegarguse-hero-tag span { display: none; }
.jegarguse-hero-sticker {
  position: absolute; z-index: 4; top: 2%; inset-inline-end: 6%; width: 6.5rem; height: 6.5rem; border-radius: 50%;
  background: var(--jegarguse-gold); color: var(--jegarguse-ink); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-weight: 900; font-size: 0.78rem; line-height: 1.35; box-shadow: var(--jegarguse-shadow-sm);
  animation: jegarguse-spin-slow 18s linear infinite;
}
.jegarguse-hero-sticker strong { font-size: 1.35rem; display: block; }
@keyframes jegarguse-spin-slow { from { rotate: 0deg; } to { rotate: 360deg; } }
.jegarguse-hero-sticker > span { animation: jegarguse-spin-slow 18s linear infinite reverse; display: block; }
.jegarguse-hero-doodle { position: absolute; z-index: 0; pointer-events: none; opacity: 0.9; }
.jegarguse-hero-doodle.d1 { top: -2%; inset-inline-start: 4%; width: 3.5rem; color: var(--jegarguse-pink); }
.jegarguse-hero-doodle.d2 { bottom: 6%; inset-inline-end: 4%; width: 4.5rem; color: var(--jegarguse-blue); }
.jegarguse-hero-art { max-width: 420px; margin-inline: auto; }
.jegarguse-hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 899px) {
  .jegarguse-hero-content { text-align: center; }
  .jegarguse-hero-content > p { margin-inline: auto; }
  .jegarguse-hero-actions, .jegarguse-hero-proof { justify-content: center; }
  .jegarguse-hero-collage { order: -1; height: 340px; max-width: 480px; margin-inline: auto; width: 100%; }
  .jegarguse-hero-sticker { width: 5rem; height: 5rem; font-size: 0.66rem; }
  .jegarguse-hero-sticker strong { font-size: 1.05rem; }
}

/* ---------- Marquee (trust/perks ticker) ---------- */
.jegarguse-marquee {
  overflow: hidden; background: var(--jegarguse-ink); color: #fff; padding-block: 0.95rem; transform: rotate(-1.2deg); margin-block: 0.5rem 1.5rem;
  margin-inline: -2%; box-shadow: 0 20px 40px -26px rgba(29,33,66,0.7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.jegarguse-marquee-track { display: flex; gap: 3rem; width: max-content; animation: jegarguse-marquee 32s linear infinite; font-weight: 800; font-size: 0.95rem; }
.jegarguse-marquee-track span { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.jegarguse-marquee-track span::after { content: "✦"; color: var(--jegarguse-gold); margin-inline-start: 3rem; }
.jegarguse-marquee:hover .jegarguse-marquee-track { animation-play-state: paused; }
@keyframes jegarguse-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.jegarguse-section { padding-block: 2.25rem; }
@media (min-width: 900px) { .jegarguse-section { padding-block: 3.25rem; } }
.jegarguse-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.4rem; gap: 1rem; }
.jegarguse-section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); }
.jegarguse-section-head p.jegarguse-muted { margin-top: 0.25rem; font-size: 0.92rem; }
.jegarguse-section-tools { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.jegarguse-view-all {
  display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 800; font-size: 0.85rem; color: var(--jegarguse-ink); white-space: nowrap;
  padding: 0.55rem 1.1rem; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-card); box-shadow: inset 0 0 0 1.5px var(--jegarguse-line);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.jegarguse-view-all:hover { background: var(--jegarguse-ink); color: #fff; box-shadow: none; }
.jegarguse-rail-btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: none; background: var(--jegarguse-card); box-shadow: inset 0 0 0 1.5px var(--jegarguse-line);
  display: none; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.jegarguse-rail-btn:hover { background: var(--jegarguse-ink); color: #fff; }
.jegarguse-rail-btn:disabled { opacity: 0.35; cursor: default; background: var(--jegarguse-card); color: inherit; }
@media (min-width: 900px) { .jegarguse-rail-btn { display: inline-flex; } }

/* ---------- Category "story" bubbles + arch tiles ---------- */
.jegarguse-category-stories {
  display: flex; gap: 1.1rem; overflow-x: auto; padding: 0.25rem 0.25rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.jegarguse-category-stories::-webkit-scrollbar { display: none; }
.jegarguse-story { flex: 0 0 auto; width: 6.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; scroll-snap-align: start; text-align: center; }
.jegarguse-story-ring {
  width: 5.6rem; height: 5.6rem; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #3b67ee, #7b6cf0, #ff6f8e, #ff8a5c, #ffc94d, #3b67ee);
  transition: transform 0.35s var(--jegarguse-ease);
}
.jegarguse-story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--jegarguse-paper); background: var(--jegarguse-paper-alt); }
.jegarguse-story:hover .jegarguse-story-ring { transform: scale(1.06) rotate(-4deg); }
.jegarguse-story span { font-size: 0.8rem; font-weight: 800; line-height: 1.45; }

.jegarguse-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: 1rem; }
@media (min-width: 900px) { .jegarguse-category-grid { gap: 1.5rem; } }
.jegarguse-category-tile {
  position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; border-radius: var(--jegarguse-arch);
  background: var(--jegarguse-paper-alt); isolation: isolate; box-shadow: var(--jegarguse-shadow-sm);
  transition: transform 0.45s var(--jegarguse-ease), box-shadow 0.45s var(--jegarguse-ease);
}
.jegarguse-category-tile:hover { transform: translateY(-6px); box-shadow: var(--jegarguse-shadow); }
.jegarguse-category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--jegarguse-ease); }
.jegarguse-category-tile:hover img { transform: scale(1.08); }
.jegarguse-category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29,33,66,0.72) 0%, rgba(29,33,66,0) 55%); z-index: 0; }
.jegarguse-category-tile .jegarguse-label {
  position: absolute; inset-inline: 0.9rem; bottom: 0.9rem; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  color: #fff; font-weight: 900; font-size: clamp(0.95rem, 1.6vw, 1.2rem); line-height: 1.4;
}
.jegarguse-category-tile .jegarguse-label i {
  font-style: normal; flex: 0 0 auto; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #fff; color: var(--jegarguse-ink);
  display: flex; align-items: center; justify-content: center; transition: transform 0.35s var(--jegarguse-ease), background 0.2s ease;
}
.jegarguse-category-tile:hover .jegarguse-label i { transform: rotate(-45deg); background: var(--jegarguse-gold); }

.jegarguse-trust-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.75rem; margin-block: 0.5rem;
}
.jegarguse-trust-band > span {
  display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 1.2rem; background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-md);
  font-weight: 800; font-size: 0.92rem; box-shadow: var(--jegarguse-shadow-sm); line-height: 1.5;
}
.jegarguse-trust-band > span i {
  font-style: normal; flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
  background: var(--jegarguse-gradient-soft);
}
.jegarguse-trust-band small { display: block; font-weight: 600; font-size: 0.78rem; color: var(--jegarguse-ink-soft); }

/* ==========================================================================
   PRODUCT CARD - arch photo, hover second image, savings in Toman, a round
   quick-add "+" that expands, empty ratings hidden (no "0 reviews" anti-proof).
   ========================================================================== */
.jegarguse-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.9rem; }
@media (min-width: 700px) { .jegarguse-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; } }
@media (min-width: 1100px) { .jegarguse-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jegarguse-shop-layout .jegarguse-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .jegarguse-shop-layout .jegarguse-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Horizontal swipe rail - same cards, scroll-snapped; arrows on desktop (jegarguse-theme.js). */
.jegarguse-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64%, 1fr); gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.4rem 0.25rem 1.25rem; margin-inline: -0.25rem; scroll-padding-inline: 0.25rem;
}
.jegarguse-rail::-webkit-scrollbar { display: none; }
.jegarguse-rail > * { scroll-snap-align: start; }
@media (min-width: 560px) { .jegarguse-rail { grid-auto-columns: calc((100% - 2rem) / 3); } }
@media (min-width: 1100px) { .jegarguse-rail { grid-auto-columns: calc((100% - 3.75rem) / 4); gap: 1.25rem; } }

.jegarguse-product-card { position: relative; min-width: 0; }
.jegarguse-thumb-wrap { position: relative; }
.jegarguse-product-card .jegarguse-thumb {
  position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--jegarguse-paper-alt);
  border-radius: 28px; isolation: isolate; transition: border-radius 0.5s var(--jegarguse-ease), box-shadow 0.4s var(--jegarguse-ease);
}
.jegarguse-product-card:hover .jegarguse-thumb { border-radius: var(--jegarguse-arch); box-shadow: var(--jegarguse-shadow); }
.jegarguse-product-card .jegarguse-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity 0.5s ease, transform 1s var(--jegarguse-ease); }
.jegarguse-product-card .jegarguse-img-secondary { opacity: 0; }
.jegarguse-product-card:hover .jegarguse-img-secondary { opacity: 1; }
.jegarguse-product-card:hover .jegarguse-thumb img { transform: scale(1.05); }
/* Shimmer behind the photo while it loads - a still-loading <img> is transparent, so this shows through with no JS needed. */
.jegarguse-thumb::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--jegarguse-paper-alt) 30%, #fbf3ea 50%, var(--jegarguse-paper-alt) 70%); background-size: 300% 100%;
  animation: jegarguse-shimmer 1.6s linear infinite;
}
@keyframes jegarguse-shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }

.jegarguse-product-card .jegarguse-badges { position: absolute; top: 0.7rem; inset-inline-start: 0.7rem; display: flex; flex-direction: column; gap: 0.35rem; z-index: 2; }
.jegarguse-product-card .jegarguse-quick-add { position: absolute; inset-inline-end: 0.7rem; bottom: 0.7rem; z-index: 2; margin: 0; }
.jegarguse-product-card .jegarguse-quick-add button {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 0; width: 2.75rem; height: 2.75rem; padding: 0; min-height: 0;
  border-radius: var(--jegarguse-radius-pill); background: #fff; color: var(--jegarguse-ink); box-shadow: var(--jegarguse-shadow-sm); overflow: hidden;
  font-size: 0.8rem; font-weight: 900; border: none; transition: width 0.35s var(--jegarguse-ease), background 0.2s ease, color 0.2s ease;
}
.jegarguse-product-card .jegarguse-quick-add button svg { flex: 0 0 2.75rem; width: 2.75rem; height: 1.2rem; }
.jegarguse-product-card .jegarguse-quick-add button .lbl { white-space: nowrap; padding-inline-end: 1rem; opacity: 0; transition: opacity 0.2s ease; }
.jegarguse-product-card .jegarguse-quick-add button:hover, .jegarguse-product-card .jegarguse-quick-add button:focus-visible { width: 8.6rem; background: var(--jegarguse-ink); color: #fff; }
.jegarguse-product-card .jegarguse-quick-add button:hover .lbl, .jegarguse-product-card .jegarguse-quick-add button:focus-visible .lbl { opacity: 1; }
.jegarguse-product-card .jegarguse-quick-add button.is-done { background: var(--jegarguse-success); color: #fff; }
.jegarguse-product-card .jegarguse-info { padding: 0.85rem 0.35rem 0; }
.jegarguse-product-card .jegarguse-brand-name { font-size: 0.72rem; font-weight: 700; color: var(--jegarguse-ink-soft); }
.jegarguse-product-card .jegarguse-name { font-weight: 800; font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jegarguse-product-card .jegarguse-name a:hover { color: var(--jegarguse-blue-dark); }
.jegarguse-product-card .jegarguse-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; margin-top: 0.35rem; flex-wrap: wrap; }
.jegarguse-product-card .jegarguse-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.15rem 0.5rem; margin-top: 0.45rem; }
.jegarguse-price { font-weight: 900; font-size: 1.02rem; }
.jegarguse-price small { font-size: 0.72rem; font-weight: 700; color: var(--jegarguse-ink-soft); }
.jegarguse-price-old { text-decoration: line-through; text-decoration-color: rgba(236,106,60,0.7); color: var(--jegarguse-ink-soft); font-size: 0.8rem; }
.jegarguse-save {
  display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.35rem; font-size: 0.72rem; font-weight: 800;
  color: var(--jegarguse-success); background: var(--jegarguse-mint); padding: 0.12rem 0.6rem; border-radius: var(--jegarguse-radius-pill);
}
.jegarguse-rating { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--jegarguse-ink-soft); font-weight: 700; }
.jegarguse-stars { color: var(--jegarguse-gold); letter-spacing: 0.04em; }
.jegarguse-love-note { display: flex; align-items: center; gap: 0.3rem; font-size: 0.76rem; color: var(--jegarguse-pink); font-weight: 700; margin-top: 0.35rem; }

/* heart button on product cards / PDP */
.jegarguse-heart {
  position: absolute; top: 0.7rem; inset-inline-end: 0.7rem; z-index: 3; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(255,255,255,0.85); border: none; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--jegarguse-ink); transition: transform 0.25s var(--jegarguse-ease), color 0.2s ease, background 0.2s ease;
}
.jegarguse-heart:hover { transform: scale(1.12); }
.jegarguse-heart.is-on { color: #fff; background: var(--jegarguse-pink); }
.jegarguse-heart.is-on svg { fill: currentColor; animation: jegarguse-heartbeat 0.5s var(--jegarguse-ease); }
@keyframes jegarguse-heartbeat { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
.jegarguse-heart svg { width: 1.2rem; height: 1.2rem; }
.jegarguse-pd-heart { position: static; box-shadow: none; background: var(--jegarguse-pink-soft); }

/* ---------- "New arrivals" promo strip ---------- */
.jco-new-arrivals {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  padding: 1.25rem 1.5rem; border-radius: var(--jegarguse-radius-lg); background: var(--jegarguse-gradient); color: #fff;
  box-shadow: var(--jegarguse-shadow-lift);
}
.jco-new-arrivals::after { content: ""; position: absolute; width: 14rem; height: 14rem; border-radius: 50%; background: rgba(255,255,255,0.12); inset-inline-end: -4rem; top: -6rem; }
.jco-new-arrivals-icon {
  flex: 0 0 auto; width: 3.25rem; height: 3.25rem; border-radius: 18px; background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; padding: 0.65rem; animation: jegarguse-wiggle 3s ease-in-out infinite;
}
@keyframes jegarguse-wiggle { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: -10deg; } 90% { rotate: 8deg; } 95% { rotate: -4deg; } }
.jco-new-arrivals-icon svg { width: 100%; height: 100%; }
.jco-new-arrivals-text { display: flex; flex-direction: column; gap: 0.1rem; flex: 1 1 240px; position: relative; z-index: 1; }
.jco-new-arrivals-text strong { font-size: 1.08rem; font-weight: 900; }
.jco-new-arrivals-text span { font-size: 0.88rem; opacity: 0.9; }
.jco-new-arrivals .jegarguse-btn { position: relative; z-index: 1; background: #fff; color: var(--jegarguse-ink); box-shadow: none; }
.jco-new-arrivals .jegarguse-btn::before { display: none; }

/* ---------- Shop / listing ---------- */
.jegarguse-page-title-bar {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding-block: 0.25rem 1.25rem;
}
.jegarguse-page-title-bar h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.jegarguse-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; padding-bottom: 2.5rem; }
.jegarguse-filters {
  position: sticky; top: calc(var(--jegarguse-header-h) + 1rem); background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg);
  padding: 1.4rem; box-shadow: var(--jegarguse-shadow-sm); max-height: calc(100vh - var(--jegarguse-header-h) - 2rem); overflow-y: auto; scrollbar-width: thin;
}
.jegarguse-filters-head { display: none; }
.jegarguse-filter-group { margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px dashed var(--jegarguse-line); }
.jegarguse-filter-group:last-of-type { border-bottom: none; }
.jegarguse-filter-group h5 { font-size: 0.85rem; font-weight: 900; margin: 0 0 0.6rem; color: var(--jegarguse-ink); }
.jegarguse-filter-option {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.6rem; margin-inline: -0.6rem; font-size: 0.9rem; border-radius: 10px; cursor: pointer;
  transition: background 0.15s ease;
}
.jegarguse-filter-option:hover { background: var(--jegarguse-paper-alt); }
.jegarguse-filter-option.is-active { font-weight: 900; color: var(--jegarguse-blue-dark); background: var(--jegarguse-blue-soft); }
.jegarguse-filter-option input { accent-color: var(--jegarguse-blue); width: 1rem; height: 1rem; }
.jegarguse-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.jegarguse-filters input[type="number"], .jegarguse-filters input[type="text"] {
  border: 1.5px solid var(--jegarguse-line); padding: 0.55rem 0.75rem; width: 100%; background: var(--jegarguse-paper); border-radius: var(--jegarguse-radius-sm);
}
.jegarguse-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.jegarguse-toolbar select {
  border: 1.5px solid var(--jegarguse-line); padding: 0.6rem 1rem; background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-pill); font-weight: 700; font-size: 0.88rem;
}
.jegarguse-filter-open { display: none; }
.jegarguse-empty-state { text-align: center; padding-block: 3rem; background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); }
.jegarguse-empty-state h3 { margin-bottom: 0.5rem; }
.jegarguse-empty-state p { margin-bottom: 1.25rem; }
.jegarguse-pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; font-weight: 800; }
.jegarguse-pagination a, .jegarguse-pagination span {
  min-width: 2.6rem; height: 2.6rem; padding-inline: 0.5rem; display: flex; align-items: center; justify-content: center; border-radius: var(--jegarguse-radius-pill);
  background: var(--jegarguse-card); box-shadow: inset 0 0 0 1.5px var(--jegarguse-line); transition: background 0.2s ease;
}
.jegarguse-pagination a:hover { background: var(--jegarguse-paper-alt); }
.jegarguse-pagination span.is-active { background: var(--jegarguse-ink); color: #fff; box-shadow: none; }
@media (max-width: 899px) {
  .jegarguse-shop-layout { grid-template-columns: 1fr; }
  .jegarguse-filter-open { display: inline-flex; }
  .jegarguse-filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 75; max-height: 82vh; border-radius: 28px 28px 0 0; padding: 0 1.25rem 1.5rem;
    transform: translateY(105%); transition: transform 0.4s var(--jegarguse-ease); box-shadow: 0 -20px 50px -20px rgba(29,33,66,0.45);
  }
  .jegarguse-filters.is-open { transform: none; }
  .jegarguse-filters-head {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--jegarguse-card); z-index: 1;
    padding: 1rem 0 0.75rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--jegarguse-line); font-weight: 900;
  }
  .jegarguse-filters-head::before { content: ""; position: absolute; top: 0.45rem; left: 50%; width: 2.6rem; height: 4px; border-radius: 4px; background: var(--jegarguse-line); translate: -50% 0; }
}

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.jegarguse-product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; padding-block: 1rem 1.5rem; align-items: start; }
/* min-width:0 lets each 1fr column shrink to its share; the thumbs strip then scrolls instead of blowing the column out. */
.jegarguse-product-detail > div { min-width: 0; }
.jegarguse-product-detail > div:first-child { position: sticky; top: calc(var(--jegarguse-header-h) + 1rem); }
.jegarguse-gallery-main {
  position: relative; aspect-ratio: 4/5; max-height: 640px; overflow: hidden; margin-inline: auto;
  background: var(--jegarguse-paper-alt); border-radius: 36px; cursor: zoom-in;
}
.jegarguse-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.25s ease; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.jegarguse-gallery-main.is-zoom img { transform: scale(1.9); }
.jegarguse-gallery-main.is-swapping img { opacity: 0.2; }
.jegarguse-gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 2.75rem; height: 2.75rem; border-radius: 50%; z-index: 2;
  background: rgba(255, 255, 255, 0.9); box-shadow: var(--jegarguse-shadow-sm); border: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 1.5rem; line-height: 1; color: var(--jegarguse-ink); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease;
}
.jegarguse-gallery-nav:hover { transform: scale(1.08); }
.jegarguse-gallery-prev { inset-inline-start: 0.85rem; }
.jegarguse-gallery-next { inset-inline-end: 0.85rem; }
.jegarguse-gallery-counter {
  position: absolute; bottom: 0.85rem; inset-inline-end: 0.85rem; background: rgba(29, 33, 66, 0.7); color: #fff; z-index: 2;
  font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: var(--jegarguse-radius-pill);
  direction: ltr; /* "N / total" must stay LTR inside the RTL page or the digit runs get bidi-reordered. */
}
.jegarguse-gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.85rem; overflow-x: auto; padding: 0.2rem; scrollbar-width: none; justify-content: center; }
.jegarguse-gallery-thumbs::-webkit-scrollbar { display: none; }
.jegarguse-gallery-thumbs button {
  padding: 0; border: 2px solid transparent; flex: 0 0 auto; width: 4.4rem; aspect-ratio: 4/5;
  overflow: hidden; opacity: 0.6; border-radius: 16px; background: var(--jegarguse-paper-alt); transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.jegarguse-gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.jegarguse-gallery-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.jegarguse-gallery-thumbs button.is-active { border-color: var(--jegarguse-ink); opacity: 1; }

.jegarguse-pd-info { display: flex; flex-direction: column; }
.jegarguse-pd-brand { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--jegarguse-orange-dark); font-weight: 800; }
.jegarguse-pd-title { font-size: clamp(1.45rem, 2.6vw, 2.1rem); margin-block: 0.35rem 0.5rem; line-height: 1.4; font-weight: 900; }
.jegarguse-pd-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.4rem; }
.jegarguse-pd-price-card {
  margin-top: 1.1rem; padding: 1.1rem 1.25rem; border-radius: var(--jegarguse-radius-md); background: var(--jegarguse-card); box-shadow: var(--jegarguse-shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.jegarguse-pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.65rem; font-size: 1.6rem; }
.jegarguse-pd-price .jegarguse-price { color: var(--jegarguse-ink); font-size: 1.7rem; }
.jegarguse-pd-sku { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-size: 0.78rem; color: var(--jegarguse-ink-soft); }
.jegarguse-pd-sku code {
  background: var(--jegarguse-paper-alt); color: var(--jegarguse-ink); font-weight: 700; padding: 0.12rem 0.55rem; border-radius: 8px;
  font-family: ui-monospace, Consolas, monospace; direction: ltr; font-size: 0.78rem;
}
.jegarguse-pd-desc { color: var(--jegarguse-ink-soft); margin-top: 0.9rem; font-size: 0.95rem; line-height: 1.95; }
.jegarguse-option-group { margin-top: 1.25rem; }
.jegarguse-option-group h5 { font-size: 0.88rem; font-weight: 900; margin: 0 0 0.6rem; }
.jegarguse-option-group .value { font-weight: 600; color: var(--jegarguse-ink-soft); }
.jegarguse-swatch-row { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.jegarguse-color-swatch-btn {
  width: 2.4rem; height: 2.4rem; border: 3px solid var(--jegarguse-paper); padding: 0; border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--jegarguse-line); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jegarguse-color-swatch-btn:hover { transform: scale(1.08); }
.jegarguse-color-swatch-btn.is-active { box-shadow: 0 0 0 2.5px var(--jegarguse-ink); }
.jegarguse-size-btn {
  min-width: 3rem; height: 3rem; padding-inline: 0.8rem; border: 1.5px solid var(--jegarguse-line); background: var(--jegarguse-card);
  font-weight: 800; font-size: 0.88rem; border-radius: 16px; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.jegarguse-size-btn:hover { border-color: var(--jegarguse-ink); transform: translateY(-1px); }
.jegarguse-size-btn.is-active { background: var(--jegarguse-ink); color: #fff; border-color: var(--jegarguse-ink); }
.jegarguse-pd-actions { display: flex; align-items: stretch; gap: 0.6rem; margin-top: 1.4rem; }
.jegarguse-qty-stepper {
  display: inline-flex; align-items: center; flex: 0 0 auto; background: var(--jegarguse-card); border: 1.5px solid var(--jegarguse-line);
  border-radius: var(--jegarguse-radius-pill); overflow: hidden;
}
.jegarguse-qty-stepper button { width: 2.6rem; height: 3.1rem; border: none; background: none; font-size: 1.15rem; font-weight: 700; }
.jegarguse-qty-stepper button:hover { background: var(--jegarguse-paper-alt); }
.jegarguse-qty-stepper input { width: 2.2rem; border: none; text-align: center; background: none; font-size: 0.95rem; font-weight: 800; padding: 0; -moz-appearance: textfield; }
.jegarguse-qty-stepper input::-webkit-outer-spin-button, .jegarguse-qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jegarguse-pd-actions .jegarguse-btn-primary { flex: 1; font-size: 1rem; }
.jegarguse-btn-icon {
  flex: 0 0 auto; width: 3.1rem; height: 3.1rem; min-height: 0; border-radius: 50%; border: 1.5px solid var(--jegarguse-line); padding: 0;
  background: var(--jegarguse-card); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--jegarguse-pink); line-height: 1;
}
.jegarguse-btn-icon.is-on { background: var(--jegarguse-pink); border-color: var(--jegarguse-pink); color: #fff; }
.jegarguse-size-guide {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; padding: 0.6rem 0.9rem;
  background: var(--jegarguse-blue-soft); border-radius: var(--jegarguse-radius-md); font-size: 0.78rem; font-weight: 700; color: var(--jegarguse-blue-dark); line-height: 1.6;
}
.jegarguse-pd-delivery {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--jegarguse-radius-md);
  background: var(--jegarguse-butter); font-size: 0.85rem; font-weight: 700; line-height: 1.6;
}
.jegarguse-pd-delivery i { font-style: normal; font-size: 1.4rem; }
.jegarguse-pd-delivery b { font-weight: 900; }
.jegarguse-trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.jegarguse-trust-row span {
  display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.78rem; line-height: 1.5;
  background: var(--jegarguse-card); border: 1px solid var(--jegarguse-line); border-radius: 14px; padding: 0.6rem 0.75rem;
}
.jegarguse-pd-buybar {
  position: fixed; inset-inline: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); z-index: 52; display: none;
  align-items: center; gap: 0.75rem; padding: 0.55rem 0.55rem 0.55rem 0.55rem; padding-inline-start: 1rem; border-radius: 22px;
  background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 44px -16px rgba(29,33,66,0.45);
  transform: translateY(160%); transition: transform 0.4s var(--jegarguse-ease);
}
.jegarguse-pd-buybar.is-visible { transform: none; }
.jegarguse-pd-buybar-price { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.jegarguse-pd-buybar-price b { font-size: 1rem; font-weight: 900; }
.jegarguse-pd-buybar-price small { font-size: 0.7rem; color: var(--jegarguse-ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jegarguse-pd-buybar .jegarguse-btn { min-height: 2.9rem; padding-inline: 1.5rem; }
@media (max-width: 999px) { .jegarguse-pd-buybar { display: flex; } body:has(.jegarguse-pd-buybar.is-visible) .jegarguse-tabbar { transform: translateY(140%); } }

.jegarguse-tabs { padding-block: 1.5rem 2.5rem; }
.jegarguse-tab-nav { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; background: var(--jegarguse-card); padding: 0.35rem; border-radius: var(--jegarguse-radius-pill); width: max-content; max-width: 100%; box-shadow: var(--jegarguse-shadow-sm); }
.jegarguse-tab-nav button {
  background: none; border: none; padding: 0.6rem 1.3rem; font-weight: 800; color: var(--jegarguse-ink-soft); border-radius: var(--jegarguse-radius-pill);
  white-space: nowrap; transition: background 0.2s ease, color 0.2s ease;
}
.jegarguse-tab-nav button.is-active { color: #fff; background: var(--jegarguse-ink); }
.jegarguse-tab-panel { display: none; background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); padding: 1.5rem; box-shadow: var(--jegarguse-shadow-sm); }
.jegarguse-tab-panel.is-active { display: block; animation: jegarguse-auth-in 0.3s ease both; }
.jegarguse-tab-panel .jegarguse-pd-desc { margin-top: 0; }
.jegarguse-review-item { padding-block: 1rem; border-bottom: 1px solid var(--jegarguse-line); }
.jegarguse-review-item:last-child { border-bottom: none; }
.jegarguse-specs-table { width: 100%; border-collapse: collapse; }
.jegarguse-specs-table tr { border-bottom: 1px solid var(--jegarguse-line); }
.jegarguse-specs-table tr:last-child { border-bottom: none; }
.jegarguse-specs-table th, .jegarguse-specs-table td { padding: 0.75rem 0.5rem; text-align: right; font-weight: 600; }
.jegarguse-specs-table th { color: var(--jegarguse-ink-soft); width: 35%; font-weight: 700; }

@media (max-width: 899px) {
  .jegarguse-product-detail { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 0; }
  .jegarguse-product-detail > div:first-child { position: static; margin-inline: -1.25rem; }
  .jegarguse-gallery-main { border-radius: 0 0 32px 32px; max-height: none; }
  .jegarguse-gallery-thumbs { justify-content: flex-start; padding-inline: 1.25rem; }
}

/* ---------- Cart / checkout / account cards (shared) ---------- */
/* ---------- Cart / checkout ---------- */
.jegarguse-cart-layout, .jegarguse-checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.75rem; align-items: start; padding-block: 1.75rem 2.5rem; }
.jegarguse-cart-item { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--jegarguse-line); }
.jegarguse-cart-item img { width: 6rem; height: 7.5rem; object-fit: cover; border-radius: var(--jegarguse-radius-md); }
.jegarguse-cart-item .jegarguse-meta { font-size: 0.85rem; color: var(--jegarguse-ink-soft); }
.jegarguse-cart-item .jegarguse-line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.jegarguse-remove-btn { background: none; border: none; color: var(--jegarguse-danger); font-size: 0.82rem; font-weight: 700; }
.jegarguse-price-updated-notice {
  background: var(--jegarguse-orange-soft); color: var(--jegarguse-orange-dark); font-weight: 700;
  font-size: 0.78rem; padding: 0.4rem 0.7rem; border-radius: var(--jegarguse-radius-sm); margin-top: 0.4rem;
}
.jegarguse-price-timer { margin-top: 0.5rem; max-width: 220px; }
.jegarguse-price-timer-track { height: 0.3rem; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-paper-alt); overflow: hidden; }
.jegarguse-price-timer-track .fill { height: 100%; background: var(--jegarguse-blue); border-radius: var(--jegarguse-radius-pill); transition: width 1s linear; }
.jegarguse-price-timer span { display: block; font-size: 0.72rem; color: var(--jegarguse-ink-soft); margin-top: 0.3rem; }
.jegarguse-summary-card { background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); padding: 1.25rem 1.35rem; box-shadow: var(--jegarguse-shadow); }
.jegarguse-summary-card h3 { margin-bottom: 0.75rem; }
.jegarguse-summary-row { display: flex; justify-content: space-between; padding-block: 0.35rem; font-size: 0.9rem; }
.jegarguse-summary-row.total { border-top: 1px solid var(--jegarguse-line); margin-top: 0.4rem; padding-top: 0.65rem; font-weight: 800; font-size: 1.02rem; }

.jegarguse-shipping-progress { margin-block: 1rem; }
.jegarguse-shipping-progress .track { height: 0.5rem; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-paper-alt); overflow: hidden; }
.jegarguse-shipping-progress .fill { height: 100%; background: var(--jegarguse-gradient); border-radius: var(--jegarguse-radius-pill); transition: width 0.3s ease; }
.jegarguse-shipping-progress p { font-size: 0.8rem; margin-top: 0.5rem; color: var(--jegarguse-ink-soft); }

.jegarguse-form-card { background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); padding: 1.4rem 1.5rem; max-width: 460px; margin-inline: auto; box-shadow: var(--jegarguse-shadow); }
.jegarguse-form-row { margin-bottom: 0.7rem; }
.jegarguse-form-row label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.25rem; }
.jegarguse-form-row input, .jegarguse-form-row textarea {
  width: 100%; padding: 0.55rem 0.85rem; border: 1.5px solid var(--jegarguse-line); background: var(--jegarguse-paper);
  border-radius: var(--jegarguse-radius-sm); min-height: 2.6rem;
}
.jegarguse-form-row input:focus, .jegarguse-form-row textarea:focus { outline: none; border-color: var(--jegarguse-blue); }
.jegarguse-field-error { background: var(--jegarguse-pink-soft); color: var(--jegarguse-danger); padding: 0.6rem 1rem; font-size: 0.86rem; border-radius: var(--jegarguse-radius-md); }
.jegarguse-form-links { text-align: center; margin-top: 0.9rem; font-size: 0.86rem; }
.jegarguse-form-links a { font-weight: 800; color: var(--jegarguse-blue-dark); }

.jegarguse-order-card { border: 1.5px solid var(--jegarguse-line); background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-md); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.jegarguse-order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; gap: 0.75rem; flex-wrap: wrap; }
.jegarguse-status-pill { padding: 0.3rem 0.85rem; font-size: 0.72rem; font-weight: 800; border-radius: var(--jegarguse-radius-pill); }
.jegarguse-status-Pending, .jegarguse-status-AwaitingPayment { background: #fdecc8; color: #93610a; }
.jegarguse-status-Processing, .jegarguse-status-Paid { background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); }
.jegarguse-status-Shipped { background: #e3ddfb; color: #4b3596; }
.jegarguse-status-Delivered { background: #dcf3e6; color: var(--jegarguse-success); }
.jegarguse-status-Cancelled, .jegarguse-status-PaymentFailed { background: var(--jegarguse-pink-soft); color: var(--jegarguse-danger); }

/* ---------- Payment trust badges (checkout / PDP / footer) ---------- */
.jegarguse-pay-trust { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--jegarguse-ink-soft); margin-top: 1rem; }
.jegarguse-share-nudge {
  margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--jegarguse-gradient-soft); border-radius: var(--jegarguse-radius-lg);
  text-align: center; font-weight: 700;
}

/* ---------- Cart / forms - refinements on top of the shared rules above ---------- */
.jegarguse-cart-item { border-bottom-style: dashed; }
.jegarguse-cart-item img { border-radius: 18px; background: var(--jegarguse-paper-alt); }
.jegarguse-summary-card { position: relative; overflow: hidden; }
.jegarguse-summary-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--jegarguse-gradient); }
.jegarguse-summary-row.total { font-size: 1.15rem; }
.jegarguse-form-row input:focus, .jegarguse-form-row textarea:focus { box-shadow: 0 0 0 4px var(--jegarguse-blue-soft); }

/* ---------- Footer ---------- */
.jegarguse-footer { position: relative; background: var(--jegarguse-ink); color: #c9cbe0; padding-block: 0 1.5rem; margin-top: 4rem; }
.jegarguse-footer::before {
  content: ""; position: absolute; inset-inline: 0; top: -21px; height: 22px; background: var(--jegarguse-ink);
  -webkit-mask: radial-gradient(22px 22px at 50% 100%, #000 98%, transparent) 0 0 / 40px 22px repeat-x;
  mask: radial-gradient(22px 22px at 50% 100%, #000 98%, transparent) 0 0 / 40px 22px repeat-x;
}
.jegarguse-footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-block: 2.75rem 2.25rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.jegarguse-footer-cta h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.4; }
.jegarguse-footer-cta h3 em { font-style: normal; background: linear-gradient(120deg, #9fb4ff, #ffb199); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jegarguse-footer-cta .jegarguse-btn { background: #fff; color: var(--jegarguse-ink); }
.jegarguse-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; align-items: start; padding-top: 2.5rem; }
.jegarguse-footer .jegarguse-brand span { background: linear-gradient(120deg, #9fb4ff, #ffb199); -webkit-background-clip: text; background-clip: text; }
.jegarguse-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.jegarguse-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.9rem; }
.jegarguse-footer ul a { transition: color 0.2s ease, padding 0.2s ease; }
.jegarguse-footer ul a:hover { color: #fff; padding-inline-start: 0.3rem; }
.jegarguse-footer-about { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.9; max-width: 22rem; }
.jegarguse-footer-trust { display: flex; flex-direction: column; gap: 0.6rem; }
.jegarguse-footer-trust span {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border-radius: 14px; background: rgba(255,255,255,0.06);
  font-size: 0.85rem; font-weight: 700; color: #e6e7f2;
}
.jegarguse-footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.8rem; color: #8f92b0;
}
.jegarguse-footer-bottom .heart { color: var(--jegarguse-pink); display: inline-block; animation: jegarguse-heartbeat 1.6s ease-in-out infinite; }
@media (max-width: 899px) {
  .jegarguse-footer-grid { grid-template-columns: 1fr 1fr; }
  .jegarguse-footer-grid > div:first-child, .jegarguse-footer-grid > div:last-child { grid-column: 1 / -1; }
  .jegarguse-footer-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Breadcrumb ---------- */
.jegarguse-breadcrumb { padding-block: 1rem 0.6rem; font-size: 0.82rem; }
.jegarguse-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0; padding: 0; }
.jegarguse-breadcrumb li { display: flex; align-items: center; gap: 0.35rem; color: var(--jegarguse-ink-soft); }
.jegarguse-breadcrumb li:not(:last-child)::after { content: "‹"; color: var(--jegarguse-ink-soft); opacity: 0.5; font-weight: 700; }
.jegarguse-breadcrumb a { font-weight: 700; color: var(--jegarguse-ink-soft); transition: color 0.2s ease; }
.jegarguse-breadcrumb a:hover { color: var(--jegarguse-blue-dark); }
.jegarguse-breadcrumb span[aria-current] { color: var(--jegarguse-ink); font-weight: 800; }

/* ---------- Content / blog (مجله) ---------- */
.jegarguse-content-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.jegarguse-content-card { display: block; transition: transform 0.4s var(--jegarguse-ease); }
.jegarguse-content-card:hover { transform: translateY(-4px); }
.jegarguse-content-card-thumb { aspect-ratio: 16/11; overflow: hidden; border-radius: var(--jegarguse-radius-lg); background: var(--jegarguse-paper-alt); }
.jegarguse-content-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--jegarguse-ease); }
.jegarguse-content-card:hover .jegarguse-content-card-thumb img { transform: scale(1.06); }
.jegarguse-content-card-info { padding: 1rem 0.35rem 0; }
.jegarguse-content-card-type {
  display: inline-block; margin-bottom: 0.4rem; padding: 0.2rem 0.65rem; font-size: 0.7rem; font-weight: 800;
  color: var(--jegarguse-blue-dark); background: var(--jegarguse-blue-soft); border-radius: var(--jegarguse-radius-pill);
}
.jegarguse-content-card-title { font-weight: 900; font-size: 1.08rem; margin-bottom: 0.35rem; line-height: 1.6; }
.jegarguse-content-card:hover .jegarguse-content-card-title { color: var(--jegarguse-blue-dark); }
.jegarguse-content-card-excerpt { font-size: 0.88rem; line-height: 1.8; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jegarguse-content-card-date { font-size: 0.76rem; }
.jegarguse-content-detail { max-width: 780px; padding-block: 1.5rem 2.5rem; }
.jegarguse-content-detail-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-block: 0.6rem 0.5rem; }
.jegarguse-content-detail-meta { font-size: 0.85rem; margin-bottom: 1.5rem; }
.jegarguse-content-detail-cover { border-radius: var(--jegarguse-radius-lg); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/9; background: var(--jegarguse-paper-alt); }
.jegarguse-content-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.jegarguse-content-detail-body { line-height: 2; font-size: 1.04rem; }
.jegarguse-content-detail-body h2, .jegarguse-content-detail-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.jegarguse-content-detail-body p { margin-bottom: 1.1rem; }
.jegarguse-content-detail-body img { border-radius: var(--jegarguse-radius-md); margin-block: 1rem; }
.jegarguse-content-detail-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.jegarguse-content-detail-gallery img { border-radius: var(--jegarguse-radius-md); aspect-ratio: 1; object-fit: cover; }
.jegarguse-content-detail-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.jegarguse-tag-pill {
  display: inline-block; padding: 0.35rem 0.9rem; font-size: 0.8rem; font-weight: 700;
  background: var(--jegarguse-orange-soft); color: var(--jegarguse-orange-dark); border-radius: var(--jegarguse-radius-pill); transition: background 0.2s ease, color 0.2s ease;
}
.jegarguse-tag-pill:hover { background: var(--jegarguse-orange-dark); color: #fff; }

@media (max-width: 899px) {
  .jegarguse-cart-layout, .jegarguse-checkout-layout { grid-template-columns: 1fr; }
}

/* ---------- Add-to-cart toast + fly-to-cart ghost ---------- */
.jegarguse-toast {
  position: fixed; z-index: 90; inset-inline: 0.75rem; top: calc(0.75rem + env(safe-area-inset-top, 0px)); margin-inline: auto; max-width: 420px;
  display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem; padding-inline-end: 0.85rem; border-radius: 22px;
  background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -24px rgba(29,33,66,0.5);
  transform: translateY(-140%); opacity: 0; transition: transform 0.5s var(--jegarguse-ease), opacity 0.3s ease;
}
.jegarguse-toast.is-visible { transform: none; opacity: 1; }
.jegarguse-toast img { width: 3.5rem; height: 3.5rem; border-radius: 16px; object-fit: cover; flex: 0 0 auto; background: var(--jegarguse-paper-alt); }
.jegarguse-toast-text { flex: 1; min-width: 0; line-height: 1.5; }
.jegarguse-toast-text strong { display: flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; font-weight: 900; color: var(--jegarguse-success); }
.jegarguse-toast-text span { display: block; font-size: 0.8rem; color: var(--jegarguse-ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jegarguse-toast.is-error .jegarguse-toast-text strong { color: var(--jegarguse-danger); }
.jegarguse-toast .jegarguse-btn { min-height: 2.4rem; padding-inline: 1rem; font-size: 0.8rem; }
@media (min-width: 1000px) { .jegarguse-toast { inset-inline: auto 1.5rem; top: calc(var(--jegarguse-header-h) + 1rem); margin: 0; } }
.jegarguse-fly {
  position: fixed; z-index: 95; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: var(--jegarguse-shadow);
  transition: transform 0.8s cubic-bezier(.5, -0.3, .7, .3), opacity 0.8s ease, width 0.8s var(--jegarguse-ease), height 0.8s var(--jegarguse-ease);
}

/* ---------- Scroll reveal (progressive: only hides when JS has opted the page in) ---------- */
.jegarguse-js .jegarguse-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--jegarguse-ease), transform 0.8s var(--jegarguse-ease); transition-delay: var(--d, 0s); }
.jegarguse-js .jegarguse-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .jegarguse-js .jegarguse-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   ورود / OTP — a two-panel "auth" experience: a warm illustrated brand aside
   and a focused sign-in card with a 6-box one-time-code input.
   ========================================================================== */
.jegarguse-auth { padding: 1.5rem 1.25rem 2.5rem; overflow-x: clip; }
.jegarguse-auth-shell {
  max-width: 960px; margin-inline: auto; display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg);
  box-shadow: var(--jegarguse-shadow); overflow: hidden; min-height: 0;
}
.jegarguse-auth-shell > * { min-width: 0; }
.jegarguse-auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 2.25rem 2.25rem;
  background:
    radial-gradient(ellipse 340px 260px at 12% 12%, rgba(255,255,255,0.22), transparent 60%),
    var(--jegarguse-gradient);
}
.jegarguse-auth-aside-inner { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.jegarguse-auth-aside .jegarguse-eyebrow { color: #fff; opacity: 0.9; }
.jegarguse-auth-aside .jegarguse-eyebrow::before { color: var(--jegarguse-gold); }
.jegarguse-auth-aside h2 { font-size: 1.6rem; line-height: 1.45; margin-bottom: 0.5rem; }
.jegarguse-auth-aside > .jegarguse-auth-aside-inner > p { color: rgba(255,255,255,0.9); font-size: 0.94rem; }
.jegarguse-auth-perks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; }
.jegarguse-auth-perks li { display: flex; align-items: center; gap: 0.6rem; }
.jegarguse-auth-perks span { font-size: 1.05rem; }
.jegarguse-auth-quote { margin: auto 0 0; padding: 0.85rem 1rem; background: rgba(255,255,255,0.14); border-radius: var(--jegarguse-radius-md); }
.jegarguse-auth-quote blockquote { margin: 0; font-size: 0.9rem; line-height: 1.9; }
.jegarguse-auth-quote figcaption { margin-top: 0.4rem; font-size: 0.78rem; opacity: 0.85; font-weight: 700; }
.jegarguse-auth-blob { position: absolute; border-radius: 45% 55% 62% 38% / 48% 42% 58% 52%; opacity: 0.28; }
.jegarguse-auth-blob.b1 { width: 160px; height: 160px; background: #fff; top: -40px; inset-inline-end: -40px; }
.jegarguse-auth-blob.b2 { width: 90px; height: 90px; background: var(--jegarguse-pink); bottom: 30%; inset-inline-end: 12%; opacity: 0.4; }
.jegarguse-auth-blob.b3 { width: 44px; height: 44px; background: var(--jegarguse-gold); top: 22%; inset-inline-end: 30%; opacity: 0.5; }

.jegarguse-auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 2rem; }
.jegarguse-auth-card { width: 100%; max-width: 380px; }
.jegarguse-auth-card-head { text-align: center; margin-bottom: 1rem; }
.jegarguse-auth-card-head h1 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.jegarguse-auth-step label { display: block; font-size: 0.83rem; font-weight: 700; margin-bottom: 0.35rem; }
.jegarguse-auth-phone-field {
  display: flex; align-items: center; border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-md);
  background: var(--jegarguse-paper); overflow: hidden; margin-bottom: 0.7rem; transition: border-color 0.15s ease;
}
.jegarguse-auth-phone-field:focus-within { border-color: var(--jegarguse-blue); }
.jegarguse-auth-phone-field span { padding: 0 0.85rem; font-weight: 800; color: var(--jegarguse-ink-soft); border-inline-end: 1.5px solid var(--jegarguse-line); align-self: stretch; display: flex; align-items: center; }
.jegarguse-auth-phone-field input { flex: 1; min-width: 0; border: none; background: none; padding: 0.7rem 0.85rem; font-size: 1.02rem; letter-spacing: 0.06em; outline: none; direction: ltr; text-align: left; }
.jegarguse-auth-fineprint { font-size: 0.74rem; color: var(--jegarguse-ink-soft); text-align: center; margin-top: 0.7rem; }
.jegarguse-auth-fineprint a { font-weight: 700; color: var(--jegarguse-blue-dark); }

.jegarguse-auth-back { background: none; border: none; color: var(--jegarguse-blue-dark); font-weight: 700; font-size: 0.85rem; padding: 0; margin-bottom: 0.6rem; }
.jegarguse-auth-phone-shown { font-weight: 800; color: var(--jegarguse-ink); }
.jegarguse-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.4rem; margin: 0.6rem 0 0.8rem; }
.jegarguse-otp input {
  width: 100%; height: 2.9rem; text-align: center; font-size: 1.25rem; font-weight: 800;
  border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-sm); background: var(--jegarguse-paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.jegarguse-otp input:focus { outline: none; border-color: var(--jegarguse-blue); box-shadow: 0 0 0 3px var(--jegarguse-blue-soft); }
.jegarguse-otp input:not(:placeholder-shown), .jegarguse-otp input[value]:not([value=""]) { border-color: var(--jegarguse-blue); }
.jegarguse-auth-resend { display: block; width: 100%; margin-top: 0.6rem; background: none; border: none; font-weight: 700; font-size: 0.85rem; color: var(--jegarguse-blue-dark); }
.jegarguse-auth-resend:disabled { color: var(--jegarguse-ink-soft); }
.jegarguse-auth-trust { margin-top: 1rem; text-align: center; font-size: 0.76rem; color: var(--jegarguse-ink-soft); font-weight: 700; }
.jegarguse-auth-step { animation: jegarguse-auth-in 0.28s ease both; }
@keyframes jegarguse-auth-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .jegarguse-auth { padding: 0 0 3rem; }
  .jegarguse-auth-shell { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; min-height: 0; }
  .jegarguse-auth-aside { padding: 2rem 1.5rem 2.5rem; }
  .jegarguse-auth-aside h2 { font-size: 1.35rem; }
  .jegarguse-auth-perks, .jegarguse-auth-quote { display: none; }
  .jegarguse-auth-main { padding: 2rem 1.25rem; }
  .jegarguse-auth-card { max-width: 420px; }
}

/* ==========================================================================
   حساب کاربری — a sidebar + content grid with a gradient profile card,
   stat tiles, an order status stepper, address cards and a wishlist grid.
   ========================================================================== */
.jegarguse-account { max-width: 1160px; margin-inline: auto; padding: 1.25rem 1.5rem 2.5rem; display: grid; grid-template-columns: 250px 1fr; gap: 1.35rem; align-items: start; }
.jegarguse-account-side { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 0.75rem; }
.jegarguse-account-usercard {
  background: var(--jegarguse-gradient); color: #fff; border-radius: var(--jegarguse-radius-lg); padding: 1.15rem 1.1rem;
  text-align: center; box-shadow: var(--jegarguse-shadow-sm);
}
.jegarguse-account-avatar {
  width: 3.6rem; height: 3.6rem; margin: 0 auto 0.5rem; border-radius: 50%; background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900;
}
.jegarguse-account-usercard strong { display: block; font-size: 1.05rem; }
.jegarguse-account-usercard span { font-size: 0.82rem; opacity: 0.9; direction: ltr; display: inline-block; }
.jegarguse-account-nav { background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); padding: 0.6rem; box-shadow: var(--jegarguse-shadow-sm); display: flex; flex-direction: column; gap: 0.15rem; }
.jegarguse-account-nav a, .jegarguse-account-nav button {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; border-radius: var(--jegarguse-radius-md);
  font-weight: 700; font-size: 0.88rem; color: var(--jegarguse-ink); background: none; border: none; text-align: start; width: 100%;
}
.jegarguse-account-nav a:hover, .jegarguse-account-nav button:hover { background: var(--jegarguse-blue-soft); }
.jegarguse-account-nav a.is-active { background: var(--jegarguse-blue); color: #fff; }
.jegarguse-account-nav a .jegarguse-count, .jegarguse-account-nav .jegarguse-count { margin-inline-start: auto; font-size: 0.72rem; background: var(--jegarguse-paper-alt); color: var(--jegarguse-ink-soft); padding: 0.05rem 0.5rem; border-radius: 999px; }
.jegarguse-account-nav a.is-active .jegarguse-count { background: rgba(255,255,255,0.25); color: #fff; }
.jegarguse-account-nav svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }

.jegarguse-account-main { min-width: 0; }
.jegarguse-account-h { font-size: 1.3rem; margin-bottom: 0.85rem; }
.jegarguse-account-h .jegarguse-muted { font-weight: 400; font-size: 0.92rem; }

.jegarguse-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin-bottom: 1.1rem; }
.jegarguse-stat { background: var(--jegarguse-card); border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-md); padding: 0.8rem 1rem; }
.jegarguse-stat .s-label { font-size: 0.78rem; color: var(--jegarguse-ink-soft); }
.jegarguse-stat .s-value { font-size: 1.3rem; font-weight: 800; margin-top: 0.15rem; }

.jegarguse-account-panel { background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); padding: 1.1rem 1.2rem; box-shadow: var(--jegarguse-shadow-sm); margin-bottom: 1rem; }
.jegarguse-account-panel h3 { font-size: 1rem; margin-bottom: 0.7rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.jegarguse-account-panel h3 a { font-size: 0.82rem; font-weight: 800; color: var(--jegarguse-blue-dark); }

.jegarguse-order-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--jegarguse-line); }
.jegarguse-order-row:last-child { border-bottom: none; }
.jegarguse-order-thumbs { display: flex; }
.jegarguse-order-thumbs img { width: 3rem; height: 3.6rem; object-fit: cover; border-radius: var(--jegarguse-radius-sm); border: 2px solid var(--jegarguse-card); margin-inline-start: -0.75rem; background: var(--jegarguse-paper-alt); }
.jegarguse-order-thumbs img:first-child { margin-inline-start: 0; }
.jegarguse-order-row .o-meta strong { display: block; }
.jegarguse-order-row .o-meta span { font-size: 0.82rem; color: var(--jegarguse-ink-soft); }
.jegarguse-order-row .o-right { text-align: end; }
.jegarguse-order-row .o-right .o-total { font-weight: 800; margin-top: 0.35rem; display: block; font-size: 0.9rem; }

/* order status stepper */
.jegarguse-stepper { display: flex; margin: 0.85rem 0 0.4rem; }
.jegarguse-stepper .step { flex: 1; text-align: center; position: relative; font-size: 0.76rem; color: var(--jegarguse-ink-soft); font-weight: 700; }
.jegarguse-stepper .step .dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--jegarguse-paper-alt); border: 2px solid var(--jegarguse-line); margin: 0 auto 0.4rem; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; position: relative; z-index: 1; }
.jegarguse-stepper .step::before { content: ""; position: absolute; top: 0.8rem; inset-inline-end: 50%; width: 100%; height: 2px; background: var(--jegarguse-line); z-index: 0; }
.jegarguse-stepper .step:first-child::before { display: none; }
.jegarguse-stepper .step.done .dot { background: var(--jegarguse-success); border-color: var(--jegarguse-success); color: #fff; }
.jegarguse-stepper .step.done::before { background: var(--jegarguse-success); }
.jegarguse-stepper .step.current .dot { background: var(--jegarguse-blue); border-color: var(--jegarguse-blue); color: #fff; box-shadow: 0 0 0 4px var(--jegarguse-blue-soft); }
.jegarguse-stepper .step.current { color: var(--jegarguse-blue-dark); }
.jegarguse-stepper.is-cancelled .step .dot { background: var(--jegarguse-pink-soft); border-color: var(--jegarguse-pink-soft); }

.jegarguse-track-box { display: flex; align-items: center; gap: 0.75rem; background: var(--jegarguse-blue-soft); border-radius: var(--jegarguse-radius-md); padding: 0.65rem 1rem; font-weight: 700; color: var(--jegarguse-blue-dark); margin-top: 0.7rem; flex-wrap: wrap; }
.jegarguse-track-box code { background: #fff; padding: 0.2rem 0.6rem; border-radius: 8px; direction: ltr; font-size: 0.95rem; }

.jegarguse-detail-items .di { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 0.85rem; padding: 0.7rem 0; border-bottom: 1px solid var(--jegarguse-line); align-items: center; }
.jegarguse-detail-items .di:last-child { border-bottom: none; }
.jegarguse-detail-items .di img { width: 3.5rem; height: 4.3rem; object-fit: cover; border-radius: var(--jegarguse-radius-sm); background: var(--jegarguse-paper-alt); }
.jegarguse-detail-items .di .di-name { font-weight: 700; }
.jegarguse-detail-items .di .di-sub { font-size: 0.82rem; color: var(--jegarguse-ink-soft); }

/* address cards */
.jegarguse-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; }
.jegarguse-addr-card { border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-md); padding: 0.85rem 1rem; position: relative; }
.jegarguse-addr-card.is-default { border-color: var(--jegarguse-blue); box-shadow: 0 0 0 3px var(--jegarguse-blue-soft); }
.jegarguse-addr-card .a-title { font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
.jegarguse-addr-card .a-default-badge { font-size: 0.68rem; background: var(--jegarguse-blue); color: #fff; padding: 0.1rem 0.5rem; border-radius: 999px; }
.jegarguse-addr-card .a-body { font-size: 0.86rem; color: var(--jegarguse-ink-soft); margin-top: 0.35rem; line-height: 1.7; }
.jegarguse-addr-card .a-actions { display: flex; gap: 0.75rem; margin-top: 0.6rem; font-size: 0.82rem; font-weight: 700; }
.jegarguse-addr-card .a-actions button, .jegarguse-addr-card .a-actions a { background: none; border: none; color: var(--jegarguse-blue-dark); padding: 0; cursor: pointer; }
.jegarguse-addr-card .a-actions .danger { color: var(--jegarguse-danger); }
.jegarguse-addr-add { border: 2px dashed var(--jegarguse-line); border-radius: var(--jegarguse-radius-md); padding: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 800; color: var(--jegarguse-blue-dark); background: none; cursor: pointer; }

.jegarguse-address-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.7rem; }
.jegarguse-address-form .full { grid-column: 1 / -1; }
.jegarguse-address-form label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.2rem; }
.jegarguse-address-form input, .jegarguse-address-form select, .jegarguse-address-form textarea {
  width: 100%; padding: 0.5rem 0.8rem; border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-sm);
  background: var(--jegarguse-paper); min-height: 2.5rem;
}
.jegarguse-address-form textarea { min-height: 3.4rem; resize: vertical; }
.jegarguse-address-form input:focus, .jegarguse-address-form select:focus, .jegarguse-address-form textarea:focus { outline: none; border-color: var(--jegarguse-blue); }
.jegarguse-hint { font-size: 0.72rem; color: var(--jegarguse-ink-soft); margin-top: 0.2rem; }
.jegarguse-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 700; }
.jegarguse-check input { width: auto; min-height: 0; }

.jegarguse-fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }

.jegarguse-account-empty { text-align: center; padding: 2rem 1rem; color: var(--jegarguse-ink-soft); }
.jegarguse-account-empty .big { font-size: 2.5rem; }

/* ---------- One-page checkout ---------- */
.jegarguse-checkout { display: grid; grid-template-columns: 1fr 340px; gap: 1.25rem; align-items: start; padding-bottom: 2.5rem; }
.jegarguse-checkout-steps { min-width: 0; }
.jegarguse-checkout-summary { position: sticky; top: 6rem; }
.jco-step-num { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--jegarguse-blue); color: #fff; font-size: 0.82rem; margin-inline-end: 0.5rem; }
.jco-addr-card, .jco-ship-card {
  display: flex; align-items: flex-start; gap: 0.7rem; border: 1.5px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-md);
  padding: 0.65rem 0.9rem; margin-bottom: 0.5rem; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.jco-addr-card:hover, .jco-ship-card:hover { border-color: var(--jegarguse-blue); }
.jco-addr-card.is-selected, .jco-ship-card:has(input:checked) { border-color: var(--jegarguse-blue); background: var(--jegarguse-blue-soft); }
.jco-addr-card input, .jco-ship-card input { margin-top: 0.25rem; flex: 0 0 auto; }
.jco-addr-card[data-new] { justify-content: center; border-style: dashed; color: var(--jegarguse-blue-dark); font-weight: 800; }

.jegarguse-paybar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: none;
  align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem;
  background: var(--jegarguse-card); border-top: 1px solid var(--jegarguse-line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.3);
}
.jegarguse-paybar .jegarguse-btn { padding-inline: 2.5rem; }

@media (max-width: 900px) {
  .jegarguse-checkout { grid-template-columns: 1fr; }
  .jegarguse-checkout-summary { position: static; order: -1; }
  .jegarguse-checkout-steps { padding-bottom: 5rem; }
  .jegarguse-paybar { display: flex; }
  .jegarguse-checkout-steps #jco-submit, .jegarguse-checkout-steps .jegarguse-pay-trust { display: none; }
  .jegarguse-account { grid-template-columns: 1fr; }
  .jegarguse-account-side { position: static; flex-direction: column; }
  .jegarguse-account-nav { flex-direction: row; overflow-x: auto; }
  .jegarguse-account-nav a, .jegarguse-account-nav button { white-space: nowrap; }
  .jegarguse-account-nav a .jegarguse-count, .jegarguse-account-nav .jegarguse-count { display: none; }
  .jegarguse-address-form { grid-template-columns: 1fr; }
  .jegarguse-order-row { grid-template-columns: 1fr auto; }
  .jegarguse-order-thumbs { grid-column: 1 / -1; }
}

/* The checkout/cart pages carry their own fixed pay bar - the app tab bar would sit on top of it. */
body:has(.jegarguse-paybar) .jegarguse-tabbar { display: none; }
.jegarguse-btn-icon.is-on svg { fill: currentColor; animation: jegarguse-heartbeat 0.5s var(--jegarguse-ease); }
@media (max-width: 520px) {
  .jegarguse-pd-actions .jegarguse-btn-primary { padding-inline: 0.9rem; font-size: 0.92rem; }
  .jegarguse-pd-actions .jegarguse-btn-primary svg { display: none; }
  .jegarguse-qty-stepper button { width: 2.2rem; }
  .jegarguse-qty-stepper input { width: 1.8rem; }
}

/* ==========================================================================
   SHOP LISTING v3 ("jg-shop") - category/listing page. A soft gradient hero
   with the category name and a rail of sibling/child categories, pill sort
   chips instead of a <select>, removable active-filter chips, collapsible
   filter groups (sizes as chips, colours as swatches, quick price ranges),
   framed product cards with colour/size previews, and a compact pager.
   ========================================================================== */
.jg-shop { padding-bottom: 3rem; }
.jg-shop-hero {
  position: relative; overflow: hidden; margin: 0 0 1.75rem; padding: 2.1rem 0 1.4rem;
  background: var(--jegarguse-gradient-soft); border-bottom: 1px solid var(--jegarguse-line);
}
.jg-shop-hero-blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; pointer-events: none; }
.jg-blob-a { width: 340px; height: 340px; background: #c9d6ff; top: -140px; inset-inline-start: -80px; }
.jg-blob-b { width: 300px; height: 300px; background: #ffd6c2; bottom: -170px; inset-inline-end: 8%; }
.jg-shop-hero-inner { position: relative; }
.jg-shop-hero-text { max-width: 720px; }
.jg-shop-eyebrow {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 800; color: var(--jegarguse-blue-dark);
  background: rgba(255,255,255,.75); padding: .3rem .8rem; border-radius: var(--jegarguse-radius-pill); margin-bottom: .7rem;
  box-shadow: 0 4px 14px -10px rgba(29,33,66,.4);
}
a.jg-shop-eyebrow:hover { background: #fff; }
.jg-shop-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; margin: 0 0 .45rem; letter-spacing: -.01em; }
.jg-shop-hero p { color: var(--jegarguse-ink-soft); margin: 0 0 1rem; font-size: .95rem; line-height: 1.9; }
.jg-shop-perks { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.jg-shop-perks li {
  font-size: .8rem; font-weight: 700; color: var(--jegarguse-ink); background: rgba(255,255,255,.8);
  padding: .35rem .8rem; border-radius: var(--jegarguse-radius-pill); border: 1px solid rgba(255,255,255,.9);
}
.jg-shop-perks b { color: var(--jegarguse-blue-dark); font-weight: 900; }

.jg-cat-rail {
  position: relative; display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: 1.2rem .1rem .2rem;
  scroll-snap-type: x proximity;
}
.jg-cat-rail::-webkit-scrollbar { display: none; }
.jg-cat-pill {
  flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem .4rem .45rem; border-radius: var(--jegarguse-radius-pill); background: #fff;
  font-weight: 800; font-size: .86rem; color: var(--jegarguse-ink); border: 1.5px solid transparent;
  box-shadow: 0 8px 20px -16px rgba(29,33,66,.55); transition: transform .2s var(--jegarguse-ease), border-color .2s, box-shadow .2s;
}
.jg-cat-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(29,33,66,.55); }
.jg-cat-pill.is-active { border-color: var(--jegarguse-ink); background: var(--jegarguse-ink); color: #fff; }
.jg-cat-ico {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; font-weight: 900;
  background: var(--jegarguse-gradient); color: #fff;
}
.jg-tone-0 { background: linear-gradient(135deg, #6f8cff, #3b67ee); }
.jg-tone-1 { background: linear-gradient(135deg, #ffa27c, #ff6f8e); }
.jg-tone-2 { background: linear-gradient(135deg, #5fd3b0, #2aa889); }
.jg-tone-3 { background: linear-gradient(135deg, #ffd36b, #ffaa3b); }
.jg-tone-4 { background: linear-gradient(135deg, #b18cff, #7b6cf0); }
.jg-cat-pill.is-active .jg-cat-ico { box-shadow: 0 0 0 2px #fff; }

.jg-shop-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; }
/* min-width:0 - otherwise the nowrap sort chips widen the column past the viewport on phones. */
.jg-results { min-width: 0; }

/* Filters */
.jg-filters.jegarguse-filters { padding: 1.2rem 1.2rem 1rem; border: 1px solid var(--jegarguse-line); box-shadow: 0 18px 40px -34px rgba(29,33,66,.5); }
.jg-filters-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; font-weight: 900; font-size: .95rem; }
.jg-filters-title a { font-size: .76rem; font-weight: 800; color: var(--jegarguse-danger); }
.jg-fgroup { border-top: 1px dashed var(--jegarguse-line); padding: .85rem 0; }
.jg-fgroup > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-weight: 900; font-size: .86rem; color: var(--jegarguse-ink); user-select: none;
}
.jg-fgroup > summary::-webkit-details-marker { display: none; }
/* Physical left/bottom borders: rotate(-45deg) = a down chevron in both LTR and RTL. */
.jg-fgroup > summary::after {
  content: ""; width: .5rem; height: .5rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-.15rem) rotate(-45deg); transition: transform .2s ease; opacity: .55; margin-inline-end: .25rem;
}
.jg-fgroup[open] > summary::after { transform: translateY(.1rem) rotate(135deg); }
.jg-fgroup > summary + * { margin-top: .7rem; }
.jg-chips, .jg-swatches, .jg-price-presets { display: flex; flex-wrap: wrap; gap: .4rem; }
.jg-chip {
  position: relative; display: inline-flex; align-items: center; gap: .3rem; cursor: pointer;
  padding: .38rem .8rem; border-radius: var(--jegarguse-radius-pill); font-size: .8rem; font-weight: 700;
  background: var(--jegarguse-paper); border: 1.5px solid var(--jegarguse-line); color: var(--jegarguse-ink);
  transition: border-color .15s, background .15s, color .15s;
}
.jg-chip:hover { border-color: var(--jegarguse-blue); color: var(--jegarguse-blue-dark); }
.jg-chip.is-on { background: var(--jegarguse-ink); border-color: var(--jegarguse-ink); color: #fff; }
.jg-chip input, .jg-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.jg-swatch { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .25rem; cursor: pointer; width: 3.2rem; }
.jg-swatch-dot { width: 2rem; height: 2rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: box-shadow .15s; }
.jg-swatch:hover .jg-swatch-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 3px var(--jegarguse-blue-soft); }
.jg-swatch.is-on .jg-swatch-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 2px #fff, 0 0 0 4px var(--jegarguse-ink); }
.jg-swatch-name { font-size: .68rem; font-weight: 700; color: var(--jegarguse-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.jg-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.jg-price-inputs label { position: relative; display: block; }
.jg-price-inputs span { position: absolute; top: 50%; inset-inline-start: .75rem; translate: 0 -50%; font-size: .74rem; font-weight: 800; color: var(--jegarguse-ink-soft); pointer-events: none; }
.jg-filters .jg-price-inputs input { padding-inline-start: 2rem; font-size: .84rem; }
.jg-switch { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .84rem; font-weight: 700; }
.jg-switch input { position: absolute; opacity: 0; pointer-events: none; }
.jg-switch-track { position: relative; flex-shrink: 0; width: 2.5rem; height: 1.4rem; border-radius: 999px; background: var(--jegarguse-line); transition: background .2s; }
.jg-switch-track::after { content: ""; position: absolute; top: .2rem; inset-inline-start: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: inset-inline-start .2s var(--jegarguse-ease); }
.jg-switch input:checked + .jg-switch-track { background: var(--jegarguse-success); }
.jg-switch input:checked + .jg-switch-track::after { inset-inline-start: 1.3rem; }
.jg-switch input:focus-visible + .jg-switch-track { outline: 2px solid var(--jegarguse-blue); outline-offset: 2px; }
.jg-apply {
  width: 100%; margin-top: .6rem; padding: .75rem 1rem; border: none; cursor: pointer; border-radius: var(--jegarguse-radius-pill);
  background: var(--jegarguse-ink); color: #fff; font: inherit; font-weight: 900; font-size: .9rem;
}
.jg-apply:hover { background: var(--jegarguse-blue-dark); }

/* Toolbar */
.jg-toolbar {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .9rem; padding: .5rem;
  background: #fff; border: 1px solid var(--jegarguse-line); border-radius: var(--jegarguse-radius-pill);
}
.jg-filter-btn {
  display: none; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: var(--jegarguse-radius-pill);
  border: none; background: var(--jegarguse-ink); color: #fff; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer;
}
.jg-filter-count { min-width: 1.3rem; height: 1.3rem; padding: 0 .3rem; border-radius: 999px; background: var(--jegarguse-orange); font-size: .72rem; display: grid; place-items: center; }
.jg-sort { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.jg-sort::-webkit-scrollbar { display: none; }
.jg-sort-label { font-size: .78rem; font-weight: 800; color: var(--jegarguse-ink-soft); padding-inline: .6rem .2rem; white-space: nowrap; }
.jg-sort a {
  flex-shrink: 0; padding: .45rem .9rem; border-radius: var(--jegarguse-radius-pill); font-size: .82rem; font-weight: 800; color: var(--jegarguse-ink-soft);
  transition: background .15s, color .15s;
}
.jg-sort a:hover { background: var(--jegarguse-paper-alt); color: var(--jegarguse-ink); }
.jg-sort a.is-on { background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); }
.jg-view-toggle { display: flex; gap: .2rem; padding: .2rem; background: var(--jegarguse-paper); border-radius: var(--jegarguse-radius-pill); }
.jg-view-toggle button { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: none; background: transparent; color: var(--jegarguse-ink-soft); cursor: pointer; display: grid; place-items: center; }
.jg-view-toggle button.is-on { background: #fff; color: var(--jegarguse-ink); box-shadow: 0 2px 8px -4px rgba(29,33,66,.45); }

.jg-active { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .9rem; }
.jg-active-chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .45rem .32rem .8rem; border-radius: var(--jegarguse-radius-pill);
  background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); font-size: .78rem; font-weight: 800;
}
.jg-active-chip span { width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: .85rem; line-height: 1; }
.jg-active-chip:hover span { background: var(--jegarguse-danger); color: #fff; }
.jg-active-clear { font-size: .78rem; font-weight: 800; color: var(--jegarguse-danger); padding: .3rem .5rem; }
.jg-results-count { font-size: .82rem; color: var(--jegarguse-ink-soft); margin: 0 0 .9rem; }
.jg-results-count b { color: var(--jegarguse-ink); }

/* Grid + framed cards (listing only) */
.jg-shop .jg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .8rem; }
@media (min-width: 700px) { .jg-shop .jg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.1rem; } }
@media (min-width: 1280px) { .jg-shop .jg-grid.is-dense { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 699px) { .jg-shop .jg-grid.is-dense { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem .5rem; } .jg-shop .jg-grid.is-dense .jegarguse-info { font-size: .85em; } }
.jg-shop .jegarguse-product-card {
  background: #fff; border-radius: 24px; padding: .55rem .55rem .9rem; border: 1px solid var(--jegarguse-line);
  transition: transform .35s var(--jegarguse-ease), box-shadow .35s var(--jegarguse-ease), border-color .35s;
}
.jg-shop .jegarguse-product-card:hover { transform: translateY(-4px); box-shadow: var(--jegarguse-shadow); border-color: transparent; }
.jg-shop .jegarguse-product-card .jegarguse-thumb,
.jg-shop .jegarguse-product-card:hover .jegarguse-thumb { border-radius: 18px; box-shadow: none; }
.jg-shop .jegarguse-product-card .jegarguse-info { padding: .75rem .35rem 0; }
.jg-shop .jegarguse-product-card .jegarguse-quick-add { inset-inline: .55rem; bottom: .55rem; }
.jg-shop .jegarguse-product-card .jegarguse-quick-add button { width: 100%; justify-content: center; }
.jg-shop .jegarguse-product-card .jegarguse-quick-add button .lbl { opacity: 1; padding-inline-end: 0; }
.jg-shop .jegarguse-product-card .jegarguse-quick-add button svg { flex: 0 0 auto; width: 1.1rem; }
@media (hover: hover) {
  .jg-shop .jegarguse-product-card .jegarguse-quick-add { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .3s var(--jegarguse-ease); }
  .jg-shop .jegarguse-product-card:hover .jegarguse-quick-add, .jg-shop .jegarguse-product-card:focus-within .jegarguse-quick-add { opacity: 1; transform: none; }
  .jg-shop .jegarguse-product-card .jegarguse-quick-add button:hover { width: 100%; }
}
@media (hover: none) {
  .jg-shop .jegarguse-product-card .jegarguse-quick-add { inset-inline: auto .55rem; }
  .jg-shop .jegarguse-product-card .jegarguse-quick-add button { width: 2.75rem; }
  .jg-shop .jegarguse-product-card .jegarguse-quick-add button .lbl { display: none; }
}

/* Colour dots + size chips (every product card) */
.jegarguse-options-row { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: .4rem; flex-wrap: wrap; }
.jegarguse-color-dots { display: inline-flex; align-items: center; }
.jegarguse-color-dots i { width: .95rem; height: .95rem; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); margin-inline-start: -.3rem; }
.jegarguse-color-dots i:first-child { margin-inline-start: 0; }
.jegarguse-color-dots small, .jegarguse-size-chips small { font-size: .68rem; font-weight: 800; color: var(--jegarguse-ink-soft); margin-inline-start: .3rem; }
.jegarguse-size-chips { display: inline-flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.jegarguse-size-chips i {
  font-style: normal; font-size: .66rem; font-weight: 800; padding: .08rem .38rem; border-radius: 6px;
  background: var(--jegarguse-paper-alt); color: var(--jegarguse-ink);
}

/* Pager */
.jg-pager { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 2.4rem; flex-wrap: wrap; }
.jg-pager-pages { display: flex; align-items: center; gap: .3rem; padding: .3rem; background: #fff; border-radius: var(--jegarguse-radius-pill); border: 1px solid var(--jegarguse-line); }
.jg-pager-pages a, .jg-pager-pages span { min-width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: .88rem; }
.jg-pager-pages a:hover { background: var(--jegarguse-paper-alt); }
.jg-pager-pages .is-on { background: var(--jegarguse-ink); color: #fff; }
.jg-pager-gap { color: var(--jegarguse-ink-soft); min-width: 1.2rem !important; }
.jg-pager-step { padding: .6rem 1.1rem; border-radius: var(--jegarguse-radius-pill); background: #fff; border: 1px solid var(--jegarguse-line); font-weight: 800; font-size: .85rem; }
.jg-pager-step:hover { border-color: var(--jegarguse-ink); }

/* Empty state */
.jg-empty { text-align: center; padding: 3.2rem 1.5rem; background: #fff; border-radius: var(--jegarguse-radius-lg); border: 1px dashed var(--jegarguse-line); }
.jg-empty-art { font-size: 3.2rem; width: 6rem; height: 6rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--jegarguse-gradient-soft); }
.jg-empty h3 { margin: 0 0 .4rem; }
.jg-empty p { color: var(--jegarguse-ink-soft); margin: 0 0 1.25rem; }
.jg-empty-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 899px) {
  .jg-shop-hero { padding: 1.4rem 0 1rem; margin-bottom: 1.1rem; }
  .jg-shop-body { grid-template-columns: minmax(0, 1fr); }
  .jg-filter-btn { display: inline-flex; }
  .jg-sort-label { display: none; }
  .jg-toolbar { border-radius: 22px; }
  .jg-filters-title > span { display: none; } /* the bottom sheet already has its own "فیلترها" header */
  .jg-filters-title { justify-content: flex-end; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .jg-cat-pill, .jg-shop .jegarguse-product-card, .jg-shop .jegarguse-product-card .jegarguse-quick-add { transition: none; }
}

/* Category cover in the listing hero + the full "about this category" text under the grid. */
.jg-shop-hero-inner.has-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 34%); gap: 2.2rem; align-items: center; }
.jg-shop-hero-inner.has-cover .jg-shop-cover { grid-column: 2; grid-row: 1; }
.jg-shop-hero-inner.has-cover .jg-shop-hero-text { grid-column: 1; grid-row: 1; }
.jg-shop-cover {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -36px rgba(29,33,66,.55); border: 6px solid rgba(255,255,255,.85); transform: rotate(-1.5deg);
}
.jg-shop-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jg-shop-cover::after { content: "✦"; position: absolute; top: .6rem; inset-inline-end: .7rem; color: #fff; font-size: 1.1rem; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.jg-shop-more { font-weight: 800; color: var(--jegarguse-blue-dark); white-space: nowrap; margin-inline-start: .25rem; }
.jg-shop-more:hover { text-decoration: underline; }
.jg-about {
  margin-top: 3rem; padding: 1.8rem 2rem; background: #fff; border-radius: var(--jegarguse-radius-lg);
  border: 1px solid var(--jegarguse-line); scroll-margin-top: calc(var(--jegarguse-header-h) + 1rem);
}
.jg-about h2 { font-size: 1.2rem; font-weight: 900; margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem; }
.jg-about h2::before { content: ""; width: .6rem; height: 1.4rem; border-radius: 4px; background: var(--jegarguse-gradient); }
.jg-about-body { color: var(--jegarguse-ink-soft); line-height: 2.1; font-size: .95rem; }
.jg-about-body p { margin: 0 0 .9rem; }
.jg-about-body p:last-child { margin-bottom: 0; }
.jg-about-body h2, .jg-about-body h3 { color: var(--jegarguse-ink); font-size: 1.02rem; margin: 1.2rem 0 .5rem; }
.jg-about-body a { color: var(--jegarguse-blue-dark); text-decoration: underline; }
.jg-about-body img { max-width: 100%; height: auto; border-radius: 16px; }
@media (max-width: 899px) {
  .jg-shop-hero-inner.has-cover { grid-template-columns: 1fr; gap: 1.1rem; }
  .jg-shop-hero-inner.has-cover .jg-shop-cover, .jg-shop-hero-inner.has-cover .jg-shop-hero-text { grid-column: 1; grid-row: auto; }
  .jg-shop-cover { aspect-ratio: 16 / 9; transform: none; border-width: 4px; border-radius: 22px; }
  .jg-about { padding: 1.3rem 1.2rem; margin-top: 2rem; }
}

/* Breadcrumb v2 - a soft gradient pill (brand blue -> pink -> peach) with a home icon and the
   current page in a white chip. Overrides the plain text trail above; applies site-wide. */
.jegarguse-breadcrumb { padding-block: .9rem .5rem; }
.jegarguse-breadcrumb ol {
  display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .32rem .4rem .32rem .9rem; max-width: 100%;
  background: linear-gradient(110deg, rgba(233,238,255,.95) 0%, rgba(251,233,242,.95) 55%, rgba(255,234,223,.95) 100%);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--jegarguse-radius-pill);
  box-shadow: 0 10px 24px -20px rgba(59,103,238,.6), inset 0 1px 0 rgba(255,255,255,.8);
}
.jegarguse-breadcrumb li { gap: .25rem; }
.jegarguse-breadcrumb li:not(:last-child)::after {
  content: ""; width: .38rem; height: .38rem; margin-inline: .3rem .15rem; opacity: .45;
  border-left: 1.8px solid var(--jegarguse-ink-soft); border-bottom: 1.8px solid var(--jegarguse-ink-soft); transform: rotate(45deg); /* "<" = forward in RTL */
}
.jegarguse-breadcrumb a { padding: .18rem .4rem; border-radius: var(--jegarguse-radius-pill); color: #4a5079; }
.jegarguse-breadcrumb a:hover { color: var(--jegarguse-blue-dark); background: rgba(255,255,255,.7); }
.jegarguse-breadcrumb li:first-child a { display: inline-flex; align-items: center; gap: .3rem; }
.jegarguse-breadcrumb li:first-child a::before {
  content: ""; width: .95rem; height: .95rem; background: var(--jegarguse-blue-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2.5 11h2.7v9.5h5.3v-6h3v6h5.3V11h2.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2.5 11h2.7v9.5h5.3v-6h3v6h5.3V11h2.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.jegarguse-breadcrumb span[aria-current] {
  padding: .22rem .8rem; border-radius: var(--jegarguse-radius-pill); background: #fff; color: var(--jegarguse-blue-dark);
  box-shadow: 0 4px 12px -8px rgba(29,33,66,.45); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Listing title: a clean brand blue -> violet instead of near-black ink (solid fallback first). */
.jg-shop-hero h1 {
  color: #2f4fd6;
  background: linear-gradient(120deg, #2447c4 0%, #4f5ff0 45%, #8a5cf0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: .1em;
}

/* ===================================================================== Cart v2 */
.jg-cart { padding-block: 1.5rem 3rem; }
.jg-cart-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.jg-cart-head h1 { margin: 0 0 0.6rem; font-size: 1.6rem; display: flex; align-items: center; gap: 0.6rem; }
.jg-cart-head h1 span { font-size: 0.8rem; font-weight: 800; padding: 0.25rem 0.7rem; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); }
.jg-continue { font-weight: 800; font-size: 0.88rem; color: var(--jegarguse-ink-soft); }
.jg-continue:hover { color: var(--jegarguse-blue-dark); }
.jg-steps { list-style: none; display: flex; align-items: center; gap: 0.35rem; margin: 0; padding: 0; font-size: 0.8rem; font-weight: 800; color: var(--jegarguse-ink-soft); }
.jg-steps li { display: flex; align-items: center; gap: 0.4rem; }
.jg-steps li + li::before { content: ""; width: 1.8rem; height: 2px; border-radius: 2px; background: var(--jegarguse-line); margin-inline-end: 0.15rem; }
.jg-steps b { width: 1.55rem; height: 1.55rem; border-radius: 50%; display: grid; place-items: center; background: var(--jegarguse-paper-alt); font-size: 0.75rem; }
.jg-steps li.is-current { color: var(--jegarguse-ink); }
.jg-steps li.is-current b { background: var(--jegarguse-gradient); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }

.jg-ship-banner { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; border-radius: var(--jegarguse-radius-lg); background: linear-gradient(120deg, #eef6ff, #fff6ec); border: 1px solid var(--jegarguse-line); margin-bottom: 1.25rem; }
.jg-ship-banner.is-done { background: linear-gradient(120deg, #eafaf1, #f3fff8); }
.jg-ship-banner > div { flex: 1; min-width: 0; }
.jg-ship-banner strong { display: block; font-size: 0.88rem; margin-bottom: 0.45rem; }
.jg-ship-ico { font-size: 1.6rem; }
.jg-ship-banner .track { height: 0.45rem; border-radius: var(--jegarguse-radius-pill); background: rgba(255,255,255,.9); overflow: hidden; }
.jg-ship-banner .fill { height: 100%; border-radius: inherit; background: var(--jegarguse-gradient); transition: width 0.4s ease; }

.jg-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 1.5rem; align-items: start; }
.jg-cart-items { display: flex; flex-direction: column; gap: 0.85rem; }
.jg-cart-item { position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1rem; padding: 1rem; border-radius: var(--jegarguse-radius-lg); background: var(--jegarguse-card); box-shadow: var(--jegarguse-shadow-sm); transition: opacity 0.2s ease, box-shadow 0.2s ease; }
.jg-cart-item:hover { box-shadow: var(--jegarguse-shadow); }
.jg-cart-item.is-busy { opacity: 0.55; pointer-events: none; }
.jg-cart-item.is-busy::after { content: ""; position: absolute; top: 50%; inset-inline-start: 50%; width: 1.8rem; height: 1.8rem; margin: -0.9rem; border-radius: 50%; border: 3px solid var(--jegarguse-line); border-top-color: var(--jegarguse-blue); animation: jg-spin 0.8s linear infinite; }
@keyframes jg-spin { to { transform: rotate(360deg); } }
.jg-cart-thumb img { width: 6.5rem; height: 8rem; object-fit: cover; border-radius: 18px; background: var(--jegarguse-paper-alt); display: block; }
.jg-cart-info { min-width: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.jg-cart-name { font-weight: 900; font-size: 0.98rem; line-height: 1.7; }
.jg-cart-name:hover { color: var(--jegarguse-blue-dark); }
.jg-cart-options { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.jg-cart-options span { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.22rem 0.65rem; border-radius: var(--jegarguse-radius-pill); background: var(--jegarguse-paper-alt); font-size: 0.78rem; color: var(--jegarguse-ink-soft); }
.jg-cart-options b { color: var(--jegarguse-ink); }
.jg-cart-options i { width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.jg-cart-unit { font-size: 0.8rem; color: var(--jegarguse-ink-soft); }
.jg-cart-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 0.6rem; }
.jg-qty { border-radius: var(--jegarguse-radius-pill); }
.jg-qty button { height: 2.5rem; width: 2.3rem; }
.jg-cart-line { font-weight: 900; font-size: 1.02rem; white-space: nowrap; }
.jg-cart-line small { font-size: 0.72rem; color: var(--jegarguse-ink-soft); font-weight: 700; }
.jg-cart-remove { display: inline-flex; align-items: center; gap: 0.3rem; border: none; background: none; padding: 0.3rem 0.4rem; border-radius: 0.6rem; color: var(--jegarguse-ink-soft); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.jg-cart-remove:hover { color: var(--jegarguse-danger); background: #fff1f1; }

.jg-cart-summary { position: sticky; top: calc(var(--jegarguse-header-h) + 1rem); background: var(--jegarguse-card); border-radius: var(--jegarguse-radius-lg); padding: 1.3rem 1.35rem; box-shadow: var(--jegarguse-shadow); overflow: hidden; }
.jg-cart-summary::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--jegarguse-gradient); }
.jg-cart-summary h3 { margin: 0 0 0.8rem; }
.jg-cart-pay { margin-top: 1rem; }
.jg-cart-trust { list-style: none; margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px dashed var(--jegarguse-line); display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.78rem; color: var(--jegarguse-ink-soft); }

.jg-cart-paybar { display: none; }

.jg-cart-empty { text-align: center; padding-block: 3.5rem 4rem; max-width: 520px; }
.jg-cart-empty-art { width: 7.5rem; height: 7.5rem; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #eef6ff, #fff1e6); color: var(--jegarguse-blue-dark); }
.jg-cart-empty h2 { margin: 0 0 0.5rem; }
.jg-cart-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.3rem; }

@media (max-width: 1000px) {
  .jg-cart-layout { grid-template-columns: 1fr; }
  .jg-cart-summary { position: static; }
}
@media (max-width: 640px) {
  .jg-cart { padding-bottom: 6.5rem; }
  .jg-cart-head h1 { font-size: 1.3rem; }
  .jg-steps li + li::before { width: 0.9rem; }
  .jg-cart-item { grid-template-columns: 5.2rem minmax(0, 1fr); gap: 0.8rem; padding: 0.85rem; }
  .jg-cart-thumb img { width: 5.2rem; height: 6.5rem; }
  .jg-cart-side { grid-column: 1 / -1; flex-direction: row; align-items: center; padding-top: 0.6rem; border-top: 1px dashed var(--jegarguse-line); }
  .jg-cart-side .jg-cart-line { margin-inline-start: auto; }
  .jg-cart-side form:last-child { order: -1; }
  .jg-cart-paybar {
    display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; position: fixed; inset: auto 0 0 0; z-index: 70;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--jegarguse-card);
    box-shadow: 0 -8px 24px rgba(0,0,0,.08); border-top: 1px solid var(--jegarguse-line);
  }
  .jg-cart-paybar small { display: block; font-size: 0.72rem; color: var(--jegarguse-ink-soft); }
  .jg-cart-paybar strong { font-size: 1.05rem; }
  .jg-cart-paybar .jegarguse-btn { flex: 0 0 auto; }
}

/* ===================================================================== Guided option picker */
.jg-picker { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.1rem; }
.jg-step { padding: 0.95rem 1rem; border-radius: var(--jegarguse-radius-lg); background: var(--jegarguse-card); border: 1.5px solid var(--jegarguse-line); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.jg-step.is-main { border-color: var(--jegarguse-blue-soft); box-shadow: 0 10px 26px -18px rgba(37, 72, 196, 0.5); }
.jg-step.is-done { border-color: #cfe9d9; }
.jg-step.is-needed { animation: jg-need 0.9s ease; border-color: var(--jegarguse-orange); }
@keyframes jg-need { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.jg-step-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.75rem; }
.jg-step-head h5 { margin: 0; font-size: 0.95rem; font-weight: 900; }
.jg-step-no { width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--jegarguse-paper-alt); font-size: 0.8rem; font-weight: 900; }
.jg-step.is-done .jg-step-no { background: #2e9e62; color: #fff; font-size: 0; }
.jg-step.is-done .jg-step-no::after { content: "✓"; font-size: 0.85rem; }
.jg-step-chosen { margin-inline-start: auto; font-size: 0.85rem; font-weight: 800; color: var(--jegarguse-blue-dark); }

.jg-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jg-choice { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; min-width: 3.4rem; min-height: 3rem; padding: 0.45rem 0.8rem; border-radius: 14px; border: 1.5px solid var(--jegarguse-line); background: var(--jegarguse-card); font: inherit; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.jg-choice b { font-size: 1rem; font-weight: 900; }
.jg-choice small { font-size: 0.7rem; color: var(--jegarguse-ink-soft); font-weight: 700; }
.jg-choices.is-big .jg-choice { min-width: 4.6rem; min-height: 3.6rem; }
.jg-choice:hover { border-color: var(--jegarguse-blue); transform: translateY(-1px); }
.jg-choice.is-active { border-color: var(--jegarguse-ink); background: var(--jegarguse-ink); color: #fff; }
.jg-choice.is-active small { color: rgba(255,255,255,.8); }
.jg-choice.is-color { flex-direction: row; gap: 0.45rem; min-height: 2.6rem; padding-inline: 0.55rem 0.8rem; font-size: 0.82rem; font-weight: 700; }
.jg-choice.is-color i { width: 1.4rem; height: 1.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex-shrink: 0; }
.jg-choice.is-color.is-active { background: var(--jegarguse-blue-soft); color: var(--jegarguse-ink); border-color: var(--jegarguse-blue); box-shadow: 0 0 0 2px var(--jegarguse-blue-soft); }
/* Not available with the current choices: the label is muted, the colour itself never is. */
.jg-choice.is-out { color: var(--jegarguse-ink-soft); border-style: dashed; }
.jg-choice.is-out b, .jg-choice.is-out span { opacity: 0.6; text-decoration: line-through; text-decoration-thickness: 1.5px; }

.jg-info { margin-top: 0.75rem; padding: 0.7rem 0.85rem; border-radius: 14px; background: var(--jegarguse-paper-alt); font-size: 0.85rem; }
.jg-info p { margin: 0 0 0.4rem; }
.jg-info ul, .jg-part-sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.jg-info li, .jg-part-sizes li { display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.3rem 0.65rem; border-radius: 10px; background: var(--jegarguse-card); font-size: 0.82rem; }
.jg-info li span, .jg-part-sizes li span { color: var(--jegarguse-ink-soft); }
.jg-info li span::after, .jg-part-sizes li span::after { content: ":"; }

.jg-parts-wait { margin: 0; padding: 0.85rem 1rem; border-radius: var(--jegarguse-radius-lg); border: 1.5px dashed var(--jegarguse-line); color: var(--jegarguse-ink-soft); font-size: 0.86rem; text-align: center; }
.jg-parts-list { display: flex; flex-direction: column; gap: 0.75rem; }
.jg-parts-list[hidden], .jg-parts-wait[hidden] { display: none; }
.jg-part { padding: 0.9rem 1rem; border-radius: var(--jegarguse-radius-lg); background: linear-gradient(140deg, #f5f9ff, #fff8f1); border: 1px solid var(--jegarguse-line); animation: jegarguse-pop 0.25s var(--jegarguse-ease); }
.jg-part-title { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 900; font-size: 0.95rem; margin-bottom: 0.6rem; }
.jg-part-title::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--jegarguse-gradient); }
.jg-part-sizes { margin-bottom: 0.7rem; }
.jg-part-choice + .jg-part-choice { margin-top: 0.7rem; }
.jg-part-choice-head { font-size: 0.84rem; font-weight: 800; margin-bottom: 0.45rem; }
.jg-part-choice-head .jg-step-chosen { margin: 0; }

.jg-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding: 0.7rem 0.9rem; border-radius: 14px; background: #f0faf4; border: 1px solid #cfe9d9; font-size: 0.82rem; }
.jg-summary span { padding: 0.18rem 0.6rem; border-radius: 999px; background: #fff; font-weight: 700; }
.jg-summary[hidden], .jg-need[hidden], .jg-info[hidden], .jg-part-sizes[hidden] { display: none; }
.jg-stock-note { margin: 0.75rem 0 0; padding: 0.55rem 0.9rem; border-radius: 12px; background: #f0faf4; color: #1f7a4a; font-weight: 800; font-size: 0.86rem; }
.jg-stock-note.is-few { background: #fff3ea; color: var(--jegarguse-orange-dark); }
.jg-stock-note[hidden], .jg-cart-stock[hidden] { display: none; }
.jg-cart-stock { margin: 0.35rem 0 0; font-size: 0.78rem; font-weight: 800; color: var(--jegarguse-orange-dark); }
.jg-cart-stock.is-over { padding: 0.4rem 0.6rem; border-radius: 10px; background: #fdecea; color: #b42318; }
.jg-need { padding: 0.65rem 0.9rem; border-radius: 14px; background: #fff3ea; color: var(--jegarguse-orange-dark); font-weight: 800; font-size: 0.86rem; }
.jg-choice.is-unavailable, .jg-choice:disabled { cursor: not-allowed; background: var(--jegarguse-paper-alt); border-style: dashed; transform: none; color: var(--jegarguse-ink-soft); }
.jg-choice.is-unavailable b, .jg-choice.is-unavailable > span { opacity: 0.55; text-decoration: line-through; }
.jg-choice.is-color i { opacity: 1 !important; }
.jg-choice.is-unavailable small { color: #b42318; }
.jg-soldout { margin: 0.6rem 0 0.4rem; padding: 0.75rem 0.95rem; border-radius: 14px; background: #fdf0ef; color: #8a1c13; font-size: 0.86rem; line-height: 1.9; }
.jegarguse-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.jegarguse-badge-soldout { background: #2a2b36; color: #fff; }

/* Technical specs teaser on the product page - links down to the specs tab */
.jg-specs-teaser { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.9rem 0 0.2rem; padding: 0.85rem 1rem; border-radius: var(--jegarguse-radius-lg); background: linear-gradient(130deg, #eef7ff, #f6fbf3); border: 1.5px solid #d6e8f6; color: inherit; text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.jg-specs-teaser:hover { border-color: var(--jegarguse-blue); box-shadow: 0 12px 28px -20px rgba(37, 72, 196, 0.6); transform: translateY(-1px); }
.jg-specs-teaser-head { display: flex; align-items: center; gap: 0.6rem; }
.jg-specs-teaser-ico { width: 2.3rem; height: 2.3rem; border-radius: 12px; display: grid; place-items: center; background: #fff; font-size: 1.15rem; flex-shrink: 0; }
.jg-specs-teaser-head b { display: block; font-size: 0.92rem; }
.jg-specs-teaser-head small { display: block; font-size: 0.74rem; color: var(--jegarguse-ink-soft); }
.jg-specs-teaser-list { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.jg-specs-teaser-list span { padding: 0.25rem 0.65rem; border-radius: 10px; background: rgba(255,255,255,.85); font-size: 0.8rem; font-weight: 700; }
.jg-specs-teaser-list i { font-style: normal; font-weight: 500; color: var(--jegarguse-ink-soft); }
.jg-specs-teaser-cta { align-self: flex-start; font-size: 0.84rem; font-weight: 900; color: var(--jegarguse-blue-dark); }
.jg-tab-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 0.35rem; margin-inline-start: 0.25rem; border-radius: 999px; background: var(--jegarguse-blue-soft); color: var(--jegarguse-blue-dark); font-size: 0.72rem; font-weight: 900; }
.jegarguse-tabs.jg-flash .jegarguse-tab-nav { animation: jg-flash 1.2s ease; }
@keyframes jg-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px var(--jegarguse-blue-soft); } }
