/* mx-variants.css 4.3.8 – Meluzína (dřív v /user/documents/, teď v /user/documents/upload/) */
.mx-variants{display:grid;gap:12px;margin:16px 0}.mx-variants__group{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.mx-variants__label{font-weight:600;font-size:14px;letter-spacing:.02em;margin-right:8px}.mx-hide{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}.mx-swatch{--s:34px;display:inline-flex;align-items:center;justify-content:center;width:var(--s);height:var(--s);border-radius:999px;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer;position:relative;transition:transform .08s ease,border-color .15s ease}.mx-swatch__chip{width:calc(var(--s) - 10px);height:calc(var(--s) - 10px);border-radius:999px;background:var(--mx-color,#ddd);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}.mx-swatch[aria-pressed=true]{border-color:transparent;box-shadow:0 0 0 2px #111}.mx-swatch[aria-disabled=true]{opacity:.35;cursor:not-allowed}.mx-pill{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:44px;padding:0 12px;border-radius:10px;border:1px solid rgba(0,0,0,.12);background:#fff;font-weight:600;letter-spacing:.02em}.mx-pill[aria-pressed=true]{background:#111;border-color:#111;color:#fff;box-shadow:none}.mx-pill[aria-disabled=true]{opacity:.35;cursor:not-allowed}.p-variants-block .variant-list{margin-bottom:10px} /* --- PRODUCT DETAIL TWEAKS --- */

/* 1) Cena – menší, neutrální barva */
.p-detail .prices,
.p-detail .price-final strong,
.p-detail .price strong {
  color: #111 !important;
}
.p-detail .price-final strong {
  font-size: clamp(20px, 2.6vw, 28px) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 2) Schovej "Tisk" a "Zeptat se" */
.p-detail .links,
.p-detail .print,
.p-detail .question,
.detail-actions .print,
.detail-actions .question {
  display: none !important;
}

/* 3) Layout řádku nákupu: qty + tlačítko v jedné linii */
.p-detail .buy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 4) Moderní vzhled počítadla množství */
.p-detail .count,
.p-detail .amount {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mx-border, rgba(0,0,0,.12));
}
.p-detail .count input[type="number"] {
  width: 64px;
  height: 44px;
  border: 0;
  text-align: center;
  font-weight: 600;
}
.p-detail .count .btn-plus,
.p-detail .count .btn-minus {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--mx-border, rgba(0,0,0,.12));
  background: #fff;
}
.p-detail .count .btn-minus { border-left: 0; border-right: 1px solid var(--mx-border, rgba(0,0,0,.12)); }

/* 5) Tlačítko Add to cart – menší, bez plné šířky */
.p-detail .buy .btn[type="submit"] {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid var(--mx-border, rgba(0,0,0,.12));
  border-radius: 12px;
  padding: 12px 18px !important;
  min-width: 180px;
  width: auto !important;        /* zruší "přes celou šířku" */
  height: 44px;
  font-size: 14px !important;
  font-weight: 700;
  box-shadow: none !important;
}
.p-detail .buy .btn[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* 6) Schovej defaultní titulek "Zvolte variantu" (nechceme jej) */
.p-detail .variants .name,
.p-detail .choose-variant-title,
.p-detail .variant-label {
  display: none !important;
}

/* 7) Náš vlastní popisek "Quantity" (vloží JS – zde jen styl) */
.mx-qty-label {
  font-weight: 600;
  margin-right: 6px;
}
/* pojistky navíc */
.p-detail .buy { justify-content: flex-start; }                /* zarovnání vlevo */
.p-detail .buy .btn { width: auto !important; }                /* někdy šablona cpe 100% šířku */
.p-detail .count input[type="number"] { min-width: 64px; }     /* na menších tel. drž šířku inputu */

/* ==== PRODUCT DETAIL — PRICE, LAYOUT, BUTTON ==== */

