/* ============================================================
   AS Trenčín Fanshop – Hlavný CSS (modern)
   Brand: #BA0020 (AS Trenčín red) | #8E0018 (dark) | #0B0B0F (ink) | #FFFFFF (white) — podľa design manuálu (fancorecms)
   ============================================================ */

/* -----------------------------------------------------------
   CSS Custom Properties
   ----------------------------------------------------------- */
:root {
  --navy:          #222222;
  --navy-dark:     #111111;
  --navy-light:    #333333;
  --red:           #BA0020;
  --red-dark:      #8E0018;
  --red-light:     #D4002A;
  --white:         #ffffff;
  --off-white:     #f5f6fa;
  --gray-100:      #f0f1f7;
  --gray-200:      #e2e4f0;
  --gray-400:      #9198b5;
  --gray-600:      #5a6080;
  --gray-800:      #2f3355;
  --text:          #1c1f3a;
  --border:        #dde0f0;
  --shadow-sm:     0 2px 8px rgba(35,41,86,0.08);
  --shadow-md:     0 6px 24px rgba(35,41,86,0.13);
  --shadow-lg:     0 16px 48px rgba(35,41,86,0.18);

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.22s ease;
  --container: 1240px;
  --header-h: 110px;
}

/* -----------------------------------------------------------
   Reset & Base
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* -----------------------------------------------------------
   Layout
   ----------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.page-container { padding-top: 48px; padding-bottom: 64px; }

/* -----------------------------------------------------------
   Language Bar
   ----------------------------------------------------------- */
.language-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 4px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: center;
}
.language-bar a {
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.language-bar a:hover { color: var(--navy); }
.language-bar a.active { color: var(--navy); font-weight: 700; }

/* -----------------------------------------------------------
   Header
   ----------------------------------------------------------- */
.site-header {
  background: var(--white);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(35,41,86,0.10);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img, .logo svg { height: 80px; width: auto; }

/* Main nav */
.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  gap: 0;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 13.5px;
  padding: 6px 16px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--navy);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.has-dropdown > a::after { display: none; }
.has-dropdown > ul.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 6px 0;
}
.has-dropdown > ul.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--border);
}
.has-dropdown > ul.dropdown::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--white);
}
.has-dropdown:hover > ul.dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 20px;
  color: var(--gray-600);
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--off-white); color: var(--navy); }

/* Header actions */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Search */
.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.search-form:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(35,41,86,0.10);
}
.search-form input[type="search"] {
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--text);
  padding: 9px 4px 9px 18px;
  width: 220px;
  font-size: 13.5px;
}
.search-form input[type="search"]::-webkit-search-decoration,
.search-form input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-form input::placeholder { color: var(--gray-400); }
.search-form button {
  background: transparent;
  border: none;
  color: var(--gray-400);
  padding: 0 14px 0 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color var(--transition);
  flex-shrink: 0;
}
.search-form button:hover { color: var(--navy); }

/* Icon buttons */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.btn-icon:hover { background: var(--off-white); color: var(--red); }

/* Cart button */
.btn-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.btn-cart:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.cart-badge {
  background: var(--white);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  line-height: 1.4;
}
.cart-total { font-size: 13px; }

/* SVG icons (inline text fallbacks) */
.icon-search::before  { content: '🔍'; font-size: 14px; }
.icon-user::before    { content: '👤'; font-size: 16px; }
.icon-logout::before  { content: '↩'; font-size: 16px; }
.icon-cart {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.icon-image::before   { content: '🖼'; font-size: 32px; color: var(--gray-400); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* -----------------------------------------------------------
   Flash Messages
   ----------------------------------------------------------- */
.messages-container { padding: 12px 0 0; }
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  border-left: 4px solid currentColor;
}
.alert-success { background: #e8f7ed; color: #1a6e35; }
.alert-error, .alert-danger { background: #fde8e8; color: #8b1a1a; }
.alert-warning { background: #fff8e1; color: #7a5900; }
.alert-info { background: #e8f0fe; color: #1a4b8b; }
.alert-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.5;
  transition: opacity var(--transition);
}
.alert-close:hover { opacity: 1; }

/* -----------------------------------------------------------
   Buttons
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185,35,39,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-disabled, .btn[disabled] {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
  border-color: var(--gray-200);
  transform: none !important;
  box-shadow: none !important;
}

/* -----------------------------------------------------------
   Forms
   ----------------------------------------------------------- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-control,
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-control:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(35,41,86,0.1);
}
.has-error .form-control, .has-error input { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12px; margin-top: 4px; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] { width: auto; }
.form-actions { margin-top: 20px; }

/* -----------------------------------------------------------
   Hero Section
   ----------------------------------------------------------- */
.hero {
  background: #BA0020;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/images/hero-bg.jpg');
  background-size: cover;
  background-position: -500px;
  opacity: 0.42;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(185,32,37,0.55) 0%, rgba(185,32,37,0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.012) 0px,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}

/* Hero inner: two columns */
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
  width: 100%;
}
.hero-content { flex: 1; min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185,35,39,0.18);
  color: #ff9a9d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
  border: 1px solid rgba(185,35,39,0.35);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--white); font-style: italic; }
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero right: stat cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 220px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
}
.hero-stat-card:hover { background: rgba(255,255,255,0.11); }
.hero-stat-icon { font-size: 24px; line-height: 1; flex-shrink: 0; }
.hero-stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  line-height: 1.3;
}

