/*
Theme Name: Pema Záhradkár
Theme URI: https://pemazahradkar.sk
Author: Pema Záhradkár
Description: Profesionálna WooCommerce téma pre Pema Záhradkár – záhrada, dielňa, stavba, chovateľstvo.
Version: 5.12.5
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: pema-zahradkar
*/

/* ===== 1. CSS Variables ===== */
:root {
  --primary-color: #315b2d;
  --primary-dark: #2c4f32;
  --accent-color: #5cb85c;
  --bg-dark: #1a2e1a;
  --bg-darker: #0f1f0f;
  --bg-card: #1e351e;
  --text-primary: #f0f6fc;
  --text-secondary: #b0bcc8;
  --text-muted: #6a7a88;

  --border: rgba(255,255,255,0.08);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);

  --radius: 8px;
  --radius-lg: 14px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --header-h: 64px;
  --sidebar-w: 280px;
  --container: 1280px;
}

/* ===== 2. Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }

::selection {
  background: var(--accent-color);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: #3d5c39;
  border-radius: 99px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 4px;
}
ul { list-style: none; }

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

/* ===== 3. Top Bar ===== */
.header-top {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  line-height: 36px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 24px;
}

.top-contact-item {
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-contact-item svg {
  display: block;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-links a {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  transition: color 0.2s;
}
.top-links a:hover { color: #fff; }
.top-links .cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.6);
}
.top-links .cart-link:hover {
  color: #fff;
}
.top-links .cart-link svg {
  display: block;
  width: 16px;
  height: 16px;
}
.top-links .cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.52rem;
  font-weight: 700;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ===== 4. Header ===== */
.site-header {
  background: var(--bg-darker);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h, 64px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  background: rgba(15, 31, 15, 0.96);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h, 64px);
  gap: 20px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.site-logo-text span {
  color: var(--accent-color);
}

/* ===== 5. Navigation ===== */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul,
.main-nav-list {
  display: flex;
  gap: 2px;
}

.main-nav a {
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .current-menu-item a {
  color: var(--accent-color);
}

/* ===== 6. Header Search ===== */
.header-search {
  flex: 1;
  max-width: 280px;
  position: relative;
}

.header-search form {
  position: relative;
}

.header-search input[type="search"] {
  width: 100%;
  padding: 8px 36px 8px 14px;
  border: none;
  border-radius: 50px;
  font-size: 0.82rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
  transition: background 0.2s;
}

.header-search input[type="search"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.header-search input[type="search"]:focus {
  background: rgba(255,255,255,0.15);
}

.header-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.header-search button:hover {
  color: var(--accent-color);
}

/* ===== Search Dropdown ===== */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.search-dropdown-inner {
  max-height: 360px;
  overflow-y: auto;
}

.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  cursor: pointer;
}

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

.search-dropdown-item:hover {
  background: rgba(255,255,255,0.04);
}

.sdi-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-dark);
}

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

.sdi-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sdi-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdi-price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-color);
}

.search-loading {
  padding: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.search-empty {
  padding: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== 7. Header Actions ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-toggle-mobile {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  transition: background 0.2s;
}
.search-toggle-mobile svg {
  display: block;
}

.search-toggle-mobile:hover {
  background: rgba(255,255,255,0.1);
}

.cart-link {
  position: relative;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.cart-link svg {
  display: block;
}

.cart-link:hover {
  color: #fff;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mobile-trigger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-trigger svg {
  display: block;
}

.mobile-trigger:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== 8. Mobile Menu ===== */
.mobile-nav {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  background: var(--bg-card);
  width: 290px;
  height: 100%;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 0 40px rgba(0,0,0,0.2);
  position: relative;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.active .mobile-nav-inner {
  transform: translateX(0);
}

.mobile-nav-inner li {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.active .mobile-nav-inner li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active .mobile-nav-inner li:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(2) { transition-delay: 0.10s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(3) { transition-delay: 0.14s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(4) { transition-delay: 0.18s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(5) { transition-delay: 0.22s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(6) { transition-delay: 0.26s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(7) { transition-delay: 0.30s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(8) { transition-delay: 0.34s; }
.mobile-nav.active .mobile-nav-inner li:nth-child(n+9) { transition-delay: 0.38s; }

.mobile-nav-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-dark);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--text-primary);
}
.mobile-nav-close svg { display: block; }

.mobile-nav-close:hover { background: var(--border); }

.mobile-search {
  margin-top: 36px;
  margin-bottom: 16px;
  position: relative;
}

.mobile-search input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  background: var(--bg-dark);
  outline: none;
}

.mobile-search .search-dropdown {
  top: 100%;
  left: 0;
  right: 0;
  position: absolute;
}

.mobile-search button { display: none; }

.mobile-nav-inner ul,
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-inner li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-inner a {
  display: block;
  padding: 14px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}

.mobile-nav-inner a:hover { color: var(--accent-color); }

.mobile-extra {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ===== 9. Search Modal ===== */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  z-index: 300;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-modal.active { display: flex; }

.search-modal-box {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
  transform: translateY(-16px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.search-modal.active .search-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-dark);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--text-primary);
}

.search-modal-close:hover { background: var(--border); }

.search-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.search-modal input[type="search"] {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  background: var(--bg-dark);
  outline: none;
  transition: border-color 0.2s;
}

.search-modal input[type="search"]:focus {
  border-color: var(--primary-color);
}

.search-modal button[type="submit"] {
  display: none;
}

#search-results {
  margin-top: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.search-results-inner ul { display: flex; flex-direction: column; gap: 8px; }
.search-results-inner li { display: flex; }
.search-results-inner a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius);
  transition: background 0.2s;
  width: 100%;
}
.search-results-inner a:hover { background: var(--bg-dark); }
.search-results-inner img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}
.result-info { flex: 1; }
.result-title {
  font-size: 0.88rem;
  font-weight: 500;
}
.result-price {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 600;
}
.search-loading,
.search-empty,
.search-error {
  padding: 16px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ===== 9a. Cart Off-Canvas ===== */
.cart-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cart-offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--bg-card);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-offcanvas.active {
  transform: translateX(0);
}

.cart-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-offcanvas-header h3 {
  font-size: 1.1rem;
  margin: 0;
}
.cart-offcanvas-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
}
.cart-offcanvas-close:hover {
  color: var(--text-primary);
}
.cart-offcanvas-close svg {
  display: block;
  width: 22px;
  height: 22px;
}

.cart-offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.cart-offcanvas .mini-cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.cart-offcanvas .mini-cart-total {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
}

body.cart-open {
  overflow: hidden;
}

.mini-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.mini-cart-remove {
  position: absolute;
  top: 6px;
  right: 10px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s;
}

.mini-cart-remove:hover {
  color: #dc2626;
}

.mini-cart-thumb {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-dark);
}

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

.mini-cart-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-cart-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-cart-title:hover {
  color: var(--accent-color);
}

.mini-cart-qty {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mini-cart-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mini-cart-empty-actions {
  padding: 0 16px 20px;
}

.mini-cart-item.removing {
  opacity: 0.3;
  transition: opacity 0.2s;
}

.mini-cart-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-cart-total {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.btn-block {
  width: 100%;
}

/* ===== Mini Cart Quantity Buttons ===== */
.mini-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}
.mini-cart-qty-btn {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  transition: background 0.2s;
}
.mini-cart-qty-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.mini-cart-qty-val {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== VAT Label ===== */
.vat-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== VAT Notice ===== */
.vat-notice {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 6px 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-vat {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== 9. Page Layout ===== */
.page-wrap {
  display: flex;
  gap: 40px;
  padding: 40px 24px;
  align-items: flex-start;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.page-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin-left: -24px;
}

.page-main {
  flex: 1;
  min-width: 0;
}

/* ===== 10. Sidebar ===== */
.sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.sidebar-head {
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
}

.sidebar-head::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1));
  pointer-events: none;
}

.sidebar-body { padding: 6px 0; }

.sidebar-cat {
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.sidebar-cat:hover {
  background: rgba(49,91,45,0.04);
}

.sidebar-cat:active {
  transform: scale(0.98);
}

.sidebar-cat.has-children > a { padding-right: 40px; }

.sidebar-cat:last-child { border-bottom: none; }

.sidebar-cat > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s, padding-left 0.25s;
  position: relative;
  z-index: 2;
}

.sidebar-cat-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.sidebar-cat:hover .sidebar-cat-icon {
  transform: scale(1.15);
}

.sidebar-cat.current > a {
  background: linear-gradient(135deg, rgba(49,91,45,0.3), rgba(92,184,92,0.1));
  color: var(--accent-color);
  font-weight: 600;
  border-left: 3px solid var(--accent-color);
}

.sidebar-cat.current .sidebar-cat-icon {
  transform: scale(1.1);
}

.sidebar-cat-name { flex: 1; }

.sidebar-cat-count {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
  padding: 2px 9px;
  border-radius: 20px;
  min-width: 26px;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.sidebar-cat:hover .sidebar-cat-count {
  background: rgba(49,91,45,0.12);
  color: var(--accent-color);
  transform: scale(1.05);
}

.sidebar-cat-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
  z-index: 1;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-cat-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
}

.sidebar-cat:hover .sidebar-cat-toggle {
  color: var(--accent-color);
}

.sidebar-cat.open > a .sidebar-cat-toggle {
  transform: translateY(-50%) rotate(180deg);
}

.sidebar-sub {
  display: none;
  padding: 0 0 8px 50px;
  background: linear-gradient(135deg, rgba(49,91,45,0.03), rgba(92,184,92,0.02));
  border-radius: 0 0 8px 8px;
}

.sidebar-cat.open .sidebar-sub {
  display: block;
  animation: sidebarSubFade 0.3s ease;
}

.sidebar-cat:not(.open) .sidebar-sub {
  display: none !important;
}

@keyframes sidebarSubFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidebar-sub a {
  display: block;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
  position: relative;
  border-radius: 4px;
  padding-left: 8px;
}

.sidebar-sub a::before {
  content: '›';
  position: absolute;
  left: -4px;
  opacity: 0;
  transition: opacity 0.2s, left 0.2s;
  color: var(--accent-color);
  font-weight: 700;
}

.sidebar-sub a:hover {
  color: var(--accent-color);
  padding-left: 16px;
  background: rgba(49,91,45,0.05);
}

.sidebar-sub a:hover::before {
  opacity: 1;
  left: 2px;
}

.sidebar-sub a:hover::before {
  opacity: 1;
  left: -8px;
}



/* ===== 11. Hero Slideshow ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 800px;
}

.slide-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* ===== Promo Slide ===== */
.promo-slide {
  overflow: hidden;
}

.promo-scatter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.promo-item {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  object-fit: cover;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform 0.3s;
}

.promo-slide:hover .promo-item {
  filter: brightness(1.05);
}

.promo-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
  max-width: 700px;
}

.promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.promo-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 3px 20px rgba(0,0,0,0.35);
}

.promo-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  line-height: 1.5;
}

