/* static/style.css – kompletní soubor */

/* 1) Globální reset a základní layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.4px;
  color: #333;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  position: relative;           /* kvůli absolutní pozici košíku na mobilu */
}

/* Hláška "Doba doručení" uprostřed hlavičky */
.header-message {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-family: 'Inter', sans-serif !important; /* ➜ OPRAVA – správný font */
  font-size: 14px;      
  font-weight: 600;     
  color: #000;

  text-align: center;
  white-space: nowrap;  
}

.header-message i {
  font-size: 18px;
  font-weight: 400; /* jemnější, modernější ikona */
}

 

/* Nadpis menší o 15 % + elegantní linka pod ním */
.related-products h2 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;          /* původně 24px */
  font-weight: 700;
  margin-bottom: 28px;
  color: #000;
  position: relative;
}

.related-products h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #000;
  margin-top: 6px;
  border-radius: 2px;
}

/* Grid – karty menší o ~15 %, ale bez ořezání obrázků */
.related-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* Wrapper pro obrázek (estetické zakulacení) */
.related-thumb {
  border-radius: 12px;
  overflow: hidden;
}

/* Obrázek – NE OŘEZÁVAT! zachovat poměr → ostré miniatury */
.related-thumb img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  transition: transform .25s ease;
}

/* Jemný 3% hover efekt */
.related-item:hover .related-thumb img {
  transform: scale(1.03);
}

/* Text pod obrázkem – čisté, moderní */
.rel-name {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 2px;
  color: #000;
}

.rel-price {
  font-size: 13px;
  opacity: 0.75;
  color: #000;
}

/* Základní styl pro odkaz */
.related-item {
  text-decoration: none;
  color: inherit;
  text-align: left;
}

/* Desktop – větší nápis v hlavičce (+20 %) */
@media (min-width: 601px) {
  .header-message {
    font-size: 17px;
  }
}


/* ==== PATIČKA 2026 – provozovatel + rychlá komunikace ==== */
footer {
  margin-top: auto;
  background: #000;
  color: #fff;
  font-size: 13px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

/* textové odkazy (O nás, Privacy, Terms, Reklamace) */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* blok s provozovatelem */
.footer-operator {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.9;
}
.footer-operator a {
  color: inherit;
  text-decoration: underline;
}

/* rychlá komunikace + ikony pod sebou */
.footer-social-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* nápis "Rychlá komunikace:" / "Quick contact:" */
.footer-social-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

/* samotné ikony */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social i {
  font-size: 18px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.15s ease;
  color: #fff;
}
.footer-social a:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

/* mobil – trochu větší mezery */
@media (max-width: 600px) {
  .footer-inner {
    padding: 12px 12px 18px;
  }
}

/* desktop – lehce rozprostřít do řádku, ale pořád clean */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-operator {
    text-align: center;
  }

  .footer-social-block {
    align-items: flex-end;
    text-align: right;
  }
}


/* 2) Logo a košík */
header .logo img {
  height: 150px;
}

.cart-wrapper {
  position: relative;
  cursor: pointer;
}

/* Ikona tašky */
.cart-icon {
  width: 100px;
}

/* Badge s počtem kusů */
.cart-count {
  position: absolute;
  top: -0.5px;
  right: -0.5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  z-index: 300;
}

/* === MODERNÍ KOŠÍK DROPDOWN === */
.cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-height: 420px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eee;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  display: none;
  z-index: 300;
}
.cart-wrapper.open .cart-dropdown {
  display: block;
}

/* Hlavička uvnitř košíku */
.cart-dropdown h2 {
  margin: 0;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #f1f1f1;
}

/* Seznam položek */
.cart-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}

/* Jedna položka v košíku */
.cart-item {
  display: flex;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  gap: 10px;
  align-items: flex-start;
}
.cart-item img {
  width: 50px;
  border-radius: 4px;
  flex-shrink: 0;
}
.cart-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cart-item-content .name {
  font-weight: 700;
  font-size: 14px;
}
.cart-item-content .price {
  font-weight: 700;
  font-size: 14px;
}
.cart-item-content .details {
  font-size: 12px;
  color: #555;
}

