/* BeeCoffee Studio — магазин: картка кавомашини й розхідника, картка кави, категорії каталогу (prototype: redesign-2026-11-28/src/pages/kavomashyna-dr-coffee-f12.html) */
/* ---- магазин (shop-): однаковий блок на картці кавомашини, кави й у категоріях ---- */
.shop-pdp{padding-block:clamp(32px,4vw,56px) var(--sec)}
.shop-pdp-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:clamp(32px,5vw,80px);align-items:start}
.shop-stage{position:sticky;top:104px;aspect-ratio:4/5;background:var(--stone);border-radius:var(--r-l);overflow:hidden}
.shop-stage img{position:absolute;inset:8% 14% 9%;width:72%;height:83%;object-fit:contain;object-position:50% 100%;mix-blend-mode:multiply}
.shop-stage::after{content:"";position:absolute;left:20%;right:20%;bottom:6%;height:5%;border-radius:50%;background:radial-gradient(closest-side,var(--floor),transparent);mix-blend-mode:multiply}
.shop-info{display:grid;gap:24px;align-content:start;min-width:0}
.shop-info h1{font-size:clamp(44px,5vw,72px);line-height:1;letter-spacing:-.035em}
.shop-type{font-size:16px;font-weight:500;color:var(--ink-mute)}
.shop-lead{font-size:clamp(17px,1.4vw,19px);color:var(--ink-soft);max-width:52ch}
.shop-status{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;padding:24px;background:var(--card);border-radius:var(--r-m)}
.shop-status svg{width:28px;height:28px;color:var(--brand-ink);grid-row:1/3}
.shop-status b{font-weight:600;font-size:17px}
.shop-status p{color:var(--ink-soft);font-size:16px}
/* умова оренди — позначка, не кнопка: контур кольору логотипа */
.shop-rate{display:inline-flex;align-self:start;justify-self:start;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid var(--brand);color:var(--brand-ink);font-weight:600;font-size:16px}
.shop-rate-big{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--ink)}
.shop-rate-big .num{font-size:clamp(48px,5vw,72px);color:var(--brand-ink)}
.shop-rate-big span:last-child{color:var(--ink-soft);max-width:30ch}
.shop-key{display:grid;border-top:1px solid var(--ink)}
.shop-key div{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.45;color:var(--ink-mute)}
.shop-key b{font-weight:500;color:var(--ink)}
.shop-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.shop-note{font-size:14px;color:var(--ink-mute);max-width:56ch}
/* обсмаження: шкала з 5 поділок */
.shop-roast{display:grid;gap:12px;padding:24px;background:var(--card);border-radius:var(--r-m)}
.shop-roast .lab{display:flex;justify-content:space-between;gap:16px;font-size:15px;color:var(--ink-mute)}
.shop-roast .lab span:last-child{font-weight:600;color:var(--ink)}
.shop-roast .bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.shop-roast .bar i{height:8px;border-radius:999px;background:var(--line)}
.shop-roast .bar i.on{background:var(--brand)}
.shop-roast .cap{font-family:var(--display);font-size:clamp(20px,1.8vw,24px);line-height:1.3;letter-spacing:-.01em}

/* технічний паспорт */
.shop-specs-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:var(--gap);align-items:start}
.shop-specs-grid .head{position:sticky;top:120px;margin:0}
.shop-specs-grid h2{font-size:clamp(32px,3.2vw,48px)}
.shop-sheet{width:100%;border-collapse:collapse;border-top:1px solid var(--ink)}
.shop-sheet thead th{text-align:left;font-size:14px;font-weight:500;color:var(--ink-mute);padding:16px 16px 16px 0;border-bottom:1px solid var(--line)}
.shop-sheet td{padding:20px 16px 20px 0;border-bottom:1px solid var(--line);vertical-align:top}
.shop-sheet td:first-child{width:38%;font-size:15px;color:var(--ink-mute)}
.shop-sheet td:last-child{font-family:var(--display);font-size:clamp(18px,1.5vw,21px);line-height:1.35;letter-spacing:-.01em}
.shop-sheet tbody tr{transition:background-color .2s}
.shop-sheet tbody tr:hover{background:var(--card)}

/* опис товару */
.shop-about{display:grid;gap:16px;max-width:68ch}
.shop-about p{color:var(--ink-soft)}
.shop-about>p:first-child{font-family:var(--display);font-size:clamp(22px,2vw,28px);line-height:1.35;letter-spacing:-.015em;color:var(--ink)}
.shop-facts{display:flex;flex-wrap:wrap;gap:8px}
.shop-facts p{padding:10px 16px;border:1px solid var(--line-strong);border-radius:999px;font-size:15px;color:var(--ink)}
.shop-note-bar{display:flex;gap:16px;align-items:flex-start;margin-top:40px;padding:24px;background:var(--card);border-radius:var(--r-m);max-width:760px}
.shop-note-bar svg{flex:none;width:24px;height:24px;color:var(--brand-ink);margin-top:2px}
.shop-note-bar p{color:var(--ink-soft)}
.shop-note-bar a{color:var(--ink);font-weight:600;text-underline-offset:3px}

