* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f3f3f3;
  box-shadow: 0 1px 13px rgba(200,70,20,0.06);
  padding: 0 48px;
  border-bottom: 2px solid #da7639;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  position: sticky;
  z-index: 1000;
  top: 0;
}

.navbar-icon-hamburger,
.hamburger {
  display: none;
}
.navbar-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  text-decoration: none;
  color: #232325;
  font-size: 1.07rem;
  font-weight: bold;
  padding: 6px 13px;
  border-radius: 8px;
  letter-spacing: 1px;
  transition: color 0.14s, background 0.12s;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: #da7639;
  background: #fff4ec;
  box-shadow: 0 2px 8px rgba(218,118,57,0.10);
}

.navbar-icons {
  display: flex;
  gap: 24px;
}

.navbar-icons a {
  color: #232325;
  font-size: 1.18rem;
  padding: 8px;
  border-radius: 50%;
  transition: color 0.17s, background 0.17s;
}

.navbar-icons a:hover {
  color: #da7639;
  background: #fff4ec;
}
.ikony {
  display: flex;
}
.ikony-mobil {
  display: none;
}



.navbar-logo img {
  height: 44px;
}

.product-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.4rem;
  padding: 2rem 48px; 
  background: #fafafd;
  max-width: 100%; 
  width: 100%;
  margin: 0 auto;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.filter-panel {
  width: 280px;
  flex-shrink: 0;
  background: white;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(40,40,40,0.10);
  height: fit-content;
}

.nabidka-prepinac {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

/* Styl produktu firmy vs uzivatelu */
.nabidka-prepinac a {
  flex: 1; 
  text-align: center;
  text-decoration: none;
  color: #232325;
  font-size: 1.07rem;
  font-weight: bold;
  padding: 6px 13px;
  border-radius: 8px;
  letter-spacing: 1px;
  background: transparent;
  transition: color 0.14s, background 0.12s;
}
.nabidka-prepinac a:hover,
.nabidka-prepinac a.active {
  color: #da7639;
  background: #fff4ec;
  box-shadow: 0 2px 8px rgba(218,118,57,0.10);
  border-color: #fff4ec; 
}

/* produkt karty */
.product-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(40,40,40,0.10);
  padding: 1.4rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(40,40,40,0.15);
}

.product-card img {
  width: 100%;
  max-width: 160px;
  height: 140px;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
}

.product-card h4 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  text-align: center;
  font-weight: 600;
  color: #232325;
  line-height: 1.3;
  min-height: 2.4em;
}

.card-price {
  color: #da7639;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.card-buttons {
  display: flex;
  gap: 8px;           
  width: 100%;
  margin-top: auto;   
}


.btn-info {
  flex: 1;           
  background: transparent;
  color: #da7639;
  border: 2px solid #99410a;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 4px ;
}

.btn-info:hover {
  background: #f5f3ff; 
  transform: translateY(-2px);
}


.btn-cart-icon {
  background: #da7639;
  color: #fff;
  border: none;
  width: 44px;       
  border-radius: 10px;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(79,70,229,0.3);
  transition: all 0.2s;
  flex-shrink: 0;    
  padding: 5px;
}

.btn-cart-icon:hover {
  background: #8a4418;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,0.4);
}

/* filtr */
.filter-panel h3,
.filter-panel h4 {
  color: #232325;
  margin-bottom: 1rem;
  font-weight: 600;
}

.filter-panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.filter-panel ul li {
  margin-bottom: 0.5rem;
}

.filter-panel ul li a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

.filter-panel ul li a:hover {
  color: #da7639;
  background: #f8f9ff;
}

