/* Only linked by subpages. Homepage deliberately retains its existing presentation. */
body.page-site { --subpage-text: #5e5044; }
body.page-site .site-header { align-items: center; }
body.page-site .page-kicker { font-size: 11px; letter-spacing: .12em; }
body.page-site .button { font-size: 14px; font-weight: 600; }
body.page-site .product-card-kicker { font-size: 11px; line-height: 1.6; }
body.page-site .product-variant-field label, body.page-site .variant-field-label { font-size: 12px; }
body.page-site .product-variant-select { font-size: 14px; }
.catalog-intro { width: var(--shell); margin: 0 auto; padding: 44px 0 24px; }
.catalog-intro h1 { font: 400 clamp(38px,4vw,58px)/1.1 var(--serif); letter-spacing: -.035em; margin: 12px 0 16px; }
.catalog-intro > p:last-child { color: var(--subpage-text); font-size: 16px; line-height: 1.6; margin: 0; }
body.shop-page .shop-catalog { padding-top: 10px; padding-bottom: 40px; }
body.shop-page .page-section-heading { align-items: center; margin-bottom: 16px; gap: 20px; }
body.shop-page .page-section-heading h2 { font: 400 24px/1.3 var(--serif); margin: 0; }
body.shop-page .page-section-heading > div:last-child { text-align: right; }
body.shop-page .filter-row { margin-bottom: 20px; padding-bottom: 16px; }
body.shop-page .product-info { padding: 20px; }
body.shop-page .product-card-title { line-height: 1.18; }
body.shop-page .product-card .product-card-image { height: 230px; padding: 20px; }
body.shop-page .product-card-desc { min-height: 4.8em; font-size: 14px; line-height: 1.6; }
body.shop-page .product-price b { font-size: 27px; }
body.shop-page .product-price { align-items: baseline; gap: 8px; }
body.shop-page .product-card-buy { gap: 12px; }
body.shop-page .shop-assurance { margin-top: 32px; }
body.shop-page .shop-assurance b { font-size: 25px; }
body.shop-page .shop-assurance span { font-size: 11px; line-height: 1.6; letter-spacing: .035em; }
body.product-page .product-detail { gap: clamp(28px,5vw,72px); align-items: start; }
body.product-page .product-detail-gallery { border: 0; border-radius: 0; background: transparent; min-height: 0; padding: 12px 16px 20px; }
body.product-page [data-gallery-main] { height: 350px; mix-blend-mode: multiply; }
body.product-page .product-detail-gallery > span { margin-top: 8px; }
body.product-page .product-thumbnails { margin-top: 12px; }
body.product-page .product-detail-copy { padding-top: 8px; }
body.product-page .product-detail-copy h1 { font-size: clamp(36px,4vw,54px); margin: 10px 0 16px; }
body.product-page .product-detail-description { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
body.product-page .product-detail-purchase { border: 0; border-top: 1px solid var(--commerce-border); background: transparent; border-radius: 0; padding: 20px 0 0; margin-top: 18px; }
body.product-page .product-picker-label { margin-bottom: 12px; }
body.product-page .variant-picker { gap: 12px; }
body.product-page .variant-choice-button { min-height: 44px; }
body.product-page .product-detail-price { margin: 16px 0; }
body.product-page .product-detail-highlights { margin: 18px 0; }
body.product-page .product-detail-note { margin-top: 16px; }
body.product-page .product-reading { padding-block: 36px; }
body.page-site .product-reading p,body.page-site .product-specification dd { color: var(--subpage-text); }
body.page-site .cart-panel { height: auto; min-height: min(550px,100dvh); max-height: 100dvh; padding-top: 50px; }
body.page-site #cart-items-list { flex: 0 1 auto; min-height: 140px; margin-top: 16px; }
body.page-site .cart-checkout-area { margin-top: auto; padding-top: 12px; }
body.page-site .cart-panel h2 { margin: 8px 0 16px; font-size: 38px; }
body.page-site #shipping-text { font-size: 12px; }
body.page-site .cart-panel .shipping-bar { margin-top: 8px; }
body.page-site .cart-item-details h4 { font-size: 21px; }
body.page-site .cart-item-details h4 a { text-decoration: none; }
body.page-site .cart-item-details h4 a:hover { text-decoration: underline; }
body.page-site .cart-total strong { font-size: 30px; }
body.checkout-page .site-header { display: flex; justify-content: space-between; }
.checkout-header-label { font-size: 13px; color: var(--subpage-text); }
body.checkout-page .checkout-main { padding-top: 98px; }
body.checkout-page .checkout-main h1 { font-size: clamp(36px,4vw,50px); margin-top: 20px; }
body.checkout-page .checkout-intro { margin-bottom: 20px; }
body.checkout-page .checkout-mode { margin: 16px 0 24px; padding: 12px 16px; }
body.checkout-page .checkout-fields { gap: 14px 18px; }
body.checkout-page .checkout-main fieldset { padding: 20px 0; }
body.checkout-page .checkout-main legend { font-size: 24px; }
body.checkout-page .checkout-main aside { padding: 24px; }
.checkout-summary-item:has(img) { grid-template-columns: 52px 1fr auto; column-gap: 12px; }
.checkout-summary-item img { width: 52px; height: 62px; object-fit: contain; grid-row: 1 / 3; mix-blend-mode: multiply; }
.checkout-summary-item:has(img) > div,.checkout-summary-item:has(img) > span { grid-column: 2; }
.checkout-summary-item:has(img) > b { grid-column: 3; }
.delivery-choice,.payment-choice { display: flex; align-items: center; gap: 12px; border: 1px solid #cdbfae; border-radius: 8px; padding: 14px; margin: 8px 0; min-height: 54px; cursor: pointer; background: #fffdf8; font-size: 14px; line-height: 1.5; }
.delivery-choice:has(:checked),.payment-choice:has(:checked) { border-color: #925c21; background: #f0e8da; }
body.checkout-page .checkout-main input[type="radio"] { width: 20px; height: 20px; min-height: 20px; padding: 0; flex: 0 0 20px; accent-color: #925c21; }
.delivery-choice > span { flex: 1; }
.delivery-choice b { font-weight: 500; white-space: nowrap; }
.packeta-selection { margin: 10px 0 14px 32px; padding: 16px; border: 1px solid #cdbca9; border-radius: 10px; background: #fffdf8; }
.packeta-selection strong { display: block; color: #2f2119; font-size: 15px; }
.packeta-selection p { margin: 6px 0 12px; color: #74675c; font-size: 13px; line-height: 1.5; }
.packeta-selection button { min-height: 42px; padding-inline: 16px; }
@media(max-width:760px) { .packeta-selection { margin-left: 0; } }
body.page-site .site-footer { padding: 36px 0 28px; }
body.page-site .footer-main { padding-bottom: 24px; gap: 28px; }
body.page-site .footer-brand img { width: 80px; }
body.page-site .footer-brand > p { max-width: 27ch; }
body.page-site .footer-main a { padding-block: 5px; font-size: 13px; }
body.page-site .footer-main > div > p:not(.footer-brand p) { font-size: 11px; }
body.page-site .footer-bottom { padding-top: 20px; gap: 16px; }
body.page-site .footer-service-links { gap: 12px 20px; }
body.page-site .footer-service-links a { font-size: 12px; }
@media(max-width:760px) {
 .catalog-intro { padding: 26px 0 18px; }
 .catalog-intro h1 { font-size: 38px; max-width: 12ch; }
 .catalog-intro > p:last-child { font-size: 14px; max-width: 36ch; }
 body.shop-page .page-section-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
 body.shop-page .page-section-heading h2 { font-size: 20px; }
 body.shop-page #product-count { font-size: 11px; }
 body.shop-page .product-card { display: grid; grid-template-columns: 112px minmax(0,1fr); border-radius: 10px; }
 body.shop-page .product-visual { height: auto; min-height: 180px; border-bottom: 0; border-right: 1px solid var(--commerce-border); }
 body.shop-page .product-card .product-card-image { width: 100%; height: 155px; padding: 8px; margin-top: 25px; }
 body.shop-page .product-badges .badge-sticker { display: none; }
 body.shop-page .product-badges { justify-content: flex-end; top: 8px; right: 8px; }
 body.shop-page .quickview-btn { width: 44px; height: 44px; }
 body.shop-page .product-info { padding: 14px; }
 body.shop-page .product-card-kicker { font-size: 10px; letter-spacing: .04em; margin-bottom: 6px; }
 body.shop-page .product-card-title { font-size: 25px; min-height: 0; margin-bottom: 8px; }
 body.shop-page .product-card-desc { min-height: 0; font-size: 13px; margin-bottom: 12px; }
 body.shop-page .product-card-buy { grid-template-columns: 1fr; }
 body.shop-page .product-card-buy > .button { width: 100%; }
 body.shop-page .product-price { flex-wrap: wrap; margin-bottom: 12px; }
 body.shop-page .product-price b { font-size: 24px; }
 body.shop-page .product-price > span { font-size: 11px; }
 body.shop-page .shop-assurance { display: block; }
 body.shop-page .shop-assurance > div { padding: 16px 0; border: 0; border-top: 1px solid var(--commerce-border); }
 body.shop-page .shop-assurance b { font-size: 22px; }
 body.product-page .product-breadcrumb { padding: 12px 0; }
 body.product-page .product-detail { gap: 8px; }
 body.product-page .product-detail-gallery { padding: 0; }
 body.product-page [data-gallery-main] { height: 112px; }
 body.product-page .product-thumbnails button { width: 46px; height: 46px; }
 body.product-page .product-thumbnails { gap: 8px; margin-top: 6px; }
 body.product-page [data-gallery-caption] { font-size: 11px; }
 body.product-page .product-detail-copy h1 { font-size: 35px; margin-bottom: 10px; }
 body.product-page .product-detail-description { font-size: 14px; line-height: 1.55; margin-bottom: 4px; }
 body.product-page .product-detail-purchase { margin-top: 4px; padding-top: 6px; }
 body.product-page .variant-picker { gap: 6px; }
 body.product-page .variant-picker-group legend { margin-bottom: 6px; }
 body.product-page .variant-choice-options { gap: 6px; }
 body.product-page .variant-choice-button { min-height: 38px; min-width: 48px; padding-inline: 7px; font-size: 11px; }
 body.product-page .product-detail-price { margin: 4px 0; }
 body.product-page .product-detail-price strong { font-size: 34px; }
 body.product-page .product-detail-purchase select { min-height: 46px; }
 body.product-page .product-detail-purchase .button { min-height: 50px; }
 body.page-site .cart-panel { min-height: 0; width: 100%; }
 body.page-site #cart-items-list { min-height: 130px; }
 body.checkout-page .checkout-header-label { display: none; }
 body.checkout-page .checkout-main { padding-top: 88px; }
 body.checkout-page .checkout-layout aside { padding: 18px; }
 body.page-site .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
 body.page-site .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
 body.page-site .footer-brand img { width: 65px; flex-shrink: 0; }
 body.page-site .footer-brand p { font-size: 12px; margin: 0; max-width: 30ch; }
 body.page-site .footer-main > div:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
 body.page-site .footer-main > div:last-child > p { width: 100%; margin-bottom: 0; }
 body.page-site .footer-bottom { font-size: 10px; }
 body.checkout-page .footer-main { display: none; }
}
@media(max-width:375px) {
 body.product-page [data-gallery-main] { height: 102px; }
 body.product-page .vb-consent { grid-template-columns: minmax(0, 1fr) min(170px, 49vw); gap: 6px; padding: 6px 8px; }
 body.product-page .vb-consent p { font-size: 10px; line-height: 1.2; }
 body.product-page .vb-consent-actions button { min-height: 32px; padding: 4px; font-size: 9px; }
}
@media(min-width:761px) and (max-width:900px) {
 body.product-page .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
 body.product-page .product-detail-gallery { padding: 0 16px 12px; }
 body.product-page [data-gallery-main] { height: 220px; }
 body.product-page .product-detail-copy { padding-top: 0; }
 body.product-page .product-detail-copy h1 { font-size: clamp(34px, 5vw, 46px); margin: 6px 0 10px; }
 body.product-page .product-detail-description { font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
 body.product-page .product-detail-purchase { margin-top: 8px; padding-top: 10px; }
 body.product-page .product-picker-label { margin-bottom: 4px; }
 body.product-page .variant-picker { gap: 8px; }
 body.product-page .variant-picker-group { display: grid; gap: 5px; }
 body.product-page .variant-picker-group legend { margin: 0; }
 body.product-page .variant-choice-button { min-height: 40px; min-width: 58px; padding-inline: 9px; font-size: 11px; }
 body.product-page .product-detail-price { margin: 2px 0; }
 body.product-page .vb-consent { padding: 8px 12px; gap: 10px; }
 body.product-page .vb-consent p { max-width: none; font-size: 11px; line-height: 1.25; white-space: nowrap; }
 body.product-page .vb-consent-actions { gap: 6px; }
 body.product-page .vb-consent-actions button { min-height: 36px; padding: 6px 8px; font-size: 11px; }
}
@media(min-width:901px) {
 body.product-page .product-detail-copy h1 { margin-bottom: 12px; }
 body.product-page .product-detail-description { line-height: 1.55; margin-bottom: 12px; }
 body.product-page .product-detail-purchase { margin-top: 12px; padding-top: 14px; }
 body.product-page .variant-picker { gap: 8px; }
 body.product-page .product-detail-price { margin: 9px 0; }
}
@media(min-width:901px) and (max-width:1100px) {
 body.product-page .product-detail-price { margin: 4px 0; }
}
body.page-site .cart-panel { bottom: auto; }
body.page-site .cart-checkout-area { margin-top: 12px; }
body.page-site .site-footer { padding-inline: max(20px,5vw); }
body.page-site .footer-main > div { gap: 5px; }
body.page-site .footer-bottom { margin-top: 22px; }
@media(max-width:760px){
 body.page-site .footer-main .footer-brand { flex-direction: row; align-items: center; }
 body.page-site .footer-main > div:last-child { flex-direction: row; }
 body.page-site .footer-main { gap: 18px 22px; padding-bottom: 0; }
 body.page-site .footer-main a { padding-block: 3px; }
 body.page-site .footer-main > div:last-child > a:last-child { display: none; }
 body.shop-page .filter-row { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; gap: 6px; }
 body.shop-page .filter-pill { padding: 10px 13px; font-size: 12px; }
 body.page-site .cart-panel { border-radius: 0 0 16px 16px; }
}
/* Poradce je na celem webu jedna plovouci bublina vpravo dole; katalog
   uz z nej nedela pilulku zapasenou do uvodniho bloku. */
body.shop-page .catalog-intro .vb-chat-panel { position: fixed; right: 16px; bottom: 84px; z-index: 150; }

/* ------------------------------------------------------------------ */
/* Inspirace: bez uvodniho hero, recepty vedou k forme vanilky          */
/* ------------------------------------------------------------------ */

body.blog-page .blog-intro { padding-top: 40px; }
body.blog-page .blog-intro h1 { max-width: 16ch; }
body.blog-page .blog-intro > p:last-child { max-width: 62ch; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Vlastni fotografie jidel nemame a nebudeme je predstirat. Recept proto
   nese jen malou miniaturu formy vanilky, kterou potrebuje - to je udaj
   dolozeny strankou receptu a zaroven cesta do obchodu. */
body.blog-page .recipe-card { min-height: 0; padding: 22px 20px; }
body.blog-page .recipe-card h3 { margin: 26px 0 12px; font-size: clamp(24px, 2vw, 32px); }
body.blog-page .recipe-card h3 a { color: inherit; text-decoration: none; transition: color .2s; }
body.blog-page .recipe-card:hover h3 a { color: var(--coral-deep); }
body.blog-page .recipe-card > p { margin-bottom: 16px; }

body.blog-page .recipe-card-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.blog-page .recipe-card-form img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 3px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
body.blog-page .recipe-card-form a {
  color: var(--coral-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
body.blog-page .recipe-card-form a:hover { color: var(--ink); }

/* Zaverecny blok byl stejne kremovy jako sekce nad nim, takze pusobil
   jako prazdne misto. Vlastni podklad z nej dela skutecny zaver. */
body.blog-page .blog-shop-cta {
  min-height: 0;
  padding: 56px 5vw;
  background: var(--ink);
  color: var(--cream-soft);
}
body.blog-page .blog-shop-cta h2 { font-size: clamp(34px, 3.6vw, 56px); }
body.blog-page .blog-shop-cta .button-ink {
  background: var(--cream-soft);
  border-color: var(--cream-soft);
  color: var(--ink);
}

@media (max-width: 900px) {
  body.blog-page .recipe-card-form img { width: 34px; height: 34px; }
}

/* ------------------------------------------------------------------ */
/* Detail clanku a receptu                                              */
/* ------------------------------------------------------------------ */

body.editorial-page .reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.editorial-page .reading-meta span { color: rgba(35, 21, 13, .34); }

/* Uvodni fotka. Data i cesta k obrazku byly v editorial.json od zacatku,
   sablona je jen nikdy nevykreslila. */
body.editorial-page .reading-hero {
  /* Sirku urcuje obsahovy sloupec .editorial-main, ne --shell; ten je sirsi
     nez tenhle layout a fotka by ze stranky vylezla. */
  width: 100%;
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream);
}
body.editorial-page .reading-hero img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
}

body.editorial-page .reading-layout { padding-top: 46px; }

/* Dalsi cteni: karty s fotkou misto dvou velkych holych odkazu. */
body.editorial-page .reading-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
body.editorial-page .reading-next-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s, box-shadow .28s;
}
body.editorial-page .reading-next-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 21, 13, .34);
  box-shadow: 0 18px 34px rgba(51, 24, 15, .1);
}
body.editorial-page .reading-next-media { display: block; height: 150px; overflow: hidden; background: var(--cream); }
body.editorial-page .reading-next-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
body.editorial-page .reading-next-card:hover .reading-next-media img { transform: scale(1.05); }
body.editorial-page .reading-next-type {
  display: block;
  margin: 16px 18px 6px;
  color: var(--coral-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.editorial-page .reading-next-title {
  display: block;
  margin: 0 18px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.24;
}
body.editorial-page .reading-next-more {
  display: block;
  margin: 12px 18px 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.editorial-page .reading-next-card:hover .reading-next-more { color: var(--coral-deep); }

@media (max-width: 900px) {
  body.editorial-page .reading-next-grid { grid-template-columns: 1fr; }
  body.editorial-page .reading-next-media { height: 168px; }
  body.editorial-page .reading-hero img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  body.editorial-page .reading-next-card,
  body.editorial-page .reading-next-media img { transition: none; }
  body.editorial-page .reading-next-card:hover { transform: none; }
  body.editorial-page .reading-next-card:hover .reading-next-media img { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Prehled Inspirace: filtry a karty                                    */
/* ------------------------------------------------------------------ */

/* Filtry a pocet v jedne rade; nad mrizkou uz zadny dalsi nadpis neni. */
body.blog-page .blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
body.blog-page .blog-toolbar #blog-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
body.blog-page .blog-index .filter-row { margin: 0; flex-wrap: wrap; overflow: visible; }
body.blog-page .blog-index .filter-pill-count { margin-left: 7px; opacity: .65; }
body.blog-page .blog-index { padding-top: clamp(28px, 3vw, 44px); }
body.blog-page .blog-intro { padding-bottom: 26px; }
body.blog-page .blog-index .filter-pill[hidden] { display: none; }
body.blog-page .catalog-toolbar { justify-content: flex-end; color: var(--muted); font-size: 12px; }

body.blog-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

body.blog-page .blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  min-height: 100%;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s, box-shadow .28s;
}
body.blog-page .blog-card[hidden] { display: none; }
body.blog-page .blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 21, 13, .32);
  box-shadow: 0 18px 36px rgba(51, 24, 15, .1);
}

body.blog-page .blog-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  background: #e9dfd1;
  position: relative;
}
body.blog-page .blog-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(35, 21, 13, 0) 55%, rgba(35, 21, 13, .15));
  opacity: .7;
}
body.blog-page .blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .55s cubic-bezier(.2, .8, .2, 1);
}
body.blog-page .blog-card:hover .blog-card-media img { transform: scale(1.05); }
body.blog-page .blog-card-new .blog-card-media img { filter: saturate(.93) contrast(1.02); }
body.blog-page .blog-card-new:hover .blog-card-media img { filter: saturate(1) contrast(1.04); }

body.blog-page .blog-card-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 18px; }
body.blog-page .blog-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
body.blog-page .blog-card-tag,
body.blog-page .blog-card-season {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.blog-page .blog-card-tag { background: var(--cream); color: var(--coral-deep); }
body.blog-page .blog-card-season { background: var(--ink); color: var(--cream-soft); }

body.blog-page .blog-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.22; }
body.blog-page .blog-card h3 a { color: inherit; text-decoration: none; }
body.blog-page .blog-card h3 a::after { content: ''; position: absolute; inset: 0; }
body.blog-page .blog-card:hover h3 a { color: var(--coral-deep); }
body.blog-page .blog-card-lead { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
body.blog-page .blog-card-meta { margin: auto 0 0; color: rgba(35, 21, 13, .5); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* Nové články mají stejnou výšku a rytmus jako statické karty. */
body.blog-page .blog-card-new .blog-card-body { padding-top: 18px; }

body.blog-page .blog-empty { margin: 26px 0 0; color: var(--muted); font-size: 14px; }
body.blog-page .blog-empty[hidden] { display: none; }

@media (max-width: 760px) {
  body.blog-page .blog-grid { grid-template-columns: 1fr; }
  body.blog-page .blog-card-media { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  body.blog-page .blog-card, body.blog-page .blog-card-media img { transition: none; }
  body.blog-page .blog-card:hover { transform: none; }
  body.blog-page .blog-card:hover .blog-card-media img { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Kosik: hustota panelu                                                */
/* ------------------------------------------------------------------ */
/* Merenim vyslo, ze pri vysce panelu 760 px zbylo na polozky jen 296 px,
   jeden radek mel 171 px a uzaverova cast 252 px. Drawer ma byt husty,
   aby bylo videt vic polozek bez rolovani. */

body.page-site .cart-panel { padding-top: 42px; }
body.page-site .cart-panel h2 { margin: 6px 0 10px; font-size: 30px; }
body.page-site .cart-panel > #shipping-text { font-size: 12px; line-height: 1.45; }

/* Radek polozky: mensi nahled, tesnejsi typografie, drobnejsi ovladani. */
body.page-site .cart-item-row { gap: 12px; padding: 12px 0; align-items: flex-start; }
body.page-site .cart-item-img { width: 56px; height: 56px; }
body.page-site .cart-item-details h4 { margin: 0 0 2px; font-size: 15px; line-height: 1.25; }
body.page-site .cart-item-variant { font-size: 11px; line-height: 1.4; }
body.page-site .cart-item-qty { margin-top: 6px; gap: 4px; }
body.page-site .cart-panel .qty-btn { min-width: 30px; min-height: 30px; font-size: 13px; }
body.page-site .cart-item-qty .qty-value { min-width: 22px; font-size: 13px; }
body.page-site .cart-pack-hint { margin-top: 6px; padding: 4px 9px; font-size: 10px; }

/* Doporuceni a nedavno prohlizene: jednoradkove polozky misto karet. */
body.page-site .cart-crosssell { margin: 16px 0 0; padding-top: 14px; }
body.page-site .cart-crosssell h3 { margin: 0 0 8px; font-size: 16px; }
body.page-site .cart-crosssell ul { gap: 4px; }
body.page-site .cart-crosssell li { grid-template-columns: 38px minmax(0, 1fr) 30px; gap: 9px; padding: 5px; border-radius: 10px; }
body.page-site .cart-crosssell-media img { width: 38px; height: 38px; }
body.page-site .cart-crosssell-copy a { font-size: 12px; }
body.page-site .cart-crosssell-copy span { font-size: 10px; }
body.page-site .cart-crosssell-add { width: 30px; height: 30px; font-size: 15px; }

body.page-site .cart-recent { margin: 16px 0 0; padding-top: 14px; }
body.page-site .cart-recent h3 { margin: 0 0 8px; font-size: 16px; }
body.page-site .cart-recent ul { gap: 4px; }
body.page-site .cart-recent a { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; }
body.page-site .cart-recent img { width: 34px; height: 34px; }
body.page-site .cart-recent span { font-size: 12px; }

/* Uzaverova cast: soucet a pokladna bez zbytecneho prostoru. */
body.page-site .cart-panel .cart-checkout-area { padding-top: 12px; }
body.page-site .cart-panel .cart-total { margin-top: 0; padding-top: 12px; }
body.page-site .cart-panel .cart-total strong { font-size: 26px; }
body.page-site .cart-panel .cart-checkout-area .button { min-height: 48px; margin-top: 10px; }
body.page-site .cart-panel .checkout-preview-note { margin: 8px 0 0; font-size: 10.5px; line-height: 1.45; }
body.page-site .cart-keep-shopping { margin-top: 6px; padding: 6px; font-size: 11px; }

/* Blog: prvni clanek jako hlavni karta, at ve mrizce nezustava dira. */
@media (min-width: 1200px) {
  body.blog-page .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.blog-page .blog-grid > .blog-card:first-child:not([hidden]) { grid-column: span 2; }
  body.blog-page .blog-grid > .blog-card:first-child .blog-card-media { aspect-ratio: 8 / 3; }
  body.blog-page .blog-grid > .blog-card:first-child h3 { font-size: 30px; }
}

/* Ctete dal na mobilu: kompaktni radky s fotkou vlevo. */
@media (max-width: 900px) {
  body.editorial-page .reading-next-grid { gap: 10px; }
  body.editorial-page .reading-next-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; align-content: center; min-height: 104px; }
  body.editorial-page .reading-next-media { grid-row: 1 / 4; height: 100%; min-height: 104px; }
  body.editorial-page .reading-next-type { margin: 14px 14px 4px 0; }
  body.editorial-page .reading-next-title { margin: 0 14px 0 0; font-size: 18px; }
  body.editorial-page .reading-next-more { margin: 8px 14px 14px 0; }
}
