@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   TRENDYSHOP ECOMMERCE DESIGN SYSTEM
   ============================================================ */
:root {
  --primary: #ff7800;       /* Indigo 600 */
  --primary-hover: #e66c00; /* Indigo 700 */
  --primary-light: #fff4eb; /* Light Indigo background */
  --secondary: #10b981;     /* Emerald 500 (Add to Cart / Sale) */
  --secondary-hover: #059669; /* Emerald 600 */
  --accent: #f59e0b;        /* Amber 500 (Ratings) */
  --dark: #0f172a;          /* Slate 900 */
  --dark-light: #1e293b;    /* Slate 800 */
  --light: #f8fafc;         /* Slate 50 */
  --white: #ffffff;
  
  /* Gray Scale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ===================== TOP BAR ===================== */
#topbar {
  background: var(--dark);
  padding: 10px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#topbar span {
  color: var(--gray-300);
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#topbar span i {
  color: var(--secondary);
}
#topbar .tsoc a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.78rem;
  margin-left: 6px;
  transition: 0.3s;
}
#topbar .tsoc a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.ttag {
  background: var(--secondary);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ===================== NAVBAR ===================== */
#nav {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 12px 0;
}
#nav.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), 0 1px 0 rgba(0, 0, 0, 0.06);
  padding: 8px 0;
}
.blogo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.bname {
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}
.bname span {
  color: var(--primary);
}
.bsub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  font-weight: 600;
}
.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: 10px 14px !important;
  position: relative;
  border-radius: 8px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* Search and Icons in Nav */
#navSearchBtn, .nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 1.05rem;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#navSearchBtn:hover, .nav-icon-btn:hover {
  background: var(--gray-100);
  color: var(--primary);
}
.nav-icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-icon-badge.badge-green {
  background: var(--secondary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white) !important;
  border-radius: 8px;
  padding: 10px 20px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
  margin-left: 8px;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  color: var(--white) !important;
}