.filter-panel hr {
  border: none;
  height: 1px;
  background: #eee;
  margin: 1.5rem 0;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group input[type="number"] {
  width: 90px;
  padding: 0.5rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  margin: 0 0.3rem 0.5rem 0;
  font-size: 0.95rem;
}

.filter-group .sort-link {
  margin-bottom: 0.5rem;
  display: inline-block;
}

.filter-form input[type="hidden"] {
  display: none;
}

.btn-filter {
  background: #da7639;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}

.sort-link {
  display: inline-block;
  padding: 0.4em 0.8em;
  margin: 0.2em 0.3em 0.2em 0;
  border-radius: 6px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.sort-link:hover,
.sort-link.active {
  background: #da7639;
  color: white;
  font-weight: bold;
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
}

.no-results h3 {
  color: #da7639;
  margin-bottom: 0.5rem;
}

.reset-link {
  color: #da7639;
  text-decoration: none;
  font-weight: 600;
  padding: 0.6em 1.2em;
  border: 2px solid #da7639;
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-block;
}

.reset-link:hover {
  background: #da7639;
  color: white;
}



/* Footer */
footer {
  width: 100%;
  text-align: center;
  padding: 1rem;
  background: #D5D3D0;
  color: #232325;
  font-size: 1rem;
  border-top: 1.5px solid #e6e4de;
  margin-top: auto;
}

/* Kontakty */
.contact-header {
  background: url('../img/contact-bg.jpg') center/cover no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 2.2rem;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0,0,0,0.12);
  letter-spacing: 1px;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 730px;
  margin: -38px auto 24px auto;
}

.contact-card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(38,38,38,0.13);
  flex: 1;
  padding: 1.1rem;
  text-align: center;
  min-width: 170px;
  margin: 0 10px;
}

.contact-card i {
  font-size: 2.1rem;
  color: #c04533;
  margin-bottom: 0.3rem;
}

.contact-card h4 {
  margin: 0.6rem 0 0.2rem 0;
  font-size: 1.05rem;
}

.contact-card span {
  word-break: break-word;
}

/* form */
.modern-form {
  max-width: 600px;
  margin: 2.5rem auto 0 auto;
  text-align: left;
}

.modern-form h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}

.modern-form form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.modern-form input[type="email"],
.modern-form input[type="text"],
.modern-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 0.6rem;
  border: 1.8px solid #ececec;
  border-radius: 2rem;
  font-size: 1rem;
  background: #fff;
  transition: border 0.18s;
}

.modern-form textarea {
  min-height: 120px;
  border-radius: 1rem;
}

.modern-form input[type="email"]:focus,
.modern-form input[type="text"]:focus,
.modern-form textarea:focus {
  border-color: #ff6d47;
  outline: none;
}

.modern-form label {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.1em;
  font-weight: 500;
  margin-right: 0.5em;
}

.modern-form input[type="file"] {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.checkbox-row input[type="checkbox"] {
  accent-color: #ff6d47;
  width: 18px;
  height: 18px;
}

.checkbox-row label {
  font-size: 1rem;
  margin: 0;
}

.checkbox-row a {
  color: #ff6d47;
  text-decoration: underline;
}

.btn-modern {
  background: #ff6d47;
  color: #fff;
  border: none;
  padding: 0.9rem 3rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin: 1rem auto 0 auto;
  box-shadow: 0 6px 22px rgba(255,109,71,0.12);
  transition: background 0.15s, transform 0.10s;
}

.btn-modern:hover {
  background: #ff4e14;
  transform: translateY(-2px) scale(1.03);
}

/* showcase */
#showcase {
  min-height: 470px;
  width: 100%;
  background: url('../img/pc.png') center center/cover no-repeat, #f6f8fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 100px;
}

.uvod-box {
  max-width: 540px;
  text-align: left;
  background: none;
  color: #232325;
  padding: 0;
  margin-left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
}

.showcase-product {
  max-width: 330px;
  width: 38vw;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.showcase-product img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  width: auto;
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(40,40,76,.11));
  display: block;
}

.uvod-box h1 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1em;
  color: #232325;
  line-height: 1.13;
  text-shadow: none;
}

.uvod-box p {
  font-size: 1.08rem;
  margin: 0 0 22px 0;
  color: #353535;
  text-shadow: none;
}

