:root {
      --primary: #ff5a00;
      --primary-2: #ff8a00;
      --red: #e71919;
      --dark: #111111;
      --dark-2: #1d1d1d;
      --text: #222222;
      --muted: #777777;
      --soft: #f6f7f9;
      --card: #ffffff;
      --border: #e7e7e7;
      --shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
      --radius: 18px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(255, 90, 0, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    }

    body.modal-open {
      overflow: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button,
    input,
    textarea,
    select {
      font-family: inherit;
    }

    button {
      cursor: pointer;
    }

    .container {
      width: min(1220px, calc(100% - 28px));
      margin: 0 auto;
    }

    /* ================= Header ================= */
    .topbar {
      background: #101010;
      color: #fff;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    }

    .topbar-inner {
      min-height: 72px;
      display: grid;
      grid-template-columns: 190px 1fr auto;
      align-items: center;
      gap: 18px;
      padding: 10px 0;
    }

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

    .brand-icon {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      background: linear-gradient(135deg, var(--red), var(--primary));
      display: grid;
      place-items: center;
      box-shadow: 0 8px 20px rgba(255, 90, 0, 0.35);
      font-size: 22px;
    }

    .brand h1 {
      font-size: 24px;
      line-height: 1;
      color: #ff3a1d;
      letter-spacing: -0.6px;
    }

    .brand p {
      margin-top: 4px;
      font-size: 10px;
      letter-spacing: 0.7px;
      color: #d8d8d8;
      text-transform: uppercase;
    }

    .search-box {
      background: #fff;
      height: 46px;
      border-radius: 999px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 56px 1fr 118px;
    }

    .search-icon {
      display: grid;
      place-items: center;
      color: #999;
      font-size: 18px;
      border-right: 1px solid #eeeeee;
    }

    .search-box input {
      border: 0;
      outline: 0;
      padding: 0 16px;
      font-size: 14px;
      color: #444;
    }

    .search-box button {
      border: 0;
      color: #fff;
      font-weight: 900;
      letter-spacing: 0.4px;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      transition: 0.25s;
    }

    .search-box button:hover {
      filter: brightness(1.06);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
    }

    .lang,
    .icon-btn,
    .login-btn {
      height: 40px;
      border-radius: 999px;
      border: 1px solid #353535;
      background: #1f1f1f;
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 14px;
      transition: 0.25s;
      font-size: 13px;
    }

    .lang span {
      color: #fff;
      background: var(--red);
      padding: 4px 6px;
      border-radius: 8px;
      margin-right: 5px;
      font-weight: 800;
    }

    .icon-btn {
      position: relative;
      min-width: 46px;
    }

    .cart-count {
      position: absolute;
      top: -7px;
      right: -5px;
      min-width: 20px;
      height: 20px;
      padding: 0 5px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: var(--primary);
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      border: 2px solid #101010;
    }

    .lang:hover,
    .icon-btn:hover,
    .login-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* ================= Nav ================= */
    .nav-wrap {
      background: rgba(255, 255, 255, 0.86);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 72px;
      z-index: 90;
    }

    .nav {
      min-height: 52px;
      display: flex;
      align-items: center;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: none;
      padding: 6px 0;
    }

    .nav::-webkit-scrollbar {
      display: none;
    }

    .nav a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #fff;
      color: #333;
      font-size: 13px;
      font-weight: 800;
      transition: 0.25s;
      white-space: nowrap;
    }

    .nav a.active,
    .nav a:hover {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(135deg, var(--red), var(--primary));
      box-shadow: 0 8px 18px rgba(255, 90, 0, 0.25);
    }

    /* ================= Hero ================= */
    .hero {
      margin-top: 28px;
      min-height: 405px;
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      background:
        linear-gradient(115deg, rgba(20, 0, 0, 0.96) 0%, rgba(70, 14, 14, 0.95) 45%, rgba(199, 10, 22, 0.95) 100%);
      box-shadow: var(--shadow);
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 170px;
      height: 620px;
      background: linear-gradient(180deg, #ffd400, #ff6500);
      right: 210px;
      top: -120px;
      transform: rotate(18deg);
      opacity: 0.9;
    }

    .hero::after {
      content: "";
      position: absolute;
      width: 80px;
      height: 520px;
      background: rgba(255, 255, 255, 0.12);
      right: 260px;
      top: -80px;
      transform: rotate(18deg);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      min-height: 405px;
      display: grid;
      grid-template-columns: 1fr 470px;
      align-items: center;
      gap: 38px;
      padding: 52px 64px;
    }

    .tag {
      width: fit-content;
      padding: 7px 12px;
      border-radius: 999px;
      background: #c8ff22;
      color: #273200;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      margin-bottom: 15px;
    }

    .hero h2 {
      color: #fff;
      font-size: clamp(30px, 4vw, 54px);
      line-height: 1.02;
      max-width: 600px;
      letter-spacing: -1.4px;
    }

    .hero p {
      margin-top: 16px;
      color: rgba(255, 255, 255, 0.82);
      max-width: 560px;
      font-size: 15px;
      line-height: 1.8;
    }

    .hero-actions {
      margin-top: 28px;
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .primary-btn,
    .ghost-btn {
      height: 46px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 0 22px;
      font-weight: 900;
      font-size: 13px;
      transition: 0.25s;
      border: 0;
    }

    .primary-btn {
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      box-shadow: 0 12px 22px rgba(255, 90, 0, 0.32);
    }

    .ghost-btn {
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.08);
    }

    .primary-btn:hover,
    .ghost-btn:hover {
      transform: translateY(-2px);
    }

    .hero-card {
      background: rgba(255, 255, 255, 0.88);
      border-radius: 24px;
      padding: 24px;
      min-height: 300px;
      display: grid;
      place-items: center;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .laptop {
      width: 100%;
      max-width: 360px;
      height: 220px;
      position: relative;
    }

    .screen {
      position: absolute;
      left: 34px;
      top: 10px;
      width: 285px;
      height: 170px;
      border-radius: 12px 12px 5px 5px;
      background:
        radial-gradient(circle at 22% 18%, #00eaff, transparent 18%),
        radial-gradient(circle at 65% 45%, #ff00c8, transparent 18%),
        radial-gradient(circle at 44% 68%, #ffd000, transparent 14%),
        linear-gradient(135deg, #111, #2b2dff 45%, #ff4700);
      transform: perspective(600px) rotateX(5deg) rotateY(-14deg);
      box-shadow: 0 22px 30px rgba(0, 0, 0, 0.32);
      border: 8px solid #2b2b2b;
    }

    .base {
      position: absolute;
      left: 18px;
      top: 173px;
      width: 330px;
      height: 44px;
      border-radius: 7px 7px 18px 18px;
      background: linear-gradient(180deg, #3b3b3b, #141414);
      transform: perspective(500px) rotateX(56deg);
      box-shadow: 0 20px 22px rgba(0, 0, 0, 0.28);
    }

    .hero-dots {
      position: absolute;
      left: 50%;
      bottom: 20px;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 4;
    }

    .hero-dots button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 0;
      background: rgba(255, 255, 255, 0.6);
    }

    .hero-dots button.active {
      background: #ffe600;
      box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.25);
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #fff;
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(255, 255, 255, 0.18);
      z-index: 5;
      font-size: 24px;
    }

    .arrow.left {
      left: 20px;
    }

    .arrow.right {
      right: 20px;
    }

    /* ================= Sections ================= */
    .section {
      margin-top: 34px;
      scroll-margin-top: 140px;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
    }

    .section-title {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-title .dot {
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), #ffc28d);
      box-shadow: 0 0 0 6px rgba(255, 90, 0, 0.12);
    }

    .section-title h3 {
      font-size: 19px;
      text-transform: uppercase;
      letter-spacing: -0.3px;
    }

    .section-head p {
      color: var(--muted);
      font-size: 12px;
    }

    /* ================= Categories ================= */
    .category-grid {
      display: grid;
      grid-template-columns: repeat(10, 1fr);
      gap: 14px;
    }

    .category-card {
      min-height: 142px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 18px 10px 14px;
      text-align: center;
      transition: 0.25s;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .category-card::before {
      content: "";
      position: absolute;
      inset: auto -30px -55px auto;
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: rgba(255, 90, 0, 0.08);
      transition: 0.25s;
    }

    .category-card:hover,
    .category-card.active {
      transform: translateY(-6px);
      border-color: rgba(255, 90, 0, 0.35);
      box-shadow: var(--shadow);
    }

    .category-card.active {
      background: linear-gradient(180deg, #fff, #fff3ec);
    }

    .category-card:hover::before,
    .category-card.active::before {
      transform: scale(1.35);
    }

    .cat-icon {
      width: 44px;
      height: 44px;
      margin: 0 auto 13px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      background: #fff3ec;
      color: var(--primary);
      font-size: 22px;
    }

    .category-card h4 {
      font-size: 12px;
      line-height: 1.25;
      margin-bottom: 8px;
    }

    .category-card small {
      color: var(--red);
      font-size: 10px;
      font-weight: 800;
    }

    /* ================= Products ================= */
    .filter-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }

    .filter-pill {
      padding: 9px 14px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #fff;
      font-size: 12px;
      color: #555;
    }

    .sort-select {
      height: 38px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #fff;
      padding: 0 12px;
      outline: 0;
      font-size: 12px;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }

    .product-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      transition: 0.25s;
      position: relative;
      cursor: pointer;
    }

    .product-card:hover {
      transform: translateY(-7px);
      box-shadow: var(--shadow);
      border-color: rgba(255, 90, 0, 0.3);
    }

    .product-top {
      height: 152px;
      background: #ffffff;
      position: relative;
      padding: 12px;
      display: grid;
      place-items: center;
      border-bottom: 1px solid var(--border);
    }

    .time-badge {
      position: absolute;
      left: 10px;
      top: 10px;
      padding: 5px 8px;
      border-radius: 999px;
      background: #f4f4f4;
      color: #555;
      font-size: 9px;
      font-weight: 800;
      border: 1px solid #e6e6e6;
    }

    .save-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background: #fff;
      color: #333;
      font-size: 15px;
      border: 1px solid #e6e6e6;
      z-index: 4;
    }

    .save-btn.active {
      background: #111;
      color: #fff;
    }

    .product-image {
      width: 126px;
      min-height: 116px;
      display: grid;
      place-items: center;
      gap: 8px;
      color: #222;
    }

    .mono-product {
      width: 100%;        /* ডিভটির প্রস্থ */
      height: 200px;      /* এখানে উচ্চতা অবশ্যই দিতে হবে, নাহলে ইমেজ দেখা যাবে না */
      
      background-size: contain;      /* ইমেজটি ডিভের মধ্যে ফিট হবে */
      background-position: center;   /* ইমেজটি মাঝখানে থাকবে */
      background-repeat: no-repeat;  /* ইমেজটি রিপিট হবে না */
      
      /* যদি ব্যাকগ্রাউন্ডে কোনো রঙ থাকে সেটি সরিয়ে দিতে পারেন */
      background-color: transparent; 
    }

    
    .mono-product span {
      position: absolute;
      display: block;
      border: 3px solid #222;
      background: #fff;
    }

    .mono-product .mono-top {
      left: 32px;
      top: 0;
      width: 22px;
      height: 13px;
      border-radius: 5px 5px 2px 2px;
    }

    .mono-product .mono-body {
      left: 23px;
      top: 12px;
      width: 40px;
      height: 66px;
      border-radius: 10px 10px 8px 8px;
    }

    .mono-product .mono-detail.one {
      left: 33px;
      top: 24px;
      width: 20px;
      height: 16px;
      border-width: 2px;
      border-radius: 3px;
    }

    .mono-product .mono-detail.two {
      left: 35px;
      top: 49px;
      width: 16px;
      height: 16px;
      border-width: 2px;
      border-radius: 50%;
    }

    .mono-product .mono-detail.three {
      left: 56px;
      top: 7px;
      width: 25px;
      height: 3px;
      border-width: 2px 2px 0 0;
      border-radius: 0 10px 0 0;
      transform: rotate(-10deg);
    }

    .mono-product.alarm,
    .mono-product.equipment,
    .mono-product.electrical {
      width: 96px;
      height: 72px;
      margin-top: 6px;
    }

    .mono-product.alarm .mono-top,
    .mono-product.equipment .mono-top,
    .mono-product.electrical .mono-top {
      display: none;
    }

    .mono-product.alarm .mono-body,
    .mono-product.equipment .mono-body,
    .mono-product.electrical .mono-body {
      left: 16px;
      top: 7px;
      width: 64px;
      height: 50px;
      border-radius: 16px;
    }

    .mono-product.alarm .mono-detail.one,
    .mono-product.equipment .mono-detail.one,
    .mono-product.electrical .mono-detail.one {
      left: 38px;
      top: 20px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border-width: 3px;
    }

    .mono-product.alarm .mono-detail.two,
    .mono-product.equipment .mono-detail.two,
    .mono-product.electrical .mono-detail.two {
      left: 28px;
      top: 59px;
      width: 40px;
      height: 8px;
      border-radius: 999px;
      border-width: 3px;
    }

    .mono-product.alarm .mono-detail.three,
    .mono-product.equipment .mono-detail.three,
    .mono-product.electrical .mono-detail.three {
      display: none;
    }

    .mono-product.hydrant .mono-body {
      left: 17px;
      width: 52px;
      border-radius: 5px;
    }

    .mono-product.hydrant .mono-detail.one {
      left: 27px;
      top: 28px;
      width: 32px;
      height: 20px;
      border-radius: 50%;
    }

    .mono-product.exit .mono-body,
    .mono-product.sign .mono-body {
      left: 9px;
      top: 18px;
      width: 68px;
      height: 42px;
      border-radius: 4px;
    }

    .mono-product.exit .mono-top,
    .mono-product.sign .mono-top {
      display: none;
    }

    .mono-product.exit .mono-detail.one,
    .mono-product.sign .mono-detail.one {
      left: 23px;
      top: 30px;
      width: 40px;
      height: 0;
      border-width: 3px 0 0;
      border-radius: 0;
    }

    .mono-product.ppe .mono-body {
      left: 15px;
      top: 22px;
      width: 56px;
      height: 36px;
      border-radius: 30px 30px 10px 10px;
    }

    .mono-product.ppe .mono-top {
      left: 22px;
      top: 48px;
      width: 42px;
      height: 12px;
      border-radius: 999px;
    }

    .image-label {
      max-width: 126px;
      min-height: 25px;
      display: block;
      text-align: center;
      color: #333;
      font-size: 9px;
      font-weight: 900;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .product-body {
      padding: 13px 13px 14px;
    }

    .brand-line {
      color: var(--red);
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0.7px;
      text-transform: uppercase;
      margin-bottom: 7px;
    }

    .product-body h4 {
      font-size: 13px;
      line-height: 1.35;
      height: 36px;
      overflow: hidden;
      margin-bottom: 10px;
    }

    .price {
      color: var(--red);
      font-size: 16px;
      font-weight: 900;
      margin-bottom: 3px;
    }

    .location {
      color: var(--muted);
      font-size: 10px;
      margin-bottom: 11px;
    }

    .details-btn {
      width: 100%;
      height: 30px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary-2));
      font-size: 11px;
      font-weight: 900;
      transition: 0.25s;
      border: 0;
    }

    .details-btn:hover {
      filter: brightness(1.06);
    }

    .empty-state {
      grid-column: 1 / -1;
      background: #fff;
      border: 1px dashed #ddd;
      border-radius: 18px;
      padding: 35px;
      text-align: center;
      color: #777;
    }

    .empty-state h3 {
      color: #222;
      margin-bottom: 8px;
    }

    /* ================= Info Sections ================= */
    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .info-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 24px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    }

    .info-card h4 {
      margin-bottom: 10px;
      font-size: 18px;
    }

    .info-card p {
      color: #666;
      line-height: 1.7;
      font-size: 14px;
    }

    .contact-box {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      box-shadow: var(--shadow);
    }

    .contact-box input,
    .contact-box textarea {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 13px 14px;
      outline: 0;
      margin-bottom: 12px;
      font-size: 14px;
    }

    .contact-box textarea {
      min-height: 120px;
      resize: vertical;
    }

    .contact-info {
      background: linear-gradient(135deg, #1b1b1b, #441212);
      color: #fff;
      border-radius: 18px;
      padding: 24px;
    }

    .contact-info h4 {
      font-size: 22px;
      margin-bottom: 12px;
    }

    .contact-info p {
      color: rgba(255, 255, 255, 0.76);
      line-height: 1.7;
      margin-bottom: 16px;
    }

    .contact-line {
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 14px;
    }

    /* ================= Modal ================= */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.62);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      z-index: 300;
    }

    .modal-backdrop.show {
      display: flex;
    }

    .modal {
      width: min(940px, 100%);
      max-height: 92vh;
      overflow: auto;
      background: #fff;
      border-radius: 22px;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
      position: relative;
      animation: modalIn 0.24s ease;
    }

    @keyframes modalIn {
      from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .modal-header {
      position: sticky;
      top: 0;
      z-index: 2;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      padding: 16px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .modal-header h3 {
      font-size: 18px;
    }

    .close-modal {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: #fff;
      font-size: 20px;
    }

    .modal-body {
      padding: 20px;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: 340px 1fr;
      gap: 24px;
    }

    .detail-image {
      min-height: 330px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
    }

    .detail-image::before {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px dashed #d8d8d8;
      border-radius: 16px;
      pointer-events: none;
    }

    .detail-image .product-image {
      transform: scale(1.55);
    }

    .detail-info .category-label {
      display: inline-flex;
      padding: 7px 11px;
      border-radius: 999px;
      background: #fff3ec;
      color: var(--primary);
      font-size: 12px;
      font-weight: 900;
      margin-bottom: 10px;
    }

    .detail-info h2 {
      font-size: 28px;
      line-height: 1.18;
      margin-bottom: 10px;
      letter-spacing: -0.7px;
    }

    .detail-price {
      color: var(--red);
      font-size: 28px;
      font-weight: 900;
      margin-bottom: 12px;
    }

    .detail-meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }

    .detail-meta span {
      padding: 8px 10px;
      border-radius: 999px;
      background: #f7f7f7;
      border: 1px solid #eeeeee;
      font-size: 12px;
      color: #555;
    }

    .detail-info p {
      color: #555;
      line-height: 1.75;
      margin-bottom: 16px;
      font-size: 14px;
    }

    .spec-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin: 15px 0;
    }

    .spec {
      padding: 12px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: #fafafa;
    }

    .spec small {
      display: block;
      color: #888;
      font-size: 11px;
      margin-bottom: 4px;
    }

    .spec b {
      font-size: 13px;
    }

    .feature-list {
      display: grid;
      gap: 8px;
      margin: 14px 0 18px;
    }

    .feature-list li {
      list-style: none;
      font-size: 14px;
      color: #444;
    }

    .feature-list li::before {
      content: "✓";
      color: var(--primary);
      font-weight: 900;
      margin-right: 8px;
    }

    .detail-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 18px;
    }

    .outline-btn {
      height: 44px;
      border-radius: 999px;
      padding: 0 18px;
      border: 1px solid var(--border);
      background: #fff;
      font-weight: 900;
      color: #333;
    }

    .cart-layout {
      display: grid;
      gap: 12px;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 78px 1fr auto;
      gap: 14px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--border);
      border-radius: 16px;
    }

    .cart-thumb {
      height: 70px;
      border-radius: 14px;
      background: #fff;
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .cart-thumb .product-image {
      transform: scale(0.48);
    }

    .cart-item h4 {
      font-size: 14px;
      margin-bottom: 5px;
    }

    .cart-item p {
      color: var(--red);
      font-weight: 900;
      font-size: 14px;
    }

    .qty-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .qty-actions button {
      width: 28px;
      height: 28px;
      border-radius: 9px;
      border: 1px solid var(--border);
      background: #fff;
      font-weight: 900;
    }

    .cart-total {
      margin-top: 12px;
      padding: 16px;
      border-radius: 16px;
      background: #fff3ec;
      display: flex;
      justify-content: space-between;
      font-weight: 900;
      color: #222;
    }

    .login-form {
      max-width: 420px;
      margin: 0 auto;
    }

    .login-form input {
      width: 100%;
      height: 46px;
      border: 1px solid var(--border);
      border-radius: 14px;
      outline: 0;
      padding: 0 14px;
      margin-bottom: 12px;
    }

    /* ================= Toast ================= */
    .toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      transform: translateX(-50%) translateY(20px);
      background: #111;
      color: #fff;
      padding: 13px 18px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      opacity: 0;
      pointer-events: none;
      z-index: 400;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
      transition: 0.25s;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    
    /* Just now*/
    

     :root {
      --primary: #ff5a00;
      --primary-2: #ff8a00;
      --red: #e71919;
      --dark: #111111;
      --dark-2: #1d1d1d;
      --text: #222222;
      --muted: #777777;
      --soft: #f6f7f9;
      --card: #ffffff;
      --border: #e7e7e7;
      --shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
      --radius: 18px;
    }

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

    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(255, 90, 0, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    }

    .container {
      width: min(1220px, calc(100% - 28px));
      margin: 0 auto;
    }

    /* ================= Products ================= */
    .section {
      margin-top: 34px;
      margin-bottom: 34px;
    }

    .section-head {
      margin-bottom: 24px;
    }

    .section-title {
      font-size: 24px;
      font-weight: 700;
      color: var(--text);
    }

    /* প্রোডাক্ট গ্রিড স্টাইল (আপনার আগের CSS এর সাথে মিল রেখে) */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4 columns per row */
      gap: 20px; /* spacing between cards */
    }

    /* কার্ড স্টাইল */
    .product-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px; /* small radius as per user example */
      padding: 15px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: 0.25s;
      cursor: pointer;
    }

    .product-card:hover {
      transform: translateY(-7px);
      box-shadow: var(--shadow);
      border-color: rgba(255, 90, 0, 0.3);
    }

    /* New ব্যাজ */
    .badge-new {
      background: #28a745;
      color: white;
      padding: 2px 8px;
      font-size: 12px;
      position: absolute;
      top: 10px;
      left: 10px;
      border-radius: 2px;
    }

    /* ছবি */
    .product-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      margin-bottom: 10px;
    }

    /* নাম এবং দাম */
    .product-card h3 {
      font-size: 14px;
      margin: 5px 0;
      min-height: 40px;
      color: var(--text);
    }

    .product-price {
      color: #00796b;
      font-weight: bold;
      font-size: 18px;
      margin: 5px 0;
    }

    /* Stalls লেখা */
    .stalls-count {
      align-self: flex-end;
      border: 1px solid #00796b;
      color: #00796b;
      padding: 2px 6px;
      font-size: 12px;
      margin-bottom: 10px;
      width: fit-content;
      border-radius: 2px;
    }

    /* বাটন */
    .btn-action {
      width: 100%;
      background: #d35400;
      color: white;
      border: none;
      padding: 10px;
      cursor: pointer;
      border-radius: 4px;
      margin-top: auto; /* ensure button is always at the bottom */
      font-size: 14px;
      font-weight: 700;
    }


    /* ================= Custom Category Dropdown + Click Products ================= */