/* "Odebrat" – textové tlačítko vpravo */
.remove-btn {
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  color: #000;
  opacity: 0.6;
}
.remove-btn:hover {
  opacity: 1;
}

/* Tlačítko "Pokračovat k pokladně" */
.proceed-btn {
  display: block;
  width: calc(100% - 36px);
  margin: 10px auto 12px;
  padding: 11px 0;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.proceed-btn:hover {
  background: #111;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}
.proceed-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Mobil: logo na střed, text pod logo, košík nahoře vpravo + dropdown přes šířku */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 32px;
  }
  .header-message {
    order: 2;
    font-size: 12px;
    padding: 0 16px 4px;
    white-space: normal;
    line-height: 1.3;
  }
  .cart-wrapper {
    position: absolute !important;
    top: 16px;
    right: 16px;
  }
  .cart-dropdown {
    position: fixed;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    top: 96px;
    max-height: 70vh;
    border-radius: 16px;
  }
}

/* 3) Grid produktů na titulní stránce – minimalistický layout */
.products-container {
  max-width: 1200px;
  margin: 0 auto 120px;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 60px 40px;
}
.product {
  text-align: left;
}
.product-link {
  display: block;
  text-decoration: none;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.product-image {
  width: 100%;
  height: auto;
  display: block;
}

/* text pod fotkou */
.product-meta {
  margin-top: 18px;
}

.product-name {
  font-family: "Roboto", sans-serif;
  font-size: 18px;         /* menší na indexu */
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 6px 0 2px;
}
.product-price {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
  margin-bottom: 4px;
}
.product-detail-link {
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-top: 6px;
  opacity: 0.7;
}

/* Extra malé zařízení (telefony) – karty */
@media (max-width: 600px) {
  .products-container {
    padding: 24px 16px 64px;
    gap: 40px 24px;
    grid-template-columns: 1fr;
  }
  .product-name {
    font-size: 20px;
    letter-spacing: 0.06em;
  }
  .product-price {
    font-size: 15px;
  }
  .product-buttons {
    margin-top: 15px;
  }
}

@media (max-width: 1024px) {
  .products-container {
    grid-template-columns: 1fr;
  }
}

/* 4) DETAIL PRODUKTU – základ */
.product-detail {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px;
  gap: 48px;
}
.product-detail-images {
  flex: 1 1 700px;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.product-detail-images img {
  width: clamp(288px, 36vw, 512px);
  height: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* šipky v detailu – NEPOUŽÍVÁME */
.product-detail-images .arrow {
  display: none !important;
}

/* sloupec s textem vpravo – stabilní šířka */
.product-detail-info {
  flex: 0 0 380px;
  max-width: 420px;
}

/* texty v detailu – základ */
.product-detail-info .product-name {
  font-size: 32px;
  margin-bottom: 8px;
}
.product-detail-info .product-price {
  font-size: 24px;
  margin-bottom: 16px;
}
.product-detail-info .product-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}
/* ČERNÉ MODERNÍ TLAČÍTKO – použito v detailu produktu */
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  border: 1px solid #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease,
              transform 0.1s ease, box-shadow 0.15s ease;
  text-transform: none;
}

.buy-btn:hover {
  background: #111;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.buy-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Mobil / tablet: vše pod sebe a zarovnat doprostřed */
@media (max-width: 900px){
  .product-detail {
    gap: 24px;
    padding: 24px 16px;
  }
  .product-detail-images {
    justify-content: center;
  }
  .product-detail-images img {
    width: min(92vw, 520px);
  }
  .product-detail-info {
    flex: 1 1 100%;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
  }
  .product-detail .product-buttons {
    justify-content: center;
  }
}

/* --- produktový detail: mobilní řazení a akordeon --- */
@media (max-width: 600px) {
  .product-detail-images .img-a {
    display: none !important;
  }
  .product-detail-images {
    display: block;
    text-align: center;
  }
  .product-detail-images img {
    display: block;
    margin: 0 auto 10px;
    max-width: 90%;
    height: auto;
  }
}

/* Akordeon se dvěma vodorovnými čárami (kliknutelná plocha mezi čárami) */
.accordion {
  margin-top: 8px;
}
.accordion-toggle {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  outline: none;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: left;
}
.accordion-bottom-line {
  height: 1px;
  background: #dcdcdc;
}
.accordion-content {
  padding: 14px 0 8px;
  line-height: 1.5;
}
.accordion-content .product-description {
  color: #666;
  margin-bottom: 12px;
}

/* Obrázek uvnitř akordeonu – A/C */
.accordion-image-a,
.accordion-image-c {
  display: block;
  width: min(520px, 95%);
  height: auto;
  margin: 8px auto 0;
}

/* FIX: aby akordeon nebyl tlačený dolů */
.product-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  min-height: auto !important;
  gap: 12px;
}
.product-buttons,
.accordion {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.accordion { margin-top: 8px !important; }
.accordion-toggle { padding: 10px 0 !important; }

/* DESKTOP LAYOUT (PC) – detail */
@media (min-width: 901px) {
  .product-detail {
    display: grid !important;
    grid-template-columns: minmax(1120px, 1fr) 480px;
    align-items: start;
    gap: 64px;
    max-width: 1500px;
    width: 95vw;
    margin: 48px auto !important;
  }
  .product-detail-images {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
    align-items: flex-start;
  }
  .product-detail-images .img-a { display: none !important; }
  .product-detail-images .img-b { order: 1; }
  .product-detail-images .img-c { order: 2; }

  .product-detail-images img,
  .product-detail-image {
    flex: 0 0 auto !important;
    width: 540px !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
  }

  .product-detail-info {
    justify-self: end;
    width: 480px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* velké písmo jen v detailu, ne na indexu */
  .product-detail-info .product-name  {
    font-size: 40px;
    font-weight: 800;
    margin: 0;
  }
  .product-detail-info .product-price {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
  }

  .product-detail-info > .product-description {
    display: none !important;
  }

  .product-detail {
    margin-top: 0 !important;
  }
}

/* „+“ vpravo, po rozbalení „–“ */
.accordion-toggle::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
}
.accordion-toggle[aria-expanded="true"]::after {
  content: '–';
}

/* Mobil: trošku víc místa vedle + */
@media (max-width: 600px) {
  .accordion-toggle {
    font-size: 16px;
    line-height: 1.4;
    padding-right: 36px !important;
  }
  .accordion-toggle::after {
    right: 10px;
    font-size: 22px;
  }
}
/* === SIZE PILLS v produktovém detailu ======================= */
.product-buttons--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

/* místo flexu použijeme grid – 2 řady po 4 */
.size-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(48px, auto));
  gap: 8px;
}

