/*
  mel7fe look (ROMWE-style), one stylesheet on top of the theme.
  Accent bar on top, white header (black on the home page), banners edge to edge,
  2-column colour tiles, black product block with 3 small cards, grey collection page
  with white cards, product page with a sticky order bar.
  Unlayered on purpose so it wins over the theme's @layer rules.
  Colours: Theme settings > mel7fe ("Sale red" = the accent).
*/

:root {
  --nv-accent: var(--nv-red);
  --nv-text: #222222;
  --nv-text-2: #666666;
  --nv-muted: #999999;
  --nv-page-grey: #F6F6F6;
  --nv-sep: #F6F6F6;
  --nv-pad: 12px;
  --radius-button: 0px;
}

html, body { background: #fff; }
body {
  color: var(--nv-text);
  font-family: Helvetica, Arial, var(--font-family);
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: var(--font-family); }

/* Wide display type for headings / bars (Archivo expanded for Latin, the Arabic font for Arabic) */
.nv-topbar,
.nv-titlebar__text,
.nv-tab,
.nv-grid-title,
.nv-buybar__btn,
.nv-acc [ui-slot="accordion-trigger"] {
  font-family: var(--nv-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
}

/* ---------- Top bar (accent) ---------- */
.nv-topbar {
  display: grid;
  place-items: center;
  min-height: 41px;
  padding: 6px var(--nv-pad);
  background: var(--nv-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
}
[dir="rtl"] .nv-topbar { letter-spacing: 0; }
.nv-topbar__msg { margin: 0; color: inherit; animation: nv-fade 400ms ease; }
@keyframes nv-fade { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Header ---------- */
#youcan-section--header {
  --bg-color: #fff !important;
  --fg-color: #000 !important;
  --bg-shade-color: #fff !important;
  padding-inline: 4px !important;
  border-bottom: 1px solid #F0F0F0;
}
#youcan-section--header#youcan-section--header [ui-slot="button"]:not([data-variant="primary"]) {
  --button-bg: transparent !important;
  background: transparent !important;
}
#youcan-section--header [ui-slot="button"]:not([data-variant="primary"]) [ui-slot="button-front"] { background: transparent !important; }
#youcan-section--header .logo .name {
  color: var(--nv-accent);
  font-family: var(--nv-display);
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
/* Home: black header, white logo */
body[data-template="index"] #youcan-section--header {
  --bg-color: #000 !important;
  --fg-color: #fff !important;
  --bg-shade-color: #000 !important;
  border-bottom: 0;
}
body[data-template="index"] #youcan-section--header .logo .name { color: #fff; }

/* ---------- Banners (edge to edge, no gaps) ---------- */
.nv-banner {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--nv-photo-bg);
  color: var(--nv-banner-fg, #fff);
}
.nv-banner[data-ratio="1/1"] { aspect-ratio: 1 / 1; }
.nv-banner[data-ratio="4/5"] { aspect-ratio: 4 / 5; }
.nv-banner[data-ratio="3/4"] { aspect-ratio: 3 / 4; }
.nv-banner[data-ratio="16/9"] { aspect-ratio: 16 / 9; }
.nv-banner__media img, .nv-banner__media ui-image-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nv-banner[data-ratio="auto"] .nv-banner__media img { position: static; height: auto; }
.nv-banner[data-ratio="auto"] .nv-banner__media ui-image-fallback { position: static; aspect-ratio: 4 / 5; }
.nv-banner__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px var(--nv-pad);
  text-align: center;
}
.nv-banner[data-align="center"] .nv-banner__content { background: rgb(0 0 0 / 0.2); }
.nv-banner__heading {
  font-family: var(--nv-display);
  font-size: clamp(34px, 11vw, 80px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.nv-banner[data-align="caption"] .nv-banner__content {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px 8px;
  text-align: start;
}
.nv-banner[data-align="caption"] .nv-banner__heading {
  font-size: 19px;
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.35);
}
.nv-chev { display: inline-block; }
[dir="rtl"] .nv-chev { transform: scaleX(-1); }
.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.nv-btn--accent { background: var(--nv-accent); color: #fff; }
@media (min-width: 769px) {
  .nv-banner[data-ratio="4/5"], .nv-banner[data-ratio="3/4"], .nv-banner[data-ratio="1/1"] { aspect-ratio: 16 / 7; }
}

/* Swipe banner */
.nv-slider { position: relative; background: var(--nv-photo-bg); }
.nv-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nv-slider__track::-webkit-scrollbar { display: none; }
.nv-slider__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.nv-slider[data-ratio="1/1"] .nv-slider__slide { aspect-ratio: 1 / 1; }
.nv-slider[data-ratio="3/4"] .nv-slider__slide { aspect-ratio: 3 / 4; }
.nv-slider[data-ratio="16/9"] .nv-slider__slide { aspect-ratio: 16 / 9; }
@media (min-width: 769px) { .nv-slider .nv-slider__slide { aspect-ratio: 16 / 7; } }
.nv-slider__slide img, .nv-slider__slide ui-image-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-slider__dots { position: absolute; inset-inline: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.nv-slider__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.55); }
.nv-slider__dots i.is-on { background: #fff; }

/* Title bar with stars */
.nv-titlebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 8px var(--nv-pad);
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px);
  background-size: 6px 6px;
}
.nv-titlebar__text { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.1; text-align: center; font-stretch: 62% !important; font-variation-settings: "wdth" 62 !important; }
.nv-titlebar__star { font-size: 18px; opacity: 0.85; }

