/* =========================================================
   NOVOLII – premium children's toy store theme for YouCan
   Built on YouCan Origins. Logical properties everywhere so
   Arabic (RTL, primary) and French (LTR) mirror correctly.
   ========================================================= */
:root {
  --nv-blue: #004aad;
  --nv-blue-700: #003a8a;
  --nv-blue-900: #00285f;
  --nv-blue-50: #eef4ff;
  --nv-sun: #ffd83d;
  --nv-sun-600: #f5bf00;
  --nv-cream: #fff8ec;
  --nv-ink: #10203f;
  --nv-muted: #5b6785;
  --nv-line: #e4e9f4;
  --nv-white: #fff;
  --nv-coral: #ff5a5f;
  --nv-mint: #2bb673;
  --nv-r-sm: 12px;
  --nv-r: 20px;
  --nv-r-lg: 32px;
  --nv-shadow: 0 10px 30px -12px rgba(0, 40, 95, .22);
  --nv-shadow-lg: 0 30px 60px -24px rgba(0, 40, 95, .35);
  --nv-ease: cubic-bezier(.2, .8, .2, 1);
  --nv-wrap: 1280px;
  --nv-gutter: clamp(16px, 4vw, 40px);

  /* Map onto Origins variables so every YouCan component uses the brand. */
  --color-button: 0, 74, 173;
  --color-button-text: 255, 255, 255;
  --color-secondary-button: 255, 216, 61;
  --button-border-radius: 999px;
  --input-border-radius: 14px;
  --product-card-border-radius: 22px;
  --modal-border-radius: 24px;
  --drawer-border-radius: 24px;
  --badge-bg-color: var(--nv-coral);
  --badge-text-color: #fff;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body.nv { background: var(--nv-white); color: var(--nv-ink); font-family: var(--font-family); line-height: 1.6; overflow-x: clip; }
.nv h1, .nv h2, .nv h3, .nv .nv-hero__title, .nv .nv-head__t { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
html[lang="ar"] body.nv { letter-spacing: 0; }
.nv a { color: inherit; }
.nv img { max-width: 100%; height: auto; }
.nv :focus-visible { outline: 3px solid var(--nv-sun); outline-offset: 3px; border-radius: 8px; }
.nv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nv-wrap { width: 100%; max-width: var(--nv-wrap); margin-inline: auto; padding-inline: var(--nv-gutter); box-sizing: border-box; }
.nv .main-container { padding: 0; max-width: none; }

/* Bilingual spans: only the active language is shown. */
.nv-l { display: none; }
html[lang="ar"] .nv-l[lang="ar"], html[lang="fr"] .nv-l[lang="fr"] { display: inline; }
html:not([lang="ar"]):not([lang="fr"]) .nv-l[lang="ar"] { display: inline; }
.nv-flip-rtl { transition: transform .6s var(--nv-ease); }
html[dir="rtl"] .nv-flip-rtl { transform: scaleX(-1); }
html[dir="rtl"] .nv-i-arrow, html[dir="rtl"] .nv-i-chevron { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.nv-btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1.6rem; text-decoration: none; border: 2px solid transparent; transition: transform .25s var(--nv-ease), box-shadow .25s, background .25s; cursor: pointer; white-space: nowrap; }
.nv-btn:hover { transform: translateY(-2px); }
.nv-btn .nv-i { transition: transform .25s var(--nv-ease); }
.nv-btn:hover .nv-i-arrow { transform: translateX(4px); }
html[dir="rtl"] .nv-btn:hover .nv-i-arrow { transform: scaleX(-1) translateX(4px); }
.nv-btn--sun { background: var(--nv-sun); color: var(--nv-blue-900); box-shadow: 0 10px 24px -10px rgba(245, 191, 0, .8); }
.nv-btn--blue { background: var(--nv-blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 74, 173, .7); }
.nv-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.nv-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.nv-btn--sm { font-size: 1.4rem; padding: .65em 1.25em; }
.nv-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--nv-blue); cursor: pointer; position: relative; transition: background .2s; }
.nv-iconbtn:hover { background: var(--nv-blue-50); }
.nv-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--nv-blue); color: #fff; font-size: 1.1rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }

/* Origins buttons */
.nv .yc-btn { border-radius: 999px; font-weight: 700; transition: transform .2s var(--nv-ease), box-shadow .2s, background .2s; }
.nv .yc-btn.primary { background: var(--nv-blue); color: #fff; }
.nv .yc-btn.primary:hover { background: var(--nv-blue-700); transform: translateY(-1px); }
.nv .yc-btn.secondary { background: var(--nv-sun); color: var(--nv-blue-900); border-color: transparent; }

/* ---------- Top bar ---------- */
.nv-topbar { background: var(--nv-blue); color: #fff; font-size: 1.35rem; }
.nv-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.nv-topbar__msgs { position: relative; flex: 1; min-height: 24px; overflow: hidden; }
.nv-topbar__msgs p { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: .5s var(--nv-ease); }
.nv-topbar__msgs p.is-on { opacity: 1; transform: none; }
.nv-topbar__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nv-topbar__links li, .nv-topbar__links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.nv-lang { display: inline-flex; align-items: center; gap: 6px; }
.nv-lang button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 4px 6px; border-radius: 6px; opacity: .75; }
.nv-lang button[aria-pressed="true"] { opacity: 1; font-weight: 700; text-decoration: underline; text-decoration-color: var(--nv-sun); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 900px) { .nv-topbar { font-size: 1.2rem; } .nv-topbar__links li:not(:last-child) { display: none; } }

/* ---------- Header ---------- */
/* No backdrop-filter here: it would become the containing block of the fixed cart drawer. */
.nv-header { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.nv-header.is-stuck { box-shadow: 0 8px 30px -16px rgba(0, 40, 95, .35); }
.nv-header__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 3vw, 48px); padding-block: 14px; }
.nv-header__burger { display: none; }
.nv-header__logo { display: block; width: clamp(120px, 14vw, 170px); line-height: 0; }
.nv-logo, .nv-logo-img { width: 100%; height: auto; }
.nv-search { position: relative; display: flex; max-width: 640px; width: 100%; justify-self: center; }
.nv-search input { flex: 1; min-width: 0; height: 52px; border: 2px solid var(--nv-line); border-radius: 999px; padding-inline: 22px 64px; font: inherit; font-size: 1.5rem; background: #fff; color: var(--nv-ink); transition: border-color .2s, box-shadow .2s; }
.nv-search input:focus { outline: none; border-color: var(--nv-blue); box-shadow: 0 0 0 5px rgba(0, 74, 173, .1); }
.nv-search button { position: absolute; inset-block: 5px; inset-inline-end: 5px; width: 54px; border: 0; border-radius: 999px; background: var(--nv-blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.nv-header__actions { display: flex; align-items: center; gap: 6px; }
.nv-cart .cart-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--nv-blue); cursor: pointer; }
.nv-cart .cart-btn:hover { background: var(--nv-blue-50); }
.nv-cart .cart-btn svg { width: 26px; height: 26px; }
.nv-cart .cart-btn .total-amount { display: none; }
.nv-cart .cart-btn .total-items { position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--nv-sun); color: var(--nv-blue-900); font-size: 1.1rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; box-sizing: border-box; }
.nv-cart .cart-btn .total-items[hidden] { display: none; }
.nv-nav { border-top: 1px solid var(--nv-line); }
.nv-nav__in { display: flex; align-items: center; gap: 28px; min-height: 58px; }
.nv-allcats { display: inline-flex; align-items: center; gap: 10px; background: var(--nv-blue); color: #fff; border: 0; border-radius: 999px; padding: 11px 22px; font: inherit; font-weight: 700; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.nv-allcats:hover { background: var(--nv-blue-700); }
.nv-nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nv-nav__links > li { position: relative; }
.nv-nav__links a { display: block; padding: 16px 0; text-decoration: none; color: var(--nv-blue-900); font-weight: 600; white-space: nowrap; position: relative; }
.nv-nav__links > li > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 8px; height: 3px; border-radius: 3px; background: var(--nv-sun); transform: scaleX(0); transition: transform .3s var(--nv-ease); }
.nv-nav__links > li > a:hover::after, .nv-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nv-sub { position: absolute; top: 100%; inset-inline-start: -16px; min-width: 220px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--nv-r); box-shadow: var(--nv-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--nv-ease); z-index: 5; }
.has-sub:hover .nv-sub, .has-sub:focus-within .nv-sub { opacity: 1; visibility: visible; transform: none; }
.nv-sub a { padding: 10px 14px; border-radius: 10px; }
.nv-sub a:hover { background: var(--nv-blue-50); }
@media (max-width: 1024px) {
  .nv-header__main { grid-template-columns: auto 1fr auto; row-gap: 10px; padding-block: 10px; }
  .nv-header__burger { display: inline-grid; }
  .nv-header__logo { justify-self: center; width: 128px; }
  .nv-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .nv-search input { height: 46px; }
  .nv-nav { display: none; }
}

