/* ==========================================================================
   Rivero — industrial / logistics theme
   ========================================================================== */

:root {
  --ink: #0E0E0C;
  --ink-2: #161614;
  --ink-3: #20201D;
  --ink-4: #2C2C28;
  --on-ink: #F3F2EC;
  --on-ink-2: rgba(243, 242, 236, .68);
  --on-ink-3: rgba(243, 242, 236, .44);
  --line-d: rgba(243, 242, 236, .12);

  --paper: #EEEDE6;
  --paper-2: #E2E0D7;
  --white: #FFFFFF;
  --text: #0E0E0C;
  --text-2: #4A4A44;
  --text-3: #7A7A72;
  --line: rgba(14, 14, 12, .13);

  --yellow: #FFD000;
  --yellow-2: #FFDE40;
  --wa: #25D366;
  --wa-2: #3BE07A;
  --wa-ink: #052E16;
  --red: #E0302B;

  --font: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 135%;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}
:root[dir="rtl"] { --font: "Cairo", system-ui, sans-serif; --wide: 100%; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }
:root[dir="rtl"] .ltr { text-align: end; }
.ic { width: 22px; height: 22px; flex: none; }
:root[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Type ---------- */
.display, .h2 {
  font-family: var(--font); font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance;
  overflow-wrap: break-word; hyphens: manual;
}
/* German compounds are too long for phone widths without hyphenation */
:lang(de) .display, :lang(de) .h2 { hyphens: auto; }
.display { font-size: clamp(36px, 6.2vw, 92px); line-height: .94; }
.h2 { font-size: clamp(30px, 4.4vw, 62px); line-height: .98; }
.h2--sm { font-size: clamp(26px, 3.2vw, 44px); }
.display em, .h2 em { font-style: normal; }

:root[dir="rtl"] .display, :root[dir="rtl"] .h2 { text-transform: none; letter-spacing: 0; line-height: 1.3; font-weight: 800; }
:root[dir="rtl"] .display { font-size: clamp(34px, 5vw, 72px); }
:root[dir="rtl"] .h2 { font-size: clamp(28px, 3.6vw, 50px); }
:root[dir="rtl"] body { line-height: 1.75; }
:root[dir="rtl"] * { letter-spacing: 0 !important; }

.tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
}
.tag__sq { width: 10px; height: 10px; background: var(--yellow); flex: none; }
.tag--dark { color: var(--text); }
.tag--dark .tag__sq { outline: 2px solid var(--ink); outline-offset: -2px; }
.tag--ink { color: var(--ink); }
.tag--ink .tag__sq { background: var(--ink); }
:root[dir="rtl"] .tag { text-transform: none; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 24px; border-radius: var(--r);
  font: 800 16px/1 var(--font); white-space: nowrap; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--lg { height: 62px; padding-inline: 28px; font-size: 17px; }
.btn--sm { height: 44px; padding-inline: 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); box-shadow: 0 14px 30px -12px rgba(255, 208, 0, .65); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-2); box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: #000; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.btn--line { border: 2px solid var(--line-d); color: var(--on-ink); }
.btn--line:hover { border-color: var(--on-ink); background: rgba(255, 255, 255, .06); }
.btn--line-dark { border: 2px solid var(--line); color: var(--text); height: 50px; }
.btn--line-dark:hover { border-color: var(--ink); }
.btn--icon { width: 54px; padding: 0; }
.btn .ic { width: 22px; height: 22px; }

/* ---------- Progress + lang bar + header ---------- */
.progress { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }
:root[dir="rtl"] .progress { transform-origin: 100% 50%; }