/* ---------- Colour tiles: 2 per row, edge to edge, name bottom-start ---------- */
.nv-colors { margin: 0; padding: 0; list-style: none; }
.nv-color a { display: block; color: var(--nv-text); }
.nv-color__media { position: relative; display: block; overflow: hidden; background: var(--nv-photo-bg); }
.nv-color__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-color__swatch { position: absolute; inset: 0; background: var(--swatch, #ccc); }
.nv-color__label { display: block; padding-top: 6px; font-size: 12px; text-align: center; }
.nv-colors-section .nv-h2 { display: none; }

.nv-colors[data-style="tiles"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #fff;
}
@media (min-width: 769px) { .nv-colors[data-style="tiles"] { grid-template-columns: repeat(var(--n-d, 4), minmax(0, 1fr)); } }
.nv-colors[data-style="tiles"] .nv-color__media { aspect-ratio: 195 / 272; }
.nv-color__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0) 35%);
}
.nv-color__name {
  color: #fff;
  font-family: var(--nv-display);
  font-size: 17px;
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  line-height: 1;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.3);
}

/* Round dots (collection colour menu) */
.nv-colors[data-style="dots"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 8px;
  padding: 14px var(--nv-pad);
}
.nv-color__dot {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #E5E5E5;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 3px #fff;
}
.nv-color__dot img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; padding: 3px; }
.nv-color[aria-current="true"] .nv-color__dot { border: 2px solid #000; }
.nv-color[aria-current="true"] .nv-color__label { font-weight: 700; }

/* ---------- Product grids ---------- */
.nv-items { display: grid; margin: 0; padding: 0; list-style: none; }
.nv-items[data-look="light"] {
  grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr));
  gap: 6px;
  padding: 0 6px;
}
@media (min-width: 769px) { .nv-items[data-look="light"] { grid-template-columns: repeat(var(--cols-d, 4), minmax(0, 1fr)); gap: 12px; padding: 0 12px; } }
.nv-grid-section[data-look="dark"] { background: #000; padding-bottom: 6px; }
.nv-items[data-look="dark"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 4px 8px; }
@media (min-width: 769px) { .nv-items[data-look="dark"] { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.nv-grid-section[data-look="light"] { background: var(--nv-page-grey); padding-bottom: 12px; }

/* ---------- Card ---------- */
.nv-card { position: relative; min-width: 0; overflow: hidden; background: #fff; }
.nv-card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--nv-photo-bg); }
.nv-card__media > img,
.nv-card__media > svg,
.nv-card__media > ui-image-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-card__bag {
  position: absolute;
  inset-block-end: 6px;
  inset-inline-end: 6px;
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.9);
  color: #000;
}
.nv-card__body { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px 8px; }
.nv-card__name { overflow: hidden; color: #000; font-size: 12.5px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.nv-card__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nv-card__price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.nv-price { color: var(--nv-text); font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; direction: ltr; }
.nv-price.is-sale { color: var(--nv-accent); }
.nv-pct { padding: 0 2px; border: 1px solid var(--nv-accent); border-radius: 2px; color: var(--nv-accent); font-size: 10px; line-height: 13px; direction: ltr; }
.nv-card__cart {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 26px;
  border: 1.5px solid #000;
  border-radius: 999px;
  color: #000;
}
.nv-items[data-look="light"] .nv-card { border-radius: 4px; }
.nv-items[data-look="dark"] .nv-card { border-radius: 4px; }
.nv-items[data-look="dark"] .nv-card__media { margin: 3px 3px 0; border-radius: 2px; }
.nv-items[data-look="dark"] .nv-card__bag { display: grid; }
.nv-items[data-look="dark"] .nv-card__name,
.nv-items[data-look="dark"] .nv-card__cart { display: none; }
.nv-items[data-look="dark"] .nv-card__body { padding: 4px 3px 5px; }
.nv-items[data-look="dark"] .nv-price { font-size: 12px; }
.nv-items[data-look="dark"] .nv-pct { font-size: 9px; line-height: 11px; }
.nv-items[data-cols="1"] .nv-card__media { aspect-ratio: 4 / 5; }
.nv-items[data-cols="3"] .nv-card__cart,
.nv-items[data-cols="3"] .nv-card__name { display: none; }
.nv-items[data-cols="3"] .nv-price { font-size: 13px; }

/* Tabs */
.nv-grid-title { margin: 0; padding: 16px var(--nv-pad) 4px; font-size: 13px; font-weight: 800; }
.nv-grid-section[data-look="dark"] .nv-grid-title { color: #fff; }
.nv-tabs { display: flex; gap: 22px; overflow-x: auto; padding: 14px var(--nv-pad) 12px; scrollbar-width: none; }
.nv-tabs::-webkit-scrollbar { display: none; }
.nv-tab { flex: none; padding: 0; border: 0; background: none; color: #8A8A8A; font-size: 13px; font-weight: 800; cursor: pointer; }
.nv-tab[aria-selected="true"] { background: linear-gradient(90deg, #F27FD3, #FFA6EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-grid-section[data-look="light"] .nv-tab { color: var(--nv-text-2); }
.nv-grid-section[data-look="light"] .nv-tab[aria-selected="true"] { color: #000; }
.nv-more { display: flex; justify-content: center; padding: 8px 0 4px; }
.nv-more:empty { display: none; }
.nv-viewmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nv-grid-section[data-look="light"] .nv-viewmore { color: var(--nv-text); }

/* ---------- Collection page ---------- */
body[data-template="collection"], #youcan-section--single-collection { background: var(--nv-page-grey) !important; }
#youcan-section--single-collection { padding: 0 !important; }
.nv-collection { padding-bottom: 20px; }
.nv-toolbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 var(--nv-pad);
  background: #fff;
}
.nv-toolbar__item { font-size: 14px; color: var(--nv-text); }
.nv-toolbar__sort { font-weight: 700; }
.nv-toolbar__sort label { display: none; }
.nv-dropdown summary { list-style: none; cursor: pointer; color: var(--nv-text); }
.nv-dropdown summary::-webkit-details-marker { display: none; }
.nv-dropdown[open] summary { color: var(--nv-accent); }
.nv-dropdown[open] > .nv-colors {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 7;
  border-top: 1px solid #F0F0F0;
  background: #fff;
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.08);
}
.nv-caret { font-size: 11px; }
.nv-density { display: flex; gap: 4px; }
.nv-density button { display: flex; gap: 2px; height: 20px; padding: 3px; border: 0; background: none; opacity: 0.3; cursor: pointer; }
.nv-density button[aria-pressed="true"] { opacity: 1; }
.nv-density i { display: block; width: 4px; background: #000; border-radius: 1px; }
@media (min-width: 769px) { .nv-density { display: none; } }
.nv-collection__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px var(--nv-pad); }
.nv-collection__title { margin: 0; color: var(--nv-text); font-family: inherit; font-size: 12px; font-weight: 400; }
.nv-count { color: var(--nv-muted); font-size: 12px; }
.nv-loadmore { display: grid; place-items: center; padding: 24px 0; }
.nv-spinner { width: 24px; height: 24px; border: 2px solid #E5E5E5; border-top-color: #000; border-radius: 50%; animation: nv-spin 700ms linear infinite; }
@keyframes nv-spin { to { transform: rotate(360deg); } }
.nv-collection.is-endless .nv-pagination-fallback { display: none; }

/* ---------- Product page ---------- */
#youcan-section--product-information { padding-inline: 0 !important; background: #fff !important; }
[ui-section="product-information"] { --bg-color: #fff; --fg-color: var(--nv-text); gap: 0 !important; }
[ui-section="product-information"] [ui-slot="breadcrumb"] { display: none; }
[ui-section="product-information"] .core .content { gap: 0 !important; padding: 0; }
[ui-section="product-information"] .core .content > * { padding-inline: var(--nv-pad); }
[ui-section="product-information"] [ui-block="price"] { display: flex; align-items: baseline; gap: 8px; padding-top: 12px; }
[ui-section="product-information"] [ui-block="price"] .original-price { color: var(--nv-text); font: 700 18px/1.2 Helvetica, Arial, var(--font-family); }
[ui-section="product-information"] [ui-block="price"]:has(.compare-at-price:not([hidden])) .original-price { color: var(--nv-accent); }
[ui-section="product-information"] [ui-block="price"] .compare-at-price { color: var(--nv-muted); font-size: 12px; text-decoration: line-through; }
.nv-pdp-promo { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: var(--nv-accent); font-size: 12px; }
.nv-pdp-promo .nv-badge { padding: 0 3px; border: 1px solid var(--nv-accent); border-radius: 2px; background: none; color: var(--nv-accent); font-size: 10px; line-height: 13px; direction: ltr; }
[ui-section="product-information"] [ui-block="title"][data-size] {
  margin: 6px 0 4px;
  color: var(--nv-text-2);
  font: 400 12px/1.4 Helvetica, Arial, var(--font-family) !important;
}
[ui-section="product-information"] [ui-variant="radio_buttons"] label,
[ui-section="product-information"] [ui-variant="textual_buttons"] label {
  min-width: 47px;
  min-height: 31px;
  border: 1px solid #E5E5E5 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--nv-text) !important;
  font-size: 14px;
}
@media (max-width: 769px) {
  [ui-section="product-information"] .core { gap: 0 !important; }
  [ui-section="product-information"] .media[data-layout="carousel"] { position: relative; gap: 0 !important; }
  [ui-section="product-information"] .media[data-layout="carousel"] [ui-slot="carousel"].main-media {
    --item-size: 68%;
    --gap: 4px;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
  }
  [ui-section="product-information"] .media[data-layout="carousel"] .main-media [ui-carousel="item"] { aspect-ratio: 3 / 4; background: var(--nv-photo-bg); }
  [ui-section="product-information"] .media[data-layout="carousel"] .main-media [ui-carousel="item"] img { width: 100%; height: 100%; object-fit: cover; }
  [ui-section="product-information"] .media[data-layout="carousel"] [ui-slot="carousel"].markers { display: none; }
  [ui-section="product-information"] { padding-top: 0 !important; }
  #youcan-section--product-information { --top-spacing: 0px !important; padding-top: 0 !important; }
}
[ui-section="product-information"] .main-media, [ui-section="product-information"] .media[data-layout="grid"] .image { border-radius: 0 !important; }
.nv-counter {
  position: absolute;
  bottom: 10px;
  left: 34%;
  transform: translateX(-50%);
  min-width: 40px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  direction: ltr;
}
[dir="rtl"] .nv-counter { left: auto; right: 34%; transform: translateX(50%); }
@media (min-width: 769px) { .nv-counter { display: none; } }
[ui-section="product-information"] [ui-slot="button"][data-variant="primary"] {
  --button-bg: var(--nv-accent);
  --button-fg: #fff;
  --button-elevation: 0px;
  min-height: 44px;
}
[ui-section="product-information"] [ui-slot="button"][data-variant="primary"] [ui-slot="button-front"] {
  transform: none;
  border-radius: 0;
  font-family: var(--nv-display);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
}
[ui-section="product-information"] [ui-block="controller"],
[ui-section="product-information"] .express-checkout-default { margin-block: 12px 4px; }
.nv-acc { margin: 12px 0 0; padding: 0 !important; border-top: 8px solid var(--nv-sep); list-style: none; }
.nv-acc + .nv-acc { margin-top: 0; border-top: 0; }
.nv-acc [ui-slot="accordion-item"] { border: 0 !important; border-radius: 0 !important; background: #fff; padding-inline: var(--nv-pad); }
.nv-acc [ui-slot="accordion-item"] + [ui-slot="accordion-item"] [ui-slot="accordion-trigger"] { border-top: 1px solid #EEEEEE; }
.nv-acc [ui-slot="accordion-trigger"] { padding: 13px 0; color: var(--nv-text); font-size: 14px; font-weight: 600; }
.nv-acc [ui-slot="accordion-content"] article { color: var(--nv-text-2); font-size: 12px; line-height: 1.7; }
.nv-acc [ui-slot="accordion-item"]:has(input:checked) [ui-slot="accordion-content"] { padding-block-end: 12px; }
ui-shop-bar { display: none !important; }
.nv-buybar { display: none; }
@media (max-width: 769px) {
  body[data-template="product"] { padding-bottom: 60px; }
  .nv-buybar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 56px;
    padding: 7px var(--nv-pad);
    background: #fff;
    box-shadow: 0 -1px 0 #EEEEEE;
  }
  .nv-buybar__icon { display: grid; place-items: center; width: 30px; color: #000; }
  .nv-buybar__btn {
    flex: 1;
    height: 42px;
    border: 0;
    background: var(--nv-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
  }
}
body[data-template="product"] .nv-grid-section[data-look="light"] { border-top: 8px solid var(--nv-sep); }
body[data-template="product"] .nv-grid-title { padding: 14px var(--nv-pad) 10px; color: var(--nv-text); font-size: 12px; }
.express-checkout-drawer [ui-slot="input"],
.express-checkout-drawer [ui-slot="input-wrapper"],
.express-checkout-default [ui-slot="input"],
.express-checkout-default [ui-slot="input-wrapper"] { border-color: #E5E5E5 !important; border-radius: 2px !important; }

/* ---------- Footer ---------- */
#youcan-section--footer { --bg-color: #fff !important; border-top: 8px solid var(--nv-sep); background: #fff !important; color: var(--nv-text); padding-inline: 0 !important; }
[ui-layout="footer"] .brand-card { width: 100%; padding: 22px var(--nv-pad); border-radius: 0; background: #000; color: #fff; }
[ui-layout="footer"] .brand-card .brand-name { color: #fff; font-family: var(--nv-display); font-style: italic; font-weight: 900; text-transform: uppercase; }
[ui-layout="footer"] { gap: 0 !important; }
[ui-layout="footer"] .menu { padding: 18px var(--nv-pad) 28px; border-radius: 0; background: #fff; gap: 18px; }
[ui-layout="footer"] .menu .title { font-family: var(--nv-display); font-size: 13px; font-weight: 800; font-variation-settings: "wdth" 125; }
[ui-layout="footer"] .menu .link { color: var(--nv-text-2); font-size: 13px; }
[ui-layout="footer"] .copyright { color: var(--nv-muted); font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  .nv-topbar__msg, .nv-spinner { animation: none; }
}

/* Sort control: plain bold text with a caret, like "Recommended ⌄" */
.nv-toolbar__sort * { background-color: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.nv-toolbar__sort select, .nv-toolbar__sort button { padding-inline: 0 !important; font-weight: 700 !important; color: var(--nv-text) !important; }

/* Home tabs under the black header */
.nv-hometabs { display: flex; justify-content: space-around; background: #000; }
.nv-hometab {
  position: relative;
  padding: 8px 0 10px;
  color: #8A8A8A;
  font-family: var(--nv-display);
  font-size: 13px;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
}
.nv-hometab.is-on { color: #fff; }
.nv-hometab.is-on::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 2px; background: #fff; }

/* Rows end with a small chevron › (instead of +) */
.nv-acc [ui-slot="accordion-trigger"]::before { display: none !important; }
.nv-acc [ui-slot="accordion-trigger"]::after {
  width: 7px !important;
  height: 7px !important;
  border-radius: 0 !important;
  background: none !important;
  border-top: 1.5px solid #999;
  border-right: 1.5px solid #999;
  transform: rotate(45deg) !important;
}
[dir="rtl"] .nv-acc [ui-slot="accordion-trigger"]::after { transform: rotate(-135deg) !important; }
.nv-acc [ui-slot="accordion-item"]:has(input:checked) [ui-slot="accordion-trigger"]::after { transform: rotate(135deg) !important; }

/* Cash-on-delivery form on the product page */
[ui-section="product-information"] .express-checkout-default {
  margin: 12px 0 4px;
  padding: 14px 0 0;
  border: 0;
  border-top: 8px solid var(--nv-sep);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
[ui-section="product-information"] .express-checkout-default [ui-slot="label"],
[ui-section="product-information"] .express-checkout-default label { color: var(--nv-text); font-size: 13px; font-weight: 700; }
[ui-section="product-information"] .express-checkout-default [ui-slot="input"],
[ui-section="product-information"] .express-checkout-default [ui-slot="input-wrapper"] {
  min-height: 44px;
  border: 1px solid #E5E5E5 !important;
  border-radius: 2px !important;
  background: #fff !important;
  font-size: 14px;
}
[ui-section="product-information"] .express-checkout-default [ui-slot="input"]:focus,
[ui-section="product-information"] .express-checkout-default [ui-slot="input-wrapper"]:focus-within { border-color: #222 !important; outline: none; box-shadow: none; }
[ui-section="product-information"] ui-quantity { border: 1px solid #E5E5E5; border-radius: 2px; background: #fff; }

/* ---------- App feel: bottom tab bar + smooth page changes ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
.nv-tabbar { view-transition-name: nv-tabbar; }
.nv-buybar { view-transition-name: nv-buybar; }
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
.nv-tabbar { display: none; }
@media (max-width: 769px) {
  body:has(.nv-tabbar) { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  /* product page: the order bar sits right above the tab bar */
  body[data-template="product"]:has(.nv-tabbar) { padding-bottom: calc(114px + env(safe-area-inset-bottom)); }
  body:has(.nv-tabbar) .nv-buybar { bottom: calc(56px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 #EEEEEE; border-bottom: 1px solid #F2F2F2; }
  body:has(.nv-tabbar) .nv-buybar__icon { display: none; }
  .nv-tabbar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 -1px 0 #EEEEEE;
  }
  .nv-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 56px;
    padding: 0;
    border: 0;
    background: none;
    color: #222;
    font: inherit;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
  }
  .nv-tab[aria-current="page"] { color: var(--nv-accent); }
  .nv-tab[aria-current="page"] .nv-tab__svg { stroke-width: 2.1; }
  .nv-tab:active .nv-tab__svg { transform: scale(.88); }
  .nv-tab__svg { display: block; transition: transform .12s; }
  .nv-tab__ico { position: relative; display: block; font-style: normal; }
  .nv-tab__badge {
    position: absolute;
    top: -3px;
    inset-inline-end: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--nv-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }
  .nv-tab__badge:has(ui-cart-bubble:empty) { display: none; }
  /* toasts and floating buttons sit above the bar */
  body:has(.nv-tabbar) [ui-toast], body:has(.nv-tabbar) .whatsapp-button { bottom: calc(68px + env(safe-area-inset-bottom)); }
  body[data-template="product"]:has(.nv-tabbar) [ui-toast], body[data-template="product"]:has(.nv-tabbar) .whatsapp-button { bottom: calc(124px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* in-app page change: thin progress line at the very top */
.nv-progress { position: fixed; top: 0; inset-inline: 0; z-index: 9999; height: 2px; background: var(--nv-accent); transform: scaleX(0); transform-origin: var(--nv-progress-origin, left); opacity: 0; pointer-events: none; }
[dir="rtl"] .nv-progress { --nv-progress-origin: right; }
.nv-progress.is-on { opacity: 1; transform: scaleX(.7); transition: transform 2.5s cubic-bezier(.1, .7, .2, 1); }
.nv-progress.is-done { opacity: 0; transform: scaleX(1); transition: transform .2s, opacity .25s .1s; }
.nv-topbar { view-transition-name: nv-topbar; }
#youcan-section--header { view-transition-name: nv-header; }
