@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Galada&family=Montserrat:wght@300;400;500;600;700;800&family=Noto+Serif+Bengali:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Tiro+Bangla:ital@0;1&display=swap');

@font-face {
  font-family: 'Shamim Cholontika';
  src: url('fonts/Shamim-Cholontika.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Dark Magenta Luxury Theme Palette */
  --bg-primary: #0a060c;
  --bg-secondary: #130a17;
  --bg-card: rgba(24, 13, 29, 0.85);
  --bg-card-hover: rgba(36, 18, 44, 0.95);
  --bg-modal: #150c1a;
  
  --magenta-300: #ff6eb8;
  --magenta-400: #f43f9a;
  --magenta-500: #d91b7d;
  --magenta-600: #ad1160;
  --magenta-700: #7a0942;
  
  --magenta-gradient: linear-gradient(135deg, #f43f9a 0%, #d91b7d 50%, #8b0c4c 100%);
  --magenta-gradient-subtle: linear-gradient(135deg, rgba(244, 63, 154, 0.15), rgba(139, 12, 76, 0.05));
  --magenta-glow: 0 10px 30px -8px rgba(217, 27, 125, 0.45);
  
  --gold-accent: #f5d485;
  --gold-gradient: linear-gradient(135deg, #fae4a8 0%, #d4af37 50%, #aa821f 100%);
  
  --border-magenta: rgba(217, 27, 125, 0.28);
  --border-magenta-light: rgba(244, 63, 154, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --text-main: #faf5f8;
  --text-muted: #a89aa8;
  --text-magenta: #ff6eb8;

  --bkash-color: #e2136e;
  --success-color: #10b981;
  --danger-color: #ef4444;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Smooth Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #2e1434;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--magenta-500);
}

/* Typography & Utility */
.font-serif {
  font-family: var(--font-serif);
}

.magenta-text {
  background: var(--magenta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-magenta {
  background: var(--magenta-gradient);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(217, 27, 125, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-magenta:hover {
  box-shadow: 0 8px 28px rgba(217, 27, 125, 0.6);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-magenta:active {
  transform: translateY(0);
}

.btn-magenta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 45%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shine 4.5s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-150%) rotate(30deg); }
  20%, 100% { transform: translateX(150%) rotate(30deg); }
}

.btn-outline-magenta {
  background: transparent;
  color: var(--magenta-300);
  border: 1px solid var(--border-magenta);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.88rem;
}

.btn-outline-magenta:hover {
  background: rgba(217, 27, 125, 0.15);
  border-color: var(--magenta-400);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(217, 27, 125, 0.25);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d060e;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-gold:hover {
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}

.btn-bkash {
  background: linear-gradient(135deg, #e2136e 0%, #b80d57 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(226, 19, 110, 0.4);
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-bkash:hover {
  box-shadow: 0 6px 24px rgba(226, 19, 110, 0.6);
  transform: translateY(-2px);
}

/* ====================================================== */
/* HEADER LAYOUT (Home, About, Shop on Left | Space | Right Actions) */
/* ====================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 6, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 27, 125, 0.2);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Left Section: Logo + Home, About, Shop */
.header-left-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-badge-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #f5ab1d;
  box-shadow: 0 0 12px rgba(245, 171, 29, 0.4);
  transition: var(--transition-smooth);
}

.brand-logo:hover .logo-badge-img {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 18px rgba(245, 171, 29, 0.7);
}

.brand-logo:hover .logo-badge {
  transform: rotate(6deg) scale(1.05);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-links-left {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links-left a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-links-left a:hover,
.nav-links-left a.active {
  color: #ffffff;
}

.nav-links-left a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--magenta-gradient);
  transition: width 0.3s ease;
}

.nav-links-left a:hover::after,
.nav-links-left a.active::after {
  width: 100%;
}

/* Middle Space (Flex spacer automatically handles generous gap) */
.header-spacer {
  flex-grow: 1;
}

/* Right Section: Search, Auth / My Orders, Cart Bag */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-container {
  position: relative;
}

.search-input {
  background: rgba(30, 16, 36, 0.85);
  border: 1px solid rgba(217, 27, 125, 0.25);
  border-radius: 24px;
  padding: 8px 16px 8px 36px;
  color: #fff;
  font-size: 0.85rem;
  width: 180px;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  width: 230px;
  border-color: var(--magenta-400);
  box-shadow: 0 0 12px rgba(217, 27, 125, 0.35);
  background: rgba(40, 20, 48, 0.95);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.cart-action-btn {
  background: rgba(30, 16, 36, 0.85);
  border: 1px solid rgba(217, 27, 125, 0.3);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.cart-action-btn:hover {
  border-color: var(--magenta-400);
  background: rgba(217, 27, 125, 0.2);
  color: var(--magenta-300);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(217, 27, 125, 0.35);
}

.cart-count-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--magenta-gradient);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ====================================================== */
/* HERO SECTION: 3 PORTRAIT IMAGES IN THE MIDDLE */
/* ====================================================== */
.hero-portrait-section {
  position: relative;
  padding: 60px 24px 70px 24px;
  background: radial-gradient(circle at center, rgba(58, 18, 54, 0.45) 0%, rgba(10, 6, 12, 0.98) 75%);
  overflow: hidden;
}

.hero-portrait-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portrait-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #190e1e;
  border: 1px solid rgba(217, 27, 125, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(217, 27, 125, 0.12);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.portrait-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--magenta-400);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(217, 27, 125, 0.35);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 7, 16, 0.85) 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition-smooth);
}

.portrait-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.portrait-subtitle {
  font-size: 0.8rem;
  color: var(--magenta-300);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* ====================================================== */
/* PRODUCT SHOWCASE & CATEGORIES */
/* ====================================================== */
.section-padding {
  padding: 70px 24px;
  max-width: 1380px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta-400);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: #ffffff;
  margin: 6px 0 12px 0;
  font-weight: 700;
}

.section-divider {
  width: 60px;
  height: 2.5px;
  background: var(--magenta-gradient);
  margin: 0 auto;
}

/* Category Cards */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 45px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid rgba(217, 27, 125, 0.2);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.category-card:hover,
.category-card.active {
  border-color: var(--magenta-400);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 27, 125, 0.25);
}

.category-card.active {
  border-color: var(--magenta-300);
}

.category-card-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
  display: block;
}

.category-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}

.category-card-count {
  font-size: 0.75rem;
  color: var(--magenta-300);
  margin-top: 4px;
}

/* Filter Toolbar */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  background: rgba(28, 14, 34, 0.7);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(217, 27, 125, 0.2);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: transparent;
  border: 1px solid rgba(217, 27, 125, 0.25);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--magenta-gradient);
  color: #ffffff;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(217, 27, 125, 0.4);
}

.sort-select {
  background: #1c0e22;
  border: 1px solid rgba(217, 27, 125, 0.3);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sort-select:focus {
  outline: none;
  border-color: var(--magenta-400);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(217, 27, 125, 0.2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 63, 154, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(217, 27, 125, 0.2);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #180d1c;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--magenta-gradient);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.quick-view-overlay-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(14, 7, 16, 0.94);
  color: var(--magenta-300);
  border: 1px solid var(--border-magenta);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 3;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.product-card:hover .quick-view-overlay-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.quick-view-overlay-btn:hover {
  background: var(--magenta-gradient);
  color: #fff;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta-400);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-specs-chip {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.current-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--magenta-300);
}

.original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.btn-add-cart {
  background: var(--magenta-gradient-subtle);
  border: 1px solid var(--border-magenta);
  color: #fff;
  height: 38px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.btn-add-cart:hover {
  background: var(--magenta-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 27, 125, 0.4);
}

.btn-buy-now {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid #10b981;
  color: #fff;
  height: 38px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.product-image-wrap {
  cursor: pointer;
}

.product-name {
  cursor: pointer;
}

/* Out of Stock Card & Badge Styles */
.product-card.out-of-stock {
  opacity: 0.82;
  border-color: rgba(239, 68, 68, 0.25);
}

.product-card.out-of-stock .product-image {
  filter: grayscale(40%) brightness(0.82);
}

.out-of-stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.btn-add-cart.disabled,
.btn-add-cart:disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Subcategory Filter Ribbon */
.subcategory-ribbon {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 22px;
  align-items: center;
}

.subcategory-ribbon::-webkit-scrollbar {
  display: none;
}

.subcat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 27, 125, 0.2);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.subcat-pill:hover,
.subcat-pill.active {
  background: rgba(217, 27, 125, 0.25);
  border-color: var(--magenta-400);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(217, 27, 125, 0.3);
}

/* Multi-Image Gallery in Product Detail Modal */
.product-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  user-select: none;
}

.gallery-main-img-wrap {
  position: relative;
  width: 100%;
  height: 330px;
  max-height: 350px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(217, 27, 125, 0.35);
  background: radial-gradient(circle at center, #1f0e24 0%, #0d0610 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(217, 27, 125, 0.1);
}

.gallery-main-img-wrap img,
#quickview-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), filter 0.28s ease;
}

#quickview-main-image.fading {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(4px);
}

/* Floating Navigation Arrows */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(23, 13, 26, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 27, 125, 0.4);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  opacity: 0.85;
}

.gallery-nav-btn:hover {
  background: var(--magenta-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 15px rgba(217, 27, 125, 0.6);
  opacity: 1;
}

.gallery-nav-btn.prev {
  left: 10px;
}

.gallery-nav-btn.next {
  right: 10px;
}

/* Image Index Counter Badge */
.gallery-counter-badge {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(15, 7, 18, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 27, 125, 0.3);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  z-index: 4;
}

/* Thumbnail Carousel Row */
.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.gallery-thumbs-row::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
  background: rgba(217, 27, 125, 0.3);
  border-radius: 4px;
}

.gallery-thumb-item {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  border: 2px solid rgba(217, 27, 125, 0.25);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: #180d1c;
  object-fit: cover;
  display: block;
  opacity: 0.65;
}

.gallery-thumb-item:hover {
  opacity: 0.9;
  border-color: rgba(217, 27, 125, 0.6);
  transform: translateY(-2px);
}

.gallery-thumb-item.active {
  opacity: 1;
  border-color: var(--magenta-400);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 14px rgba(217, 27, 125, 0.65);
}

.modal-actions-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .gallery-main-img-wrap {
    height: 270px;
    max-height: 290px;
  }
  .gallery-thumb-item {
    width: 54px;
    height: 54px;
  }
  .modal-actions-dual {
    grid-template-columns: 1fr;
  }
}

/* ====================================================== */
/* ABOUT BRAND & FOUNDER REVAMPED SECTORS */
/* ====================================================== */
.about-hero-revamped {
  text-align: center;
  padding: 60px 20px 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.about-sector-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 10px 0;
  flex-wrap: wrap;
}

.about-sector-nav-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 27, 125, 0.3);
  color: #cbd5e1;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-sector-nav-btn:hover {
  background: var(--magenta-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(217, 27, 125, 0.4);
}