/* заголовок категорії й фільтр */
.shop-cathero{padding-top:clamp(32px,4vw,56px);border-bottom:1px solid var(--line)}
.shop-cathero h1{font-size:clamp(48px,7vw,112px);line-height:.95;letter-spacing:-.04em;padding-bottom:clamp(32px,4vw,56px);max-width:14ch}
.shop-cathero .lead{margin:-16px 0 clamp(32px,4vw,56px)}
.shop-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(40px,5vw,64px)}
.shop-filter a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1px solid var(--line-strong);border-radius:999px;font-weight:500;font-size:15px;text-decoration:none;transition:background-color .2s,color .2s,border-color .2s}
.shop-filter a:hover{border-color:var(--ink)}
.shop-filter a[aria-current]{background:var(--ink);border-color:var(--ink);color:var(--paper)}

/* сітка товарів */
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap) clamp(16px,2vw,24px)}
.shop-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.shop-card{display:flex;flex-direction:column;gap:12px}
.shop-card .pic{display:block;position:relative;aspect-ratio:4/5;background:var(--stone);border-radius:var(--r-m);overflow:hidden;margin-bottom:12px;transition:background-color .3s var(--ease)}
.shop-card .pic img{position:absolute;inset:10% 12% 8%;width:76%;height:82%;object-fit:contain;object-position:50% 100%;mix-blend-mode:multiply}
.shop-card:hover .pic{background:var(--paper-2)}
.shop-card h3 a,.shop-card .shop-h a{text-decoration:none}
.shop-card .shop-h{font-size:24px;line-height:1.2;letter-spacing:-.015em}
.shop-card:hover h3 a,.shop-card:hover .shop-h a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.shop-card .t{font-size:15px;color:var(--ink-mute)}
.shop-card .d{font-size:15px;line-height:1.5;color:var(--ink-soft)}
.shop-card>.btn{margin-top:auto;align-self:start}
.shop-card .foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
.shop-card .foot span{font-size:14px;font-weight:500;color:var(--brand-ink)}
.shop-card .foot .btn{min-height:44px;padding:0 20px;font-size:15px}

/* сертифікат */
.shop-cert{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;margin-top:clamp(64px,7vw,96px);padding:clamp(24px,3vw,40px);background:var(--card);border-radius:var(--r-l)}
.shop-cert__img{display:block;border-radius:var(--r-s);overflow:hidden;box-shadow:var(--shadow-s);transition:transform .3s var(--ease)}
.shop-cert__img:hover{transform:translateY(-2px)}
.shop-cert__body{display:grid;gap:16px;justify-items:start}
.shop-cert__body h2{font-size:clamp(28px,2.8vw,40px)}
.shop-cert__body p{color:var(--ink-soft);max-width:60ch}
.shop-pager{display:flex;justify-content:center;margin-top:clamp(48px,5vw,64px)}
.shop-pager span{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:999px;background:var(--ink);color:var(--paper);font-weight:600}

/* фінальна заявка: три переваги */
.shop-final-list{list-style:none;display:grid;gap:12px;margin-top:32px}
.shop-final-list li{display:flex;gap:12px;align-items:center;font-weight:500}
.shop-final-list svg{flex:none;width:22px;height:22px}

@media (max-width:1100px){
  .shop-pdp-grid,.shop-specs-grid{grid-template-columns:minmax(0,1fr)}
  .shop-stage{position:relative;top:auto;max-width:560px;width:100%;aspect-ratio:1/1}
  .shop-specs-grid .head{position:static}
  .shop-grid,.shop-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .shop-stage{aspect-ratio:1/1}
  .shop-key div{grid-template-columns:minmax(0,1fr);gap:2px}
  .shop-actions .btn{width:100%}
  .shop-sheet thead{display:none}
  .shop-sheet,.shop-sheet tbody,.shop-sheet tr,.shop-sheet td{display:block}
  .shop-sheet tr{padding:16px 0;border-bottom:1px solid var(--line)}
  .shop-sheet td{border:0;padding:0}
  .shop-sheet td:first-child{width:auto;margin-bottom:4px}
  .shop-grid,.shop-grid--4{grid-template-columns:minmax(0,1fr)}
  /* компактна картка на телефоні: фото ліворуч, назва праворуч, решта на всю ширину */
  .shop-grid,.shop-grid--4{gap:32px}
  .shop-card{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:16px;row-gap:8px;align-items:center;padding-bottom:32px;border-bottom:1px solid var(--line)}
  .shop-card .pic{aspect-ratio:1/1;grid-row:1/3;margin:0}
  .shop-card h3,.shop-card .shop-h{grid-column:2;font-size:20px}
  .shop-card .t{grid-column:2;align-self:start}
  .shop-card .d,.shop-card>.btn,.shop-card .foot{grid-column:1/-1}
  .shop-card>.btn{width:100%}
  .shop-cert{grid-template-columns:minmax(0,1fr)}
  .shop-cert__img{max-width:200px}
}

