/* ===== Design tokens ===== */
:root{
  --bg:#FAFAFA;
  --surface:#FFFFFF;
  --ink:#151821;
  --ink-soft:#6B7280;
  --line:#EAEAEC;
  --accent:#1F2A44;
  --accent-2:#FF6B4A;
  --accent-2-dark:#E85535;
  --success:#2E9E6D;
  --chair-color:#2196C9;
  --shadow-sm: 0 2px 10px rgba(21,24,33,0.06);
  --shadow-md: 0 12px 32px -12px rgba(21,24,33,0.14);
  --shadow-lg: 0 24px 60px -20px rgba(21,24,33,0.22);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ff-head:'Poppins', 'Hind Siliguri', sans-serif;
  --ff-body:'Hind Siliguri', sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--ff-body);
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
  padding-bottom:78px;
}
img{max-width:100%; display:block;}
h1,h2,h3{font-family:var(--ff-head);}
.section-title{
  text-align:center;
  font-size:1.5rem;
  font-weight:700;
  color:var(--ink);
}
.section-sub{
  text-align:center;
  color:var(--ink-soft);
  font-size:.9rem;
  margin-top:8px;
  margin-bottom:30px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:14px;
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary{
  background:var(--accent-2);
  color:var(--white, #fff);
  box-shadow:0 10px 24px -8px rgba(232,85,53,0.5);
}
.btn--primary:hover{background:var(--accent-2-dark);}
.btn--primary:active{transform:scale(.97);}
.btn--lg{padding:16px 36px; font-size:1.05rem;}
.btn--full{width:100%;}

/* ===== Topbar ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__brand{
  font-family:var(--ff-head);
  font-weight:800;
  letter-spacing:.5px;
  font-size:1.1rem;
  color:var(--ink);
}
.topbar__brand span{color:var(--accent-2);}
.topbar__cta{
  background:var(--ink);
  color:#fff;
  padding:9px 18px;
  border-radius:100px;
  font-size:.85rem;
  font-weight:600;
  text-decoration:none;
}

/* ===== Hero ===== */
.hero{
  padding:28px 20px 40px;
  max-width:1200px;
  margin:0 auto;
}
.hero__gallery{margin-bottom:32px;}
.gallery__stage{
  position:relative;
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  aspect-ratio:4/4.5;
  width:100%;
  max-width:420px;
  margin:0 auto;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.gallery__glow{
  position:absolute;
  width:60%; height:60%;
  border-radius:50%;
  background:var(--chair-color);
  opacity:.16;
  filter:blur(40px);
  transition:background .3s ease;
}
.gallery__main{
  position:relative;
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:center;
  border-radius:calc(var(--radius-lg) - 14px);
  filter:drop-shadow(0 12px 18px rgba(21,24,33,0.16));
  opacity:1;
  transition:opacity .22s ease;
}
.gallery__main.is-fading{opacity:0;}
.gallery__badge{
  position:absolute;
  top:16px; left:16px;
  background:var(--success);
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  padding:6px 12px;
  border-radius:100px;
}
.gallery__thumbs{
  display:flex;
  gap:12px;
  justify-content:center;
  margin-top:14px;
}
.thumb{
  width:64px; height:64px;
  border-radius:var(--radius-sm);
  border:2px solid var(--line);
  background:var(--surface);
  padding:6px;
  cursor:pointer;
  transition:border-color .15s ease;
}
.thumb.is-active{border-color:var(--accent-2);}
.thumb img{width:100%; height:100%; object-fit:contain;}

.hero__content{max-width:560px; margin:0 auto;}
.hero__eyebrow{
  color:var(--accent-2-dark);
  font-weight:600;
  font-size:.8rem;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px;
}
.hero__content h1{
  font-size:1.9rem;
  line-height:1.3;
  font-weight:700;
  margin-bottom:14px;
}
.hero__content h1 span{color:var(--accent-2);}
.hero__sub{
  color:var(--ink-soft);
  font-size:1rem;
  line-height:1.6;
  margin-bottom:20px;
}
.hero__price-row{
  display:flex; align-items:center; gap:10px;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.price-now{font-size:1.6rem; font-weight:700; color:var(--ink);}
.price-old{font-size:1rem; color:#B0B4BC; text-decoration:line-through;}

.hero__colors{margin-bottom:26px;}
.hero__colors-label{
  display:block;
  font-size:.9rem;
  color:var(--ink-soft);
  margin-bottom:10px;
}
.hero__colors-label strong{color:var(--ink);}
.swatches{display:flex; gap:14px;}
.swatch{
  width:38px; height:38px;
  border-radius:50%;
  border:3px solid transparent;
  background:var(--sw);
  cursor:pointer;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, border-color .15s ease;
}
.swatch:active{transform:scale(.9);}
.swatch.is-active{border-color:var(--ink); transform:scale(1.08);}

.hero__trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-top:22px;
  font-size:.82rem;
  color:var(--ink-soft);
  font-weight:600;
}

/* ===== Features ===== */
.features{padding:40px 20px 50px; max-width:1000px; margin:0 auto;}
.feature-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  max-width:560px;
  margin:0 auto;
}
.feature-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:20px 16px;
  box-shadow:var(--shadow-sm);
  text-align:center;
  transition:box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover{box-shadow:var(--shadow-md); transform:translateY(-2px);}
.feature-icon{font-size:1.8rem; margin-bottom:10px;}
.feature-card h3{font-size:.95rem; margin-bottom:6px; font-weight:600;}
.feature-card p{font-size:.8rem; color:var(--ink-soft); line-height:1.5;}

/* ===== Specs ===== */
.specs{padding:10px 20px 50px; max-width:1000px; margin:0 auto;}
.specs__table{
  max-width:560px; margin:0 auto;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.specs__row{
  display:flex; justify-content:space-between;
  padding:14px 20px;
  font-size:.9rem;
  border-bottom:1px solid var(--line);
}
.specs__row:last-child{border-bottom:none;}
.specs__row span:first-child{color:var(--ink-soft);}
.specs__row span:last-child{font-weight:600; text-align:right;}

/* ===== Order / checkout ===== */
.order{padding:20px 20px 60px; max-width:1000px; margin:0 auto;}
.order__wrap{max-width:560px; margin:0 auto;}
.order__summary{
  display:flex; align-items:center; gap:14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:14px;
  box-shadow:var(--shadow-sm);
  margin-bottom:20px;
}
.order__summary img{
  width:80px; height:80px; object-fit:cover;
  background:var(--bg);
  border-radius:var(--radius-sm);
}
.order__summary-info{width:100%;}
.order__summary-info h3{font-size:1rem; font-weight:600;}
.order__summary-color{
  display:flex; align-items:center; gap:6px;
  font-size:.85rem; color:var(--ink-soft);
  margin-top:4px;
}
.color-dot{
  width:12px; height:12px; border-radius:50%;
  background:var(--chair-color);
  display:inline-block;
  box-shadow:0 0 0 2px var(--surface), 0 0 0 3px var(--line);
}
.order__price{display:flex; gap:8px; align-items:baseline; margin-top:8px;}
.order__price .price-now{font-size:1.1rem;}
.order__price .price-old{font-size:.85rem;}
.order__summary-trust{
  list-style:none;
  margin-top:14px;
  padding-top:14px;
  border-top:1px dashed var(--line);
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:.8rem;
  color:var(--ink-soft);
}

.checkout-form{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:24px 20px;
  box-shadow:var(--shadow-md);
  display:flex;
  flex-direction:column;
  gap:22px;
}
.form-group{display:flex; flex-direction:column; gap:14px;}
.form-group__title{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:var(--accent-2-dark);
}
.field{display:flex; flex-direction:column; gap:6px; font-size:.85rem; color:var(--ink-soft); font-weight:600;}
.field input[type="text"],
.field input[type="tel"],
.field textarea,
.field select{
  font-family:var(--ff-body);
  width:100%;
  padding:13px 14px;
  border-radius:var(--radius-sm);
  border:1.5px solid var(--line);
  background:var(--bg);
  font-size:.95rem;
  color:var(--ink);
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color:var(--accent-2);
  box-shadow:0 0 0 3px rgba(255,107,74,0.12);
}
.input-icon{position:relative; display:flex; align-items:center;}
.input-icon__ic{
  position:absolute;
  left:14px;
  font-size:1rem;
  pointer-events:none;
  opacity:.8;
}
.input-icon input,
.input-icon textarea{padding-left:40px;}
.input-icon--top{align-items:flex-start;}
.input-icon--top .input-icon__ic{top:13px;}
.input-icon textarea{resize:vertical; min-height:64px;}

.field-row{display:flex; gap:14px;}
.field-row .field{flex:1;}
.qty{
  display:inline-flex; align-items:center; gap:0;
  border:1.5px solid var(--line); border-radius:var(--radius-sm);
  overflow:hidden; width:fit-content;
}
.qty__btn{
  background:var(--bg);
  border:none;
  width:44px; height:44px;
  font-size:1.15rem;
  font-weight:700;
  cursor:pointer;
  color:var(--ink);
  transition:background .15s ease;
}
.qty__btn:hover{background:var(--line);}
.qty input{
  width:56px; text-align:center; border:none; background:var(--surface);
  font-size:1rem; font-weight:600; padding:0;
}

.pay-options{display:flex; gap:12px;}
.pay-option{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 14px;
  border:1.5px solid var(--line);
  border-radius:var(--radius-sm);
  cursor:pointer;
  background:var(--bg);
  transition:border-color .15s ease, background .15s ease;
}
.pay-option input{position:absolute; opacity:0; width:0; height:0;}
.pay-option__ic{font-size:1.2rem;}
.pay-option__label{font-size:.88rem; font-weight:600; color:var(--ink);}
.pay-option.is-active{
  border-color:var(--accent-2);
  background:rgba(255,107,74,0.06);
}

.order__total{
  display:flex; justify-content:space-between; align-items:center;
  padding:16px;
  background:var(--bg);
  border-radius:var(--radius-sm);
  font-size:1rem;
}
.order__total strong{font-size:1.35rem; color:var(--accent-2-dark);}
.checkout-note{font-size:.78rem; color:var(--ink-soft); text-align:center; line-height:1.5;}

/* ===== Footer ===== */
.footer{
  text-align:center;
  padding:24px 20px;
  color:var(--ink-soft);
  font-size:.8rem;
}

/* ===== Sticky bar ===== */
.sticky-bar{
  position:fixed; bottom:0; left:0; right:0;
  z-index:60;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 18px;
  box-shadow:0 -8px 24px -12px rgba(21,24,33,0.12);
}
.sticky-bar__price{display:flex; flex-direction:column; line-height:1.2;}
.sticky-bar__price .price-now{font-size:1.15rem;}
.sticky-bar__price .price-old{font-size:.78rem;}
.sticky-bar .btn{padding:11px 22px; font-size:.9rem;}

/* ===== Overlay ===== */
.overlay{
  position:fixed; inset:0; z-index:100;
  background:rgba(21,24,33,0.55);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.overlay.is-open{opacity:1; pointer-events:auto;}
.overlay__card{
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:32px 26px;
  text-align:center;
  max-width:360px;
  box-shadow:var(--shadow-lg);
  transform:scale(.9);
  transition:transform .25s ease;
}
.overlay.is-open .overlay__card{transform:scale(1);}
.overlay__icon{font-size:2.5rem; margin-bottom:10px;}
.overlay__card h3{font-size:1.2rem; margin-bottom:10px;}
.overlay__card p{font-size:.9rem; color:var(--ink-soft); margin-bottom:20px; line-height:1.5;}

/* ===== Desktop tweaks ===== */
@media (min-width:768px){
  body{padding-bottom:0;}
  .sticky-bar{display:none;}
  .hero{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    align-items:center;
    gap:50px;
    padding:60px 40px;
  }
  .hero__gallery{margin-bottom:0;}
  .gallery__stage{max-width:none;}
  .hero__content{max-width:none;}
  .hero__content h1{font-size:2.5rem;}
  .feature-grid{grid-template-columns:repeat(3,1fr); max-width:900px;}
  .order__wrap{max-width:800px; display:grid; grid-template-columns:1fr 1.2fr; gap:30px; align-items:start;}
  .order__summary{flex-direction:column; align-items:flex-start; position:sticky; top:90px;}
  .order__summary img{width:100%; height:220px;}
}