.promo-valid {
  display: inline-block;
  background: rgba(0,0,0,0.3);
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .promo-title { font-size: 1.8rem; }
  .promo-item { width: 60px !important; }
  .promo-scatter { opacity: 0.25; }
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dots span:hover {
  background: rgba(255,255,255,0.6);
  transform: scale(1.15);
}

.slider-dots span.active {
  background: #fff;
  transform: scale(1.25);
}

/* ===== 11b. Hero: bannery z administrácie ===== */
.slide {
  background-size: cover;
  background-position: center;
}

.slide.active {
  animation: heroKenBurns 9s ease-out forwards;
}

@keyframes heroKenBurns {
  from { background-size: 105%; }
  to { background-size: 120%; }
}

.slide-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.slide-default {
  background: linear-gradient(135deg, #0f1f0f 0%, #1a2e1a 35%, #2c4f32 75%, #315b2d 100%);
}

.slide-default-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.slide-decor-item {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,0.2);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .slide-decor-item { width: 60px !important; opacity: 0.3; }
}

/* ===== 12. (removed - trust bar) ===== */

/* ===== 13. Sections ===== */
.section {
  padding: 48px 0;
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ===== 14. (removed - features) ===== */

/* ===== 15. Products ===== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.empty-products {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.prod-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.prod-card:hover {
  box-shadow: 0 14px 36px rgba(46, 125, 50, 0.16);
  transform: translateY(-8px);
  border-color: rgba(46, 125, 50, 0.35);
}

.prod-card:hover::before {
  transform: scaleX(1);
}

.prod-card .img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-dark);
  overflow: hidden;
}

.prod-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.prod-card:hover .img img {
  transform: scale(1.08);
}

.prod-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.prod-card:hover .img::after {
  opacity: 1;
}

.prod-card .info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prod-card .title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.34em;
}

.prod-card .title a { color: var(--text-primary); }
.prod-card .title a:hover { color: var(--accent-color); }

.prod-card .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-color);
}

.prod-card .actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 1;
}

.badge-sale {
  background: #dc2626;
  color: #fff;
}

@media (max-width: 900px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* ===== 16. Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transform: translateY(-6px);
}

.blog-card .img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.blog-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover .img img {
  transform: scale(1.08);
}

.blog-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.blog-card:hover .img::after {
  opacity: 1;
}

.blog-card .icon-placeholder {
  width: 64px;
  height: 64px;
  display: block;
  position: relative;
}
.blog-card .icon-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.2;
}
.blog-card .icon-placeholder::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-icon-1::after {
  content: '';
  width: 36px; height: 36px;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
}
.blog-icon-2::after {
  content: '';
  width: 36px; height: 36px;
  border: 3px solid var(--accent-color);
  border-radius: 8px;
  opacity: 0.6;
}
.blog-icon-3::after {
  content: '';
  width: 0; height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 28px solid var(--accent-color);
  opacity: 0.5;
}
.blog-icon-4::after {
  content: '';
  width: 36px; height: 36px;
  border: 3px solid var(--accent-color);
  border-radius: 50% 0 50% 0;
  opacity: 0.6;
}
.blog-icon-5::after {
  content: '';
  width: 36px; height: 20px;
  border: 3px solid var(--accent-color);
  border-radius: 50%/40%;
  opacity: 0.6;
}
.blog-icon-6::after {
  content: '';
  width: 36px; height: 36px;
  background: var(--accent-color);
  border-radius: 4px;
  opacity: 0.25;
}

.blog-card .body {
  padding: 20px;
}

.blog-card .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--accent-color); }

.blog-card .body p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.blog-card .link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
}

.blog-card .link:hover { color: var(--accent-color); }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== 17. Newsletter ===== */
.newsletter {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d3b0f 50%, #1a2e1a 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(92,184,92,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.newsletter p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  backdrop-filter: blur(4px);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(92,184,92,0.3);
}

.newsletter-form button:hover {
  background: #4cae4c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92,184,92,0.4);
}

.newsletter-form button:active {
  transform: translateY(0);
}

/* ===== 18. Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 56px 0 48px;
}

.footer-widget h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-widget p {
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.footer-widget ul { display: flex; flex-direction: column; gap: 8px; }

.footer-widget a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-widget a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--accent-color);
}
.contact-icon svg {
  display: block;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
  color: #fff;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.footer-social a svg {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-navigation ul {
  display: flex;
  gap: 16px;
}

.footer-navigation a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-navigation a:hover { color: #fff; }

/* ===== Sidebar Widget ===== */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 16px;
}

.sidebar-widget-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== Section Footer ===== */
.section-footer {
  margin-top: 32px;
  text-align: center;
}

.section-footer .btn {
  padding: 12px 32px;
}

/* ===== Placeholder Image ===== */
.placeholder-img {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-img::before {
  content: '';
  width: 48px;
  height: 48px;
  border: 2px dashed var(--text-muted);
  border-radius: 12px;
  opacity: 0.4;
}

/* ===== Out of Stock ===== */
.btn-out-of-stock {
  padding: 7px 14px;
  font-size: 0.82rem;
  background: var(--bg-dark);
  color: var(--text-muted);
  border-radius: var(--radius);
  display: inline-block;
  text-align: center;
}

/* ===== 404 Page ===== */
.error-404 {
  text-align: center;
  padding: 100px 0;
}

.error-404-icon {
  margin-bottom: 16px;
  color: var(--accent-color);
  opacity: 0.6;
}
.error-404-icon svg {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto;
}

.error-404-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* ===== 19. Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.2;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-accent {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

.btn-accent:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* ===== 20. WooCommerce Overrides ===== */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 750px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.woocommerce ul.products li.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 14px 36px rgba(46, 125, 50, 0.16);
  transform: translateY(-8px);
  border-color: rgba(46, 125, 50, 0.35);
}

.woocommerce ul.products li.product:hover::before {
  transform: scaleX(1);
}

.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc2626;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 2;
  min-height: auto;
  line-height: 1;
}

.woocommerce ul.products li.product a img {
  margin: 0 !important;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  aspect-ratio: 3/4;
  object-fit: contain;
  width: 100%;
  padding: 10px;
  background: #fff;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.06);
}

.shop-cat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px 0;
  font-weight: 500;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px 2px !important;
  min-height: 2.4em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-loop-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 12px 6px;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.woocommerce ul.products li.product .price {
  padding: 0 12px 8px !important;
  color: var(--accent-color) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  font-size: 0.78em !important;
  margin-right: 6px;
  opacity: 0.85;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  font-weight: 700;
}

.woocommerce ul.products li.product .button {
  margin: auto 12px 12px !important;
  border-radius: var(--radius) !important;
  background: var(--primary-color) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 10px 14px !important;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, box-shadow 0.25s ease !important;
  text-align: center;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--accent-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.3);
}

.woocommerce ul.products li.product .added_to_cart {
  display: none !important;
}

.woocommerce .price {
  color: var(--accent-color) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.woocommerce .star-rating span { color: var(--primary-color) !important; }

.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--primary-color) !important;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: rgba(255,255,255,0.1) !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--text-secondary);
  margin-bottom: 24px !important;
}

.woocommerce .woocommerce-ordering select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 32px 8px 12px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.woocommerce .woocommerce-ordering select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ===== WooCommerce Product Page ===== */
.woocommerce div.product {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.woocommerce div.product div.images {
  width: auto !important;
  float: none !important;
  flex: 0 0 500px;
  margin: 0 !important;
}

.woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
  flex: 1 1 350px;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .woocommerce div.product div.images {
    flex: 1 1 100%;
  }
  .woocommerce div.product div.summary {
    flex: 1 1 100%;
  }
}

.single-cat-label {
  font-size: 0.75rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-bottom: 4px;
}

.woocommerce div.product .product_title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.woocommerce div.product .woocommerce-product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  max-width: 500px;
}

.woocommerce div.product .woocommerce-product-gallery img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  padding: 10px;
}

.woocommerce div.product .summary {
  flex: 1;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

.woocommerce div.product .flex-viewport {
  border-radius: var(--radius-lg);
}

.woocommerce div.product ol.flex-control-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px !important;
  justify-content: center;
}

.woocommerce div.product ol.flex-control-thumbs li {
  width: 60px !important;
  margin: 0 !important;
}

