/* MotoPrádlo CZ — Main Stylesheet */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --accent: #e94560;
  --accent-hover: #c73050;
  --white: #ffffff;
  --light: #f8f8f8;
  --gray: #888;
  --text: #333;
  --border: #e0e0e0;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
}
.topbar span {
  margin: 0 12px;
}
.topbar strong {
  color: var(--accent);
}

/* ── HEADER ── */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-text span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 4px;
}
nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
nav a:hover {
  background: var(--light);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.header-phone small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
}
.btn-cart {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-cart:hover {
  background: var(--accent-hover);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--darker);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(233, 69, 96, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: white;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat span {
  font-size: 13px;
  opacity: 0.7;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}
.section-line {
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── CATEGORIES ── */
.categories {
  padding: 80px 20px;
  background: var(--light);
}
.categories .container {
  max-width: 1200px;
  margin: 0 auto;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.cat-card:hover .cat-img img {
  transform: scale(1.05);
}
.cat-img {
  height: 220px;
  overflow: hidden;
  background: #f0f0f0;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cat-info {
  padding: 20px;
}
.cat-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}
.cat-info p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
}
.cat-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-link::after {
  content: "→";
}

/* ── BENEFITS ── */
.benefits {
  padding: 80px 20px;
  background: var(--dark);
  color: white;
}
.benefits .container {
  max-width: 1200px;
  margin: 0 auto;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 0;
}
.benefit {
  text-align: center;
  padding: 32px 20px;
}
.benefit-icon {
  width: 64px;
  height: 64px;
  background: rgba(233, 69, 96, 0.15);
  border: 2px solid var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.benefit-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--accent);
}
.benefit h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ── PRODUCTS ── */
.products {
  padding: 80px 20px;
  background: white;
}
.products .container {
  max-width: 1200px;
  margin: 0 auto;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.prod-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.prod-img {
  height: 260px;
  background: var(--light);
  overflow: hidden;
  position: relative;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.prod-card:hover .prod-img img {
  transform: scale(1.04);
}
.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}
.prod-info {
  padding: 18px;
}
.prod-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.prod-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.prod-info p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 14px;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prod-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}
.prod-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 4px;
}
.btn-add {
  background: var(--accent);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-add:hover {
  background: var(--accent-hover);
}

/* ── ABOUT ── */
.about {
  padding: 80px 20px;
  background: var(--light);
}
.about .container {
  max-width: 1200px;
  margin: 0 auto;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.about-text h2 span {
  color: var(--accent);
}
.about-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-point-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-point-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}
.about-point-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.about-point-text span {
  font-size: 13px;
  color: var(--gray);
}

.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}
.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 70px 20px;
  background: var(--accent);
  color: white;
  text-align: center;
}
.newsletter h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}
.newsletter p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}
.newsletter-form button {
  background: var(--dark);
  color: white;
  border: none;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover {
  background: #0f0f1a;
}

/* ── FOOTER ── */
footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 20px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text {
  color: white;
  font-size: 20px;
  margin-bottom: 14px;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-col strong {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom a:hover {
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-inner {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .header-phone {
    display: none;
  }
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .prod-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ── CART TOAST ── */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: var(--dark);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
}

/* ── MOBILE MENU BTN ── */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  display: none; opacity: 0;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(15,15,26,0.97); color: white;
  border-top: 2px solid var(--accent);
  transition: opacity .3s;
}
.cookie-content {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.cookie-header { flex: 1; min-width: 260px; }
.cookie-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cookie-header p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.cookie-header a { color: var(--accent); text-decoration: underline; }
.cookie-categories { display: flex; gap: 16px; flex-wrap: wrap; }
.cookie-cat { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.cookie-cat input { accent-color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
}
.cookie-btn-primary { background: var(--accent); color: white; }
.cookie-btn-primary:hover { background: var(--accent-hover); }
.cookie-btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn-secondary:hover { background: rgba(255,255,255,0.18); }

/* ── POLICY PAGES ── */
.policy-page { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.policy-page h1 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.policy-page .policy-date { font-size: 13px; color: var(--gray); margin-bottom: 40px; }
.policy-page h2 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 32px 0 12px; }
.policy-page h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.policy-page p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 12px; }
.policy-page ul, .policy-page ol { margin: 0 0 14px 22px; }
.policy-page li { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 4px; }
.policy-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.policy-page th { background: var(--dark); color: white; padding: 10px 12px; text-align: left; }
.policy-page td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.policy-page tr:nth-child(even) td { background: var(--light); }
.policy-page .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 32px; }
.policy-page .back-link:hover { text-decoration: underline; }
.policy-box { background: var(--light); border-left: 3px solid var(--accent); border-radius: 4px; padding: 16px 20px; margin: 20px 0; }
