:root{
  --bg:#ffffff;
  --text:#0f141a;
  --muted:#5e6776;

  --charcoal:#12161c;
  --navy:#1f2a38;

  --gold:#C9A24D;
  --gold2:#B8943E;

  --border:rgba(15,20,26,.10);
  --shadow:0 18px 70px rgba(15,20,26,.10);

  --card:#f7f8fa;
  --radius:22px;
  --radius2:34px;
  --max:1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: linear-gradient(180deg, #f4f6f8 0%, #ffffff 45%, #f2f4f7 100%);
  color:var(--text);
  line-height:1.35;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:22px}
.muted{color:var(--muted);font-weight:650}

/* ================= HEADER ================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand img{height:46px}

.brand .tag{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}

/* Main nav */
.nav{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--navy);
  position:relative;
}

.nav a{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
}

.nav a:hover{
  border-color:var(--border);
  background:rgba(31,42,56,.04);
}

/* Nav buttons */
.btn-small{ padding:10px 14px; border-radius:999px; }

/* Dropdown */
.has-dd{ display:inline-flex; align-items:center; gap:6px; }

.dropdown{
  position:absolute;
  top: 52px;
  left: 0;
  min-width: 240px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
  padding:8px;
  display:none;
  z-index:50;
}

.dd-link{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  font-weight:800;
}

.dd-link:hover{ background:rgba(31,42,56,.04); }

/* Show dropdown when hovering Shop Tyres or the dropdown itself */
.has-dd:hover + .dropdown,
.dropdown:hover{ display:block; }

/* Mobile toggle button */
.nav-toggle{ display:none; }

/* Mobile nav layout */
@media (max-width:900px){
  .nav-toggle{ display:block; }
  .nav{
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:12px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
  }
  .nav.open{ display:flex; }

  .dropdown{
    position:static;
    display:block;
    border:none;
    box-shadow:none;
    padding:0;
    min-width:unset;
  }
}

/* ================= HERO ================= */
.hero{
  margin-top:18px;
  border-radius:var(--radius2);
  border:1px solid var(--border);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(201,162,77,.10), transparent 45%),
    radial-gradient(900px 420px at 95% 10%, rgba(31,42,56,.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: var(--shadow);
}

.hero-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px;
  padding:44px;
}

@media(max-width:900px){
  .hero-inner{grid-template-columns:1fr;padding:28px}
}

.hero h1{
  font-size:clamp(34px,3.7vw,50px);
  letter-spacing:-.02em;
  line-height:1.05;
  margin:0;
}

.lead{
  color:var(--muted);
  font-weight:850;
  margin-top:10px;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:999px;
  border:1px solid var(--border);
  font-weight:900;
  transition:transform .12s ease, filter .12s ease, background .12s ease;
  cursor:pointer;
}

.btn:active{transform:translateY(1px)}

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

.btn-primary:hover{filter:brightness(1.05)}

.btn-ghost{
  background:rgba(255,255,255,.85);
}

.btn-ghost:hover{background:rgba(31,42,56,.05)}

/* ================= WHY PANEL ================= */
.why{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  background:rgba(255,255,255,.70);
  box-shadow:0 10px 30px rgba(15,20,26,.04);
}

.why-title{
  font-weight:950;
  margin-bottom:10px;
}

.why-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-weight:850;
}

/* ================= MAIN PANEL ================= */
.panel{
  margin-top:18px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  padding:22px;
  box-shadow:0 12px 40px rgba(15,20,26,.06);
}

.section-head h2{margin:0}
.section-head p{margin-top:6px}

/* ================= CATEGORY CARDS ================= */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:16px;
}

@media(max-width:900px){
  .cat-grid{grid-template-columns:1fr}
}

.cat-card{
  position:relative;
  display:block;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:#fff;
  padding:18px;
  box-shadow:0 12px 40px rgba(15,20,26,.05);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}

.cat-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 55px rgba(15,20,26,.08);
  border-color:rgba(31,42,56,.18);
}