.woocommerce div.product ol.flex-control-thumbs li img {
  border-radius: var(--radius);
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
  cursor: pointer;
}

.woocommerce div.product ol.flex-control-thumbs li img.flex-active,
.woocommerce div.product ol.flex-control-thumbs li img:hover {
  border-color: var(--primary-color);
  opacity: 1;
}

.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-product-rating .star-rating {
  color: #f59e0b;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--accent-color) !important;
  font-size: 1.4rem !important;
  font-weight: 700;
  margin-bottom: 16px;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  opacity: 0.5;
  font-size: 0.9rem;
  margin-right: 8px;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  font-weight: 700;
}

.woocommerce div.product .stock {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.woocommerce div.product .out-of-stock {
  display: inline-block;
  background: #fbe9e7;
  color: #c62828;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 24px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-color: var(--border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 4px 0 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--text-secondary) !important;
  padding: 10px 18px !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  background: transparent !important;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  transition: all 0.2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--accent-color) !important;
  background: var(--bg-card) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px !important;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.92rem;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-tabs .panel p {
  margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-tabs .panel li {
  margin-bottom: 4px;
}

.woocommerce div.product .quantity .qty {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  font-size: 0.95rem;
  width: 4.5em;
  text-align: center;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.woocommerce div.product form.cart .button,
.woocommerce .cart .button,
.woocommerce a.button {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  transition: all 0.25s !important;
  font-size: 0.9rem !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce .cart .button:hover,
.woocommerce a.button:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 15px rgba(46,125,50,0.3);
}

.woocommerce div.product .product_meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 12px;
}

.woocommerce div.product .product_meta a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.woocommerce div.product .product_meta a:hover {
  color: var(--accent-color);
}

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.woocommerce div.product .related.products h2,
.woocommerce div.product .upsells.products h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 10px;
}

.woocommerce div.product .related.products h2::after,
.woocommerce div.product .upsells.products h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.woocommerce div.product .related.products ul.products {
  grid-template-columns: repeat(4, 1fr);
}

.woocommerce div.product .related.products ul.products li.product {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.woocommerce div.product .related.products ul.products li.product:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .woocommerce div.product .related.products ul.products { grid-template-columns: repeat(2, 1fr); }
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 32px;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
  font-size: 1rem;
  font-weight: 700;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  font-size: 1rem !important;
  padding: 14px !important;
}

/* ===== WooCommerce Cart ===== */
.woocommerce table.cart,
.woocommerce table.shop_table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.woocommerce table.shop_table th {
  background: var(--bg-darker);
  color: var(--text-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.woocommerce table.shop_table td {
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

.woocommerce table.shop_table td.product-name a {
  color: var(--text-primary);
  font-weight: 500;
}

.woocommerce table.shop_table td.product-name a:hover {
  color: var(--accent-color);
}

.woocommerce table.shop_table td.product-remove a.remove {
  color: #dc2626 !important;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
  background: #dc2626;
  color: #fff !important;
}

.woocommerce .cart_totals h2 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.woocommerce .cart_totals table.shop_table {
  background: var(--bg-card);
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  color: var(--text-primary);
  font-weight: 700;
}

.woocommerce .coupon input[type="text"] {
  background: var(--bg-dark);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.85rem;
}

.woocommerce .coupon button.button {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
}

.woocommerce .coupon button.button:hover {
  background: var(--primary-dark) !important;
}

/* ===== WooCommerce Notices ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text-primary) !important;
  padding: 16px 20px 16px 48px !important;
  margin-bottom: 20px !important;
  line-height: 1.5;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  top: 16px !important;
  left: 16px !important;
}
.woocommerce-message {
  border-left: 4px solid var(--accent-color) !important;
}
.woocommerce-error {
  border-left: 4px solid #dc2626 !important;
}
.woocommerce-info {
  border-left: 4px solid #3b82f6 !important;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  background: var(--accent-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
  background: #4cae4c !important;
}

/* ===== WooCommerce Checkout ===== */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--accent-color);
}

.woocommerce form .form-row label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.woocommerce .select2-container .select2-selection--single {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  height: 44px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--text-primary);
  line-height: 42px;
  padding-left: 14px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
  top: 8px;
  right: 8px;
}

.woocommerce .select2-dropdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.woocommerce .select2-results__option {
  color: var(--text-primary);
  padding: 8px 14px;
}

.woocommerce .select2-results__option--highlighted {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.woocommerce-checkout #payment {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.woocommerce-checkout #payment .payment_methods {
  border-bottom-color: var(--border);
}

.woocommerce-checkout #payment .payment_methods li {
  color: var(--text-primary);
}

.woocommerce-checkout #payment .payment_methods li label {
  color: var(--text-primary);
  font-weight: 500;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--bg-dark);
  color: var(--text-secondary);
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--bg-dark);
}

.woocommerce-checkout .place-order button.button {
  background: var(--accent-color) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: var(--radius) !important;
}

.woocommerce-checkout .place-order button.button:hover {
  background: #4cae4c !important;
}

/* ===== WooCommerce My Account ===== */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--primary-color);
  color: #fff;
  padding-left: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--text-secondary);
}

.woocommerce-account .woocommerce-MyAccount-content h3 {
  color: var(--text-primary);
  font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-content .button {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover {
  background: var(--primary-dark) !important;
}

.woocommerce-account address {
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.6;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  margin: 0 auto;
}

.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.woocommerce-account .woocommerce-form-login .button:hover,
.woocommerce-account .woocommerce-form-register .button:hover {
  background: var(--primary-dark) !important;
}

/* ===== WooCommerce Notices ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm) !important;
}

.woocommerce-message::before,
.woocommerce-info::before { color: var(--accent-color) !important; }
.woocommerce-error::before { color: #dc2626 !important; }

.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
  background: var(--primary-dark) !important;
}

/* ===== WooCommerce Form Fields (general) ===== */
.woocommerce form .form-row .required { color: #dc2626; }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--accent-color); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #dc2626; }

/* ===== WooCommerce Breadcrumb ===== */
.woocommerce-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
  color: var(--accent-color);
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 4px;
  color: var(--text-muted);
}

/* ===== Sidebar Widgets (WooCommerce) ===== */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 16px;
}

.sidebar-widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

.sidebar-widget ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.sidebar-widget ul li a:hover {
  color: var(--accent-color);
}

/* ===== WordPress Defaults ===== */
.site { min-height: 100vh; }

.site-main {
  padding: 24px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.tags-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tags-links a {
  background: var(--bg-dark);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.tags-links a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--accent-color);
}

.entry-header,
.page-header {
  margin-bottom: 20px;
}

.entry-title,
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.entry-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.entry-meta a { color: var(--accent-color); }
.entry-meta a:hover { text-decoration: underline; }

.post-thumbnail {
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.entry-content {
  line-height: 1.7;
  font-size: 1rem;
}

.entry-content p { margin-bottom: 16px; }
.entry-content ul,
.entry-content ol { margin: 0 0 16px 24px; }
.entry-content li { margin-bottom: 6px; }

.entry-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.entry-footer a { color: var(--accent-color); }

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.nav-previous,
.nav-next { max-width: 48%; }

.nav-previous a,
.nav-next a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent-color);
}

.nav-previous a:hover,
.nav-next a:hover { color: var(--accent-color); }

.no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--text-secondary);
}

.no-results h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.page-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-widget-about p {
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ===== Comments ===== */
.comments-area {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin-left: 40px;
  padding: 0;
}

.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment:last-child { border-bottom: none; }

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.comment-author { font-weight: 600; color: var(--text-primary); }
.comment-author .says { display: none; }
.comment-author .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.comment-metadata a { color: var(--text-muted); font-size: 0.8rem; }
.comment-metadata a:hover { color: var(--accent-color); }

.comment-content {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.comment-content p { margin-bottom: 8px; }

.reply a { font-size: 0.82rem; font-weight: 500; color: var(--accent-color); }
.reply a:hover { text-decoration: underline; }

.comment-respond { margin-top: 32px; }

.comment-reply-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment-form p { margin: 0; }

.comment-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent-color); }

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form .form-submit input {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form .form-submit input:hover { background: var(--primary-dark); }

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.2s, color 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next { font-size: 1rem; font-weight: 700; }

/* ===== 21b. Preloader ===== */
.pema-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(1200px 640px at 50% -10%, #eef4ea 0%, #f6f8f4 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.pema-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader-logo {
  position: relative;
  width: 185px;
  height: 185px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 32px rgba(46, 125, 50, 0.22));
  animation: preloaderFloat 2.4s ease-in-out infinite;
}

@keyframes preloaderFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.preloader-logo .preloader-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.35;
  filter: grayscale(1);
}

.preloader-fill {
  --fill: 0;
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #1b5e20 0%, #43a047 45%, #81c784 55%, #2e7d32 100%);
  background-size: 220% 100%;
  clip-path: inset(0 0 calc((100 - var(--fill)) * 1%) 0);
  -webkit-mask: url('assets/images/logo pema.png') center / contain no-repeat;
          mask: url('assets/images/logo pema.png') center / contain no-repeat;
  animation: liquidShimmer 1.7s linear infinite;
}

@keyframes liquidShimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 220% 0; }
}

.preloader-fill::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -2px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  animation: liquidWave 1.1s ease-in-out infinite;
}

@keyframes liquidWave {
  0%, 100% { transform: translateY(-2px) scaleY(1); }
  50%      { transform: translateY(1px) scaleY(0.85); }
}

.preloader-drip {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 12px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #a5d6a7, #2e7d32 70%);
  animation: liquidDrip 1.5s ease-in infinite;
}