.langbar { background: #000; color: var(--on-ink-2); font-size: 13px; }
.langbar__in { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.langbar__note { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; align-items: center; gap: 4px; }
.langs__ic { width: 16px; height: 16px; margin-inline-end: 6px; color: var(--on-ink-3); }
.langs button {
  min-width: 38px; height: 32px; padding-inline: 9px; border-radius: 6px;
  font: 800 13px/1 var(--font); letter-spacing: .04em; color: var(--on-ink-2);
  transition: background-color .2s, color .2s;
}
.langs button:hover { background: var(--ink-4); color: var(--on-ink); }
.langs button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.langs button[lang="ar"] { font-family: "Cairo", sans-serif; font-size: 14px; letter-spacing: 0; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex: none; animation: pulse 2s infinite; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 12, .94); color: var(--on-ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 32px; transition: height .3s var(--ease); }
.header.is-scrolled .header__in { height: 62px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.logo__mark svg { width: 24px; height: 24px; }
.logo__word { font: 900 23px/1 "Roboto Flex", sans-serif; font-stretch: 140%; text-transform: uppercase; letter-spacing: .02em; }

.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { position: relative; padding-block: 8px; font-weight: 700; font-size: 15px; color: var(--on-ink-2); white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
:root[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover { color: var(--on-ink); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; gap: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding-block: clamp(48px, 7vw, 96px) clamp(80px, 9vw, 128px); }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000, transparent 75%);
  opacity: .55;
}
.hero__in { position: relative; z-index: 2; }
.hero__in > * { max-width: min(700px, 54vw); }
.hero__title { margin-bottom: 26px; }
.hero__title em { color: var(--yellow); }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--on-ink-2); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.live {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-d); background: var(--ink-2);
  font-size: 15px; font-weight: 600; color: var(--on-ink-2);
}
.live strong { color: var(--yellow); font-weight: 800; }
.live__sep { width: 1px; height: 16px; background: var(--line-d); }

.stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; align-items: end; gap: 20px 56px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__n { font: 900 clamp(34px, 4vw, 52px)/1 "Roboto Flex", sans-serif; font-stretch: 130%; color: var(--on-ink); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
:root[dir="rtl"] .stat__n { text-align: start; }
/* Word instead of a number ("All of Europe"): same weight, smaller, follows text direction */
.stat__n--word { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; text-transform: uppercase; direction: inherit; unicode-bidi: normal; text-wrap: balance; }
:root[dir="rtl"] .stat__n--word { font-family: var(--font); text-transform: none; }.stat span { font-size: 14px; color: var(--on-ink-3); }

/* Moving wall of real stock photos (desktop) */
.hero__wall {
  position: absolute; z-index: 1; top: -40px; bottom: -40px; inset-inline-end: 0; width: 44%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-inline: 14px;
  transform: rotate(-4deg); transform-origin: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
  mask-image: linear-gradient(90deg, transparent, #000 28%);
}
:root[dir="rtl"] .hero__wall { transform: rotate(4deg); -webkit-mask-image: linear-gradient(-90deg, transparent, #000 28%); mask-image: linear-gradient(-90deg, transparent, #000 28%); }
.wall__col { display: flex; flex-direction: column; animation: wall-up 60s linear infinite; will-change: transform; }
.wall__col:nth-child(2) { animation-name: wall-down; animation-duration: 74s; }
.wall__col:nth-child(3) { animation-duration: 52s; }
.wall__col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; margin-bottom: 14px; filter: saturate(.85) brightness(.8); }
.hero__strip { display: none; }

/* Hazard band */
.band-wrap { position: relative; z-index: 3; overflow: hidden; margin-top: -40px; padding-block: 16px 22px; pointer-events: none; }
.band { background: var(--yellow); color: var(--ink); transform: rotate(-1.5deg); margin-inline: -24px; border-block: 3px solid var(--ink); box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.band__track { display: flex; width: max-content; direction: ltr; padding-block: 15px; animation: marquee 34s linear infinite; }
.band__item { display: inline-flex; align-items: center; gap: 24px; padding-inline-end: 24px; font: 900 22px/1 "Roboto Flex", "Cairo", sans-serif; font-stretch: 125%; text-transform: uppercase; white-space: nowrap; }
.band__item::after { content: ""; width: 13px; height: 13px; background: var(--ink); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--light { background: var(--paper); color: var(--text); }
.section--dark { background: var(--ink); color: var(--on-ink); }
.section--dark .h2 em { color: var(--yellow); }
.section--light .h2 em {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 92% / 0% 34%;
  transition: background-size 1.1s var(--ease-out) .35s;
  padding-inline: .06em; margin-inline: -.06em;
}
:root[dir="rtl"] .section--light .h2 em { background-position: 100% 92%; }
.section--light .reveal.in .h2 em, .section--light .in .h2 em { background-size: 100% 34%; }
#pallets { padding-top: clamp(56px, 7vw, 96px); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--single { grid-template-columns: 1fr; }
.sec-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sec-lead { font-size: 16.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.section--dark .sec-lead { color: var(--on-ink-2); }

.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--white); border: 2px solid var(--ink); }
.seg button { direction: ltr; height: 40px; padding-inline: 14px; border-radius: 8px; font: 800 14px/1 var(--font); color: var(--text-2); transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

/* ---------- Pallet cards (core offer) ---------- */
/* Offer tabs: buy with delivery (retail) / wholesale, then a filter by kind */
.otabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.otabs button {
  display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border-radius: var(--r-lg);
  border: 2px solid var(--line); background: var(--white); color: var(--text); text-align: start;
  transition: border-color .2s, background-color .2s, color .2s;
}
.otabs button:hover { border-color: var(--ink); }
.otabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.otabs .ic { width: 28px; height: 28px; flex: none; color: var(--text-2); }
.otabs button[aria-selected="true"] .ic { color: var(--yellow); }
.otabs__t { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.otabs__t b { font: 850 19px/1.15 var(--font); }
.otabs__t small { font-size: 13px; line-height: 1.35; color: var(--text-3); }
.otabs button[aria-selected="true"] .otabs__t small { color: var(--on-ink-2); }
.otabs__n { min-width: 32px; height: 32px; padding: 0 9px; border-radius: 999px; display: grid; place-items: center; background: var(--paper); color: var(--text); font: 850 14px/1 var(--font); font-style: normal; }
.otabs button[aria-selected="true"] .otabs__n { background: var(--yellow); color: var(--ink); }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.kinds button { height: 40px; padding-inline: 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--text); font-weight: 700; font-size: 14.5px; transition: border-color .2s; }
.kinds button:hover { border-color: var(--ink); }
.kinds button span { margin-inline-start: 2px; color: var(--text-3); font-weight: 600; }
.kinds button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.kinds button[aria-pressed="true"] span { color: var(--on-ink-2); }
#rateNote { margin-top: 20px; }
.pallets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .4); }
.pcard--feature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.media { position: relative; display: block; width: 100%; overflow: hidden; background: var(--ink-2); }
.pcard .media { aspect-ratio: 1; }
.pcard--feature .media { aspect-ratio: auto; min-height: 460px; height: 100%; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pcard:hover .media img, .lcard:hover .media img { transform: scale(1.05); }
.media__badge {
  position: absolute; z-index: 3; top: 14px; inset-inline-start: 14px;
  padding: 7px 11px; border-radius: 6px; background: var(--ink); color: var(--yellow);
  font: 800 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
:root[dir="rtl"] .media__badge { text-transform: none; font-size: 13px; }
.nophoto {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: repeating-linear-gradient(-45deg, #141412 0 22px, #1B1B18 22px 44px);
  color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.nophoto svg { width: 72px; height: 72px; }
.nophoto span { color: var(--on-ink-3); }

/* Yellow wipe that reveals each photo as it scrolls in */
.js .media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--yellow); transform: scaleX(1); transform-origin: 100% 50%; transition: transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
:root[dir="rtl"].js .media::after { transform-origin: 0 50%; }
.js .in .media::after, .js .media.in::after { transform: scaleX(0); }

.pcard__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
.pcard__ref { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pcard__name { font: 850 23px/1.12 var(--font); font-stretch: 112%; text-wrap: balance; }
.pcard__name button { text-align: start; }
.pcard__name button:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pcard--feature .pcard__name { font-size: clamp(26px, 2.4vw, 34px); }
.pcard__note {
  color: var(--text-2); font-size: 15.5px; white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.pcard--feature .pcard__note { -webkit-line-clamp: 4; line-clamp: 4; }
:root[dir="rtl"] .pcard__name { font-stretch: 100%; line-height: 1.45; }

.specs-row { display: flex; flex-wrap: wrap; gap: 6px; }
.specs-row li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 8px; background: var(--paper); font-size: 14px; font-weight: 700; }
.specs-row .ic { width: 17px; height: 17px; color: var(--text-2); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 16px; border-top: 2px dashed var(--line); }
.price strong { font: 900 38px/1 "Roboto Flex", sans-serif; font-stretch: 118%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price__unit { font-size: 15px; font-weight: 700; color: var(--text-2); }
.price__pc { flex-basis: 100%; font-size: 13.5px; color: var(--text-3); }
.pcard__actions { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; }
.pcard__actions .btn--wa { white-space: normal; line-height: 1.15; }
.btn-more { width: 54px; height: 54px; border-radius: var(--r); display: grid; place-items: center; border: 2px solid var(--line); transition: border-color .2s, background-color .2s, transform .2s; }
.btn-more:hover { border-color: var(--ink); background: var(--paper); }
.btn-more:active { transform: scale(.95); }

/* Catalog loading from the database */
.pskel { min-height: 460px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--paper-2) 0%, #F5F4EF 50%, var(--paper-2) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.specs-row .stock { background: #E3F6EA; color: #13723B; }
.specs-row .grade { background: var(--ink); color: var(--yellow); }
.specs-row .grade .ic { color: var(--yellow); }
.price__gross { color: var(--text-2); font-weight: 600; }
.lcard__price small { font-size: 11.5px; font-weight: 700; color: var(--text-3); font-stretch: 100%; }
.specs-row .stock .pulse { width: 7px; height: 7px; }


/* Empty catalog */
.pempty {
  grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
  min-height: 340px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg);
  background: var(--white); border: 2px dashed var(--line-2, rgba(14,14,12,.25));
}
.pempty__ic { width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.pempty__ic svg { width: 46px; height: 46px; }
.pempty__text { font: 850 clamp(21px, 2.2vw, 30px)/1.25 var(--font); font-stretch: 108%; max-width: 30ch; text-wrap: balance; }
:root[dir="rtl"] .pempty__text { font-stretch: 100%; line-height: 1.6; }

/* Truckload card */
.truck {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 34px 26px 26px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); color: var(--on-ink);
}
.truck::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }
.truck__ic { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.truck__ic .ic { width: 34px; height: 34px; }
.truck h3 { font: 900 28px/1.02 var(--font); font-stretch: var(--wide); text-transform: uppercase; margin-top: 8px; }
:root[dir="rtl"] .truck h3 { text-transform: none; line-height: 1.4; }
.truck p { color: var(--on-ink-2); }
.truck .btn { margin-top: auto; }
.js .truck .truck__ic { transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .7s var(--ease-out) .3s, opacity .4s .3s; }
.js .truck.in .truck__ic { transform: none; opacity: 1; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why__item { padding: 28px 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line-d); transition: border-color .3s, transform .35s var(--ease); }
.why__item:hover { border-color: rgba(255, 208, 0, .5); transform: translateY(-3px); }
.why__ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: 22px; }
.why__ic .ic { width: 26px; height: 26px; }
.why__item h3 { font: 800 19px/1.25 var(--font); margin-bottom: 8px; }
.why__item p { color: var(--on-ink-2); font-size: 15.5px; }

/* ---------- Other lots (secondary) ---------- */
.section--lots { padding-top: clamp(56px, 7vw, 96px); }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.lcard {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lcard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); }
.lcard .media { aspect-ratio: 1; }
.lcard .media__badge { top: 10px; inset-inline-start: 10px; padding: 6px 9px; font-size: 11px; }
.lcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 14px 14px; }
.lcard__name { font: 800 16px/1.25 var(--font); }
.lcard__name button { text-align: start; }
.lcard__meta { font-size: 13.5px; color: var(--text-3); }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.lcard__price { font: 900 21px/1 "Roboto Flex", sans-serif; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.iconbtn { width: 46px; height: 46px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); transition: background-color .2s, transform .2s; }
.iconbtn:hover { background: var(--wa-2); transform: translateY(-1px); }
.iconbtn:active { transform: scale(.94); }
.stamp {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  padding: 6px 14px; border: 3px solid var(--red); border-radius: 6px; background: rgba(255, 255, 255, .88); color: var(--red);
  font: 900 20px/1 var(--font); font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em;
}
.is-sold .media img { filter: grayscale(1); opacity: .6; }
.is-sold .lcard__price { color: var(--text-3); text-decoration: line-through; }
.fineprint { margin-top: 36px; font-size: 13px; color: var(--text-3); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before { content: ""; position: absolute; top: 33px; inset-inline: 34px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s; }
:root[dir="rtl"] .steps::before { transform-origin: right; }
.js .steps.reveal { opacity: 1; transform: none; }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--yellow); color: var(--yellow);
  font: 900 28px/1 "Roboto Flex", sans-serif; font-stretch: 125%;
}
.js .step__n { transform: scale(.4); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s, background-color .3s, color .3s; transition-delay: calc(var(--i) * 280ms + .2s); }
.js .steps.in .step__n { transform: none; opacity: 1; }
.step:hover .step__n { background: var(--yellow); color: var(--ink); }
.step h3 { margin-top: 22px; font: 800 20px/1.25 var(--font); }
.step p { margin-top: 8px; color: var(--on-ink-2); font-size: 15.5px; }
.js .step h3, .js .step p { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 280ms + .35s); }
.js .steps.in .step h3, .js .steps.in .step p { opacity: 1; transform: none; }

/* ---------- Delivery tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.tile__ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); margin-bottom: 18px; }
.tile__ic .ic { width: 28px; height: 28px; }
.tile h3 { font: 850 23px/1.15 var(--font); font-stretch: 110%; }
.tile p { color: var(--text-2); }
.tile--hot { background: var(--yellow); border-color: var(--yellow); }
.tile--hot p { color: rgba(14, 14, 12, .78); }
.tile--hot .btn { margin-top: auto; }
.tile--hot p + .btn { margin-top: 14px; }

/* ---------- Contact ---------- */
.contact { background: var(--yellow); color: var(--ink); padding-block: clamp(64px, 9vw, 120px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(36px, 5vw, 80px); align-items: center; }
.contact__grid > *, .sec-head > *, .hero__in > * { min-width: 0; }
.contact__title { font-size: clamp(40px, 5.4vw, 88px); margin-bottom: 24px; }
.contact__title em { color: transparent; -webkit-text-stroke: 2px var(--ink); }
:root[dir="rtl"] .contact__title em { color: var(--ink); -webkit-text-stroke: 0; text-decoration: underline 4px; text-underline-offset: 10px; }
.contact__lead { font-size: 18px; max-width: 46ch; color: rgba(14, 14, 12, .8); }
.contact__list { display: flex; flex-direction: column; gap: 10px; }
.cbig {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px;
  background: var(--ink); color: var(--on-ink);
  transition: transform .3s var(--ease), box-shadow .3s;
}
a.cbig:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55); }
a.cbig:active { transform: scale(.98); }
.cbig__ic { width: 50px; height: 50px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--ink-4); color: var(--yellow); }
.cbig--wa .cbig__ic { background: var(--wa); color: var(--wa-ink); }
.cbig__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cbig__l { font-size: 13px; color: var(--on-ink-3); }
.cbig__v { font-size: 19px; font-weight: 800; overflow-wrap: anywhere; }
.cbig__v--sm { font-size: 15.5px; font-weight: 600; }
.cbig__go { color: var(--on-ink-3); transition: transform .3s var(--ease), color .2s; }
a.cbig:hover .cbig__go { color: var(--yellow); transform: translateX(4px); }
:root[dir="rtl"] a.cbig:hover .cbig__go { transform: scaleX(-1) translateX(4px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-2); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-block: 56px 40px; }
.footer .logo { color: var(--on-ink); }
.footer__tag { margin-top: 18px; max-width: 34ch; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a:hover { color: var(--yellow); }
.footer__h { color: var(--on-ink); font-weight: 800; margin-bottom: 10px; }
.footer__company { line-height: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid var(--line-d); font-size: 13px; }

/* ---------- Modal ---------- */
.modal {
  width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px);
  padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--white); color: var(--text);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7);
}
.modal::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
.modal__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100dvh - 40px); }
.modal__body { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 44px); overflow-y: auto; }
.modal__body .tag { margin-bottom: 14px; }
.modal__title { font: 900 clamp(26px, 2.8vw, 36px)/1.08 var(--font); font-stretch: 112%; text-wrap: balance; }
:root[dir="rtl"] .modal__title { font-stretch: 100%; line-height: 1.4; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.specs div { padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.specs dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
:root[dir="rtl"] .specs dt { text-transform: none; font-size: 13px; }
.specs dd { font-weight: 800; font-size: 16px; }
.modal__price { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding-top: 18px; border-top: 2px dashed var(--line); }
.modal__price-l { font-size: 13.5px; font-weight: 700; color: var(--text-3); }
.modal__price strong { font: 900 44px/1.05 "Roboto Flex", sans-serif; font-stretch: 118%; font-variant-numeric: tabular-nums; }
.modal__price-per { font-size: 14px; color: var(--text-2); }
.soldnote { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #FDECEB; color: #8C1C18; font-weight: 600; font-size: 14.5px; }
.modal__ctas { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 26px; }
.modal__ctas-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modal__close { position: absolute; z-index: 5; top: 14px; inset-inline-end: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* Product window: whole photos on the left; price and contact first, then details and description */
.pmodal { width: min(1120px, calc(100% - 32px)); }
.pmodal .modal__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); height: min(780px, calc(100dvh - 40px)); }
.pmodal .modal__body { padding: clamp(26px, 3.2vw, 40px); }
.pmodal .modal__body > .tag { padding-inline-end: 52px; }
.gal { position: relative; display: flex; flex-direction: column; min-height: 0; background: var(--ink); direction: ltr; }
.gal__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.gal__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(30px) brightness(.42) saturate(1.3); transform: scale(1.2); }
.gal__track { position: relative; display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.gal__slide img { width: 100%; height: 100%; object-fit: contain; }
.gal__nav {
  position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .5); transition: transform .2s var(--ease), background-color .2s;
}
.gal__nav:hover { background: var(--yellow); }
.gal__nav:active { transform: scale(.92); }
.gal__nav--prev { left: 14px; }
.gal__nav--prev .ic { transform: scaleX(-1); }
.gal__nav--next { right: 14px; }
.gal__zoom {
  position: absolute; z-index: 2; bottom: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 0, 0, .62); color: #fff; transition: background-color .2s, transform .2s var(--ease);
}
.gal__zoom:hover { background: var(--yellow); color: var(--ink); }
.gal__zoom:active { transform: scale(.92); }
.gal__slide img { cursor: zoom-in; }