/* ===================== SECTION COMMONS ===================== */
section {
  padding: 80px 0;
}
.slbl {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.stitle {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.stitle span {
  color: var(--primary);
}
.sline {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto 16px;
}
.sline.lft {
  margin-left: 0;
}
.sdesc {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.btn-red {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
  color: var(--white);
}

.btn-green {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--gray-200);
  background: transparent;
  color: var(--gray-700);
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ===================== SEARCH OVERLAY POPUP ===================== */
#searchOv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}
#searchOv.open {
  opacity: 1;
  pointer-events: auto;
}
.sovbox {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 680px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-40px);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#searchOv.open .sovbox {
  transform: translateY(0);
}
.sovclose {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gray-100);
  border: none;
  font-size: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: 0.3s;
}
.sovclose:hover {
  background: var(--primary);
  color: var(--white);
}
.sovbox h4 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
}
.sovinput {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 6px 12px;
  border: 2px solid transparent;
  transition: 0.3s;
}
.sovinput:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}
.sovinput input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 10px;
  font-family: "Poppins", sans-serif;
  color: var(--dark);
}
.sovinput button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.sovinput button:hover {
  background: var(--primary-hover);
}
.sovcats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}
.sovcat {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}
.sovcat:hover, .sovcat.active {
  background: var(--primary-light);
  color: var(--primary);
}
.sovtrend {
  margin-top: 25px;
  text-align: center;
}
.sovtrend p {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.sovtrend .ttag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 20px;
  padding: 4px 12px;
  margin: 4px;
  cursor: pointer;
  font-weight: 500;
  text-transform: none;
  font-size: 0.78rem;
  transition: 0.3s;
}
.sovtrend .ttag:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===================== HERO BANNER ===================== */
#hero {
  background: radial-gradient(circle at 80% 20%, #f5f3ff, var(--white) 60%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}
.hbgtxt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-weight: 900;
  font-family: "Outfit", sans-serif;
  color: rgba(79, 70, 229, 0.03);
  pointer-events: none;
  white-space: nowrap;
}
.hs {
  position: absolute;
  border-radius: 50%;
}
.hs1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
  top: -100px;
  right: -50px;
  animation: fsh 8s ease-in-out infinite;
}
.hs2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%);
  bottom: -60px;
  left: 5%;
  animation: fsh 10s ease-in-out infinite reverse;
}
.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 30px;
  padding: 6px 16px 6px 6px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.hbadge .hbi {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.74rem;
}
.hbadge span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
}
.htitle {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.htitle .hl {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.htitle .hl::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(79, 70, 229, 0.12);
  border-radius: 4px;
  z-index: -1;
}
.hdesc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 30px;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  transition: 0.3s;
  cursor: pointer;
}
.btn-play .pico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  font-size: 0.95rem;
  transition: 0.3s;
}
.btn-play:hover .pico {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}
.btn-play:hover {
  color: var(--primary);
}
.hstats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hstat .snum {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.hstat .snum em {
  color: var(--primary);
  font-style: normal;
}
.hstat small {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.hcircle {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #eef2ff, #c7d2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(79, 70, 229, 0.12);
}
.hcircle img {
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: 50%;
}
.fcard {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gray-100);
}
.fcard.fc1 {
  top: 45px;
  left: -20px;
  animation: fltc 4s ease-in-out infinite;
}
.fcard.fc2 {
  bottom: 60px;
  right: -30px;
  animation: fltc 4s ease-in-out infinite 1.5s;
}
.fcard.fc3 {
  top: 40%;
  right: -50px;
  animation: fltc 4s ease-in-out infinite 0.8s;
}
@keyframes fltc {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.fcoi {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.fcoi.r { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.fcoi.y { background: rgba(245, 158, 11, 0.15); color: var(--accent); }
.fcoi.g { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.fcnum {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  display: block;
}
.fcsm {
  font-size: 0.68rem;
  color: var(--gray-400);
}

/* ===================== MARQUEE ===================== */
.mqsec {
  background: var(--primary);
  padding: 14px 0;
  overflow: hidden;
}
.mqtrack {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: mqrun 25s linear infinite;
}
.mqitem {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mqitem i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
}
@keyframes mqrun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== CATEGORIES ===================== */
#category {
  background: var(--gray-50);
}
.catcard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}
.catcard:hover, .catcard.active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.catimg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  transition: 0.4s;
}
.catcard:hover .catimg {
  transform: scale(1.1) rotate(-3deg);
}
.catnm {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.catct {
  font-size: 0.76rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ===================== ABOUT SECTION ===================== */
#about {
  background: var(--white);
}
.astack {
  position: relative;
}
.amain {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.amain img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.asm {
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}
.asm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aexp {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}
.aexp .anum {
  font-family: "Outfit", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.aexp small {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 600;
  text-transform: uppercase;
}
.fti {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.ftico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.3s;
}
.ftico.r { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.ftico.y { background: rgba(245, 158, 11, 0.15); color: var(--accent); }
.ftico.g { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.fti:hover .ftico {
  transform: scale(1.1);
}
.fti h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.fti p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

/* ===================== PRODUCTS / SHOP CARD ===================== */
#products-section {
  background: var(--gray-50);
}
.filtbtn {
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: 0.3s;
  margin: 4px;
}
.filtbtn.active, .filtbtn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}
.mwrap {
  transition: 0.35s;
}
.mwrap.gone {
  display: none !important;
}
.mcard {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}
.mimg {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.mcard:hover .mimg img {
  transform: scale(1.08);
}
.mbdg {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
}
.mbdg.new { background: var(--secondary); }
.mbdg.hot { background: var(--accent); color: var(--white); }
.mhrt {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  transition: 0.3s;
  box-shadow: var(--shadow);
  z-index: 2;
}
.mhrt:hover {
  color: #ef4444;
  transform: scale(1.15);
}
.mbody {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mcat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.mtit {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.3;
}
.mdesc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}
.mfoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.mprice {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.mprice small {
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
.mstars {
  color: var(--accent);
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}
.madd {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
}
.mcard:hover .madd, .madd:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===================== PRODUCT DETAIL MODAL ===================== */
#menuPop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#menuPop.open {
  opacity: 1;
  pointer-events: auto;
}
.mpbox {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 820px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
  display: flex;
  overflow: hidden;
  position: relative;
  transform: scale(0.94) translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#menuPop.open .mpbox {
  transform: scale(1) translateY(0);
}
.mpclose {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gray-100);
  border: none;
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: 0.3s;
  z-index: 5;
}
.mpclose:hover {
  background: var(--primary);
  color: var(--white);
}
.mpimg {
  width: 45%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mpimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mpbody {
  width: 55%;
  padding: 40px;
  max-height: 85vh;
  overflow-y: auto;
}
#mpCat {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
#mpTitle {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
#mpStars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
#mpDesc {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
#mpPrice {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}
.mpmeta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 0;
}
.mpm {
  flex: 1;
  text-align: center;
}
.mpmv {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}
.mpml {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}
.mpqty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.mpqbtn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.mpqbtn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}
.mpqnum {
  font-weight: 700;
  font-size: 1rem;
  width: 30px;
  text-align: center;
}
.mptags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.mptag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.mpaddcart {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}
.mpaddcart:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

@media (max-width: 768px) {
  .mpbox {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }
  .mpimg {
    width: 100%;
    height: 260px;
  }
  .mpbody {
    width: 100%;
    padding: 24px;
  }
}

/* ===================== COUNTDOWN / PROMO BANNER ===================== */
#special {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.spbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
  z-index: 1;
}
.sptag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sptitle {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.sptitle span {
  color: var(--primary);
}
.spdesc {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 30px;
}
.cdwrap {
  display: flex;
  gap: 16px;
  margin-bottom: 35px;
}
.cditem {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 86px;
  text-align: center;
}
.cdnum {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.cdlbl {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.spimgw {
  position: relative;
  text-align: center;
}
.spglow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent 70%);
  pointer-events: none;
}
.sppbdg {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--secondary);
  color: var(--white);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-family: "Outfit", sans-serif;
  z-index: 2;
  transform: rotate(-10deg);
}
.sppbdg .old {
  font-size: 0.78rem;
  text-decoration: line-through;
  opacity: 0.75;
}
.sppbdg .np {
  font-size: 1.2rem;
  font-weight: 800;
}
.spimgw img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, 0.05);
}

/* ===================== GALLERY / SHOWCASE ===================== */
#gallery {
  background: var(--white);
}
.ggrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ggrid > div:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.ggrid > div:nth-child(2) { grid-column: span 3; }
.ggrid > div:nth-child(3) { grid-column: span 2; }
.ggrid > div:nth-child(4) { grid-column: span 2; }
.ggrid > div:nth-child(5) { grid-column: span 2; }

.gitem {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
}
.ggrid > div:nth-child(1) { height: 496px; }
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.gover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 80%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.3s;
}
.gover span {
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(12px);
  transition: 0.3s ease;
}
.gitem:hover img {
  transform: scale(1.06);
}
.gitem:hover .gover {
  opacity: 1;
}
.gitem:hover .gover span {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .ggrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ggrid > div:nth-child(1) { grid-column: span 2; height: 320px; }
  .ggrid > div:nth-child(2) { grid-column: span 2; }
  .ggrid > div:nth-child(3) { grid-column: span 1; }
  .ggrid > div:nth-child(4) { grid-column: span 1; }
  .ggrid > div:nth-child(5) { grid-column: span 2; }
}

