/* 10.10.2026 (sesja TEL1) PRÓBA STRONY SKLEPU: ?sh=1 „Jak Rates” i ?sh=2 „Zdjęcie w tle”. Ładowane tylko z parametrem (inc/shop-proba-sh.php).
   Laptop i angielski; telefon i niemiecki po wyborze Oli. Karty produktów bez zmian: są w woo.css (wzór: pakiety na Rates).
   Bez nowych kolorów i czcionek: Caslon z nagłówków sekcji, Work Sans, mięta, żółć promocji, szkło kart. */

html body.sh{overflow-x:clip}
html body.sh main.site-main{padding-top:0}
html body.sh .woocommerce-products-header{position:relative;isolation:isolate;margin:0}
body.sh .sh-lead{margin:0;font:200 20px/1.6 var(--ui);color:rgba(255,255,255,.86);max-width:46ch;text-wrap:pretty}
body.sh .sh-pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
body.sh .sh-pills :is(a,button){display:inline-flex;align-items:center;min-height:46px;padding:0 22px;border:1px solid rgba(255,255,255,.3);border-radius:999px;
  background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#fff;font:500 13px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;cursor:pointer;
  transition:background-color .25s,border-color .25s,color .25s}
body.sh .sh-pills [aria-pressed="true"]{background:var(--mint);border-color:var(--mint);color:#04110d}
body.sh .sh-pills :is(a,button):focus-visible{outline:2px solid var(--mint);outline-offset:3px}
@media (hover:hover) and (pointer:fine){body.sh .sh-pills :is(a,button):not([aria-pressed="true"]):hover{border-color:var(--mint);background:rgba(125,211,192,.14)}}

/* ===================== 1. „JAK RATES”: zdjęcie u góry, trzy działy ===================== */
html body.sh-1 .woocommerce-products-header{display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(480px,66vh,640px);padding:190px 0 72px;margin-bottom:64px}
html body.sh-1 .woocommerce-products-header::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;
  background:linear-gradient(180deg,rgba(3,8,14,.5) 0%,rgba(3,8,14,.18) 36%,rgba(3,8,14,.74) 80%,#03080e 100%),
    linear-gradient(90deg,rgba(3,8,14,.66),rgba(3,8,14,0) 56%), /* ciemniej po stronie tytułu */
    var(--shimg,url(../img/rates-hero-comino.webp)) center 42%/cover no-repeat}
html body.sh-1 .woocommerce-products-header__title{margin:0 0 18px;text-shadow:0 2px 34px rgba(2,8,14,.85),0 1px 4px rgba(2,8,14,.55)}
body.sh-1 .sh-lead{text-shadow:0 1px 20px rgba(2,8,14,.75)}
body.sh-1 ul.products{margin-top:0}
body.sh-1 ul.products li.sh-chapter{grid-column:1/-1;display:flex;align-items:center;gap:28px;margin:56px 0 8px;scroll-margin-top:120px}
body.sh-1 ul.products li.sh-chapter:first-child{margin-top:0}
body.sh-1 ul.products li.sh-chapter h2{margin:0;font:400 clamp(36px,3.5vw,50px)/1.05 'Libre Caslon Display',Georgia,serif;letter-spacing:-.012em;color:#fff}
body.sh-1 ul.products li.sh-chapter::after{content:"";flex:1 1 auto;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.3),rgba(255,255,255,0))}

/* ===================== 2. „ZDJĘCIE W TLE”: cała strona nad podwodnym zdjęciem ===================== */
html body.sh-2::before{content:"";position:fixed;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(3,8,14,.5) 0%,rgba(3,8,14,.72) 46%,rgba(3,8,14,.9) 100%),var(--shimg,url(../img/rates-packs-shoal.webp)) center/cover no-repeat} /* 12:42 Ola: zdjęcie główne z Home tylko na Home */
html body.sh-2,html body.sh-2 main.site-main{background:none} /* main ma własne ciemne tło i zasłaniał zdjęcie */
html body.sh-2 .woocommerce-products-header{padding:220px 0 64px;text-align:center}
html body.sh-2 .woocommerce-products-header__title{margin:0 0 20px;font:400 clamp(72px,8.5vw,96px)/.95 'Libre Caslon Display',Georgia,serif;letter-spacing:-.02em;text-shadow:0 2px 40px rgba(2,8,14,.7)}
body.sh-2 .sh-lead{margin-inline:auto}
body.sh-2 .sh-pills{justify-content:center}
body.sh-2 ul.products{margin-top:0}
/* szkło: zdjęcie w tle prześwituje przez kartę */
body.sh-2.woocommerce ul.products li.product{background:linear-gradient(155deg,rgba(14,30,40,.52),rgba(5,13,19,.44) 60%,rgba(125,211,192,.07));
  -webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25)}
