:root{
  /* Brand */
  --orange:rgb(88,130,74);
	  
  /* UI */
  --bg:#ffffff;                 /* dark green background */
  --text:#000000;
  --muted:rgba(0,0,0,1.0);
  --panel:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.14);
  --shadow:0 20px 60px rgba(0,0,0,1);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  line-height: 1.55;
  background: #f5f5f5; /* Light gray background */
}


a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

.skip-link{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:10px 12px;border-radius:8px}
.skip-link:focus{left:12px;top:12px;z-index:999}

.header{
  position:sticky;top:0;z-index:20;
  background: rgba(230,224,236, 1);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0; gap:16px;
}

.brand{display:inline-flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px}

/* Brand image in header */
.brand-logo {
  display: inline-block;
  height: 40px; /* match functions.php height or your natural image size */
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); /* optional */
}

/* Hide old brand elements if still present */
.brand-mark,
.brand-text {
  display: none;
}

.nav{display:flex;align-items:center;gap:14px}
.nav a{
  padding:10px 10px;border-radius:12px;
  color:var(--muted);
  font-weight:900;
}
.nav a:hover{background:rgba(255,255,255,.07);color:var(--text)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.18);
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  background: rgb(4,133,169);
  color:#0b0c10;
  box-shadow: var(--shadow);
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px); background:rgba(4,133,169,0.7)}
.btn:active{transform: translateY(0)}
.btn-ghost{
  background:rgb(88,130,74);
  color:var(--text);
  box-shadow:none;
  border:1px solid var(--line);
}
.btn-ghost:hover{background:rgba(88,130,74,0.7)}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
  cursor:pointer;
}
.burger{
  display:block;width:18px;height:2px;background:var(--text);
  position:relative;border-radius:999px;
}
.burger::before,.burger::after{
  content:"";position:absolute;left:0;width:18px;height:2px;background:var(--text);border-radius:999px
}
.burger::before{top:-6px}
.burger::after{top:6px}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
}

.hero{padding:72px 0 34px}
.hero-grid{
  display:grid;gap:24px;align-items:center;
  grid-template-columns: 1.15fr .85fr;
}
.eyebrow{color:rgba(88,130,74,.92);margin:0 0 10px;font-weight:800}
.hero h1{margin:0 0 12px;line-height:1.1;font-size: clamp(2rem, 4vw, 3rem)}
.lead{margin:0;max-width:62ch;color: #000000;font-size:1.05rem}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.badge{
  border:1.5px solid rgba(88,130,74,.65);
  background: rgba(192,192,192,1.0);
  color: rgba(0,0,0,.1.0);
  padding:8px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:.9rem;
}

.hero-card{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 320px;
}

/* === Hero Card Top Dots === */
.hero-card-top {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid var(--line);
}

.top-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: none;
  cursor: pointer;
}

.top-dot.is-active {
  background: #333; /* Active state color */
}

.top-dot:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* Make the carousel element the viewport */
#hero-carousel{
  overflow: hidden;     /* <- put it here */
  position: relative;   /* <- good for absolutely-positioned arrows/nav */
}

/* The moving strip should NOT clip its children */
.carousel-track{
  display: flex;
  transition: transform .35s ease-in-out;
  will-change: transform;
  /* remove these: */
  /* width: 100%; */
  /* overflow: hidden; */
}

/* Slides */
.carousel-slide{
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
}

/* === Carousel Arrows === */
.carousel-nav {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-flex;
  gap: 8px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.65);
  background: rgba(255,255,255,.8);
  color: #000;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: rgba(192,192,192,.95);
}




.hero-card-body{padding:18px}
.skeleton{height:12px;border-radius:999px;background: rgba(255,255,255,.12);margin:12px 0}
.skeleton-title{height:25px;width:70%;}
.skeleton-short{width:55%; }
.mini-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:19px}
.mini{height:56px;border-radius:14px;background: rgba(255,255,255,.08);border:1px solid var(--line)}

.section{padding:70px 0}
.section.alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{margin-bottom:22px}
.section-head h2{margin:0 0 6px;font-size:1.8rem}
.section-head p{margin:0;color:var(--muted)}

.grid{
  display:grid;gap:16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-3{
  display:grid;gap:16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card{
  border:1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  overflow:hidden;
}
.pad{padding:16px}

.product-body{padding:16px}
.product-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.muted{color:var(--muted)}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.tag{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:.85rem;
  font-weight:900;
  border:1px solid rgba(11,61,46,.55);
  background: rgba(11,61,46,.55);
  color: rgba(244,246,245,.92);
}

.thumb{
  height: 170px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(240px 130px at 20% 25%, rgba(255,122,0,.30), transparent 60%),
    radial-gradient(260px 150px at 80% 40%, rgba(11,61,46,.45), transparent 60%),
    rgba(255,255,255,.04);
}

.thumb.t1 {
  background-image: url('https://bestwarranty.co.uk/wp-content/uploads/2026/01/sofapng.png');
  background-size: cover;
  background-position: center;
}
.thumb.t2{
  background-image: url('https://bestwarranty.co.uk/wp-content/uploads/2026/01/rattan.png');
  background-size: cover;
  background-position: center;
}
.thumb.t3{
  background-image: url('https://bestwarranty.co.uk/wp-content/uploads/2026/01/appliances-wm.jpg');
  background-size: cover;
  background-position: center;
}

.contact{
  display:grid;gap:16px;
  grid-template-columns: 1.05fr .95fr;
  align-items:start;
}
.form{padding:16px}
label{display:block;margin:0 0 12px;font-weight:900}
input,textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
input:focus,textarea:focus{border-color: rgba(255,122,0,.7)}
.form-note{margin:10px 0 0; min-height: 1.2em}

.footer{
  padding:24px 0;
  border-top:1px solid var(--line);
  background: rgba(230,224,236, 1.0);
}
.footer-row{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  flex-wrap:wrap;
}
.footer-links{display:flex;gap:14px;color:var(--muted)}
.footer-links a:hover{color:var(--text)}

.modal::backdrop{background: rgba(0,0,0,.70)}
.modal{
  border:none;
  padding:0;
  background:transparent;
  width:min(900px, calc(100% - 24px));
}
.modal-card{
  position:relative;
  border:1px solid var(--line);
  background: rgba(228,220,238, .94);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.icon-btn{
  position:absolute; right:12px; top:12px;
  width:40px; height:40px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
}
.icon-btn:hover{background: rgba(255,255,255,.1)}
.modal-grid{
  display:grid; gap:0;
  grid-template-columns: 1fr 1fr;
}
.modal-thumb{
  min-height: 280px;
  background:
    radial-gradient(280px 150px at 20% 25%, rgba(255,122,0,.30), transparent 60%),
    radial-gradient(300px 170px at 80% 40%, rgba(11,61,46,.45), transparent 60%),
    rgba(255,255,255,.04);
  border-right:1px solid var(--line);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.modal-copy{padding:18px}
.specs{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.spec{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  padding:10px;
}
.spec b{display:block;margin-bottom:4px;color: rgba(0,0,0,1)}
.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
}

@media (max-width: 760px){
  .nav{display:none}
  .nav-toggle{display:inline-flex}
  .grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .thumb{height: 190px}
  .modal-grid{grid-template-columns: 1fr}
  .modal-thumb{border-right:none;border-bottom:1px solid var(--line)}
}