.size-pill {
  min-width: 48px;
  height: 40px;
  padding: 0 10px;
  border-radius: 6px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease,
              box-shadow 0.15s ease, border-color 0.15s ease;
}
.size-pill:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
.size-pill--selected {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* mobil – zarovnat hezky na střed, ale pořád 4×2 */
@media (max-width: 600px) {
  .product-buttons--stacked {
    align-items: center;
  }
  .size-pills {
    justify-items: center;
  }
}


/* 5) Checkout – moderní layout */

.checkout-page main.checkout-main {
  flex: 1;
  padding: 40px 24px 80px;
}

/* Titulek uprostřed, lehce větší */
.checkout-page .checkout-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 28px;
}

/* Dva sloupce: formulář vlevo, rekapitulace vpravo */
.checkout-page .checkout-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
}

/* LEVÝ SLOUPEC – FORMULÁŘ */
.checkout-page .checkout-form {
  flex: 0 0 620px;
  max-width: 620px;
  background: #fff;
  padding: 2rem 2.25rem;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.checkout-page .checkout-form fieldset {
  border: none;
  margin-bottom: 1.75rem;
}

.checkout-page .checkout-form legend {
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.checkout-page .checkout-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.checkout-page .checkout-form label span {
  display: inline-block;
  margin-bottom: 0.25rem;
}

.checkout-page .checkout-form input,
.checkout-page .checkout-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.15s;
}

.checkout-page .checkout-form input:focus,
.checkout-page .checkout-form select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
  background: #fcfcfc;
}

