/* Sklep audiolinia w barwach logo "Trójkąt odsłuchu" (2026-10-23): ciemny petrol w nagłówku, banerze i stopce, jasne aluminium w treści,
   bordo i bursztyn jako jedyne akcenty (jak punkt słuchacza w logo). Jeden krój: Archivo w różnych szerokościach.
   Układ bez zmian: pasek informacyjny, nagłówek z wyszukiwarką, menu, baner-slider, kategorie w prawej kolumnie, sekcje strony głównej. */
:root {
  color-scheme: light;
  --bg: #ECECE8;
  --surface: #F9F9F6;
  --ink: #141617;
  --text: #45494A;
  --muted: #5B605E;
  --line: #DCDDD7;
  --deck: #11272A;
  --deck-2: #0C1B1D;
  --deck-3: #173236;
  --deck-line: rgba(238, 240, 236, .09);
  --ivory: #EEF0EC;
  --on-deck: #B7C5C3;
  --on-deck-soft: #8FA6A4;
  --wine: #7A2E34;
  --wine-deep: #4F1D22;
  --amber: #E0B067;
  --amber-hover: #EBC17E;
  --teal: #2C5B60;
  --font: Archivo, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ring: 0 0 0 1px rgba(20, 22, 23, .10);
  --lift: 0 0 0 1px rgba(20, 22, 23, .10), 0 1px 2px rgba(20, 22, 23, .04), 0 10px 26px -10px rgba(20, 22, 23, .16);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 20px; }

/* logo: znak + napis (partials/logo.blade.php); kropka sluchacza bursztynowa na ciemnym tle */
.wm { --dot: var(--amber); display: inline-flex; align-items: center; gap: .3em; color: var(--ivory); font-size: 30px; line-height: 1; white-space: nowrap; }
.wm__znak { width: 1.18em; height: 1.18em; margin-top: -.06em; flex: none; }
.wm__napis { font-weight: 500; font-variation-settings: "wdth" 90; letter-spacing: -.045em; }

/* przyciski: pigulka, nacisk scale(.97) */
.btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--amber); color: var(--ink); font: 500 15px var(--font); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.btn:active { transform: scale(.97); }

