
body {
  font-family: 'Inter', sans-serif;
}

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

body {
  /* font-family: "Segoe UI", Tahoma, sans-serif; */
  overflow-x: hidden;
  background: #f4f4f2;
  color: #2b2b2b;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

:root {
  --topbar-h: 60px;
  --search-h: 50px;

  /* --primary:var(--primary); */
  --primary:#8DC63F;
  --primary-hover: #7AAE36;
  --primary-light: #7dc44a;
  --success: #5eb620;
  --danger: #e74c3c;

  --white: #fff;
  --body-bg: #f4f4f2;

  --dark: #2b2b2b;
  --dark-2: #333;
  --dark-3: #3a3a3a;

  --gray-100: #f7fbf3;
  --gray-150: #f5f5f5;
  --gray-200: #f2f2f2;
  --gray-300: #f1f1f1;
  --gray-400: #edf7e3;
  --gray-500: #e5e5e5;
  --gray-600: #ddd;
  --gray-700: #ccc;
  --gray-800: #bbb;
  --gray-900: #aaa;

  --text-main: #2b2b2b;
  --text-secondary: #444;
  --text-muted: #555;
  --text-light: #666;
  --text-white: #fff;

  --scrollbar-thumb: #888;
  --scrollbar-thumb-hover: #555;
}
a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  background: #3a3a3a;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}
.topbar .social-icons {
  display: flex;
  gap: 12px;
}
.topbar .social-icons a {
  color: #ccc;
  font-size: 17px;
  transition: all 0.25s ease;
}
.topbar .social-icons a:hover {
  color: var(--primary-light);
}
.topbar .search-box {
  flex: 1;
  max-width: 420px;
  margin: 0 30px;
  position: relative;
}
.topbar .search-box input {
  width: 100%;
  padding: 7px 40px 7px 16px;
  border-radius: 20px;
  border: none;
  background: #555;
  color: #eee;
  font-size: 14px;
  outline: none;
}
.topbar .search-box input::placeholder {
  color: #aaa;
}
.topbar .search-box .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 15px;
}
.topbar .top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.topbar .top-actions .phone-num {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}
.topbar .top-actions .whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;

   width: 40px;
    height: 40px;
    font-size: 22px;

  background-color: var(--success);
  color: #fff;

  border-radius: 5px;
  cursor: pointer;

  transition: all 0.25s ease;
  box-sizing: border-box;
}

.topbar .top-actions .whatsapp-btn:hover {
  transform: scale(1.05);
}

.topbar .top-actions .cart-btn {
  position: relative;
  cursor: pointer;
  font-size: 20px;
}
.topbar .top-actions .cart-btn .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar .mob-menu-btn, .topbar .mob-home-btn {
  display: none;
}

/* .subnav {
  background: #fff;
  height: 50px;
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  z-index: 199;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 250px;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
} */
 .subnav {
  background: #fff;
  height: var(--search-h);
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 199;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 250px;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.subnav .subnav-links {
  display: flex;
  gap: 24px;
}
.subnav .subnav-links a {
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.subnav .subnav-links a i {
  font-size: 16px;
}
.subnav .subnav-links a:hover {
  color: var(--primary);
}
.subnav .my-account {
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.subnav .my-account:hover {
  color: var(--primary);
}

.layout {
  display: flex;
  margin-top: 105px;
}

/* .sidebar {
  width: 230px;
  background: #fff;
  min-height: calc(100vh - 105px);
  position: fixed;
  top: 105px;
  left: 0;
  overflow-y: auto;
  border-right: 1px solid #e5e5e5;
} */
 /* ===== SIDEBAR — SCROLL ===== */
.sidebar {
  width: 230px !important;
  background: #fff;
  /* KEY FIX: height = viewport minus both fixed bars, then scroll inside */
  height: calc(100vh - var(--nav-total)) !important;
  position: fixed ;
  top: var(--nav-total);
  left: 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid #e5e5e5;
  z-index: 100;
}
.sidebar .logo { padding: 22px 20px; }
.sidebar nav ul { list-style: none; padding: 0; }
.sidebar nav ul li a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: #444; text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.25s ease; cursor: pointer;
}
.sidebar .logo {
  padding: 22px 20px;
}
.sidebar nav ul {
  list-style: none;
  padding: 0;
}
.sidebar nav ul li a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #444;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.25s ease;
  cursor: pointer;
}
.sidebar nav ul li a:hover {
  color: var(--primary);
  background: #f7fbf3;
  padding-left: 26px;
}
.sidebar nav ul li a.active {
  color: var(--primary);
  background: #edf7e3;
  border-left: 3px solid var(--primary);
  padding-left: 17px;
}

.main-content {
  margin-left: 230px;
  flex: 1;
      margin-bottom: 60px;
      overflow-x: hidden;
  /* min-height: calc(100vh - var(--nav-total)); */
}

.cat-nav {
  display: none;
}

.hero-section {
  position: relative;
}
.hero-section .hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-section .hero-slider .slide {
  display: none;
  position: relative;
}
.hero-section .hero-slider .slide.active {
  display: block;
}
.hero-section .hero-slider .slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero-section .hero-slider .slide .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}
.hero-section .hero-slider .slide .slide-title {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}
.hero-section .hero-slider .slide .slide-title span {
  background: var(--primary);
  padding: 2px 10px;
  display: inline-block;
}
.hero-section .hero-slider .slide .new-badge {
  position: absolute;
  top: 30px;
  right: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(90, 158, 47, 0.4);
}
.hero-section .hero-slider .slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-section .hero-slider .slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.hero-section .hero-slider .slider-dots .dot.active {
  background: #fff;
}