body.sh-2 ul.products[data-sg="packs"] li.product:not(.sg-packs),
body.sh-2 ul.products[data-sg="courses"] li.product:not(.sg-courses),
body.sh-2 ul.products[data-sg="spec"] li.product:not(.sg-spec){display:none}

/* ===================== 10.10, 12:45: „ma zachwycać” (web-design-engineer), obie wersje ===================== */
/* tytuł jak h1 na Rates: cienki, ciasny (w sklepie był gruby 400) */
html body.sh-1 .woocommerce-products-header__title{font-weight:200;letter-spacing:-.03em}
/* promocja wyróżniona ramką w kolorze promocji (ta sama żółć co cena i plakietka) */
body:is(.sh,.shc).woocommerce ul.products li.product.sale::before{
  background:linear-gradient(135deg,rgba(212,240,45,.9),rgba(212,240,45,.1) 40%,rgba(125,211,192,.2) 72%,rgba(212,240,45,.55))}
/* najechanie myszą: zdjęcie powoli podpływa i jaśnieje, karta się unosi, przycisk wypełnia się miętą */
body:is(.sh,.shc).woocommerce ul.products li.product a img{transition:scale 1.4s cubic-bezier(.16,1,.3,1),filter .8s ease}
@media (hover:hover) and (pointer:fine){
  body:is(.sh,.shc).woocommerce ul.products li.product:hover a img{scale:1.06;filter:brightness(.82) saturate(1)}
  body:is(.sh,.shc).woocommerce ul.products li.product:hover .button{background:var(--mint);border-color:var(--mint);color:#04110d}
}
/* jedno wejście strony: tytuł, zdanie i pastylki wynurzają się po kolei (bez ruchu, gdy gość go nie chce) */
@media (prefers-reduced-motion:no-preference){
  body.sh .woocommerce-products-header > *{animation:sh-in 1s cubic-bezier(.16,1,.3,1) both}
  body.sh .woocommerce-products-header > :nth-child(2){animation-delay:.1s}
  body.sh .woocommerce-products-header > :nth-child(3){animation-delay:.2s}
  @keyframes sh-in{from{opacity:0;translate:0 20px;filter:blur(8px)}}
}
@media (prefers-reduced-motion:reduce){body:is(.sh,.shc).woocommerce ul.products li.product a img{transition:none}}

/* ===================== zdjęcie do wyboru (?shi=): tylko zdjęcia, które NIE są zdjęciem głównym żadnej strony (Ola, 10.10) ===================== */
body.shi-2{--shimg:url(../img/rates-packs-shoal.webp)}
body.shi-3{--shimg:url(../img/rates-packs-fish.webp)}

/* ===================== KARTA 1 „PLAKAT” (?shc=1): całe zdjęcie jest kartą, napisy na dole na ciemnym przejściu ===================== */
body.shc-1.woocommerce ul.products li.product{padding:0 0 28px;min-height:470px;justify-content:flex-end;background:#050d13;-webkit-backdrop-filter:none;backdrop-filter:none}
body.shc-1.woocommerce ul.products li.product a img{height:100%;-webkit-mask-image:none;mask-image:none;filter:brightness(.84) saturate(.9)}
body.shc-1.woocommerce ul.products li.product::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(3,8,14,.12) 0%,rgba(3,8,14,0) 30%,rgba(3,8,14,.62) 62%,rgba(3,8,14,.94) 100%)}
body.shc-1.woocommerce ul.products li.product .woocommerce-loop-product__link{flex:0 0 auto;padding:0 28px}
body.shc-1.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:30px;line-height:1.08;margin-bottom:6px}
body.shc-1.woocommerce ul.products li.product .price{font-size:44px;margin:8px 0 20px}
body.shc-1.woocommerce ul.products li.product .button{margin:0 28px;background:rgba(3,8,14,.38)}
@media (hover:hover) and (pointer:fine){body.shc-1.woocommerce ul.products li.product:hover a img{filter:brightness(.96) saturate(1)}}

/* ===================== KARTA 2 „CENNIK” (?shc=2): produkty jako wiersze: zdjęcie, nazwa, cena, przycisk na wspólnych krawędziach ===================== */
body.shr.woocommerce ul.products{grid-template-columns:minmax(0,1fr);gap:0}
body.shr.woocommerce ul.products li.product{display:grid;grid-template-rows:1fr auto auto 1fr;grid-template-columns:148px minmax(0,1fr) 210px 210px; /* stała kolumna ceny: wspólna prawa krawędź we wszystkich wierszach */align-items:center;gap:0 36px;
  padding:22px 0;border-radius:0;overflow:visible;background:none;box-shadow:none;border-bottom:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:none;backdrop-filter:none;transition:background-color .3s}