/* GALLERY POPUP */
#galPop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}
#galPop.open { opacity: 1; pointer-events: auto; }
.gpbox {
  width: 90%;
  max-width: 750px;
  position: relative;
}
.gpclose {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.gpclose:hover { background: var(--primary); }
.gpbox img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 65vh;
  object-fit: cover;
}
.gpcap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  box-shadow: var(--shadow);
}
.gpcap h5 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.gpcap p { font-size: 0.86rem; color: var(--gray-500); margin: 0; line-height: 1.5; }
.gpnav {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.gpnav button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.gpnav button:hover { background: var(--primary); }

/* ===================== HISTORY TIMELINE ===================== */
#history {
  background: var(--gray-50);
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gray-200);
  transform: translateX(-50%);
}
.tli {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}
.tl-left, .tl-right {
  width: 46%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.tl-center {
  width: 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.tldot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.tli:hover .tldot {
  background: var(--secondary);
  transform: scale(1.25);
}
.tlyear {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.tli h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tli p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* Alternate Left/Right Text Visibility */
.tli:nth-child(odd) .tl-right { display: none; }
.tli:nth-child(even) .tl-left { display: none; }
.tli:nth-child(even) { flex-direction: row-reverse; }

@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .tli { flex-direction: row !important; margin-bottom: 30px; }
  .tl-left, .tl-right { width: 88% !important; display: block !important; margin-left: 20px; }
  .tl-center { width: 12% !important; justify-content: flex-start; }
  .tldot { margin-left: 7px; }
}

/* ===================== TEAM / CHEFS ===================== */
#chefs {
  background: var(--white);
}
.chcard {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.4s;
  border: 1px solid var(--gray-100);
}
.chcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.chimg {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.chimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.chcard:hover .chimg img {
  transform: scale(1.05);
}
.chsoc {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  transform: translateY(100%);
  transition: 0.3s ease;
}
.chcard:hover .chsoc {
  transform: translateY(0);
}
.chsoc a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: 0.3s;
}
.chsoc a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.chbody {
  padding: 20px;
  text-align: center;
}
.chnm {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.chrole {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.chexp {
  font-size: 0.74rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ===================== WAREHOUSE / COUNTER SECTION ===================== */
#hours {
  background: var(--dark);
  position: relative;
  padding: 70px 0;
  overflow: hidden;
}
.hrsbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
}
.hrscard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.hrsrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hrsrow:last-child { border: none; }
.hrsday {
  color: var(--gray-300);
  font-size: 0.86rem;
  font-weight: 500;
}
.hrstime {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
}
.hdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hdot.on { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }
.hdot.off { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.hrscta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  color: var(--white);
  text-align: center;
}
.hrscta h4 { font-size: 1.3rem; margin-bottom: 8px; color: var(--white); }
.hrscta p { font-size: 0.84rem; opacity: 0.85; margin-bottom: 20px; }
.btnw {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
}
.btnw:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-hover);
}

/* ===================== TESTIMONIALS ===================== */
#testimonials {
  background: var(--gray-50);
}
.tescard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  margin: 10px 0;
  position: relative;
}
.tesq {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.08);
  line-height: 1;
}
.tess {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 15px;
  display: flex;
  gap: 3px;
}
.testxt {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.tesauth {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tesauth img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.tesnm {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}
.tesrl {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 600;
}

/* ===================== NEWSLETTER ===================== */
#newsletter {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}
.nlbg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 80%, rgba(255,255,255,0.06), transparent 50%),
              radial-gradient(circle at 90% 20%, rgba(255,255,255,0.06), transparent 50%);
}
.nlw {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.nl-form-wrap {
  display: flex;
  background: var(--white);
  padding: 6px;
  border-radius: var(--radius);
  margin-top: 24px;
  box-shadow: var(--shadow-lg);
}
.nlinput {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 0.92rem;
  padding: 10px 16px;
  color: var(--dark);
}
.nlbtn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
}
.nlbtn:hover { background: var(--primary-hover); }