/* ---------- Menu / wishlist drawer ---------- */
yc-drawer.nv-menu .drawer-box { width: min(420px, calc(100vw - 16px)); background: #fff; display: flex; flex-direction: column; box-shadow: var(--nv-shadow-lg); }
yc-drawer.nv-menu:not([data-direction]) .drawer-box { inset-inline-start: calc(-1 * min(420px, 100vw) - 20px); }
yc-drawer.nv-menu:not([data-direction])[data-hidden="false"] .drawer-box { inset-inline-start: 0; }
yc-drawer.nv-menu[data-direction="rtl"] .drawer-box { inset-inline-start: 100%; }
yc-drawer.nv-menu[data-direction="rtl"][data-hidden="false"] .drawer-box { inset-inline-start: calc(100% - min(420px, calc(100vw - 16px)) - 16px); }
yc-drawer.nv-menu .drawer-overlay { position: fixed; inset: 0; background: rgba(0, 20, 60, .35); backdrop-filter: blur(3px); z-index: 99; transition: opacity .3s; }
.nv-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--nv-line); }
.nv-menu__head .nv-logo { width: 120px; }
.nv-menu__title, .nv-wish__title { margin: 0; padding: 18px 20px 6px; font-weight: 800; color: var(--nv-blue); font-family: var(--font-display); font-size: 1.8rem; }
.nv-menu__head .nv-wish__title { padding: 0; }
.nv-menu__cats, .nv-menu__links, .nv-wish__list { list-style: none; margin: 0; padding: 8px 12px; overflow-y: auto; }
.nv-menu__cats a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.nv-menu__cats a:hover { background: var(--nv-blue-50); }
.nv-menu__cats a span { flex: 1; }
.nv-menu__links { border-top: 1px solid var(--nv-line); }
.nv-menu__links a { display: block; padding: 12px 8px; text-decoration: none; font-weight: 600; }
.nv-menu__foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--nv-line); color: var(--nv-blue); }
.nv-wish__list { flex: 1; }
.nv-wish__list li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--nv-line); }
.nv-wish__list a { flex: 1; display: flex; gap: 12px; align-items: center; text-decoration: none; }
.nv-wish__list img { border-radius: 12px; object-fit: cover; background: var(--nv-blue-50); }
.nv-wish__list span { display: grid; }
.nv-wish__list small { color: var(--nv-blue); font-weight: 700; }
.nv-wish__empty { color: var(--nv-muted); padding: 24px 8px !important; border: 0 !important; }