/* Full-screen photo zoom */
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.zoom::backdrop { background: #000; }
.zoom__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: zoom-in; }
.zoom.is-zoomed .zoom__stage { cursor: grab; }
.zoom.is-zoomed .zoom__stage:active { cursor: grabbing; }
.zoom__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: center; will-change: transform; -webkit-user-drag: none; pointer-events: none; }
.zoom__btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), background-color .2s;
}
.zoom__btn:hover { background: var(--yellow); }
.zoom__btn:active { transform: scale(.92); }
.zoom__close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.zoom__nav { top: 50%; margin-top: -24px; }
.zoom__nav--prev { left: 14px; }
.zoom__nav--prev .ic { transform: scaleX(-1); }
.zoom__nav--next { right: 14px; }
.zoom__nav[hidden] { display: none; }
.zoom.is-zoomed .zoom__nav { opacity: 0; pointer-events: none; }
.zoom__bar {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: fit-content; margin-inline: auto;
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .62); font: 700 13px/1.3 var(--font); text-align: center; pointer-events: none;
}
.zoom__count { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zoom__count:empty { display: none; }
.zoom__hint { opacity: .8; }
.zoom.is-zoomed .zoom__hint { display: none; }

.gal__count {
  position: absolute; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%);
  padding: 6px 11px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff;
  font: 800 13px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.gal__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; background: var(--ink); }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumbs button { flex: none; width: 62px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; }
