/* offers.kamai.pl: the page for anyone who opens the links host without a valid offer link (App\Quotes\OffersSite).
   Look and copy of kamai.pl (Dev/sites/kamai-pl: tokens.css, ng.css, Buyers, Clients, PromoBand); no forms, no assistant,
   links open in the same tab. Plain files in public/offers-site: Hostinger's web server answers css, js, fonts and images
   itself, before .htaccess and PHP, so they have to exist on disk (a Laravel route under /assets/ never got them).
   Languages as on kamai.pl (lang/<locale>/offers-site.php); zh uses the system CJK fonts (Forum and DM Sans have none). */

@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url('fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url('fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Forum'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/forum-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Forum'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/forum-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #111111; --ink-2: #2b2b2b; --body: #3f3f3f; --muted: #6b6b6b; --line: #e2e2e0; --line-strong: #c9c9c5;
  --soft: #f2f2ef; --soft-2: #e9e9e5; --white: #ffffff; --on-ink: #ffffff; --on-ink-muted: #b9b9b4;
  --esd: #2f3c94; --esd-hover: #283383;
  --sans: 'DM Sans', system-ui, sans-serif; --serif: 'Forum', Georgia, serif;
  --t-title: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem); --t-subtitle: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem);
  --t-small: 0.875rem; --t-label: 0.8125rem;
  --gutter: clamp(1rem, 0.5rem + 2.6vw, 3rem); --container: 80rem;
  --sec: clamp(4rem, 7vw, 7rem); --head: clamp(2.25rem, 4vw, 3.25rem); --r-panel: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --dur: 180ms;
}
:lang(zh) { --sans: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', system-ui, sans-serif;
  --serif: 'Forum', 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'PingFang SC', 'Microsoft YaHei', serif; letter-spacing: 0; }
:lang(zh) .title, :lang(zh) .promo__title { max-width: 16em; } /* ch is the width of "0": far too narrow for CJK */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--white); color: var(--body); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: var(--t-label); color: var(--muted); }
.title { font-family: var(--serif); font-weight: 400; font-size: var(--t-title); line-height: 1.14; letter-spacing: -0.006em; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.sec { padding-block: var(--sec); }
.sec + .sec { padding-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.top__logo img { height: 28px; width: auto; }
.top__side { display: flex; align-items: center; gap: 1rem; }
/* phone and "Kontakt" as in the header of kamai.pl: the number from 40rem, below it a phone icon; the button is .btn--s */
.top__phone { display: none; font-size: var(--t-small); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.top__phone:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.top__call { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--ink); }
.top__call svg { width: 20px; height: 20px; }
.top__call:hover { background: var(--soft); }
.top__cta { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: var(--white); font-size: var(--t-small); font-weight: 500; letter-spacing: 0.005em; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color var(--dur) var(--ease); }
.top__cta:hover { background: var(--ink-2); }
.top__phone:focus-visible, .top__call:focus-visible, .top__cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (min-width: 40rem) { .top__phone { display: inline; } .top__call { display: none; } }
@media (max-width: 26rem) { .top__side { gap: 0.4rem; } }

/* language menu, as LangSwitch on kamai.pl (flag + code, panel with flag + native name); a <details>, so it works without
   JS, site.js closes it on a click outside and on Esc. Each row is ?lang=xx on the same address. The panel is centred under
   the trigger (lang--center on kamai.pl); no currency here. */
.lang { position: relative; }
.lang__trigger { display: inline-flex; align-items: center; gap: 0.4rem; height: 2.5rem; padding: 0 0.7rem; border-radius: 999px; font-size: var(--t-small); font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; transition: background-color var(--dur) var(--ease); }
.lang__trigger::-webkit-details-marker { display: none; }
.lang__trigger:hover, .lang[open] > .lang__trigger { background: var(--soft); }
.lang__trigger:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang__flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); object-fit: cover; flex: none; }
.lang__chev { width: 14px; height: 14px; color: var(--muted); transition: transform var(--dur) var(--ease); }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__panel { position: absolute; top: calc(100% + 0.6rem); left: 50%; margin-left: -7.5rem; z-index: 60; width: 15rem; padding: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
@media (max-width: 22rem) { .lang__panel { left: 0; margin-left: 0; } }
.lang__head { padding: 0.5rem 0.85rem 0.6rem; margin-bottom: 0.25rem; border-bottom: 1px solid var(--line); font-size: var(--t-label); color: var(--muted); }
.lang__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; padding: 0.6rem 0.85rem; border-radius: 10px; font-size: var(--t-small); font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color var(--dur) var(--ease); }
.lang__row:hover, .lang__row[aria-current] { background: var(--soft); }
.lang__row:focus-visible { outline: none; background: var(--soft); box-shadow: inset 0 0 0 2px var(--ink); }
.lang__code { font-size: var(--t-label); color: var(--muted); font-variant-numeric: tabular-nums; }

