/*
  HOSH PDP — Right Panel Redesign
  Apply in Shoptet: Admin › Template › Vlastní CSS
  ─────────────────────────────────────────────────
*/

/* ── DESIGN TOKENS ── */
:root {
  --h-accent:      #1C3A2F;
  --h-accent-mid:  #2a5444;
  --h-off-white:   #FAF9F7;
  --h-border:      #E5E2DC;
  --h-border-dark: #C8C3BB;
  --h-text:        #111111;
  --h-muted:       #888;
  --h-light:       #aaa;
  --h-serif:       'Cormorant Garamond', Georgia, serif;
  --h-sans:        'Helvetica Neue', Helvetica, Arial, sans-serif;
  --h-ease:        180ms ease;
}

/* ══════════════════════════════
   PRODUCT TITLE
══════════════════════════════ */
.type-detail .p-detail-inner-header h1 {
  font-family: var(--h-serif) !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: 0.01em !important;
  margin-bottom: 8px !important;
  color: var(--h-text) !important;
}

/* Brand label above title */
.type-detail .p-detail-inner-header > div > a {
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--h-light) !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 4px !important;
}
.type-detail .p-detail-inner-header > div > a span {
  color: var(--h-light) !important;
}

/* ── SKU code ── */
.type-detail .p-code {
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--h-light) !important;
  margin-bottom: 14px !important;
  display: block !important;
}
.type-detail .p-code-label { color: var(--h-light) !important; }
.type-detail .p-code .parameter-dependent { color: var(--h-light) !important; }

/* ══════════════════════════════
   PRICE
══════════════════════════════ */
.type-detail .price-line {
  border-bottom: 1px solid var(--h-border) !important;
  padding-bottom: 20px !important;
  margin-bottom: 22px !important;
}
.type-detail strong.price-final,
.type-detail .price-final {
  font-family: var(--h-serif) !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: var(--h-text) !important;
  display: block !important;
}
.type-detail .price-final-holder { font-size: inherit !important; font-family: inherit !important; }

/* ══════════════════════════════
   RATING STARS
   (moved by JS into .p-detail-inner-header, above price)
══════════════════════════════ */
/* Original stars-wrapper — always hidden (clone in .hosh-stars is used instead) */
.type-detail .stars-wrapper {
  display: none !important;
  visibility: hidden !important;
}
/* Stars clone (.hosh-stars) — inserted by JS between title and price */
.type-detail .hosh-stars {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 6px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: static !important;
  float: none !important;
}
.type-detail .hosh-stars .stars.star-list {
  display: flex !important;
  gap: 2px !important;
  align-items: center !important;
}
.type-detail .hosh-stars .star {
  width: 11px !important; height: 11px !important;
  display: inline-block !important; background-image: none !important;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%) !important;
  text-indent: -9999px !important; overflow: hidden !important; font-size: 0 !important;
}
.type-detail .hosh-stars .star-on,
.type-detail .hosh-stars .star:not(.star-off) { background: var(--h-accent) !important; }
.type-detail .hosh-stars .star-off              { background: var(--h-border-dark) !important; }
.type-detail .hosh-stars a.stars-label {
  font-size: 10px !important; letter-spacing: 0.1em !important;
  text-transform: uppercase !important; color: var(--h-muted) !important;
  text-decoration: none !important;
}
.type-detail .hosh-stars a.stars-label:hover { color: var(--h-text) !important; }
.type-detail .stars.star-list {
  display: flex !important;
  gap: 2px !important;
  align-items: center !important;
}
/* Replace Shoptet star rendering with CSS polygon stars */
.type-detail .star {
  width: 11px !important;
  height: 11px !important;
  display: inline-block !important;
  background-image: none !important;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%) !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  font-size: 0 !important;
}
.type-detail .star-on,
.type-detail .star:not(.star-off) { background: var(--h-accent) !important; }
.type-detail .star-off { background: var(--h-border-dark) !important; }
.type-detail .star-half {
  background: linear-gradient(90deg, var(--h-accent) 50%, var(--h-border-dark) 50%) !important;
}

.type-detail a.stars-label {
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  text-decoration: none !important;
}
.type-detail a.stars-label:hover { color: var(--h-text) !important; }

