/* ====================================================
   RESET & SYSTEM COLOR VARIABLES
==================================================== */
:root {
  --orange: #ff7622;
  --orange-hover: #e86312;
  --orange-light: #fff7ed;
  --green: #10b981;
  --navy: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #f1f5f9;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 6px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.12);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 76px;
  -webkit-tap-highlight-color: transparent;
}

button, input, textarea {
  font: inherit;
  border: 0;
  outline: 0;
  background: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.shell {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* ====================================================
   TOP HEADER
==================================================== */
.head {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  font-size: 20px;
  color: var(--navy);
  padding: 4px 6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.logo-leaf {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.logo-name span {
  color: var(--orange);
}

.search {
  flex: 1;
  max-width: 500px;
  display: flex;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  overflow: hidden;
  height: 42px;
  transition: all 0.2s;
}

.search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 118, 34, 0.12);
}

.search input {
  flex: 1;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--text);
}

.search input::placeholder {
  color: #94a3b8;
}

.search button {
  width: 44px;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
}

.hacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hab {
  position: relative;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.hab:hover {
  background: #f1f5f9;
}

.hab i {
  font-size: 18px;
}

.hab .badge {
  position: absolute;
  top: 0px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.acc-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* ====================================================
   FLOATING RIGHT CART PILL
==================================================== */
.floating-cart-pill {
  position: fixed;
  right: 0;
  top: 360px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px 0 0 8px;
  padding: 8px 12px;
  z-index: 95;
  box-shadow: -4px 4px 16px rgba(255, 118, 34, 0.35);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s;
}

.floating-cart-pill:hover {
  transform: translateX(-4px);
}

.pill-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 3px;
}

.pill-bottom {
  background: #ffffff;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ====================================================
   MAIN LAYOUT & SIDEBAR
==================================================== */
.main-body-layout {
  display: flex;
  gap: 24px;
  padding: 20px 18px;
  align-items: flex-start;
}

.sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  text-align: left;
  transition: all 0.2s;
}

.side-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.side-link:hover {
  background: #f8fafc;
  color: var(--orange);
}

.side-link.on {
  background: #fed7aa;
  color: #c2410c;
}

.content-viewport {
  flex: 1;
  min-width: 0;
}

/* ====================================================
   HERO BANNER
==================================================== */
.hero-banner {
  background: #fbf7ee;
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #f1ece1;
  box-shadow: var(--shadow-sm);
}

.hero-left {
  max-width: 55%;
  z-index: 2;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 16px;
}

.btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1e293b;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, background 0.2s;
}

.btn-shop-now:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-plate {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #d1d5db;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.art-plate .leaf-icon {
  font-size: 40px;
  position: absolute;
  top: 25px;
  left: 30px;
  transform: rotate(-35deg);
}

.spice-dot {
  position: absolute;
  border-radius: 50%;
}

.dot-1 {
  width: 55px;
  height: 55px;
  background: #ea580c;
  bottom: 25px;
  right: 25px;
}

.dot-2 {
  width: 48px;
  height: 48px;
  background: #f97316;
  bottom: 35px;
  right: 55px;
  opacity: 0.9;
}

.dot-3 {
  width: 38px;
  height: 38px;
  background: #fbbf24;
  top: 45px;
  right: 35px;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 38px;
  display: flex;
  gap: 6px;
}

.hero-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hero-dots .dot.on {
  background: var(--orange);
}

/* ====================================================
   SLIDER & CATEGORIES
==================================================== */
.sec {
  padding: 14px 4px 12px;
}

.sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sec-hd h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

.sec-hd a {
  font-size: 13px;
  color: #334155;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.sec-hd a:hover {
  color: var(--orange);
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.slide-nav-btn {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: #475569;
  z-index: 10;
  transition: all 0.2s;
}

.slide-nav-btn.prev {
  left: -8px;
}

.slide-nav-btn.next {
  right: -8px;
}

.slide-nav-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.cats {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 12px 14px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}

.cats::-webkit-scrollbar {
  display: none;
}

.cats.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  padding: 10px 4px;
}

.cat {
  flex: 0 0 76px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.cat-ic {
  width: 58px;
  height: 58px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #fbf7ee;
  display: grid;
  place-items: center;
  font-size: 26px;
  overflow: hidden;
}

.cat-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat span {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

/* ====================================================
   CATEGORY-WISE PRODUCTS ROW (LARGER PICTURES)
==================================================== */
.category-block {
  margin-bottom: 24px;
}

.horizontal-products-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 6px 18px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.horizontal-products-slider::-webkit-scrollbar {
  display: none;
}

.horizontal-products-slider .pcard {
  flex: 0 0 215px;
  width: 215px;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
  padding-bottom: 24px;
}

/* Product Card - Larger picture, clickable */
.pcard {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 14px;
  cursor: pointer;
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.btn-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 14px;
  z-index: 3;
  transition: all 0.2s;
}

.btn-wishlist.active {
  color: #ef4444;
}

/* ENLARGED PRODUCT IMAGE BOX */
.pcard-img {
  width: 145px;
  height: 145px;
  background: #fbf7ee;
  border-radius: 50%;
  margin: 10px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s;
}

.pcard:hover .pcard-img {
  transform: scale(1.04);
}

.pcard-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.pcard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pcard-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-price {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.pcard-price .was {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 500;
}

.pcard-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.pcard-rating i {
  color: #eab308;
}

.btn-cart {
  width: 100%;
  height: 38px;
  background: var(--orange);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
  margin-top: auto;
  position: relative;
  z-index: 3;
}

.btn-cart:hover {
  background: var(--orange-hover);
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 35px 16px;
  color: var(--muted);
  font-size: 14px;
}

.empty b {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

/* ====================================================
   FOOTER
==================================================== */
.app-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
  padding: 40px 20px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-about {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.footer-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact-item {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-item a {
  color: #334155;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--orange);
}

.footer-contact-item i {
  color: var(--orange);
  width: 16px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: #94a3b8;
}

/* ====================================================
   USER AUTH & PROFILE DASHBOARD
==================================================== */
.account-dashboard-wrapper {
  max-width: 680px;
  margin: 10px auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
}

.auth-tab-btn.active {
  color: var(--orange);
}

.auth-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px 2px 0 0;
}

.auth-form-group {
  margin-bottom: 16px;
}

.auth-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.auth-form-group input {
  width: 100%;
  height: 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
}

.auth-form-group input:focus {
  border-color: var(--orange);
}

.btn-auth-submit {
  width: 100%;
  height: 46px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
}

.profile-header-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.profile-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.profile-nav-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.profile-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-tile:hover {
  background: #fff7ed;
  border-color: var(--orange);
}

.profile-tile i {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.profile-tile span {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}

.btn-logout {
  width: 100%;
  height: 44px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ====================================================
   BOTTOM MOBILE NAVIGATION (TOUCH ACCESSIBLE & WORKING)
==================================================== */
.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: #ff7622;
  border-top: 1px solid rgba(0,0,0,0.05);
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}

.dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #ffffff;
  opacity: 0.85;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 12px;
  min-width: 50px;
  cursor: pointer;
}

.dock button i {
  font-size: 17px;
  pointer-events: none;
}

.dock button span {
  pointer-events: none;
}

.dock button.on {
  opacity: 1;
  font-weight: 800;
}

.dock .cart-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ff7622;
  border: 3px solid #ffffff;
  color: #fff !important;
  margin-top: -24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  position: relative;
  opacity: 1;
}

.dock .cart-btn i {
  font-size: 20px;
}

.dock .cart-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  background: #fff;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.dock .cart-label {
  display: none;
}

/* ====================================================
   MODALS (SHEET / POPUP)
==================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.open {
  display: flex;
}

.sheet {
  background: #fff;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: zoomInModal 0.22s ease-out;
  display: flex;
  flex-direction: column;
}

@keyframes zoomInModal {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.sheet-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.sheet-h b {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.sheet-actions-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sheet-h .x, .sheet-h .action-top-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.sheet-h .action-top-btn.active {
  color: #ef4444;
  background: #fee2e2;
}

.sheet-h .x:hover, .sheet-h .action-top-btn:hover {
  background: #f1f5f9;
  color: var(--navy);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: none;
  z-index: 1050;
  box-shadow: var(--shadow-lg);
}

.view {
  display: none;
}

.view.on {
  display: block;
}

/* ====================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
==================================================== */
@media (max-width: 900px) {
  body {
    padding-bottom: 74px;
  }

  .sidebar {
    display: none;
  }

  .main-body-layout {
    padding: 12px 12px;
  }

  .search {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .dock {
    display: flex;
  }

  .acc-text {
    display: none;
  }

  /* Compact banner on mobile */
  .hero-banner {
    padding: 18px 16px;
    margin-bottom: 18px;
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-md);
  }

  .hero-left {
    max-width: 60%;
    margin-bottom: 0;
  }

  .hero-title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .btn-shop-now {
    padding: 6px 14px;
    font-size: 11.5px;
  }

  .art-plate {
    width: 90px;
    height: 90px;
  }

  .art-plate .leaf-icon {
    font-size: 22px;
    top: 12px;
    left: 15px;
  }

  .dot-1 {
    width: 28px;
    height: 28px;
    bottom: 12px;
    right: 12px;
  }

  .dot-2 {
    width: 24px;
    height: 24px;
    bottom: 16px;
    right: 28px;
  }

  .dot-3 {
    width: 18px;
    height: 18px;
    top: 22px;
    right: 16px;
  }

  .hero-dots {
    display: none;
  }

  /* Mobile product slider & enlarged picture */
  .horizontal-products-slider .pcard {
    flex: 0 0 175px;
    width: 175px;
    padding: 12px 10px;
  }

  .pcard-img {
    width: 118px;
    height: 118px;
  }

  .pcard-name {
    font-size: 13.5px;
  }

  .pcard-price {
    font-size: 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .sheet {
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
  }
}

/* ========== RESPONSIVE SLIDER & VIEW ALL (3-CARD MOBILE + 5-CARD DESKTOP) ========== */
.horizontal-products-slider {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 6px 2px 14px !important;
  -webkit-overflow-scrolling: touch !important;
}

.horizontal-products-slider::-webkit-scrollbar {
  height: 5px;
}
.horizontal-products-slider::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.horizontal-products-slider::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* Home slider: Mobile card fixed compact width */
.horizontal-products-slider .product-card {
  flex: 0 0 145px !important;
  max-width: 145px !important;
}

/* VIEW ALL PAGE (Mobile mode: 3 Column perfectly fitted) */
#productsList {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  padding: 8px 2px !important;
}

#productsList .product-card {
  width: 100% !important;
  max-width: 100% !important;
  padding: 6px 4px 8px !important;
  flex: none !important;
}

#productsList .product-card h3 {
  font-size: 11px !important;
  height: 28px !important;
}

#productsList .product-card button {
  height: 28px !important;
  font-size: 10.5px !important;
}

/* DESKTOP MODE (Boro screen: 5 ta card eksathe dekhabe) */
@media (min-width: 992px) {
  .horizontal-products-slider {
    gap: 14px !important;
  }
  .horizontal-products-slider .product-card {
    flex: 0 0 calc((100% - (14px * 4)) / 5) !important;
    max-width: calc((100% - (14px * 4)) / 5) !important;
    padding: 10px !important;
  }

  /* View All page desktop-e 5 Column hobe */
  #productsList {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
    padding: 12px 6px !important;
  }

  #productsList .product-card {
    padding: 10px !important;
  }

  #productsList .product-card h3 {
    font-size: 12.5px !important;
    height: 32px !important;
  }

  #productsList .product-card button {
    height: 34px !important;
    font-size: 12px !important;
  }
}

