/* =========================================================
   bicykle.schwabik.sk: PREDOBJEDNÁVKY (všetky štýly v jednom súbore)
   FTP: /user/documents/upload/disco_template_customization/predobjednavky.css
   Skript: predobjednavky.js
   Po každej zmene zvýšiť ?v= v odkaze v HTML kódoch (Záhlavie).

   Obsah
   1. Stránka /predobjednavky/ (všetko pod .sch-preorder;
      rovnaké štýly používa aj obsah záložky na detaile)
   2. Detail produktu: oznam (.preorder-notice)
   3. Detail produktu: záložka Predobjednávka (#preorderInfo)
   4. Detail produktu: tlačidlá záloha / celá suma (.sch-dep)
   5. Košík a pokladňa: box s rezerváciou (.sch-dep-box)
   6. Skrytie zálohových produktov na celom webe

   Tokeny: dizajn systém Bicykle Schwabik
   ========================================================= */


/* =========================================================
   1. STRÁNKA /predobjednavky/
   ========================================================= */

.sch-preorder {
  --sch-ink: #1f1f1f;
  --sch-primary: #3c3c3c;
  --sch-muted: #666666;
  --sch-border: #dadada;
  --sch-surface: #f6f6f6;
  --sch-brand: #ffb700;
  --sch-brand-hover: #e6a500;
  --sch-space: clamp(48px, 6vw, 72px);
  color: var(--sch-ink);
  font-size: 16px;
  line-height: 1.7;
}
.sch-preorder *,
.sch-preorder *::before,
.sch-preorder *::after { box-sizing: border-box; }
/* #content: Shoptet dáva odstavcom v článku margin-bottom 22px s vyššou prioritou */
#content .sch-preorder p,
#content .sch-preorder h2,
#content .sch-preorder h3,
#content .sch-preorder ul,
#content .sch-preorder ol,
#content .sch-preorder figure,
#content .sch-preorder table { margin: 0; }
.sch-preorder img { display: block; max-width: 100%; border-radius: 0; }
.sch-preorder [hidden] { display: none !important; }

/* --- spoločné --- */
.sch-preorder .sch-h2 {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 0.4vw + 20.5px, 26px);
  line-height: 1.2;
  color: var(--sch-ink);
}
.sch-preorder .sch-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--sch-muted);
}
.sch-preorder .sch-chip {
  align-self: flex-start;
  padding: 5px 10px;
  background: #fff;
  color: var(--sch-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.sch-preorder .sch-chip--brand { background: var(--sch-brand); }
.sch-preorder .sch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 25px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 0;
}
.sch-preorder .sch-btn--brand { background: var(--sch-brand); border: 1px solid var(--sch-brand); color: var(--sch-ink); }
.sch-preorder .sch-btn--brand:hover,
.sch-preorder .sch-btn--brand:focus { background: var(--sch-brand-hover); border-color: var(--sch-brand-hover); color: var(--sch-ink); }
.sch-preorder .sch-btn--outline { background: #fff; border: 1px solid var(--sch-primary); color: var(--sch-ink); }
.sch-preorder .sch-btn--outline:hover,
.sch-preorder .sch-btn--outline:focus { background: var(--sch-ink); border-color: var(--sch-ink); color: #fff; }
.sch-preorder .sch-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: var(--sch-space) 0;
  border-top: 1px solid var(--sch-border);
  scroll-margin-top: 100px;
}
.sch-preorder .sch-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  color: var(--sch-primary);
}
.sch-preorder .sch-head--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  max-width: none;
}
.sch-preorder .sch-head--row > div { display: flex; flex-direction: column; gap: 8px; }
.sch-preorder .sch-more { font-weight: 700; color: var(--sch-ink); }
.sch-preorder .sch-small { font-size: 15px; color: var(--sch-primary); }
#content .sch-preorder .sch-small { margin-top: 8px; }
.sch-preorder .sch-small a { color: var(--sch-ink); font-weight: 700; }
.sch-preorder .sch-split {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-start;
}
.sch-preorder .sch-split__side {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--sch-primary);
}
.sch-preorder .sch-split__main { flex: 3 1 min(100%, 520px); min-width: 0; }