/* ===================== BLOG SECTION ===================== */
#blog {
  background: var(--white);
}
.blcard {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: 0.4s;
}
.blcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.blimg {
  position: relative;
  height: 220px;
}
.blimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bldatebdg {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--white);
  color: var(--dark);
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  line-height: 1.1;
}
.bldatebdg .bd { font-size: 1.15rem; font-weight: 800; display: block; color: var(--primary); }
.bldatebdg .bm { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--gray-400); }
.blbody {
  padding: 24px;
}
.bltag {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.bltit {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.bltit a { color: var(--dark); }
.bltit a:hover { color: var(--primary); }
.blmeta {
  display: flex;
  gap: 14px;
  font-size: 0.74rem;
  color: var(--gray-400);
  margin-bottom: 18px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 14px;
}
.blmeta span { display: inline-flex; align-items: center; gap: 4px; }
.blmore {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blmore:hover { color: var(--primary-hover); }

/* ===================== CONTACT SECTION ===================== */
#contact-section {
  background: var(--white);
}
.ctdark {
  background: var(--dark-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}
.ctdark h4 { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.ctsub { font-size: 0.84rem; color: var(--gray-400); margin-bottom: 30px; }
.ctitem {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.cticon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ctinfo strong { display: block; font-size: 0.8rem; text-transform: uppercase; color: var(--gray-400); letter-spacing: 0.8px; margin-bottom: 2px;}
.ctinfo span { font-size: 0.88rem; color: var(--white); line-height: 1.5; }
.ctsocrow {
  display: flex;
  gap: 10px;
  margin-top: 35px;
}
.ctsocrow a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 0.88rem;
}
.ctsocrow a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.sucmsg {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-hover);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
  display: none;
  text-align: center;
}
.sucmsg i { font-size: 1.5rem; margin-bottom: 8px; }
.sucmsg p { margin: 0; font-size: 0.88rem; font-weight: 600; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 70px 0 0;
  font-size: 0.86rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fnm {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}
.fnm span { color: var(--primary); }
.fdesc {
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 24px;
}
.fsoc a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--gray-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transition: 0.3s;
  font-size: 0.84rem;
}
.fsoc a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.ftit {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.flinks li { list-style: none; margin-bottom: 12px; }
.flinks li a { color: var(--gray-400); display: inline-flex; align-items: center; gap: 8px; }
.flinks li a:hover { color: var(--primary); transform: translateX(4px); }
.flinks li a i { font-size: 0.65rem; color: var(--primary); }
.fci {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.fciico {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 2px;
}
.fciinfo strong { display: block; color: var(--white); margin-bottom: 2px; }
.fbot {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  margin-top: 50px;
  color: var(--gray-400);
}
.fbot p span { color: #ef4444; }
.fbot a { color: var(--white); }
.fbot a:hover { color: var(--primary); }
.fbot div a { margin-left: 16px; }

/* Back to Top */
#btt {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
}
#btt.show { opacity: 1; pointer-events: auto; }
#btt:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* ============================================================
   NEW ECOMMERCE PAGES LAYOUT & STYLES
   ============================================================ */

/* 1. SHOP PAGE SIDEBAR & GRID */
.shop-layout {
  display: flex;
  gap: 30px;
}
.shop-sidebar {
  width: 260px;
  flex-shrink: 0;
}
.shop-content {
  flex-grow: 1;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}
.widget-list {
  list-style: none;
}
.widget-list li {
  margin-bottom: 10px;
}
.widget-list li:last-child { margin-bottom: 0; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.price-slider-wrap {
  padding: 10px 0;
}
.price-slider-wrap input {
  width: 100%;
  accent-color: var(--primary);
}
.price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 10px;
  color: var(--gray-600);
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: var(--gray-100);
  padding: 12px 20px;
  border-radius: var(--radius);
}
.toolbar-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-600);
}
.toolbar-select {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.84rem;
  outline: none;
  font-family: "Poppins", sans-serif;
}
.toolbar-select:focus {
  border-color: var(--primary);
}

/* 2. PRODUCT DETAILS LAYOUT */
.product-details-wrap {
  display: flex;
  gap: 40px;
}
.details-gallery {
  width: 45%;
}
.details-info {
  width: 55%;
}
.gallery-main {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-100);
  margin-bottom: 16px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
}
.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--gray-50);
}
.thumb-item.active, .thumb-item:hover {
  border-color: var(--primary);
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.details-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.details-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.details-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.details-rating .stars {
  color: var(--accent);
}
.details-rating .count {
  font-size: 0.84rem;
  color: var(--gray-400);
  font-weight: 500;
}
.details-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}
.details-price del {
  font-size: 1.2rem;
  color: var(--gray-400);
  margin-left: 10px;
  font-weight: 500;
}
.details-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}
.details-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 6px;
  background: var(--white);
}
.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: 0.3s;
}
.qty-btn:hover { background: var(--gray-100); color: var(--primary); }
.qty-val {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  background: none;
  outline: none;
}
.qty-val::-webkit-outer-spin-button,
.qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-val[type=number] {
  -moz-appearance: textfield;
}
.details-btn-cart {
  flex-grow: 1;
}
.details-btn-wish {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: 0.3s;
}
.details-btn-wish:hover, .details-btn-wish.active {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}
.details-meta {
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
  list-style: none;
}
.details-meta li {
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.details-meta li strong {
  color: var(--dark);
  font-weight: 600;
  width: 110px;
  display: inline-block;
}
.details-tabs {
  margin-top: 60px;
}
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-100);
  gap: 30px;
  margin-bottom: 24px;
}
.tab-link {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-400);
  border-bottom: 3px solid transparent;
  padding-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.tab-link.active, .tab-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid var(--gray-100);
}
.spec-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
}
.spec-table td:first-child {
  font-weight: 700;
  color: var(--dark);
  width: 200px;
}

@media (max-width: 768px) {
  .product-details-wrap { flex-direction: column; }
  .details-gallery, .details-info { width: 100%; }
  .gallery-main { height: 320px; }
}