/* 1) Cena menší a bez modré */
.p-price-wrapper .price-final,
.p-price-wrapper .price-final strong,
.p-detail .price-final,
.p-detail .price-final strong {
  color: #111 !important;
  font-size: clamp(20px, 2.6vw, 28px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

/* 2) Řádek nákupu: Quantity + tlačítko vedle sebe (a hezky se láme) */
.p-to-cart-block .add-to-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 3) Moderní vzhled quantity */
.p-to-cart-block .quantity {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.p-to-cart-block .quantity input.amount[type="number"] {
  width: 64px;
  min-width: 64px;
  height: 44px;
  border: 0;
  text-align: center;
  font-weight: 600;
  appearance: textfield;
}
.p-to-cart-block .quantity input.amount::-webkit-outer-spin-button,
.p-to-cart-block .quantity input.amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p-to-cart-block .quantity .increase,
.p-to-cart-block .quantity .decrease {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0;
}
.p-to-cart-block .quantity .increase { border-left: 1px solid rgba(0,0,0,.14); }
.p-to-cart-block .quantity .decrease { border-right: 1px solid rgba(0,0,0,.14); }

/* 4) Tlačítko Add to cart – menší, bez 100% šířky */
.add-to-cart-button {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  min-width: 180px;
  width: auto !important;
  height: 44px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.add-to-cart-button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15) }

/* 5) Schovej české „Zvolte variantu“ (v availability) */
.detail-parameter-availability .parameter-dependent.default-variant { display: none !important; }

/* 6) Schovej „Zeptat se“ (a případně „Tisk“) */
.link-icons .chat,
.link-icons .print { display: none !important; }

/* 7) Schovej celý řádek pod košíkem se „Sdílet“ (Tisk a Zeptat se už jsou skryté výš) */
.p-detail .social-buttons-wrapper { display: none !important; }

/* ==== DESCRIPTION TABS ==== */

/* 7) Odstranění stínů/pozadí tab bloku */
.full-width.p-detail-full-width,
.container-full-width,
.shp-tabs-wrapper.p-detail-tabs-wrapper,
.shp-tabs-holder,
.p-detail-tabs,
#tab-content,
.tab-content {
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
}

/* 8) Trochu modernější typografie záložek */
.p-detail-tabs a.shp-tab-link {
  font-weight: 600;
  letter-spacing: .02em;
}
/* 1) Quantity = stejná velikost jako "Color" */
.mx-qty-label{
  font-weight:600;
  font-size:14px;          /* jako .mx-variants__label */
  letter-spacing:.02em;
  margin-right:6px;
}

/* 2) Vizuál quantity: žádné pozadí ani linky u +/-; jen při stisku */
.p-to-cart-block .quantity{
  display:inline-flex; align-items:center; gap:0;
  border:1px solid rgba(0,0,0,.14); border-radius:12px; overflow:hidden; background:#fff;
}
.p-to-cart-block .quantity .increase,
.p-to-cart-block .quantity .decrease{
  width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  background:transparent; border:0; box-shadow:none;
}
.p-to-cart-block .quantity .increase__sign,
.p-to-cart-block .quantity .decrease__sign{ line-height:1; }
.p-to-cart-block .quantity input.amount[type="number"]{
  width:64px; min-width:64px; height:44px; border:0; text-align:center; font-weight:600;
  appearance:textfield;
}
.p-to-cart-block .quantity input.amount::-webkit-outer-spin-button,
.p-to-cart-block .quantity input.amount::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* klik efekt a přístupnost */
.p-to-cart-block .quantity .increase:active,
.p-to-cart-block .quantity .decrease:active{ background:rgba(0,0,0,.06); }
.p-to-cart-block .quantity .increase:focus-visible,
.p-to-cart-block .quantity .decrease:focus-visible{ outline:2px solid #111; outline-offset:2px; }

/* 3) Cena – velikost + univerzální styly (JS ji přesune pod title) */
.p-price-wrapper .price-final,
.p-price-wrapper .price-final strong{ color:#111 !important; font-size:clamp(20px,2.6vw,28px) !important; font-weight:700 !important; letter-spacing:-.01em; }

/* 4) Pravý blok trochu níž (jen desktop/tablet) */
@media (min-width:768px){
  #product-detail-form{ margin-top:16px; }
}

/* 5) Tabs: odstraň box-shadow/backg. (když by téma něco doplňovalo) */
.full-width.p-detail-full-width,
.container-full-width,
.shp-tabs-wrapper.p-detail-tabs-wrapper,
.shp-tabs-holder,
.p-detail-tabs,
#tab-content,.tab-content{
  box-shadow:none !important; background:transparent !important; border:0 !important;
}

/* 8) Diskuze u produktu: stejný styl jako sekce Details, pole a tlačítka jako zbytek webu */
#productDiscussion .discussion-wrapper > h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 24px; }
#productDiscussion .discussionContainer { border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 24px; background: #fff; }
#productDiscussion .discussionContainer > p { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
#productDiscussion .discussionContainer > p.helpNote { margin: 0; font-size: 14px; font-weight: 400; color: #6b6b6b; }
#productDiscussion .helpNote a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
#productDiscussion .add-comment { margin-top: 16px; }
#productDiscussion .add-comment .btn { background: #fff; color: #111; border: 1px solid #111; border-radius: 12px; padding: 10px 18px; font-size: 14px; font-weight: 600; }
#productDiscussion .add-comment .btn:hover { background: #111; color: #fff; }
#productDiscussion form.discussion-form { max-width: 560px; margin-top: 20px; }
#productDiscussion .form-legend { font-size: 12px; font-weight: 400; color: #6b6b6b; margin: 0 0 12px; }
#productDiscussion .form-group { margin-bottom: 16px; }
#productDiscussion .form-group > label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
#productDiscussion .form-control { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid rgba(0,0,0,.15); border-radius: 10px; background: #fff; color: #111; font-size: 15px; font-weight: 400; box-shadow: none; }
#productDiscussion textarea.form-control { min-height: 140px; }
#productDiscussion .form-control:focus { border-color: #111; outline: none; }
#productDiscussion .consents .label { font-size: 12px; font-weight: 400; color: #6b6b6b; }
#productDiscussion .consents .label a { color: #111; text-decoration: underline; }
#productDiscussion button[type="submit"].btn { background: #111; color: #fff; border: 1px solid #111; border-radius: 12px; padding: 12px 20px; font-size: 14px; font-weight: 600; height: auto; }

/* 9) Dostupnost varianty (návrh C): tečka + text, pod tím vysvětlení; bez počtu kusů */
.detail-parameter-availability .availability-amount { display: none !important; }
.detail-parameter-availability .mx-avail { display: inline-flex; align-items: center; gap: 8px; color: #111 !important; font-size: 14px; font-weight: 600; }
.detail-parameter-availability .mx-avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #111; flex: 0 0 auto; }
.detail-parameter-availability .mx-avail--instock::before { background: #6b6f52; }
.detail-parameter-availability .mx-avail--soldout::before { background: #b5b5b5; }
.detail-parameter-availability .mx-avail-note { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: #555; }

/* 10) Detail produktu po vzoru Mura (rozložení dělá mx-variants.js, část 7) */
.type-detail #tab-content > #description.mx-hidden { display: none !important; }
.p-data-wrapper.mx-desc-moved .p-short-description { display: none !important; }
/* popis v pravém sloupci; odrážky jako lehký seznam s pomlčkami */
.mx-desc { margin: 8px 0 24px; }
.mx-desc p { margin: 0 0 14px; color: rgba(17,17,17,.75); font-size: 15px; font-weight: 400; line-height: 1.65; }
.mx-desc ul { list-style: none; margin: 4px 0 0; padding: 0; }
.mx-desc li { position: relative; margin: 0 0 6px; padding-left: 20px; color: rgba(17,17,17,.75); font-size: 15px; line-height: 1.55; }
.mx-desc li::before { content: "–"; position: absolute; left: 0; color: #9a9a9a; }
.mx-desc li::first-letter { text-transform: uppercase; }

/* bloky fotka + text pod produktem (střídají se strany); přerušované linky = „prošití“ */
.mx-story { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: center; max-width: 1100px; margin: 72px auto; padding: 0 20px; }
.mx-story + .mx-story { margin-top: 0; }
.mx-story--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.mx-story--reverse .mx-story__img { order: 2; }
.mx-story__img { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; background: #eee; }
.mx-story__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mx-story__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.mx-story__img.is-playing video { opacity: 1; }
.mx-story__title { margin: 0 0 16px; font-size: 28px !important; font-weight: 700; line-height: 1.2; }
.mx-story__lead { margin: 0 0 12px !important; color: #111 !important; font-size: 19px !important; font-weight: 500; line-height: 1.45 !important; }
.mx-story__text p { margin: 0 0 20px; color: rgba(17,17,17,.75); font-size: 16px; line-height: 1.65; }
.mx-story__link { color: #111; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mx-made__list { list-style: none; margin: 0; padding: 0; counter-reset: mx; }
.mx-made__list li { display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; counter-increment: mx; background: repeating-linear-gradient(90deg,#c9c9c9 0 7px,transparent 7px 13px) top left / 100% 1.5px no-repeat; }
.mx-made__list li:last-child { background: repeating-linear-gradient(90deg,#c9c9c9 0 7px,transparent 7px 13px) top left / 100% 1.5px no-repeat, repeating-linear-gradient(90deg,#c9c9c9 0 7px,transparent 7px 13px) bottom left / 100% 1.5px no-repeat; }
.mx-made__list li::before { content: counter(mx, decimal-leading-zero); grid-row: span 3; padding-top: 2px; color: #9a9a9a; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.mx-made__list strong { color: #111; font-size: 16px; font-weight: 600; }
.mx-made__list span { margin-top: 3px; color: #666; font-size: 15px; line-height: 1.55; }
.mx-made__list a { justify-self: start; margin-top: 10px; color: #111; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .mx-story { grid-template-columns: 1fr; gap: 24px; margin: 48px auto; }
  .mx-story--reverse { grid-template-columns: 1fr; }
  .mx-story--reverse .mx-story__img { order: 0; }
  .mx-story__img { aspect-ratio: 4 / 3; }
  .mx-story__title { font-size: 24px !important; }
}
