/* =============================================
   KOREAN FASHION BD — MAIN STYLESHEET
   ============================================= */

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

/* ===========================
   CSS VARIABLES / DESIGN TOKENS
   =========================== */
:root {
  /* Colors */
  --primary:        #E91E8C;
  --primary-dark:   #C2166F;
  --primary-light:  #FF6FB7;
  --accent:         #FFD6EA;
  --accent-2:       #FFF0F7;
  --gold:           #F5A623;
  --dark:           #1A0A14;
  --dark-2:         #2D1B25;
  --gray:           #7A6575;
  --gray-light:     #C4A8B5;
  --border:         #F0D0E0;
  --surface:        #FFF5F9;
  --white:          #FFFFFF;
  --success:        #22C55E;
  --warning:        #F59E0B;
  --danger:         #EF4444;
  --info:           #3B82F6;

  /* Fonts */
  --font-main:    'Outfit', sans-serif;
  --font-bengali: 'Noto Sans Bengali', sans-serif;

  /* Shadows */
  --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 10px rgba(233, 30, 140, 0.08);
  --shadow-md:   0 4px 24px rgba(233, 30, 140, 0.15);
  --shadow-lg:   0 10px 50px rgba(233, 30, 140, 0.2);
  --shadow-card: 0 2px 14px rgba(0,0,0,0.07);

  /* Border Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 100px;

  /* Transitions */
  --t:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: all 0.15s ease;
  --t-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --sidebar-w:  220px;
  --header-h:   52px;
  --max-w:      1400px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: #FFF7FA;
  color: var(--dark-2);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 78px;
  position: relative;
}

/* Animated Girly Background Aura */
body::before {
  content: '';
  position: fixed;
  top: -25%;
  left: -25%;
  width: 150vw;
  height: 150vh;
  z-index: -2;
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 182, 217, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255, 214, 234, 0.65) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255, 111, 183, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(245, 166, 35, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 20% 75%, rgba(233, 30, 140, 0.2) 0%, transparent 45%);
  filter: blur(50px);
  animation: floatGirlyBg 16s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Floating Sparkle / Dot Grid Pattern */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(rgba(233, 30, 140, 0.15) 1.2px, transparent 1.2px),
    radial-gradient(rgba(255, 111, 183, 0.2) 1.2px, transparent 1.2px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  opacity: 0.55;
  animation: sparkleMove 22s linear infinite;
  pointer-events: none;
}

@keyframes floatGirlyBg {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-3%, 4%) scale(1.06) rotate(3deg);
  }
  100% {
    transform: translate(3%, -2%) scale(0.96) rotate(-2deg);
  }
}

@keyframes sparkleMove {
  0% {
    background-position: 0 0, 18px 18px;
  }
  100% {
    background-position: 36px 72px, 54px 90px;
  }
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--accent-2); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===========================
   ANNOUNCEMENT BAR
   =========================== */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light), var(--primary));
  background-size: 300% 100%;
  animation: gradientShift 6s ease infinite;
  color: white;
  padding: 4px 20px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.announcement-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.announcement-text .icon { font-size: 16px; }