.preloader-drip.d2 {
  left: 34%;
  width: 9px;
  height: 11px;
  animation-delay: 0.5s;
}

.preloader-drip.d3 {
  left: 66%;
  width: 7px;
  height: 9px;
  animation-delay: 1s;
}

@keyframes liquidDrip {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  15%  { opacity: 1; }
  70%  { transform: translateY(58px) scale(1); opacity: 1; }
  100% { transform: translateY(88px) scale(0.5); opacity: 0; }
}

.preloader-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a5a47;
  letter-spacing: 0.05em;
}

.preloader-dots::after {
  content: '';
  animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
}

.preloader-percent {
  margin-top: 8px;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ===== 22. Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.fadeInUp {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes popIn {
  0%   { opacity: 0; transform: translateY(90px) scale(0.9); }
  70%  { opacity: 1; transform: translateY(-14px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

.js .section,
.js .prod-card,
.js .blog-card,
.js .about-card,
.js .contact-info-item,
.js .contact-form,
.js .woocommerce ul.products li.product {
  opacity: 0;
}

.js .section.animated {
  opacity: 1;
  animation: slideUpBig 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .prod-card.animated,
.js .blog-card.animated,
.js .about-card.animated,
.js .contact-info-item.animated,
.js .contact-form.animated,
.js .woocommerce ul.products li.product.animated {
  opacity: 1;
  animation: popIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section.animated,
.prod-card.animated,
.blog-card.animated,
.about-card.animated,
.contact-info-item.animated,
.contact-form.animated,
.woocommerce ul.products li.product.animated {
  opacity: 1;
}

.prod-card:nth-child(1) { animation-delay: 0s; }
.prod-card:nth-child(2) { animation-delay: 0.08s; }
.prod-card:nth-child(3) { animation-delay: 0.16s; }
.prod-card:nth-child(4) { animation-delay: 0.24s; }
.prod-card:nth-child(5) { animation-delay: 0.08s; }
.prod-card:nth-child(6) { animation-delay: 0.16s; }
.prod-card:nth-child(7) { animation-delay: 0.24s; }
.prod-card:nth-child(8) { animation-delay: 0.32s; }

.about-card:nth-child(1) { animation-delay: 0s; }
.about-card:nth-child(2) { animation-delay: 0.08s; }
.about-card:nth-child(3) { animation-delay: 0.16s; }
.about-card:nth-child(4) { animation-delay: 0.24s; }

.contact-info-item:nth-child(1) { animation-delay: 0s; }
.contact-info-item:nth-child(2) { animation-delay: 0.08s; }
.contact-info-item:nth-child(3) { animation-delay: 0.16s; }
.contact-info-item:nth-child(4) { animation-delay: 0.24s; }
.contact-form { animation-delay: 0.12s; }

.woocommerce ul.products li.product:nth-child(4n+1) { animation-delay: 0s; }
.woocommerce ul.products li.product:nth-child(4n+2) { animation-delay: 0.08s; }
.woocommerce ul.products li.product:nth-child(4n+3) { animation-delay: 0.16s; }
.woocommerce ul.products li.product:nth-child(4n+4) { animation-delay: 0.24s; }

.blog-card:nth-child(1) { animation-delay: 0s; }
.blog-card:nth-child(2) { animation-delay: 0.12s; }
.blog-card:nth-child(3) { animation-delay: 0.24s; }

.slide.active .slide-content {
  animation: slideUpBig 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-logo:hover img {
  transform: rotate(-3deg) scale(1.06);
}

.site-logo img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===== 21c. Scroll progress + back to top ===== */
html {
  scroll-behavior: smooth;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  z-index: 999999;
  border-radius: 0 99px 99px 0;
}

#back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, background-color 0.3s ease, visibility 0.3s;
  z-index: 99990;
}

#back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-top:hover {
  background: var(--accent-color);
  transform: translateY(-3px) scale(1.05);
}

#back-top svg {
  width: 20px;
  height: 20px;
}

/* ===== 21d. Cart badge bump ===== */
@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.cart-count.bump {
  animation: cartBump 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== 22. Extra animácie a efekty ===== */
/* Ken Burns: pomalý pohyb pozadia hero slidov */
.hero-slider .slide.active {
  animation: kenburns 16s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { background-position: 50% 30%; }
  to   { background-position: 50% 70%; }
}

/* Benefits marquee (odstránené) */

/* Sekcie: názov s animovanou podčiarkou */
.section-title {
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.animated .section-title::after {
  animation: drawLine 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes drawLine {
  to { width: 64px; }
}

/* Tlačidlá: lesk pri hovore */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 160%;
}

/* Obchod: zoom fotky v mriežke */
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img {
  transform: scale(1.08);
}

/* Sklad: pulzujúca bodka */
.woocommerce .stock.in-stock::before,
.woocommerce p.in-stock::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-right: 7px;
  vertical-align: middle;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(46, 125, 50, 0); }
}

/* Pätička: odkaz s animovanou podčiarkou */
.site-footer a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.site-footer a:hover {
  background-size: 100% 1px;
}

@media (prefers-reduced-motion: reduce) {
  .pema-preloader,
  .preloader-box,
  .preloader-logo,
  .preloader-fill,
  .preloader-fill::after,
  .preloader-drip,
  .section.animated,
  .prod-card.animated,
  .blog-card.animated,
  .woocommerce ul.products li.product.animated,
  .slide.active .slide-content,
  .fadeInUp,
  .fadeIn,
  .site-logo img,
  .btn,
  .btn::after,
  #back-top,
  #scroll-progress,
  .hero-slider .slide.active,
  .section-title::after,
  .woocommerce .stock.in-stock::before,
  .site-footer a,
  .js body,
  .header-top,
  .hero-scroll-hint,
  .hero-scroll-hint span,
  .promo-title,
  .promo-badge::after,
  .promo-item,
  .badge-sale,
  .woocommerce ul.products li.product .onsale,
  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span,
  .pagination .page-numbers,
  .footer-social a,
  .site-footer::before,
  .about-card,
  .about-icon,
  .contact-info-item,
  .contact-info-icon,
  .contact-form,
  .main-nav a::after,
  .search-toggle-mobile,
  .cart-link,
  .mobile-trigger,
  .header-search input[type="search"],
  .prod-card .img::before,
  .woocommerce ul.products li.product::after,
  .blog-card .img::before,
  .footer-widget h4::after,
  .footer-widget ul li a,
  .sidebar-cat > a,
  .sidebar-cat-toggle,
  .quantity .plus,
  .quantity .minus,
  .woocommerce a.remove,
  .cart-dropdown-items .mini-cart-item,
  .cart-dropdown-items .mini-cart-item .mini-cart-qty-btn,
  .search-dropdown-item,
  #mobile-menu li,
  .pagination .page-numbers.current,
  .woocommerce nav.woocommerce-pagination ul li span.current,
  #back-top.visible,
  .woocommerce-breadcrumb a,
  .woocommerce-MyAccount-navigation ul li a,
  .animated .section-desc,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .woocommerce div.product .summary.entry-summary,
  .woocommerce div.product div.images img,
  .woocommerce div.product .stock.in-stock,
  .woocommerce div.product form.cart .button,
  .woocommerce div.product form.cart .button::after,
  .woocommerce div.product .product_meta > span a,
  .woocommerce ul.products li.product,
  .woocommerce table.shop_table tr,
  .woocommerce-cart .cart-empty,
  .woocommerce-cart .return-to-shop,
  .search-dropdown-footer,
  .search-modal-footer {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .preloader-fill {
    --fill: 100;
  }
}

/* ===== 23. Responsive ===== */
@media (max-width: 1100px) {
  .page-sidebar { width: 220px; }
}

@media (max-width: 900px) {
  .page-sidebar { width: 200px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-top { height: auto; padding: 4px 0; }
  .header-top .container { flex-wrap: wrap; gap: 0 16px; justify-content: center; }
  .top-contact { gap: 10px; font-size: 0.7rem; }
  .top-links { font-size: 0.7rem; }

  .header-search { display: none; }
  .main-nav { display: none; }

  .search-toggle-mobile { display: flex; }
  .mobile-trigger { display: flex; }

  .hero-slider { height: 360px; }
  .slide-content h1 { font-size: 1.6rem; }
  .slide-content p { font-size: 0.95rem; margin-bottom: 24px; }

  .section { padding: 36px 0; }
  .section-title { font-size: 1.35rem; }

  .page-wrap { flex-direction: column; margin-left: 0; padding: 24px; }
  .page-sidebar { width: 100%; position: static; margin-left: 0; }
  .page-sidebar .sidebar-box { min-width: 0; }


  .newsletter { padding: 44px 0; }
  .newsletter h2 { font-size: 1.35rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .header-actions { gap: 6px; }
  .top-contact { gap: 6px; font-size: 0.65rem; }
  .section { padding: 28px 0; }
  .search-modal-box { margin: 0 12px; padding: 18px; }
  .mobile-nav-inner { width: 100%; }
  .hero-slider { height: 300px; }
  .slide-content h1 { font-size: 1.3rem; }
  .prod-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-form button { width: 100%; }
}

/* ===== Cart & Checkout Full-Width ===== */
.page-wrap-full .page-main {
  width: 100%;
}

.woocommerce-cart .cart-collaterals {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.woocommerce-cart .cross-sells {
  margin-top: 32px;
}
.woocommerce-cart .cross-sells h2 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.woocommerce-cart .cart-empty {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: center;
  padding: 40px;
}
.woocommerce-cart .return-to-shop {
  text-align: center;
}
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0;
  text-align: right;
}
.woocommerce-cart .actions .button {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}
.woocommerce-cart .actions .button:hover {
  background: var(--primary-dark) !important;
}
.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
  margin-bottom: 0;
}

/* ===== Checkout Improvements ===== */
.woocommerce-checkout .col2-set {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  flex: 1;
  min-width: 280px;
}
.woocommerce-checkout #order_review {
  margin-top: 32px;
}
.woocommerce-checkout #order_review table.shop_table {
  margin-bottom: 24px;
}
.woocommerce-checkout #order_review table.shop_table tfoot th {
  background: var(--bg-darker);
}
.woocommerce-checkout #order_review table.shop_table .product-total {
  text-align: right;
}
.woocommerce-checkout #payment .payment_methods {
  padding: 16px;
}
.woocommerce-checkout #payment .payment_methods li {
  padding: 8px 0;
}
.woocommerce-checkout #payment .payment_box {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
}
.woocommerce-checkout .place-order {
  padding: 16px;
}