.section-title {
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 24px 24px 16px;
}

.products-grid {
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px; */
  padding: 0 24px 30px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  position: relative;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.product-card .product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.product-card .product-body {
  padding: 14px 16px;
}
.product-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .product-name {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card .product-desc {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.product-card .spicy-icon {
  margin-bottom: 8px;
  font-size: 16px;
}
.product-card .product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card .btn-add {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-card .btn-add:hover {
  background: var(--primary-hover);
}
.product-card .btn-customize {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-card .btn-customize:hover {
  background: var(--primary);
  color: #fff;
}
.product-card .product-price {
  font-size: 14px;
  font-weight: 700;
  color: #2b2b2b;
}
.product-card .btn-fav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
  transition: all 0.25s ease;
}
.product-card .btn-fav:hover, .product-card .btn-fav.active {
  color: var(--danger);
}

.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px 30px;
}
.recommend-row .recommend-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
}
.recommend-row .recommend-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.recommend-row .recommend-card:hover {
  transform: scale(1.02);
}

.category-header {
  padding: 24px 24px 8px;
}
.category-header h2 {
  color: var(--primary);
  font-size: 26px;
  font-weight: 600;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
}

.float-cart {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ccc;
  font-size: 50px;
  opacity: 0.4;
  pointer-events: none;
}

.fab-menu {
  display: none;
}

.products-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory; 
    scrollbar-width: none;
}

.products-slider::-webkit-scrollbar {
    display: none; 
}

.products-slider .col-product-slider {
    flex: 0 0 75%; 
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .products-slider .col-product-slider {
        flex: 0 0 30%; 
    }
}

.products-slider .product-card {
    height: 100%;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-section, 
    #main-hero-slider, 
    .hero-slider, 
    .hero-slider .slide, 
    .hero-slider .slide img {
        height: 200px !important; 
        min-height: 200px !important;
    }

    .slide-title {
        font-size: 1.2rem !important;
        bottom: 20px !important;
    }
  .subnav, .sidebar, .float-cart {
    display: none !important;
  }
  .topbar .social-icons, .topbar .top-actions .phone-num {
    display: none;
  }
  .topbar {
    height: 60px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .topbar .mob-menu-btn, .topbar .mob-home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    width: 36px;
    height: 36px;
    cursor: pointer;
  }
  .topbar .mob-logo {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .topbar .mob-logo svg {
    width: 60px;
  }
  .topbar .mob-logo span {
    color: #fff;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: -2px;
  }
  .topbar .top-actions {
    gap: 10px;
  }
  .topbar .top-actions .whatsapp-btn {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .topbar .top-actions .cart-btn {
    font-size: 18px;
  }
  .topbar .search-box {
    display: none;
  }
  .mob-search-bar {
    display: flex !important;
    position: fixed !important;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 198;
    background: #fff;
    padding: 8px 14px;
    border-bottom: 1px solid #e5e5e5;
  }
  .mob-search-bar input {
    flex: 1;
    padding: 8px 36px 8px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    color: #555;
  }
  .mob-search-bar input::placeholder {
    color: #aaa;
  }
  .mob-search-bar .search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
  }
  .mob-search-bar {
    position: fixed;
  }
  .cat-nav {
    display: flex !important;
    position: sticky;
    top: calc(60px + 50px); 
    z-index: 200;
    background: var(--primary);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .cat-nav {
  /* position: sticky;
  top: calc(60px + 50px);  */
  /* z-index: 999; */
}
  .cat-nav::-webkit-scrollbar {
    display: none;
  }
  .cat-nav {
    padding: 0;
  }
  .cat-nav a {
    display: inline-block;
    padding: 11px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .cat-nav a.active, .cat-nav a:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
  }
  .layout {
    /* margin-top: 110px; */
    margin-top: 130px !important;
    display: block;
  }
  .main-content {
    margin-left: 0;
  }
  .mob-home {
    padding: 16px 12px;
  }
  .mob-home .mob-hero {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
  }
  .mob-home .mob-hero img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  .mob-home .mob-hero .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  }
  .mob-home .mob-hero .slide-title {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
  }
  .mob-home .mob-hero .slide-title span {
    background: var(--primary);
    padding: 1px 8px;
    display: inline-block;
  }
  .mob-home .mob-hero .new-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
  }
  .mob-home .mob-hero .slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
  }
  .mob-home .mob-hero .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
  }
  .mob-home .mob-hero .slider-dots .dot.active {
    background: #fff;
  }
  .mob-home .circles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
  }
  .mob-home .circles-grid .circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  .mob-home .circles-grid .circle-item .circle-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
  }
  .mob-home .circles-grid .circle-item .circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .mob-home .circles-grid .circle-item .circle-img .circle-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.45));
  }
  .mob-home .circles-grid .circle-item .circle-img .circle-overlay .overlay-text {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }
  .mob-home .circles-grid .circle-item:hover .circle-img {
    transform: scale(1.05);
  }
  .mob-home .circles-grid .circle-item .circle-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    text-align: center;
    letter-spacing: 0.3px;
  }
  .mob-category {
    padding-bottom: 80px;
  }
  .mob-category .mob-cat-card {
    background: #fff;
    margin-bottom: 1px;
    padding: 0 24px 30px;
  }
  .mob-category .mob-cat-card .mob-cat-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
  }
  .mob-category .mob-cat-card .mob-cat-body {
    padding: 16px;
  }
  .mob-category .mob-cat-card .mob-cat-name {
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .mob-category .mob-cat-card .mob-cat-desc {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .mob-category .mob-cat-card .mob-cat-spicy {
    margin-bottom: 10px;
    font-size: 15px;
  }
  .mob-category .mob-cat-card .mob-cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mob-category .mob-cat-card .btn-add {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 9px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .mob-category .mob-cat-card .btn-add:active {
    background: var(--primary-hover);
  }
  .mob-category .mob-cat-card .btn-customize {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
  }
  .mob-category .mob-cat-card .mob-price-fav {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mob-category .mob-cat-card .product-price {
    font-size: 15px;
    font-weight: 700;
    color: #2b2b2b;
  }
  .mob-category .mob-cat-card .btn-fav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #ccc;
    transition: all 0.25s ease;
  }
  .mob-category .mob-cat-card .btn-fav.active {
    color: var(--danger);
  }
  .fab-menu {
    display: flex !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 300;
    background: var(--primary);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 26px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(90, 158, 47, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .fab-menu:active {
    transform: scale(0.95);
  }
  .mob-drawer {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
  }
  .mob-drawer.open {
    display: block;
  }
  .mob-drawer .drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }
  .mob-drawer .drawer-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 78%;
    max-width: 300px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .mob-drawer.open .drawer-panel {
    transform: translateX(0);
  }
  .mob-drawer .drawer-header {
    background: var(--primary);
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mob-drawer .drawer-header .drawer-logo {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
  }
  .mob-drawer .drawer-header .drawer-close {
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    background: none;
    border: none;
  }
  .mob-drawer .drawer-nav {
    list-style: none;
    padding: 8px 0;
    flex: 1;
  }
  .mob-drawer .drawer-nav li a {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #444;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .mob-drawer .drawer-nav li a:hover, .mob-drawer .drawer-nav li a.active {
    color: var(--primary);
    background: #f7fbf3;
  }
  .mob-drawer .drawer-nav li a.active {
    border-left: 3px solid var(--primary);
    padding-left: 17px;
  }
  #section-home .hero-section,
  #section-home .section-title,
  #section-home .recommend-row,
  #section-home .products-grid,
  .category-header {
    /* display: none; */
  }
  .products-grid {
    /* display: none; */
  }
}


:root {
  --topbar-h: 60px;
  --search-h: 50px;
  --nav-total: calc(var(--topbar-h) + var(--search-h));
}
.topbar {
  height: var(--topbar-h);
}

.mob-search-bar {
  top: var(--topbar-h);
}
.cat-nav {
  position: sticky;
  top: calc(var(--topbar-h) + var(--search-h));
  /* z-index: 999; */
}


.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border: 2px solid #ddd;
  border-radius: 5px; 

  margin: 0 6px;
  color: #333;
  text-decoration: none;

  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #f2f2f2;
  border-color: #bbb;
  transform: translateY(-2px);
}

.social-icons i {
  font-size: 18px;
}

.para-section{
  color: var(--text-light);
}
.text-primary{
  color: var(--primary) !important;
}

.offers-card{
    display: inline-block;
    width: auto;
    min-width: 350px;

    border: 2px dashed var(--gray-700);
    border-radius: 10px;

    box-shadow:
        rgba(0, 0, 0, 0.04) 0px 7px 10px,
        rgba(0, 0, 0, 0.04) 0px 0px 6px;

    transition: all .3s ease;
}

.offers-card:hover{
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-primary {
  background: var(--primary) !important;
  color: #fff;
  border: none;
  /* padding: 8px 20px; */
  border-radius: 5px;
  /* font-size: 15px; */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
btn-primary:hover {
  background: var(--primary-hover) !important;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 700;
  transition: 0.25s;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);

}

.sidebar-divider, .drawer-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 8px 16px;
}
.sidebar {
  height: calc(100vh - var(--nav-total));  
  overflow-y: auto;
  overflow-x: hidden;
}



.mob-menu-btn{
    align-items: center;
}

.mob-menu-btn span:nth-child(1){ width: 24px; }
.mob-menu-btn span:nth-child(2){ width: 16px; }
.mob-menu-btn span:nth-child(3){ width: 24px; }
.mob-menu-btn{
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    cursor: pointer;
}

.mob-menu-btn span{
    display: block;
    height: 3px;
    background: white;
    border-radius: 10px;
}

.news-p{
  color: #444;
}

.section-news{
  padding: 0 24px 30px;
}
.text-date{
  color: #777777;
}


/* ===== Account Modal ===== */
.account-modal-content {
  border-radius: 18px;
  border: none;
  padding: 10px 5px;
  position: relative;
}

.account-modal-close {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background: #fff;
  color: #333;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.account-modal-close:hover {
  background: #f0f0f0;
}

.account-modal-title {
  /* text-align: center; */
  font-size: 1.5rem;
  font-weight: 500;
  color: rgb(102, 102, 102) !important;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.account-input {
  width: 100%;
  background: #f2f2f2;
  border: none;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 1rem;
  border-bottom: 1px solid #ececec;
  color: #555;
  outline: none;
  transition: background 0.2s;
}

.account-input:focus {
  background: #e8e8e8;
}

/* ===== Common Buttons ===== */
.account-btn,
.account-btn-login,
.account-register a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 18px 24px;
  border-radius: 10px;
  border: 1px solid var(--primary) !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Primary Buttons */
.account-btn-primary,
.account-btn-login {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  border-width: 1.5px;
}

.account-btn-primary:hover,
.account-btn-login:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: #fff !important;
}

/* Outline Buttons */
.account-btn-outline,
.account-register a,
.btn-outline-primary {
  background: transparent;
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  border-width: 1.5px;
}

.account-btn-outline:hover,
.account-register a:hover,
.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary);
    border-width: 1.5px;
}

/* Prevent bootstrap from changing sizes */
.account-btn-primary:focus,
.account-btn-outline:focus,
.account-btn-login:focus,
.account-register a:focus {
  box-shadow: none;
}

.account-btn:focus,
.account-btn:focus-visible,
.account-btn-login:focus,
.account-btn-login:focus-visible,
.account-register a:focus,
.account-register a:focus-visible,
.btn:focus,
.btn:focus-visible,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

/* Two buttons row */
#forgotModal .row > div {
  display: flex;
}