.bar-social { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.bar-social a {
  color: white;
  opacity: 0.85;
  font-size: 14px;
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}
.bar-social a:hover { opacity: 1; transform: translateY(-1px); }
.bar-close-btn { background: rgba(255,255,255,0.2); border: none; color: white; border-radius: 4px; padding: 2px 8px; cursor: pointer; font-size: 16px; flex-shrink: 0; }

/* ===========================
   FIXED HEADER WRAPPER
   =========================== */
.sticky-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  background: white;
  height: var(--header-h);
  transition: var(--t);
}
.site-header.scrolled {
  height: 58px;
  box-shadow: 0 4px 30px rgba(233, 30, 140, 0.1);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(233,30,140,0.3);
  flex-shrink: 0;
}
.logo-text .brand { font-size: 17px; font-weight: 900; color: var(--primary); line-height: 1.1; letter-spacing: 0.04em; }
.logo-text .tagline { font-size: 9px; color: var(--gray); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* Search */
.search-wrapper {
  flex: 1;
  max-width: 380px;
  position: relative;
  margin-left: auto;
}
.search-input {
  width: 100%;
  height: 34px;
  border: 2px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0 100px 0 15px;
  font-size: 13px;
  color: var(--dark-2);
  background: var(--surface);
  transition: var(--t);
}
.search-input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.07);
}
.search-input::placeholder { color: var(--gray-light); }
.search-controls {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
}
.camera-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--t-fast);
}
.camera-btn:hover { background: var(--accent); }
.search-btn {
  height: 28px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-btn:hover { transform: scale(1.03); box-shadow: var(--shadow-sm); }

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 100;
  display: none;
  overflow: hidden;
}
.search-wrapper:focus-within .search-dropdown { display: block; }
.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--t-fast);
}
.search-dropdown-item:hover { background: var(--accent-2); color: var(--primary); }
.search-dropdown-item .icon { color: var(--gray-light); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.h-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-2);
  font-size: 20px;
  transition: var(--t);
  position: relative;
  text-decoration: none;
}
.h-icon-btn:hover { background: var(--accent-2); color: var(--primary); transform: translateY(-2px); }
.h-badge {
  position: absolute;
  top: 1px; right: 1px;
  min-width: 18px; height: 18px;
  background: var(--primary);
  color: white;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
  animation: popIn 0.3s ease;
}
@keyframes popIn { 0%{transform:scale(0)} 70%{transform:scale(1.2)} 100%{transform:scale(1)} }
.h-login-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
}
.h-login-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===========================
   MAIN LAYOUT (SIDEBAR + CONTENT)
   =========================== */
.main-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 24px;
  align-items: start;
}
.content-col { min-width: 0; }

/* ===========================
   SIDEBAR
   =========================== */
.cat-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  height: fit-content;
}
.sidebar-box {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.sidebar-head {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-list { padding: 6px 0; }
.cat-item { position: relative; }
.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--dark-2);
  transition: var(--t-fast);
  cursor: pointer;
  gap: 8px;
  user-select: none;
  text-decoration: none;
}
.cat-link:hover, .cat-link.active {
  background: var(--accent-2);
  color: var(--primary);
  padding-left: 20px;
}
.cat-link.active { font-weight: 600; border-left: 3px solid var(--primary); }
.cat-left { display: flex; align-items: center; gap: 10px; }
.cat-ico { font-size: 15px; width: 18px; text-align: center; }
.cat-lbl { font-weight: 500; }
.cat-arr { font-size: 11px; color: var(--gray-light); transition: var(--t-fast); }
.cat-link:hover .cat-arr { color: var(--primary); transform: translateX(3px); }
.cat-sep { height: 1px; background: var(--border); margin: 2px 0; }
/* Sub-category */
.sub-cat {
  background: linear-gradient(180deg, var(--accent-2), white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.cat-item:hover .sub-cat, .cat-item.open .sub-cat { max-height: 200px; }
.sub-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 7px 44px;
  font-size: 12.5px;
  color: var(--gray);
  transition: var(--t-fast);
}
.sub-link:hover { color: var(--primary); padding-left: 48px; }
.sub-link::before { content: '·'; font-size: 16px; margin-right: 2px; }

/* ===========================
   HERO SLIDER
   =========================== */
.hero-wrap { margin-bottom: 24px; }
.hero-slider {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, #f5e6ef, #ffe0f0);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1.04); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 36px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 55%;
  color: white;
}
.slide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 3px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}
.slide-title {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.slide-sub {
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.slide-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.sp-sale { font-size: 26px; font-weight: 900; color: #ffd700; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.sp-orig { font-size: 15px; text-decoration: line-through; opacity: 0.7; }
.slide-cta {
  background: white;
  color: var(--primary);
  padding: 10px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  transition: var(--t);
  width: fit-content;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.slide-cta:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 17px;
  transition: var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.slider-arrow:hover { background: white; transform: translateY(-50%) scale(1.12); box-shadow: var(--shadow-md); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.s-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  transition: var(--t);
  cursor: pointer;
}
.s-dot.active { width: 24px; background: white; }

/* ===========================
   MINI BANNERS
   =========================== */
.mini-banners-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.mini-banner {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  height: 140px;
  cursor: pointer;
}
.mini-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--t-slow);
}
.mini-banner:hover img { transform: scale(1.06); }
.mini-banner-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.52), rgba(0,0,0,0.05));
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}
.mb-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; margin-bottom: 3px; }
.mb-title { font-size: 18px; font-weight: 800; line-height: 1.2; }
.mb-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  width: fit-content;
  transition: var(--t-fast);
}
.mini-banner:hover .mb-cta { border-color: white; }