/* ══════════════════════════════
   SHORT DESCRIPTION
══════════════════════════════ */
.type-detail .p-short-description p {
  font-size: 12px !important;
  line-height: 1.8 !important;
  color: var(--h-text) !important;
  margin-bottom: 8px !important;
}
.type-detail .p-short-description a.chevron-after {
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* ══════════════════════════════
   VARIANT TABLE (Barva / Velikost labels)
══════════════════════════════ */
.type-detail .detail-parameters {
  border: none !important;
  width: 100% !important;
}
.type-detail .detail-parameters th {
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  font-weight: 400 !important;
  padding: 0 12px 8px 0 !important;
  vertical-align: top !important;
  white-space: nowrap !important;
}

.type-detail .detail-parameters td {
  padding-bottom: 18px !important;
  padding-left: 0 !important;      /* swatch margin: 4px handles its own edge gap */
  vertical-align: top !important;
}
.type-detail .detail-parameters tr { border: none !important; }

/* ── Size table button — plain underline text, right-aligned via JS ── */
.type-detail #myBtnTabulka_velikosti,
.hosh-size-header #myBtnTabulka_velikosti {
  display: inline !important;
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.type-detail #myBtnTabulka_velikosti:hover,
.hosh-size-header #myBtnTabulka_velikosti:hover { color: var(--h-text) !important; }
/* Hide Shoptet's scissors icon injected via ::before */
.type-detail #myBtnTabulka_velikosti::before,
.hosh-size-header #myBtnTabulka_velikosti::before {
  display: none !important;
}

/* Size th — flex row: VELIKOST + hosh-selected-val together on left, TABULKA on right.
   th/td are display:block in Shoptet Opal so TABULKA must live inside th. */
.type-detail .detail-parameters th[data-hosh="size"] {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;  /* VELIKOST + L/XL stay together on left */
  white-space: normal !important;           /* allow flex children to lay out */
  padding-top: 10px !important;             /* breathing room below swatches */
  padding-bottom: 8px !important;
  padding-right: 0 !important;
}
/* TABULKA VELIKOSTÍ span wrapper inside th — pushed to far right */
.hosh-size-table-link {
  flex-shrink: 0 !important;
  margin-left: auto !important;  /* pushes TABULKA to far right while VELIKOST stays left */
  padding-left: 12px !important;
}
/* Legacy .hosh-size-header — hidden (not used when TABULKA moves to th) */
.hosh-size-header {
  display: none !important;
}

/* ── Selected colour / size value next to label ── */
.hosh-selected-val {
  font-weight: 500;
  color: var(--h-text);
  letter-spacing: 0.12em;
  font-size: 10px;
  text-transform: uppercase;
  margin-left: 6px !important;
}

/* ══════════════════════════════
   COLOR SWATCHES — square, with selected outline
══════════════════════════════ */
.type-detail .advanced-parameter {
  margin: 4px !important;   /* 4px all sides → 8px gap between swatches; ring (5px) fits cleanly */
  padding: 0 !important;
  display: inline-block !important;
  cursor: pointer !important;
}
.type-detail .advanced-parameter-inner {
  width: 28px !important;
  height: 28px !important;
  border-radius: 0 !important;           /* square — key change from round */
  border: 1.5px solid transparent !important;
  display: block !important;
  position: relative !important;         /* needed for ::after diagonal line */
  overflow: hidden !important;
  transition: transform var(--h-ease) !important;
  box-shadow: none !important;
  outline: none !important;
}
.type-detail .advanced-parameter-inner:hover {
  transform: scale(1.1) !important;
}

/* ── Unavailable swatch — diagonal strikethrough (matches quickadd style) ──
   Targets both Shoptet's native class AND our JS-applied .hosh-unavailable */
.type-detail .advanced-parameter.unavailable-option-wrapper,
.type-detail .advanced-parameter.hosh-unavailable {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  overflow: hidden !important; /* clip the rotated line at the wrapper boundary */
}
/* Allow inner overflow so the rotated ::after is clipped by wrapper, not inner */
.type-detail .advanced-parameter.unavailable-option-wrapper .advanced-parameter-inner,
.type-detail .advanced-parameter.hosh-unavailable .advanced-parameter-inner {
  overflow: visible !important;
}
.type-detail .advanced-parameter.unavailable-option-wrapper .advanced-parameter-inner::after,
.type-detail .advanced-parameter.hosh-unavailable .advanced-parameter-inner::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  /* White line + dark outline — visible on any swatch colour */
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.4) !important;
  transform: rotate(-45deg) !important;
  transform-origin: center !important;
  pointer-events: none !important;
}
/* Selected via :has() — supported in all modern browsers */
.type-detail .advanced-parameter:has(input[type="radio"]:checked) .advanced-parameter-inner,
.type-detail .advanced-parameter.active .advanced-parameter-inner,
.type-detail .advanced-parameter.chosen .advanced-parameter-inner {
  border-color: var(--h-text) !important;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--h-text) !important;
}
/* White swatch needs visible default border */
.type-detail .advanced-parameter-inner[style*="#ffffff"],
.type-detail .advanced-parameter-inner[style*="#fff"],
.type-detail .advanced-parameter-inner[style*="rgb(255, 255, 255)"] {
  border-color: var(--h-border-dark) !important;
}