body.shr.woocommerce ul.products li.product::before{display:none}
body.shr.woocommerce ul.products li.product .woocommerce-loop-product__link{display:contents}
body.shr.woocommerce ul.products li.product a img{position:static;z-index:auto;grid-column:1;grid-row:1/-1;width:148px;height:104px;border-radius:12px;
  -webkit-mask-image:none;mask-image:none;filter:brightness(.92) saturate(.9);transition:filter .5s ease}
body.shr.woocommerce ul.products li.product .woocommerce-loop-product__title{grid-column:2;grid-row:2;font-size:30px;margin:0}
body.shr.woocommerce ul.products li.product .onsale{position:static;grid-column:2;grid-row:3;justify-self:start;margin-top:10px}
body.shr.woocommerce ul.products li.product .price{grid-column:3;grid-row:1/-1;margin:0;text-align:right;font-size:40px;font-variant-numeric:tabular-nums}
body.shr.woocommerce ul.products li.product .button{grid-column:4;grid-row:1/-1;margin:0}
@media (hover:hover) and (pointer:fine){
  body.shr.woocommerce ul.products li.product:hover{transform:none}
  body.shr.woocommerce ul.products li.product:hover a img{scale:none;filter:brightness(1.05) saturate(1)}
  body.shr.woocommerce ul.products li.product:hover .woocommerce-loop-product__title{color:var(--mint)}
}
body.shr.woocommerce ul.products li.product .woocommerce-loop-product__title{transition:color .3s}