/* ---------- Hero ---------- */
.nv-hero { position: relative; margin: 14px auto 0; width: calc(100% - 2 * clamp(8px, 2vw, 24px)); max-width: 1520px; border-radius: clamp(20px, 3vw, var(--nv-r-lg)); overflow: hidden; isolation: isolate; background: var(--nv-blue); --mx: 0; --my: 0; }
.nv-hero__track { display: grid; }
.nv-hero__slide { grid-area: 1 / 1; position: relative; min-height: clamp(520px, 70vh, 680px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--nv-ease), visibility 1s; }
.nv-hero__slide.is-on { opacity: 1; visibility: visible; }
.nv-hero__media { position: absolute; inset: 0; overflow: hidden; }
.nv-hero__media img, .nv-hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translate(calc(var(--mx) * -14px), calc(var(--my) * -10px)); transition: transform 7s ease-out; }
html[dir="rtl"] .nv-hero__media img.nv-flip-rtl { transform: scaleX(-1) scale(1.08); }
.nv-hero__slide.is-on .nv-hero__media img { transform: scale(1) translate(calc(var(--mx) * -14px), calc(var(--my) * -10px)); }
html[dir="rtl"] .nv-hero__slide.is-on .nv-hero__media img.nv-flip-rtl { transform: scaleX(-1) scale(1); }
.nv-hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.nv-hero__video.is-ready { opacity: 1; }
.nv-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 46, 112, .94) 0%, rgba(0, 60, 150, .78) 32%, rgba(0, 74, 173, .1) 62%, transparent 75%); }
html[dir="rtl"] .nv-hero__shade { background: linear-gradient(-90deg, rgba(0, 46, 112, .94) 0%, rgba(0, 60, 150, .78) 32%, rgba(0, 74, 173, .1) 62%, transparent 75%); }
.nv-theme-sun .nv-hero__shade { background: linear-gradient(90deg, rgba(255, 216, 61, .96) 0%, rgba(255, 216, 61, .7) 40%, transparent 70%); }
html[dir="rtl"] .nv-theme-sun .nv-hero__shade { background: linear-gradient(-90deg, rgba(255, 216, 61, .96) 0%, rgba(255, 216, 61, .7) 40%, transparent 70%); }
.nv-theme-light .nv-hero__shade { background: linear-gradient(90deg, rgba(255, 248, 236, .96), rgba(255, 248, 236, .6) 45%, transparent 70%); }
html[dir="rtl"] .nv-theme-light .nv-hero__shade { background: linear-gradient(-90deg, rgba(255, 248, 236, .96), rgba(255, 248, 236, .6) 45%, transparent 70%); }
.nv-hero__content { position: relative; z-index: 2; color: #fff; padding-block: 64px 96px; }
.nv-theme-sun .nv-hero__content, .nv-theme-light .nv-hero__content { color: var(--nv-blue-900); }
.nv-hero__content > * { max-width: 600px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--nv-ease), transform .8s var(--nv-ease); }
.nv-hero__slide.is-on .nv-hero__content > * { opacity: 1; transform: none; }
.nv-hero__slide.is-on .nv-hero__content > :nth-child(2) { transition-delay: .12s; }
.nv-hero__slide.is-on .nv-hero__content > :nth-child(3) { transition-delay: .24s; }
.nv-hero__slide.is-on .nv-hero__content > :nth-child(4) { transition-delay: .36s; }
.nv-hero__kicker { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: 1.4rem; backdrop-filter: blur(6px); }
.nv-hero__title { margin: 0 0 18px; font-size: clamp(3.6rem, 6.2vw, 7.2rem); font-weight: 800; }
html[lang="fr"] .nv-hero__title, html[lang="fr"] .nv-head__t, html[lang="fr"] .nv-story__body h2 { line-height: 1.04; }
.nv-hero__title em { display: block; font-style: normal; color: var(--nv-sun); }
.nv-theme-sun .nv-hero__title em, .nv-theme-light .nv-hero__title em { color: var(--nv-blue); }
.nv-hero__text { margin: 0 0 30px; font-size: clamp(1.55rem, 1.6vw, 1.9rem); opacity: .95; }
.nv-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.nv-hero__sticker { position: absolute; z-index: 2; top: 9%; inset-inline-end: 5%; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; gap: 2px; background: #fff; color: var(--nv-blue); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.15; padding: 18px; box-shadow: var(--nv-shadow-lg); transform: rotate(-8deg); animation: nv-bob 5s ease-in-out infinite; }
.nv-hero__sticker .nv-i { margin-inline: auto; color: var(--nv-blue); }
.nv-hero__decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.nv-star { position: absolute; width: 34px; height: 34px; background: var(--nv-sun); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: nv-twinkle 4s ease-in-out infinite; transform: translate(calc(var(--mx) * 30px), calc(var(--my) * 30px)); }
.nv-star.s1 { top: 14%; inset-inline-start: 4%; }
.nv-star.s2 { top: 72%; inset-inline-start: 40%; width: 22px; height: 22px; animation-delay: 1.3s; }
.nv-star.s3 { top: 18%; inset-inline-start: 46%; width: 26px; height: 26px; animation-delay: 2.1s; }
.nv-swoosh { position: absolute; bottom: 18%; inset-inline-start: 2%; width: 60px; height: 30px; border-top: 4px solid var(--nv-sun); border-radius: 50% 50% 0 0; transform: rotate(-20deg); opacity: .9; }
.nv-hero__ui { position: absolute; z-index: 3; inset-inline: 0; bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.nv-hero__arrow, .nv-hero__pause { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--nv-blue); display: grid; place-items: center; cursor: pointer; box-shadow: var(--nv-shadow); }
.nv-hero__arrow.prev .nv-i { transform: scaleX(-1); }
html[dir="rtl"] .nv-hero__arrow.prev .nv-i { transform: none; }
.nv-hero__pause::before { content: ""; width: 10px; height: 12px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.nv-hero__pause[aria-pressed="true"]::before { border: 0; width: 0; height: 0; border-block: 7px solid transparent; border-inline-start: 11px solid currentColor; }
.nv-hero__dots { display: flex; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(0, 30, 80, .3); backdrop-filter: blur(6px); }
.nv-hero__dots button { width: 26px; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.nv-hero__dots span { display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: .35s var(--nv-ease); }
.nv-hero__dots [aria-selected="true"] span { width: 24px; background: var(--nv-sun); }
@media (max-width: 760px) {
  .nv-hero { width: 100%; margin-top: 0; border-radius: 0 0 28px 28px; }
  .nv-hero__slide { min-height: 0; align-items: flex-end; }
  .nv-hero__media { position: relative; height: 300px; }
  .nv-hero__slide { flex-direction: column; align-items: stretch; }
  .nv-hero__shade { background: linear-gradient(0deg, var(--nv-blue) 38%, rgba(0, 74, 173, 0) 62%) !important; }
  .nv-theme-sun .nv-hero__shade { background: linear-gradient(0deg, var(--nv-sun) 38%, transparent 62%) !important; }
  .nv-theme-light .nv-hero__shade { background: linear-gradient(0deg, var(--nv-cream) 38%, transparent 62%) !important; }
  .nv-hero__content { margin-top: -60px; padding-block: 0 84px; }
  .nv-hero__sticker { width: 96px; height: 96px; font-size: 1.15rem; top: 14px; inset-inline-end: auto; inset-inline-start: 14px; padding: 10px; }
  .nv-hero__media img { object-position: 70% center; }
  html[dir="rtl"] .nv-hero__media img.nv-flip-rtl { object-position: 70% center; }
  .nv-hero__kicker { font-size: 1.25rem; }
  .nv-hero__ctas .nv-btn { flex: 1 1 auto; justify-content: center; padding-inline: 1.1em; }
  .nv-hero__arrow { display: none; }
  .nv-star.s2, .nv-star.s3 { display: none; }
}

/* ---------- Section frame ---------- */
.nv-sec { padding-block: clamp(44px, 7vw, 88px); }
.nv-bg-cream { background: var(--nv-cream); }
.nv-bg-sky { background: var(--nv-blue-50); }
.nv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px, 3vw, 36px); }
.nv-head__t { margin: 0; color: var(--nv-blue); font-size: clamp(2.6rem, 3.4vw, 4rem); font-weight: 800; position: relative; padding-bottom: 12px; }
.nv-head__t::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 56px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--nv-blue) 0 60%, var(--nv-sun) 60%); }
.nv-head__s { margin: 10px 0 0; color: var(--nv-muted); }
.nv-head__more { display: inline-flex; align-items: center; gap: 6px; color: var(--nv-blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nv-kicker { margin: 0 0 8px; color: var(--nv-blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.3rem; }
html[lang="ar"] .nv-kicker { letter-spacing: 0; }

/* Reveal animation */
[data-nv-reveal] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--nv-ease), transform .7s var(--nv-ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-nv-reveal].is-in > *, .no-js [data-nv-reveal] > * { opacity: 1; transform: none; }

/* ---------- Categories ---------- */
.nv-cats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); }
.nv-cat { display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--nv-ink); font-weight: 700; }
.nv-cat__art { width: 100%; max-width: 150px; aspect-ratio: 1; border-radius: 50%; display: block; transition: transform .45s var(--nv-ease), filter .45s; filter: drop-shadow(0 12px 18px rgba(0, 40, 95, .12)); }
.nv-cat__art img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.nv-cat:hover .nv-cat__art { transform: translateY(-8px) rotate(-4deg) scale(1.04); filter: drop-shadow(0 20px 24px rgba(0, 40, 95, .2)); }
.nv-cat__name { font-size: 1.5rem; line-height: 1.3; }
.nv-cat__age { font-size: 1.2rem; color: var(--nv-muted); font-weight: 600; margin-top: -6px; }
@media (max-width: 1024px) { .nv-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .nv-cats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .nv-cats__grid > li { scroll-snap-align: start; }
  .nv-cat__name { font-size: 1.3rem; }
}