/* terms-fieldset – checkbox + text vedle sebe */
.checkout-page .checkout-form .terms-fieldset {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.checkout-page .checkout-form .terms-fieldset label {
  margin: 0;
}
.checkout-page .checkout-form .terms-fieldset input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: auto;
  height: auto;
  margin-top: 3px;
  cursor: pointer;
}

/* Tlačítko odeslat – použijeme stejné „buy-btn“ DNA */
.checkout-page .checkout-form .buy-btn {
  display: block;
  width: 100%;
  padding: 1rem 0;
  line-height: 1rem;
  background: #000;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}
.checkout-page .checkout-form .buy-btn:hover {
  background: #111;
  transform: translateY(-1px);
}
.checkout-page .checkout-form .buy-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* PRAVÝ SLOUPEC – rekapitulace objednávky (card) */
.checkout-page .order-summary {
  flex: 0 0 360px;
  max-width: 360px;
  background: #fafafa;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
  font-size: 0.95rem;
}

.checkout-page .order-summary h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.checkout-page .order-summary ul {
  list-style: disc inside;
  margin: 0 0 1rem;
  padding-left: 0;
}
.checkout-page .order-summary ul li {
  margin-bottom: 0.4rem;
}

/* řádek s celkovou cenou */
.checkout-page .order-total {
  font-weight: 700;
  text-align: left;
  margin-top: 0.5rem;
}

/* drobný text pod souhrnem (např. doprava zdarma od …) */
.checkout-page .order-summary .hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ZMĚNA: zmenšit text a přidat padding tlačítku "Vyberte pobočku" */
#select-pickup-btn {
  font-size: 0.85rem;
  padding: 0.75rem 1.2rem;
  text-align: center;
}

/* ORDER SUMMARY – mobilní verze (skládací card pod formulářem) */
@media (max-width: 600px) {
  aside.order-summary {
    display: none !important;
  }
  .order-summary--mobile {
    display: block;
    margin: 0.5rem auto 1.25rem !important;
    width: 100%;
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    background: #fafafa;
    font-size: 0.95rem;
  }
}
@media (min-width: 601px) {
  .order-summary--mobile {
    display: none !important;
  }
}

/* RESPONSIVE – tablet / mobil: stacked layout */
@media (max-width: 900px) {
  .checkout-page main.checkout-main {
    padding: 28px 16px 64px;
  }

  .checkout-page .checkout-content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    max-width: 640px;
  }

  .checkout-page .checkout-form,
  .checkout-page .order-summary {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .checkout-page .checkout-form {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

/* ZMĚNA: zmenšit text a přidat padding tlačítku "Vyberte pobočku" */
#select-pickup-btn {
  font-size: 0.85rem;
  padding: 0.75rem 1.2rem;
  text-align: center;
}

/* ORDER SUMMARY – mobilní verze */
@media (max-width: 600px) {
  aside.order-summary {
    display: none !important;
  }
  .order-summary--mobile {
    display: block;
    margin: 0.5rem auto !important;
    width: 100%;
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
}
@media (min-width: 601px) {
  .order-summary--mobile {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .order-summary--mobile h2,
  .order-summary--mobile .order-total {
    font-size: 1rem !important;
  }
}

/* ========================================
   COOKIE CONSENT BANNER – OUTLINE MODERN
   ======================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  z-index: 10000;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

#cookie-banner .cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

/* text vlevo */
#cookie-banner .cookie-content > div:first-child {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

/* tlačítka vpravo */
#cookie-banner .cookie-content > div:last-child {
  display: flex;
  gap: 10px;
}

/* OUTLINE TLAČÍTKO */
#cookie-banner button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.85);
  padding: 0.45rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px; /* moderní pill */
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease,
    box-shadow 0.15s ease;
}

/* HOVER – jemná aktivace */
#cookie-banner button:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

/* ACTIVE */
#cookie-banner button:active {
  transform: translateY(0) scale(0.97);
  background: rgba(255,255,255,0.18);
}

