/**
 * Štýly pre stránky e-shopu (produkty, produkt, objednávka) – používajú hlavnú hlavičku (style.css),
 * tento súbor doplňuje len layout a komponenty obchodu v svetlom motíve.
 */
.shop-section { padding: 3rem 0; }
.shop-section .container,
.shop-hero .container { max-width: 1200px; width: 100%; padding: 0 1.5rem; margin-left: auto; margin-right: auto; }
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
.shop-sidebar { width: 220px; min-width: 220px; position: sticky; top: 1rem; }
.shop-main { min-width: 0; width: 100%; max-width: 100%; }
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-color, #e2e8f0);
}
.shop-product-count { font-size: 0.9rem; color: #64748b; }
.shop-sort { display: flex; align-items: center; gap: 0.5rem; }
.shop-sort-label { font-size: 0.85rem; color: #64748b; }
.shop-sort-select {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--light-color, #e2e8f0);
  background: #fff;
  color: var(--dark-color, #0A0F1A);
  font-size: 0.9rem;
  cursor: pointer;
}
.shop-empty { text-align: center; padding: 3rem 2rem; }
.shop-empty h2 { margin: 0 0 1rem; color: var(--dark-color); }
.shop-empty p { margin: 0; color: #64748b; }
.shop-breadcrumb { margin-bottom: 0.75rem; }
.shop-hero .breadcrumb { font-size: 0.85rem; }
/* Cesta (breadcrumb) na stránkach e-shopu – vždy dobre viditeľná */
.shop-hero .breadcrumb,
.page-hero .breadcrumb,
.shop-section .breadcrumb {
  color: var(--dark-color, #0A0F1A);
  opacity: 1;
}
.shop-hero .breadcrumb a,
.page-hero .breadcrumb a {
  color: var(--primary-color, #DC4A04);
  text-decoration: none;
}
.shop-hero .breadcrumb a:hover,
.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}
.shop-hero .breadcrumb span,
.page-hero .breadcrumb span {
  color: #64748b;
}
.shop-search { display: flex; gap: 0.5rem; margin-top: 1.25rem; max-width: 400px; }
.shop-search-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--light-color, #e2e8f0);
  background: #fff;
  color: var(--dark-color);
  font-size: 0.95rem;
}
.shop-search-input::placeholder { color: #94a3b8; }
.shop-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-color, #e2e8f0);
}
.shop-pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid var(--light-color, #e2e8f0);
  text-decoration: none;
  transition: all 0.2s;
}
.shop-pill:hover { color: var(--dark-color); border-color: var(--primary-color); background: rgba(220, 74, 4, 0.08); }
.shop-pill.active { color: #fff; background: var(--primary-color); border-color: transparent; }
.shop-categories-nav {
  background: #fff;
  border: 1px solid var(--light-color, #e2e8f0);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.shop-categories-nav-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark-color, #0A0F1A);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-color, #e2e8f0);
}
.shop-categories-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.shop-cat-main { display: flex; align-items: center; gap: 0.35rem; }
.shop-cat-main .shop-category-bullet { color: var(--primary-color, #DC4A04); font-weight: 700; }
.shop-category-group { margin: 0; padding: 0; }
.shop-category-row { display: flex; align-items: center; gap: 0.35rem; flex-wrap: nowrap; width: 100%; }
.shop-category-bullet { color: var(--primary-color, #DC4A04); font-weight: 700; flex-shrink: 0; }
.shop-category-parent { flex: 1; min-width: 0; padding: 0.4rem 0.25rem 0.4rem 0; font-weight: 600; font-size: 0.75rem; color: var(--dark-color, #0f172a); text-decoration: none; text-align: left; }
.shop-category-parent:hover { color: var(--primary-color); }
.shop-category-parent.active { color: var(--primary-color); font-weight: 600; }
.shop-category-parent.shop-cat-one-line { white-space: nowrap; }
.shop-category-toggle { flex-shrink: 0; width: 1.5rem; height: 1.5rem; padding: 0; border: none; background: transparent; cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #64748b; transition: transform 0.2s, color 0.2s; }
.shop-category-toggle:hover { color: var(--primary-color); }
/* Zbalená = šípka dole ▼ | Rozbalená = šípka hore ▲ */
.shop-category-toggle-icon { display: block; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s ease; }
.shop-category-group.is-expanded .shop-category-toggle-icon { transform: rotate(135deg); }
.shop-categories-sublist { list-style: none; margin: 0 0 0.5rem 0; padding: 0 0 0 1rem; border-left: 2px solid var(--light-color, #e2e8f0); display: none; overflow: hidden; }
/* Len priamy potomok – rozbalený zobrazí iba svoj sublist, nie vnorené (Ističe, Prúdové chrániče atď.) */
.shop-category-group.is-expanded > .shop-categories-sublist,
.shop-categories-sublist.shop-sublist-expanded { display: block !important; }
.shop-categories-sublist li { margin: 0; }
.shop-categories-sublist a { padding: 0.3rem 0.5rem 0.3rem 0; font-size: 0.75rem; }
.shop-categories-sublist a::before { content: "– "; color: #94a3b8; font-weight: 400; }
.shop-categories-sublist a.shop-cat-one-line { white-space: nowrap; }

/* všetky kategórie v navigácii v jednom riadku (bez zalomenia) */
.shop-categories-list a,
.shop-categories-sublist a,
.shop-category-parent {
  white-space: nowrap;
}
.shop-categories-list a {
  display: block;
  padding: 0.4rem 0.5rem 0.4rem 0;
  font-size: 0.75rem;
  color: #475569;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.shop-categories-list a:hover { color: var(--dark-color); background: #f1f5f9; }
.shop-categories-list a.active { color: var(--primary-color); font-weight: 600; }
.shop-sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.shop-sort-tab {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid var(--light-color, #e2e8f0);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.shop-sort-tab:hover { color: var(--dark-color); border-color: #cbd5e1; background: #fff; }
.shop-sort-tab.active { color: #fff; background: var(--primary-color); border-color: var(--primary-color); }
.shop-bestsellers { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--light-color, #e2e8f0); }
.shop-bestsellers-title { font-size: 1.35rem; font-weight: 700; color: var(--dark-color); margin: 0 0 1rem; }
.shop-bestsellers-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shop-bestseller-card { background: #fff; border: 1px solid var(--light-color); border-radius: 10px; overflow: hidden; }
.shop-bestseller-link { display: flex; flex-direction: column; padding: 1rem; text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.shop-bestseller-link:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.shop-bestseller-img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 0.5rem; }
.shop-bestseller-noimg { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; font-size: 2rem; font-weight: 700; color: #94a3b8; margin-bottom: 0.5rem; }
.shop-bestseller-name { font-size: 0.9rem; font-weight: 600; color: var(--dark-color); margin-bottom: 0.25rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-bestseller-stock { font-size: 0.8rem; color: #64748b; margin-bottom: 0.25rem; }
.shop-bestseller-price { font-size: 1rem; font-weight: 700; color: var(--primary-color); }
.shop-bestsellers-more { display: inline-block; margin-top: 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--primary-color); text-decoration: none; }
.shop-bestsellers-more:hover { text-decoration: underline; }
.product-card-stock-text { font-size: 0.7rem; color: #64748b; margin: 0 0 0.25rem; }
.product-card-price-block { margin: 0 0 0.5rem; display: flex; flex-direction: column; gap: 0.1rem; }
.product-card-price-from { font-size: 0.7rem; color: #64748b; }
.product-card-price-with { font-size: 0.85rem; font-weight: 700; color: var(--dark-color); }
.btn-product-detail {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--dark-color) !important;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}
.btn-product-detail:hover { background: #334155 !important; }
.product-card-add-inline { display: flex; gap: 0.35rem; align-items: center; margin-top: 0.35rem; }
.product-card-qty-inline {
  width: 2.5rem;
  padding: 0.25rem 0.3rem;
  font-size: 0.75rem;
  text-align: center;
  border: 1px solid var(--light-color);
  border-radius: 4px;
  -moz-appearance: textfield;
}
.product-card-qty-inline::-webkit-outer-spin-button,
.product-card-qty-inline::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-card-add-inline .add-to-cart-btn { flex: 1; font-size: 0.75rem; padding: 0.35rem 0.5rem; }
.products-grid-style-b { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.product-card-style-b .product-card-body { padding: 0.6rem 0.65rem 0.75rem; }
.product-card-style-b .product-card-category { font-size: 0.65rem; }
@media (max-width: 900px) {
  .shop-bestsellers-grid { grid-template-columns: 1fr; }
  .products-grid-style-b { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products-grid-style-b { grid-template-columns: 1fr; }
}
.products-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--light-color, #e2e8f0);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}
.product-card-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #f8fafc;
  overflow: hidden;
}
.product-card-image-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.product-card-image-link img,
.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
  transition: transform 0.25s;
}
.product-card:hover .product-card-image-link img,
.product-card:hover .product-card-image-wrap img { transform: scale(1.05); }
.product-card-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
  background: #f1f5f9;
}
.product-card-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
}
.product-card-badge-out { background: #dc2626; color: #fff; }
.product-card-badge-low { background: #f59e0b; color: #fff; }
.product-card-badge-stock { background: var(--primary-color, #DC4A04); color: #fff; }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: 0.6rem 0.65rem 0.75rem; gap: 0.2rem; }
.product-card-category { font-size: 0.6rem; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card-title { margin: 0; font-size: 0.8rem; font-weight: 600; line-height: 1.3; flex: 1; }
.product-card-title a { color: var(--dark-color); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-title a:hover { color: var(--primary-color); }
.product-card-price { margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--primary-color); }
.product-card-actions { margin-top: 0.5rem; }
.product-card-actions .btn { width: 100%; justify-content: center; }
.product-card-add-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.product-card-qty-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  flex: 0 0 auto;
}
.product-card-qty {
  width: 3.5rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--light-color, #e2e8f0);
  border-radius: 8px;
  -moz-appearance: textfield;
}
.product-card-qty::-webkit-outer-spin-button,
.product-card-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-card-add-block .add-to-cart-btn {
  flex: 1;
  min-width: 0;
}
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; width: 100%; }
.product-detail-image {
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  max-width: 360px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-image img { width: 100%; height: auto; max-height: 360px; object-fit: contain; display: block; }
.product-detail-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  font-size: 4rem;
  font-weight: 700;
  color: #94a3b8;
  background: #f1f5f9;
}
.product-detail-body { padding: 0; }
.product-detail-category { font-size: 0.8rem; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.5rem; }
.product-detail-title { margin: 0 0 0.75rem; font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: var(--dark-color); }
.product-detail-price { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.product-detail-description { margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.6; color: #64748b; }
.product-detail-stock { margin: 0 0 0.75rem; font-size: 0.95rem; color: #64748b; }
.product-detail-stock strong { color: var(--dark-color); }
.product-detail-cta { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.product-detail-qty-wrap { display: flex; align-items: center; gap: 0.75rem; }
.product-detail-qty-label { font-size: 0.9rem; color: #64748b; }
.product-detail-qty-input { width: 5rem; padding: 0.5rem 0.75rem; text-align: center; font-size: 1rem; font-weight: 600; border: 1px solid var(--light-color); border-radius: 8px; }
.product-detail-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Detail produktu – štýl podľa vzoru (špecifikácia, od €, DO KOŠÍKA, akcie, dôvera) */
.product-detail-style-b .product-detail-body { padding: 0 0 0 0.5rem; }
.product-detail-style-b .product-detail-title { font-size: 1.5rem; margin-bottom: 1rem; }
.product-detail-style-b .product-detail-description { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.6; color: #475569; }
.product-detail-specs { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; margin: 0 0 1rem; font-size: 0.9rem; }
.product-detail-specs dt { color: #64748b; }
.product-detail-specs dd { margin: 0; color: var(--dark-color); }
.product-detail-specs a { color: var(--primary-color); text-decoration: none; }
.product-detail-specs a:hover { text-decoration: underline; }
.product-detail-price-block { margin-bottom: 1.25rem; }
.product-detail-price-from { font-size: 0.95rem; color: #64748b; margin: 0 0 0.2rem; }
.product-detail-price-main { font-size: 1.35rem; font-weight: 700; color: var(--dark-color); margin: 0; }
.product-tier-price-wrap { margin-top: 0.5rem; }
.product-detail-unit-price { font-size: 0.9rem; color: var(--dark-color); margin: 0 0 0.15rem; }
.product-detail-total-price { font-size: 0.85rem; color: #64748b; margin: 0; white-space: nowrap; }
.product-detail-savings { font-size: 0.85rem; color: var(--primary-color, #DC4A04); margin: 0; font-weight: 600; }
.product-quantity-discount-section { margin: 1.25rem 0; padding: 1rem 0; border-top: 1px solid var(--light-color, #e2e8f0); }
.product-quantity-discount-title { font-size: 1rem; font-weight: 700; color: var(--dark-color); margin: 0 0 0.75rem; }
.product-tier-table { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 0.9rem; }
.product-tier-table th, .product-tier-table td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid var(--light-color, #e2e8f0); }
.product-tier-table th { font-weight: 600; color: #64748b; }
.product-tier-th-price { text-align: right !important; }
.product-tier-table .product-tier-price { text-align: right; font-weight: 600; color: var(--dark-color); }
.product-tier-discount { color: var(--primary-color); font-size: 0.85em; margin-left: 0.25rem; }
.product-detail-qty-controls { display: flex; align-items: center; border: 1px solid var(--light-color); border-radius: 8px; overflow: hidden; }
.product-detail-qty-btn {
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border: none; background: #f1f5f9; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--dark-color);
}
.product-detail-qty-btn:hover { background: #e2e8f0; }
.product-detail-qty-controls .product-detail-qty-input {
  width: 4rem; margin: 0; border: none; border-left: 1px solid var(--light-color); border-right: 1px solid var(--light-color); border-radius: 0;
}
.btn-do-kosik {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 700; color: #fff !important; background: var(--dark-color) !important;
  border: none; border-radius: 8px; cursor: pointer; margin-top: 0.5rem; transition: background 0.2s;
}
.btn-do-kosik:hover { background: #334155 !important; }
.btn-do-kosik-icon { font-size: 1.1rem; }
.product-detail-category-link { font-size: 0.9rem; color: #64748b; margin: 1rem 0 0.75rem; }
.product-detail-category-link a { color: var(--primary-color); text-decoration: none; }
.product-detail-category-link a:hover { text-decoration: underline; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--light-color); }
.product-detail-action-btn {
  padding: 0.4rem 0.75rem; font-size: 0.9rem; color: #64748b; background: transparent; border: 1px solid var(--light-color);
  border-radius: 6px; cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.product-detail-action-btn:hover { color: var(--dark-color); border-color: #cbd5e1; }
.product-trust { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--light-color); }
.product-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.product-trust-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem;
  font-size: 0.85rem; color: #64748b;
}
.product-trust-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.product-trust-item strong { color: var(--dark-color); font-size: 0.9rem; }
@media (max-width: 768px) {
  .product-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-trust-grid { grid-template-columns: 1fr; }
}

.product-related { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--light-color, #e2e8f0); }
.product-related-title { margin: 0 0 1.25rem; font-size: 1.15rem; font-weight: 600; color: var(--dark-color); }
.products-grid-compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.products-grid-compact .product-card-body { padding: 0.75rem 0.85rem 1rem; }
.products-grid-compact .product-card-title { font-size: 0.9rem; -webkit-line-clamp: 2; }
.products-grid-compact .product-card-price { font-size: 1rem; }
@media (max-width: 992px) {
  .products-grid-style-b { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; gap: 1rem; }
  .shop-sidebar { position: static; width: 100%; min-width: 0; }
  .shop-categories-list { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .products-grid-style-b { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .product-card-body { padding: 0.5rem 0.55rem 0.6rem; }
  .product-card-title { font-size: 0.75rem; }
  .product-card-price { font-size: 0.85rem; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-image { max-width: 100%; }
  .shop-bestsellers-grid { grid-template-columns: 1fr; }
  .shop-section { padding: 1.5rem 0; }
}
@media (max-width: 480px) {
  .products-grid,
  .products-grid-style-b { grid-template-columns: 1fr; gap: 0.75rem; }
  .product-card-price-from,
  .product-card-price-with { font-size: 0.65rem; }
  .product-card-price-with { font-size: 0.8rem; }
  .btn-product-detail { font-size: 0.85rem; padding: 0.45rem 0.75rem; }
  .shop-bestseller-name { font-size: 0.85rem; }
  .shop-sort-tabs { width: 100%; }
  .shop-sort-tab { flex: 1; min-width: 0; text-align: center; }
  .cart-section .container { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* Košík – typografia, veľkosti písma a zarovnanie */
#eshop-cart-root,
.cart-content { font-family: inherit; line-height: 1.5; -webkit-font-smoothing: antialiased; }

.cart-items-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-color, #0A0F1A);
  margin: 0 0 1.25rem;
}

.cart-items {
  padding-left: 0.5rem;
  padding-right: 0.75rem;
}
.cart-item-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-color, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item-thumb-placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  margin: 0 0 0.5rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  min-height: 3.5rem;
}
.cart-item:last-child { margin-bottom: 0; }

.item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.cart-item-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark-color, #0A0F1A);
}
.cart-item-meta {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #475569;
}
.cart-item .item-total {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark-color, #0A0F1A);
  text-align: right;
  white-space: nowrap;
}

/* Množstvo v košíku – ovládanie +/− a tlačidlo Aktualizovať košík */
.item-quantity {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.quantity-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  display: block;
}
.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-color, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f1f5f9;
  color: var(--dark-color, #0A0F1A);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.qty-btn:hover {
  background: var(--primary-color, #DC4A04);
  color: #fff;
}
.qty-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 1px;
}
.item-quantity .quantity-input {
  width: 3rem;
  height: 2.25rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-left: 1px solid var(--light-color, #e2e8f0);
  border-right: 1px solid var(--light-color, #e2e8f0);
  padding: 0 0.25rem;
  -moz-appearance: textfield;
}
.item-quantity .quantity-input::-webkit-outer-spin-button,
.item-quantity .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-update-row {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-color, #e2e8f0);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.btn-update-cart {
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, #DC4A04 0%, #EA6B0C 45%, #F59E0B 100%) !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(220, 74, 4, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-update-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 74, 4, 0.35);
}
.cart-update-hint {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}
.item-price-detail .price-per-unit { font-weight: 600; color: var(--dark-color); }
.remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.remove-btn:hover {
  background: #b91c1c;
  color: #fff;
}
button.remove-btn,
.remove-btn-ls {
  border: none;
  cursor: pointer;
  font: inherit;
}

.summary-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark-color);
  margin: 0 0 1rem;
}
.summary-card .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #475569;
}
.summary-card .summary-row span:last-child { font-variant-numeric: tabular-nums; }
.summary-card .summary-row-total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 2px solid #e2e8f0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark-color);
}
.summary-note { font-size: 0.875rem !important; line-height: 1.45 !important; }

/* Objednávka – formulár a súhrn (svetlá téma) */
.order-page {
  font-family: inherit;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.order-page .order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  margin-bottom: 1.75rem;
  align-items: start;
}
.order-delivery-payment-summary {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(220, 74, 4, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(220, 74, 4, 0.25);
}
.order-delivery-payment-summary p { margin: 0.3rem 0; font-size: 0.9rem; color: var(--dark-color); }
.cart-delivery-payment h3,
.order-company h2,
.order-form-card h2,
.order-summary-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-color, #0A0F1A);
}
.cart-step-hint { margin: 0 0 1rem; font-size: 0.85rem; color: #64748b; line-height: 1.45; }
.cart-delivery-payment .form-field { margin-bottom: 1rem; }
.order-company {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--light-color, #e2e8f0);
}
.order-company p { margin: 0.3rem 0; font-size: 0.9rem; line-height: 1.45; color: #475569; }

/* Formulár objednávky – štruktúra a zarovnanie */
.order-form-card {
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--light-color, #e2e8f0);
  background: #fff;
}
.order-form-card form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.order-form-card .form-field {
  margin-bottom: 1.125rem;
}
.order-form-card .form-field:last-of-type {
  margin-bottom: 0;
}
.order-form-card .form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark-color, #0A0F1A);
}
.order-form-card .form-field input[type="text"],
.order-form-card .form-field input[type="email"],
.order-form-card .form-field input[type="number"],
.order-form-card .form-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--dark-color, #0A0F1A);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.order-form-card .form-field input:focus,
.order-form-card .form-field textarea:focus {
  outline: none;
  border-color: var(--primary-color, #DC4A04);
  box-shadow: 0 0 0 3px rgba(220, 74, 4, 0.1);
}
.order-form-card .form-field input::placeholder,
.order-form-card .form-field textarea::placeholder {
  color: #94a3b8;
}
.order-form-card .form-field textarea {
  resize: vertical;
  min-height: 4rem;
}
/* Riadok PSČ + Obec – rovnaké zarovnanie */
.order-form-card .form-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  margin-bottom: 1.125rem;
  align-items: end;
}
.order-form-card .form-row .form-field {
  margin-bottom: 0;
}
.order-form-card .form-row .form-field label {
  margin-bottom: 0.375rem;
}
.order-form-card .form-row .form-field input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-sizing: border-box;
}
/* Checkboxy – zarovnanie */
.order-form-card .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark-color, #0A0F1A);
  cursor: pointer;
}
.order-form-card .checkbox-label input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
}
/* Oddelenie sekcie „Doručiť na inú adresu” */
.order-form-card .form-field-delivery-toggle {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}
/* Blok inej adresy doručenia */
.order-form-card .delivery-address-block {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.order-form-card .delivery-address-block .delivery-address-title,
.order-form-card .delivery-address-block h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}
.order-form-card .delivery-address-block .form-field {
  margin-bottom: 1rem;
}
.order-form-card .delivery-address-block .form-row {
  margin-bottom: 1rem;
}
.order-form-card .delivery-address-block .form-field:last-child,
.order-form-card .delivery-address-block .form-row:last-of-type {
  margin-bottom: 0;
}
/* Captcha – jeden riadok (form-group z captcha-math) */
.order-form-card .form-group.captcha-math {
  margin-bottom: 1.125rem;
}
.order-form-card .captcha-math label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark-color);
}
.order-form-card .captcha-math-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.order-form-card .captcha-math-expr {
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--dark-color);
}
.order-form-card .captcha-math-input {
  width: 4.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.9375rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-sizing: border-box;
}
/* Zľavový kód – rozumná šírka */
.order-form-card .input-discount-code {
  max-width: 16rem;
}
.order-form-card .form-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}
.order-form-card .form-note a {
  color: var(--primary-color);
  text-decoration: underline;
}
.order-summary-card .order-summary,
.order-summary-card .order-summary-row,
.order-summary-card .order-summary-totals .order-summary-row {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark-color, #0A0F1A);
}
.order-submit-wrap .btn { font-weight: 600; letter-spacing: 0.02em; }
.order-errors {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 12px;
  border-left: 4px solid #dc2626;
}
.order-errors ul { margin: 0; padding-left: 1.25rem; color: #b91c1c; font-size: 0.9rem; }
.order-success {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
}
.order-success h2 { margin: 0 0 0.75rem; font-size: 1.35rem; font-weight: 600; color: #059669; }
.order-success p { margin-bottom: 1.25rem; color: #64748b; font-size: 0.95rem; }
.order-success .btn { margin: 0.35rem; }
.order-summary-card {
  margin-top: 0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--light-color, #e2e8f0);
  background: #fff;
}
.order-summary-empty { color: #64748b; margin: 0; font-size: 0.9rem; }
.order-summary-empty a { color: var(--primary-color); text-decoration: underline; }
.order-summary-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.order-summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-color, #e2e8f0);
  font-size: 0.9rem;
}
.order-item-price { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--dark-color); }
.order-summary-totals { padding-top: 1rem; margin-top: 0.5rem; border-top: 2px solid var(--light-color, #e2e8f0); }
.order-summary-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9rem; }
.order-summary-total { font-weight: 700; font-size: 1.1rem; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--light-color, #e2e8f0); color: var(--primary-color); }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; color: #64748b; }
.checkbox-label input { margin-top: 0.2rem; }
.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #DC4A04 0%, #EA6B0C 45%, #F59E0B 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}
.cart-toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
  .order-page .order-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .order-form-card .form-row { grid-template-columns: 1fr; }
  .order-summary-card { margin-top: 1rem; }
}
@media (max-width: 480px) {
  .cart-item { flex-direction: column; align-items: stretch; gap: 0.75rem; text-align: left; }
  .cart-item .item-total { text-align: left; }
}