/* ===========================
   PRODUCT SECTIONS
   =========================== */
.product-section { margin-bottom: 32px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
}
.section-title { font-size: 19px; font-weight: 700; color: var(--dark-2); }
.view-more {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
}
.view-more:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

/* ===========================
   PRODUCT GRID
   =========================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ===========================
   PRODUCT CARD
   =========================== */
.pcard {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--t);
  position: relative;
  cursor: pointer;
}
.pcard:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 40px rgba(233, 30, 140, 0.18);
}
.pcard-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--accent-2);
}
.pcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--t-slow);
}
.pcard:hover .pcard-img img { transform: scale(1.08); }

/* Badges */
.disc-badge {
  position: absolute;
  top: 9px; left: 9px;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(233,30,140,0.4);
}
.new-tag {
  position: absolute;
  top: 9px; right: 9px;
  background: #22C55E;
  color: white;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.hot-tag {
  position: absolute;
  top: 9px; right: 9px;
  background: var(--danger);
  color: white;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

/* Card Hover Actions */
.pcard-actions {
  position: absolute;
  top: 10px; right: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(12px);
  transition: var(--t);
  z-index: 3;
}
.pcard:hover .pcard-actions { opacity: 1; transform: translateX(0); }
.pca-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: white;
  color: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--t-fast);
  border: none;
  cursor: pointer;
}
.pca-btn:hover { background: var(--primary); color: white; transform: scale(1.12); }
.pca-btn.wishlisted { color: var(--primary); }

/* Quick Add */
.quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 9px 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
}
.pcard:hover .quick-add { opacity: 1; transform: translateY(0); }

/* Card Info */
.pcard-info { padding: 10px 11px 12px; }
.pcard-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 7px;
}
.pcard-pricing {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.pcard-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-bengali);
}
.pcard-original {
  font-size: 11.5px;
  color: var(--gray-light);
  text-decoration: line-through;
  font-family: var(--font-bengali);
}
.pcard-sold {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--gray);
  margin-bottom: 4px;
}
.sold-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.sold-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
  border-radius: 2px;
}

/* ===========================
   TRUST SECTION
   =========================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 8px;
}
.trust-item {
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: var(--t-fast);
}
.trust-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.trust-item:last-child::after { display: none; }
.trust-item:hover { background: var(--accent-2); }
.trust-ico {
  font-size: 30px;
  margin-bottom: 10px;
  display: block;
}
.trust-t { font-size: 14px; font-weight: 700; color: var(--dark-2); margin-bottom: 3px; }
.trust-d { font-size: 12px; color: var(--gray); line-height: 1.45; }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--dark);
  color: white;
  margin-top: 80px;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
}
.footer-brand { }
.footer-brand .logo-text .brand { color: white; font-size: 20px; }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.45); }
.footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin: 16px 0 20px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 8px; }
.f-social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  transition: var(--t-fast);
  text-decoration: none;
}
.f-social-btn:hover { background: var(--primary); transform: translateY(-3px); }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-links a .arrow { font-size: 10px; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.contact-line .icon { color: var(--primary-light); margin-top: 2px; flex-shrink: 0; }
.pay-methods { margin-top: 20px; }
.pay-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom span { color: var(--primary-light); font-weight: 600; }
.dev-credits {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dev-credits a {
  color: #FF6FB7;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #FF6FB7, #FFD6EA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--t-fast);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 111, 183, 0.3);
  background-color: rgba(255, 111, 183, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dev-credits a:hover {
  border-color: rgba(255, 111, 183, 0.7);
  box-shadow: 0 0 14px rgba(255, 111, 183, 0.35);
  transform: translateY(-1px);
}

/* ===========================
   NOTIFICATIONS / TOAST
   =========================== */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 320px;
  border-left: 4px solid var(--primary);
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast-icon { font-size: 22px; flex-shrink: 0; }
.toast-text .t-title { font-weight: 700; font-size: 14px; color: var(--dark-2); }
.toast-text .t-sub { font-size: 12px; color: var(--gray); }

/* ===========================
   SHOP PAGE
   =========================== */