/* -----------------------------------------------------------
   Info Strip
   ----------------------------------------------------------- */
.info-strip {
  background: #222222;
  padding: 0;
  margin-top: 80px;
}
.info-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.08);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.info-item:last-child { border-right: none; }
.info-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.info-title { color: var(--white); font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.info-sub { color: rgba(255,255,255,0.5); font-size: 12px; }

/* -----------------------------------------------------------
   Category Strip
   ----------------------------------------------------------- */
.category-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.category-strip-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.category-pill:hover, .category-pill.active {
  color: var(--navy);
  border-bottom-color: var(--red);
}

/* -----------------------------------------------------------
   Section Headers
   ----------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.section-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-link {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-link::after { content: '→'; }
.section-link:hover { color: var(--red-dark); }

/* -----------------------------------------------------------
   Product Grid
   ----------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gray-200);
}

.product-card__link { display: block; color: inherit; flex: 1; }
.product-card__link:hover { color: inherit; }

.product-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--white);
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.07); }

.product-card__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
}
.badge-sale { background: var(--red); }
.badge-out { background: var(--gray-400); }

.product-card__info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card__name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}
.product-card__price { margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; }
.price-current { font-size: 20px; font-weight: 800; color: var(--navy); }
.price-sale { color: var(--red); }
.price-original {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 13px;
}

.btn-add-to-cart {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-add-to-cart:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------
   Shop Layout (list + filter)
   ----------------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 0;
}

.shop-sidebar { }

.filter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.filter-card-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.filter-section { padding: 20px; border-bottom: 1px solid var(--border); }
.filter-section:last-of-type { border-bottom: none; }
.filter-section h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.category-tree li { margin: 3px 0; }
.category-tree a {
  display: block;
  color: var(--text);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.category-tree a:hover { background: var(--off-white); color: var(--navy); }
.category-tree a.active {
  background: rgba(185,35,39,0.08);
  color: var(--red);
  font-weight: 700;
}
.category-tree ul { padding-left: 14px; margin-top: 4px; }

.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 80px; padding: 7px 10px; }

.filter-actions { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.shop-count { font-size: 14px; color: var(--gray-600); }
.shop-count strong { color: var(--navy); }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.shop-sort label { color: var(--gray-600); white-space: nowrap; }
.shop-sort select { width: auto; padding: 6px 12px; }

.search-result-info {
  margin-bottom: 20px;
  color: var(--gray-600);
  font-size: 14px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--gray-400);
}

/* -----------------------------------------------------------
   Product Detail
   ----------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 48px 0;
}

.product-gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.product-gallery__main img { width: 100%; border-radius: var(--radius-lg); }

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--red); }
.gallery-thumb:hover { border-color: var(--navy); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__name { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: var(--navy); letter-spacing: -0.02em; }
.product-info__sku { color: var(--gray-400); font-size: 12px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.product-info__price { margin-bottom: 24px; }
.price-vat { color: var(--gray-400); font-size: 12px; margin-top: 4px; }

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 40px;
}
.badge-in-stock { background: #e8f7ed; color: #1a6e35; }
.badge-out-of-stock { background: #fde8e8; color: #8b1a1a; }
.badge-in-stock::before { content: '✓'; }
.badge-out-of-stock::before { content: '✕'; }

.attribute-selector { margin-bottom: 20px; }
.attribute-label { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block; color: var(--gray-600); }
.attribute-values { display: flex; flex-wrap: wrap; gap: 8px; }

.value-chip { cursor: pointer; }
.value-chip input { display: none; }
.value-chip span {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: block;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  color: var(--text);
}
.value-chip input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.value-chip span:hover { border-color: var(--navy); }

.color-swatch { cursor: pointer; }
.color-swatch input { display: none; }
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: block;
  box-shadow: 0 0 0 2px var(--border);
  transition: box-shadow var(--transition);
}
.color-swatch input:checked + .swatch { box-shadow: 0 0 0 3px var(--navy); }

.qty-input { width: 64px !important; text-align: center; }
.quantity-selector { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.btn-add-to-cart-main { padding: 14px 32px; font-size: 15px; border-radius: var(--radius-lg); }

.product-tabs { margin-top: 40px; }
.product-tabs .rich-text { padding-bottom: 32px; margin-top: 16px; }
.related-products { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.related-products h2 { font-size: 22px; font-weight: 800; margin-bottom: 28px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 32px; gap: 0; }
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); border-bottom-color: var(--red); }

/* -----------------------------------------------------------
   Breadcrumb
   ----------------------------------------------------------- */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { opacity: 0.5; }

/* -----------------------------------------------------------
   Promo Banner
   ----------------------------------------------------------- */
.promo-banner {
  background: linear-gradient(135deg, var(--red) 0%, #8b1a1a 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 64px;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '🏀';
  position: absolute;
  right: 180px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  opacity: 0.1;
  line-height: 1;
}
.promo-banner h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.promo-banner p { color: rgba(255,255,255,0.8); font-size: 14px; }

/* -----------------------------------------------------------
   Cart
   ----------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 48px 0;
}
.cart-title { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item__image img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.cart-item__name { font-weight: 700; color: var(--navy); font-size: 15px; }
.cart-item__variant { color: var(--gray-400); font-size: 13px; margin-top: 2px; }
.cart-item__unit-price { color: var(--gray-400); font-size: 13px; margin-top: 4px; }
.cart-item__total { font-weight: 800; font-size: 16px; color: var(--navy); }

.btn-remove {
  background: none;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.btn-remove:hover { border-color: var(--red); color: var(--red); background: rgba(185,35,39,0.06); }

.cart-summary {
  background: var(--off-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--border);
}
.cart-summary h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table td { padding: 8px 0; font-size: 14px; }
.summary-table td:last-child { text-align: right; font-weight: 600; }
.summary-table tr { border-bottom: 1px solid var(--border); }
.summary-table tr:last-child { border-bottom: none; }
.total-row td { font-size: 20px; font-weight: 800; color: var(--navy); border-top: 2px solid var(--navy); padding-top: 16px; }
.free-shipping { color: #1a6e35; font-size: 13px; margin: 12px 0; }
.cart-empty { text-align: center; padding: 80px 0; color: var(--gray-400); }
.cart-empty p { font-size: 18px; margin-bottom: 24px; }

/* Coupon */
.coupon-section { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.coupon-input-wrap { display: flex; gap: 8px; }
.coupon-input { flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 14px; outline: none; text-transform: uppercase; }
.coupon-input:focus { border-color: var(--navy); }
.coupon-error { margin-top: 6px; font-size: 13px; color: var(--red); }
.coupon-active-row { display: flex; align-items: center; justify-content: space-between; background: #f0fff4; border: 1px solid #86efac; border-radius: var(--radius-sm); padding: 8px 12px; font-size: 14px; font-weight: 600; color: #166534; }
.coupon-remove-btn { background: none; border: none; color: #dc2626; font-size: 18px; cursor: pointer; line-height: 1; padding: 0 2px; }

/* -----------------------------------------------------------
   Checkout
   ----------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 48px 0;
}
.checkout-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  padding: 28px 32px;
}
.checkout-section-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.checkout-section-body { padding: 24px; }
.checkout-section h2 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.checkout-summary h2 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.checkout-summary {
  background: var(--off-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--border);
}
.order-item-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.order-totals { margin-top: 20px; }
.total-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.total-final { font-size: 20px; font-weight: 800; color: var(--navy); border-top: 2px solid var(--navy); padding-top: 16px; }
.btn-order { padding: 14px; font-size: 15px; margin-top: 20px; }
.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-option { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.radio-option input { width: auto; }

/* -----------------------------------------------------------
   Auth
   ----------------------------------------------------------- */
.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
  background: var(--off-white);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.auth-card__logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-card__logo img { height: 48px; margin: 0 auto; }
.auth-card h1 { text-align: center; font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.auth-card__sub { text-align: center; color: var(--gray-400); font-size: 14px; margin-bottom: 32px; }
.auth-links { text-align: center; margin-top: 20px; color: var(--gray-400); font-size: 14px; }
.auth-links a { color: var(--red); font-weight: 600; }

/* -----------------------------------------------------------
   Account Dashboard
   ----------------------------------------------------------- */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 48px 0; align-items: start; }
.account-main { min-width: 0; }

.account-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 24px;
}
.account-sidebar__user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.account-sidebar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.account-sidebar__name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.account-sidebar__name strong {
  font-size: 12.5px;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-sidebar__name span {
  font-size: 11px;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-sidebar nav { padding: 6px 0; }
.account-sidebar nav ul { display: flex; flex-direction: column; gap: 1px; list-style: none; margin: 0; padding: 0; }
.account-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  color: var(--gray-600);
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.account-sidebar nav a svg { flex-shrink: 0; opacity: .65; }
.account-sidebar nav a:hover { background: var(--off-white); color: var(--navy); }
.account-sidebar nav a:hover svg { opacity: 1; }
.account-sidebar nav a.active { background: var(--navy); color: var(--white); font-weight: 600; }
.account-sidebar nav a.active svg { opacity: 1; }
.account-sidebar__logout {
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.account-sidebar__logout a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.account-sidebar__logout a:hover { color: var(--red); }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.orders-table th { background: var(--off-white); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-600); }
.status-badge { padding: 3px 10px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; }
.status-warning { background: #e6a817; }
.status-info { background: var(--navy-light); }
.status-success { background: #1a6e35; }
.status-primary { background: var(--navy); }
.status-danger { background: var(--red); }
.status-secondary { background: var(--gray-400); }

/* -----------------------------------------------------------
   Order Complete
   ----------------------------------------------------------- */
.order-complete { max-width: 680px; margin: 80px auto; text-align: center; }
.order-complete__icon {
  width: 80px; height: 80px;
  background: #1a6e35;
  color: var(--white);
  font-size: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(26,110,53,0.3);
}
.order-number { font-size: 18px; margin: 16px 0; color: var(--navy); }
.payment-info, .order-summary { text-align: left; margin: 28px 0; }
.order-complete__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }

/* -----------------------------------------------------------
   Pagination
   ----------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-link {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  min-width: 40px;
  text-align: center;
}
.page-link:hover, .page-link.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.site-footer {
  background: #222222;
  color: rgba(255,255,255,0.65);
  margin-top: 80px;
}
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 56px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-wrap img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* -----------------------------------------------------------
   Rich text
   ----------------------------------------------------------- */
.rich-text h1, .rich-text h2, .rich-text h3 { margin: 28px 0 12px; color: var(--navy); }
.rich-text p { margin-bottom: 14px; }
.rich-text ul, .rich-text ol { margin: 14px 0 14px 24px; list-style: initial; }
.rich-text img { border-radius: var(--radius); margin: 14px 0; }

/* -----------------------------------------------------------
   Utility
   ----------------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-400); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.gap-2 { gap: 16px; }
.align-center { align-items: center; }

/* -----------------------------------------------------------
   Toast notifications
   ----------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  max-width: 320px;
  animation: slideInRight 0.3s ease;
  border-left: 3px solid var(--red);
}
.toast-success { border-left-color: #1a6e35; }
.toast-error { border-left-color: var(--red); }
@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* -----------------------------------------------------------
   Responsive
   ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { order: 2; }
  .shop-main { order: 1; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .info-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { gap: 16px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 16px; z-index: 200; box-shadow: var(--shadow-md); }
  .main-nav.open > ul { flex-direction: column; gap: 2px; }
  .main-nav.open > ul > li > a { color: var(--navy); }
  .main-nav.open > ul > li > a:hover { background: var(--off-white); color: var(--red); }
  .nav-toggle { display: flex; }
  .search-form input { width: 120px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cart-layout, .account-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr auto; }
  .cart-item__total { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero-container { flex-direction: column; padding-top: 48px; padding-bottom: 48px; }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero p { max-width: none; }
  .promo-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .promo-banner::before { display: none; }
  .info-strip-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .hero { min-height: auto; }
  .info-strip-grid { grid-template-columns: 1fr; }
  .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .info-item:last-child { border-bottom: none; }
}

/* ============================================================
   AS TRENČÍN – MODERN LAYER
   Modernizácia nad rámec pôvodného fanshopu (fanshop.astrencin.sk):
   moderné písmo, sklenená hlavička, výraznejšie karty a tlačidlá.
   Načíta sa len pre brand astrencin.
   ============================================================ */
/* Oficiálne písma podľa design manuálu AS Trenčín: Barlow Condensed (nadpisy) + Inter (telo) */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --grad-red: linear-gradient(120deg, #d4002a 0%, #ba0020 55%, #8e0018 100%);
  --ring: 0 0 0 3px rgba(186,0,32,0.18);
  /* oficiálne neutrály (ink) podľa design manuálu */
  --navy:      #0b0b0f;
  --navy-dark: #000000;
  --navy-light:#23232d;
  --text:      #14141a;
}

body { -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }

h1, h2, h3, .hero h1, .section-title, .page-title {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}

/* Sklenená, pripnutá hlavička */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(17,17,17,0.06);
  box-shadow: 0 1px 0 rgba(17,17,17,0.03);
}

/* Moderné tlačidlá – gradient, pill, mikro-interakcie */
.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary, .btn-add-to-cart-main {
  background: var(--grad-red);
  border: none;
  box-shadow: 0 8px 20px rgba(186,0,32,0.28);
}
.btn-primary:hover, .btn-add-to-cart-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(186,0,32,0.36);
}
.btn-primary:active, .btn-add-to-cart-main:active { transform: translateY(0); }

/* Hero – modernejší gradient a kontrast */
.hero::before {
  background: linear-gradient(120deg, rgba(17,17,17,0.92) 0%, rgba(179,0,10,0.78) 100%);
}
.hero-eyebrow { letter-spacing: 0.22em; }

/* Produktové karty – jemný okraj, hlbší hover, moderné rádiusy */
.product-card {
  border: 1px solid rgba(17,17,17,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(186,0,32,0.25);
}
.product-card__image { border-radius: 0; }

/* Zľavový štítok – pill s gradientom */
.product-card__badge, .badge-sale {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(186,0,32,0.3);
}
.badge-sale { background: var(--grad-red); }

/* Výber veľkosti – moderné "chips" */
.value-chip span {
  border-radius: 10px;
  transition: all var(--transition);
}
.value-chip input:checked + span {
  background: var(--grad-red);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--ring);
}

/* Fokus stavy pre prístupnosť */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}


/* ============================================================
   RESPONSIVE – MOBILNÉ DOLADENIE (frontend obchodu)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Kompaktný header */
  :root { --header-h: 64px; }

  .language-bar { padding: 3px 0; }
  .language-bar .container { padding: 0 16px !important; }
  .language-bar a { font-size: 10px; }

  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .logo img, .logo svg { height: 42px; }

  /* Inline vyhľadávanie v hlavičke skry (katalóg má vlastné) */
  .header-actions .search-form { display: none; }
  .header-actions { gap: 4px; margin-left: auto; }
  .btn-icon { width: 36px; height: 36px; }
  .btn-cart { padding: 7px 10px; }
  .cart-total { font-size: 12px; }

  .nav-toggle { display: flex; }

  /* Mobilné rozbaľovacie menu */
  .main-nav { display: none; }
  .main-nav.open {
    display: block; position: absolute; top: var(--header-h);
    left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 8px 16px 14px;
    z-index: 300; box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open > ul { flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav.open > ul > li { width: 100%; position: static; }
  .main-nav.open > ul > li > a {
    display: block; padding: 13px 8px; font-size: 15px;
    color: var(--navy); border-bottom: 1px solid var(--border);
  }
  .main-nav.open > ul > li > a::after { display: none; }
  .main-nav.open .has-dropdown > ul.dropdown {
    position: static; opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: none; padding: 0 0 6px 14px; min-width: 0;
  }
  .main-nav.open .has-dropdown > ul.dropdown::before,
  .main-nav.open .has-dropdown > ul.dropdown::after { display: none; }

  /* Hero */
  .hero-container { flex-direction: column; padding: 40px 0; gap: 20px; }
  .hero-visual { display: none; }
  .hero-content { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero p { max-width: none; }

  /* Sekcie a typografia */
  .section { padding: 44px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 1.5rem; }
  .page-title, .page-header h1 { font-size: 1.6rem; }

  /* Produktová mriežka – 2 stĺpce */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Pás kategórií – horizontálne scrollovateľný */
  .category-strip-inner { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .category-pill { flex: 0 0 auto; }

  /* Viacstĺpcové layouty na 1 stĺpec */
  .shop-layout, .cart-layout, .account-layout, .checkout-layout,
  .product-detail, .form-grid { grid-template-columns: 1fr; }
  .checkout-summary, .shop-sidebar { position: static; }

  /* Košík */
  .cart-item { grid-template-columns: 70px 1fr auto; gap: 12px; }
  .cart-item__total { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  .info-strip-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .logo img, .logo svg { height: 38px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__info { padding: 12px 10px; }
  .product-card__name { font-size: 13.5px; }
  .hero h1 { font-size: 1.95rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-strip-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item__actions { grid-column: 1 / -1; }
}