/* mobil */
@media (max-width: 700px) {
  #cookie-banner .cookie-content {
    flex-wrap: wrap;
  }

  #cookie-banner .cookie-content > div:first-child {
    white-space: normal;
  }
}

/* --- CONFIRMATION PAGE STYLING --- */
body.order-confirmation-body {
  background: #f6f8fb;
}
.logo-large img {
  width: 150px !important;
  height: auto !important;
}
.confirmation-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 36px 0 rgba(50,50,60,0.12), 0 1.5px 6px 0 rgba(100,100,110,0.06);
  max-width: 420px;
  margin: 48px auto 30px auto;
  padding: 36px 30px 32px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.confirmation-box h1,
.confirmation-box h2,
.confirmation-box ul,
.confirmation-box p {
  text-align: center !important;
}
.confirmation-box ul {
  display: inline-block;
  text-align: left;
  margin: 12px auto 18px auto;
  padding-left: 22px;
}
.confirmation-success {
  color: #28b6b6;
  font-weight: bold;
  margin: 10px 0 12px 0;
  font-size: 1.22em;
}
.confirmation-box .buy-btn,
.confirmation-box .back-home-btn {
  background: #222;
  color: #fff;
  padding: 14px 0;
  border-radius: 11px;
  border: none;
  font-weight: 600;
  font-size: 1.18em;
  width: 100%;
  max-width: 320px;
  margin: 28px auto 0 auto;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  line-height: 1.2;
  vertical-align: middle;
}
.confirmation-box .buy-btn:hover,
.confirmation-box .back-home-btn:hover {
  background: #444;
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 700px) {
  .confirmation-box {
    max-width: 98vw;
    padding: 20px 4vw;
    margin: 20px 1vw;
  }
  .order-confirmation-logo img {
    width: 75px !important;
    margin: 30px auto 20px auto;
  }
}

/* ------ Nastavení černé barvy pro názvy a ceny produktů ------ */
.product-name,
.product-price {
  color: #000 !important;
}

/* Produktový detail – černá barva */
.product-detail-info .product-name,
.product-detail-info .product-price {
  color: #000 !important;
}

/* === INLINE ZOOM – celé foto zvětšené + marker lupy === */

.zoomable {
  position: relative;
  overflow: hidden;
}

/* obrázek má plynulé zvětšování */
.zoomable img {
  display: block;
  transition: transform 0.18s ease-out;
}

/* marker lupy u kurzoru */
.zoom-marker {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: none;                 /* zobrazí se jen při zoomu */
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.12),
    0 4px 10px rgba(0,0,0,0.24);
}

/* kolečko lupy */
.zoom-marker::before {
  content: "";
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 2px solid #fff;
  box-sizing: border-box;
}

/* „ručka“ lupy */
.zoom-marker::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transform: rotate(40deg);
  right: 3px;
  bottom: 4px;
}

/* na desktopu schováme klasický kurzor, ať je vidět jen marker */
@media (hover: hover) and (pointer: fine) {
  .zoomable img {
    cursor: none;
  }
}
/* ─────────────────────────────
   Menší text v PRODUCT DETAILU (−15 %)
   ───────────────────────────── */

/* základ – mobil i tablet */
.product-detail-info .product-name {
  font-size: 19px;   /* bylo 22px */
  margin-bottom: 6px;
}

.product-detail-info .product-price {
  font-size: 14px;   /* bylo 16px */
  margin-bottom: 10px;
}

/* desktop – také o ~15 % menší */
@media (min-width: 901px) {
  .product-detail-info .product-name {
    font-size: 22px;   /* bylo 26px */
    font-weight: 800;
  }
  .product-detail-info .product-price {
    font-size: 15px;   /* bylo 18px */
    font-weight: 700;
  }
}
/* Schovat doručovací hlášku na určitých stránkách */
body.checkout-page .header-message,
body.order-confirmation-body .header-message,
body.terms-page .header-message,
body.privacy-page .header-message,
body.contact-page .header-message {
  display: none !important;
}
/* === LEGAL / PRIVACY / CONTACT PAGES ========================== */