.cat-card::after{
  content:"→";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%) translateX(-6px);
  font-size:18px;
  font-weight:950;
  color:rgba(31,42,56,.55);
  opacity:0;
  transition:opacity .18s ease, transform .18s ease;
}

.cat-card:hover::after{
  opacity:1;
  transform:translateY(-50%) translateX(0);
}

.cat-card:active{
  transform:translateY(0);
  box-shadow:0 10px 34px rgba(15,20,26,.06);
}

.cat-title{
  font-weight:950;
  font-size:16px;
  color:var(--navy);
  margin-bottom:6px;
}

.cat-sub{
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

/* Featured */
.cat-card--featured{
  border-color:rgba(31,42,56,.20);
  background: radial-gradient(600px 220px at 0% 0%, rgba(31,42,56,.06), transparent 55%), #ffffff;
}

.cat-card--featured::before{
  content:"Most popular";
  position:absolute;
  left:16px;
  top:14px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
  color:rgba(31,42,56,.95);
  background:rgba(31,42,56,.08);
  border:1px solid rgba(31,42,56,.16);
}

.cat-card--featured .cat-title{ margin-top:22px; }

.cat-card--ghost{
  border-style:dashed;
  background:rgba(255,255,255,.75);
}

.cat-card:focus-visible{
  outline:3px solid rgba(31,42,56,.22);
  outline-offset:3px;
}

/* ================= TRUST STRIP ================= */
.trust-strip{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.trust-item{
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:900;
  color:var(--muted);
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(31,42,56,.55);
}

/* ================= FORMS ================= */
.form { display:grid; gap:12px; }
.field { display:grid; gap:6px; }

.label{ display:block; font-weight:700; }

.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font: inherit;
}

.input:focus{
  outline:3px solid rgba(31,42,56,.14);
  border-color: rgba(31,42,56,.25);
}

.help{ margin:0; font-size:.9rem; opacity:.8; }

.alert{
  padding:12px 14px;
  border-radius:14px;
  margin:10px 0 14px;
  border:1px solid rgba(0,0,0,0.1);
  background:#fff;
}

.alert ul{ margin:8px 0 0 18px; }

.hp{ position:absolute; left:-9999px; top:-9999px; height:1px; width:1px; overflow:hidden; }

.small{ font-size:.85rem; }

/* ================= AUTOCOMPLETE ================= */
.ac-panel{
  max-height:260px;
  overflow-y:auto;
}

.ac-item{
  padding:10px 14px;
  line-height:1.3;
}

/* ================= SHOP PAGE CARDS ================= */
.shop-wrap,
.shop-panel,
.shop-grid{ width:100%; }

.shop-panel{
  background:#fff;
  border:1px solid rgba(15,20,26,.10);
  border-radius:18px;
  padding:14px 14px 10px;
  box-shadow:0 10px 30px rgba(15,20,26,.04);
}

.shop-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

@media(max-width:1050px){ .shop-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:620px){ .shop-grid{grid-template-columns:1fr} }

.product-card,
.shop-card{
  background:#fff;
  border:1px solid rgba(15,20,26,.10);
  border-radius:18px;
  padding:16px;
  box-shadow:0 12px 36px rgba(15,20,26,.06);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.product-card:hover,
.shop-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 55px rgba(15,20,26,.08);
  border-color:rgba(31,42,56,.18);
}

.product-top,
.shop-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.product-brand,
.shop-brand{
  font-weight:950;
  letter-spacing:.01em;
  font-size:14px;
}

.product-desc,
.shop-desc{
  margin:6px 0 10px;
  color:rgba(15,20,26,.70);
  font-weight:750;
  font-size:13px;
  line-height:1.35;
}

.specs,
.shop-specs{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:grid;
  gap:8px;
}

.specs li,
.shop-specs li{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding-top:8px;
  border-top:1px dashed rgba(15,20,26,.10);
}

.specs li span,
.shop-specs li span{
  color:rgba(15,20,26,.60);
  font-weight:850;
  font-size:12px;
}

.specs li strong,
.shop-specs li strong{
  font-weight:950;
  font-size:12px;
}

.price-block,
.shop-price{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(15,20,26,.08);
}

.price-main,
.shop-main-price{
  font-size:22px;
  font-weight:980;
  letter-spacing:-.01em;
}

.price-sub,
.shop-sub-price{
  margin-top:6px;
  color:rgba(15,20,26,.60);
  font-weight:850;
  font-size:13px;
}

.stock-pill,
.shop-stock{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  font-weight:900;
  font-size:12px;
  border-radius:999px;
  padding:6px 10px;
  background:rgba(20,140,70,.10);
  border:1px solid rgba(20,140,70,.18);
  color:rgba(10,90,40,.95);
}

.product-actions,
.shop-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.product-actions a,
.shop-actions a,
.product-actions button,
.shop-actions button{
  flex:1;
  text-align:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,20,26,.12);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}