/* --- 1. hero --- */
.sch-preorder .sch-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 20px;
  align-items: center;
}
.sch-preorder .sch-hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 8px clamp(0px, 3vw, 32px) 8px 0;
}
.sch-preorder .sch-lead {
  font-size: clamp(16px, 0.4vw + 14.5px, 18px);
  line-height: 1.6;
  color: var(--sch-primary);
}
.sch-preorder .sch-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.sch-preorder .sch-bullets li {
  position: relative;
  margin: 0;
  padding: 0 0 0 38px;
}
.sch-preorder .sch-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  background: var(--sch-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
}
.sch-preorder .sch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}
.sch-preorder .sch-hero__img {
  position: relative;
  min-width: 0;
  height: clamp(220px, 28vw, 330px);
  overflow: hidden;
  background: var(--sch-surface);
}
.sch-preorder .sch-hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}

/* --- 2. garancie --- */
.sch-preorder .sch-guarantees-wrap { padding: 20px 0 var(--sch-space); }
.sch-preorder .sch-guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 2vw, 20px);
  padding: 0;
  list-style: none;
}
.sch-preorder .sch-guarantee {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 24px;
  background: var(--sch-surface);
}
.sch-preorder .sch-guarantee::before {
  content: "";
  margin: 0;
  width: 30px;
  height: 30px;
  background: no-repeat center / contain;
}
.sch-preorder .sch-guarantee--money::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v4.5h4.5'/%3E%3Cpath d='M14.5 9.5a2.8 2.8 0 1 0 0 5'/%3E%3Cpath d='M10 11.2h4M10 12.8h4'/%3E%3C/svg%3E"); }
.sch-preorder .sch-guarantee--size::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='8' width='19' height='8' rx='1'/%3E%3Cpath d='M6.5 8v3M10.5 8v4M14.5 8v3M18.5 8v4'/%3E%3C/svg%3E"); }
.sch-preorder .sch-guarantee--return::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.sch-preorder .sch-guarantee--warranty::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.sch-preorder .sch-guarantee h3 {
  display: flex;
  align-items: flex-end;
  min-height: 2.6em;
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 0.2vw + 16.2px, 18px);
  line-height: 1.3;
  color: var(--sch-ink);
}
.sch-preorder .sch-guarantee p { font-size: 15px; line-height: 1.5; color: var(--sch-primary); }

/* --- 3. postup v 7 krokoch --- */
.sch-preorder .sch-steps {
  display: flex;
  flex-direction: column;
  padding: 0;
  list-style: none;
}
.sch-preorder .sch-step {
  position: relative;
  display: flex;
  gap: 20px;
  margin: 0;
}
.sch-preorder .sch-step::before {
  content: "";
  margin: 0;
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--sch-border);
}
.sch-preorder .sch-step:last-child::before { content: none; }
.sch-preorder .sch-step__num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--sch-ink);
  color: #fff;
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.sch-preorder .sch-step:last-child .sch-step__num { background: var(--sch-brand); color: var(--sch-ink); }
.sch-preorder .sch-step__body {
  flex: 1;
  min-width: 0;
  padding: 8px 0 32px;
  color: var(--sch-primary);
}
.sch-preorder .sch-step:last-child .sch-step__body { padding-bottom: 0; }
.sch-preorder .sch-step__body strong { color: var(--sch-ink); }
#content .sch-preorder .sch-step h3 {
  margin: 0 0 6px;
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 0.2vw + 17.2px, 20px);
  line-height: 1.25;
  color: var(--sch-ink);
}
#content .sch-preorder .sch-shot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.sch-preorder .sch-shot img { width: 100%; height: auto; border: 1px solid var(--sch-border); }
.sch-preorder .sch-shot figcaption { font-size: 14px; line-height: 1.45; color: var(--sch-muted); }