/* schovat hlášku o doručení na právních stránkách a kontaktu */
body.legal-page .header-message,
body.contact-page .header-message {
  display: none;
}

/* společný layout pro Obchodní podmínky + Ochranu osobních údajů + Kontakt */
.legal-main,
body.contact-page main.contact-main {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px 40px;
  font-family: "Helvetica Neue", Arial, sans-serif; /* stejné jako zbytek webu */
  color: #111;                                       /* tmavší než #333 */
}

/* horní hlavička privacy/terms */
.legal-header {
  margin-bottom: 28px;
}

.legal-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

/* hlavní nadpis (Obchodní podmínky / Ochrana osobních údajů / Kontakt) */
.legal-main h1,
.contact-main h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #000;
}

/* podnadpis u privacy (Jaké údaje zpracováváme…) */
.legal-subtitle {
  font-size: 14px;
  opacity: 0.8;
}

/* jednotlivé sekce (1. Úvod, 2. Jaké údaje…) */
.legal-section {
  margin-top: 24px;
  margin-bottom: 24px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

/* text v odstavcích a lištách – sjednocený */
.legal-main p,
.legal-main li,
.contact-main p {
  font-size: 15px;
  line-height: 1.65;
  color: #000;
}

.legal-main ol {
  padding-left: 1.25rem;
}

/* odkazy v textu */
.legal-section a {
  color: #000;
  text-decoration: underline;
}

/* Kontakt – jen pro jistotu necháme centrovaný text */
.contact-main {
  text-align: center;
}

/* mobilní úpravy */
@media (max-width: 600px) {
  .legal-main,
  body.contact-page main.contact-main {
    margin: 24px auto 64px;
    padding: 0 16px 32px;
  }

  .legal-main h1,
  .contact-main h1 {
    font-size: 28px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-main p,
  .legal-main li,
  .contact-main p {
    font-size: 14px;
  }
}

/* ==========================
   "Další produkty" galerie – verze 2026 (FINAL)
   ========================== */

.related-products {
  /* odstup od produktového detailu */
  margin-top: 110px;
  /* víc vzduchu uvnitř sekce – včetně spodku kvůli patičce */
  padding: 36px 24px 90px;   /* dřív 36px 24px 0 */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;

  /* šedá linka nad sekcí */
  border-top: 1px solid #cfcfcf;
}

/* Nadpis + tenká linka pod ním */
.related-products h2 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 28px;
  color: #000;
  position: relative;
}

.related-products h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #000;
  margin-top: 8px;          /* na desktopu trochu dál od textu */
  border-radius: 999px;
}

/* Grid s kartami */
.related-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Odkaz jako karta */
.related-item {
  text-decoration: none;
  color: inherit;
  text-align: left;
}