/* pasek gorny */
.topbar { background: var(--deck-2); color: var(--on-deck-soft); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 8px; align-items: center; }
.topbar .sp { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.topbar b { color: var(--amber); font-weight: 400; }
.topbar a { transition: color 200ms ease; }

/* naglowek */
.head { background: var(--deck); color: var(--ivory); box-shadow: inset 0 1px 0 var(--deck-line); }
.head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 18px; }
.logo { display: inline-flex; border-radius: 6px; }
.find { flex: 1 1 320px; display: flex; min-width: 0; height: 46px; padding: 4px; border-radius: 999px; background: rgba(238, 240, 236, .06); box-shadow: inset 0 0 0 1px var(--deck-line); }
.find:focus-within { box-shadow: inset 0 0 0 1px rgba(224, 176, 103, .6); }
.find select { flex: none; max-width: 190px; border: 0; border-radius: 999px; background: rgba(238, 240, 236, .08); padding: 0 14px; font: 400 14px var(--font); color: var(--ivory); cursor: pointer; }
.find select option { color: var(--ink); }
.find input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: 400 15px var(--font); color: var(--ivory); outline: none; }
.find input::placeholder { color: var(--on-deck-soft); }
.find button { border: 0; border-radius: 999px; background: var(--amber); color: var(--ink); padding: 0 20px; font: 600 12px var(--font); letter-spacing: .14em; font-variation-settings: "wdth" 115; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.find button:active { transform: scale(.97); }
.acts { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.acts a { color: var(--on-deck); transition: color 200ms ease; }

/* menu glowne */
.menu { background: var(--deck-3); box-shadow: inset 0 1px 0 var(--deck-line); }
.menu .wrap { display: flex; flex-wrap: wrap; gap: 0 28px; }
.menu a { position: relative; color: var(--on-deck); font-size: 13px; font-weight: 500; letter-spacing: .1em; font-variation-settings: "wdth" 112; padding: 13px 0; transition: color 200ms ease; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transition: transform 240ms var(--ease-out); }
.menu a.on { color: var(--ivory); }
.menu a.on::after { transform: scaleX(1); }
.menu a.menu__right { margin-left: auto; color: var(--amber); }

/* uklad: tresc + kategorie po prawej */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; padding-block: 28px 64px; align-items: start; }
main { min-width: 0; }

/* kolumna kategorii */
.side { order: 2; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--lift); }
.side h2 { margin: 0; display: flex; align-items: center; gap: 10px; background: var(--deck); color: var(--ivory); font-size: 13px; font-weight: 500; letter-spacing: .16em; font-variation-settings: "wdth" 115; text-transform: uppercase; padding: 16px 20px; }
.side h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.side ul { list-style: none; margin: 0; padding: 6px 0; }
.side li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; font-size: 15px; color: var(--text); transition: background-color 200ms ease, color 200ms ease; }
.side li a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); opacity: 0; transform: scale(.6); transition: opacity 200ms ease, transform 200ms var(--ease-out); flex: none; }
.side li.on a { color: var(--ink); font-weight: 500; background: var(--bg); }
.side li.on a::after { opacity: 1; transform: none; }
.side .help { padding: 20px; background: linear-gradient(140deg, var(--wine), var(--wine-deep)); color: rgba(238, 240, 236, .85); font-size: 14px; line-height: 1.55; }
.side .help b { display: block; color: #FFF8EC; font-size: 19px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 4px; }
.side .help a { color: var(--amber); box-shadow: 0 1px 0 rgba(224, 176, 103, .6); }

/* baner-slider: pierwszy slajd (trojkat odsluchu) + slajdy z panelu (max 5) nalozone na siebie, przenikanie co 5 s */
.hero { position: relative; display: grid; background: var(--deck); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(12, 27, 29, .6); }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.banner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 320px; color: var(--ivory); background: radial-gradient(circle at 78% 55%, rgba(224, 176, 103, .14), transparent 45%), linear-gradient(150deg, var(--deck-3), var(--deck) 45%, var(--deck-2)); }
.banner__txt { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .18em; font-variation-settings: "wdth" 115; color: var(--amber); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(224, 176, 103, .8); }
.banner h1 { margin: 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; font-variation-settings: "wdth" 88; }
.banner h1 i { font-style: normal; color: var(--amber); }
.banner p { margin: 0; color: var(--on-deck); line-height: 1.6; max-width: 46ch; }
.banner__art { display: grid; place-items: center; padding: 20px; }
.banner__art svg { width: 100%; max-width: 440px; height: auto; }
.banner .tri { animation: tri 1.6s linear infinite; }
.banner .fala { opacity: .15; animation: fala 2.4s linear infinite; }
.banner .fala--2 { animation-delay: .4s; }
.banner .fala--3 { animation-delay: .8s; }
@keyframes tri { to { stroke-dashoffset: -16; } }
@keyframes fala { 0%, 100% { opacity: .12; } 30% { opacity: .9; } 60% { opacity: .12; } }
.hero__slide--img { position: relative; min-height: 320px; display: flex; align-items: center; }
.hero__slide--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__txt { position: relative; display: flex; flex-direction: column; gap: 14px; align-self: stretch; justify-content: center; padding: 44px; max-width: 50%; background: linear-gradient(90deg, rgba(12, 27, 29, .78), rgba(12, 27, 29, 0)); color: var(--ivory); }
.hero__txt h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; font-variation-settings: "wdth" 88; }
.hero__txt p { margin: 0; color: var(--on-deck); line-height: 1.6; max-width: 46ch; }
.hero__dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(238, 240, 236, .35); cursor: pointer; transition: width 300ms var(--ease-out), background-color 300ms ease; }
.hero__dots button[aria-current="true"] { width: 24px; background: var(--amber); }

/* pasek zalet: prawdziwa kolejnosc pracy, wiec numery */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; }
.perks div { position: relative; padding: 18px 18px 18px 62px; background: var(--surface); border-radius: 16px; box-shadow: var(--ring); font-size: 14px; color: var(--text); line-height: 1.45; }
.perks b { display: block; font-weight: 500; color: var(--ink); font-size: 15px; }
.perks__n { position: absolute; left: 18px; top: 16px; font-size: 26px; font-weight: 300; letter-spacing: -.04em; font-variation-settings: "wdth" 80; color: var(--wine); line-height: 1; font-variant-numeric: tabular-nums; }