/* ══════════════════════════════
   SIZE BUTTONS (injected by hosh-pdp.js)
══════════════════════════════ */
.hosh-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hosh-size-btn {
  height: 40px !important;
  min-width: 58px !important;
  padding: 0 14px !important;
  border: 1px solid var(--h-border-dark) !important;
  background: #fff !important;
  font-family: var(--h-sans) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--h-text) !important;
  cursor: pointer !important;
  transition: border-color var(--h-ease), background var(--h-ease), color var(--h-ease) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  border-radius: 0 !important;
}
.hosh-size-btn:hover:not(.unavailable) { border-color: var(--h-text) !important; background: #fff !important; color: var(--h-text) !important; }
.hosh-size-btn.active { background: var(--h-accent) !important; color: #fff !important; border-color: var(--h-accent) !important; }
/* Unavailable size — text strikethrough + faded (matches quickadd .hqa-sz.soldout) */
.hosh-size-btn.unavailable {
  color: var(--h-light) !important;
  border-color: var(--h-border) !important;
  cursor: not-allowed !important;
  background: transparent !important;
  text-decoration: line-through !important;
  opacity: 0.55 !important;
}

/* ══════════════════════════════
   AVAILABILITY / DELIVERY LINE
══════════════════════════════ */
/* Availability label (Skladem / Vyprodáno / Poslední kusy) */
.type-detail .availability-value .availability-label {
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}
/* Override Shoptet inline color with HOSH palette */
.type-detail .availability-value .availability-label[style*="#cb0000"],
.type-detail .availability-value .availability-label[style*="cb0000"] {
  color: #b0292b !important;
}
.type-detail .availability-value .availability-label[style*="#009901"],
.type-detail .availability-value .availability-label[style*="009901"] {
  color: #3C9C63 !important;
}
.type-detail .availability-value .availability-label[style*="#D97706"],
.type-detail .availability-value .availability-label[style*="D97706"] {
  color: #D97706 !important;
}

.type-detail .delivery-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--h-sans) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  margin: 8px 0 14px !important;
}
/* Hide verbose "Můžeme doručit do:" label — dot + date is self-explanatory */
.type-detail .delivery-time-label { display: none !important; }
.type-detail .delivery-time {
  font-size: 11px !important;
  font-family: var(--h-sans) !important;
  color: var(--h-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}
/* Shipping options link inside delivery line */
.type-detail .delivery-line .shipping-options {
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  margin-left: 4px !important;
}
.type-detail .delivery-line .shipping-options:hover { color: var(--h-text) !important; }
/* Hide truck icon inside shipping-options (SVG, img, and ::before background-image) */
.type-detail .delivery-line .shipping-options svg,
.type-detail .delivery-line .shipping-options img { display: none !important; }
.type-detail .delivery-line .shipping-options::before,
.type-detail .delivery-line .shipping-options::after { display: none !important; }

/* ── Availability dot (inserted by JS before date) ── */
.hosh-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3C9C63;
  flex-shrink: 0;
  display: inline-block;
}
.hosh-avail-dot.low { background: #D97706; }
.hosh-avail-dot.out { background: #b0292b; }

/* ══════════════════════════════
   QUANTITY + ADD TO CART
══════════════════════════════ */
/* ── Quantity stepper + CTA layout ── */
.type-detail .add-to-cart {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 10px !important;
}
.type-detail .add-to-cart span.quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid var(--h-border-dark) !important;
  height: 52px !important;
  width: 120px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}
/* Tooltip spans — hidden, take no space */
.type-detail span.increase-tooltip,
.type-detail span.decrease-tooltip {
  display: none !important;
}
/* Actual +/- buttons */
/* Quantity stepper — absolute buttons overlaying a full-width input (Shoptet's design) */
.type-detail .add-to-cart span.quantity {
  position: relative !important;
  padding: 0 !important;
  overflow: visible !important;
}
.type-detail span.quantity button.increase,
.type-detail span.quantity button.decrease {
  position: absolute !important;
  top: 0 !important;
  width: 38px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  z-index: 1 !important;
}
.type-detail span.quantity button.decrease { left: 0 !important; right: auto !important; }
.type-detail span.quantity button.increase { right: 0 !important; left: auto !important; }
/* Label fills full width; horizontal padding leaves room for the buttons */
.type-detail span.quantity label {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 38px !important;
  margin: 0 !important;
}
/* The number input — fills the label, bordered to show dividers */
.type-detail span.quantity input.amount,
.type-detail input[name="amount"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  text-align: center !important;
  border: none !important;
  border-left: 1px solid var(--h-border-dark) !important;
  border-right: 1px solid var(--h-border-dark) !important;
  font-family: var(--h-sans) !important;
  font-size: 13px !important;
  color: var(--h-text) !important;
  background: #fff !important;
  outline: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
.type-detail input[name="amount"]::-webkit-outer-spin-button,
.type-detail input[name="amount"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

/* Layout & typography always applied */
.type-detail .btn.btn-conversion,
.type-detail .btn.btn-conversion.btn-lg {
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--h-sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  height: 52px !important;
  flex: 1 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: background var(--h-ease) !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

/* Green colour only once a variant is selected (JS adds .hosh-cta-ready) */
.type-detail .add-to-cart.hosh-cta-ready .btn.btn-conversion,
.type-detail .add-to-cart.hosh-cta-ready .btn.btn-conversion.btn-lg {
  background: var(--h-accent) !important;
  background-color: var(--h-accent) !important;
  color: #fff !important;
}
.type-detail .add-to-cart.hosh-cta-ready .btn.btn-conversion:hover,
.type-detail .add-to-cart.hosh-cta-ready .btn.btn-conversion.btn-lg:hover {
  background: var(--h-accent-mid) !important;
  background-color: var(--h-accent-mid) !important;
  color: #fff !important;
}

/* ══════════════════════════════
   GHOST ACTIONS (Zeptat se, Hlídat)
══════════════════════════════ */
.type-detail .link-icons {
  display: flex !important;
  gap: 20px !important;
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--h-border) !important;
  list-style: none !important;
}
.type-detail .link-icon,
.type-detail .link-icons a,
.type-detail .link-icons button {
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: color var(--h-ease) !important;
}
.type-detail .link-icon:hover,
.type-detail .link-icons a:hover,
.type-detail .link-icons button:hover { color: var(--h-text) !important; }
.type-detail .link-icon svg,
.type-detail .link-icons img { opacity: 0.55 !important; }
.type-detail .link-icon:hover svg,
.type-detail .link-icons a:hover img { opacity: 1 !important; }

/* Hide social share (print, Facebook, etc.) */
.type-detail .social-buttons-wrapper { display: none !important; }

/* ══════════════════════════════
   ACCORDION (injected by hosh-pdp.js, replacing .shp-tabs-wrapper)
══════════════════════════════ */
.hosh-accordion {
  border-top: 1px solid var(--h-border);
  margin-top: 40px;
}
.hosh-accordion details {
  border-bottom: 1px solid var(--h-border);
}
.hosh-accordion details summary {
  list-style: none;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--h-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h-text);
  transition: color var(--h-ease);
  user-select: none;
}
.hosh-accordion details summary::-webkit-details-marker { display: none; }
.hosh-accordion details summary::marker { display: none; }
.hosh-accordion details summary:hover { color: var(--h-accent); }

/* +/- icon */
.hosh-acc-icon {
  width: 14px; height: 14px;
  position: relative; flex-shrink: 0; margin-left: 12px;
}
.hosh-acc-icon::before, .hosh-acc-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 240ms ease, opacity 240ms ease;
}
.hosh-acc-icon::before { width: 14px; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
.hosh-acc-icon::after  { width: 1px; height: 14px; left: 50%; top: 0; transform: translateX(-50%); }
.hosh-accordion details[open] .hosh-acc-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.hosh-acc-body {
  padding-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--h-text);
}
.hosh-accordion details[open] .hosh-acc-body {
  animation: hoshFadeIn 200ms ease;
}
@keyframes hoshFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Style content inside accordion */
.hosh-acc-body p { margin-bottom: 10px; }
.hosh-acc-body p:last-child { margin-bottom: 0; }
.hosh-acc-body ul { padding-left: 0; list-style: none; }
.hosh-acc-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 3px 0;
}
.hosh-acc-body ul li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--h-accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Shipping table in accordion */
.hosh-acc-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.hosh-acc-body table tr { border-bottom: 1px solid var(--h-border); }
.hosh-acc-body table tr:last-child { border-bottom: none; }
.hosh-acc-body table td { padding: 9px 0; vertical-align: top; }
.hosh-acc-body table td:first-child {
  color: var(--h-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 500;
  padding-right: 12px;
}

/* Heading styles in accordion body */
.hosh-acc-body h2 {
  font-family: var(--h-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: 16px;
}
.hosh-acc-body h2:first-child { margin-top: 0; }
/* h3 headings (e.g. "Detailní popis produktu") are stripped by JS;
   hide any that slip through as a safety net */
.hosh-acc-body h3 { display: none !important; }
/* h4 section labels (e.g. "Materiál a vlastnosti", "Velikost a výroba") */
.hosh-acc-body h4 {
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  font-style: normal !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: var(--h-muted) !important;
  margin: 16px 0 8px 0 !important;
}
.hosh-acc-body h4:first-child { margin-top: 0 !important; }

/* ══════════════════════════════
   PARAMETRY spec table (inside accordion body)
══════════════════════════════ */
.hosh-acc-body .detail-parameters {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.hosh-acc-body .detail-parameters tr {
  border-bottom: 1px solid var(--h-border) !important;
  display: table-row !important;
}
.hosh-acc-body .detail-parameters tr:last-child {
  border-bottom: none !important;
}
.hosh-acc-body .detail-parameters th {
  font-family: var(--h-sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--h-muted) !important;
  font-weight: 400 !important;
  padding: 11px 20px 11px 0 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  width: 38% !important;
}
.hosh-acc-body .detail-parameters td {
  padding: 11px 0 !important;
  vertical-align: middle !important;
  color: var(--h-text) !important;
  font-size: 12px !important;
  letter-spacing: 0.02em !important;
}
/* All links inside accordion body — override Shoptet colours */
.hosh-acc-body a,
.hosh-acc-body a:visited,
.hosh-acc-body a:link {
  color: var(--h-text) !important;
  text-decoration: none !important;
}
.hosh-acc-body a:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.hosh-acc-body .detail-parameters td a,
.hosh-acc-body .detail-parameters td a:visited,
.hosh-acc-body .detail-parameters td a:link {
  color: var(--h-text) !important;
  text-decoration: none !important;
}
.hosh-acc-body .detail-parameters td a:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* ══════════════════════════════
   PŘIDAT HODNOCENÍ link (below accordion)
══════════════════════════════ */
.hosh-rating-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-family: var(--h-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h-muted);
  text-decoration: none;
  transition: color var(--h-ease);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.hosh-rating-link:hover { color: var(--h-text); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

/* ── Tablet (≤991px) — panel goes full-width below Bootstrap lg ── */
@media (max-width: 991px) {
  .type-detail .p-detail-inner-header h1 {
    font-size: 26px !important;
  }
  .type-detail strong.price-final,
  .type-detail .price-final {
    font-size: 24px !important;
  }
  .hosh-accordion {
    margin-top: 32px;
  }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
  .type-detail .p-detail-inner-header h1 {
    font-size: 22px !important;
    margin-bottom: 6px !important;
  }
  .type-detail strong.price-final,
  .type-detail .price-final {
    font-size: 22px !important;
  }
  .hosh-accordion {
    margin-top: 20px;
  }
  .hosh-accordion details summary {
    padding: 13px 0;
  }
  /* Quantity + CTA — stack vertically on mobile for better tap targets */
  .type-detail .add-to-cart {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .type-detail .add-to-cart span.quantity {
    width: 100% !important;
    height: 48px !important;
  }
  .type-detail .btn.btn-conversion,
  .type-detail .btn.btn-conversion.btn-lg {
    height: 52px !important;
    flex: none !important;
    width: 100% !important;
    letter-spacing: 0.14em !important;
    white-space: nowrap !important;
  }
  /* Reduce hosh-stars bottom margin */
  .type-detail .hosh-stars {
    margin-bottom: 10px !important;
  }
  /* Slightly tighter price separator */
  .type-detail .price-line {
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
  }
}

/* ── Small mobile (≤480px) — extra breathing room ── */
@media (max-width: 480px) {
  .type-detail .p-detail-inner-header h1 {
    font-size: 20px !important;
  }
  .hosh-size-btn {
    height: 44px !important;
    min-width: 52px !important;
    font-size: 10px !important;
  }
}

/* ══════════════════════════════
   REDUCED MOTION
══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hosh-size-btn,
  .type-detail .advanced-parameter-inner,
  .type-detail .btn.btn-conversion,
  .hosh-accordion details summary,
  .hosh-acc-icon::before,
  .hosh-acc-icon::after {
    transition-duration: 1ms !important;
  }
  .hosh-accordion details[open] .hosh-acc-body {
    animation-duration: 1ms !important;
  }
}
