/* ============================================================
   SEGA Jihlava — style.css
   ============================================================ */

/* Variables */
:root {
  --red: #CC0000;
  --black: #1a1a1a;
  --white: #ffffff;
  --light-gray: #f7f7f7;
  --text-gray: #666666;
  --border: #eeeeee;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 80px;
  --nav-h-sm: 60px;
  --container: 1320px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { font-family: var(--font); color: var(--black); background: var(--white); overflow-x: clip; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--gray { background: var(--light-gray); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--black);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.25s var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: #aa0000;
  border-color: #aa0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.28);
}
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.btn-full { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
  width: 100%;
  padding: 0 40px 0 64px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  transition: height 0.3s var(--ease);
}
.navbar.scrolled .nav-container { height: var(--nav-h-sm); }

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.nav-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--red); }

/* Chevron */
.chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  pointer-events: none;
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.mega-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mega-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, padding-left 0.2s;
}
.mega-link:hover {
  color: var(--red);
  padding-left: 6px;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1800;
  opacity: 0; visibility: hidden;
  transition: all 0.35s var(--ease);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 1900;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transition: right 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-shrink: 0;
}
.mobile-close {
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  color: var(--black); padding: 4px;
  line-height: 1;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--red); }
.mobile-cta {
  display: block;
  margin-top: 24px;
  background: var(--red);
  color: var(--white) !important;
  text-align: center;
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

/* ── Mobile Produkty accordion ── */
.mobile-produkty-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.mobile-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--black);
}
.mobile-produkty-toggle.open .mobile-chevron {
  transform: rotate(180deg);
}
.mobile-produkty-toggle.open { color: var(--red); }
.mobile-produkty-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-produkty-submenu.open { max-height: 700px; }
.mobile-sub-group {
  padding: 10px 0 6px 12px;
  border-bottom: 1px solid var(--border);
}
.mobile-sub-group:last-child { border-bottom: none; }
.mobile-sub-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  margin-top: 0;
}
.mobile-sub-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-sub-link:hover { color: var(--red); }
.mobile-footer {
  padding-top: 24px;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.mobile-footer a { color: var(--black); }

/* ---- Telefony v mobile menu (pod logem) ---- */
.mobile-menu-phones {
  padding: 10px 24px 14px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.mobile-menu-phones a {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-menu-phones a:hover { color: var(--red); }
.mobile-menu-phones .sep {
  color: #ccc;
  font-size: 18px;
  font-weight: 300;
  user-select: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  padding-left: 5%;
  padding-right: 0;
  padding-bottom: 60px;
  gap: 16px;
}
.hero-content { max-width: 100%; }

.hero-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 87px);
  font-weight: 800;
  line-height: 1.0;
  color: var(--black);
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--red); }
.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 20px);
  color: var(--text-gray);
  margin-bottom: 44px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-buttons--mobile { display: none !important; }

.hero-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* ── Layout: hero buttons s viz tlačítkem ── */
.hero-buttons--viz {
  display: inline-flex;   /* smrskne se na šířku obsahu */
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
}
.hero-btns-top {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hero-buttons--viz { display: flex; width: 100%; }
  .hero-btns-top { flex-direction: column; width: 100%; }
  .hero-btns-top .btn { width: 100%; justify-content: center; }
}