/* sekcje */
.sec { margin-top: 48px; }
.sec--pierwsza { margin-top: 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 12px; margin-bottom: 20px; box-shadow: 0 1px 0 var(--line); }
.sec__head h2 { margin: 0; display: inline-flex; align-items: baseline; gap: 10px; font-size: 28px; font-weight: 300; letter-spacing: -.03em; font-variation-settings: "wdth" 88; }
.sec__head h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); align-self: center; flex: none; }
.sec__head a { margin-left: auto; color: var(--wine); font-size: 14px; font-weight: 500; }
.soon { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 3px 10px; align-self: center; }

/* kafle "od czego zaczac" */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 20px 18px 16px; border-radius: 18px; color: var(--ivory); background: var(--deck); transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
.tile svg { width: 44px; height: 44px; color: var(--amber); margin-bottom: auto; }
.tile b { font-weight: 400; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; margin-top: 14px; }
.tile span { font-size: 12px; letter-spacing: .1em; color: rgba(238, 240, 236, .65); transition: color 200ms ease; }
.tile:active { transform: scale(.98); }
.tile--petrol { background: linear-gradient(150deg, var(--deck-3), var(--deck) 60%, var(--deck-2)); }
.tile--teal { background: linear-gradient(150deg, #36696E, var(--teal) 60%, #1D4144); }
.tile--wine { background: linear-gradient(150deg, #8F3A41, var(--wine) 60%, var(--wine-deep)); }
.tile--ink { background: linear-gradient(150deg, #2B2F31, #1D2022 60%, var(--ink)); }
.tile--amber { background: linear-gradient(150deg, #EBC17E, var(--amber) 60%, #C99A50); color: var(--ink); }
.tile--amber svg { color: var(--ink); }
.tile--amber span { color: rgba(20, 22, 23, .65); }

/* produkty */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.p { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--ring); transition: box-shadow 240ms ease, transform 240ms var(--ease-out); }
.p__photo { position: relative; aspect-ratio: 1 / .82; max-width: 100%; background: linear-gradient(#F1F1EE, #E6E7E2); display: grid; place-items: center; }
.p__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.p__brand { font-size: 12px; font-weight: 500; letter-spacing: .14em; font-variation-settings: "wdth" 112; color: var(--muted); text-transform: uppercase; }
.p__name { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.3; }
.p__price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.p__price strong { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.p__row { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 8px; }
.add { flex: 1; display: block; text-align: center; padding: 11px 0; border-radius: 999px; background: var(--deck); color: var(--ivory); font: 500 13px var(--font); letter-spacing: .08em; font-variation-settings: "wdth" 112; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.add:active { transform: scale(.97); }

/* puste stany */
.empty { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 40px 36px; border-radius: 22px; }
.empty h3 { margin: 0 0 6px; font-size: 28px; font-weight: 300; letter-spacing: -.03em; font-variation-settings: "wdth" 88; }
.empty p { margin: 0; line-height: 1.6; max-width: 56ch; }
.empty .btn { margin-left: auto; align-self: center; }
.empty--wine { background: radial-gradient(circle at 90% 20%, rgba(224, 176, 103, .22), transparent 45%), linear-gradient(120deg, var(--wine-deep), var(--wine)); color: #F4EDE0; }
.empty--wine h3 { color: #FFF8EC; }
.empty--wine p { color: rgba(244, 237, 224, .82); }
.empty--dark { background: radial-gradient(circle at 10% 50%, rgba(224, 176, 103, .14), transparent 35%), linear-gradient(150deg, var(--deck), var(--deck-2)); color: var(--ivory); }
.empty--dark p { color: var(--on-deck); }
.empty--dark .soon { margin-left: auto; color: var(--amber); box-shadow: inset 0 0 0 1px rgba(224, 176, 103, .5); }
.play { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); box-shadow: 0 0 0 8px rgba(224, 176, 103, .1); }
.play::before { content: ""; margin-left: 4px; border-left: 15px solid var(--ink); border-block: 9px solid transparent; }

/* baza wiedzy: kolorowa kropka dzialu */
.kb { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.kb__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--surface); border-radius: 16px; box-shadow: var(--ring); }
.kb__item small { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .12em; font-variation-settings: "wdth" 112; text-transform: uppercase; color: var(--muted); }
.kb__item small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--wine)); }
.kb__item b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.kb__item span { font-size: 14px; color: var(--text); line-height: 1.5; }
.kb__item:nth-child(6n+2) { --c: var(--teal); }
.kb__item:nth-child(6n+3) { --c: var(--amber); }
.kb__item:nth-child(6n+4) { --c: var(--deck); }
.kb__item:nth-child(6n+5) { --c: #B5602F; }
.kb__item:nth-child(6n+6) { --c: var(--muted); }

/* producenci */
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands a { padding: 9px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); font-size: 15px; font-weight: 500; letter-spacing: .06em; font-variation-settings: "wdth" 80; text-transform: uppercase; color: var(--ink); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }

/* stopka */
.foot { background: var(--deck-2); color: var(--on-deck-soft); font-size: 14px; }
.foot .wrap { padding-block: 44px 24px; }
.cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .18em; font-variation-settings: "wdth" 115; color: var(--ivory); }
.foot p { margin: 0; line-height: 1.9; }
.foot a { transition: color 200ms ease; }
.foot .w { display: block; margin-bottom: 14px; }
.foot .note { margin-top: 28px; padding-top: 16px; box-shadow: 0 -1px 0 var(--deck-line); font-size: 13px; }

/* strona produktu i kategorii */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--wine); }
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 28px; background: var(--surface); border-radius: 22px; box-shadow: var(--ring); }
.pp__photo { aspect-ratio: 1 / 1; max-width: 100%; border-radius: 14px; overflow: hidden; background: linear-gradient(#F1F1EE, #E6E7E2); }
.pp__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pp__info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pp__info h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; font-variation-settings: "wdth" 88; }
.pp__lead { margin: 0; color: var(--text); line-height: 1.6; }
.pp__price { font-size: 26px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pp__note { margin: 0; font-size: 13px; color: var(--muted); }
.pp__desc { max-width: 75ch; padding: 24px 28px; background: var(--surface); border-radius: 18px; box-shadow: var(--ring); line-height: 1.7; color: var(--text); }

/* najechanie tylko tam, gdzie jest mysz */
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .find button:hover { background: var(--amber-hover); }
  .topbar a:hover, .acts a:hover, .foot a:hover { color: var(--ivory); }
  .menu a:hover { color: var(--ivory); }
  .menu a:hover::after { transform: scaleX(1); }
  .side li a:hover { background: var(--bg); color: var(--ink); }
  .side li a:hover::after { opacity: 1; transform: none; }
  .tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(12, 27, 29, .45); }
  .tile:hover span { color: var(--amber); }
  .tile--amber:hover span { color: var(--ink); }
  .p:hover { box-shadow: var(--lift); transform: translateY(-2px); }
  .add:hover { background: var(--amber); color: var(--ink); }
  .brands a:hover { background: var(--deck); color: var(--amber); box-shadow: none; }
}

@media (max-width: 960px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .side { order: 0; }
  .find select { max-width: 130px; }
  .banner { grid-template-columns: minmax(0, 1fr); }
  .banner__art { min-height: 200px; padding-top: 0; }
  .banner__txt { padding: 32px 24px; }
  .hero__txt { max-width: none; padding: 32px 24px 48px; }
  .hero__dots { left: 24px; }
  .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) { .pp { grid-template-columns: minmax(0, 1fr); padding: 18px; } }
@media (max-width: 520px) {
  .wrap { padding-inline: 16px; }
  .wm { font-size: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { min-height: 132px; padding: 16px 14px 14px; }
  .p__body { padding: 10px; }
  .p__name { font-size: 14px; }
  .p__price strong { font-size: 18px; }
  .acts { display: none; }
  .cols { grid-template-columns: 1fr; }
  .empty { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .banner .tri, .banner .fala { animation: none; }
  .banner .fala { opacity: .5; }
  .tile, .p, .btn, .add, .find button, .menu a::after { transition: none; }
}