/* ---------- Product rail + YouCan product card ---------- */
.nv-rail__wrap { position: relative; }
.nv-rail__list { list-style: none; margin: 0; padding: 6px 2px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.nv-rail__list::-webkit-scrollbar { display: none; }
.nv-rail__list > li { scroll-snap-align: start; min-width: 0; }
.nv-rail__btn { position: absolute; top: 40%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--nv-blue); box-shadow: var(--nv-shadow); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.nv-rail__btn:hover { transform: scale(1.08); }
.nv-rail__btn.prev { inset-inline-start: -18px; }
.nv-rail__btn.next { inset-inline-end: -18px; }
.nv-rail__btn.prev .nv-i { transform: scaleX(-1); }
html[dir="rtl"] .nv-rail__btn.prev .nv-i { transform: none; }
@media (max-width: 1024px) { .nv-rail__list { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); gap: 16px; } .nv-rail__btn { display: none; } }
@media (max-width: 560px) { .nv-rail__list { grid-auto-columns: 72%; } }

.nv .product-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nv-line); border-radius: 22px; overflow: hidden; transition: transform .35s var(--nv-ease), box-shadow .35s, border-color .35s; }
.nv .product-card:hover { transform: translateY(-6px); box-shadow: var(--nv-shadow-lg); border-color: transparent; }
.nv .product-card .img-link { display: block; aspect-ratio: 1; background: linear-gradient(160deg, #f6f9ff, #eef3ff); overflow: hidden; margin: 8px; border-radius: 16px; }
.nv .product-card .img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nv-ease); }
.nv .product-card:hover .img-link img { transform: scale(1.06); }
.nv .product-card .info { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; text-align: start; }
.nv .product-card .title { font-weight: 700; color: var(--nv-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
.nv .product-card .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.nv .product-card .price .current { font-size: 1.8rem; font-weight: 800; color: var(--nv-blue); }
.nv .product-card .price .compare-at { color: var(--nv-muted); text-decoration: line-through; font-size: 1.35rem; }
.nv .product-card .yc-btn { width: 100%; justify-content: center; }
.nv .product-card .badge { position: absolute; top: 18px; inset-inline: 18px auto !important; width: auto; max-width: 50%; z-index: 2; padding: 0; background: none; }
.nv .product-card .badge span { display: inline-block; background: var(--nv-coral); color: #fff; font-weight: 800; font-size: 1.2rem; padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(255, 90, 95, .8); }
.nv .product-card [data-buy-button], .nv .product-card yc-product-quick-view button, .nv .product-card .info > .yc-btn { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--nv-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s var(--nv-ease); }
.nv .product-card [data-buy-button]:hover { background: var(--nv-blue-700); }
.nv .product-card [data-buy-button]:active { transform: scale(.97); }
.nv .product-card [data-buy-button][disabled] { background: #c9d2e3; color: #fff; cursor: not-allowed; }
.nv .product-card [data-buy-button][data-loading], .nv .product-card [data-buy-button].loading { opacity: .7; }
.nv-heart { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--nv-blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 40, 95, .12); transition: transform .2s var(--nv-ease), color .2s; }
.nv-heart:hover { transform: scale(1.1); }
.nv-heart[aria-pressed="true"] { color: var(--nv-coral); }
.nv-heart[aria-pressed="true"] path { fill: currentColor; }
.nv-heart.pop { animation: nv-pop .5s var(--nv-ease); }

/* ---------- Promo duo ---------- */
.nv-duo { padding-top: 0; }
.nv-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nv-promo { position: relative; display: block; min-height: 240px; border-radius: var(--nv-r-lg); overflow: hidden; text-decoration: none; isolation: isolate; box-shadow: var(--nv-shadow); transition: transform .4s var(--nv-ease), box-shadow .4s; }
.nv-promo:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-lg); }
.nv-promo__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--nv-ease); }
.nv-promo:hover .nv-promo__art { transform: scale(1.05); }
.nv-promo.nv-theme-blue .nv-promo__art { object-position: left center; }
.nv-promo.nv-theme-sun .nv-promo__art { object-position: right center; }
html[dir="rtl"] .nv-promo__art { transform: scaleX(-1); }
html[dir="rtl"] .nv-promo:hover .nv-promo__art { transform: scaleX(-1) scale(1.05); }
.nv-promo__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(24px, 3vw, 40px); max-width: 56%; margin-inline-start: auto; }
.nv-theme-sun .nv-promo__body { margin-inline-start: 0; }
.nv-promo__body strong { font-family: var(--font-display); font-size: clamp(2.4rem, 2.8vw, 3.4rem); line-height: 1.1; }
.nv-theme-blue .nv-promo__body { color: #fff; }
.nv-theme-sun .nv-promo__body { color: var(--nv-blue-900); }
.nv-promo__body .nv-btn { margin-top: 10px; }
@media (max-width: 860px) { .nv-duo__grid { grid-template-columns: 1fr; } .nv-promo__body { max-width: 70%; } }

/* ---------- Ages ---------- */
.nv-ages__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.nv-age { position: relative; display: grid; gap: 2px; padding: 22px 20px; border-radius: var(--nv-r); background: color-mix(in srgb, var(--c) 10%, #fff); border: 2px solid color-mix(in srgb, var(--c) 22%, transparent); text-decoration: none; overflow: hidden; transition: transform .3s var(--nv-ease), background .3s; }
.nv-age::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, transparent); inset-inline-end: -40px; top: -40px; transition: transform .5s var(--nv-ease); }
.nv-age:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--c) 18%, #fff); }
.nv-age:hover::after { transform: scale(1.4); }
.nv-age__num { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--c); line-height: 1; text-align: start; }
.nv-age__unit { font-weight: 700; color: var(--nv-ink); }
.nv-age__go { position: absolute; bottom: 18px; inset-inline-end: 18px; color: var(--c); z-index: 1; }

