:root{
  --accent: #0dca4c;
  --muted:#6b7280;
  --card:#ffffff;
  --shadow: 0 6px 18px rgba(10,20,40,0.06);
  --radius:10px;
  --container:1200px;
  --bg:#f6fbff;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Container for layout */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Topbar wrapper */
.topbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 10px 20px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
}

body { padding-top: 80px; margin: 0; }

/* Flex container */
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Logo + Delivery Left */
.left-sec {
  display: flex;
  align-items: center;
  gap: 25px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color:#0dca4c;
}

.delivery {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #222;
}

.delivery strong {
  font-weight: 600;
}

.dropdown {
  font-size: 10px;
}

/* Search Bar */
.search-area {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 600px;
  background: #e9f5f4;
  border-radius: 8px;
  padding: 0 5px;
  border: 1px solid #d0e9e7;
}

.category {
  border: none;
  background: none;
  padding: 10px;
  font-size: 14px;
}

.search-area input {
  flex: 1;
  border: none;
  background: none;
  padding: 10px;
  outline: none;
  font-size: 14px;
}

.search-btn {
  background:  #0dca4c;
  border: none;
  padding: 10px 14px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

/* Right Icons */
.topbar-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  text-decoration: none;
}

.user-text {
  font-size: 12px;
  line-height: 1.2;
}

.user-text span {
  font-size: 11px;
  color: #666;
}
.breadcrumb {
  font-size: 15px;
  color: #555;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  text-decoration: none;
  color: #0E7C7B;       /* teal */
  font-weight: 600;
  transition: 0.2s;
}

.breadcrumb a:hover {
  color: #0b615f;       /* darker teal */
}

.breadcrumb span {
  color: #999;
  font-weight: 600;
}

/* Cart */
.cart {
  position: relative;
  font-size: 22px;
  color: #000;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: rgb(255, 102, 0);
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 50%;
}
/* Drawer Hidden By Default */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.08);
  padding: 20px;
  overflow-y: auto;
  transition: 0.4s;
  z-index: 999;
}

/* Open drawer */
.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.cart-tabs {
  display: flex;
  margin-top: 15px;
  gap: 10px;
}

