*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:#161616;background:#fff}.topbar{height:40px;background:#f3f3f3;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;align-items:center;padding:0 28px;color:#777;font-size:14px}.toplinks{display:flex;height:100%}.toplinks span{padding:11px 18px;border-left:1px solid #ddd;color:#555}header{height:92px;border-bottom:1px solid #eee;display:flex;align-items:center;padding:0 28px;gap:45px;background:#fff}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#151515;min-width:205px}.mark{width:36px;height:42px;display:grid;place-items:center;border:3px solid #b78a39;border-radius:12px 3px 12px 3px;color:#b78a39;font-weight:800;font-size:22px}.brand strong{display:block;font-size:25px;letter-spacing:-1px}.brand small{font-size:8px;color:#777;letter-spacing:.8px}nav{display:flex;gap:28px;flex:1}nav a{color:#333;text-decoration:none;font-size:16px;font-weight:600}.icons{display:flex;gap:12px}.icons button{border:0;background:none;font-size:25px;cursor:pointer}.cart{position:relative}.cart i{position:absolute;right:-5px;top:-4px;background:#111;color:#fff;border-radius:50%;font-size:9px;width:17px;height:17px;font-style:normal;display:grid;place-items:center}.hamb{display:none}.hero{margin:22px 28px;min-height:470px;background:#f1ede6;display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.hero-copy{padding:70px 8%;display:flex;justify-content:center;flex-direction:column}.hero-copy>span,.promo span,.about span{font-size:12px;font-weight:800;letter-spacing:2px;color:#b17824}.hero h1{font-size:54px;line-height:1.02;margin:15px 0}.hero p{max-width:480px;line-height:1.7;color:#666}.btn,.checkout{display:inline-block;background:#151515;color:#fff;text-decoration:none;padding:15px 23px;border:0;font-weight:700;font-size:12px;letter-spacing:.5px;width:max-content;cursor:pointer}.hero-photo{position:relative;overflow:hidden;background:#eadfce}.hero-photo img{width:100%;height:100%;min-height:470px;object-fit:cover;object-position:center 35%}.hero-label{position:absolute;left:24px;bottom:24px;background:#111d;color:#fff;padding:14px 18px;border-left:3px solid #c28d36}.hero-label b,.hero-label small{display:block}.hero-label b{font-size:12px;letter-spacing:1px}.hero-label small{font-size:9px;margin-top:4px;opacity:.85}.categories{display:flex;gap:8px;overflow:auto;padding:12px 28px 28px}.categories a{padding:13px 21px;border:1px solid #ddd;color:#333;text-decoration:none;font-size:13px;white-space:nowrap}.categories a:first-child{background:#111;color:#fff;border-color:#111}.shop{display:grid;grid-template-columns:230px 1fr;gap:40px;padding:25px 28px 70px}.shop aside{border-right:1px solid #eee;padding-right:28px}.shop aside h3{font-size:16px;margin:0 0 25px}.shop aside a{display:block;padding:11px 10px;color:#444;text-decoration:none;font-size:14px;cursor:pointer}.shop aside a.active{background:#e9e9e9;font-weight:700}.shop-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.shop-head h2{font-size:40px;margin:0}.shop-head p{color:#888;margin:6px 0 0}.shop-head select{padding:13px 30px 13px 12px;border:1px solid #ddd;background:#fff}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product{min-width:0}.photo-wrap{background:#f2f2f2;overflow:hidden}.product img{width:100%;aspect-ratio:.82;object-fit:cover;display:block;transition:transform .25s}.product:hover img{transform:scale(1.025)}.product .tag{font-size:10px;color:#b17824;font-weight:800;border-left:3px solid #b17824;padding-left:7px;margin:10px 0 7px}.product h3{font-size:14px;line-height:1.45;margin:0 0 7px;font-weight:600}.ask-price{font-size:15px;font-weight:800}.add{margin-top:10px;width:100%;padding:10px;border:1px solid #111;background:#fff;font-weight:700;cursor:pointer}.promo{margin:0 28px 70px;padding:55px 7%;background:#171717;color:#fff;display:flex;justify-content:space-between;align-items:center}.promo h2{font-size:42px;margin:12px 0}.promo p{color:#bbb}.promo .btn{background:#fff;color:#111}.about{text-align:center;padding:20px 20px 90px;max-width:760px;margin:auto}.about h2{font-size:38px;margin:12px 0}.about p{color:#777;line-height:1.8}.wa{position:fixed;right:22px;bottom:22px;background:#19bd63;color:#fff;border-radius:8px;padding:0;box-shadow:0 5px 20px #0002;z-index:15}.wa a{display:block;color:#fff;text-decoration:none;padding:14px 20px;font-weight:700}.drawer{position:fixed;inset:0;background:#0006;display:none;justify-content:flex-end;z-index:20}.drawer.open{display:flex}.drawer-box{width:min(430px,100%);height:100%;background:#fff;padding:28px;position:relative}.close{position:absolute;right:20px;top:15px;border:0;background:none;font-size:30px}.drawer-box h2{margin-top:10px}.cart-row{display:flex;gap:12px;border-bottom:1px solid #eee;padding:15px 0}.cart-row img{width:70px;height:85px;object-fit:cover}.cart-row strong{display:block}.cart-row span{display:block;color:#777;font-size:12px;margin:6px 0}.cart-row button{border:0;background:none;padding:0;color:#b00020;cursor:pointer}.total{display:flex;justify-content:space-between;margin:25px 0;font-size:18px}.checkout{width:100%}@media(max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.toplinks{display:none}header{padding:0 16px;gap:12px;height:82px}.brand{min-width:0;flex:1}nav{display:none}.hamb{display:block;font-size:30px;padding:6px}.hero{margin:12px 12px;grid-template-columns:1fr;min-height:0}.hero-copy{padding:42px 28px}.hero h1{font-size:40px}.hero-photo{height:340px}.hero-photo img{min-height:340px}.categories{padding:10px 12px 20px}.shop{grid-template-columns:1fr;padding:15px 12px 50px}.shop aside{display:none}.grid{grid-template-columns:repeat(2,1fr);gap:14px}.shop-head h2{font-size:32px}.shop-head select{display:none}.promo{margin:0 12px 50px;padding:35px 25px;display:block}.promo h2{font-size:32px}.promo .btn{margin-top:12px}.about h2{font-size:30px}.topbar{padding:0 14px}.topbar>div:first-child{font-size:12px}.brand strong{font-size:21px}.hero-label{left:14px;bottom:14px}}