/* ---------- Story ---------- */
.nv-story__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.nv-story--media-end .nv-story__media { order: 2; }
.nv-story__media { position: relative; margin: 0; border-radius: var(--nv-r-lg); overflow: hidden; box-shadow: var(--nv-shadow-lg); transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s ease-out; aspect-ratio: 3 / 2; }
.nv-story__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-story__badge { position: absolute; bottom: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--nv-blue); font-weight: 800; box-shadow: var(--nv-shadow); }
.nv-story__body h2 { margin: 0 0 14px; color: var(--nv-blue); font-size: clamp(2.8rem, 3.6vw, 4.4rem); }
.nv-story__body > p { color: var(--nv-muted); font-size: 1.7rem; margin: 0 0 18px; }
.nv-story__points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.nv-story__points li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.nv-story__points .nv-i { color: var(--nv-sun-600); fill: var(--nv-sun); flex-shrink: 0; }
@media (max-width: 860px) { .nv-story__grid { grid-template-columns: 1fr; } .nv-story--media-end .nv-story__media { order: 0; } }

/* ---------- Trust ---------- */
.nv-trust { padding-block: 24px clamp(44px, 6vw, 72px); }
.nv-trust__list { list-style: none; margin: 0; padding: clamp(18px, 2.5vw, 28px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--nv-blue-50); border-radius: var(--nv-r-lg); }
.nv-trust__list li { display: flex; align-items: center; gap: 14px; padding: 8px; }
.nv-trust__list li + li { border-inline-start: 1px solid #d4def3; padding-inline-start: 22px; }
.nv-trust__ic { flex-shrink: 0; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--nv-blue); box-shadow: var(--nv-shadow); }
.nv-trust__list strong { display: block; color: var(--nv-blue); font-size: 1.6rem; }
.nv-trust__list small { color: var(--nv-muted); font-size: 1.3rem; }
@media (max-width: 960px) { .nv-trust__list { grid-template-columns: 1fr 1fr; } .nv-trust__list li + li { border: 0; padding-inline-start: 8px; } }
@media (max-width: 480px) { .nv-trust__list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.nv-footer { background: var(--nv-blue-900); color: #dbe6ff; margin-top: 0; position: relative; }
.nv-footer::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 6px; background: linear-gradient(90deg, var(--nv-sun) 0 25%, var(--nv-blue) 25% 50%, var(--nv-coral) 50% 75%, var(--nv-mint) 75%); }
.nv-footer__grid { display: flex; flex-wrap: wrap; gap: 36px 48px; padding-block: 64px 40px; }
.nv-footer__grid > * { flex: 1 1 160px; }
.nv-footer__grid > .nv-footer__brand { flex: 2 1 300px; }
.nv-footer__brand .nv-logo { width: 160px; }
.nv-footer__brand p { max-width: 380px; font-size: 1.45rem; opacity: .85; }
.nv-footer__h { margin: 0 0 14px; color: #fff; font-weight: 800; font-family: var(--font-display); font-size: 1.8rem; }
.nv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nv-footer a { text-decoration: none; opacity: .85; display: inline-flex; align-items: center; gap: 8px; }
.nv-footer a:hover { opacity: 1; color: var(--nv-sun); }
.nv-footer__contact li { display: flex; align-items: center; gap: 8px; }
.nv-footer__pay { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--nv-sun); font-weight: 700; }
.nv-social { display: flex !important; gap: 10px !important; margin-top: 18px !important; }
.nv-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; }
.nv-social svg { width: 20px; height: 20px; }
.nv-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px; font-size: 1.3rem; opacity: .75; }
.nv-footer__bottom p { margin: 0; }