.about-sector-wrap {
  max-width: 1240px;
  margin: 40px auto 70px auto;
  padding: 0 24px;
  scroll-margin-top: 90px;
}

.about-sector-header {
  margin-bottom: 36px;
  position: relative;
}

.about-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 50px;
}

.about-brand-visual-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-magenta);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--magenta-glow);
  background: #170b1a;
}

.about-brand-visual-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.about-brand-logo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  background: #180d1c;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand-quote-box {
  background: linear-gradient(135deg, rgba(217, 27, 125, 0.12) 0%, rgba(24, 12, 28, 0.8) 100%);
  border-left: 4px solid var(--magenta-400);
  border-top: 1px solid rgba(217, 27, 125, 0.2);
  border-right: 1px solid rgba(217, 27, 125, 0.2);
  border-bottom: 1px solid rgba(217, 27, 125, 0.2);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  font-size: 1.02rem;
  color: #f1f5f9;
  line-height: 1.7;
}

/* Material Pillars Grid */
.material-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.material-card {
  background: linear-gradient(180deg, rgba(30, 16, 36, 0.6) 0%, rgba(18, 9, 22, 0.9) 100%);
  border: 1px solid rgba(217, 27, 125, 0.2);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.material-card:hover {
  transform: translateY(-4px);
  border-color: var(--magenta-400);
  box-shadow: 0 10px 25px rgba(217, 27, 125, 0.25);
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--magenta-gradient);
}