/* 3. CART & WISHLIST PAGE TABLES */
.table-responsive {
  overflow-x: auto;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.cart-table th {
  background: var(--gray-100);
  color: var(--dark);
  font-weight: 700;
  padding: 16px;
  font-size: 0.88rem;
  text-transform: uppercase;
  text-align: left;
}
.cart-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}
.cart-prod-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-prod-cell img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
}
.cart-prod-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}
.cart-prod-name:hover {
  color: var(--primary);
}
.cart-prod-cat {
  font-size: 0.74rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.cart-price {
  font-weight: 700;
  color: var(--dark);
}
.cart-total {
  font-weight: 700;
  color: var(--primary);
}
.cart-remove {
  color: var(--gray-400);
  font-size: 1.1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.cart-remove:hover {
  color: #ef4444;
  transform: scale(1.15);
}
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.coupon-form {
  display: flex;
  gap: 10px;
}
.coupon-input {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 16px;
  outline: none;
  font-size: 0.88rem;
  font-family: "Poppins", sans-serif;
}
.coupon-input:focus {
  border-color: var(--primary);
}
.cart-summary-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
  max-width: 420px;
  margin-left: auto;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.summary-row:last-of-type {
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
}
.summary-row span:last-child {
  font-weight: 700;
}
.summary-row:last-of-type span:last-child {
  color: var(--primary);
}

/* 4. CHECKOUT LAYOUT */
.checkout-layout {
  display: flex;
  gap: 40px;
}
.checkout-form-side {
  width: 60%;
}
.checkout-summary-side {
  width: 40%;
}
.checkout-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.checkout-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 10px;
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-opt {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: 0.3s;
}
.payment-opt.active, .payment-opt:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.payment-opt input {
  accent-color: var(--primary);
  margin-top: 3px;
}
.payment-opt h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.payment-opt p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.checkout-summary-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
}
.checkout-summary-item-info {
  flex-grow: 1;
  margin-left: 12px;
}
.checkout-summary-item-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
}
.checkout-summary-item-qty {
  font-size: 0.74rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.checkout-summary-item-price {
  font-weight: 700;
  font-size: 0.88rem;
}

@media (max-width: 992px) {
  .checkout-layout { flex-direction: column; }
  .checkout-form-side, .checkout-summary-side { width: 100%; }
}

/* Category Directory Grid */
.cat-dir-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.cat-dir-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}
.cat-dir-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: 0.3s;
}
.cat-dir-card:hover img {
  transform: scale(1.08);
}
.cat-dir-card:hover .cat-dir-overlay {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.75) 0%, rgba(15, 23, 42, 0.5) 75%);
}
.cat-dir-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.cat-dir-count {
  font-size: 0.82rem;
  color: var(--gray-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================== HOMEPAGE SECTION TABS & SKELETON LOADERS ===================== */
.homesection-tabs {
  display: inline-flex;
  background: var(--gray-100);
  padding: 6px;
  border-radius: 50px;
  gap: 4px;
}
.sectab {
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.sectab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}
.sectab:hover:not(.active) {
  color: var(--dark);
}

/* Prices styling */
.mprices-wrapper {
  background: var(--gray-50);
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

/* Skeleton shimmering loaders */
.skeleton-card {
  pointer-events: none;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
}
.skeleton-img {
  height: 200px;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}
.skeleton-text {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}
.skeleton-title {
  height: 20px;
  width: 75%;
}
.skeleton-desc {
  height: 12px;
  width: 90%;
  margin-bottom: 16px;
}
.skeleton-price {
  height: 30px;
  width: 60%;
  margin-top: 15px;
}

@keyframes loading-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================================
   ENTERPRISE PRODUCTION UPGRADE - NEW CSS STYLES
   ============================================================ */

/* 1. Sticky Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  border-top: 1px solid var(--gray-200);
  padding: 6px 0;
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  flex: 1;
  transition: all 0.25s ease;
}
.mbn-item i {
  font-size: 1.25rem;
  margin-bottom: 3px;
  transition: transform 0.2s ease;
}
.mbn-item.active, .mbn-item:hover {
  color: var(--primary);
}
.mbn-item:hover i {
  transform: translateY(-2px);
}
.mbn-badge {
  position: absolute;
  top: -4px;
  right: 22%;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
}
.mbn-cart .mbn-badge {
  background: var(--secondary); /* Green for cart */
}

/* Adjust page padding on mobile to not hide content behind sticky bottom nav */
@media (max-width: 992px) {
  body {
    padding-bottom: 60px !important;
  }
}

/* 2. Quick View Card Overlays */
.mqv-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  border: none;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.mcard:hover .mqv-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.mqv-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* 3. Search suggestions overlay container */
.search-suggestions {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 15px;
  max-height: 350px;
  overflow-y: auto;
  border: 1px solid var(--gray-200);
  display: none;
  flex-direction: column;
  text-align: left;
  z-index: 999;
}
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.25s ease;
  text-decoration: none;
  color: var(--dark) !important;
}
.search-suggestion-item:last-child {
  border-bottom: none;
}
.search-suggestion-item:hover {
  background: var(--gray-50);
}
.search-suggestion-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--gray-100);
}
.search-suggestion-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.search-suggestion-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.search-suggestion-meta {
  font-size: 0.74rem;
  color: var(--gray-400);
  margin-top: 1px;
}
.search-suggestion-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}
.search-no-results {
  padding: 30px;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
}

/* 4. Flash Sale progress tracker */
.flash-progress-wrapper {
  margin-top: 10px;
}
.flash-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
}
.flash-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4px;
}
.flash-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 10px;
}