.shop-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}
.shop-sidebar-col {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  height: fit-content;
}
.filter-box {
  background: white;
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
}
.filter-box-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.filter-opts { display: flex; flex-direction: column; gap: 7px; }
.f-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--t-fast);
}
.f-opt:hover { background: var(--accent-2); }
.f-opt input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; flex-shrink: 0; }
.f-opt label { font-size: 13px; color: var(--dark-2); cursor: pointer; flex: 1; }
.f-opt .cnt { font-size: 11px; color: var(--gray-light); background: var(--surface); padding: 1px 7px; border-radius: 10px; }
.price-range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.price-range-inputs input {
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
  transition: var(--t-fast);
  width: 100%;
}
.price-range-inputs input:focus { border-color: var(--primary); }
.apply-filter-btn {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--t-fast);
}
.apply-filter-btn:hover { background: var(--primary-dark); }
.clear-filters-btn {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  color: var(--gray);
  border-radius: 8px;
  font-size: 12px;
  transition: var(--t-fast);
}
.clear-filters-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(233,30,140,0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t-fast);
}
.filter-chip:hover { background: rgba(233,30,140,0.18); }
.result-count { font-size: 13px; color: var(--gray); }
.result-count b { color: var(--dark-2); }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
.sort-sel {
  padding: 7px 30px 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--dark-2);
  cursor: pointer;
  transition: var(--t-fast);
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E91E8C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
}
.sort-sel:focus { border-color: var(--primary); outline: none; }
.view-btns { display: flex; gap: 3px; }
.v-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray);
  transition: var(--t-fast);
  cursor: pointer;
}
.v-btn.on, .v-btn:hover { background: var(--accent-2); color: var(--primary); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.page-btn {
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t-fast);
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===========================
   PRODUCT DETAIL PAGE
   =========================== */
.detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.gallery-col {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  height: fit-content;
}
.main-img-box {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--accent-2);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.main-img-box img { width: 100%; height: 100%; object-fit: cover; transition: var(--t-slow); }
.main-img-box:hover img { transform: scale(1.05); }
.thumb-row { display: flex; gap: 8px; }
.img-thumb {
  width: 68px; height: 86px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t-fast);
  flex-shrink: 0;
}
.img-thumb:hover, .img-thumb.on { border-color: var(--primary); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info col */
.info-col { padding-top: 4px; }
.d-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.d-tag {
  padding: 3px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.d-tag.sale { background: rgba(233,30,140,0.1); color: var(--primary); }
.d-tag.new { background: rgba(34,197,94,0.1); color: #16a34a; }
.d-tag.hot { background: rgba(239,68,68,0.1); color: #dc2626; }
.d-title {
  font-size: 25px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
}
.d-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.d-stars { color: var(--warning); letter-spacing: 1px; }
.d-price-box {
  background: var(--accent-2);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.d-sale { font-size: 30px; font-weight: 800; color: var(--primary); font-family: var(--font-bengali); }
.d-orig { font-size: 15px; color: var(--gray-light); text-decoration: line-through; font-family: var(--font-bengali); }
.d-save { font-size: 12.5px; color: var(--success); font-weight: 600; margin-top: 3px; }
.d-opt-label { font-size: 12.5px; font-weight: 700; color: var(--dark-2); margin-bottom: 8px; }
.size-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.sz-btn {
  padding: 7px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-2);
  transition: var(--t-fast);
  cursor: pointer;
}
.sz-btn:hover, .sz-btn.sel { border-color: var(--primary); color: var(--primary); background: rgba(233,30,140,0.05); }
.sz-btn.out { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }
.color-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.col-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: var(--t-fast);
  border: 2px solid transparent;
}
.col-swatch.sel, .col-swatch:hover { transform: scale(1.15); }
.col-swatch.sel::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 700;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.qty-q {
  width: 36px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--dark-2);
  transition: var(--t-fast);
  cursor: pointer;
}
.qty-q:hover { background: var(--accent-2); color: var(--primary); }
.qty-n {
  width: 44px; height: 38px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--dark-2);
}
.stock-info { font-size: 13px; color: var(--success); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.d-add-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: var(--t);
  margin-bottom: 11px;
  cursor: pointer;
  border: none;
}
.d-add-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.d-wish-btn {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--t-fast);
  cursor: pointer;
  background: white;
}
.d-wish-btn:hover { background: rgba(233,30,140,0.06); }