/* Obrázková část – drží poměr, nic neořezáváme */
.related-thumb {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.related-thumb img {
  display: block;
  width: 100%;
  max-width: 230px;     /* fyzicky menší náhled, ale z plné fotky → ostrý */
  height: auto;
  image-rendering: auto;
  transition: transform .25s ease;
}

/* Jemný hover */
.related-item:hover .related-thumb img {
  transform: scale(1.03);
}

/* Texty pod náhledem */
.rel-name {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 2px;
  color: #000;
}

.rel-price {
  font-size: 13px;
  opacity: 1;
  color: #222;           /* tmavší cena */
}

/* Mobil + tablet – víc vzduchu, větší rozestup mezi textem a čarou */
@media (max-width: 600px) {
  .related-products {
    margin-top: 70px;
    padding: 28px 16px 120;
  }

  .related-products h2 {
    font-size: 18px;
    margin-bottom: 22px;
  }

  .related-products h2::after {
    margin-top: 10px;   /* aby čára nebyla nalepená na textu */
  }

  .related-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-thumb img {
    max-width: 260px;
  }
}

/* Desktop – nápis v hlavičce (původní pravidlo) */
@media (min-width: 601px) {
  .header-message {
    font-size: 17px;
  }
}
/* === TERMS – větší mezera nad černou patičkou ================== */

/* platí jen pro stránku s obchodními podmínkami */
body.legal-page .legal-main {
  max-width: 860px;
  margin: 40px auto 130px;  /* dřív 40px auto 80px → víc místa dole */
  padding: 0 24px 60px;     /* dřív 40px → víc „vzduchu“ za textem */
}

/* poslední sekce ať nemá extra mezery navíc */
body.legal-page .legal-section:last-of-type {
  margin-bottom: 0;
}
/* === PRIVACY + TERMS – JEDNOTNÝ TUČNÝ TEXT === */

/* běžný text (odstavce + li) */
body.privacy-page .privacy-text p,
body.privacy-page .privacy-text li,
body.default-page .terms-text p,
body.default-page .terms-text li {
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.6;
  color: #000 !important;
}

/* nadpisy – černé, tučné */
body.privacy-page .privacy-text h1,
body.privacy-page .privacy-text h2,
body.default-page .terms-text h1,
body.default-page .terms-text h2 {
  font-weight: 700 !important;
  color: #000 !important;
}
/* CONTACT – tučný text pod nadpisem, ale H1 ponechat beze změny */
body.contact-page .contact-main p,
body.contact-page .contact-main a {
    font-weight: 700 !important;
    color: #000 !important;
}
/* === TUČNÝ TEXT NA STRÁNCE OBCHODNÍ PODMÍNKY (legal-page) === */

/* běžný text v terms */
body.legal-page .legal-main p,
body.legal-page .legal-main li {
  font-weight: 700 !important;
  color: #000 !important;
  line-height: 1.6;
}

/* nadpisy v terms */
body.legal-page .legal-main h1,
body.legal-page .legal-main h2 {
  font-weight: 800 !important;
  color: #000 !important;
}
.about-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: left;
}

.about-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 17px;
  line-height: 1.6;
  white-space: pre-line;
}
/* === DESKTOP LANGUAGE SWITCHER ======================= */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;              /* mezera kolem | */
  margin-right: 15px;
  font-weight: 700;       /* celé CZ | EN tučné */
}

.lang-switcher a {
  color: #000;
  font-size: 14px;
  font-weight: 700;       /* odkazy tučné */
  text-decoration: none;
}

.lang-switcher a:hover {
  opacity: 0.6;
}

/* aktivní jazyk lehce zvýraznit */
.lang-switcher a.active {
  text-decoration: underline;
}

/* svislá čára mezi jazykem */
.lang-sep {
  font-weight: 700;
  color: #000;
}

/* ===========================
   MOBILE BURGER BUTTON
=========================== */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.burger-btn span {
  width: 22px;
  height: 2px;
  background: #111;
  transition: 0.2s;
}

/* Mobile only */
@media (max-width: 700px) {
  .burger-btn {
    display: flex;
    position: absolute;
    left: 15px;
    top: 20px;
    z-index: 1001;
  }

  .lang-switcher {
    display: none;
  }
}

/* ===========================
   MOBILE SIDE MENU
=========================== */

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 998;
}

.mobile-menu-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 75%;
  max-width: 260px;
  background: #111;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 999;
  color: #fff;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  padding: 20px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  float: right;
}

/* Sections */
.mobile-section {
  margin-top: 30px;
}