/* ── Vizualizace wide button (pod hero buttony) ── */
.btn-viz-wide {
  margin-top: 8px;
  align-self: stretch;    /* stejná šířka jako oba buttony nad ním */
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px;
  /* Světlejší s červeným gradientem — konzistentní s webem */
  background: linear-gradient(135deg, #686868 0%, #bb2020 50%, #dd3535 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255,100,100,.2);
  box-shadow: 0 3px 16px rgba(140,0,0,.25), inset 0 1px 0 rgba(255,255,255,.13);
  transition: background .25s, box-shadow .25s, transform .15s;
  position: relative;
  overflow: hidden;
}
/* Shimmer efekt při hoveru */
.btn-viz-wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.05) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.btn-viz-wide:hover::before { transform: translateX(100%); }
.btn-viz-wide:hover {
  background: linear-gradient(135deg, #727272 0%, #c52424 50%, #e83c3c 100%);
  box-shadow: 0 5px 24px rgba(120,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
  transform: translateY(-1px);
}
.btn-viz-wide .viz-wide-arrow {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}
.btn-viz-wide .viz-wide-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  flex: 1;
}
.btn-viz-wide .viz-wide-main { font-size: 14px; }
.btn-viz-wide .viz-wide-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .03em;
  color: rgba(255,255,255,.55);
  text-transform: none;
  margin-top: 2px;
}
/* Zelené inline "zdarma" v textu */
.viz-zdarma {
  color: #5ddb8f;
  font-style: normal;
}
@media (max-width: 540px) {
  .btn-viz-wide .viz-wide-sub { display: none; }
}

/* ============================================================
   HOUSE DOTS
   ============================================================ */
.house-wrapper {
  position: relative;
  width: 115%;
  margin-left: -8%;
  margin-top: 14px;
  user-select: none;
}
.house-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 100vh;
  object-fit: contain;
}
.house-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.house-dot {
  position: absolute;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.house-dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(204,0,0,0.5);
  transition: transform 0.2s var(--ease);
}
.house-dot.visible {
  opacity: 1;
}
.house-dot.visible::before {
  animation: dotPulse 2.5s ease infinite;
}
.house-dot:hover::before {
  transform: translate(-50%, -50%) scale(1.4);
  animation: none;
}
.house-dot-tooltip {
  position: absolute;
  bottom: calc(50% + 17px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  border-left: 3px solid var(--red);
}
.house-dot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--white);
}
.house-dot:hover .house-dot-tooltip { opacity: 1; }

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0   rgba(204,0,0,0.45); }
  65%  { box-shadow: 0 0 0 9px rgba(204,0,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(204,0,0,0); }
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .card-image img { transform: scale(1.05); }
.card-placeholder {
  height: 250px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.card-placeholder svg { opacity: 0.3; }
.card-placeholder span {
  font-size: 13px;
  font-weight: 500;
  color: #999;
  text-align: center;
  padding: 0 20px;
}
.card-body { padding: 24px; }
.card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-body p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 16px;
}
.card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  transition: letter-spacing 0.2s, color 0.2s;
}
/* Stretched link — celá karta je klikatelná */
.card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-link:hover { letter-spacing: 0.8px; }

/* Product category group */
.product-category-group { margin-bottom: 56px; }
.product-category-group:last-child { margin-bottom: 0; }
.category-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   WHY SEGA (dark band)
   ============================================================ */
.why-sega {
  background: var(--black);
  padding: clamp(48px, 6vw, 80px) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.why-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.why-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ============================================================
   SHOWROOMS
   ============================================================ */
.showrooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.showroom-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.showroom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.showroom-image {
  height: 260px;
  overflow: hidden;
  background: #f0f0f0;
}
.showroom-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.showroom-card:hover .showroom-image img { transform: scale(1.03); }
.showroom-placeholder {
  height: 260px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e4e4e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.showroom-placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: #999;
}
.showroom-body { padding: 32px; }
.showroom-body h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}
.showroom-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
}
.info-row svg { flex-shrink: 0; margin-top: 2px; }
.info-row a { color: var(--black); font-weight: 600; transition: color 0.2s; }
.info-row a:hover { color: var(--red); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--black);
  background: var(--light-gray);
  border: 1.5px solid transparent;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--white);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--light-gray);
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-gray);
}

/* Anchor scroll offset — kompenzace fixní navbar při cross-page navigaci */
#kontakt {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
#varianty {
  scroll-margin-top: calc(var(--nav-h) + 100px);
}