/* ===================== ODMIANY KARTY PAKIETU (Ola 12:46: „trzy kolejne opcje wyglądu pakietów w tym wyglądzie”) ===================== */
/* 3 „wyższe zdjęcie”: proporcje bliżej karty z Rates, zdjęcie gra główną rolę */
body.shc-3.woocommerce ul.products li.product{padding-top:256px}
body.shc-3.woocommerce ul.products li.product a img{height:350px;-webkit-mask-image:linear-gradient(#000 50%,transparent);mask-image:linear-gradient(#000 50%,transparent)}
body.shc-3.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:28px}
/* 4 „szerokie, po dwie”: zdjęcie z lewej wtapia się w kartę w bok, napisy z prawej */
body.shc-4.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
body.shc-4.woocommerce ul.products li.product{padding:38px 36px 34px 47%;min-height:280px;justify-content:center}
body.shc-4.woocommerce ul.products li.product a img{width:45%;height:100%;filter:brightness(.82) saturate(.9);
  -webkit-mask-image:linear-gradient(90deg,#000 58%,transparent);mask-image:linear-gradient(90deg,#000 58%,transparent)}
body.shc-4.woocommerce ul.products li.product .woocommerce-loop-product__link{flex:0 0 auto}
body.shc-4.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:30px}
body.shc-4.woocommerce ul.products li.product .button{margin-top:0}
body.shc-4.woocommerce ul.products li.product .onsale{right:auto;left:16px}
/* 5 „zdjęcie w ramce”: ostre zdjęcie w wewnętrznej ramce (jak zdjęcie na karcie produktu), napisy na czystej karcie */
body.shc-5.woocommerce ul.products li.product{padding:10px 10px 26px}
body.shc-5.woocommerce ul.products li.product a img{position:relative;z-index:0;height:224px;margin:0 0 22px;border-radius:10px; /* róg karty 20 minus odstęp 10 */
  -webkit-mask-image:none;mask-image:none;filter:brightness(.92) saturate(.9)}
body.shc-5.woocommerce ul.products li.product :is(.woocommerce-loop-product__title,.price,.button){margin-inline:18px}
body.shc-5.woocommerce ul.products li.product .onsale{top:22px;right:22px}
@media (hover:hover) and (pointer:fine){body.shc-5.woocommerce ul.products li.product:hover a img{scale:none;filter:brightness(1.04) saturate(1)}}

/* ===================== DELIKATNY RUCH (Ola 12:46). Bez skryptu; gdy przeglądarka nie umie albo gość nie chce ruchu, wszystko po prostu stoi. ===================== */
@media (prefers-reduced-motion:no-preference){
  /* zdjęcie u góry bardzo wolno „oddycha” */
  html body.sh-1 .woocommerce-products-header::before{animation:sh-oddech 26s ease-in-out infinite alternate}
  @keyframes sh-oddech{to{scale:1.06}}
  @supports (animation-timeline:view()){
    /* karty wynurzają się, gdy wchodzą na ekran; kreska działu rysuje się od lewej */
    body:is(.sh,.shc) ul.products li.product{animation:sh-karta linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
    @keyframes sh-karta{from{opacity:0;translate:0 28px}}
    body.sh-1 ul.products li.sh-chapter::after{transform-origin:left;animation:sh-kreska linear both;animation-timeline:view();animation-range:entry 20% cover 30%}
    @keyframes sh-kreska{from{scale:0 1}}
  }
}

/* ===================== TRZY WERSJE CENNIKA W WIERSZACH (Ola 12:49: wybrała wiersze, chce ich w trzech wyglądach). Baza: body.shr ===================== */
/* 6 „duże zdjęcia”: wiersz jak rozkładówka, duże zdjęcie, duży tytuł, cena nad przyciskiem */
body.shc-6.woocommerce ul.products li.product{grid-template-columns:300px minmax(0,1fr) 230px;gap:0 44px;padding:28px 0}
body.shc-6.woocommerce ul.products li.product a img{width:300px;height:190px;border-radius:14px}
body.shc-6.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:40px;line-height:1.05}
body.shc-6.woocommerce ul.products li.product:not(.sale) .woocommerce-loop-product__title{grid-row:2/4;align-self:center}
body.shc-6.woocommerce ul.products li.product .price{grid-column:3;grid-row:2;align-self:end;margin:0 0 16px;font-size:46px}
body.shc-6.woocommerce ul.products li.product .button{grid-column:3;grid-row:3;align-self:start}
/* 7 „szklane wiersze”: każdy wiersz to szklana karta z ramką jak pakiety, zdjęcie wtapia się w wiersz od lewej */
body.shc-7.woocommerce ul.products{gap:14px}
body.shc-7.woocommerce ul.products li.product{grid-template-columns:270px minmax(0,1fr) 210px 210px;gap:0 32px;min-height:136px;padding:0 28px 0 0;border:0;border-radius:20px;overflow:hidden;
  background:linear-gradient(155deg,rgba(14,30,40,.72),rgba(5,13,19,.64) 60%,rgba(125,211,192,.05));box-shadow:var(--glass-shadow)}
body.shc-7.woocommerce ul.products li.product::before{display:block}
body.shc-7.woocommerce ul.products li.product a img{position:absolute;left:0;top:0;width:270px;height:100%;border-radius:0;outline:0; /* absolutnie: wypełnia wiersz także przy tytule w dwóch liniach */filter:brightness(.82) saturate(.9);
  -webkit-mask-image:linear-gradient(90deg,#000 52%,transparent);mask-image:linear-gradient(90deg,#000 52%,transparent)}
body.shc-7.woocommerce ul.products li.sh-chapter{margin-bottom:14px}
/* 8 „menu z kropkami”: ciasny cennik jak karta dań: małe okrągłe zdjęcie, nazwa, kropki prowadzą do ceny */
body.shc-8.woocommerce ul.products li.product{grid-template-columns:64px minmax(0,1fr) auto 184px;gap:0 22px;padding:15px 0}
body.shc-8.woocommerce ul.products li.product a img{width:64px;height:64px;border-radius:50%}
body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__title{display:flex;align-items:baseline;font-size:26px;text-wrap:wrap}
body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__title::after{content:"";flex:1 1 48px;min-width:48px;margin-left:18px;translate:0 -5px;border-bottom:1px dotted rgba(255,255,255,.36)}
body.shc-8.woocommerce ul.products li.product .price{font-size:30px}
body.shc-8.woocommerce ul.products li.product .button{min-height:44px;font-size:12px}
body.shc-8.woocommerce ul.products li.product .onsale{margin-top:6px;padding:4px 10px;font-size:11.5px}
/* równa wysokość wierszy i tytuł zawsze na linii ceny (kropki muszą prowadzić prosto): jeden rząd, a plakietka promocji wisi pod tytułem poza siatką.
   --ki = zdjęcie + odstęp (początek tytułu), --kt = połowa wysokości tytułu. Z rzędami 1fr wiersz z plakietką wychodził o 14 px wyższy. */
body.shc-8.woocommerce ul.products li.product{--ki:86px;--kt:15px;grid-template-rows:auto}
body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__title{grid-row:1;align-self:center}
/* link do produktu jest prawdziwym pudełkiem na trzech kolumnach (zdjęcie, nazwa, cena), nie display:contents: z contents klawisz Tab go omijał i z klawiatury nie dało się wejść na produkt */
body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__link{display:grid;grid-template-columns:subgrid;grid-column:1/4;grid-row:1;align-items:center}
body.shc-8.woocommerce ul.products li.product .onsale{position:absolute;left:0;top:calc(50% + var(--kt) + 3px);margin:0} /* left:0 liczy się od kolumny tytułu (plakietka ma grid-column:2); z odsunięciem wisiała 112 px w prawo od początku nazwy */
body.shc-9.woocommerce ul.products li.product{--ki:112px}
body.shc-10.woocommerce ul.products li.product{--ki:132px;--kt:21px}

/* ===================== SZLIF (better-ui, 10.10): obrys osobno stojących zdjęć, wciśnięcie przycisku ===================== */
body:is(.shr,.shc-5).woocommerce ul.products li.product a img{outline:1px solid oklch(1 0 0 / .1);outline-offset:-1px}
body:is(.sh,.shc).woocommerce ul.products li.product .button,body.sh .sh-pills :is(a,button){transition-property:background-color,border-color,color,scale;transition-duration:.25s,.25s,.25s,.15s}
body:is(.sh,.shc).woocommerce ul.products li.product .button:active,body.sh .sh-pills :is(a,button):active{scale:.96}

/* ===================== pasek „Opcje” (narzędzie Oli na czas próby; wzór .ba-bar) ===================== */
.sh-bar{position:fixed;left:14px;bottom:14px;z-index:99999;max-width:calc(100vw - 110px);padding:8px 10px;border-radius:16px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18),0 12px 32px rgba(0,0,0,.22);font:400 12px/1 'Mulish',system-ui,sans-serif}
.sh-bar summary{display:inline-block;padding:7px 12px;border-radius:999px;cursor:pointer;list-style:none;color:#0b141b}
.sh-bar summary::-webkit-details-marker{display:none}
.sh-bar[open] summary{margin-bottom:4px;background:#eef3f3}
.sh-bar[open] summary::after{content:" - schowaj"}
.sh-bar:not([open]){padding:4px}
.sh-bar p{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:0}
.sh-bar p+p{margin-top:3px}
.sh-bar span{flex:0 0 96px;padding-left:4px;color:rgba(11,20,27,.62)}
.sh-bar a{padding:7px 10px;border-radius:999px;color:#0b141b;text-decoration:none;white-space:nowrap}
.sh-bar a:hover{background:#eef3f3}
.sh-bar a.on{background:#17806f;color:#fff}
@media (max-width:760px){.sh-bar{display:none}}

/* ===================== DWIE ODWAŻNIEJSZE WERSJE MENU Z KROPKAMI (Ola 12:54: wybrała menu z kropkami, chce dwóch wersji z efektem). Stoją na shc-8. ===================== */
/* 9 „zdjęcie się rozpływa”: kółko bez ostrej krawędzi, a po najechaniu to samo zdjęcie rozlewa się spod kółka miękką plamą pod wierszem */
@property --shm{syntax:'<length>';inherits:false;initial-value:0px}
body.shc-9.woocommerce ul.products li.product{grid-template-columns:88px minmax(0,1fr) auto 184px;gap:0 24px;padding:12px 0}
body.shc-9.woocommerce ul.products li.product a img{width:88px;height:88px;outline:0;
  -webkit-mask-image:radial-gradient(circle,#000 50%,transparent 71%);mask-image:radial-gradient(circle,#000 50%,transparent 71%);
  transition:filter .5s ease,scale .6s cubic-bezier(.2,0,0,1)}
body.shc-9.woocommerce ul.products li.product .sh-melt{--shm:0px;position:absolute;z-index:-1;left:-28px;top:0;width:min(820px,74%);height:100%;margin:0;object-fit:cover;pointer-events:none;
  filter:blur(6px) brightness(.34) saturate(1.15); /* .34: tytuł nad plamą ma mieć co najmniej 4:1 (przy .5 najgorszy wiersz miał 2,7) */
  -webkit-mask-image:radial-gradient(circle at 72px 50%,#000 calc(var(--shm)*.3),transparent var(--shm)),linear-gradient(transparent,#000 34%,#000 66%,transparent);
  mask-image:radial-gradient(circle at 72px 50%,#000 calc(var(--shm)*.3),transparent var(--shm)),linear-gradient(transparent,#000 34%,#000 66%,transparent);
  -webkit-mask-composite:source-in;mask-composite:intersect;transition:--shm .9s cubic-bezier(.2,0,0,1)}
body.shc-9.woocommerce ul.products li.product .woocommerce-loop-product__title::after{transition:border-color .4s}
@media (hover:hover) and (pointer:fine){
  body.shc-9.woocommerce ul.products li.product:is(:hover,:focus-within) .sh-melt{--shm:820px}
  body.shc-9.woocommerce ul.products li.product:is(:hover,:focus-within) a img{scale:1.06;filter:brightness(1.08) saturate(1.05)}
  body.shc-9.woocommerce ul.products li.product:is(:hover,:focus-within) .woocommerce-loop-product__title::after{border-color:rgba(125,211,192,.75)}
}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    /* kółko wyłania się z rozmycia, gdy wiersz wjeżdża na ekran; potem animacja puszcza, żeby działało najechanie */
    body.shc-9.woocommerce ul.products li.product a img{animation:sh-wynurz linear backwards;animation-timeline:view();animation-range:entry 0% entry 100%} /* kończy się, gdy kółko całe jest na ekranie: widoczne zdjęcia mają zawsze tę samą wielkość */
    @keyframes sh-wynurz{from{filter:blur(14px) brightness(.6);scale:.7}}
  }
}

/* 10 „odważne, mięta”: większe pismo i zdjęcie, okrągłe kropki, a po najechaniu wiersz zalewa mięta od lewej i wszystko odwraca się na ciemne */
body.shc-10.woocommerce ul.products li.product{grid-template-columns:104px minmax(0,1fr) auto 200px;gap:0 28px;padding:22px 0}
body.shc-10.woocommerce ul.products li.product::after{content:"";position:absolute;z-index:-1;inset:0 -28px;border-radius:20px;background:var(--mint);
  clip-path:inset(0 100% 0 0 round 20px);transition:clip-path .55s cubic-bezier(.2,0,0,1)}
body.shc-10.woocommerce ul.products li.product a img{width:104px;height:104px;transition:filter .5s ease,scale .55s cubic-bezier(.2,0,0,1)}
body.shc-10.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:38px;line-height:1.08}
body.shc-10.woocommerce ul.products li.product .woocommerce-loop-product__title::after{height:4px;border:0;translate:0 -7px;opacity:.55;
  background:radial-gradient(circle,currentColor 1.3px,transparent 1.8px) 0 0/12px 4px repeat-x}
body.shc-10.woocommerce ul.products li.product .price{font-size:48px}
body.shc-10.woocommerce ul.products li.product :is(.price,.price ins,.price del,.onsale){transition:color .3s,background-color .3s}
body.shc-10.woocommerce ul.products li.product .button{min-height:48px;font-size:12.5px}
body.shc-10.woocommerce ul.products li.product:has(.woocommerce-loop-product__link:focus-visible){outline-color:#fff}
@media (hover:hover) and (pointer:fine){
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within){border-bottom-color:transparent}
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within)::after{clip-path:inset(0 0 0 0 round 20px)}
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within) a img{scale:1.1;filter:none}
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within) :is(.woocommerce-loop-product__title,.price,.price ins,.price del){color:#061420;opacity:1}
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within) .onsale{background:#061420;color:#d4f02d}
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within) .button{background:#061420;border-color:#061420;color:#fff}
  body.shc-10.woocommerce ul.products li.product:is(:hover,:focus-within) .button:hover{background:#fff;border-color:#fff;color:#061420}
}
@media (prefers-reduced-motion:reduce){
  body:is(.shc-9,.shc-10).woocommerce ul.products li.product :is(a img,.sh-melt),body.shc-10.woocommerce ul.products li.product::after{transition:none}
}

/* ===================== TELEFON (10.10, 13:06, po wyborze Oli: strona 1 + menu „zdjęcie się rozpływa”). Laptopa nie zmienia.
   Zasady Oli: wszystko na środku, karty pod sobą, przycisk szeroki jak napis i wysoki 44 px, bez ruchu. ===================== */
@media (max-width:760px){
  /* góra: niższe zdjęcie, tytuł, zdanie i pastylki na środku */
  html body.sh-1 .woocommerce-products-header{align-items:center;min-height:0;padding:132px 0 40px;margin-bottom:36px;text-align:center}
  html body.sh-1 .woocommerce-products-header::before{background:linear-gradient(180deg,rgba(3,8,14,.56) 0%,rgba(3,8,14,.34) 40%,rgba(3,8,14,.8) 84%,#03080e 100%),var(--shimg,url(../img/rates-hero-comino.webp)) center 42%/cover no-repeat}
  body.sh .sh-lead{font-size:17px;font-weight:300;max-width:30ch} /* 300: cienkie 200 słabo się czytało na skałach */
  body.sh .sh-pills{justify-content:center;gap:8px;margin-top:22px}
  body.sh .sh-pills :is(a,button){min-height:44px;padding:0 16px;font-size:12px}
  /* działy: nagłówek na środku, bez kreski */
  body.sh-1 ul.products li.sh-chapter{justify-content:center;margin:40px 0 0;text-align:center}
  body.sh-1 ul.products li.sh-chapter::after{display:none}
  body.sh-1 ul.products li.sh-chapter h2{font-size:32px}
  /* pozycja cennika: zdjęcie, nazwa, plakietka, cena, przycisk, jedno pod drugim */
  body.shc-8.woocommerce ul.products li.product{display:flex;flex-direction:column;align-items:center;gap:0;padding:20px 0 22px;text-align:center;animation:none}
  body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__link{display:flex;flex-direction:column;align-items:center;width:100%}
  body.shc-8.woocommerce ul.products li.product a img{order:1;width:64px;height:64px;margin:0 0 8px;animation:none}
  body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__title{order:2;display:block;font-size:24px;line-height:1.15;text-wrap:balance}
  body.shc-8.woocommerce ul.products li.product .woocommerce-loop-product__title::after{display:none}
  body.shc-8.woocommerce ul.products li.product .onsale{order:3;position:static;margin:9px 0 0}
  body.shc-8.woocommerce ul.products li.product .price{order:4;margin:10px 0 14px;font-size:28px;text-align:center}
  body.shc-8.woocommerce ul.products li.product .button{order:5;width:auto;min-height:44px;padding:0 28px}
  body.shc-9.woocommerce ul.products li.product .sh-melt{display:none}
}

/* ===================== TELEFON, DWIE OPCJE ZE ZDJĘCIEM (Ola 13:21: „z większym tłem, zdjęcia w tle… albo jako małe pakiety”). Próba pod ?sht=1 i ?sht=2, tylko do 760 px. ===================== */
@media (max-width:760px){
  /* 1 „zdjęcie w tle całej strony”: jedno podwodne zdjęcie stoi za sklepem (nie zdjęcie z Home), pozycje to szklane paski pod sobą */
  html body.sht-1::before{content:"";position:fixed;inset:0;z-index:-1;
    background:linear-gradient(180deg,rgba(3,8,14,.5),rgba(3,8,14,.66)),url(../img/rates-packs-shoal.webp) center/cover no-repeat}
  html body.sht-1,html body.sht-1 main.site-main{background:none}
  html body.sht-1 .woocommerce-products-header::before{display:none}
  html body.sht-1 .woocommerce-products-header{margin-bottom:8px}
  body.sht-1.woocommerce ul.products{gap:22px}
  body.sht-1.woocommerce ul.products li.product{padding:20px 16px 22px;border:0;border-radius:20px;background:rgba(6,17,25,.7);box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)}
  body.sht-1 ul.products li.sh-chapter{margin:30px 0 4px}

  /* 2 „małe pakiety”: karta jak pakiet z Rates, zdjęcie produktu u góry wtapia się w kartę, po dwie w rzędzie */
  body.sht-2.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.sht-2 ul.products li.sh-chapter{margin:34px 0 4px}
  body.sht-2.woocommerce ul.products li.product{overflow:hidden;justify-content:flex-start;padding:112px 10px 16px;border:0;border-radius:18px;
    background:linear-gradient(155deg,rgba(14,30,40,.72),rgba(5,13,19,.64) 60%,rgba(125,211,192,.05));box-shadow:var(--glass-shadow)}
  body.sht-2.woocommerce ul.products li.product::before{display:block}
  body.sht-2.woocommerce ul.products li.product .woocommerce-loop-product__link{position:static;flex:1 1 auto;justify-content:flex-start}
  body.sht-2.woocommerce ul.products li.product a img{position:absolute;left:0;top:0;z-index:-1;width:100%;height:136px;margin:0;border-radius:0;object-fit:cover;filter:brightness(.72) saturate(.9);
    -webkit-mask-image:linear-gradient(#000 48%,transparent);mask-image:linear-gradient(#000 48%,transparent)}
  body.sht-2.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:19px;line-height:1.18;overflow-wrap:anywhere}
  body.sht-2.woocommerce ul.products li.product .onsale{position:absolute;inset:10px 0 auto 0;width:fit-content;margin:0 auto;padding:4px 9px;font-size:11px;white-space:nowrap}
  body.sht-2.woocommerce ul.products li.product .price{margin:8px 0 12px;font-size:23px}
  body.sht-2.woocommerce ul.products li.product .button{margin-top:auto;padding:0 18px}
  /* ponytail: dział „Specialty” ma 3 pozycje, ostatnia stoi sama na środku; gdy liczba się zmieni, usunąć tę linię */
  body.sht-2.woocommerce ul.products li.product:last-child{grid-column:1/-1;justify-self:center;width:calc(50% - 6px)}
}
/* bardzo wąski telefon (do 340 px): małe pakiety pod sobą, bo po dwa nie mieści się niemiecki przycisk */
@media (max-width:340px){
  body.sht-2.woocommerce ul.products{grid-template-columns:minmax(0,1fr)}
  body.sht-2.woocommerce ul.products li.product:last-child{width:100%}
}

/* TELEFON, OPCJA 3 (Ola 13:27, po obejrzeniu opcji 1): góra jak na laptopie (Comino tylko u góry), karty na całą szerokość pod sobą,
   a zdjęcie produktu delikatnie wypełnia całą kartę zamiast kółka. Próba pod ?sht=3. */
@media (max-width:760px){
  body.sht-3.woocommerce ul.products{gap:22px} /* Ola 13:30: przy 12 px karty „zaciskały się na siebie” */
  body.sht-3 ul.products li.sh-chapter{margin:34px 0 0}
  /* Ola 13:30: „może trochę węższe, bo nieproporcjonalne, bardziej szerokie niż wysokie” (było 342 x 196): teraz węższa i wyższa, na środku */
  body.sht-3.woocommerce ul.products li.product{overflow:hidden;justify-content:flex-end;justify-self:center;width:min(100%,300px);min-height:244px;padding:30px 16px 26px;border:0;border-radius:20px;background:#07121a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)}
  body.sht-3.woocommerce ul.products li.product::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(180deg,rgba(5,13,19,.3) 0%,rgba(5,13,19,.62) 45%,rgba(5,13,19,.82) 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)}
  /* nazwa, cena i przycisk trzymają się razem przy dole karty, zdjęcie oddycha u góry (Ola 13:32: po podwyższeniu karty cena odjechała od przycisku, bo link się rozciągał) */
  body.sht-3.woocommerce ul.products li.product .woocommerce-loop-product__link{position:static;flex:0 0 auto}
  body.sht-3.woocommerce ul.products li.product a img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;margin:0;border-radius:0;object-fit:cover;opacity:.62;filter:saturate(.9);
    -webkit-mask-image:none;mask-image:none}
  body.sht-3.woocommerce ul.products li.product :is(.woocommerce-loop-product__title,.price){text-shadow:0 1px 14px rgba(3,8,14,.7)}
}

/* 10.10, 13:30: pod zdjęciem u góry sklepu była cienka jasna kreska (ostatnia linia zdjęcia prześwitywała spod przyciemnienia, na laptopie i na telefonie).
   Dół zdjęcia wygasza się teraz maską w tło strony, więc nie ma ani kreski, ani schodka. */
html body.sh-1 .woocommerce-products-header::before{-webkit-mask-image:linear-gradient(#000 calc(100% - 48px),transparent);mask-image:linear-gradient(#000 calc(100% - 48px),transparent)}

/* TELEFON, OPCJA 3, środek karty (Ola 13:34): plakietka promocji wraca do prawego górnego rogu karty (nie w środku między nazwą a ceną),
   cena większa względem nazwy, w proporcji pakietów z Rates (nazwa 24, cena 34 cienka). */
@media (max-width:760px){
  body.sht-3.woocommerce ul.products li.product .onsale{position:absolute;inset:14px 14px auto auto;width:auto;margin:0}
  body.sht-3.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:24px;line-height:1.14}
  body.sht-3.woocommerce ul.products li.product .price{margin:8px 0 18px;font-size:34px;line-height:1}
}

/* TELEFON, PRÓBA NA SKLEPIE (Ola 13:33: przełącznik języków „nie w menu, tylko na głównym ekranie, nad nazwą Shop”):
   EN / DE wisi na środku tuż pod górnym paskiem, znika przy przewijaniu (klasa lp-away, którą pasek już dostaje) i przy otwartym menu.
   Na razie tylko sklep; inne strony po „tak” Oli (na Home, Dive Sites, produkcie i rejestracji trzeba najpierw zrobić miejsce pod paskiem). */
@media (max-width:760px){
  /* reguły samej pastylki przeniesione 13:40 do assets/w1/telefon-karty.css (blok 8), bo działają też na innych stronach; tu zostaje tylko miejsce na nią nad tytułem */
  html body.sh-1 .woocommerce-products-header{padding-top:152px}
}