/* ===== Order Received ===== */
.woocommerce-order-received .woocommerce-order {
  max-width: 700px;
  margin: 0 auto;
}
.woocommerce-order-received .woocommerce-order h2 {
  color: var(--text-primary);
  font-weight: 700;
}
.woocommerce-order-received .woocommerce-order table.shop_table {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .woocommerce-cart .cart-collaterals .cart_totals {
    max-width: 100%;
  }
  .woocommerce-checkout .col2-set {
    flex-direction: column;
  }
}

/* ===== 25. Konečný polish ===== */

/* Jemné svetelné ambience pozadia */
body {
  background:
    radial-gradient(1000px 620px at 85% -10%, rgba(92, 184, 92, 0.07), transparent 60%),
    radial-gradient(800px 520px at -8% 55%, rgba(46, 125, 50, 0.06), transparent 60%),
    var(--bg-dark);
}

/* Fade-in celej stránky (len s JS) */
.js body {
  animation: pageFade 0.55s ease 0.05s both;
}

@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Typografia: prísnejšie nadpisy */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.015em;
}

/* Horný pásik: plynulý posun gradientu */
.header-top {
  background: linear-gradient(90deg, var(--primary-dark), #3c5e3a, var(--primary-dark));
  background-size: 220% 100%;
  animation: headerTopShift 16s ease infinite;
}

@keyframes headerTopShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero: pozícia pre prechody a indikátor scrollu */
.hero-slider {
  position: relative;
}

.hero-scroll-hint {
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 9px;
  z-index: 5;
  animation: hintPulse 2.4s ease-in-out infinite;
}

.hero-scroll-hint span {
  width: 4px;
  height: 9px;
  border-radius: 99px;
  background: #fff;
  animation: hintDot 1.6s ease-in-out infinite;
}

@keyframes hintDot {
  0% { opacity: 0; transform: translateY(-5px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes hintPulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.55); }
  50% { border-color: rgba(255, 255, 255, 0.15); }
}

/* Hero: spodný prechod do pozadia stránky */
.hero-slider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  z-index: 3;
  pointer-events: none;
}

/* Promo slide: zlatý trblietavý názov */
.promo-title {
  background: linear-gradient(100deg, #ffd700, #fff8d0 45%, #ffd700);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: promoGold 7s linear infinite;
}

@keyframes promoGold {
  to { background-position: 220% center; }
}

/* Promo: lesk na badge */
.promo-badge {
  position: relative;
  overflow: hidden;
}

.promo-badge::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: badgeShine 3.4s ease-in-out infinite;
}

@keyframes badgeShine {
  0% { left: -70%; }
  55% { left: 150%; }
  100% { left: 150%; }
}

/* Promo: plávajúce tvary */
.promo-item {
  animation: floaty 6s ease-in-out infinite alternate;
}

.promo-item:nth-child(2n) { animation-duration: 7.5s; animation-delay: 0.6s; }
.promo-item:nth-child(3n) { animation-duration: 5.4s; animation-delay: 1.3s; }

@keyframes floaty {
  from { translate: 0 0; }
  to { translate: 0 -14px; }
}

/* Tlačidlá: gradientný posun + stlačenie */
.btn-primary,
.btn-accent {
  background-image: linear-gradient(120deg, var(--primary-dark), var(--primary-color)) !important;
  background-size: 220% auto !important;
  background-position: 0% 50% !important;
}

.btn-primary:hover,
.btn-accent:hover {
  background-image: linear-gradient(120deg, var(--primary-dark), var(--primary-color)) !important;
  background-position: 100% 50% !important;
  background-color: transparent;
  box-shadow: 0 10px 26px rgba(46, 125, 50, 0.4);
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

/* Front karty: cena detail + odznak ZĽAVA */
.prod-card .price del {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78em;
  margin-right: 6px;
  opacity: 0.8;
}

.prod-card .price ins {
  text-decoration: none;
}

.badge-sale {
  animation: badgePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both, pulseRing 2.4s ease-in-out 1s infinite;
}

@keyframes badgePop {
  from { transform: scale(0) rotate(-12deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.cat-label {
  display: inline-block;
  background: rgba(92, 184, 92, 0.12);
  border: 1px solid rgba(92, 184, 92, 0.25);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.6px;
}

/* Shop: odznak Výpredaj ako pilulka s animáciou */
.woocommerce ul.products li.product .onsale {
  border-radius: 99px;
  animation: badgePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both, pulseRing 2.4s ease-in-out 1s infinite;
}

/* Shop: tlačidlo Do košíka */
.woocommerce ul.products li.product .button {
  background-image: linear-gradient(120deg, var(--primary-dark), var(--primary-color)) !important;
  background-size: 220% auto !important;
}

.woocommerce ul.products li.product .button:hover {
  background-image: linear-gradient(120deg, var(--primary-dark), var(--primary-color)) !important;
  background-position: 100% 50% !important;
}

/* Shop: jemnejšia medzera mriežky */
.woocommerce ul.products { gap: 18px; }

/* Stránkovanie: hover pop */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.pagination .page-numbers {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.pagination .page-numbers:not(.current):hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.25);
}

/* Single produkt: riadok dôvery */
.pema-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pema-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pema-trust span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.18);
}

/* Single produkt: gradientná cena */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-color), #8fd98f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

/* Tabs: ukazovateľ pod aktívnym tabom */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
  transform: scaleX(1);
}

/* Breadcrumb: pilulka */
.woocommerce-breadcrumb {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 18px;
}

/* Newsletter: žiara inputu */
.newsletter-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.25);
  background: rgba(255, 255, 255, 0.18);
}

/* Footer: gradientná hrana + sociálne ikony */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
  background-size: 200% 100%;
  animation: headerTopShift 14s ease infinite;
}

.footer-social a {
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* Košík: riadky hover */
.woocommerce table.shop_table tbody tr {
  transition: background 0.25s;
}

.woocommerce table.shop_table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Responsive: skryť indikátor scrollu na mobile */
@media (max-width: 768px) {
  .hero-scroll-hint { display: none; }
}

/* ===== 26. O nás + Kontakt ===== */

/* Sekcia O nás */
.about-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(46, 125, 50, 0.18);
  border-color: rgba(46, 125, 50, 0.35);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(92, 184, 92, 0.18), rgba(46, 125, 50, 0.28));
  color: var(--accent-color);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-card:hover .about-icon {
  transform: scale(1.12) rotate(-6deg);
}

.about-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Sekcia Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(6px);
  border-color: rgba(92, 184, 92, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 184, 92, 0.14);
  color: var(--accent-color);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.1) rotate(-6deg);
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info-item > span:last-child {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  gap: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  justify-self: start;
}

.pema-hp {
  display: none !important;
}

.pema-cf-ok,
.pema-cf-error {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.92rem;
}

.pema-cf-ok {
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.4);
  color: #8fd98f;
}

.pema-cf-error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #f2a0a0;
}

/* Responsive pre O nás a Kontakt */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .about-grid { grid-template-columns: 1fr; }
  .top-links .top-link { padding: 3px 10px; font-size: 0.65rem; }
}

/* ===== 27. Pokladňa: jasné popisy a vylepšenia ===== */

/* Popisky polí — jasne viditeľné, čo sa kam vypĺňa */
.woocommerce form .form-row label {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.woocommerce form .form-row label .required {
  color: var(--accent-color);
  border: none;
}

/* Placeholdery — ľahko čitateľné */
.woocommerce form .form-row input::placeholder,
.woocommerce form .form-row textarea::placeholder,
.woocommerce-checkout .woocommerce-shipping-fields textarea::placeholder {
  color: rgba(176, 188, 200, 0.5);
}

/* Polia — žiara pri fokuse */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.18);
}

/* Nadpisy sekcií pokladne — zelená podčiarka */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  position: relative;
  padding-bottom: 12px;
}

.woocommerce-checkout .woocommerce-billing-fields h3::after,
.woocommerce-checkout .woocommerce-shipping-fields h3::after,
.woocommerce-checkout #order_review_heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Prehľad objednávky */
.woocommerce-checkout #order_review {
  margin-top: 24px;
}

.woocommerce-checkout #order_review table.shop_table {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Spôsob platby — zelené rádio */
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--accent-color);
}

.woocommerce-checkout #payment .payment_methods li label img {
  border-radius: 6px;
  margin: 0 6px;
}

/* Tlačidlo objednávky — celá šírka, gradient, efekt */
.woocommerce-checkout .place-order {
  margin-top: 12px;
}

.woocommerce-checkout .place-order button.button {
  width: 100% !important;
  background-image: linear-gradient(120deg, var(--primary-dark), var(--accent-color)) !important;
  background-size: 220% auto !important;
  background-position: 0% 50% !important;
  transition: background-position 0.5s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}