.btn-uv {
  text-decoration: none;
  padding: 14px 32px;
  background-color: #da7639;
  color: #fff;
  border-radius: 13px;
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(218,118,57,0.11);
  transition: background 0.18s;
  margin-top: 18px;
  display: inline-block;
}

.btn-uv:hover {
  background: #b65c1b;
}

section {
  padding: 2.3em 0;
  background: none;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.m-heading {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
  font-weight: bold;
  color: #232325;
  letter-spacing: 0.5px;
}

.py-1 {
  padding: 1.2rem 0;
}

.items {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
}

.item {
  flex: 1 1 170px;
  min-width: 170px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 13px rgba(87,109,125,.09);
  padding: 24px 16px 16px 16px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 155px;
}

.item i {
  font-size: 2.2rem;
  color: #da7639;
  margin-bottom: 10px;
}

.item h3 {
  margin: 8px 0 6px 0;
  font-size: 1.07rem;
  font-weight: 700;
  color: #232325;
}

.item p {
  font-size: 0.97rem;
  color: #494949;
}

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

.items img {
  margin: 0 24px;
  opacity: 0.83;
  transition: opacity 0.15s, filter 0.2s;
  background: #fff;
  border-radius: 8px;
  padding: 6px 18px;
  height: 48px;
}

.items img:hover {
  opacity: 1;
}

.header1,
.odstavec {
  color: white;
}

/* Konfigurator */
.cfg-page {
  background: #f6f8fb;
}

.cfg-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1rem 1.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.cfg-hero-text {
  flex: 1;
}

.cfg-hero-text h1 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  color: #232325;
}

.cfg-hero-text p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.cfg-hero-sub {
  color: #555;
}

.cfg-hero-benefits {
  list-style: none;
  margin: 1rem 0 0.4rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cfg-hero-benefits li {
  font-size: 0.95rem;
  color: #232325;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cfg-hero-benefits i {
  color: #da7639;
}

.cfg-start-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  background: #da7639;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  box-shadow: 0 6px 18px rgba(218,118,57,0.25);
  transition: background 0.18s, transform 0.12s;
}

.cfg-start-btn:hover {
  background: #b65c1b;
  transform: translateY(-1px);
}

.cfg-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cfg-hero-image img {
  width: 100%;
  max-width: 320px;
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  object-fit: cover;
}

.cfg-layout {
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.cfg-summary {
  order: -1;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.2rem 1rem 1.4rem 1rem;
}

.cfg-summary h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cfg-summary h2 span {
  color: #da7639;
  font-size: 0.90rem;
}

.cfg-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.cfg-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.cfg-summary-item:last-child {
  border-bottom: none;
}

.cfg-summary-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cfg-summary-left i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff4ec;
  color: #da7639;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfg-summary-state {
  font-size: 0.8rem;
  color: #c04533;
}

.cfg-summary-item .optional {
  color: #777;
}

.cfg-summary-submit {
  width: 100%;
  padding: 0.75rem 0;
  border-radius: 999px;
  border: none;
  background: #da7639;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.98rem;
}

.cfg-products {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.2rem 1rem 1.4rem 1rem;
}

.cfg-products-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.cfg-products-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.9rem;
}

.cfg-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.cfg-tab {
  border: none;
  background: transparent;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #555;
}

.cfg-tab-active {
  background: #da7639;
  color: #fff;
  font-weight: 600;
}

.cfg-tab-search {
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 0.4rem;
}