/* a link that did not work */
.notice { margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 16px; background: var(--soft); display: grid; gap: 0.35rem; }
.notice__main { font-family: var(--serif); font-size: var(--t-subtitle); line-height: 1.2; color: var(--ink); }
.notice__ask { font-size: var(--t-small); color: var(--body); }
.notice__contact { margin-top: 0.5rem; font-size: var(--t-small); color: var(--ink); }

/* Hurtownia, dropshipping i dostawy w UE: three cards, the whole card is a link */
.cards { margin-top: var(--head); display: grid; gap: 1.25rem; }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); border-radius: var(--r-panel); background: var(--soft); color: var(--ink); text-decoration: none; transition: background-color var(--dur) var(--ease); }
.card:hover { background: var(--soft-2); }
.card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.card--esd { background: var(--esd); color: var(--on-ink); }
.card--esd:hover { background: var(--esd-hover); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; min-height: 3.25rem; }
.card__logo--kamai { height: 4.25rem; width: auto; margin: -0.6rem 0 -0.4rem -0.55rem; }
.card__logo--dropcom { height: 2.25rem; width: auto; margin-top: 0.4rem; }
.card__logo--esd { height: 3.25rem; width: auto; }
.card__eds { max-width: 14rem; font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.card__go { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: transform var(--dur) var(--ease); }
.card__go svg { width: 18px; height: 18px; }
.card--esd .card__go { background: transparent; border-color: rgb(255 255 255 / 0.4); color: var(--on-ink); }
.card:hover .card__go { transform: translate(3px, -3px); }
.card__body { display: grid; justify-items: start; gap: 0.5rem; }
.card__kind { font-size: var(--t-label); color: var(--muted); }
.card__name { font-family: var(--serif); font-size: var(--t-subtitle); line-height: 1.2; margin-bottom: 0.25rem; }
.card__text { color: var(--body); max-width: 34ch; text-wrap: pretty; }
.card__link { margin-top: 0.75rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: var(--line-strong); }
.card:hover .card__link { text-decoration-color: currentColor; }
.card--esd .card__kind { color: rgb(255 255 255 / 0.72); }
.card--esd .card__text { color: rgb(255 255 255 / 0.88); }
.card--esd .card__link { text-decoration-color: rgb(255 255 255 / 0.45); }

.ask { margin-top: 2rem; display: grid; justify-items: center; gap: 1rem; text-align: center; }
.ask__q { font-size: 1.125rem; font-weight: 500; color: var(--ink); text-wrap: balance; }
.who { display: flex; align-items: center; gap: 0.75rem; text-align: left; font-size: var(--t-small); line-height: 1.4; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.who__name { color: var(--ink); font-weight: 500; }
.who__role, .who__mail { color: var(--muted); }
.who__mail a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: var(--line-strong); }

/* Poznaj nasze marki własne */
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding: 1.25rem clamp(1.25rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--line); border-radius: 16px; }
.brands__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.brands__list { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.brands__list a { display: block; padding: 0.35rem; border-radius: 8px; transition: opacity var(--dur) var(--ease); }
.brands__list a:hover { opacity: 0.7; }
.brands__list a:focus-visible { outline: 2px solid var(--ink); }
.brands__list img { height: 1.75rem; width: auto; }
.brands__list .brands__tall { height: 2.25rem; }

/* Pracujemy z firmami i systemami, które znasz: two rows of logo tiles moving slowly in opposite directions */
.band { margin-top: var(--head); }
.band__row + .band__row { margin-top: 1.5rem; }
.band__label { margin-bottom: 1rem; }
.band__viewport { overflow: hidden; padding-block: 0.75rem 1.5rem; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.band__track { display: flex; width: max-content; }
.band__half { display: flex; gap: 1rem; padding-right: 1rem; }
.band__tile { flex: none; display: grid; place-items: center; height: 5.5rem; min-width: 10.5rem; padding-inline: 2rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(17 17 17 / 0.05), 0 10px 24px -14px rgb(17 17 17 / 0.18); }
.band__tile img { height: calc(1.75rem * var(--k, 1)); width: auto; }
@media (prefers-reduced-motion: no-preference) {
  .band__track { animation: band-mq var(--dur-band, 60s) linear infinite; }
  .band__row--rev .band__track { animation-direction: reverse; }
  .band__viewport:hover .band__track { animation-play-state: paused; }
}
@keyframes band-mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band__viewport { mask-image: none; }
  .band__track { width: auto; }
  .band__half { flex-wrap: wrap; padding-right: 0; }
  .band__half[aria-hidden] { display: none; }
}

/* Oferta specjalna dla producentów */
.promo { display: grid; gap: 2.5rem; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: var(--r-panel); background: var(--ink); color: var(--on-ink); }
.promo .label { color: var(--on-ink-muted); }
.promo__title { margin-top: 1rem; font-family: var(--serif); font-weight: 400; font-size: var(--t-title); line-height: 1.14; color: var(--on-ink); max-width: 20ch; text-wrap: balance; }
.promo__text { margin-top: 1.25rem; max-width: 46ch; color: var(--on-ink-muted); }
.promo__price { margin-block: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
.promo__price s { color: var(--on-ink-muted); }
.promo__amount { font-family: var(--serif); font-size: var(--t-title); line-height: 1; }
.promo__net { color: var(--on-ink-muted); font-size: var(--t-small); }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0.75rem 1.5rem; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 500; font-size: 0.9375rem; text-decoration: none; transition: background-color var(--dur) var(--ease); }
.btn:hover { background: var(--soft-2); }
.btn:focus-visible { outline: 2px solid var(--on-ink); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; }
.promo__note { margin-top: 0.5rem; color: var(--on-ink-muted); font-size: var(--t-small); }
.promo__clock { font-family: var(--serif); font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.slots { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.slots__num { font-family: var(--serif); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slots__num b { font-weight: 400; font-size: 3rem; }
.slots__num span { font-size: 1.25rem; opacity: 0.55; }
.slots__main { display: grid; gap: 0.5rem; min-width: 0; }
.slots__text { font-size: var(--t-small); line-height: 1.35; }
.slots__text strong { font-weight: 600; }
.slots__text span { opacity: 0.65; }
.slots__track { position: relative; display: block; height: 0.625rem; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 0.16); }
.slots__track::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), var(--ink) calc(10% - 2px) 10%); }
.slots__fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: currentColor; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 2rem; font-size: var(--t-small); color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

@media (min-width: 56rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { min-height: 24rem; }
  .ask { grid-auto-flow: column; justify-content: center; align-items: center; column-gap: 2rem; }
}
@media (min-width: 64rem) {
  .promo { grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(3rem, 6vw, 6rem); }
}
@media (max-width: 47.99rem) {
  .band__tile { height: 4.25rem; min-width: 8rem; padding-inline: 1.5rem; border-radius: 12px; }
  .band__tile img { height: calc(1.4rem * var(--k, 1)); }
  .band__half { gap: 0.75rem; padding-right: 0.75rem; }
  .brands__list { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 1rem 1.5rem; }
  .brands__list img { height: 1.4rem; }
  .brands__list .brands__tall { height: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card__go, .btn, .top__cta, .brands__list a, .lang__trigger, .lang__chev, .lang__row { transition: none; }
  .card:hover .card__go { transform: none; }
}