.contact-info-inner {
  position: sticky;
  top: calc(var(--nav-h-sm) + 24px);
}
.contact-info-inner > h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}
.contact-block {
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.contact-block h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 10px;
}
.contact-block p {
  font-size: 14px;
  line-height: 1.8;
}
.contact-block a {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}
.contact-block a:hover { color: var(--red); }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}
.social-link:hover { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding-top: clamp(48px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  max-width: 300px;
}
.footer-logo { display: inline-flex; }
.footer-logo-img { height: 36px; width: auto; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 20px;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  margin-top: 0;
  flex: 0 0 100%;
  order: 0;
}
.footer-links a {
  flex: 0 0 calc(50% - 10px);
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  padding: 2px 0;
  transition: color 0.2s, padding-left 0.2s;
  break-inside: avoid;
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }

.footer-contact p {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
}
.footer-contact a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }
.footer-contact .divider { margin: 16px 0; border: none; border-top: 1px solid rgba(255,255,255,0.08); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* Sebastian Zimola credit logo */
.footer-bottom-left {
  display: flex; align-items: center; gap: 20px;
}
.footer-bottom-left p { margin: 0; }
.sz-credit {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; opacity: 0.5;
  transition: opacity 0.22s; flex-shrink: 0;
  transform: translateY(-5px);
}
.sz-credit:hover { opacity: 1; }
.sz-credit-bar {
  width: 3px; height: 32px;
  background: #3B82F6; border-radius: 2px; flex-shrink: 0;
}
.sz-credit-text { display: flex; flex-direction: column; gap: 1px; }
.sz-credit-made { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 1px; text-transform: uppercase; line-height: 1.2; }
.sz-credit-name { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: -0.2px; line-height: 1.2; }
.sz-credit-sub  { font-size: 9.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.3px; line-height: 1.2; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-hero {
  padding-top: calc(var(--nav-h) + 22px);
  padding-bottom: 28px;
  text-align: center;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
}
.team-hero p {
  font-size: 16px;
  color: var(--text-gray);
  margin-top: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-placeholder {
  height: 280px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder svg { opacity: 0.25; }
.team-info {
  padding: 24px;
}
.team-info h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}
.team-contacts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.team-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-gray);
}
.team-contact-row a {
  color: var(--black);
  font-weight: 500;
  transition: color 0.2s;
}
.team-contact-row a:hover { color: var(--red); }
.team-contact-row svg { flex-shrink: 0; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.15s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ── 1450px: velké monitory, hero titulek ── */
@media (max-width: 1450px) {
  .hero-title { font-size: clamp(36px, 4.3vw, 63px); }
}

/* ── 1440px: MacBook Pro 14"/15" ── */
@media (max-width: 1440px) {
  /* Breadcrumb skrýt na menších obrazovkách */
  .breadcrumb { display: none; }
  .breadcrumb + .product-page-hero { padding-top: calc(var(--nav-h) + 16px); }

  /* Produktové karty na landing page */
  .card-image, .card-placeholder { height: 210px; }

  /* Showroom karty na homepage */
  .showroom-image, .showroom-placeholder { height: 220px; }

  /* SHOWROOM stránka — viz overrides za base styly níže v souboru */

  /* Produktové stránky — viz overrides za base styly níže v souboru */

  /* Sekce — menší padding */
  .section { padding: clamp(48px, 6vw, 80px) 0; }
  .section-header { margin-bottom: 52px; }
}

/* ── 1280px: MacBook Air 13"/15", menší laptopy ── */
@media (max-width: 1280px) {
  .nav-container { padding: 0 28px 0 36px; gap: 20px; }
  .nav-menu { gap: 18px; }
  .container { padding: 0 28px; }
  .hero { padding-left: 4%; }

  /* Sekce — menší padding */
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 44px; }

  /* Tmavý pruh a footer */
  .why-sega { padding: 52px 0; }
  .footer { padding-top: 52px; }
  .footer-grid { padding-bottom: 40px; gap: 40px; }

  /* Showroom detail */
  .showroom-detail { padding: 48px 0; }

  /* Produktové karty — ještě menší */
  .card-image, .card-placeholder { height: 185px; }

  /* Showroom karty */
  .showroom-image, .showroom-placeholder { height: 190px; }

  /* SHOWROOM stránka — viz overrides za base styly níže v souboru */

  /* Produktové stránky — viz overrides za base styly níže v souboru */
  .product-detail-grid { gap: 44px; }

  /* Tým sekce */
  .team-photo { height: 220px; }
}

/* ── Kompaktní navigace na menších monitorech (MacBook, tablety) ──
   Po přidání SERVIS se 6 položek + 2 telefony + tlačítko nevešly do jedné řady.
   Zmenšíme logo a texty, zúžíme mezery a telefony dáme pod sebe s linkou.
   Hranice 1700px pokrývá i běžné "More Space" rozlišení MacBooků (1512/1536/1728). ── */
@media (min-width: 769px) and (max-width: 1700px) {
  .navbar .logo-img { height: 36px !important; }
  .navbar .nav-container { gap: 18px !important; padding: 0 22px !important; }
  .navbar .nav-menu { gap: 16px !important; }
  .navbar .nav-link { font-size: 13px !important; letter-spacing: .4px !important; }
  .navbar .nav-actions { gap: 12px !important; }
  .navbar .nav-actions .btn-red { font-size: 13px !important; padding: 9px 16px !important; }

  /* Dva telefony pod sebe, oddělené tenkou linkou (místo svislého „|") */
  .navbar .nav-actions > div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    line-height: 1.15 !important;
  }
  .navbar .nav-actions > div .nav-phone {
    font-size: 14px !important;
    text-align: center !important;
  }
  .navbar .nav-actions > div span {
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    margin: 2px 0 !important;
    background: #dcdcdc !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
}

/* ── 1200px: tablety na šířku, menší notebooky ── */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-info h2 { font-size: clamp(22px, 2.8vw, 34px); }

  /* Produktový hero */
  .product-page-hero { padding: calc(var(--nav-h) + 20px) 0 24px; }
  .breadcrumb + .product-page-hero { padding-top: 10px; }
}