#forgotModal .row button {
  width: 100%;
}

.account-forgot {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.account-forgot a {
  color: #888;
  text-decoration: none;
  font-size: 0.95rem;
}

.account-forgot a:hover {
  color: #555;
}

.account-divider {
  margin: 1.5rem 0;
border: 1px solid #e5e5e5;
}

.account-register {
  text-align: center;
  margin: 0;
}

.account-register a {
  display: block;
  width: 100%;
  padding: 18px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 10px;
}

.account-register a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== Floating Label ===== */
.float-field {
  position: relative;
}

.float-field .account-input {
  padding: 22px 20px 10px; 
}

.float-field label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
  transform-origin: left top; 
}
.float-field .account-input:focus + label,
.float-field .account-input:not(:placeholder-shown) + label {
  top: 8px;
  left: 20px;
  transform: scale(0.78);
  color: var(--primary);
}

html[dir="rtl"] .float-field label {
  left: auto;
  right: 20px;
  transform-origin: right top;
}

html[dir="rtl"] .account-input {
  text-align: right;
}

.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}
html[dir="rtl"] .toggle-password {
  right: auto;
  left: 15px;
}

/* Register scroll fix */
.register-scroll {
  max-height: 75vh;
  overflow-y: auto;
}

/* Terms scroll */
.terms-scroll {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 10px;
 color: rgb(102, 102, 102) !important;
}