.gal__thumbs button:hover { opacity: .85; }
.gal__thumbs button[aria-current="true"] { border-color: var(--yellow); opacity: 1; }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy { margin-top: 22px; padding: 18px 18px 16px; border-radius: 14px; background: var(--paper); }
.buy .modal__price { margin-top: 0; padding-top: 0; border-top: 0; }
.buy .soldnote { margin-top: 12px; }
.buy .modal__ctas { margin-top: 16px; padding-top: 0; }
.buy .btn--line-dark { background: var(--white); }
.pmodal .specs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); }
.pmodal .specs div { background: var(--white); border: 1px solid var(--line); }

/* Seller's description, line breaks as typed */
.desc { margin-top: 28px; padding-top: 22px; border-top: 2px dashed var(--line); }
.desc__h { margin-bottom: 12px; font: 800 12.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
:root[dir="rtl"] .desc__h { text-transform: none; letter-spacing: 0; font-size: 14px; }
.desc__text { white-space: pre-line; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.65; color: var(--text); }

/* ---------- Series: one card for many boxes / pallets ---------- */
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--ink); }
.collage--2 { grid-template-rows: 1fr; }
.collage--3 > :first-child { grid-row: span 2; }
.media .collage img { position: static; min-height: 0; }
.media__count {
  position: absolute; z-index: 3; bottom: 12px; inset-inline-start: 12px;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px;
  background: var(--yellow); color: var(--ink); font: 850 14px/1 var(--font);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.media__count .ic { width: 16px; height: 16px; }
.lcard .media__count { bottom: 10px; inset-inline-start: 10px; padding: 6px 9px; font-size: 12.5px; }
.pcard__actions .btn--yellow { white-space: normal; line-height: 1.15; }
.btn-more--wa { border-color: transparent; background: var(--wa); color: var(--wa-ink); }
.btn-more--wa:hover { border-color: transparent; background: var(--wa-2); }
.iconbtn--all { background: var(--yellow); color: var(--ink); }
.iconbtn--all:hover { background: var(--yellow-2); }

.gmodal { width: min(1120px, calc(100% - 32px)); }
.gmodal__in { position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; }
.gmodal__head { padding: clamp(24px, 3.4vw, 40px) clamp(20px, 3.4vw, 40px) 20px; padding-inline-end: 80px; }
.gmodal__head .tag { margin-bottom: 12px; }
.gmodal__hint { margin-top: 12px; font-size: 14.5px; color: var(--text-3); }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); gap: 12px; padding: 0 clamp(20px, 3.4vw, 40px) 24px; }
.gitem { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.gitem:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .45); }
.gitem__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.gitem__img img { width: 100%; height: 100%; object-fit: cover; }
.gitem__img .nophoto svg { width: 44px; height: 44px; }
.gitem__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.gitem__ref { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--text-3); }
.gitem__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gitem__price { font: 900 19px/1 "Roboto Flex", sans-serif; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.gitem__grade { padding: 4px 7px; border-radius: 5px; background: var(--ink); color: var(--yellow); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.gmodal__desc { margin: 4px clamp(20px, 3.4vw, 40px) 28px; }
.gmodal__desc .desc__text { max-width: 78ch; }
.gmodal__mail { height: 62px; }
.gmodal__foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding: 14px clamp(20px, 3.4vw, 40px) calc(14px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -1px 0 var(--line); }

/* ---------- Ordering with delivery (retail, Poland) ---------- */
.media__res {
  position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px;
  padding: 7px 10px; border-radius: 6px; background: var(--white); color: var(--ink);
  font: 800 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
}
.lcard .media__res, .gitem__img .media__res { top: 10px; inset-inline-end: 10px; padding: 5px 8px; font-size: 11px; }
:root[dir="rtl"] .media__res { text-transform: none; letter-spacing: 0; }
.resnote { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.modal__ctas.is-retail #mWa { height: 48px; font-size: 15px; }
.modal__ctas.is-retail .modal__ctas-row { display: none; }
.pickup { font-size: 13.5px; line-height: 1.45; color: var(--text-2); text-align: center; }

.retail {
  display: flex; align-items: flex-start; gap: 18px; margin-top: clamp(36px, 5vw, 56px); padding: 22px 24px;
  border-radius: var(--r-lg); background: var(--ink-3); border: 1px solid var(--line-d);
}
.retail__ic { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.retail__ic .ic { width: 26px; height: 26px; }
.retail h3 { font: 800 19px/1.3 var(--font); }
.retail p { margin-top: 6px; max-width: 80ch; color: var(--on-ink-2); font-size: 15.5px; }

.omodal { width: min(660px, calc(100% - 32px)); }
.omodal__in { position: relative; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 38px); }
.omodal__title { margin-top: 10px; padding-inline-end: 48px; font: 900 clamp(24px, 3vw, 30px)/1.1 var(--font); font-stretch: 112%; }
:root[dir="rtl"] .omodal__title { font-stretch: 100%; }
.ocart { display: grid; gap: 8px; margin-top: 16px; }
.ocart__empty { padding: 16px; border-radius: 12px; border: 2px dashed var(--line); color: var(--text-2); text-align: center; }
.oline { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.oline__img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--paper); }
.oline__main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.oline__ref { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--text-3); }
.oline__name { max-width: 100%; font-weight: 800; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oline__side { display: flex; align-items: center; gap: 10px; }
.oline__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.oline__x { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--text-3); }
.oline__x:hover { background: var(--paper); color: var(--text); }
.oline__x .ic { width: 16px; height: 16px; }
.chip-size { max-width: 100%; padding: 3px 8px; border-radius: 5px; background: var(--ink); color: var(--yellow); font-size: 11.5px; font-weight: 800; line-height: 1.3; }
.oqty { display: inline-flex; align-items: center; gap: 4px; }
.oqty button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 900; }
.oqty button:disabled { opacity: .35; }
.oqty b { min-width: 22px; text-align: center; }
.onotes:empty { display: none; }
.onotes { display: grid; gap: 6px; margin-top: 10px; }
.onote { padding: 10px 12px; border-radius: 10px; background: #FFF6CC; font-size: 14px; }
.onote button { margin-inline-start: 6px; font-weight: 800; text-decoration: underline; }

.meter:empty, .more:empty { display: none; }
.meter { margin-top: 16px; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--ink); }
.meter__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-size: 12.5px; color: var(--text-3); }
.meter__head .desc__h { margin: 0; color: var(--text); }
.meter__info { margin: -2px 0 10px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.meter__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 6px; }
.meter__n { font-size: 12.5px; font-weight: 800; color: var(--text-2); white-space: nowrap; }
.meter__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; direction: ltr; }
.meter__b, .meter__free { height: 30px; border-radius: 6px; }
.meter__free { border: 2px dashed var(--line); }
.meter__b--parcel { outline: 2px solid var(--ink); outline-offset: -2px; }
.meter__b--0 { background: var(--yellow); }
.meter__b--1 { background: #F2A900; }
.meter__b--2 { background: #FFE680; }
.meter__b--3 { background: #C98B00; }
.meter__msg { margin-top: 12px; font-size: 14.5px; font-weight: 700; }
.meter__msg.is-free { color: #157A3D; }

.more { margin-top: 16px; }
.more .desc__h { margin-bottom: 10px; }
.more__list { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mitem { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.mitem__img { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--paper); }
.mitem__img img { width: 100%; height: 100%; object-fit: cover; }
.mitem__fit { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 6px; background: var(--wa); color: var(--wa-ink); font-size: 11px; font-weight: 800; text-align: center; line-height: 1.2; }
.mitem__name { font-weight: 800; font-size: 14px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mitem__meta { font-size: 12px; color: var(--text-3); }
.mitem__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 4px; }
.mitem__foot strong { font-size: 14px; white-space: nowrap; }
.mitem__add { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding-inline: 10px; border-radius: 8px; background: var(--yellow); font-size: 13px; font-weight: 800; }
.mitem__add .ic { width: 14px; height: 14px; }
.mitem__add:hover { background: var(--yellow-2); }

.cartpill {
  position: fixed; z-index: 40; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding-inline: 20px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font: 850 16px/1 var(--font); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6);
}
.cartpill .ic { width: 22px; height: 22px; }
.cartpill:hover { background: var(--yellow-2); }
.howto { margin-top: 22px; padding: 18px; border-radius: 14px; background: var(--paper); }
.howto .desc__h { margin-bottom: 14px; }
.howto__list { display: grid; gap: 12px; }
.howto__list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.howto__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 900 14px/1 var(--font); }
.howto__list p { padding-top: 4px; font-size: 15px; line-height: 1.45; }
.howto__pickup { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; font-weight: 700; color: var(--text); }
.howto__pickup .ic { flex: none; width: 22px; height: 22px; color: #128C4A; }
.howto__pickup:hover span { text-decoration: underline; }

.oform { margin-top: 24px; display: grid; gap: 14px; }
.ogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ofield { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.ofield--full { grid-column: 1 / -1; }
.ofield input, .ofield textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--white);
  font: 500 16px/1.3 var(--font); color: var(--text); transition: border-color .2s;
}
.ofield textarea { min-height: 0; resize: vertical; }
.ofield input:focus, .ofield textarea:focus { outline: none; border-color: var(--ink); }
.ofield.is-bad input { border-color: var(--red); background: #FFF6F5; }
.ohint { margin-top: -4px; font-size: 13px; color: var(--text-3); }
.ocheck { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.ocheck input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); }
.ocheck a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
.oconsent { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.oconsent a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ohp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.osum { padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.osum:empty { display: none; }
.osum__wait { color: var(--text-3); font-size: 14.5px; }
.osum__row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 15px; }
.osum__row > :last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.osum__total { margin-top: 6px; padding-top: 10px; border-top: 2px dashed var(--line); align-items: baseline; font-weight: 800; }
.osum__total strong { font: 900 26px/1 "Roboto Flex", sans-serif; font-stretch: 112%; }
.osum__fine { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
.oerr { padding: 12px 14px; border-radius: 10px; background: #FDECEB; color: #8C1C18; font-weight: 600; font-size: 14.5px; }
#oSubmit { white-space: normal; line-height: 1.15; }
#oSubmit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.odone { text-align: center; }
.odone__ic { width: 64px; height: 64px; margin: 6px auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); }
.odone__ic .ic { width: 32px; height: 32px; }
.odone__text { margin-top: 10px; color: var(--text-2); }
.opay { margin: 20px 0 0; padding: 6px 18px; border-radius: 14px; background: #FFF6CC; text-align: start; }
.opay__row { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(14, 14, 12, .08); }
.opay__row:last-child { border-bottom: 0; }
.opay dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
:root[dir="rtl"] .opay dt { text-transform: none; letter-spacing: 0; font-size: 13px; }
.opay dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.opay__copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding-inline: 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.opay__copy .ic { width: 15px; height: 15px; }
.opay__copy.is-done { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.odone__mail { margin-top: 16px; font-weight: 700; }
.odone__after { margin: 6px 0 22px; color: var(--text-2); font-size: 14.5px; }

/* ---------- Reveal + headline words ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .pcard.reveal, .js .lcard.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.js .pcard.reveal.in:hover, .js .lcard.reveal.in:hover { transition-delay: 0s; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .14em; margin-top: -.14em; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w__i { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .1s); }
.split.go .w__i { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wall-up { to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sheet-in { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .split .w__i { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .header__cta { margin-inline-start: auto; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__list { max-width: 640px; }
}

@media (max-width: 960px) {
  .hero__wall { display: none; }
  .hero__in > * { max-width: 700px; }
  .hero__strip { display: block; margin: 36px calc(var(--gutter) * -1) 0; max-width: none; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .strip__track { display: flex; gap: 10px; width: max-content; direction: ltr; animation: marquee 40s linear infinite; }
  .strip__track img { width: 108px; height: 136px; object-fit: cover; border-radius: 10px; filter: saturate(.85) brightness(.85); }

  .sec-head { grid-template-columns: 1fr; }
  .pallets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--feature { grid-template-columns: 1fr; }
  .pcard--feature .media { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .steps::before { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .modal__in, .pmodal .modal__in { grid-template-columns: minmax(0, 1fr); height: auto; overflow-y: auto; overscroll-behavior: contain; }
  .gal__stage { flex: none; height: min(62vh, 620px); }
  .modal__body { overflow: visible; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .langbar__note { display: none; }
  .langbar__in { justify-content: center; min-height: 46px; }
  .langs__ic { display: none; }
  .langs { gap: 3px; }
  .langs button { min-width: 0; height: 34px; padding-inline: 8px; font-size: 13px; }
  .header__in { gap: 12px; }
  .header.is-scrolled .header__in { height: 58px; }
  .logo__word { font-size: 20px; }
  .logo__mark { width: 34px; height: 34px; }
  .hide-md { display: none; }
  .header .js-tel { width: 44px; padding: 0; }

  .display { font-size: clamp(30px, 9.4vw, 44px); }
  :root:not([dir="rtl"]) .display { font-stretch: 112%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .live { font-size: 14px; border-radius: 14px; }
  .stats { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px 20px; margin-top: 36px; }
  .stat__n { font-size: 30px; font-stretch: 115%; }
  .stat__n--word { font-size: 22px; }
  .stat span { font-size: 12.5px; line-height: 1.35; }

  .band__item { font-size: 17px; gap: 18px; padding-inline-end: 18px; }
  .band__track { padding-block: 12px; }

  .h2 { font-size: clamp(28px, 8vw, 38px); }
  :root:not([dir="rtl"]) .h2 { font-stretch: 112%; }
  .pallets { grid-template-columns: 1fr; gap: 16px; }
  .otabs { gap: 8px; }
  .otabs button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .otabs .ic { display: none; }
  .otabs__t b { font-size: 16px; }
  .otabs__t small { font-size: 11.5px; }
  .otabs__n { position: absolute; top: 10px; inset-inline-end: 10px; min-width: 26px; height: 26px; font-size: 12.5px; }
  .otabs button { position: relative; padding-inline-end: 44px; }
  .pcard--feature, .pempty { grid-column: auto; }
  .pempty { min-height: 0; }
  .pempty .btn { width: 100%; }
  .pcard__body { padding: 18px; gap: 12px; }
  .pcard--feature .media { aspect-ratio: 1; }
  .pcard__name { font-size: 21px; }
  .price strong { font-size: 34px; }

  .why { grid-template-columns: 1fr; gap: 10px; }
  .why__item { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; }
  .why__ic { grid-row: span 2; margin: 0; }
  .why__item h3 { margin-bottom: 4px; }

  .lots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lcard__body { padding: 12px; }
  .lcard__name { font-size: 14.5px; }
  .lcard__price { font-size: 18px; }
  .iconbtn { width: 42px; height: 42px; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding-bottom: 28px; }
  .step::before { content: ""; position: absolute; top: 56px; bottom: 0; inset-inline-start: 27px; width: 2px; background: var(--ink-4); }
  .step:last-child::before { display: none; }
  .step__n { width: 56px; height: 56px; font-size: 22px; grid-row: span 2; }
  .step h3 { margin-top: 12px; }

  .contact__title { font-size: clamp(28px, 8.6vw, 48px); }
  :root:not([dir="rtl"]) .contact__title { font-stretch: 108%; }
  .cbig { padding: 14px 16px; gap: 14px; }
  .cbig__ic { width: 46px; height: 46px; }
  .cbig__v { font-size: 17.5px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  .modal { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .modal[open] { animation: sheet-in .45s var(--ease-out); }
  .modal__in, .gmodal__in { max-height: 94dvh; }
  .modal__price strong { font-size: 36px; }
  .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gitem__body { padding: 8px 10px 10px; }
  .gitem__price { font-size: 16.5px; }
  .gmodal__foot { display: grid; grid-template-columns: 62px minmax(0, 1fr); }
  .omodal__in { max-height: 94dvh; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
  .ogrid { grid-template-columns: 1fr; }
  .oline { grid-template-columns: 48px minmax(0, 1fr); }
  .oline__img { width: 48px; height: 48px; }
  .oline__side { grid-column: 1 / -1; justify-content: flex-end; }
  .meter { padding: 14px; }
  .meter__row { grid-template-columns: 1fr; gap: 4px; }
  .cartpill { inset-inline: 16px; justify-content: center; }
  .retail { flex-direction: column; gap: 14px; padding: 20px; }
  .gmodal__foot .btn { width: 100%; }
  .gmodal__mail { padding: 0; }
  .gmodal__mail span { display: none; }
  .gal__stage { height: 46vh; }
  .gal__thumbs { display: none; }
  .gal__nav { width: 40px; height: 40px; margin-top: -20px; }
  .gal__nav--prev { left: 10px; }
  .gal__nav--next { right: 10px; }
  .zoom__nav { width: 42px; height: 42px; margin-top: -21px; }
  .zoom__nav--prev { left: 10px; }
  .zoom__nav--next { right: 10px; }
  .media__count { bottom: 10px; inset-inline-start: 10px; padding: 7px 10px; font-size: 13px; }
  .lcard .media__count { padding: 5px 7px; font-size: 11.5px; gap: 5px; }
  .lcard .media__count .ic { width: 13px; height: 13px; }
  .pmodal .modal__body { padding: 22px 18px calc(28px + env(safe-area-inset-bottom)); }
  .buy { padding: 16px 14px 14px; }
}