/* Product tabs */
.d-tabs { margin-top: 48px; }
.tab-btns { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; gap: 0; }
.tab-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  position: relative;
  transition: var(--t-fast);
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.on { color: var(--primary); }
.tab-btn.on::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.tab-pane { display: none; }
.tab-pane.on { display: block; }
.tab-pane p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 12px; }

/* ===========================
   CART PAGE
   =========================== */
.cart-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
.cart-box {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cart-box-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.clear-cart-btn { font-size: 13px; color: var(--gray); transition: var(--t-fast); }
.clear-cart-btn:hover { color: var(--danger); }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--t-fast);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--surface); }
.ci-img {
  width: 80px; height: 105px;
  border-radius: 10px;
  overflow: hidden;
}
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-size: 13.5px; font-weight: 600; color: var(--dark-2); margin-bottom: 4px; }
.ci-meta { font-size: 12px; color: var(--gray); }
.ci-price { font-size: 15px; font-weight: 700; color: var(--primary); font-family: var(--font-bengali); white-space: nowrap; }
.ci-qty { display: flex; align-items: center; gap: 6px; }
.ci-q-btn {
  width: 28px; height: 28px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--dark-2);
  cursor: pointer;
  transition: var(--t-fast);
}
.ci-q-btn:hover { border-color: var(--primary); color: var(--primary); }
.ci-q-val { font-weight: 700; min-width: 22px; text-align: center; font-size: 14px; }
.ci-remove {
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--gray-light);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t-fast);
}
.ci-remove:hover { color: var(--danger); background: rgba(239,68,68,0.08); }

/* Cart Summary */
.cart-summary-box {
  background: white;
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.cs-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 18px; }
.cs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  color: var(--dark-2);
}
.cs-row:last-of-type { border: none; }
.cs-row .v { font-weight: 600; }
.cs-row.total-row {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  padding-top: 14px;
  border-top: 2px solid var(--border);
  margin-top: 4px;
}
.cs-row.total-row .v { color: var(--primary); font-family: var(--font-bengali); }
.coupon-row { display: flex; gap: 7px; margin: 14px 0; }
.coupon-row input {
  flex: 1;
  padding: 9px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  transition: var(--t-fast);
}
.coupon-row input:focus { border-color: var(--primary); }
.apply-coup-btn {
  padding: 9px 14px;
  background: var(--dark-2);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--t-fast);
}
.apply-coup-btn:hover { background: var(--dark); }
.go-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  transition: var(--t);
  text-decoration: none;
  margin-top: 14px;
}
.go-checkout-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cont-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: var(--t-fast);
}
.cont-shopping:hover { color: var(--primary); }

/* ===========================
   CHECKOUT PAGE
   =========================== */
