:root{
  --red:#c8102e;
  --red-dark:#9f0c24;
  --white:#ffffff;
  --gray-50:#f7f7f8;
  --gray-100:#efeff1;
  --gray-200:#e6e6ea;
  --gray-600:#4a4a55;
  --gray-800:#1f1f26;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 14px;
  --max: 1150px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--gray-800);
  background:linear-gradient(180deg, var(--gray-50), var(--white));
  line-height:1.6;
}
a{color:var(--red); text-decoration:none;}
a:hover{text-decoration:underline;}
.container{max-width:var(--max); margin:0 auto; padding:0 18px;}
.skip-link{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip-link:focus{left:18px; top:14px; width:auto; height:auto; padding:10px 12px; background:var(--white); border:2px solid var(--red); border-radius:10px; z-index:9999;}
header{position:sticky; top:0; z-index:99; background:rgba(255,255,255,.92); backdrop-filter:saturate(160%) blur(8px); border-bottom:1px solid var(--gray-200);}
.navbar{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0;}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px; color:var(--gray-800);}
.logo{width:38px; height:38px; border-radius:10px; background: radial-gradient(circle at 30% 30%, #ff4460, var(--red)); box-shadow:var(--shadow); display:inline-block;}
.brand small{display:block; font-weight:600; color:var(--gray-600); letter-spacing:0;}
.nav{display:flex; align-items:center; gap:14px; flex-wrap:wrap;}
.nav a{color:var(--gray-800); font-weight:700; padding:8px 10px; border-radius:10px;}
.nav a.active, .nav a:hover{background:var(--gray-100); text-decoration:none;}
.cta{display:flex; align-items:center; gap:10px;}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:12px; font-weight:800; border:2px solid transparent; cursor:pointer; transition:.15s transform ease, .15s background ease, .15s border ease;}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--red); color:var(--white); box-shadow:0 10px 22px rgba(200,16,46,.18);}
.btn-primary:hover{background:var(--red-dark); text-decoration:none;}
.btn-outline{background:transparent; color:var(--red); border-color:var(--red);}
.btn-outline:hover{background:rgba(200,16,46,.06); text-decoration:none;}
.mobile-toggle{display:none; border:2px solid var(--gray-200); background:var(--white); padding:8px 10px; border-radius:12px; font-weight:900;}
.hero{padding:44px 0 22px;}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:22px; align-items:stretch;}
.card{background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius); box-shadow:var(--shadow); padding:18px;}
.badge{display:inline-flex; align-items:center; gap:8px; background:rgba(200,16,46,.08); color:var(--red); font-weight:900; border:1px solid rgba(200,16,46,.22); padding:7px 10px; border-radius:999px;}
h1,h2,h3{line-height:1.2; margin:10px 0;}
h1{font-size: clamp(28px, 3.2vw, 42px); letter-spacing:-.4px;}
h2{font-size: clamp(22px, 2.4vw, 30px);}
h3{font-size: 18px;}
p{margin:10px 0;}
.kicker{color:var(--gray-600); font-weight:700;}
.hr{height:1px; background:var(--gray-200); margin:14px 0;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
.feature{padding:14px; border-radius:14px; border:1px solid var(--gray-200); background:linear-gradient(180deg, var(--white), var(--gray-50));}
.feature strong{display:block;}
.list{margin:0; padding-left:18px;}
.pill-list{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px;}
.pill{padding:8px 10px; border-radius:999px; background:var(--gray-100); border:1px solid var(--gray-200); font-weight:800; color:var(--gray-800);}
.notice{border-left:5px solid var(--red); background:rgba(200,16,46,.06); padding:12px 14px; border-radius:14px; font-weight:700;}
.breadcrumbs{font-weight:800; color:var(--gray-600); margin-top:14px;}
.breadcrumbs a{color:var(--gray-600);}
.breadcrumbs a:hover{color:var(--red); text-decoration:none;}
.footer{margin-top:36px; padding:26px 0; border-top:1px solid var(--gray-200); background:var(--white);}
.footer-grid{display:grid; grid-template-columns: 1.1fr .9fr .9fr; gap:14px;}
.footer small{color:var(--gray-600);}
.footer a{color:var(--gray-800); font-weight:700;}
.footer a:hover{color:var(--red); text-decoration:none;}
.table{width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid var(--gray-200); border-radius:14px; background:var(--white);}
.table th, .table td{padding:12px 12px; border-bottom:1px solid var(--gray-200); vertical-align:top;}
.table th{background:var(--gray-50); text-align:left; font-weight:900;}
.table tr:last-child td{border-bottom:none;}
.faq details{border:1px solid var(--gray-200); border-radius:14px; padding:12px 14px; background:var(--white); box-shadow:0 6px 18px rgba(0,0,0,.04);}
.faq details + details{margin-top:12px;}
.faq summary{cursor:pointer; font-weight:900; color:var(--gray-800);}
.faq summary::-webkit-details-marker{display:none;}
.faq summary:after{content:"+"; float:right; font-weight:900; color:var(--red);}
.faq details[open] summary:after{content:"–";}
.faq .answer{color:var(--gray-600); font-weight:700; margin-top:8px;}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .nav{display:none; width:100%; padding-bottom:10px;}
  .nav.open{display:flex;}
  .mobile-toggle{display:inline-flex;}
}


/* Media */
.media{
  width:100%;
  border-radius:14px;
  border:1px solid var(--gray-200);
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  background:var(--white);
  overflow:hidden;
}
.media img{display:block; width:100%; height:auto;}
.logo-img{
  width:38px; height:38px;
  border-radius:10px;
  object-fit:contain;
  border:1px solid var(--gray-200);
  background:var(--white);
}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-top:16px;
}
.gallery img{
  width:100%;
  border-radius:12px;
  border:1px solid var(--gray-200);
  background:#fff;
}


/* ===== MOBILE FULL WIDTH FIX (FINAL) ===== */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  header,
  main,
  section {
    width: 100%;
  }

  .card,
  .hero,
  .model-card {
    border-radius: 0 !important;
  }
}


/* ===== RESPONSIVE HEADER & QUICK ACTIONS (FINAL) ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap; /* prevents overflow */
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 220px;
}

.brand .brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .brand-title{ font-weight:800; }
.brand .brand-sub{ color: var(--gray-600); font-weight:600; font-size:.95rem; }

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.header-actions a.btn{
  white-space:nowrap;
}

/* Quick Actions (primary navigation buttons) */
.quick-actions{
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.quick-actions .qa-inner{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  padding: 12px 0;
}
.quick-actions a.qa{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 12px 10px;
  border-radius: 14px;
  text-decoration:none;
  font-weight:800;
  border: 2px solid var(--red-600);
  color: var(--red-600);
  background:#fff;
}
.quick-actions a.qa.primary{
  background: var(--red-600);
  color:#fff;
}

/* Mobile: make header minimal, move focus to quick actions */
@media (max-width: 768px){
  .header-actions{
    width:100%;
    justify-content:space-between;
  }
  .header-actions .btn{
    flex:1 1 auto;
    text-align:center;
  }
  .quick-actions .qa-inner{
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }
}

/* ===== SHOP CTA (Homepage) ===== */
.shop-cta{
  margin: 14px 0 6px;
}
.shop-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: rgba(195,0,47,.06);
}
.shop-cta-inner strong{ font-weight: 900; }
.shop-cta-inner span{ color: var(--gray-700); font-weight: 600; }
@media (max-width: 768px){
  .shop-cta-inner{ flex-direction:column; align-items:stretch; }
  .shop-cta-inner a{ width:100%; text-align:center; }
}