/* --- 4. platba --- */
.sch-preorder .sch-pay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  align-items: stretch;
}
.sch-preorder .sch-pay__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--sch-surface);
  color: var(--sch-primary);
}
.sch-preorder .sch-pay__card--featured {
  background: #fff;
  border: 2px solid var(--sch-ink);
  padding: clamp(20px, 3vw, 30px);
}
.sch-preorder .sch-pay__title {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--sch-ink);
}
.sch-preorder .sch-pay__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
  background: transparent;
}
.sch-preorder .sch-pay__table th,
.sch-preorder .sch-pay__table td {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--sch-border);
  background: transparent;
  color: var(--sch-ink);
  text-align: right;
}
.sch-preorder .sch-pay__table th:first-child,
.sch-preorder .sch-pay__table td:first-child { text-align: left; }
.sch-preorder .sch-pay__table th { font-size: 14px; font-weight: 400; color: var(--sch-muted); }
.sch-preorder .sch-pay__table tbody tr:last-child td { border-bottom: 0; }
.sch-preorder .sch-pay__methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--sch-border);
}
.sch-preorder .sch-pay__methods ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.sch-preorder .sch-method {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--sch-border);
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
  color: var(--sch-ink);
}
.sch-preorder .sch-method::before {
  content: "";
  margin: 0;
  flex: none;
  width: 18px;
  height: 18px;
  background: no-repeat center / contain;
}
.sch-preorder .sch-method--card::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='1'/%3E%3Cpath d='M2.5 10h19M6 15h4'/%3E%3C/svg%3E"); }
.sch-preorder .sch-method--bank::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16M4 10l8-6 8 6M6 10v8M10 10v8M14 10v8M18 10v8M3 20h18'/%3E%3C/svg%3E"); }
.sch-preorder .sch-method--cash::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='1'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); }
.sch-preorder .sch-method--credit::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16M6 16V9M10 16V6M14 16v-4M18 16V8'/%3E%3C/svg%3E"); }

/* --- 5. časté otázky --- */
.sch-preorder .sch-faq { border-top: 1px solid var(--sch-border); }
.sch-preorder .sch-faq details { border-bottom: 1px solid var(--sch-border); }
.sch-preorder .sch-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 18px 0;
  font-weight: 700;
  font-size: clamp(16px, 0.2vw + 15.2px, 17px);
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.sch-preorder .sch-faq summary::-webkit-details-marker { display: none; }
.sch-preorder .sch-faq summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sch-preorder .sch-faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
#content .sch-preorder .sch-faq details p { margin: 0 clamp(0px, 3vw, 40px) 20px 0; color: var(--sch-primary); }

/* --- 6. bicykle na predobjednávku (plní predobjednavky.js) --- */
.sch-preorder .sch-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.sch-preorder .sch-products:empty { display: none; }
.sch-preorder .sch-product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sch-border);
  background: #fff;
  color: var(--sch-ink);
  text-decoration: none;
  transition: border-color .15s;
}
.sch-preorder .sch-product:hover { border-color: var(--sch-ink); color: var(--sch-ink); }
.sch-preorder .sch-product__img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 12px;
  background: #fff;
}
.sch-preorder .sch-product__img img { width: 100%; height: 100%; object-fit: contain; }
.sch-preorder .sch-product__flag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 8px;
  background: var(--sch-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.sch-preorder .sch-product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
  border-top: 1px solid var(--sch-border);
}
.sch-preorder .sch-product__name { font-size: 16px; line-height: 1.4; }
.sch-preorder .sch-product__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--sch-muted);
}
.sch-preorder .sch-product__date::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sch-preorder .sch-product__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 6px;
}
.sch-preorder .sch-product__price { font-size: 20px; font-weight: 700; line-height: 1.4; }
.sch-preorder .sch-product__deposit { font-size: 14px; line-height: 1.45; color: var(--sch-primary); }
.sch-preorder .sch-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 32px;
  background: var(--sch-surface);
  color: var(--sch-primary);
  text-align: center;
}
.sch-preorder .sch-empty::before {
  content: "";
  width: 44px;
  height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='16.5' r='3.5'/%3E%3Ccircle cx='18.5' cy='16.5' r='3.5'/%3E%3Cpath d='M5.5 16.5l4-8h5l4 8M9.5 8.5l3 8h-7'/%3E%3Cpath d='M14 5.5h2.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sch-preorder .sch-empty p { max-width: 520px; font-size: 15px; line-height: 1.5; }
.sch-preorder .sch-empty .sch-empty__title {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--sch-ink);
}
#content .sch-preorder .sch-empty p:last-child { margin-top: 8px; }