/* Mobile Search Top Popup - Premium App Look */
.search-modal-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45); /* পেছনের অংশ আবছা ডার্ক ব্লার করবে */
  backdrop-filter: blur(4px);
  z-index: 999999;
  box-sizing: border-box;
  padding: 12px 14px;
}

.search-modal-wrap.active {
  display: block;
}

.search-modal-content {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 4px;
}

.search-modal-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  color: #ff7622;
  pointer-events: none;
}

#mobileSearchInput {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 38px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #f8fafc;
  color: #1e293b;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

#mobileSearchInput:focus {
  background: #ffffff;
  border-color: #ff7622;
}

.search-modal-close {
  position: absolute;
  right: 10px;
  background: #f1f5f9;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Live Search Results Dropdown */
.search-results-dropdown {
  max-width: 500px;
  margin: 10px auto 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-height: 60vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 8px 0;
}

.search-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s;
}

.search-item-row:last-child {
  border-bottom: none;
}

.search-item-row:hover,
.search-item-row:active {
  background: #f8fafc;
}

.search-item-row img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.search-item-info {
  flex: 1;
}

.search-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 3px;
}

.search-item-price {
  font-size: 13px;
  font-weight: 700;
  color: #ff7622;
}

/* My Orders Status Filter Tabs & Cards */
.order-status-btn {
  border: none;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.order-status-btn:active {
  transform: scale(0.95);
}

#myOrdersContentArea {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#myOrdersContentArea > div {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#myOrdersContentArea > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}