/* 5. Details Whatsapp and Share buttons */
.btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  border: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-share {
  background: var(--gray-100);
  color: var(--dark) !important;
  border: 1px solid var(--gray-200);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-share:hover {
  background: var(--gray-200);
  transform: translateY(-2px);
}

/* MOBILE RESPONSIVE OPTIMIZATIONS */
@media (max-width: 576px) {
  .mimg {
    height: 160px !important;
  }
  .mtit {
    font-size: 0.82rem !important;
    height: 38px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  .mbody {
    padding: 10px !important;
  }
  .mprices-wrapper span {
    font-size: 0.72rem !important;
  }
  .mprices-wrapper div {
    margin-bottom: 2px !important;
  }
  .mprice {
    font-size: 0.95rem !important;
  }
  .mcat {
    font-size: 0.68rem !important;
  }
  .badge {
    font-size: 0.65rem !important;
    padding: 2px 4px !important;
  }
  .mqv-btn {
    display: none !important; /* hide quick view on mobile cards since it takes space and click handles details */
  }
  
  /* Adjust category listings and general margins */
  .stitle {
    font-size: 1.5rem !important;
  }
}




/* PROMO BANNER CARDS & SERVICE BOXES */
.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important;
}
.promo-card, .service-box {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* BUY NOW & SOCIAL ORDER BUTTONS */
.btn-orange {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 120, 0, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-orange:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 120, 0, 0.35);
}
.btn-messenger {
  transition: all 0.3s ease;
}
.btn-messenger:hover {
  background: #0072db !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 132, 255, 0.35);
}
.btn-instagram {
  transition: all 0.3s ease;
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #25d366;
  color: #white !important;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  z-index: 9999;
  transition: all 0.3s ease;
}
.whatsapp-float i {
  color: #fff !important;
}
.whatsapp-float:hover {
  background: #20ba59;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}
@media (max-width: 992px) {
  .whatsapp-float {
    bottom: 150px; /* shift up to clear mobile sticky bottom nav */
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* FORM CONTROLS & LABELS FOR BILLING & CONTACT FORMS */
.flbl {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
  text-align: left;
}
.fctrl {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}
.fctrl:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.15);
}
select.fctrl {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}


/* MOBILE RESPONSIVE CART PAGE (TABLE TO CARD LIST) */
@media (max-width: 768px) {
  .cart-table thead {
    display: none !important;
  }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block !important;
    width: 100% !important;
  }
  .cart-table tr {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 15px !important;
    position: relative !important;
    box-shadow: var(--shadow) !important;
  }
  .cart-table td {
    padding: 8px 0 !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .cart-table td:first-child {
    display: block !important;
  }
  .cart-table td:last-child {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
  }
  .cart-table td[data-label]::before {
    content: attr(data-label);
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: var(--gray-500) !important;
  }
  .cart-table td:first-child::before, .cart-table td:last-child::before {
    content: none !important;
  }
  .cart-prod-cell {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .cart-prod-cell img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
  }
  .cart-actions {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .coupon-form {
    width: 100% !important;
  }
  .coupon-input {
    width: 70% !important;
  }
}

/* PRODUCT DETAILS MOB RESPONSIVE BUTTON ALIGNMENTS */
@media (max-width: 576px) {
  .details-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .qty-selector {
    max-width: 100% !important;
    justify-content: center !important;
  }
  .details-btn-cart, .details-btn-buy {
    width: 100% !important;
    justify-content: center !important;
  }
  .details-btn-wish {
    align-self: center !important;
  }
  
  /* Modal responsive adjustments */
  .modal-dialog {
    margin: 10px !important;
  }
}

/* HARDWARE ACCELERATED PERFORMANCE OPTIMIZATIONS */
.mcard, .promo-card, .service-box, .btn-red, .btn-orange, .madd, .mhrt {
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

/* ============================================================
   GOOGLE AUTHENTICATION & PROFILE STYLE
   ============================================================ */

/* Navigation Avatar styling */
.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  transition: border-color 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
}
.nav-avatar:hover {
  transform: scale(1.08);
  border-color: var(--primary-hover);
}
.mbn-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  margin-bottom: 2px;
  display: inline-block;
}

/* Premium Google Auth Page Layout */
.auth-wrapper {
  background: radial-gradient(circle at 10% 20%, rgba(255, 120, 0, 0.04) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 80px 0;
  min-height: calc(100vh - 450px);
  display: flex;
  align-items: center;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -15px rgba(255, 120, 0, 0.12), 0 12px 18px -10px rgba(0, 0, 0, 0.04);
}
.auth-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  animation: authFloat 3s ease-in-out infinite;
}
@keyframes authFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}
.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}
.auth-subtitle {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.5;
}
.auth-features {
  text-align: left;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--gray-100);
}
.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.auth-feature-item:last-child {
  margin-bottom: 0;
}
.auth-feature-item i {
  color: var(--secondary);
  font-size: 1rem;
}
.google-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 44px;
}

/* Profile view styling */
.profile-avatar-container {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}
.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: 0 8px 20px rgba(255, 120, 0, 0.15);
}
.profile-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--secondary);
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2.5px solid var(--white);
  box-shadow: var(--shadow);
}
.profile-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
}
.profile-email {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-logout {
  background: var(--white);
  color: #dc3545;
  border: 1.5px solid #fbc4c4;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
}
.btn-logout:hover {
  background: #fff5f5;
  border-color: #dc3545;
  color: #dc3545;
  transform: translateY(-1px);
}
.btn-shop-continue {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 0.92rem;
}
.btn-shop-continue:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 120, 0, 0.2);
}

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  will-change: opacity;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
  }
}

.cart-drawer.active {
  transform: translate3d(0, 0, 0);
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h5 {
  margin: 0;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.25rem;
  font-family: "Outfit", sans-serif;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.cart-drawer-close:hover {
  background-color: var(--gray-100);
  color: var(--dark);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Empty Cart State */
.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray-400);
  text-align: center;
}

.cart-drawer-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--gray-300);
}

.cart-drawer-empty p {
  margin: 0;
  font-size: 1rem;
}

/* Cart Item Row */
.cart-drawer-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}

.cart-drawer-item-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.cart-drawer-item-info {
  flex: 1;
  min-width: 0;
}

.cart-drawer-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-drawer-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.cart-drawer-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  width: fit-content;
  padding: 2px;
  background: var(--white);
}

.cart-drawer-qty-btn {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: background-color 0.2s;
}

.cart-drawer-qty-btn:hover {
  background-color: var(--gray-100);
}

.cart-drawer-qty-val {
  width: 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  border: none;
  background: none;
  outline: none;
}
.cart-drawer-qty-val::-webkit-outer-spin-button,
.cart-drawer-qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-drawer-qty-val[type=number] {
  -moz-appearance: textfield;
}