/* tlačidlo „Načítať ďalšie“ (vytvára predobjednavky.js) */
.sch-preorder .sch-load-more {
  display: flex;
  justify-content: center;
}
#content .sch-preorder .sch-load-more { margin: 0; }
.sch-preorder .sch-load-more .sch-btn { cursor: pointer; font: inherit; font-weight: 700; }

/* --- 7. tmavý pás --- */
.sch-preorder .sch-band {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--sch-ink);
  color: #dadada;
}
.sch-preorder .sch-band__text { flex: 1 1 min(100%, 380px); min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sch-preorder .sch-band .sch-h2 { color: #fff; }

/* --- mobil --- */
@media (max-width: 600px) {
  .sch-preorder .sch-hero__img { height: 220px; }
  .sch-preorder .sch-actions .sch-btn,
  .sch-preorder .sch-band .sch-btn { width: 100%; }
  .sch-preorder .sch-band p:last-child { width: 100%; }
  .sch-preorder .sch-guarantee h3 { min-height: 0; }
  .sch-preorder .sch-step { gap: 16px; }
  .sch-preorder .sch-pay__title { font-size: 22px; }
  /* bicykle po dvoch vedľa seba */
  .sch-preorder .sch-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sch-preorder .sch-product__img { padding: 8px; }
  .sch-preorder .sch-product__flag { left: 6px; top: 6px; padding: 3px 6px; font-size: 10px; }
  .sch-preorder .sch-product__body { gap: 6px; padding: 12px 12px 14px; }
  .sch-preorder .sch-product__name { font-size: 14px; }
  .sch-preorder .sch-product__date { font-size: 12px; }
  .sch-preorder .sch-product__price { font-size: 17px; }
  .sch-preorder .sch-product__deposit { font-size: 12px; }
  .sch-preorder .sch-load-more .sch-btn { width: 100%; }
}


/* =========================================================
   2. DETAIL PRODUKTU: oznam pred krátkym popisom
   ========================================================= */
.preorder-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0 20px;
  padding: 14px 16px;
  background: #EEF5FC;
  border-left: 4px solid #1976D2;
  border-radius: 4px;
  color: #1F1F1F;
  font-size: 15px;
  line-height: 1.55;
}

.preorder-notice__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: #1976D2;
}

.preorder-notice__title {
  display: block;
  margin-bottom: 2px;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.preorder-notice__text {
  margin: 0;
}

.preorder-notice a {
  color: #1565C0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.preorder-notice a:hover,
.preorder-notice a:focus {
  color: #0D47A1;
}

@media (max-width: 767px) {
  .preorder-notice {
    margin: 12px 0 16px;
    padding: 12px 14px;
    font-size: 14px;
  }
}


/* =========================================================
   3. DETAIL PRODUKTU: záložka Predobjednávka
   Vzhľad obsahu rieši sekcia 1 (.sch-preorder), tu je len
   oprava šírky: šablóna dáva záložkám bez .wide-tab pevnú šírku,
   obsah by nesiahal po pravý okraj sivej plochy.
   ========================================================= */
.type-product #preorderInfo,
.type-product #manufacturerDescription {
  width: 100% !important;
  max-width: 100% !important;
}


/* =========================================================
   4. DETAIL PRODUKTU: tlačidlá záloha / celá suma (.sch-dep)
   Pôvodné tlačidlo Do košíka skryje trieda body.sch-dep-on.
   ========================================================= */
.sch-dep {
  --ink: #1f1f1f;
  --primary: #3c3c3c;
  --muted: #666;
  --border: #dadada;
  --surface: #f6f6f6;
  --brand: #ffb700;
  --brand-hover: #e6a500;
  display: grid;
  gap: 10px;
  margin: 16px 0 8px;
  font-family: Roboto, sans-serif;
  color: var(--ink);
  /* vždy celý riadok pod cenou a počtom kusov (.p-to-cart-block je flex so zalamovaním) */
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.sch-dep__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 60px;
  padding: 10px 16px;
  border-radius: 4px;
  font: 700 16px/1.25 Roboto, sans-serif;
  cursor: pointer;
  text-align: center;
  transition: background .15s, border-color .15s;
}
.sch-dep__btn small {
  font-weight: 400;
  font-size: 13px;
}
.sch-dep__btn--deposit {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: var(--ink);
}
.sch-dep__btn--deposit:hover,
.sch-dep__btn--deposit:focus-visible {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.sch-dep__btn--full {
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--ink);
}
.sch-dep__btn--full:hover,
.sch-dep__btn--full:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.sch-dep__btn[disabled] {
  opacity: .6;
  cursor: wait;
}
.sch-dep__or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.sch-dep__or:before,
.sch-dep__or:after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--border);
}
.sch-dep__error {
  margin: 0;
  padding: 8px 12px;
  border-radius: 4px;
  background: #fdecea;
  color: #8a1c12;
  font-size: 14px;
}
body.sch-dep-on .p-to-cart-block > .add-to-cart-button {
  display: none !important;
}