.tab {
  flex: 1;
  padding: 10px;
  background: #f6f6f6;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}
.tab.active {
  background: #d1f3ff;
  color: #0077b6;
}

.cart-item {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
}
.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.card-box {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}

.primary-btn {
  padding: 10px;
  width: 100%;
  background: #00a8e8;
  color: white;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
}

.coupon-success {
  border: 1px dashed #00b894;
  color: #00b894;
  padding: 8px;
  margin-top: 10px;
  border-radius: 6px;
}

.delivery {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.free {
  color: green;
}

.pay-box {
  text-align: center;
  margin-top: 25px;
}


/* ============================
   RESPONSIVE DESIGN
   ============================ */

/* ----------- Small Phones (max-width: 480px) ----------- */
@media (max-width: 480px) {

  /* Topbar spacing */
  body { padding-top: 70px; }

  .topbar {
    padding: 8px 12px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* LOGO + Delivery */
  .left-sec {
    gap: 10px;
  }

  .logo {
    font-size: 20px;
  }

  .delivery {
    font-size: 11px;
  }

  /* Search Bar */
  .search-area {
    max-width: 100%;
    width: 100%;
    padding: 0 6px;
  }

  .category {
    display: none; /* Hide category dropdown for small mobile */
  }

  .search-area input {
    font-size: 13px;
  }

  .search-btn {
    padding: 8px 10px;
  }

  /* Right icons */
  .topbar-icons {
    gap: 12px;
  }

  .user-text {
    display: none; /* Hide text, keep user icon only */
  }

  /* Cart drawer fixes */
  .cart-drawer {
    width: 100%;
    right: -100%;
  }

  .cart-drawer.open {
    right: 0;
  }

  .cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cart-item img {
    width: 60px;
    height: 60px;
  }
}


/* ----------- Tablets (481px – 768px) ----------- */
@media (min-width: 481px) and (max-width: 768px) {

  body { padding-top: 75px; }

  .topbar {
    padding: 10px 15px;
  }

  .topbar-inner {
    gap: 15px;
    flex-wrap: wrap;
  }

  .search-area {
    max-width: 100%;
    width: 100%;
  }

  .category {
    font-size: 12px;
  }

  .search-area input {
    font-size: 14px;
  }

  .search-btn {
    padding: 9px 12px;
  }

  .user-text span {
    font-size: 10px;
  }

  /* Cart drawer slightly smaller for tablets */
  .cart-drawer {
    width: 320px;
    right: -330px;
  }

  .cart-drawer.open {
    right: 0;
  }
}


/* ----------- Small Laptops (769px – 1024px) ----------- */
@media (min-width: 769px) and (max-width: 1024px) {

  .topbar-inner {
    gap: 20px;
  }

  .search-area {
    max-width: 500px;
  }

  .cart-drawer {
    width: 350px;
  }
}


/* ----------- Large PC (1025px +) ----------- */
@media (min-width: 1025px) {
  body { padding-top: 80px; }

  .search-area {
    max-width: 600px;
  }

  .cart-drawer {
    width: 360px;
  }
}


/* Hero full width, ignoring layout margin */
/* Hero Full Width */
.hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px; /* optional */
}

/* Slider container */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slide Wrapper */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Each Slide */
.slide {
  min-width: 100%;
  height: 400px;
  display: none;
  overflow: hidden;
}

.slide.active {
  display: block;
}

/* Slide Images */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 26px;
  border: none;
  border-radius: 50%;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 12px; }
.next { right: 12px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #0dca4c;
}

/* ===============================
      RESPONSIVE FIXES
   =============================== */

/* Tablet (width ≤ 768px) */
@media (max-width: 768px) {
  .slide {
    height: 260px; /* smaller hero */
  }
  .prev, .next {
    font-size: 22px;
    padding: 7px 10px;
  }
  .dot {
    width: 9px;
    height: 9px;
  }
}

/* Mobile (width ≤ 480px) */
@media (max-width: 480px) {
  .slide {
    height: 200px; /* safe height */
  }

  .prev, .next {
    font-size: 18px;
    padding: 6px 9px;
    top: 48%;
  }

  .dots {
    bottom: 10px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}


.layout {

  margin-left: 150px; /* space for sidebar */
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: calc(100% - 150px);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Desktop wide content sections */
.layout > section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}


/* Sidebar Container */
.sidebar.closed {
  transform: translateX(-110%);
}

.sidebar {
  position: fixed;
  top: 60px; /* below topbar */
  left: 0;
  width: 250px; 
  height: calc(100% - 60px);
  overflow-y: auto;
  background: #fffffffa;
  padding: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
}


.sidebar.closed {
  transform: translateX(-110%);
}

.layout {
  margin-left: 250px; /* Same as sidebar width */
}


/* Hover Effect */
.sidebar:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
/* ============================
   RESPONSIVE LAYOUT FIX
   ============================ */

/* --- Desktop Default (you keep your normal styling) --- */
.layout {
  margin-left: 250px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: calc(100% - 250px);
  transition: 0.3s ease;
}

.sidebar {
  width: 250px;
}


/* ==========================================
   TABLET MODE  (max-width: 992px)
   ========================================== */
@media (max-width: 992px) {

  .layout {
    margin-left: 200px; /* reduce sidebar width */
    width: calc(100% - 200px);
  }

  .sidebar {
    width: 200px;
  }
}


/* ==========================================
   MOBILE MODE  (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {

  /* Sidebar becomes hidden by default */
  .sidebar {
    transform: translateX(-100%);
    width: 240px;                 /* smooth drawer size */
    top: 60px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Layout full width on mobile */
  .layout {
    margin-left: 0;
    width: 100%;
    padding: 12px;
  }

  /* Hero slider auto height */
  .slide {
    height: 220px;
  }

  .prev, .next {
    font-size: 22px;
    padding: 6px 10px;
  }
}


/* ==========================================
   SMALL MOBILE MODE  (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {

  .slide {
    height: 180px;
  }

  .dots {
    bottom: 6px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Categories List */
.categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Category Title */
.cat-title {
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

/* Category Items */
.categories li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  cursor: pointer;
  color: #555;
  font-size: 15px;
  transition: 0.2s ease;
}

/* Hover Effect */
.categories li:hover {
  background: #0dca4c3f;
  color: #000000;
  padding-left: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Icon Color */
.categories li i {
  min-width: 20px;
  text-align: center;
  color:  #0dca4c;
  transition: color 0.2s ease;
}

/* Icon hover */
.categories li:hover i {
  color: #fff;
}

/* REMOVE UNDERLINE */
.categories a {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}
/* ===========================
   SUB-CATEGORY (DROPDOWN)
=========================== */
/* Force the sub category area to be left aligned */
.has-sub {
    display: block !important;
    text-align: left !important;
}

/* Main link (Medicine) stays left */
.has-sub .main-link {
    display: flex;
    justify-content: flex-start !important;
    gap: 10px;
    align-items: center;
    text-align: left !important;
}

/* Submenu wrapper */
.sub-menu {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
    text-align: left !important;
}

.sub-menu li {
    padding: 6px 0;
    font-size: 15px;
    text-align: left !important;
    display: block !important;
    width: 100%;
    white-space: nowrap;     /* ⭐ FIX — text ek line e thakbe */
    overflow: hidden;        /* Extra text hide */
    text-overflow: ellipsis; /* ... dot show */
}


.arrow {
  transition: 0.3s;
}

.rotate {
  transform: rotate(180deg);
}
/* ===========================
   MOBILE RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .layout {
    margin-left: 0;
  }

  .sidebar {
    width: 220px;
    transform: translateX(-110%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .categories li {
    font-size: 14px;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  .layout {
    margin-left: 0;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .sidebar {
    width: 220px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  .categories li {
    font-size: 14px;
  }
}
/* ===== Quick Cards Section (Modern Layout) ===== */
/* Wrapper */
.quick-cats-wrapper {
  margin: 20px 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* smooth scroll */
  padding-bottom: 5px;
}
/* Hide scrollbar on mobile */
.quick-cats-wrapper::-webkit-scrollbar {
  display: none;
}

/* Grid for desktop/tablet */
.quick-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Desktop */
  gap: 16px;
  min-width: 100%;
}

/* Individual cards */
.quick-card, .medicine {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; /* Remove underline from text/links */
  color: inherit; /* Keep text color */
   min-width: 130px; /* REQUIRED for mobile scrolling */
}
.quick-card i, .medicine i {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
  color: #0dca4c;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (4 per row) */
@media (max-width: 992px) {
  .quick-cats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Small tablets / big phones (3 per row) */
@media (max-width: 768px) {
  .quick-cats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile — horizontal scroll instead of grid */
@media (max-width: 600px) {
  .quick-cats {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .quick-card,
  .medicine {
    flex: 0 0 auto;
    min-width: 120px;
  }
}
/* Hover effect */
.quick-card:hover, .medicine:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* ==== Especially For You Section ==== */
.offers-section {
  width: 100%;
  max-width: 1300px;
  margin: 50px auto;
  padding: 0 16px;
}

.offers-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
}

/* Responsive grid */
.offers-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr);
}

/* Make cards responsive on smaller screens */
@media (max-width: 1100px) {
  .offers-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .offers-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .offers-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .offers-container {
    grid-template-columns: 1fr;
  }
}

.floating-cart {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 999;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

/* Top Section */
.cart-top {
  background: #028f31; /* Teal-green */
  color: white;
  text-align: center;
  padding: 10px 0;
}

.cart-top i {
  font-size: 20px;
  display: block;
  margin-bottom: 3px;
}

.cart-text {
  font-size: 14px;
  font-weight: 500;
}

/* Bottom Section */
.cart-bottom {
  background: #fc9a44; /* Orange */
  color: white;
  text-align: center;
  padding: 6px 0;
}

.cart-amount {
  font-size: 16px;
  font-weight: bold;
}
.floating-cart {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 999;
  cursor: pointer;
}

/* Mobile fix */
@media (max-width: 768px) {
  .floating-cart {
    top: auto;
    bottom: 150px;
    right: 12px;
    transform: none;
    width: 65px;
  }
}

/* Offer Card base style */
.offer-card {
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.small-text {
  font-size: 14px;
  opacity: 0.9;
}

.offer-card h3 {
  font-size: 22px;
  margin: 0;
  font-weight: bold;
}

.phone {
  font-size: 16px;
}

.cashback {
  font-size: 15px;
}

.offer-card button {
  margin-top: 10px;
  padding: 10px;
  border: none;
  background: #fff;
  color: #000;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
   display: inline-block;
}
.offer-card {
  position: relative;
}

/* ICON */
.offer-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  padding: 10px;
  border: 2px solid rgba(255,255,255,0.3);
}
.offer-icon i { font-size: 24px; }

/* Make icon background match card gradient with opacity */
.offer-card.green .offer-icon {
  background: rgba(68, 197, 101, 0.5); /* pick a color from gradient */
}

.offer-card.blue .offer-icon {
  background: rgba(41, 180, 255, 0.5);
}

.offer-card.lime .offer-icon {
  background: rgba(120, 212, 61, 0.5);
}

.offer-card.purple .offer-icon {
  background: rgba(154, 92, 255, 0.5);
}

.offer-card.orange .offer-icon {
  background: rgba(255, 139, 77, 0.5);
}

.offer-card.red .offer-icon {
  background: rgba(255, 75, 75, 0.5);
}

/* Match button text to card colors */
.offer-card.green button {
  color: #44c565;
}

.offer-card.blue button {
  color: #29b4ff;
}

.offer-card.lime button {
  color: #78d43d;
}

.offer-card.purple button {
  color: #9a5cff;
}

.offer-card.orange button {
  color: #ff8b4d;
}

.offer-card.red button {
  color: #ff4b4b;
}
/* POP-UP Hover Effect */
.offer-card {
  transition: all 0.35s ease;
  transform: translateY(0) scale(1);
}

.offer-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}


/* Icon uses same gradient as card */
.offer-card.green .offer-icon {
  background: linear-gradient(#b6fccb, #44c565);
}

.offer-card.blue .offer-icon {
  background: linear-gradient(#a9e4fc, #29b4ff);
}

.offer-card.lime .offer-icon {
  background: linear-gradient(#c7f59f, #78d43d);
}

.offer-card.purple .offer-icon {
  background: linear-gradient(#d7cbfa, #9a5cff);
}

.offer-card.orange .offer-icon {
  background: linear-gradient(#ffd1b5, #ff8b4d);
}

.offer-card.red .offer-icon {
  background: linear-gradient(#faa8a8, #ff4b4b);
}

/* Optional: add a subtle border or shadow to the icon */
.offer-card .offer-icon {
  border: 2px solid rgba(255,255,255,0.3);
}


/* Colors */
.green { background: linear-gradient(#b6fccb, #44c565); }
.blue { background: linear-gradient(#a9e4fc, #29b4ff); }
.lime { background: linear-gradient(#c7f59f, #78d43d); }
.purple { background: linear-gradient(#d7cbfa, #9a5cff); }
.orange { background: linear-gradient(#ffd1b5, #ff8b4d); }
.red { background: linear-gradient(#faa8a8, #ff4b4b); }

/* =============== OFFER CARDS RESPONSIVE SCROLL =============== */

/* Offer card container (the parent wrapper) */
.offer-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Tablet + Mobile → convert to horizontal scroll */
@media (max-width: 992px) {
  .offer-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .offer-row::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
  }

  .offer-card {
    min-width: 260px;  /* card width in scroll */
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .offer-card {
    min-width: 220px;
  }
}

/* ===== Exclusive Deals ===== */


/* Product Section */
.product-section {
  padding: 26px 16px;
  background: #fafafa;
  border-radius: 12px;
  margin-top: 20px;
}
/* Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

.section-header .see-all {
  font-size: 14px;
  color: #0dca4c;
  font-weight: 600;
  text-decoration: none;
}
.section-header .see-all:hover {
  color: #0dca4c;
}

/* Product Grid */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

/* ===== Product Card ===== */


.product-cards-wrapper {
  position: relative;
}

.product-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.product-cards::-webkit-scrollbar {
  display: none; /* hide scrollbar */
}

/* Product Card */
.product-card {
  flex: 0 0 auto;
  width: 150px;
  min-height: 330px;
  background: #fff;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto; /* vertically center between top & bottom */
  height: 40px;  /* height of button */
  width: 40px;   /* width of button */
  background: rgba(0,196,180,0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  display: none; /* hidden by default */
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  display: flex; 
  align-items: center; 
  justify-content: center; /* center the arrow inside */
}

/* Hover effect */
.scroll-btn:hover {
  background: rgba(0, 196, 180, 1);
  transform: translateY(-50%) scale(1.1);
}

/* Left and Right positions */
.scroll-left { left: 8px; }
.scroll-right { right: 8px; }

/* Smaller on mobile */
@media (max-width: 480px) {
  .scroll-btn {
    padding: 8px;
    font-size: 16px;
  }
}



/* Image FIRST */
.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  order: 1;
}

/* Title SECOND */
.product-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  order: 2;
}
/* Price THIRD */
.price-badge {
  order: 3;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

.new-price {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #0dca4c;
}

/* Discount Badge on Image */
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ff5252;
  color: white;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 8px;
}

/* Add to Cart LAST */
.add-to-cart {
  order: 4;
  margin-top: auto;
  width: 100%;
  padding: 10px;
  background:  #0dca4c;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.add-to-cart:hover {
  background:  #0dca4c;
}



/* ==========================
   Footer Wrapper
========================== */
.site-footer {
  background: linear-gradient(180deg, rgba(10,14,18,1) 0%, rgba(13,17,21,1) 100%);
  color: #cbd7df;
  padding: 48px 6vw 0;
  position: relative;
  overflow: visible;
  font-family: 'Inter', sans-serif;
}

/* Inner Grid */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Left Column (Logo + Description) */
.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 8px;
  box-shadow: 0 6px 18px rgba(79,139,255,0.08);
  transition: transform 0.3s ease;
}

.footer-brand img:hover {
  transform: scale(1.05);
}

.brand-copy h3 {
  margin: 0;
  font-size: 18px;
  color: #e8f6ff;
}

.brand-copy p {
  margin: 8px 0 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 210px;
  line-height: 1.5;
}

/* Footer Columns */
.footer-col h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #e0f3ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--link);
  text-decoration: underline;
}

/* Address / Contact Styling */
.address-line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  white-space: pre-line;
  line-height: 1.4;
}

/* Lower Footer Row: App & Socials */
.footer-lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 24px;
}

.app-download {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0c2740;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  font-size: 13px;
  color: #cfeeff;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.app-btn:hover {
  background: #00334d;
  transform: translateY(-2px);
}

.socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.socials .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 6px 18px rgba(3,8,12,0.6);
  color: var(--link);
  font-size: 14px;
  transition: transform 0.3s, background 0.3s;
}

.socials .icon:hover {
  transform: scale(1.1);
  background: rgba(0,180,216,0.1);
}

/* Payment Strip */
.payment-strip {
  margin-top: 22px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  padding: 14px 6vw;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
}

.payment-strip .we-accept {
  font-weight: 600;
  color: #00324a;
  margin-right: 14px;
  white-space: nowrap;
}

.payment-strip img {
  height: 28px;
  margin-right: 10px;
  opacity: 0.98;
}

/* Footer Bottom Row */
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 60px;
  padding: 12px 6vw 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

/* Floating Buttons */
.floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}
/* Circular buttons */
.btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gradient-end), var(--gradient-start));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 12px 30px rgba(31, 255, 106, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-circle:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 255, 80, 0.25);
}

/* Chat button */
.chat {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #09a363, #0bd671);
  box-shadow: 0 18px 40px rgba(12, 255, 121, 0.26);
  color: white;
  cursor: pointer;
  position: relative;
  font-size: 22px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.chat:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(12, 255, 113, 0.212);
}

/* Chat notification dot */
.chat-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27ffb0;
  box-shadow: 0 0 6px rgba(39,255,176,0.6);
}
/* Pulse animation for chat dot */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27ffb0;
  box-shadow: 0 0 6px rgba(39,255,176,0.6);
  animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 16px;
  }

  .footer-lower {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .payment-strip {
    padding: 12px;
  }

  .floating {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .btn-circle {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .chat {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
}