.cfg-tab-search input {
  flex: 1;
  padding: 0.45rem 0.7rem;
  border-radius: 999px 0 0 999px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

.cfg-tab-search-btn {
  border-radius: 0 999px 999px 0;
  border: 1px solid #da7639;
  background: #da7639;
  color: #fff;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.cfg-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.cfg-product-card {
  background: #fafafa;
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0.95rem 0.9rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cfg-product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.cfg-product-img {
  width: 100%;
  height: 100%;           
  object-fit: cover;       
  border-radius: 12px;
  margin: 0 auto 0.3rem;   
  display: block;
}

.cfg-product-spec {
  font-size: 0.85rem;
  color: #555;
}

.cfg-product-price {
  font-weight: 700;
  color: #232325;
  margin-top: 0.15rem;
}

.cfg-product-actions {
  margin-top: 0.45rem;
  display: flex;
  gap: 0.4rem;
}

.cfg-product-detail,
.cfg-product-add {
  flex: 1;
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.cfg-product-detail {
  background: #ffffff;
  border-color: #ddd;
}

.cfg-product-add {
  background: #da7639;
  color: #fff;
}

/* Konfigurator mobile */
@media (min-width: 600px) {
  .cfg-hero {
    padding: 2.2rem 1.5rem 2rem 1.5rem;
  }

  .cfg-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .cfg-hero {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .cfg-hero-text h1 {
    font-size: 2.2rem;
  }

  .cfg-hero-benefits {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
  }

  .cfg-layout {
    flex-direction: row;
    gap: 1.6rem;
  }

  .cfg-summary {
    order: 0;
    flex: 0 0 34%;
  }

  .cfg-products {
    flex: 1;
  }

  .cfg-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

/* Kosik */
.cart {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.cart_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cart_title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart_subtitle {
  margin: 6px 0 0;
  color: #6b7280;
}

.cart_clear {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cart_clear:hover {
  background: #f9fafb;
}

.cart_grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}

/* Produkty kosiku */
.cart_items {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  overflow: hidden;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item_img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #da7639;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cart-item_body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.cart-item_name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.cart-item_meta {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.cart-item_controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item_price {
  min-width: 96px;
  text-align: right;
  font-weight: 800;
  color: #111827;
}

.cart-item_remove {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: #6b7280;
}

.cart-item_remove:hover {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #c04533;
}

/* Qty */
.qty {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty_btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: #f9fafb;
  cursor: pointer;
  font-size: 18px;
  color: #111827;
}

.qty_btn:hover {
  background: #f3f4f6;
}

.qty_input {
  width: 56px;
  border: 0;
  text-align: center;
  font-weight: 700;
  outline: none;
}

/* Summary */
.cart_summary {
  position: sticky;
  top: 18px;
}

.summary {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 18px;
}

.summary_title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary_rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.summary_row {
  display: flex;
  justify-content: space-between;
  color: #374151;
}

.summary_row_total {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 18px;
  color: #111827;
}

.summary_cta {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  background:#da7639;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.summary_cta:hover {
  filter: brightness(0.98);
}

.summary_note {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}




/* Modal pro produkty */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


.product-modal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-modal-overlay.active .product-modal {
    transform: translateY(0);
}


.product-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-close:hover {
    color: #da7639;
}


.product-modal-body {
    padding: 40px 30px 30px;
}


.product-modal-title {
    font-size: 1.5rem;
    text-align: center;
    color: #232325;
    margin-bottom: 15px;
}

.product-modal-img-wrap {
    text-align: center;
    margin: 15px 0;
}

.product-modal-img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 10px;
    border: 2px solid #f3f3f3;
}

.product-modal-desc {
    color: #666;
    font-size: 0.95em;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-modal-price-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #f3f3f3;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.product-modal-price {
    color: #da7639;
    font-size: 1.4em;
    font-weight: bold;
}

.product-modal-stock {
    color: #232325;
    font-weight: 600;
    font-size: 0.95em;
}



.product-modal-cart-btn {
    background: #da7639;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.product-modal-cart-btn:hover {
    background: #b65c1b;
    transform: translateY(-2px);
}


.summary_cta_disabled {
    background-color: #9ca3af !important;
    border-color: #9ca3af !important;
    color: #ffffff !important;
    opacity: 0.6;
    cursor: not-allowed !important;
}
/* Form na pridani produktu */
.add-product-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    min-height: 70vh;
}
    
/* Pouziti login stylu na formular - stejny vzlhed */
.login-style-form {
    transform: none !important;
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.input-box select,
.input-box textarea {
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #f3f3f3;
    border-radius: 12px;
    padding: 0 20px;
    color: #232325;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}


.input-box select {
  height: 100%;
}

  