.cart-drawer-item-remove {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1rem;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.cart-drawer-item-remove:hover {
  background-color: #fef2f2;
  color: #ef4444;
}

/* Footer Section */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cart-drawer-total span:first-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
}

.cart-drawer-total span:last-child {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-drawer-actions .btn-view-cart {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  background: var(--gray-100);
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.cart-drawer-actions .btn-view-cart:hover {
  background-color: var(--gray-200);
}

.cart-drawer-actions .btn-checkout {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  border: none;
}

.cart-drawer-actions .btn-checkout:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(255, 120, 0, 0.2);
}

/* ============================================================
   APPLE-STYLE SPRING TRANSITIONS & ACTIVE PRESSED PHYSICS
   ============================================================ */
.btn-red, .btn-green, .btn-orange, .btn-messenger, .btn-instagram, .btn-whatsapp, 
.madd, .mhrt, .qty-btn, .mpclose, .cart-drawer-close, .mqv-btn, .navbar-nav .nav-link, .sticky-mobile-bar {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-red:active, .btn-green:active, .btn-orange:active, .btn-messenger:active, 
.btn-instagram:active, .btn-whatsapp:active, .madd:active, .mhrt:active, 
.qty-btn:active, .mpclose:active, .cart-drawer-close:active, .mqv-btn:active, .sticky-mobile-bar:active {
  transform: scale(0.95) !important;
}

/* ===================== STICKY MOBILE BAR ===================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: -90px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 16px;
  z-index: 990;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.03);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-mobile-bar.active {
  bottom: 60px;
}

/* ============================================================
   HIGH-PERFORMANCE & TOUCH LAG OPTIMIZATIONS
   ============================================================ */
/* Remove 300ms double-tap delay on mobile */
a, button, select, input, .mcard, .mhrt, .madd, .qty-btn {
  touch-action: manipulation;
}

/* GPU Acceleration for hardware rendering */
.mcard, .mbdg {
  will-change: transform, opacity;
}
.cart-drawer, #menuPop, .mpbox {
  will-change: transform, opacity;
}

/* Apple-style smooth zoom on product images */
.mimg img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ============================================================
   MOBILE FILTER DRAWER
   ============================================================ */

/* Mobile Filter Button in Toolbar */
.mobile-filter-btn {
  display: none;
}

@media (max-width: 991.98px) {

  /* Hide sidebar by default on mobile */
  .shop-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    width: 100% !important;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
    padding: 0 16px 100px 16px;
    transform: translateY(110%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    flex-shrink: 0;
  }

  /* Shown state */
  .shop-sidebar.filter-open {
    transform: translateY(0);
  }

  /* Backdrop */
  .filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1054;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .filter-backdrop.active {
    display: block;
    opacity: 1;
  }

  /* Mobile drawer header */
  .sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 12px;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
  }

  /* Drag handle pill */
  .shop-sidebar::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: 12px auto 4px;
  }

  /* Shop layout on mobile: single column, no gap */
  .shop-layout {
    flex-direction: column;
    gap: 0;
  }

  /* Products take full width */
  .shop-content {
    width: 100%;
  }

  /* Show mobile filter button */
  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .mobile-filter-btn:active {
    background: var(--primary);
    color: #fff;
  }

  /* Toolbar rearrangement on mobile */
  .shop-toolbar {
    flex-wrap: wrap;
    gap: 10px !important;
  }
}

/* On desktop: ensure backdrop is hidden */
@media (min-width: 992px) {
  .filter-backdrop {
    display: none !important;
  }
  .sidebar-mobile-header {
    display: none !important;
  }
  .shop-sidebar::before {
    display: none !important;
  }
}


/* ============================================================
   BENTO GRID CATEGORY SECTION
   ============================================================ */

.bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 260px 220px;
  gap: 16px;
}

/* BIG card: spans 2 rows on the left */
.bento-card.bento-big {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* TALL card: middle column, spans 2 rows */
.bento-card.bento-tall {
  grid-column: 2;
  grid-row: 1 / 3;
}

/* MEDIUM card: top right */
.bento-card.bento-medium {
  grid-column: 3;
  grid-row: 1;
}

/* WIDE card: bottom middle-right spanning 1 col */
.bento-card.bento-wide {
  grid-column: 3;
  grid-row: 2;
  display: none; /* becomes small on this layout */
}

/* SMALL cards: bottom right */
.bento-card.bento-small {
  grid-column: auto;
  grid-row: auto;
}

/* Restructure for 6 items */
.bento-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 280px 230px;
}

.bento-card.bento-big   { grid-column: 1; grid-row: 1 / 3; }
.bento-card.bento-tall  { grid-column: 2; grid-row: 1 / 3; }
.bento-card.bento-medium{ grid-column: 3; grid-row: 1; }
.bento-card.bento-wide  { display: none; }
.bento-card:nth-child(5){ grid-column: 3; grid-row: 2; }
.bento-card:nth-child(6){ display: none; }

/* BASE CARD STYLES */
.bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  background: var(--gray-100);
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover img {
  transform: scale(1.08);
}

/* Gradient Overlay */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-card:hover .bento-overlay {
  opacity: 0.9;
}

/* Text Content */
.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  z-index: 2;
  color: #fff;
}