.woocommerce-checkout .place-order button.button:hover {
  background-image: linear-gradient(120deg, var(--primary-dark), var(--accent-color)) !important;
  background-color: transparent;
  background-position: 100% 50% !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(92, 184, 92, 0.35) !important;
}

/* ===== 28. Zjednotenie zobrazenia: všetko ako na hlavnej stránke ===== */

/* Karty v obchode — rovnaká mriežka ako prod-grid na hlavnej */
.woocommerce ul.products {
  gap: 24px;
}

/* Obrázok produktu — tmavý štvorcový cover ako prod-card .img */
.woocommerce ul.products li.product a img {
  aspect-ratio: 1;
  object-fit: cover;
  padding: 0;
  background: var(--bg-dark);
}

/* Kategória na karte — zelená pilulka ako .cat-label na hlavnej */
.shop-cat-label {
  display: inline-block;
  margin: 10px 16px 0;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(92, 184, 92, 0.12);
  border: 1px solid rgba(92, 184, 92, 0.25);
  color: var(--text-muted);
  letter-spacing: 0.6px;
  font-weight: 600;
}

/* Názov produktu — rovnaký ako .prod-card .title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9rem;
  padding: 8px 16px 2px !important;
  min-height: 2.34em;
}

/* Popis — rovnaké odsadenie */
.shop-loop-desc {
  padding: 0 16px 6px;
}

/* Cena — rovnaká ako .prod-card .price */
.woocommerce ul.products li.product .price {
  font-size: 1.05rem !important;
  padding: 0 16px 10px !important;
}

/* Tlačidlo Do košíka — rovnaká veľkosť ako .btn-sm na hlavnej */
.woocommerce ul.products li.product .button {
  font-size: 0.82rem !important;
  padding: 8px 14px !important;
  margin: auto 16px 16px !important;
}

/* Nadpisy stránok (obchod, blog, archív, hľadanie) — podčiarka ako .section-title */
.woocommerce-page h1.page-title,
.blog h1.page-title,
.archive h1.page-title,
.search h1.page-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
  font-size: 1.6rem;
  font-weight: 700;
}

.woocommerce-page h1.page-title::after,
.blog h1.page-title::after,
.archive h1.page-title::after,
.search h1.page-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Blog: karty aj pri nadpise článku — zelený dôraz */
.single .post h1,
.single .post h2,
.single .post h3 {
  scroll-margin-top: 120px;
}

.blog-card .blog-card-body {
  text-align: left;
}

/* Počítadlo výsledkov a radenie — rovnako odsadené ako sekcie */
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering {
  margin-bottom: 20px !important;
}

/* ===== 29. Finálny polish — ešte krajšie detaily ===== */

/* Zelený výber textu a viditeľný focus */
::selection {
  background: rgba(92, 184, 92, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

/* Logo: zelená žiara pri hovore */
.site-logo img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.site-logo:hover img {
  filter: drop-shadow(0 6px 16px rgba(92, 184, 92, 0.5));
}

/* Navigácia: gradientová podčiarka + aktívny stav */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav .current-menu-item a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header akcie: posun a žiara */
.search-toggle-mobile,
.cart-link,
.mobile-trigger {
  transition: color 0.2s, background 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.search-toggle-mobile:hover,
.mobile-trigger:hover,
.cart-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(92, 184, 92, 0.45));
}

/* Hľadanie v hlavičke: žiara pri fokuse */
.header-search input[type="search"]:focus {
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.3), 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* Popis sekcie sa zjaví po nadpise */
.animated .section-desc {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* Karty produktov: lesk prebehne cez obrázok */
.prod-card .img::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 2;
  pointer-events: none;
}

.prod-card:hover .img::before {
  left: 130%;
}

.prod-card:hover .img img {
  transform: scale(1.12);
}

.prod-card:hover .price {
  color: var(--accent-color);
  text-shadow: 0 0 18px rgba(92, 184, 92, 0.4);
}

/* Karty v obchode: lesk + jemný sklon obrázka */
.woocommerce ul.products li.product::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 2;
  pointer-events: none;
}

.woocommerce ul.products li.product:hover::after {
  left: 130%;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.1);
}

/* Blog karty: lesk cez obrázok */
.blog-card .img::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 2;
  pointer-events: none;
}

.blog-card:hover .img::before {
  left: 130%;
}

/* Tlačidlá: stlačenie dole */
.btn:active,
.woocommerce ul.products li.product .button:active,
.single_add_to_cart_button:active,
.place-order button:active {
  transform: scale(0.96) !important;
}

/* Pätka: nadpisy s gradient podčiarkou */
.footer-widget h4 {
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-widget:hover h4::after {
  width: 56px;
}

/* Pätka: odkazy sa posunú a dostanú šípku */
.footer-widget ul li a {
  display: inline-block;
  transition: color 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-widget ul li a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

/* Pätka: sociálne ikony poskočia */
.footer-social a {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, color 0.2s;
}

.footer-social a:hover {
  transform: translateY(-4px) rotate(-8deg);
}

/* Newsletter: žiara pri fokuse */
.newsletter-box input[type="email"]:focus,
.newsletter-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.35);
}

/* Bočný panel: kategórie s posunom a šípkou */
.sidebar-cat > a {
  transition: color 0.2s, background 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-cat > a:hover {
  transform: translateX(4px);
  color: var(--accent-color);
}

.sidebar-cat-toggle {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
}

.sidebar-cat-toggle:hover {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/* Single produkt: názov s gradient podčiarkou */
.woocommerce div.product .product_title {
  position: relative;
  padding-bottom: 12px;
}

.woocommerce div.product .product_title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Single produkt: galéria — zväčšovacia lupa a miniatúry */
.woocommerce div.product div.images img {
  cursor: zoom-in;
}

.woocommerce div.product div.images ol.flex-control-thumbs li img {
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}

.woocommerce div.product div.images ol.flex-control-thumbs li img:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Počet kusov: tlačidlá + a − reagujú */
.quantity .plus,
.quantity .minus {
  transition: background 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.quantity .plus:hover,
.quantity .minus:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
  transform: scale(1.08);
}

/* Košík: riadky a odstránenie */
.woocommerce table.cart td,
.woocommerce table.shop_table td {
  transition: background 0.2s;
}

.woocommerce table.cart tr:hover td,
.woocommerce table.shop_table tr:hover td {
  background: rgba(92, 184, 92, 0.05);
}

.woocommerce a.remove {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, color 0.2s;
}

.woocommerce a.remove:hover {
  transform: scale(1.15) rotate(90deg);
}

/* WooCommerce správy: elegantné zjavenie */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  animation: slideUpBig 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Mini košík: riadky a tlačidlá množstva */
.cart-dropdown-items .mini-cart-item {
  transition: background 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-dropdown-items .mini-cart-item:hover {
  background: rgba(92, 184, 92, 0.06);
}

.cart-dropdown-items .mini-cart-item .mini-cart-qty-btn {
  transition: background 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-dropdown-items .mini-cart-item .mini-cart-qty-btn:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
  transform: scale(1.1);
}

/* Live hľadanie: položky s posunom */
.search-dropdown-item {
  transition: background 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-dropdown-item:hover {
  background: rgba(92, 184, 92, 0.08);
  transform: translateX(4px);
}

.search-dropdown-item .sdi-img img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-dropdown-item:hover .sdi-img img {
  transform: scale(1.08);
}

/* Mobilné menu: odkazy sa zoradia postupne po otvorení */
.mobile-nav.active #mobile-menu li {
  animation: fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-nav.active #mobile-menu li:nth-child(1) { animation-delay: 0.04s; }
.mobile-nav.active #mobile-menu li:nth-child(2) { animation-delay: 0.08s; }
.mobile-nav.active #mobile-menu li:nth-child(3) { animation-delay: 0.12s; }
.mobile-nav.active #mobile-menu li:nth-child(4) { animation-delay: 0.16s; }
.mobile-nav.active #mobile-menu li:nth-child(5) { animation-delay: 0.2s; }
.mobile-nav.active #mobile-menu li:nth-child(6) { animation-delay: 0.24s; }
.mobile-nav.active #mobile-menu li:nth-child(7) { animation-delay: 0.28s; }
.mobile-nav.active #mobile-menu li:nth-child(8) { animation-delay: 0.32s; }

/* Stránkovanie: aktuálna stránka gradient */
.pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: linear-gradient(120deg, var(--primary-color), var(--accent-color)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

/* Späť hore: žiara + pulzujúci krúžok */
#back-top.visible {
  animation: backTopGlow 2.6s ease-in-out infinite;
}

@keyframes backTopGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35), 0 0 0 0 rgba(92, 184, 92, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35), 0 0 0 9px rgba(92, 184, 92, 0); }
}

#back-top:hover {
  transform: translateY(-3px) rotate(-6deg);
  background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
}

/* Indikátor scrollu: jemná žiara */
#scroll-progress {
  box-shadow: 0 0 12px rgba(92, 184, 92, 0.6);
}

/* Strúhanka: posun pri hovore */
.woocommerce-breadcrumb a {
  transition: color 0.2s, transform 0.2s ease;
  display: inline-block;
}

.woocommerce-breadcrumb a:hover {
  transform: translateY(-1px);
  color: var(--accent-color);
}

/* Môj účet: navigácia s posunom */
.woocommerce-MyAccount-navigation ul li a {
  transition: color 0.2s, background 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--accent-color);
  background: rgba(92, 184, 92, 0.08);
  transform: translateX(4px);
}

/* ===== 30. Single produkt a zobrazenie produktov: najväčší dôraz ===== */