.material-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.material-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.material-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Founder Spotlight Section */
.founder-spotlight-card {
  background: linear-gradient(135deg, rgba(35, 16, 42, 0.7) 0%, rgba(17, 8, 20, 0.95) 100%);
  border: 1px solid rgba(217, 27, 125, 0.3);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--magenta-glow);
  margin-bottom: 40px;
}

.founder-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-magenta);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.founder-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-role-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(14, 7, 17, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-magenta);
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
}

.founder-role-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.founder-role-title {
  color: var(--magenta-300);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.founder-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.8;
}

.founder-highlight-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 27, 125, 0.15);
  border: 1px solid var(--border-magenta);
  padding: 4px 12px;
  border-radius: 20px;
  color: #ff6ca5;
  font-weight: 700;
  font-size: 0.82rem;
}

.founder-milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.founder-milestone-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  border-radius: 10px;
}

.founder-milestone-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--magenta-300);
  font-weight: 700;
}

.founder-milestone-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .about-brand-grid {
    grid-template-columns: 1fr;
  }
  .founder-spotlight-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .founder-photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ====================================================== */
/* TRUST BADGES BAR (LOWERMOST POSITION) */
/* ====================================================== */
.trust-badges-bar {
  background: #110815;
  border-top: 1px solid rgba(217, 27, 125, 0.2);
  border-bottom: 1px solid rgba(217, 27, 125, 0.2);
  padding: 30px 20px;
  margin-top: 60px;
}