/* =========================================================
   5. KOŠÍK a POKLADŇA: box s rezerváciou (.sch-dep-box)
   a bicykel pod položkou „Záloha …“ (.sch-dep-bike)
   ========================================================= */
.sch-dep-box {
  margin: 0 0 20px;
  padding: 16px 20px;
  border: 1px solid #dadada;
  border-radius: 6px;
  background: #f6f6f6;
  font-family: Roboto, sans-serif;
  color: #1f1f1f;
}
.sch-dep-box h2,
.sch-dep-box strong.sch-dep-box__title {
  display: block;
  margin: 0 0 8px;
  font: 700 18px/1.3 Poppins, Roboto, sans-serif;
}
.sch-dep-box ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.sch-dep-box li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid #dadada;
  font-size: 15px;
  line-height: 1.5;
}
.sch-dep-box li:first-child {
  border-top: 0;
}
.sch-dep-box .sch-dep-box__dep {
  text-align: right;
  white-space: nowrap;
}
.sch-dep-box .sch-dep-box__dep b {
  font-size: 16px;
}
.sch-dep-box .sch-dep-box__dep small {
  display: block;
  font-size: 13px;
  color: #666;
}
.sch-dep-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3c3c3c;
}
.sch-dep-box .sch-dep-box__sum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 24px;
  margin: 6px 0 8px;
  padding-top: 8px;
  border-top: 1px solid #dadada;
  font-size: 15px;
  color: #1f1f1f;
}
.sch-dep-box .sch-dep-box__sum b {
  text-align: right;
  font-size: 16px;
}
/* Cena spolu: rovnaká veľkosť ako riadky nad ňou, tučne, linka nad ňou */
.sch-dep-box .sch-dep-box__total {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #1f1f1f;
  font-weight: 700;
  font-size: 15px;
  color: #1f1f1f;
}
.sch-dep-box .sch-dep-box__total b {
  font-size: 16px;
}
@media (max-width: 480px) {
  .sch-dep-box li {
    grid-template-columns: 1fr;
  }
  .sch-dep-box .sch-dep-box__dep {
    text-align: left;
  }
  .sch-dep-box .sch-dep-box__dep small {
    display: inline;
    margin-left: 6px;
  }
}
.sch-dep-bike {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: #3c3c3c;
}
.sch-dep-bike--summary {
  flex: 0 0 100%;
  order: 99;
  margin-top: 4px;
}


/* =========================================================
   6. SKRYTIE ZÁLOHOVÝCH PRODUKTOV NA CELOM WEBE
   Kategória /zalohy/ a produkty /zaloha-…/ musia v Shoptete ostať
   viditeľné (inak sa nedajú vložiť do košíka). Ak sa zmení URL,
   zmeniť aj DEPOSIT_CATEGORY v predobjednavky.js.
   .sch-dep-hidden používa aj pokladňa (skryté platby).
   ========================================================= */
.sch-dep-hidden {
  display: none !important;
}
/* položka kategórie v menu, karty vo výpisoch, našepkávač
   (samostatné pravidlo: prehliadač bez :has() ho celé ignoruje,
   vtedy skrýva skript) */
li:has(> a[href$="/zalohy/"]),
.product:has(a[href*="/zaloha-"]),
.searchWhisperer__products__listItem:has(a[href*="/zaloha-"]),
.search-whisperer li:has(a[href*="/zaloha-"]) {
  display: none !important;
}