/* ── 1024px: tablety, malé notebooky ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-inner { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }
  .why-sega { padding: 56px 0; }
  .footer { padding-top: 52px; }

  /* Showroom */
  .SHOWROOM-image, .SHOWROOM-placeholder { height: 240px; }
}

/* ── MacBook: malá výška obrazovky ── */
@media (max-height: 820px) and (min-width: 769px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .why-sega { padding: 48px 0; }
  .why-text h3 { font-size: 15px; }
  .footer { padding-top: 48px; }
  .footer-grid { padding-bottom: 40px; }
  .team-hero { padding-top: calc(var(--nav-h) + 12px); padding-bottom: 20px; }
  .quote-section { padding: 56px 0; }
  .product-page-hero { padding: calc(var(--nav-h) + 16px) 0 20px; }
  .breadcrumb + .product-page-hero { padding-top: 8px; }
  .mega-inner { padding: 28px 40px; gap: 36px; }
}

/* ── 768px: mobilní telefony a malé tablety ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --nav-h-sm: 56px; }
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
  .section-title { font-size: clamp(24px, 6vw, 30px); }
  .section-header { margin-bottom: 32px; }

  /* Logo */
  .logo-img { height: 28px !important; }
  .nav-container { padding-left: 16px; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 20px);
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 16px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-subtitle { font-size: 15px; margin-bottom: 0; }
  .hero-tag { font-size: 9px; margin-bottom: 10px; letter-spacing: 2px; }
  .hero-buttons { justify-content: center; gap: 10px; }
  .hero-visual { justify-content: center; }
  .house-wrapper { max-width: 480px; margin: 0 auto; }
  /* Desktop tlačítka skrýt na mobilu, zobrazit mobilní verzi za obrázkem */
  .hero-buttons--desktop { display: none; }
  .hero-buttons--mobile {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0 20px;
  }
  .hero-buttons--mobile .btn { width: 100%; justify-content: center; }
  /* Tečky na mobilu — menší než na desktopu */
  .house-dot { display: block; width: 36px; height: 36px; }
  .house-dot::before { width: 9px; height: 9px; }

  /* Produktová mřížka */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Why SEGA */
  .why-grid { grid-template-columns: 1fr; padding: 0 20px; gap: 24px; }
  .why-sega { padding: 48px 0; }
  .why-text h3 { font-size: 16px; }
  .why-text p { font-size: 14px; }

  /* Showrooms */
  .showrooms-grid { grid-template-columns: 1fr; }
  .showroom-body { padding: 18px; }
  .showroom-body h3 { font-size: 18px; }

  /* Kontakt */
  .contact-form { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; font-size: 11px; }
  .footer-bottom p { font-size: 11px; }
  .footer-bottom-links { flex-direction: column; gap: 6px; }
  .footer-brand p { max-width: 100%; }

  /* Mega menu */
  .mega-inner { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }

  /* Tým */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 40px; }
  .team-photo, .team-photo-placeholder { height: 220px; }
  .team-info { padding: 16px; }
  .team-info h3 { font-size: 15px; }

  /* Produktové karty */
  .card-image { height: 185px; }
  .card-body { padding: 16px; }
  .card-body h3 { font-size: 15px; }
  .card-body p { font-size: 13px; }

  /* Produktové stránky */
  .product-page-hero { padding: calc(var(--nav-h) + 16px) 0 18px; }
  .product-page-hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .product-page-hero p { font-size: 14px; }
  .breadcrumb + .product-page-hero { padding-top: 8px; }
  .breadcrumb-inner { padding: 0 20px; }
  .product-page-hero-inner { padding: 0 20px; }

  .product-detail { padding: 28px 0 40px; }
  .product-detail-image img, .product-detail-placeholder { height: 240px; }
  .product-detail-info h2 { font-size: clamp(22px, 6vw, 28px); }
  .product-detail-info > p { font-size: 14px; }

  /* Quote sekce (poptávkový formulář) */
  .quote-section { padding: 48px 0; }
  .quote-section-inner { padding: 0 20px; }
  .quote-form { padding: 24px 16px; }
}