.bento-badge {
  display: inline-block;
  background: rgba(255,120,0,0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bento-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.bento-card.bento-big .bento-content h3 {
  font-size: 1.65rem;
}

.bento-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 10px;
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.25s;
}

.bento-card:hover .bento-cta {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(4px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-card.bento-big   { grid-column: 1 / 3; grid-row: auto; height: 260px; }
  .bento-card.bento-tall  { grid-column: 1; grid-row: auto; height: 220px; }
  .bento-card.bento-medium{ grid-column: 2; grid-row: auto; height: 220px; }
  .bento-card:nth-child(4){ grid-column: 1; height: 200px; }
  .bento-card:nth-child(5){ grid-column: 2; height: 200px; }
  .bento-card:nth-child(6){ display: none; }
}

@media (max-width: 575.98px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bento-card.bento-big,
  .bento-card.bento-tall,
  .bento-card.bento-medium,
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: 200px;
  }
  .bento-content h3 { font-size: 1.1rem; }
  .bento-card.bento-big .bento-content h3 { font-size: 1.2rem; }
}

/* Homepage Horizontal Scroll Grid */
#mgrid, #flashSaleGrid, #recentGrid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 20px !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
}
#mgrid::-webkit-scrollbar, #flashSaleGrid::-webkit-scrollbar, #recentGrid::-webkit-scrollbar {
    height: 6px;
}
#mgrid::-webkit-scrollbar-track, #flashSaleGrid::-webkit-scrollbar-track, #recentGrid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
#mgrid::-webkit-scrollbar-thumb, #flashSaleGrid::-webkit-scrollbar-thumb, #recentGrid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
#mgrid > div, #flashSaleGrid > div, #recentGrid > div {
    flex: 0 0 auto !important;
    width: 65% !important;
    max-width: 260px !important;
    scroll-snap-align: start;
    padding-left: 8px !important;
    padding-right: 8px !important;
}
@media (min-width: 576px) {
    #mgrid > div, #flashSaleGrid > div, #recentGrid > div {
        width: 40% !important;
    }
}
@media (min-width: 768px) {
    #mgrid > div, #flashSaleGrid > div, #recentGrid > div {
        width: 30% !important;
    }
}
@media (min-width: 992px) {
    #mgrid > div, #flashSaleGrid > div, #recentGrid > div {
        width: 25% !important;
        max-width: 280px !important;
    }
}

/* Homepage Slider Arrow Styling */
.slider-container-wrapper {
    position: relative;
    width: 100%;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}
.slider-arrow:hover {
    background: #ff7800;
    color: white;
    border-color: #ff7800;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(255, 120, 0, 0.25);
}
.slider-arrow.left-arrow {
    left: -22px;
}
.slider-arrow.right-arrow {
    right: -22px;
}
@media (max-width: 768px) {
    /* Hide scroll arrows on mobile, swipe gesture is more native and easy to use */
    .slider-arrow {
        display: none !important;
    }
}

/* Premium "View All" Slider Card */
.view-all-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.view-all-card:hover {
    background: linear-gradient(135deg, rgba(255, 120, 0, 0.05) 0%, rgba(255, 120, 0, 0.12) 100%) !important;
    border-color: rgba(255, 120, 0, 0.4) !important;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(255, 120, 0, 0.1) !important;
}
.view-all-card:hover .view-all-icon-wrap {
    transform: scale(1.1);
    background: #e06600 !important;
}

/* Smart Sticky Header transition & GPU performance */
#nav {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s !important;
    will-change: transform;
}
#nav.nav-hidden {
    transform: translateY(-100%);
}

/* GPU Hardware Acceleration for zero-lag smooth animations */
.mcard, .mimg, .mimg img, .cart-drawer, .cart-drawer-overlay, .mqv-btn, .mhrt, .slider-arrow, .view-all-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Free Shipping Progress Bar Styles */
.free-shipping-bar-container {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}
.free-shipping-bar-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.free-shipping-bar-progress {
    background: var(--gray-200);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.free-shipping-bar-fill {
    background: linear-gradient(90deg, #f97316, #10b981);
    height: 100%;
    width: 0%;
    transition: width 0.4s ease;
}

/* ============================================================
   CUSTOMER AUTHENTICATION & PROFILE DROPDOWN STYLES
   ============================================================ */

/* Auth Modal Custom Styles */
#authModal .modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#authModal .btn-close {
    background-color: var(--gray-100);
    border-radius: 50%;
    padding: 8px;
    opacity: 0.8;
    transition: all 0.2s ease;
}

#authModal .btn-close:hover {
    background-color: var(--gray-200);
    opacity: 1;
    transform: rotate(90deg);
}

/* Form Input Enhancements inside Auth Modal */
#authModal .fctrl {
    border-radius: 10px;
    border: 1px solid var(--gray-300);
    padding: 11px 16px;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

#authModal .fctrl:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* OTP Code Input Styling */
#otpCode {
    letter-spacing: 8px !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: var(--dark);
    background: var(--gray-50);
    border: 2px dashed var(--gray-300) !important;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 12px !important;
    display: block;
}

#otpCode:focus {
    border-style: solid !important;
    border-color: var(--primary) !important;
    background: var(--white);
}

/* Error/Success Alert Messages */
#loginErrorMsg, #signupErrorMsg, #otpErrorMsg {
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.08);
    border-left: 4px solid #dc3545;
    margin-bottom: 16px;
    font-weight: 500;
}

/* User Profile Navbar Container & Dropdown */
.nav-user-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

#profileDropdownBtn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(255, 120, 0, 0.1);
}

#profileDropdownBtn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 8px rgba(255, 120, 0, 0.2);
    background: var(--primary) !important;
    color: var(--white) !important;
}

#profileDropdownBtn::after {
    display: none !important; /* Hide bootstrap default arrow */
}

/* User Dropdown Menu Premium Styles */
.nav-user-container .dropdown-menu {
    border: 1px solid var(--gray-200) !important;
    transform-origin: top right;
    animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav-user-container .dropdown-item:hover {
    background-color: rgba(220, 53, 69, 0.05) !important;
}


