/* SmartFurnish — simple catalogue site (shared-hosting friendly, no frameworks) */
:root{
  /* Palette from the SmartFurnish logo: navy wordmark, red tagline, petal accents */
  --ink:#232c42; --muted:#6b7280; --bg:#faf9f6; --card:#ffffff;
  --brand:#364562; --brand-2:#2a3750; --accent:#c62f39; --line:#e5e7eb;
  --petal-yellow:#f5c73f; --petal-orange:#e05a33; --petal-pink:#ee6b74; --petal-green:#8bc98a;
  --green:#3d9155; --wa:#25d366; --danger:#b91c1c;
}
*{box-sizing:border-box; margin:0; padding:0}
body{font-family:Arial, Helvetica, sans-serif; color:var(--ink); background:var(--bg); line-height:1.55}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:1180px; margin:0 auto; padding:0 16px}

/* Header */
.topbar{background:var(--brand); color:#eef2fb; font-size:13px; text-align:center; padding:6px 10px; border-bottom:3px solid var(--accent)}
header.site{background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50}
.nav-wrap{display:flex; align-items:center; gap:18px; padding:12px 16px; max-width:1180px; margin:0 auto}
.logo{display:flex; align-items:center; white-space:nowrap}
.logo img{height:54px; width:auto; display:block}
nav.main{display:flex; gap:4px; flex-wrap:wrap}
nav.main a{padding:8px 11px; border-radius:8px; font-size:14.5px; color:#374151}
nav.main a:hover, nav.main a.active{background:#eef1f8; color:var(--brand)}
.nav-actions{margin-left:auto; display:flex; gap:10px; align-items:center}
.cart-btn{position:relative; background:var(--brand); color:#fff; border:none; padding:9px 14px; border-radius:8px; cursor:pointer; font-size:14px}
.cart-btn .count{background:var(--accent); border-radius:10px; padding:1px 7px; font-size:12px; margin-left:6px}
.menu-toggle{display:none; background:none; border:1px solid var(--line); border-radius:8px; padding:7px 10px; font-size:18px; cursor:pointer}

/* Hero */
.hero{background:linear-gradient(120deg,#2a3750 0%,#364562 55%,#43547a 100%); color:#fff; padding:56px 16px; border-radius:0 0 24px 24px}
.hero .inner{max-width:1180px; margin:0 auto; display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between}
.hero h1{font-size:34px; line-height:1.2; max-width:560px}
.hero p{margin-top:12px; color:#d7deee; max-width:540px}
.hero .cta{margin-top:22px; display:flex; gap:12px; flex-wrap:wrap}
.btn{display:inline-block; padding:12px 20px; border-radius:10px; font-size:15px; cursor:pointer; border:none}
.btn-primary{background:#fff; color:var(--brand); font-weight:bold}
.btn-outline{background:transparent; color:#fff; border:1.5px solid #ffffffaa}
.btn-wa{background:var(--wa); color:#fff; font-weight:bold}
.trust{display:flex; gap:18px; flex-wrap:wrap; margin-top:26px; font-size:13.5px; color:#d7deee}
.trust div::before{content:"✓ "; color:var(--petal-yellow)}

/* Sections */
section{padding:36px 0}
h2.sec{font-size:24px; margin-bottom:6px}
p.sec-sub{color:var(--muted); margin-bottom:22px; font-size:14.5px}

/* Category tiles */
.cat-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:14px}
.cat-tile{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:22px 14px; text-align:center; transition:.15s}
.cat-tile:hover{border-color:var(--brand); transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.06)}
.cat-tile .ico{font-size:34px}
.cat-tile .nm{font-weight:bold; margin-top:10px; font-size:14.5px}
.cat-tile .ct{color:var(--muted); font-size:12.5px; margin-top:3px}

/* Product grid & cards */
.shop-layout{display:grid; grid-template-columns:250px 1fr; gap:22px; align-items:start}
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:16px}
.card{background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; transition:.15s}
.card:hover{box-shadow:0 8px 22px rgba(0,0,0,.07); transform:translateY(-2px)}
.ph{height:170px; display:flex; align-items:center; justify-content:center; font-size:44px; color:#ffffffde; position:relative}
.ph .cat-label{position:absolute; bottom:8px; left:10px; font-size:11px; background:#00000038; padding:2px 8px; border-radius:8px; color:#fff}
.badge{position:absolute; top:10px; left:10px; font-size:11px; font-weight:bold; padding:3px 9px; border-radius:8px; background:var(--accent); color:#fff}
.badge.new{background:#0e7490}
.badge.service{background:#7c3aed}
.card .body{padding:12px 14px 14px; display:flex; flex-direction:column; gap:6px; flex:1}
.card .nm{font-size:14px; font-weight:bold; line-height:1.35; min-height:38px}
.card .meta{font-size:12.5px; color:var(--muted)}
.price-row{display:flex; align-items:baseline; gap:8px; margin-top:2px}
.price{font-size:17px; font-weight:bold; color:var(--brand)}
.mrp{font-size:13px; color:var(--muted); text-decoration:line-through}
.off{font-size:12.5px; color:var(--green); font-weight:bold}
.card .actions{margin-top:auto; display:flex; gap:8px; padding-top:8px}
.add-btn{flex:1; background:var(--brand); color:#fff; border:none; padding:9px 0; border-radius:8px; cursor:pointer; font-size:13.5px}
.add-btn:hover{background:var(--brand-2)}
.wa-btn{flex:1; background:var(--wa); color:#fff; border:none; padding:9px 0; border-radius:8px; cursor:pointer; font-size:13.5px; text-align:center}
.enquire{background:var(--accent)!important}

/* Filters */
.filters{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px; position:sticky; top:76px}
.filters h3{font-size:15px; margin-bottom:12px}
.filters .group{margin-bottom:18px}
.filters label{display:flex; align-items:center; gap:8px; font-size:13.5px; padding:4px 0; cursor:pointer; color:#374151}
.filters .group .ttl{font-weight:bold; font-size:13px; text-transform:uppercase; letter-spacing:.4px; color:var(--muted); margin-bottom:6px}
.filters input[type=text], .filters input[type=number], .filters select{width:100%; padding:9px 10px; border:1px solid var(--line); border-radius:8px; font-size:13.5px; background:#fff}
.price-inputs{display:flex; gap:8px}
.clear-btn{width:100%; background:none; border:1px solid var(--line); border-radius:8px; padding:8px; cursor:pointer; font-size:13px; color:var(--muted)}
.result-bar{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; flex-wrap:wrap; gap:10px}
.result-bar .n{color:var(--muted); font-size:13.5px}
.result-bar select{padding:8px 10px; border:1px solid var(--line); border-radius:8px; font-size:13.5px; background:#fff}
.empty{padding:60px 20px; text-align:center; color:var(--muted)}

/* Cart drawer */
.drawer-mask{position:fixed; inset:0; background:#00000055; z-index:90; display:none}
.drawer{position:fixed; top:0; right:-380px; width:360px; max-width:92vw; height:100%; background:#fff; z-index:100; transition:right .25s; display:flex; flex-direction:column; box-shadow:-8px 0 30px rgba(0,0,0,.15)}
.drawer.open{right:0}
.drawer .hd{display:flex; justify-content:space-between; align-items:center; padding:16px; border-bottom:1px solid var(--line)}
.drawer .items{flex:1; overflow:auto; padding:12px 16px}
.d-item{display:flex; gap:10px; padding:10px 0; border-bottom:1px dashed var(--line); font-size:13.5px}
.d-item .qty{display:flex; gap:6px; align-items:center; margin-top:4px}
.d-item .qty button{width:22px; height:22px; border:1px solid var(--line); background:#fff; border-radius:6px; cursor:pointer}
.d-item .rm{color:var(--danger); background:none; border:none; cursor:pointer; font-size:12px; margin-top:4px}
.drawer .ft{padding:16px; border-top:1px solid var(--line)}
.drawer .total{display:flex; justify-content:space-between; font-weight:bold; margin-bottom:12px}
.drawer .note{font-size:12px; color:var(--muted); margin-top:8px}
.x-btn{background:none; border:none; font-size:20px; cursor:pointer}

/* Info pages */
.page-head{background:linear-gradient(120deg,#2a3750,#364562); color:#fff; padding:34px 16px; border-radius:0 0 18px 18px; margin-bottom:26px; border-bottom:4px solid var(--accent)}
.page-head h1{font-size:26px}
.page-head p{color:#d7deee; margin-top:6px; font-size:14.5px}
.prose{max-width:780px}
.prose h3{margin:22px 0 8px; font-size:18px}
.prose p, .prose li{font-size:15px; color:#374151; margin-bottom:8px}
.prose ul{padding-left:22px}
.info-cards{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; margin-top:18px}
.info-card{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px}
.info-card b{display:block; margin-bottom:6px}
.steps{counter-reset:s; margin-top:14px}
.step{display:flex; gap:14px; padding:12px 0; border-bottom:1px dashed var(--line)}
.step::before{counter-increment:s; content:counter(s); background:var(--brand); color:#fff; min-width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:bold}
form .row{margin-bottom:12px}
form label{display:block; font-size:13.5px; font-weight:bold; margin-bottom:5px}
form input, form select, form textarea{width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font-size:14px; background:#fff; font-family:inherit}

/* WhatsApp float */
.wa-float{position:fixed; bottom:22px; right:22px; background:var(--wa); color:#fff; width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:0 6px 20px rgba(0,0,0,.25); z-index:80}

/* Footer */
footer.site{background:#232c42; color:#d1d5db; margin-top:46px; padding:36px 16px 24px; border-top:4px solid var(--accent)}
.foot-grid{max-width:1180px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:26px}
footer .ttl{color:#fff; font-weight:bold; margin-bottom:10px; font-size:14.5px}
footer a{display:block; font-size:13.5px; padding:3px 0; color:#9ca3af}
footer a:hover{color:#fff}
.foot-note{max-width:1180px; margin:26px auto 0; border-top:1px solid #3a4560; padding-top:16px; font-size:12.5px; color:#8b93a8; text-align:center}

@media (max-width:900px){
  .shop-layout{grid-template-columns:1fr}
  .filters{position:static}
  nav.main{display:none; width:100%; flex-direction:column; padding-top:8px}
  nav.main.open{display:flex}
  .menu-toggle{display:block}
  .nav-wrap{flex-wrap:wrap}
  .hero h1{font-size:26px}
}