.product-actions a:hover,
.shop-actions a:hover,
.product-actions button:hover,
.shop-actions button:hover{
  background:rgba(31,42,56,.04);
}

.product-actions .btn-primary,
.shop-actions .btn-primary{
  background:var(--charcoal);
  color:#fff;
  border-color:rgba(0,0,0,.18);
}

/* ================= FOOTER ================= */
footer.site-footer{
  margin-top:40px;
  background:
    radial-gradient(900px 360px at 15% 0%, rgba(31,42,56,.12), transparent 55%),
    radial-gradient(900px 380px at 85% 20%, rgba(15,20,26,.10), transparent 60%),
    linear-gradient(180deg, #eef1f5 0%, #e7ebf1 100%);
  border-top:1px solid rgba(15,20,26,.10);
  color:var(--text);
}

footer.site-footer::before{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(31,42,56,.22), transparent);
}

.footer-top{
  padding:22px 0 18px;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:34px;
  align-items:start;
}

@media(max-width:900px){
  .footer-top{grid-template-columns:1fr}
}

.footer-brand{
  font-weight:980;
  font-size:18px;
  line-height:1.1;
}

.footer-tag{
  margin-top:6px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(31,42,56,.70);
  font-weight:900;
  line-height:1.2;
}

.footer-desc{
  margin:12px 0 0;
  color:rgba(15,20,26,.72);
  font-weight:700;
  line-height:1.5;
  max-width:62ch;
}

.footer-cta{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

footer.site-footer .btn{
  border-color:rgba(15,20,26,.14);
}

footer.site-footer .btn-ghost{
  background:#fff;
}

footer.site-footer .btn-ghost:hover{
  background:rgba(31,42,56,.05);
}

.footer-badges{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.badge{
  border:1px solid rgba(15,20,26,.14);
  background:rgba(255,255,255,.70);
  padding:6px 10px;
  border-radius:999px;
  color:rgba(31,42,56,.75);
  font-weight:900;
  font-size:12px;
  line-height:1;
}

.footer-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  padding-top:6px;
}

@media(max-width:700px){
  .footer-cols{grid-template-columns:1fr}
}

.footer-title{
  margin:0 0 10px;
  font-weight:950;
  color:rgba(15,20,26,.92);
  line-height:1.2;
}

.footer-link{
  display:block;
  margin:7px 0;
  color:rgba(31,42,56,.78);
  font-weight:850;
  line-height:1.25;
}

.footer-link:hover{
  color:rgba(15,20,26,.95);
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-mini{
  margin-top:10px;
  font-weight:800;
  color:rgba(31,42,56,.70);
  line-height:1.7;
}

.footer-dot{
  display:inline-block;
  width:8px;height:8px;
  border-radius:50%;
  background:rgba(31,42,56,.45);
  margin-right:8px;
}

.footer-bottom{
  border-top:1px solid rgba(15,20,26,.10);
  padding:12px 0 16px;
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

.footer-bottom a{
  color:rgba(31,42,56,.78);
  font-weight:900;
}

.footer-bottom a:hover{color:rgba(15,20,26,.95)}
.footer-bottom .sep{opacity:.45;margin:0 8px}