.mobile-section h3 {
  color: #bbb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* Jazykové tlačítka */
.mobile-lang-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-lang-buttons .lang-btn {
  background: transparent;
  border: 1px solid #555;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #eee;
  cursor: pointer;
}

.mobile-lang-buttons .lang-btn.active,
.mobile-lang-buttons .lang-btn:hover {
  background: #fff;
  color: #111;
}

/* Links */
.mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-links li {
  margin-bottom: 10px;
}

.mobile-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.mobile-links a:hover {
  text-decoration: underline;
}

/* Disable scroll when menu open */
.no-scroll {
  overflow: hidden;
}
/* === ABOUT PAGE ======================= */
.about-main {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
  text-align: center;
  color: #000;
}

.about-main h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* text jako na privacy – černý a tučný */
.about-main p,
.contact-main p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 700 !important;
  color: #000 !important;
}
/* Legal / static pages: Complaints (Jak reklamovat) */
/* Pozn.: cílíme NA MAIN, ne na <body>, aby se nerozbil layout privacy/terms */
main.legal-page {
  max-width: 800px;
  margin: 60px auto 90px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

/* Nadpis – centrovaný jako na About/Privacy/Terms */
main.legal-page h1 {
  font-size: 32px;
  margin-bottom: 26px;
  text-align: center;
  font-weight: 700;
}

/* Podnadpisy sekcí */
main.legal-page h2 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Běžný text – stejný „tučný“ styl jako terms/privacy */
main.legal-page p,
main.legal-page li {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
  color: #000;
}
/* ================== COMPLAINTS PAGE ================== */

.legal-page.complaints-text {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Hlavní nadpis – stejné “tučné” a centrované jako About / Terms */
.legal-page.complaints-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Podnadpisy (1., 2., 3. …) */
.legal-page.complaints-text h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Odstavec + seznamy – stejný rytmus jako Terms/Privacy */
.legal-page.complaints-text p,
.legal-page.complaints-text ul,
.legal-page.complaints-text li {
  font-size: 1rem;
  line-height: 1.6;
}

/* Seznam – stejné odsazení jako u Terms */
.legal-page.complaints-text ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
/* ================== COMPLAINTS PAGE FINAL FIX ================== */

.legal-page.complaints-text h1 {
  font-size: 32px;
  font-weight: 800 !important;
  text-align: center;
  margin-bottom: 26px;
  color: #000 !important;
}

.legal-page.complaints-text h2 {
  font-size: 20px;
  font-weight: 800 !important;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #000 !important;
}

.legal-page.complaints-text p,
.legal-page.complaints-text li {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700 !important;
  color: #000 !important;
}

.legal-page.complaints-text ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* ================== HERO BANNER – DESKTOP ================== */

.hero-banner {
  position: relative;
  width: 100%;
  height: 90vh;        /* hlavní hero na desktopu */
  min-height: 540px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* Overlay s textem uprostřed dole */

.hero-overlay {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-overlay h1 {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
  text-shadow: 0 0 20px rgba(0,0,0,0.5);
}
/* LUXUSNÍ SCRIPT FONT PRO HERO TEXT – přepíše defaultní h1 v overlay */
.hero-overlay h1.hero-script {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  text-transform: none;      /* žádné VELKÉ TISKACÍ */
  letter-spacing: 0;
  font-size: clamp(42px, 9vw, 82px);
  line-height: 1.05;
  margin: 0 0 14px;
  text-shadow: 0 0 18px rgba(0,0,0,0.45);
}

/* CTA tlačítko */

.hero-btn-main {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(255,255,255,0);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.hero-btn-main:hover {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
}

/* Odstranění mezery mezi hlavičkou a hero bannerem jen na homepage */
.default-page header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Homepage – obsah hned pod headerem */
.default-page .page-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ================== HERO BANNER – MOBILE ================== */

@media (max-width: 700px) {

  /* hero na mobilu – vyšší cca o třetinu */
  .hero-banner {
    width: 100%;
    height: 70vh;        /* tady se dá zvyšovat / snižovat */
    min-height: 360px;
    overflow: hidden;
  }

  .hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%; /* lehký posun nahoru – víc tváří */
    display: block;
  }

  .hero-overlay {
    bottom: 9%;
    padding: 0 16px;
  }

  .hero-overlay h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .hero-btn-main {
    padding: 9px 26px;
    font-size: 13px;
  }

  /* Na mobilu schováme skákající hlášku v headeru na homepage */
  .default-page .header-message {
    display: none;
  }
}
/* Mobil: Šťastný a Veselý na jeden řádek */
@media (max-width: 700px) {
  .hero-overlay h1.hero-script {
    white-space: nowrap;              /* nedovolí zalomení */
    font-size: clamp(26px, 7vw, 32px); /* lehce menší, aby se vešlo */
  }
}