/* ── 480px: malé telefony ── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(26px, 8vw, 32px); }
  .hero-buttons { flex-direction: column; gap: 8px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .section-title { font-size: clamp(22px, 6vw, 26px); }
  .section { padding: 44px 0; }

  .team-grid { grid-template-columns: 1fr; }
  .team-photo, .team-photo-placeholder { height: 260px; }

  .showroom-card-btns { flex-direction: column; }
  .showroom-card-btns .btn { width: 100%; text-align: center; justify-content: center; }

  .footer-social a { width: 36px; height: 36px; }

  /* Produktové stránky na malém tel. */
  .product-page-hero h1 { font-size: clamp(22px, 7vw, 28px); }
  .product-detail-grid { gap: 28px; }
}

/* ── 380px: mini telefony (iPhone SE, 12 mini, malé Androidy) ── */
@media (max-width: 380px) {
  :root { --nav-h: 58px; --nav-h-sm: 52px; }

  .container { padding: 0 14px; }
  .section { padding: 36px 0; }
  .section-title { font-size: clamp(20px, 6vw, 24px); }
  .section-label { font-size: 10px; }
  .section-header { margin-bottom: 24px; }

  /* Logo */
  .logo-img { height: 24px !important; }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-h) + 14px);
    padding-bottom: 24px;
    padding-left: 14px;
    padding-right: 14px;
    gap: 12px;
  }
  .hero-title { font-size: clamp(24px, 8vw, 30px); }
  .hero-subtitle { font-size: 13px; }
  .hero-tag { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 8px; }
  .hero-buttons--mobile { padding: 0 14px; gap: 6px; }
  .hero-buttons--mobile .btn { font-size: 13px; padding: 12px 16px; }
  .house-dot { width: 30px; height: 30px; }
  .house-dot::before { width: 7px; height: 7px; }

  /* Produktové karty */
  .card-image { height: 155px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 14px; }
  .card-body p { font-size: 12px; }
  .products-grid { gap: 12px; }

  /* Why SEGA */
  .why-grid { padding: 0 14px; gap: 18px; }
  .why-text h3 { font-size: 15px; }
  .why-text p { font-size: 13px; }

  /* Showrooms */
  .showroom-body { padding: 14px; }
  .showroom-body h3 { font-size: 16px; }

  /* Kontakt */
  .contact-form { padding: 18px 12px; }

  /* Footer */
  .footer-bottom { font-size: 10px; gap: 8px; }
  .footer-bottom p { font-size: 10px; }

  /* Produktové stránky */
  .product-page-hero { padding: calc(var(--nav-h) + 12px) 0 14px; }
  .product-page-hero h1 { font-size: clamp(20px, 7vw, 26px); }
  .product-page-hero p { font-size: 13px; }
  .product-page-hero-inner { padding: 0 14px; }
  .breadcrumb-inner { padding: 0 14px; }
  .product-detail-image img, .product-detail-placeholder { height: 200px; }
  .product-detail-info h2 { font-size: clamp(20px, 6vw, 24px); }

  /* Tým */
  .team-hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
  .team-photo, .team-photo-placeholder { height: 210px; }
  .team-info { padding: 12px; }
  .team-info h3 { font-size: 14px; }

  /* Quote sekce */
  .quote-form { padding: 18px 12px; }
}