.trust-badges-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--magenta-gradient-subtle);
  border: 1px solid var(--border-magenta);
  color: var(--magenta-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ====================================================== */
/* SLIDE-OUT CART DRAWER & MODALS */
/* ====================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #140b17;
  border-left: 1px solid var(--border-magenta);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.75);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(217, 27, 125, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24, 13, 29, 0.95);
}

.cart-header-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.cart-close-btn:hover {
  color: var(--magenta-300);
}

.cart-free-shipping-progress {
  padding: 10px 22px;
  background: rgba(217, 27, 125, 0.1);
  border-bottom: 1px solid rgba(217, 27, 125, 0.15);
  font-size: 0.82rem;
  color: var(--magenta-300);
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(217, 27, 125, 0.3);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--magenta-300);
  font-weight: 700;
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(217, 27, 125, 0.3);
  border-radius: 6px;
  background: rgba(30, 16, 36, 0.6);
}

.qty-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: rgba(217, 27, 125, 0.25);
  color: var(--magenta-300);
}

.qty-display {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cart-item-remove:hover {
  text-decoration: underline;
}

.cart-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 3rem;
  color: var(--magenta-400);
  margin-bottom: 12px;
}

.cart-footer {
  padding: 18px 22px;
  background: rgba(20, 10, 24, 0.98);
  border-top: 1px solid rgba(217, 27, 125, 0.2);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  border-top: 1px dashed rgba(217, 27, 125, 0.25);
  padding-top: 10px;
  margin-top: 10px;
}

.cart-total-price {
  color: var(--magenta-300);
  font-family: var(--font-serif);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-modal);
  border: 1px solid var(--border-magenta);
  border-radius: 14px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--magenta-glow);
  position: relative;
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--magenta-gradient);
  color: #fff;
  border-color: transparent;
}

/* Checkout Tabs */
.checkout-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.payment-tab-btn {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(30, 16, 36, 0.7);
  border: 1px solid rgba(217, 27, 125, 0.25);
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.payment-tab-btn:hover {
  border-color: var(--magenta-400);
}

.payment-tab-btn.active.bkash-tab {
  background: linear-gradient(135deg, rgba(226, 19, 110, 0.25), rgba(184, 13, 87, 0.15));
  border-color: var(--bkash-color);
  color: #ffffff;
}

.payment-tab-btn.active.cod-tab {
  background: var(--magenta-gradient-subtle);
  border-color: var(--magenta-400);
  color: var(--magenta-300);
}

.payment-tab-btn.active {
  background: var(--magenta-gradient-subtle);
  border-color: var(--magenta-400);
  color: #ffffff;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-label .required {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #1c1022;
  border: 1px solid rgba(217, 27, 125, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--magenta-400);
  box-shadow: 0 0 12px rgba(217, 27, 125, 0.3);
  background: #24142c;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* bKash Guide Box */
.bkash-guide-box {
  background: rgba(226, 19, 110, 0.08);
  border: 1px solid rgba(226, 19, 110, 0.35);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.bkash-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 14px;
  border-radius: 6px;
  margin: 10px 0;
  border: 1px dashed rgba(226, 19, 110, 0.4);
}

.bkash-number-val {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ff5e9b;
}

.copy-btn {
  background: rgba(226, 19, 110, 0.25);
  color: #fff;
  border: 1px solid var(--bkash-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  background: var(--bkash-color);
}

.bkash-steps-list {
  font-size: 0.82rem;
  color: #d1d5db;
  padding-left: 20px;
  line-height: 1.6;
}

/* Invoice Modal */
.invoice-card {
  background: #170d1a;
  border: 1px solid var(--border-magenta);
  border-radius: 12px;
  padding: 28px;
}

.invoice-header {
  border-bottom: 1px solid rgba(217, 27, 125, 0.2);
  padding-bottom: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.invoice-badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}

.invoice-table th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(217, 27, 125, 0.2);
  color: var(--magenta-300);
}

.invoice-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
}

/* Status Badges */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.status-badge.pending {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid #eab308;
}

.status-badge.confirmed {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid #3b82f6;
}

.status-badge.shipped {
  background: rgba(217, 27, 125, 0.18);
  color: #f43f9a;
  border: 1px solid #d91b7d;
}

.status-badge.delivered {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid #10b981;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #1d0f23;
  border: 1px solid var(--border-magenta);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), var(--magenta-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  pointer-events: auto;
  animation: slideInToast 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

@keyframes slideInToast {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Footer */
.main-footer {
  background: #080409;
  border-top: 1px solid rgba(217, 27, 125, 0.2);
  padding: 60px 24px 24px 24px;
}

.footer-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--magenta-gradient);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--magenta-300);
}

.footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.payment-method-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.pay-badge.bkash {
  background: rgba(226, 19, 110, 0.15);
  border-color: var(--bkash-color);
  color: #ff6ca5;
}

.pay-badge.cod {
  background: rgba(217, 27, 125, 0.15);
  border-color: var(--magenta-500);
  color: var(--magenta-300);
}

/* ====================================================== */
/* MOBILE NAVIGATION DRAWER & HAMBURGER BUTTON */
/* ====================================================== */
.mobile-menu-btn {
  display: none;
  background: rgba(30, 16, 36, 0.85);
  border: 1px solid rgba(217, 27, 125, 0.3);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn:hover {
  border-color: var(--magenta-400);
  background: rgba(217, 27, 125, 0.2);
}

/* Mobile Nav Drawer Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Nav Drawer Container */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 310px;
  background: #140a17;
  border-right: 1px solid rgba(217, 27, 125, 0.3);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(217, 27, 125, 0.15);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.mobile-drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.mobile-drawer-close-btn:hover {
  background: rgba(217, 27, 125, 0.25);
  border-color: var(--magenta-400);
  color: var(--magenta-300);
}

.mobile-drawer-search {
  margin-bottom: 16px;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(217, 27, 125, 0.15);
  border-color: rgba(217, 27, 125, 0.3);
  color: #ffffff;
}

.mobile-nav-item .nav-icon {
  font-size: 1.15rem;
}

.mobile-drawer-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}

/* ====================================================== */
/* MOBILE BOTTOM NAVIGATION BAR (Sticky at bottom on phone) */
/* ====================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(16, 9, 19, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(217, 27, 125, 0.3);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  z-index: 90;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  flex: 1;
  padding: 6px 0;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-bottom-item:hover,
.mobile-bottom-item.active {
  color: var(--magenta-300);
}

.bottom-nav-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bottom-badge {
  top: -5px;
  right: -9px;
  width: 17px;
  height: 17px;
  font-size: 0.65rem;
}

/* ====================================================== */
/* RESPONSIVE MEDIA QUERIES (Mobile & Tablet Optimization) */
/* ====================================================== */

@media (max-width: 992px) {
  .hero-portrait-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
  }
  .header-left-nav {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* Show Mobile Nav components */
  .mobile-menu-btn {
    display: flex !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 64px !important;
  }
  
  /* Hide Desktop Nav Links & Desktop Search in Header */
  .nav-links-left {
    display: none !important;
  }
  .header-container {
    padding: 8px 14px !important;
    gap: 10px !important;
  }
  .header-left-nav {
    gap: 10px !important;
  }
  .brand-title {
    font-size: 1.12rem !important;
    letter-spacing: 0.06em !important;
  }
  .logo-badge-img {
    width: 30px !important;
    height: 30px !important;
  }
  .search-container {
    display: none !important;
  }
  #user-auth-widget {
    display: none !important;
  }
  .cart-action-btn {
    width: 38px !important;
    height: 38px !important;
  }

  /* Hero Section on Mobile */
  .home-hero-wrap {
    padding: 24px 14px 20px 14px !important;
  }
  .home-main-title {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem) !important;
    margin-bottom: 6px !important;
  }
  .home-sub-title {
    font-size: 0.78rem !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 22px !important;
  }
  .hero-portrait-container {
    grid-template-columns: 1fr !important;
    max-width: 340px !important;
    gap: 16px !important;
  }

  /* STORE / CATALOG PAGE ON MOBILE */
  .section-padding {
    padding: 26px 12px !important;
  }
  .section-header {
    margin-bottom: 20px !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }

  /* Horizontal Category Ribbon */
  .category-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px !important;
    margin-bottom: 20px !important;
    padding: 4px 2px 8px 2px !important;
  }
  .category-cards-grid::-webkit-scrollbar {
    display: none;
  }
  .category-card {
    flex: 0 0 125px !important;
    scroll-snap-align: start;
    padding: 12px 8px !important;
    border-radius: 10px !important;
  }
  .category-card-icon {
    font-size: 1.5rem !important;
    margin-bottom: 4px !important;
  }
  .category-card-title {
    font-size: 0.85rem !important;
  }
  .category-card-count {
    font-size: 0.68rem !important;
  }

  /* Filter Toolbar on Mobile */
  .filter-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    margin-bottom: 18px !important;
  }
  .filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px !important;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 0.78rem;
  }
  .filter-toolbar > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  #catalog-search-input {
    width: 100% !important;
  }
  .sort-select {
    width: 100% !important;
  }

  /* 2-COLUMN MODERN PRODUCT GRID ON SMARTPHONES */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-card {
    border-radius: 10px !important;
  }
  .product-body {
    padding: 10px !important;
  }
  .product-category {
    font-size: 0.65rem !important;
    margin-bottom: 2px !important;
  }
  .product-name {
    font-size: 0.88rem !important;
    min-height: 2.3em !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
  .product-specs-chip {
    font-size: 0.68rem !important;
    padding: 2px 5px !important;
    margin-bottom: 6px !important;
  }
  .current-price {
    font-size: 1.05rem !important;
  }
  .original-price {
    font-size: 0.75rem !important;
  }
  .product-pricing {
    margin-bottom: 8px !important;
  }
  .product-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .btn-add-cart,
  .btn-buy-now {
    height: 36px !important;
    padding: 0 4px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }
  .btn-add-cart span,
  .btn-buy-now span {
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
  }

  /* MODALS & CART DRAWER ON MOBILE */
  .modal-dialog {
    width: 95% !important;
    max-width: 95% !important;
    padding: 20px 16px !important;
    margin: 16px auto !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
  }
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }
  .checkout-tabs {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  .products-grid {
    gap: 8px !important;
  }
  .product-body {
    padding: 8px !important;
  }
  .product-name {
    font-size: 0.82rem !important;
  }
  .current-price {
    font-size: 0.96rem !important;
  }
  .brand-title {
    font-size: 1rem !important;
  }
  .product-actions {
    gap: 4px !important;
  }
  .btn-add-cart,
  .btn-buy-now {
    height: 34px !important;
    font-size: 0.70rem !important;
    gap: 2px !important;
    padding: 0 2px !important;
  }
  .btn-add-cart span,
  .btn-buy-now span {
    font-size: 0.72rem !important;
  }
}