.cat-radio,
.nav-cat-toggle {
  display: none;
}

/* Nav category button */
.nav-category-menu {
  position: relative;
  flex: 0 0 auto;
}

.nav-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s;
  white-space: nowrap;
  cursor: pointer;
}

.nav-cat-btn:hover,
.nav-cat-toggle:checked + .nav-cat-btn {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), var(--primary));
  box-shadow: 0 8px 18px rgba(255, 90, 0, 0.25);
}

/* Dropdown */
.nav-cat-dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  width: 245px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s;
  z-index: 999;
}

.nav-category-menu:hover .nav-cat-dropdown,
.nav-cat-toggle:checked ~ .nav-cat-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-cat-dropdown label {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #333;
  cursor: pointer;
  transition: 0.2s;
}

.nav-cat-dropdown label:hover {
  background: #fff3ec;
  color: var(--primary);
  padding-left: 16px;
}

/* Main category area */
.custom-category-area {
  display: grid;
  gap: 22px;
}

.custom-category-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.custom-cat-card {
  min-height: 140px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}

.custom-cat-card::before {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: rgba(255, 90, 0, 0.08);
  transition: 0.25s;
}

.custom-cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 0, 0.35);
  box-shadow: var(--shadow);
}

.custom-cat-card:hover::before {
  transform: scale(1.3);
}