/* ---------- YouCan inner pages (collection, product, cart, search, pages) ---------- */
.nv:not(.tpl-index) .main-container { padding-block: clamp(24px, 4vw, 48px); max-width: var(--nv-wrap); margin-inline: auto; padding-inline: var(--nv-gutter); box-sizing: border-box; }
.nv:not(.tpl-index) yc-section-head h2, .nv .page-title, .nv .product-title, .nv:not(.tpl-index) .main-container h1 { color: var(--nv-blue); font-family: var(--font-display); }
.nv input:not([type="checkbox"]):not([type="radio"]):not(.nv-search input), .nv select, .nv textarea { border-radius: 14px; border-color: var(--nv-line); font-family: inherit; }
.nv input:focus, .nv select:focus, .nv textarea:focus { border-color: var(--nv-blue); outline: none; box-shadow: 0 0 0 4px rgba(0, 74, 173, .1); }
.nv .yc-breadcrumb a, .nv .breadcrumb a { color: var(--nv-blue); }
.nv .collection-card { border-radius: 22px; overflow: hidden; transition: transform .35s var(--nv-ease); }
.nv .collection-card:hover { transform: translateY(-4px); }
.nv .cart-drawer, .nv yc-drawer#cart .drawer-box { background: #fff; }
.nv .cart-drawer .total span:last-child, .nv [data-drawer-total] { color: var(--nv-blue); font-weight: 800; }
.nv .variant-radio input:checked + label, .nv .variant-toggle [aria-checked="true"] { border-color: var(--nv-blue); background: var(--nv-blue-50); color: var(--nv-blue); }
.nv yc-toast, .nv .toast { border-radius: 16px; }