/* ALHASANAH V8 - Header refinement */
.topbar {
  min-height: 42px;
  font-size: 14px;
  line-height: 1.4;
}
.topbar a, .topbar span {
  font-size: inherit;
}
.navbar {
  min-height: 86px;
}
.navbar .logo,
.navbar .brand,
.navbar .brand-name {
  font-size: 22px;
}
.navbar nav a,
.navbar .nav-links a,
.navbar .menu a {
  font-size: 16px;
  font-weight: 600;
}
.navbar nav,
.navbar .nav-links,
.navbar .menu {
  gap: 26px;
}
@media (max-width: 768px) {
  .topbar {
    min-height: 40px;
    font-size: 13px;
  }
  .navbar {
    min-height: 72px;
  }
  .navbar nav a,
  .navbar .nav-links a,
  .navbar .menu a {
    font-size: 15px;
  }
}


/* ALHASANAH V9 - Mobile optimization */
@media (max-width: 768px) {
  .topbar { font-size: 12px; padding: 9px 14px; }
  .navbar { min-height: 68px; padding: 8px 14px; }
  .navbar .logo, .navbar .brand, .navbar .brand-name { font-size: 19px; }
  .navbar nav a, .navbar .nav-links a, .navbar .menu a { font-size: 14px; }
  .navbar nav, .navbar .nav-links, .navbar .menu { gap: 16px; }
  .hero { margin: 12px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); line-height: 1.08; }
  .hero p { font-size: 15px; line-height: 1.55; }
  .hero .btn, .hero a.button { min-height: 44px; padding: 12px 18px; }
  .products-grid, .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .product-card h3 { font-size: 14px; line-height: 1.3; }
  .product-card p, .product-card .price { font-size: 13px; }
  .product-card .btn, .product-card button { min-height: 42px; font-size: 13px; }
}
@media (max-width: 430px) {
  .topbar { white-space: nowrap; overflow: hidden; }
  .navbar { padding-left: 10px; padding-right: 10px; }
  .hero { margin: 8px; }
  .products-grid, .product-grid { gap: 8px; }
}


/* ALHASANAH V10 - Mobile category strip and Chat CS refinement */
@media (max-width: 768px) {
  /* Category tabs: keep one row and allow clean horizontal scrolling */
  .category-tabs,
  .categories-tabs,
  .filter-tabs,
  .product-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 8px;
  }

  .category-tabs::-webkit-scrollbar,
  .categories-tabs::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar,
  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tabs > *,
  .categories-tabs > *,
  .filter-tabs > *,
  .product-tabs > * {
    flex: 0 0 auto;
    min-width: 145px;
  }

  /* Floating Chat CS: smaller and clear of the product heading */
  .chat-cs,
  .chat-button,
  .whatsapp-float,
  .wa-float,
  .floating-chat {
    right: 14px !important;
    bottom: 16px !important;
    width: auto !important;
    min-width: 150px;
    max-width: 190px;
    padding: 14px 18px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    border-radius: 14px !important;
    z-index: 9999;
  }
}


/* ALHASANAH V11 - Compact floating Chat CS */
@media (max-width: 768px) {
  .chat-cs,
  .chat-button,
  .whatsapp-float,
  .wa-float,
  .floating-chat {
    right: 12px !important;
    bottom: 12px !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 148px !important;
    padding: 11px 15px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.16) !important;
  }
}

.product-description{color:#666;font-size:14px;line-height:1.55;margin:8px 0 12px}

.product-gallery{display:flex;gap:6px;overflow-x:auto;margin:8px 0 10px}
.product-gallery img{width:54px;height:54px;object-fit:cover;border:1px solid #ddd;flex:0 0 auto}
@media(max-width:768px){.product-gallery img{width:48px;height:48px}}

.category-list a.active,.category-tabs a.active{font-weight:700}
