/**
 * vsedlasada.sk - WordPress / WooCommerce Garden Design Theme
 * Clean, Semantic & High Performance CSS
 */

:root {
  /* Farebná paleta - Záhradný prémiový dizajn */
  --primary-dark: #1b4332;
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --primary-pale: #e8f5e9;
  --accent: #d97706;
  --accent-hover: #b45309;
  --earth: #795548;
  --earth-light: #f5efe6;
  
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-body: #f8faf8;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --border-focus: #2d6a4f;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(45, 106, 79, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
}

/* Reset & Základné štýly */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Tlačidlá */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(45, 106, 79, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* 1. Horná lišta (Top Announcement Bar) */
.top-bar {
  background-color: var(--primary-dark);
  color: #d8f3dc;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar a {
  color: #ffffff;
}

/* 2. Hlavná hlavička (Header) */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.is-sticky {
  box-shadow: var(--shadow-md);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo-leaf-icon {
  font-size: 1.8rem;
  color: var(--primary);
}

.logo-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-pale);
  color: var(--primary-dark);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-header-cart:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.cart-badge-count {
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* 3. Hero sekcia */
.hero-section {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #d8f3dc;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #74c69d;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e8f5e9;
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-features-bar {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #d8f3dc;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-img-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #ffffff;
  color: var(--text-main);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-icon {
  font-size: 2rem;
  background-color: var(--primary-pale);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.floating-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 4. Rýchle benefity (Feature strip) */
.features-strip {
  background-color: #ffffff;
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  background-color: var(--primary-pale);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-main);
}

.feature-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 5. Sekcie všeobecne */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* 6. Kategórie */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.cat-img-wrap {
  height: 160px;
  overflow: hidden;
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .cat-img-wrap img {
  transform: scale(1.08);
}

.cat-info {
  padding: 16px;
  text-align: center;
}

.cat-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.cat-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 7. Flash akcia banner s odpočítavaním */
.flash-deal-banner {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
}

.deal-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.deal-text p {
  color: #d8f3dc;
  font-size: 0.95rem;
}

.deal-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 56px;
}

.cd-box strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.cd-box small {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #d8f3dc;
}

.cd-sep {
  font-size: 1.4rem;
  font-weight: 700;
  color: #74c69d;
}

/* 8. Produktová karta (WooCommerce štýl) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.product-thumb {
  position: relative;
  height: 220px;
  background-color: #f3f4f6;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.badge-ribbon {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.badge-ribbon.discount {
  left: 12px;
  background-color: #dc2626;
  color: #ffffff;
}

.badge-ribbon.status {
  right: 12px;
  background-color: var(--primary-dark);
  color: #ffffff;
}

.product-quick-actions {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  transition: bottom 0.3s ease;
  z-index: 3;
}

.product-card:hover .product-quick-actions {
  bottom: 10px;
}

.btn-quick-view {
  background-color: rgba(27, 67, 50, 0.9);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md);
  transition: background-color 0.2s ease;
}

.btn-quick-view:hover {
  background-color: var(--primary);
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 42px;
}

.product-title a {
  color: var(--text-main);
}

.product-title a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.rating-num {
  font-weight: 700;
  color: var(--text-main);
}

.reviews-count {
  color: var(--text-muted);
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
}

.prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.stock-status {
  font-size: 0.75rem;
  font-weight: 600;
}

.stock-status.in-stock {
  color: #16a34a;
}

.product-short-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* 9. Prečo si vybrať nás (Záruky a výhody) */
.why-choose-us {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.guarantee-card {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.guarantee-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.guarantee-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.guarantee-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 10. Recenzie zákazníkov */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.author-verified {
  font-size: 0.75rem;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 11. Záhradné tipy (Blog strip) */
.garden-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.tip-img {
  height: 180px;
}

.tip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tip-content {
  padding: 20px;
}

.tip-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.tip-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.tip-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* 12. Rýchly Banner objednávky (Call to action) */
.fast-order-cta-section {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #ffffff;
  padding: 50px 0;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  max-width: var(--container-width);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 40px;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-text p {
  color: #d8f3dc;
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-form-box {
  background-color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
}

.cta-form-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.cta-form-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* 13. Formulárové prvky */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-benefits {
  background-color: var(--primary-pale);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.form-legal a {
  text-decoration: underline;
}

/* 14. Pätička stránky (Footer) - WordPress & Google Ads compliant */
.site-footer {
  background-color: #11281e;
  color: #e5e7eb;
  padding: 60px 0 20px;
  border-top: 4px solid var(--primary);
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-company-id {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #d1d5db;
  line-height: 1.5;
}

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

.footer-links a {
  color: #9ca3af;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #d1d5db;
  font-size: 0.85rem;
}

.footer-contact-item a {
  color: #d8f3dc;
  font-weight: 600;
}

.footer-badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #d8f3dc;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  color: #9ca3af;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* 15. Modal okno pre 1-klik objednávku */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-tag {
  display: inline-block;
  background-color: #fef3c7;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-product-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-body);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modal-prod-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.modal-prod-info {
  flex: 1;
}

.modal-prod-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.modal-prod-price .current-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.modal-prod-price .old-price {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.modal-prod-price .badge-discount {
  background-color: #fee2e2;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.modal-prod-stock {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 600;
}

/* 16. Cookie lišta */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1b4332;
  color: #ffffff;
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 9998;
  transition: opacity 0.3s ease;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-icon {
  font-size: 2rem;
}

.cookie-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.8rem;
  color: #d8f3dc;
  line-height: 1.4;
}

.cookie-text a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* 17. Toast správa */
.cart-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  background-color: #16a34a;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* 18. Breadcrumbs (Navigačná omrvinka) */
.breadcrumbs-bar {
  background-color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-list a {
  color: var(--text-muted);
}

.breadcrumbs-list a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--primary-dark);
  font-weight: 600;
}

/* 19. Detail produktu layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.gallery-main-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  margin-bottom: 14px;
  height: 420px;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: #ffffff;
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--primary);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.prod-badge-tag {
  background-color: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 10px;
}

.prod-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.prod-price-box {
  background-color: #f8faf8;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 16px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
}

.prod-price-box .price-current {
  font-size: 2rem;
}

/* Rýchly 1-klik formulár priamo na detaile produktu */
.product-direct-order-card {
  background-color: #f1f8f1;
  border: 2px solid #b7e4c7;
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.direct-order-header {
  margin-bottom: 16px;
}

.direct-order-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.direct-order-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Tabuľka parametrov */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.specs-table tr:nth-child(even) {
  background-color: #f9fafb;
}

.specs-table td {
  padding: 10px 14px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-color);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 40%;
}

/* 20. Stránka Košíka */
.cart-page-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.cart-items-card, .cart-summary-card {
  background-color: #ffffff;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.cart-table th {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 2px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cart-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-prod-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-prod-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-input {
  width: 34px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-remove-item {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-summary-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.summary-row.total {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  padding-top: 14px;
  border-top: 2px solid var(--border-color);
  margin-top: 14px;
}

/* 21. Stránka Poďakovania (Thank You) */
.thank-you-box {
  background-color: #ffffff;
  max-width: 700px;
  margin: 40px auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: #d8f3dc;
  color: #1b4332;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.thank-you-box h1 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.order-code-badge {
  display: inline-block;
  background-color: #f3f4f6;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
  text-align: left;
}

.thank-step-card {
  background-color: var(--bg-body);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.step-num {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: block;
}

.thank-step-card h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.thank-step-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.order-summary-review {
  background-color: #f9fafb;
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

/* 22. Textové stránky (O nás, Podmienky, GDPR) */
.page-legal-content {
  background-color: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.page-legal-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.page-legal-content .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  display: block;
}

.page-legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 28px 0 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.page-legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 18px 0 8px;
}

.page-legal-content p, .page-legal-content ul {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.page-legal-content ul {
  list-style: disc;
  padding-left: 24px;
}

.page-legal-content li {
  margin-bottom: 8px;
}

.company-credentials-box {
  background-color: var(--primary-pale);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.9rem;
}

/* 23. Katalóg filtre & rozloženie */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.shop-sidebar {
  background-color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  height: fit-content;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-pale);
}

.filter-category-list li {
  margin-bottom: 10px;
}

.filter-category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--text-main);
  font-size: 0.9rem;
}

.filter-category-list a.active, .filter-category-list a:hover {
  color: var(--primary);
  font-weight: 700;
}

.shop-toolbar {
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* 24. FAQ položky */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 22px 20px;
  max-height: 200px;
}