/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.mobile-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* ============================================================
   PRODUCT PAGES
   ============================================================ */
.breadcrumb {
  padding: calc(var(--nav-h) + 12px) 0 10px;
  font-size: 13px;
  color: var(--text-gray);
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-gray); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: #ccc; }
.breadcrumb-current { color: var(--black); font-weight: 600; }

.product-page-hero {
  background: var(--light-gray);
  padding: calc(var(--nav-h) + 28px) 0 32px;
  border-bottom: 1px solid var(--border);
}
/* Na stránkách s breadcrumbem není potřeba nav offset — breadcrumb ho zajistí */
.breadcrumb + .product-page-hero {
  padding-top: 10px;
  padding-bottom: 10px;
}
/* MacBook: breadcrumb skrytý → product-page-hero potřebuje nav offset (musí být ZA base stylem!) */
@media (max-width: 1440px) {
  .breadcrumb + .product-page-hero {
    padding-top: calc(var(--nav-h) + 20px);
  }
}
.product-page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.product-page-hero .section-label { margin-bottom: 6px; }

/* ── Supplier / partner badge ─────────────────────────────── */
.supplier-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 5px 16px 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  letter-spacing: .02em;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.supplier-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  display: inline-block;
}
.supplier-badge-label {
  color: #999;
  font-weight: 500;
  font-size: 11px;
  margin-right: 1px;
}
.product-page-hero h1 {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 6px;
}
.product-page-hero p {
  font-size: 15px;
  color: var(--text-gray);
  max-width: 580px;
  line-height: 1.55;
}
.product-page-hero .hero-buttons { margin-top: 12px; }