.checkout-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
.form-card {
  background: white;
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}
.form-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-2);
  display: flex;
  align-items: center;
  gap: 9px;
}
.form-card-title .ico { color: var(--primary); }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 12.5px; font-weight: 600; color: var(--dark-2); }
.fg.req label::after { content: ' *'; color: var(--primary); }
.fg input, .fg select, .fg textarea {
  padding: 10px 13px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--dark-2);
  transition: var(--t-fast);
  width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,140,0.07);
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Payment options */
.pay-options { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pay-opt {
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  cursor: pointer;
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 13px;
}
.pay-opt.sel { border-color: var(--primary); background: rgba(233,30,140,0.04); }
.pay-opt input[type="radio"] { accent-color: var(--primary); width: 17px; height: 17px; flex-shrink: 0; }
.pay-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.pay-ico.bkash { background: #E2136E1A; }
.pay-ico.nagad { background: #F552261A; }
.pay-ico.cod { background: rgba(34,197,94,0.1); }
.pay-lbl { font-weight: 600; font-size: 13.5px; }
.pay-sub { font-size: 11.5px; color: var(--gray); }
.place-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: var(--t);
  cursor: pointer;
  border: none;
  margin-top: 8px;
}
.place-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Order Summary Sticky */
.order-summ-box {
  background: white;
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.os-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.os-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.os-item { display: flex; align-items: center; gap: 10px; }
.os-img { width: 52px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; }
.os-img img { width: 100%; height: 100%; object-fit: cover; }
.os-img .qty-dot {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid white;
}
.os-name { font-size: 12.5px; font-weight: 600; color: var(--dark-2); flex: 1; }
.os-price { font-size: 13px; font-weight: 700; color: var(--primary); font-family: var(--font-bengali); white-space: nowrap; }
.os-divider { height: 1px; background: var(--border); margin: 10px 0; }
.os-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray); padding: 5px 0; }
.os-row b { color: var(--dark-2); }
.os-total { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 800; color: var(--dark); border-top: 2px solid var(--border); padding-top: 12px; margin-top: 4px; }
.os-total .v { color: var(--primary); font-family: var(--font-bengali); }

/* ===========================
   ORDER TRACKING PAGE
   =========================== */
.track-wrap { max-width: 880px; margin: 0 auto; padding: 40px 20px 60px; }
.track-search-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  text-align: center;
}
.track-search-card h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.track-search-card p { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.track-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.track-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  transition: var(--t-fast);
}
.track-form input:focus { border-color: var(--primary); }
.track-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--t-fast);
  white-space: nowrap;
}
.track-btn:hover { transform: scale(1.03); }
.order-card {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}
.oc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface);
}
.oc-id { font-size: 13px; color: var(--gray); }
.oc-id b { color: var(--dark-2); }
.oc-date { font-size: 12px; color: var(--gray-light); }
.o-status-pill {
  padding: 3px 13px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.os-pending { background: rgba(245,158,11,0.12); color: #d97706; }
.os-processing { background: rgba(59,130,246,0.12); color: #2563eb; }
.os-shipped { background: rgba(139,92,246,0.12); color: #7c3aed; }
.os-delivered { background: rgba(34,197,94,0.12); color: #16a34a; }
.os-cancelled { background: rgba(239,68,68,0.12); color: #dc2626; }
.oc-body { padding: 16px 20px; }
.oc-items { display: flex; flex-direction: column; gap: 10px; }
.oi-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.oi-row:last-child { border: none; }
.oi-img { width: 48px; height: 62px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.oi-img img { width: 100%; height: 100%; object-fit: cover; }
.oi-details { flex: 1; }
.oi-name { font-size: 13px; font-weight: 600; color: var(--dark-2); }
.oi-meta { font-size: 11.5px; color: var(--gray); margin-top: 2px; }
.oi-price { font-size: 13px; font-weight: 700; color: var(--primary); font-family: var(--font-bengali); }
.oc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}
.oc-total { font-size: 15px; font-weight: 700; color: var(--dark); }
.oc-total .tv { color: var(--primary); font-family: var(--font-bengali); font-size: 18px; }

/* ===========================
   SUCCESS PAGE
   =========================== */
.success-wrap { max-width: 580px; margin: 60px auto; padding: 0 20px; }
.success-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.succ-ico {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--success), #4ADE80);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: white;
  animation: popBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes popBounce { 0%{transform:scale(0);opacity:0} 60%{transform:scale(1.2)} 100%{transform:scale(1);opacity:1} }
.succ-title { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.succ-desc { font-size: 14px; color: var(--gray); margin-bottom: 22px; line-height: 1.6; }
.succ-oid { background: var(--accent-2); border-radius: var(--r-md); padding: 13px; font-size: 14px; font-weight: 600; color: var(--dark-2); margin-bottom: 26px; }
.succ-oid span { color: var(--primary); }
.succ-btns { display: flex; flex-direction: column; gap: 10px; }
.succ-btn-primary {
  padding: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--t);
  text-decoration: none;
}
.succ-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.succ-btn-sec {
  padding: 12px;
  border: 2px solid var(--border);
  color: var(--gray);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--t-fast);
  text-decoration: none;
}
.succ-btn-sec:hover { border-color: var(--primary); color: var(--primary); }

/* ===========================
   PAGE HERO BANNER
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: white;
  padding: 40px 20px 36px;
  text-align: center;
}
.ph-title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.ph-sub { font-size: 14px; opacity: 0.82; margin-bottom: 12px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.72;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* ===========================
   EMPTY STATES
   =========================== */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}
.es-ico { font-size: 60px; margin-bottom: 14px; }
.es-title { font-size: 20px; font-weight: 700; color: var(--dark-2); margin-bottom: 6px; }
.es-desc { font-size: 13.5px; color: var(--gray); margin-bottom: 22px; }
.es-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 26px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  transition: var(--t);
  text-decoration: none;
}
.es-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===========================
   MODAL
   =========================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--t);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-box {
  background: white;
  border-radius: var(--r-xl);
  padding: 30px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: scale(0.88) translateY(24px);
  transition: var(--t);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-backdrop.open .modal-box { transform: scale(1) translateY(0); }
.modal-x {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray);
  cursor: pointer;
  transition: var(--t-fast);
}
.modal-x:hover { background: var(--accent); color: var(--primary); }

/* ===========================
   MOBILE CATEGORY PILL BAR
/* ===========================
   MOBILE CATEGORY PILL BAR
   =========================== */
.mobile-cat-scroll {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 14px 10px;
  margin-top: 6px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.mobile-cat-scroll::-webkit-scrollbar { display: none; }
.m-cat-pill {
  white-space: nowrap;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: var(--t);
  flex-shrink: 0;
  text-decoration: none;
}
.m-cat-pill:hover, .m-cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ===========================
   STRICT OVERFLOW CONTROL
   =========================== */
html {
  overflow-x: hidden;
  width: 100%;
}
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ===========================
   RESPONSIVE MEDIA QUERIES
   =========================== */
@media (max-width: 1100px) {
  .main-wrap { grid-template-columns: 1fr; padding: 14px 16px 40px; }
  .cat-sidebar { display: none; }
  .mobile-cat-scroll { display: flex; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .shop-wrap { grid-template-columns: 1fr; }
  .shop-sidebar-col { display: none; }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-col { position: static; }
  .cart-grid { grid-template-columns: 1fr; gap: 20px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  body { padding-top: 72px; }
  :root { --header-h: auto; }

  /* ====== FIXED WRAPPER for sticky header + announcement bar ====== */
  .sticky-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }

  /* ====== COMPACT ANNOUNCEMENT BAR ====== */
  .announcement-bar {
    display: flex !important;
    padding: 4px 12px;
    background: linear-gradient(90deg, #e91e8c, #ff69b4);
  }
  .announcement-text {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: center;
    color: white;
    font-weight: 600;
  }
  .bar-close-btn { display: none; }

  /* ====== SINGLE ROW HEADER ====== */
  .site-header {
    height: 52px;
    padding: 0 10px;
    position: static;
    box-shadow: none;
  }
  .header-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 0;
  }

  .site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .brand-logo-img { height: 26px; }
  .logo-text .brand { font-size: 15px; font-weight: 800; }
  .logo-text .tagline { display: none; }

  /* Search bar takes remaining space */
  .search-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    margin-top: 0;
  }
  .search-input {
    width: 100%;
    height: 32px;
    padding: 0 36px 0 10px;
    font-size: 11.5px;
    border-radius: 16px;
  }
  .search-controls {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
  }
  .camera-btn { display: none; }
  .search-btn {
    height: 26px;
    width: 26px;
    padding: 0;
    min-width: 26px;
    border-radius: 50%;
    font-size: 0;    /* hide text, show only icon */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search-btn::after {
    content: '🔍';
    font-size: 13px;
  }

  /* Cart icon only */
  .header-actions {
    flex-shrink: 0;
    gap: 4px;
  }
  .h-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 17px;
    padding: 0;
  }

  /* ====== HERO SLIDER ====== */
  .hero-wrap { margin-bottom: 8px; }
  .hero-slider {
    width: 100%;
    height: 160px;
    min-height: auto;
    aspect-ratio: unset;
    border-radius: 12px;
    overflow: hidden;
  }
  .slide-bg {
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
  }
  .slide-content {
    max-width: 75%;
    padding: 10px 14px;
  }
  .slide-tag { font-size: 8.5px; padding: 1px 6px; margin-bottom: 2px; }
  .slide-title { font-size: 15px; line-height: 1.2; margin-bottom: 3px; }
  .slide-sub { display: none; }
  .slide-price-row { display: none; }
  .slide-cta { padding: 4px 11px; font-size: 10.5px; border-radius: 10px; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 6px; gap: 5px; }
  .s-dot { width: 6px; height: 6px; }
  .s-dot.active { width: 16px; }

  /* ====== MINI BANNERS — side by side ====== */
  .mini-banners-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }
  .mini-banner {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: unset;
  }
  .mini-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .mini-banner-ov {
    padding: 10px;
    background: linear-gradient(90deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.15) 80%, transparent 100%);
  }
  .mb-tag { font-size: 8px; opacity: 0.85; margin-bottom: 2px; letter-spacing: 0.04em; }
  .mb-title { font-size: 12px; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
  .mb-cta { margin-top: 4px; font-size: 9px; font-weight: 600; border-bottom: none; opacity: 0.9; }
  .slide-tag {
    font-size: 8px;
    padding: 1px 5px;
    margin-bottom: 2px;
    letter-spacing: 0.06em;
  }
  .slide-title {
    font-size: 13px;
    line-height: 1.15;
    margin-bottom: 2px;
  }
  .slide-sub { display: none; }
  .slide-price-row { display: none; }
  .slide-cta {
    padding: 3px 8px;
    font-size: 9.5px;
    border-radius: 8px;
    margin-top: 2px;
  }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 6px; gap: 4px; }
  .s-dot { width: 5px; height: 5px; }
  .s-dot.active { width: 14px; }

  /* Mini Banners (Side-by-Side 2-Column Grid on Mobile) */
  .mini-banners-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .mini-banner {
    height: 95px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .mini-banner-ov {
    padding: 10px;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 75%, transparent 100%);
  }
  .mb-tag { font-size: 8px; opacity: 0.85; margin-bottom: 2px; }
  .mb-title { font-size: 12.5px; font-weight: 800; line-height: 1.18; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
  .mb-cta { margin-top: 4px; font-size: 9.5px; font-weight: 600; border-bottom: none; }

  /* Product Section & Grid */
  .product-section { margin-bottom: 24px; }
  .section-head { margin-bottom: 12px; }
  .section-title { font-size: 17px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { border-radius: 12px; }
  .prod-title { font-size: 12.5px; line-height: 1.35; height: 2.7em; overflow: hidden; }
  .sale-price { font-size: 14.5px; }
  .orig-price { font-size: 11px; }
  .add-cart-btn { padding: 7px; font-size: 11.5px; border-radius: 8px; }
  .card-actions { top: 6px; right: 6px; }
  .card-btn { width: 30px; height: 30px; font-size: 13px; }

  /* Trust Strip */
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px 10px; }
  .trust-item { padding: 6px; gap: 6px; }
  .trust-ico { font-size: 18px; }
  .trust-t { font-size: 11.5px; }
  .trust-d { font-size: 9.5px; }

  /* Footer */
  .site-footer { padding-top: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { padding: 16px 12px; font-size: 11.5px; }

  /* Form & Checkout */
  .form-2col { grid-template-columns: 1fr; gap: 10px; }
  .fg input, .fg select, .fg textarea { font-size: 16px; padding: 10px 12px; }

  /* Product Detail */
  .detail-wrap { padding: 12px 10px; }
  .main-img-box { max-height: 340px; border-radius: 12px; }
  .thumb-row { gap: 6px; }
  .img-thumb { width: 50px; height: 65px; }
  .d-title { font-size: 18px; }
  .d-sale { font-size: 20px; }
  .d-add-btn { height: 44px; font-size: 14px; }

  /* Cart */
  .cart-page-wrap { padding: 12px 10px; }
  .cart-item { grid-template-columns: 55px 1fr; gap: 10px; position: relative; padding: 10px 8px; }
  .ci-img { width: 55px; height: 75px; }
  .ci-qty { margin-top: 4px; }
  .ci-price { font-size: 13.5px; margin-top: 2px; }
  .ci-remove { position: absolute; top: 8px; right: 8px; }

  /* Page Hero */
  .page-hero { padding: 20px 14px 16px; }
  .ph-title { font-size: 20px; }
  .ph-sub { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .bar-social { display: none; }
  .hero-slider { height: 195px; }
  .slide-content { max-width: 95%; padding: 12px; }
  .slide-title { font-size: 16px; }
  .slide-cta { padding: 5px 12px; font-size: 11px; }
  .product-grid { gap: 8px; }
  .trust-strip { grid-template-columns: 1fr; }
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .toolbar-right { justify-content: space-between; }
}