.custom-cat-card span {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff3ec;
  font-size: 23px;
}

.custom-cat-card h4 {
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 7px;
}

.custom-cat-card small {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

/* Active category style */
#cat-fire:checked ~ main .custom-cat-card.fire,
#cat-alarm:checked ~ main .custom-cat-card.alarm,
#cat-hydrant:checked ~ main .custom-cat-card.hydrant,
#cat-ppe:checked ~ main .custom-cat-card.ppe,
#cat-door:checked ~ main .custom-cat-card.door,
#cat-sign:checked ~ main .custom-cat-card.sign {
  background: linear-gradient(180deg, #ffffff, #fff3ec);
  border-color: rgba(255, 90, 0, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

/* Products hidden by default */
.custom-products-area {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.cat-products {
  display: none;
}

.cat-products h3 {
  margin-bottom: 18px;
  font-size: 20px;
  color: #222;
}

#cat-fire:checked ~ main .fire-products,
#cat-alarm:checked ~ main .alarm-products,
#cat-hydrant:checked ~ main .hydrant-products,
#cat-ppe:checked ~ main .ppe-products,
#cat-door:checked ~ main .door-products,
#cat-sign:checked ~ main .sign-products {
  display: block;
}

/* Product cards inside selected category */
.custom-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.custom-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  position: relative;
  transition: 0.25s;
}

.custom-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 90, 0, 0.3);
}

.custom-product-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.custom-product-card h4 {
  font-size: 14px;
  min-height: 38px;
  margin-bottom: 8px;
  color: #222;
}

.custom-product-card p {
  color: #00796b;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.custom-product-card button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1000px) {
  .custom-category-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .custom-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .custom-category-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-product-grid {
    grid-template-columns: 1fr;
  }

  .nav-cat-dropdown {
    width: 220px;
  }
}

/* ================= Hero Video Design ================= */

.hero-video-box {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 8px rgba(255, 255, 255, 0.18);
}

.hero-video-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35)),
    radial-gradient(circle at top right, rgba(255, 90, 0, 0.28), transparent 38%);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  outline: 0;
}

.hero-card {
  padding: 26px;
}