/* Galéria: tmavé pozadie ako karty + plynulý zoom obrázka */
.woocommerce div.product .woocommerce-product-gallery {
  background: var(--bg-dark);
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.woocommerce div.product div.images img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.woocommerce div.product div.images img:hover {
  transform: scale(1.1);
}

/* Súhrn produktu sa elegantne zjaví */
.woocommerce div.product .summary.entry-summary {
  animation: slideUpBig 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Názov produktu — výraznejší */
.woocommerce div.product .product_title {
  font-size: 1.7rem;
}

/* Cena — väčšia so žiarou */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.65rem !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-shadow: 0 0 18px rgba(92, 184, 92, 0.35);
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  text-decoration-color: rgba(220, 38, 38, 0.6);
}

/* Skladom — pulzujúca pilulka */
.woocommerce div.product .stock.in-stock {
  animation: stockPulse 2.2s ease-in-out infinite;
}

@keyframes stockPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(46, 125, 50, 0); }
}

/* Tlačidlo Do košíka — gradient s leskom */
.woocommerce div.product form.cart .button {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(120deg, var(--primary-dark), var(--accent-color)) !important;
  background-size: 220% auto !important;
  background-position: 0% 50% !important;
  transition: background-position 0.5s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}

.woocommerce div.product form.cart .button:hover {
  background-image: linear-gradient(120deg, var(--primary-dark), var(--accent-color)) !important;
  background-position: 100% 50% !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(92, 184, 92, 0.35) !important;
}

.woocommerce div.product form.cart .button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.woocommerce div.product form.cart .button:hover::after {
  left: 130%;
}

/* Karty produktov: skladom / vypredané na karte — jemné orámovanie */
.woocommerce ul.products li.product .btn-out-of-stock {
  margin: auto 16px 16px;
}

/* Zápisky (SKU, kategória, značky) — pilulky */
.woocommerce div.product .product_meta > span {
  display: inline-block;
  background: rgba(92, 184, 92, 0.08);
  border: 1px solid rgba(92, 184, 92, 0.22);
  border-radius: 99px;
  padding: 4px 12px;
  margin: 2px 4px 2px 0;
}

.woocommerce div.product .product_meta > span a {
  color: var(--accent-color);
}

/* Zápisky: odkaz poskočí */
.woocommerce div.product .product_meta > span a {
  transition: transform 0.2s ease;
  display: inline-block;
}

.woocommerce div.product .product_meta > span a:hover {
  transform: translateX(2px);
}

/* Zápisky: kratší opis */
.woocommerce div.product .woocommerce-product-details__short-description {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

/* Karty produktov: hranica — zelená pri hovore */
.woocommerce ul.products li.product {
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

/* Súvisiace produkty: nadpis s podčiarkou */
.woocommerce div.product .related.products h2,
.woocommerce div.product .upsells.products h2 {
  position: relative;
  padding-bottom: 12px;
  font-size: 1.3rem;
}

.woocommerce div.product .related.products h2::after,
.woocommerce div.product .upsells.products h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Karty produktov: cena v sklade aj v obchode — jemná žiara */
.woocommerce ul.products li.product:hover .price,
.prod-card:hover .price {
  text-shadow: 0 0 18px rgba(92, 184, 92, 0.4);
}

/* Tabuľky: hlavička s gradientom */
.woocommerce table.shop_table thead th {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color));
  color: #fff;
  font-weight: 700;
}

.woocommerce table.shop_table thead th:first-child {
  border-top-left-radius: var(--radius);
}

.woocommerce table.shop_table thead th:last-child {
  border-top-right-radius: var(--radius);
}

/* Košík: súhrn s podčiarkou */
.woocommerce-cart .cart_totals h2 {
  position: relative;
  padding-bottom: 12px;
}

.woocommerce-cart .cart_totals h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Prázdny košík: jemné zjavenie */
.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.woocommerce-cart .return-to-shop {
  animation-delay: 0.15s;
}

/* Vyhľadávanie: odkaz na všetky výsledky */
.search-dropdown-footer,
.search-modal-footer {
  display: block;
  text-align: center;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  border-top: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}

.search-dropdown-footer:hover,
.search-modal-footer:hover {
  background: rgba(92, 184, 92, 0.08);
  color: var(--accent-color);
}

/* ===== 31. Premium vylepšenia 2.0: reveal, glare, ripple, mikro-detaily ===== */

/* --- Reveal pri scrollovaní (pridáva JS) --- */
/* Obsah sa skryje LEN ak JS potvrdil, že beží (html.pema-reveal-ready).
   Guard v header.php (html:not(.pema-reveal-ready)) zaručuje, že bez JS
   je všetko vždy viditeľné. */
html.pema-reveal-ready .reveal {
  opacity: 0;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
  html.pema-reveal-ready .reveal {
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  html.pema-reveal-ready .reveal-up { transform: translateY(34px); }
  html.pema-reveal-ready .reveal-left { transform: translateX(-34px); }
  html.pema-reveal-ready .reveal-right { transform: translateX(34px); }
  html.pema-reveal-ready .reveal-zoom { transform: scale(0.94); }
  html.pema-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* --- Hover vylepšenia (jemná animácia pri najazdení myšou) --- */
@media (prefers-reduced-motion: no-preference) {
  .prod-card .img img,
  .blog-card .img img,
  .about-card .about-icon,
  .btn,
  .link {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .prod-card:hover .img img,
  .blog-card:hover .img img { transform: scale(1.06); }
  .about-card:hover .about-icon { transform: translateY(-6px) scale(1.08); }
  .btn:hover { transform: translateY(-2px); }
  .link { transition: background-size 0.35s ease, color 0.2s ease; }
  .stat-num-val { display: inline-block; }
}

/* --- Stránka vyhľadávania --- */
.page-desc { color: var(--muted, #6a7a88); margin-top: 4px; }
.search-tip { color: var(--muted, #6a7a88); font-size: 0.92rem; margin-top: 8px; }

/* --- Lesk na karte (glare) pri 3D tílte --- */
.tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  animation: glareIn 0.25s ease forwards;
}

@keyframes glareIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Ripple na tlačidlách --- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: btnRipple 0.6s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

@keyframes btnRipple {
  to { transform: scale(1); opacity: 0; }
}

/* --- Kicker pilulka nad nadpisom sekcie --- */
.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: rgba(92, 184, 92, 0.1);
  border: 1px solid rgba(92, 184, 92, 0.3);
  border-radius: 99px;
  animation: kickerPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kickerPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* --- Karty produktov: lesk cez obrázok pri hovore --- */
.prod-card .img::before,
.woocommerce ul.products li.product .woocommerce-loop-product__link::before,
.woocommerce ul.products li.product a img::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.prod-card:hover .img::before,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::before,
.woocommerce ul.products li.product:hover a img::before {
  left: 130%;
}

/* --- ZĽAVA odznak: trblietavý gradient --- */
.badge-sale {
  background: linear-gradient(120deg, #dc2626, #f97316, #dc2626);
  background-size: 220% auto;
  animation: badgeShimmer 2.6s linear infinite;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

@keyframes badgeShimmer {
  to { background-position: 220% center; }
}

/* --- Karta produktu: zelené orámovanie + vyšší zdvih --- */
.prod-card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.prod-card:hover,
.woocommerce ul.products li.product:hover {
  box-shadow:
    0 0 0 1px rgba(92, 184, 92, 0.35),
    0 18px 44px rgba(46, 125, 50, 0.22) !important;
  transform: translateY(-10px) !important;
}

/* --- Tlačidlá v obchode: gradient pri hovore --- */
.woocommerce ul.products li.product .button {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease !important;
}

.woocommerce ul.products li.product .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(92, 184, 92, 0.35);
}

/* --- Cena na karte: o niečo väčšia + žiara --- */
.woocommerce ul.products li.product .price,
.prod-card .price {
  font-size: 1.08rem;
}

/* --- Single produkt: galéria s jemným orámovaním --- */
.woocommerce div.product div.images {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--bg-dark);
}

/* --- Single produkt: miniatúry galérie --- */
.woocommerce div.product div.images .flex-control-thumbs img {
  transition: opacity 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce div.product div.images .flex-control-thumbs img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.3);
}

/* --- Single produkt: spojená pilulka množstva + tlačidla --- */
.woocommerce div.product form.cart .quantity {
  border: 1px solid rgba(92, 184, 92, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-dark);
  margin-right: 10px;
}

.woocommerce div.product form.cart .quantity .qty {
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
}

.woocommerce div.product form.cart .quantity .plus,
.woocommerce div.product form.cart .quantity .minus {
  background: rgba(92, 184, 92, 0.12);
  border: none;
  color: var(--accent-color);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.woocommerce div.product form.cart .quantity .plus:hover,
.woocommerce div.product form.cart .quantity .minus:hover {
  background: var(--accent-color);
  color: #fff;
}

/* --- Single produkt: zálohy so sklzom podčiarky --- */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  position: relative;
  font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover::after {
  transform: scaleX(1);
}

.woocommerce div.product .woocommerce-tabs .panel {
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Riadok dôvery: ikony a lepšie rozmiestnenie --- */
.pema-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: center;
  background: rgba(92, 184, 92, 0.06);
  border: 1px solid rgba(92, 184, 92, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
}

.pema-trust span {
  gap: 8px;
  font-size: 0.78rem;
}

.pema-trust span::before {
  display: none;
}

.pema-trust span svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-color);
}

/* --- Stránkovanie: zjavenie --- */
.woocommerce nav.woocommerce-pagination,
.pagination {
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* --- Pätička: gradientná horná linka --- */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.6;
}

/* --- Košík: počítadlo s animovaným zjavovaním --- */
.cart-count {
  position: relative;
}

.cart-count.bump {
  animation: cartBump 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* --- Globálna úcta k preferencii zníženia pohybu --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 32. Kupón na prvý nákup (PEMA5) ===== */
.pema-coupon-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 16px 20px;
  background: linear-gradient(120deg, rgba(92, 184, 92, 0.1), rgba(49, 91, 45, 0.18));
  border: 1.5px dashed rgba(92, 184, 92, 0.55);
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  animation: slideUpBig 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pema-coupon-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 184, 92, 0.9);
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.22);
}

.pema-coupon-cta.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.pema-coupon-cta.is-active {
  border-style: solid;
  border-color: rgba(92, 184, 92, 0.7);
  background: linear-gradient(120deg, rgba(92, 184, 92, 0.16), rgba(49, 91, 45, 0.24));
}

.pema-coupon-cta.is-error {
  border-color: rgba(220, 38, 38, 0.6);
}

.pema-coupon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(92, 184, 92, 0.35);
  animation: couponIconPulse 2.4s ease-in-out infinite;
}

@keyframes couponIconPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(92, 184, 92, 0.35); }
  50% { box-shadow: 0 6px 26px rgba(92, 184, 92, 0.6); }
}