/* ---- розмітка WordPress і функцій батьківської теми на сторінках магазину ---- */
.shop .crumbs{margin-bottom:24px}
.shop-type{display:flex;flex-wrap:wrap;gap:4px 16px}
.shop-lead p{margin:0 0 12px}
.shop-lead p:last-child{margin-bottom:0}
.shop-key b{display:block}
.shop-sheet--3 td:first-child{width:28%}
.shop-sheet--3 td:last-child{font-family:var(--body);font-size:15px;color:var(--ink-soft)}
.shop-sheet--3 td:nth-child(2){font-family:var(--display);font-size:clamp(18px,1.5vw,21px);line-height:1.35}
.shop-about>*{margin:0}
.shop-about ul,.shop-about ol{padding-left:24px;color:var(--ink-soft)}
.shop-card .t a{color:inherit}
.shop-disclaimer{margin:40px auto 0;text-align:center;max-width:72ch}
.shop-cta-btn{align-self:center}
.shop .faq .ans{padding:0 72px 32px 0;color:var(--ink-soft);max-width:68ch}
.shop .faq .ans a{color:var(--brand-ink)}
.shop .center{margin-top:32px}
.shop .btn-outline{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;border:1.5px solid var(--ink);color:var(--ink);background:transparent;font:600 16px/1 var(--body);text-decoration:none;transition:background-color .2s,color .2s}
.shop .btn-outline:hover{background:var(--ink);color:var(--paper)}

/* підкатегорії (beecoffee_cat_chips) і типи товарів (beecoffee_catalog_type_chips) — як фільтр прототипу */
.shop .cat-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(40px,5vw,64px)}
.shop-cathero .cat-chips{margin:-16px 0 clamp(32px,4vw,48px)}
.shop .cat-chips a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1px solid var(--line-strong);border-radius:999px;font-weight:500;font-size:15px;text-decoration:none;transition:background-color .2s,color .2s,border-color .2s}
.shop .cat-chips a:hover{border-color:var(--ink)}
.shop .cat-chips a.is-active,.shop .cat-chips a[aria-current]{background:var(--ink);border-color:var(--ink);color:var(--paper)}

/* сертифікат (beecoffee_certificate_block) — як .shop-cert прототипу */
.coffee-cert{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;margin-top:clamp(64px,7vw,96px);padding:clamp(24px,3vw,40px);background:var(--card);border-radius:var(--r-l)}
.coffee-cert:not(:has(.coffee-cert__img)){grid-template-columns:minmax(0,1fr)}
.coffee-cert__img{display:block;border-radius:var(--r-s);overflow:hidden;box-shadow:var(--shadow-s);transition:transform .3s var(--ease)}
.coffee-cert__img:hover{transform:translateY(-2px)}
.coffee-cert__img img{width:100%;height:auto}
.coffee-cert__body{display:grid;gap:16px;justify-items:start}
.coffee-cert__body h2{font-size:clamp(28px,2.8vw,40px)}
.coffee-cert__body p{color:var(--ink-soft);max-width:60ch;margin:0}
.coffee-cert__item b{color:var(--ink);font-weight:600}
.coffee-cert .btn-outline{display:inline-flex;align-items:center;min-height:52px;padding:0 28px;border-radius:999px;border:1.5px solid var(--ink);color:var(--ink);font:600 16px/1 var(--body);text-decoration:none;transition:background-color .2s,color .2s}
.coffee-cert .btn-outline:hover{background:var(--ink);color:var(--paper)}
.shop-about~.coffee-cert{margin-top:40px}

/* пагінація (theme_pagination) */
.shop-pager .pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}
.shop-pager .page-link{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 12px;border:1px solid var(--line-strong);border-radius:999px;font-weight:600;text-decoration:none}
.shop-pager .page-link:hover{border-color:var(--ink)}
.shop-pager .active .page-link{background:var(--ink);border-color:var(--ink);color:var(--paper)}

@media (max-width:767px){
  .shop .faq .ans{padding-right:0}
  .coffee-cert{grid-template-columns:minmax(0,1fr)}
  .coffee-cert__img{max-width:200px}
  .shop-sheet--3 td:first-child,.shop-sheet--3 td:last-child{width:auto}
  .shop-sheet--3 td.hl{margin-top:4px}
  .shop-card .t a{display:inline-block}
}
/* уривок у картці категорії може містити власні абзаци */
.shop-card .d p{margin:0 0 8px}
.shop-card .d p:last-child{margin:0}

