/* ============================== */
/*       Obecné nastavení    */
/* ============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fdfcfb;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  header {
  position: relative;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  }
  
  .banner {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
  }
  
  .menu {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    z-index: 1000;
  }
  
  .nav-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
  }

  .nav-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .nav-menu li a {
    color: #5a5a5a;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-menu li a:hover {
    color: #c08261;
  }

  .nav-menu .nav-separator {
    color: #ddd;
    margin: 0 10px;
    pointer-events: none;
    user-select: none;
  }

  /* User dropdown */
  .nav-user-dropdown,
  .nav-auth-dropdown {
    position: relative;
  }

  .nav-user-trigger,
  .nav-auth-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
  }

  .nav-user-trigger:hover,
  .nav-auth-trigger:hover {
    background: #f8f9fa;
  }

  .nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
  }

  .dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
  }

  .nav-user-dropdown:hover .dropdown-arrow,
  .nav-auth-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    min-width: 200px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
  }

  .nav-user-dropdown:hover .nav-dropdown-menu,
  .nav-auth-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown-menu li {
    margin: 0;
  }

  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4a5568;
    transition: all 0.2s;
  }

  .nav-dropdown-menu a:hover {
    background: #f8f9fa;
    color: #c08261;
  }

  .dropdown-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
  }

  .hero {
    background: linear-gradient(to right, #fff6f1, #fefefe);
    text-align: center;
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #c08261;
  }
  
  .hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
  }
  
  .about {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .about h2 {
    font-size: 2rem;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .about p {
    font-size: 1.05rem;
    color: #666;
    text-align: center;
  }
  
 footer {
  background-color: #f1f1f1;
  padding: 20px 10px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

footer a {
  color: #c08261;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-top {
  display: inline-block;
  margin-bottom: 8px;
  text-align: center;
  font-size: 1rem;        
  font-weight: 500;
}


.footer-bottom {
  text-align: center;
  margin-top: 5px;
  font-size: 0.85rem;     
  letter-spacing: 0.5px;
}


@media (max-width: 480px) {
  .footer-top span {
    display: block;
    margin: 2px 0;
  }
}

/* ============================== */
/*     Konec obecného nastavení    */
/* ============================== */

/* ============================== */
/*       Úvodní stránka          */
/* ============================== */

.jaro-wrapper h2 {
  font-size: 2.4rem;
  color: #c08261;  
  margin-bottom: 1.2rem;
}

.jaro-wrapper {
  text-align: center;
  padding: 3rem 1rem;
}

.jaro-wrapper p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.jaro-obrazky {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.jaro-obrazky img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.odkaz a {
  color: #ff6600; 
  font-weight: 700;
  text-decoration: none;
  font-size: 1.3rem;
}

.odkaz a:hover {
  text-decoration: underline;
}

.tvorba-wrapper {
  text-align: center;
  padding: 3rem 1rem;
}

.tvorba-kolonka {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.tvorba-kolona {
  list-style: none;
  padding: 0;
  text-align: left;
}

.tvorba-kolona li {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2rem;
}

.tvorba-kolona li::before {
  content: "•";
  color: #c08261;
  position: absolute;
  left: 0;
}

.objednavka-wrapper {
  text-align: center;
  padding: 3rem 1rem;
}

.objednavka-wrapper p {
  font-size: 1.3rem;
}

.objednavka-wrapper a {
  color: #ff6600;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.3rem;
}

.objednavka-wrapper a:hover {
  text-decoration: underline;
}

.stanek-wrapper {
  text-align: center;
  padding: 3rem 1rem;
}

.stanek-wrapper p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.stanek-wrapper a {
  color: #ff6600;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.3rem;
}

.stanek-wrapper a:hover {
  text-decoration: underline;
}

.vozicek-img {
  width: 320px;
  border-radius: 12px;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sekce-kolonka {
  background-color: #f9f5f2;
  border-top: 5px solid #e5803e;  
  padding: 2rem 1.5rem;
  margin: 0.8rem auto;  
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sekce-kolonka h2 {
  color: #c08261;  
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.sekce-kolonka p, 
.sekce-kolonka li, 
.sekce-kolonka a {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #333;
}

.sekce-kolonka a {
  color: #ff6600;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.sekce-kolonka a:hover {
  text-decoration: underline;
}

/* ============================== */
/*       Konec úvodní stránky   */
/* ============================== */

  /* ============================== */
/*       Stránka o nás      */
/* ============================== */

.onas-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.onas-wrapper h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #c08261;
}

.onas-wrapper p {
  margin-bottom: 1.2rem;
  color: #555555;
}

.zvyrazneni {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #333;
}

.onas-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.onas-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: left;
  hyphens: none; 
}

.onas-fotky {
  display: flex; 
  justify-content: center; 
  gap: 3rem; 
  flex-wrap: wrap; 
  margin-bottom: 2rem; 
}

.kolecko-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

  /* ============================== */
/*   Konec stránky o nás     */
/* ============================== */

/* ============================== */
/*   Stránka naše produkty  */
/* ============================== */


.produkty-wrapper {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.produkty-wrapper h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #c08261;
}

.produkty-rozlozeni {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* Moderní produktová karta */
.produkt-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  animation: fadeIn 0.5s ease-out;
  position: relative;
}

.produkt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(192, 130, 97, 0.15);
}

.produkt-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 9;
  overflow: hidden;
  background: #f8f9fa;
}

.produkt-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.produkt-card:hover .produkt-card-image {
  transform: scale(1.05);
}

.produkt-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(192, 130, 97, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.produkt-card:hover .produkt-card-overlay {
  opacity: 1;
}

.produkt-card-view {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.produkt-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.produkt-card-badge-available {
  background: #27ae60;
  color: #ffffff;
}

.produkt-card-badge-soldout {
  background: #e74c3c;
  color: #ffffff;
}

.produkt-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.produkt-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.produkt-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: auto;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e67e22;
}

.price-currency {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.produkt-card .product-list-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 0;
}

.produkt-card .product-list-placeholder::before {
  font-size: 3rem;
}

.produkt-card .product-list-placeholder::after {
  font-size: 0.75rem;
  bottom: 0.75rem;
}

.filtr-box,
.seradit-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #5c4033;
}

.filtr-box select,
.seradit-box select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #c08261;
  font-family: Montserrat, sans-serif;
}

.filtr-box label,
.seradit-box label {
  white-space: nowrap;
}

.tlacitko-dalsi {
  text-align: center;
  margin: 2rem 0;
}

#nacist-dalsi {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #c08261 0%, #a76d4f 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(192, 130, 97, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#nacist-dalsi:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(192, 130, 97, 0.4);
  background: linear-gradient(135deg, #a76d4f 0%, #c08261 100%);
}

#nacist-dalsi:active {
  transform: translateY(0);
}

.filtry-serazeni {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}


.stav {
  font-weight: 600;
  margin-left: 0.3rem;
  font-size: 1rem;
}

.stav[data-stav="dostupne"] {
  color: #27ae60;
}

.stav[data-stav="vyprodano"] {
  color: #e74c3c;
  font-style: italic;
  opacity: 0.8;
}

/* ============================== */
/*   Konec sránky naše produkty  */
/* ============================== */

/* ============================== */
/*     Stránka informace         */
/* ============================== */

.informace-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
}

.informace-wrapper h1 {
  font-size: 2rem;
  text-align: center;
  color: #c08261;
  margin-bottom: 2rem;
}

.informace-wrapper h2 {
  font-size: 1.6rem;
  color: #c08261;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

.informace-podnadpis p {
  margin-bottom: 1rem;
  color: #555;
  text-align: justify;
}

.informace-podnadpis ol,
.informace-podnadpis ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.informace-podnadpis li {
  margin-bottom: 0.8rem;
}

.informace-podnadpis strong {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.3rem;
}

.uvod p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.kroky-kolonka {
  background-color: #f9f5f2;
  border-left: 4px solid #e5803e;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.kroky-kolonka h2 {
  margin-top: 0;
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.kroky-kolonka ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.zvyraznene-info-kolonka {
  background-color: #fff4e6;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.zvyraznene-info-kolonka h2 {
  color: #e5803e;
  margin-bottom: 1rem;
}

.zvyraznene-info-kolonka ul {
  list-style: none;
  padding-left: 0;
}

.zvyraznene-info-kolonka li {
  margin-bottom: 0.5rem;
}

.dotaznik-kolonka {
  background-color: #ffe7d6;
  padding: 1rem 1.5rem;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.dotaznik-kolonka a {
  color: #e5803e;
  text-decoration: underline;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
  align-items: center;
}

.payment-logos h3 {
  width: 100%;
  font-size: 1.2rem;
  color: #c08261;
  margin-bottom: 0.5rem;
}

.payment-logo {
  height: 40px;
  object-fit: contain;
}

/* ============================== */
/*   Konec stránky informace  */
/* ============================== */


/* ============================== */
/*     Stránka kontakt        */
/* ============================== */

.kontakt-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.kontakt-wrapper h1 {
  font-size: 2rem;
  text-align: center;
  color: #c08261;
  margin-bottom: 2rem;
}

.kontakt-uvod {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #555;
}

.kontakt-rozlozeni {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.kontakt-udaje {
  flex: 1;
  min-width: 280px;
}

.kontakt-udaje ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.kontakt-udaje li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.kontakt-udaje .icon {
  margin-right: 8px;
  font-size: 1.2rem;
}

.socialni-site a {
  color: #c08261;
  font-weight: 600;
  text-decoration: none;
}

.socialni-site a:hover {
  text-decoration: underline;
}

.kontaktni-formular {
  flex: 1;
  min-width: 280px;
}

.kontaktni-formular form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontaktni-formular .contact-message {
  padding: 16px 20px !important;
  margin-bottom: 24px !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
  padding-left: 50px !important;
}

.kontaktni-formular .contact-message::before {
  content: '' !important;
  position: absolute !important;
  left: 20px !important;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.kontaktni-formular .contact-message.success {
  background-color: #d4edda !important;
  color: #155724 !important;
  border: 2px solid #c3e6cb !important;
}

.kontaktni-formular .contact-message.success::before {
  content: '✓' !important;
  color: #155724 !important;
}

.kontaktni-formular .contact-message.error {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 2px solid #f5c6cb !important;
}

.kontaktni-formular .contact-message.error::before {
  content: '✗' !important;
  color: #721c24 !important;
}

.kontaktni-formular label {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.kontaktni-formular input,
.kontaktni-formular textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.kontaktni-formular textarea {
  resize: vertical;
}

.kontaktni-formular button {
  background-color: #c08261;
  color: white;
  font-size: 1.1rem;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kontaktni-formular button:hover {
  background-color: #a76d4f;
}

.kontakt-poznamka {
  margin-top: 3rem;
  text-align: center;
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

/* ============================== */
/*   Stránka obchodní podmínky  */
/* ============================== */

.podminky-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.podminky-wrapper h1 {
  font-size: 2rem;
  color: #c08261;
  margin-bottom: 2rem;
  text-align: center;
}

.podminky-meta-box {
  background-color: #fff6ef;
  border-left: 4px solid #d77d34;
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.podminky-sekce {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.podminky-sekce h2 {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 0.7rem;
}

.podminky-sekce ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.podminky-sekce li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.podminky-sekce a {
  color: #d77d34;
  text-decoration: none;
}

.podminky-sekce a:hover {
  text-decoration: underline;
}

.download-link {
  margin: 1rem 0 2rem;
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  color: #777; /* světlejší šedý text */
}

.download-link a {
  color: #c08261; /* stejná paleta jako nadpis h1 */
  text-decoration: underline dotted; /* jemné podtržení */
  transition: color 0.3s ease;
}

.download-link a:hover {
  color: #d77d34; /* při najetí zteplá barva */
  text-decoration: underline; /* pevnější podtržení */
}
/* ============================== */
/* Konec stránky obchodní podmínky */
/* ============================== */

/* ============================== */
/* Responzivní prvky */
/* ============================== */


@media (max-width: 768px) {
  .produkty-rozlozeni {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .produkty-wrapper {
    padding: 1.5rem 1rem;
  }

  .produkty-wrapper h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .filtry-serazeni {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
    padding-left: 20px;
  }

  .tvorba-kolonka {
    flex-direction: column;
    gap: 2rem;
  }

  .produkty-rozlozeni {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .produkty-wrapper {
    padding: 1.5rem 1rem;
  }

  .produkty-wrapper h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .filtry-serazeni {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .produkty-rozlozeni {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .produkty-wrapper {
    padding: 1rem;
  }

  .produkty-wrapper h1 {
    font-size: 1.5rem;
  }

  .produkt-card-content {
    padding: 1.25rem;
  }

  .produkt-card-title {
    font-size: 1.1rem;
  }

  .price-value {
    font-size: 1.25rem;
  }

  .filtry-serazeni {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .filtr-box,
  .seradit-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .filtr-box select,
  .seradit-box select {
    width: 100%;
  }

  #nacist-dalsi {
    width: 100%;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p,
  .about p,
  .jaro-wrapper p,
  .objednavka-wrapper p,
  .stanek-wrapper p,
  .sekce-kolonka p,
  .sekce-kolonka a,
  .sekce-kolonka li {
    font-size: 1rem;
  }

  .jaro-obrazky img {
    width: 140px;
    height: 140px;
  }

  .vozicek-img {
    width: 100%;
  }

  .kontakt-rozlozeni {
    flex-direction: column;
  }

  .produkty-rozlozeni {
    grid-template-columns: 1fr;
  }

  .obrazky {
    flex-direction: column;
    gap: 1rem;
  }

  .kolecko-img {
    width: 90px;
    height: 90px;
  }
}

/* ============================== */
/* Konec responzivních prvků */
/* ============================== */

/* ============================== */
/* PRODUKT STRÁNKA */
/* ============================== */

.produkt-stranka {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #fdfcfb;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  animation: fadeIn 0.4s ease-out;
}

/* ROZLOŽENÍ BLOKU */
.produkt-obal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
  max-width: 100%;
}

@media (max-width: 968px) {
  .produkt-obal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* GALERIE OBRAZKŮ */
.galerie-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 2rem;
}

.product-slideshow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slideshow-main {
  position: relative;
  width: 100%;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slideshow-nav:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slideshow-prev {
  left: 1rem;
}

.slideshow-next {
  right: 1rem;
}

.slideshow-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.slideshow-thumbnails .miniatura {
  width: 80px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-thumbnails .miniatura:hover {
  border-color: #c08261;
  transform: scale(1.05);
}

.slideshow-thumbnails .miniatura.active {
  border-color: #c08261;
  border-width: 3px;
  box-shadow: 0 2px 8px rgba(192, 130, 97, 0.3);
}

@media (max-width: 968px) {
  .galerie-box {
    position: static;
  }
}

.hlavni-img {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  margin: 0 auto;
  display: block;
}

.hlavni-img:hover {
  transform: scale(1.02);
}

/* Placeholder pro chybějící obrázky */
.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.image-placeholder::before {
  content: '🖼️';
  font-size: 4rem;
  opacity: 0.4;
  display: block;
}

.image-placeholder::after {
  content: 'Obrázek není k dispozici';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: #adb5bd;
  font-weight: 500;
  white-space: nowrap;
}

.image-placeholder.small {
  aspect-ratio: 1 / 1;
  font-size: 2rem;
  min-height: 140px;
  width: 140px;
}

.image-placeholder.small::before {
  font-size: 2.5rem;
  opacity: 0.4;
}

.image-placeholder.small::after {
  font-size: 0.7rem;
  bottom: 0.5rem;
  white-space: normal;
  text-align: center;
  padding: 0 0.5rem;
}

/* MINIATURY */
.miniatury {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start; /* Zarovnání vlevo */
}

.miniatura {
  width: 80px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.miniatura:hover {
  border-color: #e67e22;
}

/* SEKCE INFORMACÍ - Detail produktu */
.produkt-stranka .info-sekce {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.nazev-produktu {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: left;
  margin: 0 0 1rem 0;
  color: #333;
  line-height: 1.2;
}

.cena-produktu {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
}

.cena-produktu .price-value {
  font-size: 2rem;
  color: #e67e22;
  font-weight: 700;
}

.cena-produktu .price-currency {
  font-size: 1.25rem;
  font-weight: 500;
  color: #666;
}

/* KRÁTKÝ POPIS MEZI CENOU A MNOŽSTVÍM */
.kratky-popis {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  max-width: 100%;
}

/* WYSIWYG Content Styles (Quill HTML) */
.wysiwyg-content {
  line-height: 1.7;
  color: #333;
}

.wysiwyg-content h1,
.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4,
.wysiwyg-content h5,
.wysiwyg-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.wysiwyg-content h1 {
  font-size: 2rem;
}

.wysiwyg-content h2 {
  font-size: 1.75rem;
}

.wysiwyg-content h3 {
  font-size: 1.5rem;
}

.wysiwyg-content h4 {
  font-size: 1.25rem;
}

.wysiwyg-content p {
  line-height: 1.7;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.wysiwyg-content ol {
  list-style-type: disc !important;
}

.wysiwyg-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.wysiwyg-content strong,
.wysiwyg-content b {
  font-weight: 600;
  color: #333;
}

.wysiwyg-content em,
.wysiwyg-content i {
  font-style: italic;
}

.wysiwyg-content u {
  text-decoration: underline;
}

.wysiwyg-content a {
  color: #c08261;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.wysiwyg-content a:hover {
  color: #a76d4f;
}

.wysiwyg-content blockquote {
  border-left: 4px solid #c08261;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #666;
}

.wysiwyg-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.wysiwyg-content code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.wysiwyg-content pre {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.wysiwyg-content pre code {
  background: none;
  padding: 0;
}

.wysiwyg-content hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 2rem 0;
}

/* KOŠÍK FORM – V JEDNOM ŘÁDKU */
.kosik-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.kosik-form input[type="number"] {
  width: 70px;
  padding: 0.5rem;
  font-size: 1rem;
  text-align: center;
}

.btn-kosik {
  background-color: #e67e22;
  color: white;
  border: none;
  padding: 0.75rem 1.2rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-kosik:hover {
  background-color: #d35400;
}

/* POPIS - TABS A OBSAH */
.popis-box {
  margin-top: 2rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
}

.popis-nadpis {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e0e0e0;
}

/* UPRAVENO PRO ZAROVNÁNÍ POD MNOŽSTVÍ A KOŠÍK */
.zarovnany-popis {
  width: 100%;
  margin-top: 1rem;
}

.taby {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab {
  background-color: #f0f0f0;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.tab.active,
.tab:hover {
  background-color: #e67e22;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #333;
}

.tab-content ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.tab-content li {
  margin-bottom: 0.25rem;
}

.product-description {
  line-height: 1.7;
  color: #333;
}

.product-description.wysiwyg-content {
  margin-top: 0.5rem;
}

/* Zarovnání popisu produktu do stejné osy jako info blok */
.produkt-stranka .info-sekce,
.produkt-stranka .popis-box {
    max-width: 520px;      
    margin-left: 0;
    padding-left: 2px;
}

#notifikace-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding: 0;
  pointer-events: none;
}

.notifikace {
  background-color: #28a745;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 500px;
  width: auto;
}

.notifikace::before {
  content: '✓';
  font-size: 1.1rem;
  font-weight: bold;
  flex-shrink: 0;
}

.notifikace.show {
  opacity: 1;
  transform: translateY(0);
}

.notifikace.ok {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notifikace.chyba {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.notifikace.error {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.notifikace.chyba::before,
.notifikace.error::before {
  content: '✕';
}

@media (max-width: 768px) {
  #notifikace-container {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    align-items: stretch;
  }
  
  .notifikace {
    min-width: auto;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* ============================== */
/* KOŠÍK */
/* ============================== */

.kosik-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.kosik-wrapper {
  width: 100%;
}

.kosik-nadpis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
}

.kosik-icon {
  width: 32px;
  height: 32px;
  color: #c08261;
}

.kosik-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.kosik-položky-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kosik-summary {
  position: sticky;
  top: 2rem;
}

.kosik-checkout-btn-wrapper {
  margin-top: 1.5rem;
}

.kosik-checkout-btn-wrapper .checkout-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.polozka {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.polozka:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #c08261;
}

.polozka img.miniatura {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.polozka:hover img.miniatura {
  transform: scale(1.05);
}

.polozka .image-placeholder {
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  flex-shrink: 0;
}

.polozka .image-placeholder::before {
  font-size: 3rem;
}

.polozka .image-placeholder::after {
  font-size: 0.7rem;
  bottom: 0.5rem;
}

.info-sekce {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nazev-produktu {
  font-size: 1.5rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.3;
}

.cena-produktu {
  font-weight: 700;
  color: #e67e22;
  margin: 0;
  font-size: 1.3rem;
}

.polozka p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
}

.polozka p strong {
  color: #2c3e50;
  font-weight: 600;
}

.odstranit-btn {
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #dc2626;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
}

.odstranit-btn:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #991b1b;
}

.odstranit-btn:active {
  transform: scale(0.98);
}

.zadny-produkt {
  text-align: center;
  font-size: 1.1rem;
  color: #9ca3af;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.zadny-produkt::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: #f3f4f6;
  border-radius: 12px;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
  background-size: 32px 32px;
  background-position: center;
  background-repeat: no-repeat;
}


.btn-vymazat {
  background: #fff;
  color: #dc2626;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-vymazat:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #991b1b;
}

.btn-vymazat:active {
  transform: scale(0.98);
}

.kosik-akce {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* ============================== */
/* POKLADNA */
/* ============================== */

.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.checkout-wrapper {
  width: 100%;
}

/* Alert zprávy */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-error {
  background: #fee;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Grid layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Shrnutí objednávky - levý sloupec */
.checkout-summary {
  position: sticky;
  top: 2rem;
}

.summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.summary-icon {
  width: 24px;
  height: 24px;
  color: #c08261;
}

.summary-content {
  min-height: 200px;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
  color: #4b5563;
}

.summary-list li:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1f2937;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid #e5e7eb;
}

.summary-list li span {
  font-weight: 600;
  color: #c08261;
}

.summary-empty {
  text-align: center;
  padding: 2rem;
  color: #9ca3af;
}

/* Formulář - pravý sloupec */
.checkout-form-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  border: 1px solid #e5e7eb;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Sekce formuláře */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #c08261 0%, #d4a574 100%);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.label-icon {
  color: #c08261;
}

.label-hint {
  font-weight: 400;
  color: #6b7280;
  font-size: 0.85rem;
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
}

.required {
  color: #ef4444;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fff;
  color: #1f2937;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #c08261;
  box-shadow: 0 0 0 3px rgba(192, 130, 97, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Radio skupiny */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}

.radio-option:hover {
  border-color: #c08261;
  background: #fefaf7;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
  border-color: #c08261;
  background: #c08261;
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.radio-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.radio-label strong {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

.radio-label small {
  font-size: 0.875rem;
  color: #6b7280;
}

.radio-option input[type="radio"]:checked ~ .radio-label strong {
  color: #c08261;
}

/* Checkbox */
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: #fff;
}

.checkbox-option:hover {
  border-color: #c08261;
  background: #fefaf7;
}

.checkbox-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  background: #fff;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-custom {
  border-color: #c08261;
  background: #c08261;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.checkbox-label {
  flex: 1;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

.link {
  color: #c08261;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.link:hover {
  color: #a0674a;
}

/* Widget Zásilkovna */
.zasilkovna-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px dashed #c08261;
  border-radius: 12px;
  background: #fefaf7;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  color: #c08261;
  font-weight: 500;
  font-size: 0.95rem;
  min-height: 48px;
  box-sizing: border-box;
}

.zasilkovna-widget:hover {
  background: #fff5ed;
  border-style: solid;
  border-color: #a0674a;
  color: #a0674a;
}

/* Zelený stav po výběru */
.zasilkovna-widget.zasilkovna-widget-selected {
  border: 2px solid #22c55e;
  background: #f0fdf4;
  color: #166534;
  border-style: solid;
}

.zasilkovna-widget.zasilkovna-widget-selected:hover {
  background: #dcfce7;
  border-color: #16a34a;
}

.zasilkovna-widget.zasilkovna-widget-selected .widget-icon {
  color: #22c55e;
  stroke: #22c55e;
}

.widget-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.widget-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.change-text {
  font-weight: 600;
}

.address-text {
  font-weight: 500;
}

/* Payment info */
.payment-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.payment-logos {
  margin-bottom: 1.5rem;
}

.payment-info-text {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.payment-logos-grid {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.payment-logo {
  height: 32px;
  object-fit: contain;
}

.gopay-logo-box {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.gopay-logo-box p {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.gopay-logo {
  height: 36px;
  object-fit: contain;
}

/* Submit tlačítko */
.checkout-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.125rem 2rem;
  background: linear-gradient(135deg, #c08261 0%, #d4a574 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(192, 130, 97, 0.3);
  margin-top: 1rem;
  width: 100%;
}

.checkout-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 130, 97, 0.4);
}

.checkout-submit:active:not(:disabled) {
  transform: translateY(0);
}

.checkout-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.submit-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Chybové stavy */
input.chyba,
textarea.chyba,
select.chyba {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

label.chyba {
  color: #ef4444;
}

/* Našeptávač adres - autoComplete.js */
.address-autocomplete-wrapper {
  position: relative;
}

.address-autocomplete-wrapper .autoComplete_wrapper {
  position: relative;
  width: 100%;
}

.address-autocomplete-wrapper .autoComplete_wrapper input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fff;
  color: #1f2937;
}

.address-autocomplete-wrapper .autoComplete_wrapper input:focus {
  outline: none;
  border-color: #c08261;
  box-shadow: 0 0 0 3px rgba(192, 130, 97, 0.1);
}

/* Přizpůsobení stylů autoComplete.js */
#autoComplete_list {
  background: #fff !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 4px !important;
  z-index: 1000 !important;
}

#autoComplete_list .autoComplete_result {
  padding: 0.875rem 1rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border-bottom: 1px solid #f3f4f6 !important;
}

#autoComplete_list .autoComplete_result:last-child {
  border-bottom: none !important;
}

#autoComplete_list .autoComplete_result:hover,
#autoComplete_list .autoComplete_result[aria-selected="true"] {
  background: #fefaf7 !important;
  color: #c08261 !important;
}

#autoComplete_list .autoComplete_result mark {
  background: rgba(192, 130, 97, 0.2) !important;
  color: #c08261 !important;
  font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .checkout-grid {
    grid-template-columns: 340px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 968px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .summary-card {
    max-height: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .checkout-container {
    padding: 1rem;
  }

  .checkout-form-wrapper {
    padding: 1.5rem;
  }

  .summary-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .checkout-submit {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ============================== */
/*       Admin sekce            */
/* ============================== */

/* Admin Dashboard */
.admin-dashboard {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-dashboard h1 {
  font-size: 2rem;
  color: #c08261;
  margin-bottom: 2rem;
}

.admin-nav {
  margin-bottom: 2rem;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #c08261 0%, #a66d4e 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(192, 130, 97, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 130, 97, 0.4);
  background: linear-gradient(135deg, #a66d4e 0%, #8f5a3f 100%);
}

.btn-primary-large .icon {
  font-size: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #f0f0f0;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: #c08261;
}

.recent-orders {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.recent-orders h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.recent-orders table {
  width: 100%;
  border-collapse: collapse;
}

.recent-orders th,
.recent-orders td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.recent-orders th {
  background: #fafafa;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recent-orders tbody tr:hover {
  background: #fafafa;
}

.recent-orders tbody tr:last-child td {
  border-bottom: none;
}

.recent-orders .empty-message {
  text-align: center;
  padding: 3rem;
  color: #999;
  font-style: italic;
}

/* Admin Products List */
.admin-products {
  padding: 2rem;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h1 {
  margin: 0;
  font-size: 2rem;
  color: #c08261;
}

.admin-actions {
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #c08261 0%, #a66d4e 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 130, 97, 0.3);
  background: linear-gradient(135deg, #a66d4e 0%, #8f5a3f 100%);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.admin-table th {
  background: #fafafa;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
  background: #fafafa;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.product-image-cell {
  width: 80px;
}

.product-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #f0f0f0;
  transition: transform 0.2s ease;
}

.product-thumbnail:hover {
  transform: scale(1.05);
}

.no-image {
  width: 60px;
  height: 60px;
  background: #f8f8f8;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #999;
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.available {
  background: #d4edda;
  color: #155724;
}

.status-badge.sold-out {
  background: #f8d7da;
  color: #721c24;
}

.actions-cell {
  white-space: nowrap;
}

.actions-cell form {
  display: inline-block;
  margin-left: 0.5rem;
}

.inline-form {
  display: inline-block;
}

.btn-edit {
  display: inline-block;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.btn-edit:hover {
  background: #218838;
  transform: translateY(-1px);
}

.btn-delete {
  padding: 10px 20px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
}

.btn-delete:hover {
  background: #c82333;
  transform: translateY(-1px);
}

.empty-state {
  background: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #666;
  border: 1px solid #f0f0f0;
}

.empty-state a {
  color: #c08261;
  text-decoration: none;
  font-weight: 600;
}

.empty-state a:hover {
  text-decoration: underline;
}

/* Admin Product Form */
.admin-product-form {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.admin-product-form h1 {
  font-size: 2rem;
  color: #c08261;
  margin: 0;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c08261;
  box-shadow: 0 0 0 3px rgba(192, 130, 97, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
}

.form-group label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.btn-cancel {
  display: inline-block;
  padding: 10px 20px;
  background: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin-left: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 14px;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.btn-cancel:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.product-images-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.product-images-section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.upload-form {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.upload-form input[type="file"] {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.upload-form input[type="file"]:hover {
  border-color: #c08261;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.image-item {
  border: 3px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.75rem;
  background: white;
  transition: all 0.3s ease;
  overflow: hidden;
}

.image-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-item.default {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.image-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.image-actions form {
  display: inline-block;
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
}

.btn-small:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.btn-small.btn-delete {
  background: #dc3545;
}

.btn-small.btn-delete:hover {
  background: #c82333;
}

.badge-default {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #28a745;
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert-error {
  background: #fee;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.alert-success {
  background: #efe;
  color: #155724;
  border: 2px solid #c3e6cb;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-dashboard,
  .admin-products,
  .admin-product-form {
    padding: 1rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-table {
    font-size: 0.9rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.5rem;
  }

  .images-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .upload-form {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Responsive Košík */
@media (max-width: 968px) {
  .kosik-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .kosik-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .kosik-container {
    padding: 1.5rem 1rem;
  }

  .kosik-nadpis {
    font-size: 1.75rem;
  }

  .kosik-icon {
    width: 28px;
    height: 28px;
  }

  .polozka {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .polozka img.miniatura {
    width: 180px;
    height: 180px;
  }

  .polozka .image-placeholder {
    width: 180px;
    height: 180px;
  }

  .info-sekce {
    width: 100%;
    align-items: center;
  }

  .nazev-produktu {
    font-size: 1.3rem;
  }

  .odstranit-btn {
    align-self: center;
  }

  .summary-card {
    padding: 1.5rem;
  }

  .summary-title {
    font-size: 1.3rem;
  }

  .kosik-akce {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-vymazat {
    width: 100%;
    justify-content: center;
  }

  .kosik-checkout-btn-wrapper .checkout-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .kosik-nadpis {
    font-size: 1.5rem;
  }

  .polozka {
    padding: 1rem;
  }

  .polozka img.miniatura {
    width: 150px;
    height: 150px;
  }

  .polozka .image-placeholder {
    width: 150px;
    height: 150px;
  }

  .nazev-produktu {
    font-size: 1.2rem;
  }

  .cena-produktu {
    font-size: 1.1rem;
  }

  .summary-card {
    padding: 1rem;
  }
}

/* ============================== */
/*    Smooth Loading Animation   */
/* ============================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content {
  animation: fadeIn 0.4s ease-out;
}