/* nicer text */
.terms-scroll h5 {
  font-weight: 500;
  margin-top: 15px;
}

.terms-text {
  font-size: 0.9rem;
  text-align: center;
      color: rgb(153, 153, 153);
}

.terms-text a {
      color: rgb(153, 153, 153);
  font-weight: 600;
  text-decoration: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(141, 198, 63, 0.1);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    color: var(--primary);
    font-size: 2rem;
}



/* CSS */
.acc-chevron { transition: transform .25s; }
.acc-chevron.open { transform: rotate(180deg); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.acc-body.open { max-height: 300px; }
.acc-trigger:hover { background: #f8f9fa !important; }
.text-bg-success{
  background: var(--primary) !important;
}
.text-bg-danger{
  background: red !important;
}
.text-bg-info{
  background: lightblue !important;
}
.text-bg-warning{
  background: goldenrod !important;
}

/* ===== START RTL FIXES ===== */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .topbar .search-box .search-icon {
  right: auto;
  left: 12px;
}
html[dir="rtl"] .topbar .search-box input {
  padding: 7px 16px 7px 40px;
}

html[dir="rtl"] .sidebar {
  left: auto !important;
  right: 0 !important;
  border-right: none;
  border-left: 1px solid #e5e5e5;
}

html[dir="rtl"] .sidebar nav ul li a:hover {
  padding-left: 20px;
  padding-right: 26px;
}

html[dir="rtl"] .sidebar nav ul li a.active {
  border-left: none;
  border-right: 3px solid var(--primary);
  padding-left: 20px;
  padding-right: 17px;
}

html[dir="rtl"] .main-content {
  margin-left: 0;
  margin-right: 230px;
}

html[dir="rtl"] .subnav {
  padding: 0 250px 0 20px;
}


html[dir="rtl"] .float-field label {
  left: auto;
  right: 20px;
  transform-origin: right top;
}

html[dir="rtl"] .float-field .account-input:focus + label,
html[dir="rtl"] .float-field .account-input:not(:placeholder-shown) + label {
  left: auto;
  right: 20px;
  transform: scale(0.78) translateY(-18px);
}

html[dir="rtl"] .toggle-password {
  right: auto;
  left: 15px;
}

@media (max-width: 768px) {
  html[dir="rtl"] .main-content {
    margin-right: 0 !important;
  }
  
  html[dir="rtl"] .mob-search-bar .search-icon {
    right: auto;
    left: 24px;
  }
  
  html[dir="rtl"] .mob-search-bar input {
    padding: 8px 14px 8px 36px;
  }

  html[dir="rtl"] .mob-drawer .drawer-panel {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }

  html[dir="rtl"] .mob-drawer.open .drawer-panel {
    transform: translateX(0);
  }

  html[dir="rtl"] .mob-drawer .drawer-nav li a.active {
    border-left: none;
    border-right: 3px solid var(--primary);
    padding-right: 17px;
  }
  
  html[dir="rtl"] .fab-menu {
    right: auto;
    left: 20px;
  }
  .layout {
    margin-top: 155px !important;
    transition: margin-top 0.3s ease;
  }

  .has-cat-nav .layout {
    margin-top: 155px !important;
  }
}

html[dir="rtl"] .fa-chevron-right, 
html[dir="rtl"] .bi-chevron-right {
  transform: rotate(180deg);
}
html[dir="rtl"] .fa-chevron-left, 
html[dir="rtl"] .bi-chevron-left {
  transform: rotate(180deg);
}

html[dir="rtl"] .text-start {
  text-align: right !important;
}
html[dir="rtl"] .text-end {
  text-align: left !important;
}
/* ===== END RTL FIXES ===== */