/* ====================================================== */
/* ADMIN DASHBOARD STYLING & SECTION SWITCHING */
/* ====================================================== */
.admin-nav-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(217, 27, 125, 0.25);
  padding: 0 10px;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--magenta-400);
  background: rgba(217, 27, 125, 0.15);
}

.admin-section {
  display: none !important;
}

.admin-section.active {
  display: block !important;
  animation: fadeInAdmin 0.25s ease;
}

@keyframes fadeInAdmin {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====================================================== */
/* AUTHENTICATION, OTP & 2FA STYLING                      */
/* ====================================================== */
.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.otp-box-input {
  width: 46px;
  height: 52px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: #1c1022;
  border: 2px solid rgba(217, 27, 125, 0.35);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.otp-box-input:focus {
  border-color: var(--magenta-400);
  background: #24142c;
  box-shadow: 0 0 15px rgba(217, 27, 125, 0.4);
  outline: none;
}

.auth-info-banner {
  background: rgba(217, 27, 125, 0.12);
  border: 1px solid var(--border-magenta);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #f8fafc;
  line-height: 1.5;
  margin-bottom: 16px;
}

.auth-forgot-link {
  color: var(--magenta-300);
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
}

.auth-forgot-link:hover {
  color: #fff;
  text-decoration: underline;
}

.auth-switch-prompt {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