.pema-coupon-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pema-coupon-text strong {
  font-size: 0.95rem;
}

.pema-coupon-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pema-coupon-text b {
  color: var(--accent-color);
  letter-spacing: 1px;
}

.pema-coupon-btn {
  padding: 9px 18px;
  border-radius: 99px;
  background: linear-gradient(120deg, var(--primary-dark), var(--accent-color));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(92, 184, 92, 0.3);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.pema-coupon-cta:hover .pema-coupon-btn {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(92, 184, 92, 0.45);
}

.pema-coupon-check {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(92, 184, 92, 0.15);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  animation: kickerPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pema-coupon-cta.is-active .pema-coupon-check {
  display: inline-flex;
}

.pema-coupon-cta.is-active .pema-coupon-btn {
  display: none;
}

.pema-coupon-msg {
  display: none;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
}

.pema-coupon-cta.is-active .pema-coupon-msg {
  color: var(--accent-color);
}

.pema-coupon-cta.is-error .pema-coupon-msg {
  color: #f87171;
}

/* ===== 33. Katalóg mega menu (ako strendpro.sk) ===== */
.catalog-nav {
  position: relative;
  margin-right: 4px;
}

.catalog-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--primary-dark), var(--accent-color));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.catalog-trigger:hover,
.catalog-nav.is-open .catalog-trigger {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(92, 184, 92, 0.45);
}

.catalog-trigger svg {
  width: 15px;
  height: 15px;
}

.catalog-trigger-chevron svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-nav.is-open .catalog-trigger-chevron svg {
  transform: rotate(180deg);
}

.catalog-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 32px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
  z-index: 999;
  overflow: hidden;
}

.catalog-nav.is-open .catalog-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.catalog-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.catalog-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 18px;
  padding: 20px 22px 10px;
  max-height: min(60vh, 480px);
  overflow-y: auto;
}

.catalog-col {
  padding: 8px 10px 10px;
  border-radius: 10px;
  transition: background 0.25s ease;
}

.catalog-col:hover {
  background: rgba(92, 184, 92, 0.07);
}

.catalog-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.catalog-col-title:hover {
  color: var(--accent-color);
}

.catalog-col-icon {
  font-size: 1rem;
}

.catalog-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.catalog-col-list a {
  display: block;
  padding: 3px 4px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  border-radius: 5px;
  transition: color 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}

.catalog-col-list a:hover {
  color: var(--accent-color);
  background: rgba(92, 184, 92, 0.08);
  transform: translateX(3px);
}

.catalog-panel-footer {
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
}

.catalog-panel-footer a {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-color);
  transition: transform 0.2s ease, color 0.2s;
}

.catalog-panel-footer a:hover {
  transform: translateX(4px);
  color: #8fd98f;
}

.catalog-panel-empty {
  display: block;
  padding: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--accent-color);
}

/* Katalóg: širší panel na menších obrazovkách */
@media (max-width: 1100px) {
  .catalog-panel-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .catalog-panel-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 33b. Tlačidlo Letáky + panel letákov ===== */
.catalog-trigger-ghost {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border: 1px solid var(--border);
}

.catalog-trigger-ghost:hover,
.catalog-nav.is-open .catalog-trigger-ghost {
  background: rgba(92, 184, 92, 0.15);
  box-shadow: 0 8px 22px rgba(46, 125, 50, 0.25);
}

.leaflets-panel {
  width: min(640px, calc(100vw - 32px));
}

.leaflets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
}

.leaflet-card {
  position: relative;
  display: block;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.leaflet-card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 184, 92, 0.5);
  box-shadow: 0 12px 28px rgba(46, 125, 50, 0.25);
}

.leaflet-img {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-dark);
  overflow: hidden;
}

.leaflet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.leaflet-card:hover .leaflet-img img {
  transform: scale(1.06);
}

.leaflet-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 99px;
  background: linear-gradient(120deg, #dc2626, #f97316);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.leaflet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
}

.leaflet-info strong {
  font-size: 0.84rem;
}

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

.leaflets-empty {
  padding: 28px 22px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 520px) {
  .leaflets-grid { grid-template-columns: 1fr; }
}

/* ===== 34b. Letáky v mobilnom menu ===== */
.mobile-leaflet {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}

.mobile-leaflet:hover {
  background: rgba(92, 184, 92, 0.08);
}

.mobile-leaflet img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.mobile-leaflet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-leaflet-info strong {
  font-size: 0.82rem;
}

.mobile-leaflet-info span {
  font-size: 0.7rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== 34. Katalóg v mobilnom menu ===== */
.mobile-catalog {
  margin: 6px 16px 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-catalog-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.mobile-catalog-chevron svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-catalog.open .mobile-catalog-chevron svg {
  transform: rotate(180deg);
}

.mobile-catalog-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-catalog.open .mobile-catalog-body {
  max-height: 70vh;
  overflow-y: auto;
}

.mobile-catalog-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  border-top: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}

.mobile-catalog-top:hover {
  background: rgba(92, 184, 92, 0.08);
  color: var(--accent-color);
}

.mobile-catalog-icon {
  font-size: 0.95rem;
}

.mobile-catalog-count {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mobile-catalog-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 2px 16px 12px;
}

.mobile-catalog-subs a {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(92, 184, 92, 0.08);
  border: 1px solid rgba(92, 184, 92, 0.18);
  font-size: 0.72rem;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.mobile-catalog-subs a:hover {
  background: rgba(92, 184, 92, 0.18);
  color: var(--accent-color);
}

/* ===== Pema stránkovanie (obchod/kategórie) ===== */
.pema-pagination {
  margin-top: 32px;
  text-align: center;
}
.pema-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  margin: 0 3px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pema-pagination .page-numbers:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}
.pema-pagination .page-numbers.current {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}
.pema-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ===== 35. Stránky O nás a Kontakt ===== */
.about-hero,
.contact-hero {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--accent-color) 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-hero::after,
.contact-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.about-hero-inner,
.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.about-hero .section-kicker,
.contact-hero .section-kicker {
  color: rgba(255, 255, 255, 0.75);
}
.about-hero h1,
.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 8px 0 12px;
}
.about-hero p,
.contact-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* štatistiky */
.about-stats {
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}
.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* príbeh */
.about-story {
  padding-top: 0;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-story-text h2 {
  margin: 10px 0 16px;
}
.about-story-text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-story-list {
  background: linear-gradient(160deg, #f2f7f0, var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.about-story-list h3 {
  margin-bottom: 16px;
}
.about-story-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-story-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}
.about-story-list li:last-child {
  border-bottom: none;
}
.about-story-list svg {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
}

/* CTA box */
.about-cta-box {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color));
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
}
.about-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 80% -20%, rgba(255, 255, 255, 0.14), transparent 60%);
}
.about-cta-box h2 {
  margin-bottom: 8px;
}
.about-cta-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; padding-top: 32px; }
  .about-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ===== 36. Pokladňa — vylepšený vzhľad ===== */
.woocommerce-checkout #order_review {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}
.woocommerce-checkout #order_review_heading {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color));
  color: #fff;
  padding: 14px 22px;
  margin: 0;
}
.woocommerce-checkout table.shop_table {
  border: none;
}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 12px 22px;
}
.woocommerce-checkout #payment {
  border: none;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.woocommerce-checkout #payment ul.payment_methods {
  padding: 18px 22px;
}
.woocommerce-checkout #payment div.payment_box {
  border-radius: var(--radius-sm);
  box-shadow: none;
  border: 1px solid var(--border);
}
.woocommerce-checkout #payment div.form-row.place-order {
  padding: 18px 22px 22px;
}
.woocommerce-checkout #payment #place_order {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  background: linear-gradient(120deg, var(--primary-dark), var(--accent-color));
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.35);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.woocommerce-checkout #payment #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(46, 125, 50, 0.45);
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 10px;
  padding: 12px 14px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.18);
  outline: none;
}
.woocommerce form .form-row label {
  font-weight: 600;
  color: var(--text-primary);
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* kupón na pokladni */
.woocommerce-checkout .pema-coupon-cta {
  max-width: 720px;
}
.woocommerce form.checkout_coupon.woocommerce-form-coupon {
  border: 1px dashed var(--accent-color);
  border-radius: var(--radius);
  background: #f7fbf6;
  padding: 22px;
}
.woocommerce form.checkout_coupon.woocommerce-form-coupon .form-row-last .button {
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
}