.product-detail { padding: 20px 0 48px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.product-detail-image {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: flex;           /* flex umožní img natáhnout se na plnou výšku buňky */
}
.product-detail-image img {
  flex: 1;
  width: 100%;
  min-height: 500px;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.product-detail-placeholder {
  flex: 1;
  width: 100%;
  min-height: 380px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border-radius: 4px;
}
.product-detail-placeholder span { font-size: 14px; color: #999; font-weight: 500; }

/* ── Product detail image: MacBook overrides (musí být ZA base styly!) ── */
@media (max-width: 1440px) {
  .product-detail-image img  { min-height: 340px; max-height: 440px; }
  .product-detail-placeholder { min-height: 340px; max-height: 440px; }
  .product-detail-grid { gap: 48px; align-items: start; }
  .product-detail-image { margin-top: 10px; }
}
@media (max-width: 1280px) {
  .product-detail-image img  { min-height: 305px; max-height: 395px; }
  .product-detail-placeholder { min-height: 305px; max-height: 395px; }
  .product-detail-grid { gap: 36px; align-items: start; }
  .product-detail-image { margin-top: 8px; }
}

/* Variants grid */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.variant-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: var(--white);
}
.variant-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.variant-card:hover img { transform: scale(1.04); }
.variant-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  pointer-events: none;
}
.variant-card:hover .variant-card-overlay { background: rgba(0,0,0,0.38); }
.variant-card-open {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.variant-card:hover .variant-card-open { opacity: 1; transform: translateY(0); }
.variant-label {
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  background: var(--light-gray);
}
/* Variant expand panel */
.variant-panel {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  display: none;
}
.variant-panel.open { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.variant-panel h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.variant-panel p { font-size: 15px; color: var(--text-gray); line-height: 1.7; margin-bottom: 20px; }
.variant-panel .product-features { margin-bottom: 24px; }
.variant-panel .quote-form { box-shadow: none; padding: 0; background: none; }
@media (max-width: 768px) {
  .variants-grid { grid-template-columns: 1fr; }
  .variant-card img { height: 200px; }
  .variant-panel.open { grid-template-columns: 1fr; gap: 28px; }
  .variant-panel { padding: 24px 20px; }
}

.product-detail-info h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.12;
}
.product-detail-info > p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 32px;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 40px;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15px;
  color: var(--black);
  line-height: 1.5;
}
.feature-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-dot::after {
  content: '';
  width: 8px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 3l2 2 4-4' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Product detail info text: MacBook overrides (musí být ZA base styly!) ── */
@media (max-width: 1440px) {
  .product-detail-info { padding-top: 16px; }
  .product-detail-info h2 { font-size: 28px; margin-bottom: 16px; }
  .product-detail-info > p { font-size: 15px; margin-bottom: 26px; }
  .product-features li { font-size: 14px; }
  .product-features { gap: 11px; margin-bottom: 32px; }
}
@media (max-width: 1280px) {
  .product-detail-info { padding-top: 14px; }
  .product-detail-info h2 { font-size: 26px; margin-bottom: 14px; }
  .product-detail-info > p { font-size: 14px; margin-bottom: 22px; }
  .product-features li { font-size: 13px; }
  .product-features { gap: 10px; margin-bottom: 28px; }
}

/* ── Vizualizace CTA banner (záložní, pohřbený) ── */
.viz-cta-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 56px 0;
}
.viz-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.viz-cta-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.viz-cta-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.02em;
}
.viz-cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  max-width: 500px;
  margin: 0;
}
.viz-cta-action {
  flex-shrink: 0;
  text-align: center;
}
.viz-cta-action .btn {
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 15px;
}
.viz-cta-note {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin: 10px 0 0;
}
@media (max-width: 768px) {
  .viz-cta-inner { flex-direction: column; align-items: flex-start; }
  .viz-cta-action { width: 100%; }
  .viz-cta-action .btn { width: 100%; text-align: center; }
}

.quote-section {
  background: var(--white);
  padding: 80px 0;
  min-height: calc(100vh - 80px);
}
.quote-section-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}
.quote-section .section-header { margin-bottom: 40px; }
.quote-form {
  background: var(--white);
  padding: 48px;
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-image img { height: 360px; }
  .product-detail-placeholder { height: 360px; }
}
@media (max-width: 768px) {
  .product-page-hero h1 { font-size: 36px; }
  .breadcrumb-inner { padding: 0 20px; }
  .product-page-hero-inner { padding: 0 20px; }
  .quote-section-inner { padding: 0 20px; }
  .quote-form { padding: 28px 20px; }
}

/* ============================================================
   SHOWROOM PAGE
   ============================================================ */