/* ---------- Motion ---------- */
@keyframes nv-twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .55; scale: .8; } }
@keyframes nv-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes nv-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.nv-switching *, .nv-switching *::before, .nv-switching *::after { transition: none !important; }
.nv-reduced *, .nv-reduced *::before, .nv-reduced *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-nv-reveal] > * { opacity: 1; transform: none; }
}
@media print { .nv-topbar, .nv-header, .nv-footer, .nv-hero__ui { display: none; } }

/* ---------- Real shop ---------- */
.nv-shop { padding-block: clamp(44px, 6vw, 72px); }
.nv-shop__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.nv-shop__list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; font-size: 1.5rem; }
.nv-shop__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--nv-ink, inherit); }
.nv-shop__list svg { flex-shrink: 0; color: var(--nv-blue); }
.nv-shop__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nv-btn--wa { background: #1fa855; color: #fff; }
.nv-shop__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nv-shop__ph { margin: 0; border-radius: var(--nv-r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--nv-blue-50); }
.nv-shop__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .nv-shop__grid { grid-template-columns: 1fr; }
  .nv-shop__gallery { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .nv-shop__ph { scroll-snap-align: start; }
}
.nv-age__hint { display: block; font-size: 1.2rem; line-height: 1.4; opacity: .8; margin-top: 4px; }
/* ---------- Product help ---------- */
.nv-help { margin-top: 18px; padding: 16px; border-radius: var(--nv-r-lg); background: var(--nv-blue-50); display: grid; gap: 12px; }
.nv-help__wa { justify-content: center; width: 100%; }
.nv-help__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1.4rem; }
.nv-help__list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nv-help__list svg { color: var(--nv-blue); flex-shrink: 0; }