.SHOWROOMs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 0;
}
.SHOWROOM-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.SHOWROOM-image {
  height: 280px;
  overflow: hidden;
}
.SHOWROOM-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.SHOWROOM-card:hover .SHOWROOM-image img { transform: scale(1.04); }
.SHOWROOM-placeholder {
  height: 280px;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.SHOWROOM-body {
  padding: 28px 28px 32px;
}
.SHOWROOM-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.SHOWROOM-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}
.info-row svg { flex-shrink: 0; margin-top: 1px; }
.info-row a { color: var(--black); font-weight: 600; }
.info-row a:hover { color: var(--red); }
.showroom-card-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .SHOWROOMs-grid { grid-template-columns: 1fr; }
  .SHOWROOM-image, .SHOWROOM-placeholder { height: 220px; }
}

/* ── SHOWROOM: MacBook overrides (musí být ZA base styly!) ── */
@media (max-width: 1440px) {
  .SHOWROOM-image, .SHOWROOM-placeholder { height: 253px; }
  .SHOWROOM-body { padding: 16px 20px 20px; }
  .SHOWROOM-body h3 { font-size: 17px; margin-bottom: 10px; padding-bottom: 8px; }
  .SHOWROOMs-grid { gap: 20px; }
}
@media (max-width: 1280px) {
  .SHOWROOM-image, .SHOWROOM-placeholder { height: 225px; }
  .SHOWROOM-body { padding: 12px 16px 16px; }
  .SHOWROOM-body h3 { font-size: 16px; margin-bottom: 8px; padding-bottom: 7px; }
  .SHOWROOM-info { gap: 6px; margin-bottom: 12px; font-size: 13px; }
  .SHOWROOMs-grid { gap: 16px; }
}

/* Showroom detail sections */
.showroom-detail--hidden { display: none; }
.showroom-detail { padding: 72px 0; min-height: 100vh; }
.showroom-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}
.showroom-detail-products { padding-left: 48px; }
.showroom-detail-products .product-features { margin-bottom: 0; }
.showroom-detail .product-features li { font-size: 17px; }
.showroom-detail .feature-dot { width: 22px; height: 22px; }
.showroom-note {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 24px;
  font-style: italic;
}
.showroom-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.showroom-photo-ph {
  aspect-ratio: 4/3;
  background: var(--light-gray);
  border: 2px dashed var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showroom-photo-ph span {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 500;
}
@media (max-width: 768px) {
  .showroom-detail-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Showroom foto carousel ── */
.showroom-carousel { width: 100%; }
.sc-stage {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #1c1c1e;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.sc-track {
  display: flex;
  transition: transform 0.4s var(--ease);
  cursor: pointer;
}
.sc-slide {
  min-width: 100%;
  width: 100%;
  overflow: hidden;   /* ořízne přiblížený obrázek na hranice slidu → žádný přesah do vedlejší fotky */
  display: block;
  font-size: 0;
}
.sc-track img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  background: #1c1c1e;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.06);   /* jemné přiblížení fotek (přebytek ořízne slide) */
}
.sc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}
.sc-arrow:hover { background: var(--red); color: #fff; }
.sc-arrow:active { transform: translateY(-50%) scale(0.92); }
.sc-prev { left: 14px; }
.sc-next { right: 14px; }
.sc-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.sc-counter b { font-weight: 800; }
.sc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.sc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.sc-dot:hover { background: var(--text-gray); }
.sc-dot.is-active { background: var(--red); transform: scale(1.25); }
.sc-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 500;
}
.sc-hint svg { color: var(--red); }
@media (max-width: 768px) {
  .sc-arrow { width: 42px; height: 42px; }
  .sc-prev { left: 8px; }
  .sc-next { right: 8px; }
}

/* Product selector — radio/checkbox pill chooser */
.product-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.product-selector-header > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.toggle-multi-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-gray);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: var(--font);
}
.toggle-multi-btn:hover,
.toggle-multi-btn.is-active {
  color: var(--red);
  border-color: var(--red);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.product-grid.hidden { display: none; }
.product-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, background 0.25s, color 0.2s;
  user-select: none;
}
.product-pill:hover { border-color: #bbb; }
.product-pill input { display: none; }
.product-pill.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
@keyframes pill-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.product-pill.pop-anim { animation: pill-pop 0.22s var(--ease) both; }
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}
