/* ============================================================
   Livanamart - Modern Furniture E-commerce CSS (Full Mobile Responsive)
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #c0392b;
  --dark: #111;
  --mid: #555;
  --light: #f5f5f3;
  --border: #e5e5e5;
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Playfair Display', serif;
  --navy: #1a1a9c;
  --yellow: #f4e4a0;
  --cream: #f5f0e8;
  --tan: #c8a882;
  --light-tan: #d4b896;
}

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 33px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 20px; }
.topbar-left a { color: #fff; opacity: 0.85; transition: opacity 0.2s; }
.topbar-left a:hover { opacity: 1; }
.topbar-center { font-size: 13px; }
.topbar-center span { margin: 0 4px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .locale { display: flex; gap: 20px; margin-right: 25px; }
.topbar-right .socials { display: flex; gap: 12px; }
.topbar-right .socials a { color: #fff; font-size: 14px; opacity: 0.85; transition: opacity 0.2s; }
.topbar-right .socials a:hover { opacity: 1; }


/* ── HEADER ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  gap: 210px;
}

.header-left {
    width:100%;
  display: flex;
  align-items: center;
  gap: 91px;
  flex-shrink: 0;
}
.logo-img{    height: 42px;
    width: 100%;}
/* ── CENTER SECTION (Search + Seller Button) ── */
.header-center {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

/* ── LOGO ── */
.logo {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #000;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

/* ── SEARCH ── */
.header-search {
  flex: 1;
  max-width: 600px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 24px;
  padding: 10px 16px;
  transition: all 0.2s ease;
  gap: 8px;
}
.search-wrapper form{display: flex !important;}
.search-wrapper:focus-within {
  background: #fff;
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Categories inside search */
.search-categories-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-categories-btn:hover {
  color: #333;
}

.search-categories-btn .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.search-categories-dropdown:hover .search-categories-btn .dropdown-arrow {
  transform: rotate(180deg);
}

.search-categories-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  min-width: 200px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.search-categories-dropdown:hover .search-categories-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-category-item {
  display: block;
  padding: 11px 14px;
  color: #333;
  font-size: 13px;
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.search-category-item:hover {
  background: #f9f9f9;
  color: #1a1a9c;
  border-left-color: #1a1a9c;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #333;
  outline: none;
  min-width: 0;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  color: #333;
  font-size: 16px;
}

.search-btn:hover {
  transform: scale(1.1);
}

.search-divider {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  flex-shrink: 0;
}

/* ── BECOME A SELLER BUTTON ── */
.seller-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: transparent;
  border: 1.5px solid #1a1a9c;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a9c;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.seller-btn:hover {
  background: #1a1a9c;
  color: #fff;
}

.seller-btn-icon {
  font-size: 14px;
}

/* ── ACTIONS ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px 8px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  color: #333;
}

.action-btn:hover {
  transform: scale(1.1);
}

/* ── ACCOUNT DROPDOWN ── */
.account-dropdown {
  position: relative;
}

.account-dropdown-content {
  position: absolute;
  top: 100%;
  right: -8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  min-width: 280px;
  margin-top: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.account-dropdown:hover .account-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Account header section */
.account-header {
  padding: 16px 18px;
  background: linear-gradient(135deg, #1a1a9c 0%, #0f0f6e 100%);
  color: #fff;
  text-align: center;
}

.account-header-text {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  font-weight: 500;
}

.account-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.login-btn {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.8);
  color: #fff;
  border-radius: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.signup-btn {
  flex: 1;
  padding: 8px 12px;
  background: #fff;
  color: #1a1a9c;
  border: none;
  border-radius: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signup-btn:hover {
  background: #f0f0f0;
}

/* Divider */
.account-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 0;
}

/* Account menu items */
.account-menu {
  padding: 8px 0;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #333;
  font-size: 13px;
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.account-menu-item:hover {
  background: #f9f9f9;
  color: #1a1a9c;
  border-left-color: #1a1a9c;
}

.account-menu-item-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ── CART BADGE ── */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── MOBILE HAMBURGER ── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE DRAWER ── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  color: #fff;
}

.mobile-nav-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  padding: 8px 0;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active-parent {
  background: #f0f4ff;
  color: var(--navy);
}

.mobile-nav-link .chevron {
  font-size: 12px;
  color: #aaa;
}

.mobile-nav-submenu {
  display: none;
  background: #f8f8f8;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-submenu.open {
  display: block;
}

.mobile-nav-submenu a {
  display: block;
  padding: 10px 20px 10px 36px;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid #ebebeb;
  transition: color 0.15s;
}

.mobile-nav-submenu a:hover {
  color: var(--navy);
}

.mobile-nav-auth {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}

.mobile-auth-login {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-auth-login:hover {
  background: var(--navy);
  color: #fff;
}

.mobile-auth-signup {
  flex: 1;
  padding: 10px;
  border: none;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-auth-signup:hover {
  background: #0f0f6e;
}

/* ── NAVIGATION ── */
.nav {
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1000;
  font-family: 'Manrope', sans-serif;
  /* overflow-x is toggled by JS to auto on idle, visible on hover
     so mega dropdowns can escape the bar */
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  z-index:2;
}
.nav::-webkit-scrollbar { display: none; }

/* Ensure dropdown escape works — nav-item must be overflow-visible too */
.nav-item {
  overflow: visible;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0f0f0f;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  user-select: none;
}

.nav-item:hover {
  color: red;
}

.nav-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-item:hover svg {
  transform: rotate(180deg);
}

.nav-item .dot {
  width: 7px;
  height: 7px;
  background: #e8533f;
  border-radius: 50%;
  margin-left: -3px;
  margin-top: -10px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   MEGA DROPDOWN — SHARED
══════════════════════════════════════════ */
.mega-dropdown,
.simple-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0,0,0,0.13);
  border-top: 3px solid #e8533f;
  z-index: 9999;
  animation: navFadeIn 0.2s ease forwards;
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-item:hover .mega-dropdown,
.nav-item:hover .simple-dropdown {
  display: flex;
}

/* ══════════════════════════════════════════
   MEGA — IMAGE GRID + SIDEBAR TABS (Style 1)
══════════════════════════════════════════ */
.mega-categories {
  min-width: 780px;
  flex-direction: row;
}

/* Left sidebar */
.mega-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #f8f8f7;
  border-right: 1px solid #ebebeb;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}

.mega-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.mega-sidebar-item span {
  color: #aaa;
  font-size: 15px;
}

.mega-sidebar-item:hover {
  background: #f0f0ef;
  color: #e8533f;
  border-left-color: #e8533f;
}

.mega-sidebar-item.active {
  background: #fff;
  color: #e8533f;
  border-left-color: #e8533f;
}

/* Right tab panels wrapper */
.mega-tab-panels {
  flex: 1;
  padding: 20px 22px;
  min-height: 260px;
  position: relative;
}

/* Each panel hidden by default */
.mega-tab-panel {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  animation: tabFade 0.18s ease forwards;
}

/* Only active panel visible */
.mega-tab-panel.active {
  display: grid;
}

@keyframes tabFade {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Image cards inside panels */
.mega-image-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 12.5px;
  font-weight: 500;
  gap: 8px;
  transition: color 0.15s;
}

.mega-image-card:hover {
  color: #e8533f;
}

.mega-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  border-radius: 8px;
  overflow: hidden;
  background: #f0eeeb;
}

.mega-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mega-image-card:hover .mega-image-wrap img {
  transform: scale(1.06);
}

/* ══════════════════════════════════════════
   MEGA — MULTI-COLUMN + PROMO (Style 2)

══════════════════════════════════════════ */
.mega-columns {
  min-width: fit-content;
  flex-direction: row;
  padding: 24px;
  gap: 28px;
  align-items: flex-start;
}

/* Promo banner */
.mega-promo {
  width: 180px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #b85c4a, #7a3b2e);
  border-radius: 10px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.mega-promo::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.mega-promo-inner {
  position: relative;
  z-index: 1;
}

.mega-promo-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.mega-promo-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 16px;
}

.mega-promo-btn {
  display: inline-block;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mega-promo-btn:hover {
  background: #e8533f;
  color: #fff;
}

/* Multi-column links */
.mega-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.mega-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ebebeb;
  font-family: 'Manrope', sans-serif;
}

.mega-col a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s, padding-left 0.15s;
  line-height: 1.8;
}

.mega-col a:hover {
  color: #e8533f;
  padding-left: 4px;
}

/* ══════════════════════════════════════════
   SIMPLE DROPDOWN (Pages / Theme Features)
══════════════════════════════════════════ */
.simple-dropdown {
  flex-direction: column;
  min-width: 190px;
  padding: 8px 0;
}

.simple-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.simple-dropdown a:hover {
  background: #fdf5f4;
  color: #e8533f;
  padding-left: 26px;
}

/* ── QUICK CATEGORIES ── */
.quick-cats-wrapper {
  position: relative;
  display: flex;
    
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  background: #fff;
}
.quick-cats {
  display: flex;
    justify-content: space-around;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
}
.quick-cats::-webkit-scrollbar { display: none; }
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 90px;
  cursor: pointer;
  flex-shrink: 0;
}
.cat-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0f0ef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.cat-circle:hover {
  box-shadow: 0 0 0 2px var(--dark);
  transform: translateY(-2px);
}
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-label { font-size: 11px; font-weight: 600; text-align: center; color: #333; }

.qc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qc-arrow.left { left: 4px; }
.qc-arrow.right { right: 4px; }
.qc-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  margin: 16px 24px 0;
  border-radius: 12px;
  overflow: hidden;
  height: 255px;
  background: #1a1a1a;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
  padding: 48px 72px;
}
.slide.active { opacity: 1; }
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
}
.slide-content { position: relative; color: #fff; z-index: 10; max-width: 480px; }
.slide-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.85;
}
.slide-title {
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 1.05;
  margin-bottom: 19px;
}
.slide-btn {
  display: inline-block;
  background: #fff;
  color: var(--dark);
  border-radius: 40px;
  padding: 8px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.slide-btn:hover { background: var(--dark); color: #fff; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}
.slider-arrow {
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.45); }
.dot-indicator {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.dot-indicator.active { width: 28px; background: #fff; }

/* ── PRODUCTS SECTION - NEW ARRIVALS ── */
.products-section { padding: 0px 26px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1px;
}
.section-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.section-sub { font-size: 13px; color: var(--mid); margin-top: 4px; }
.section-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.tab {
  padding: 8px 0;
  margin-right: 24px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--mid);
  transition: all 0.2s;
}
.tab.active { color: var(--dark); border-color: var(--dark); }

.products-container { position: relative; display: flex; align-items: center; gap: 1px; padding: 6px 0; }
.scroll-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.scroll-btn svg { width: 18px; height: 18px; stroke: var(--dark); stroke-width: 2; fill: none; }
.scroll-btn:hover { background: var(--navy); border-color: var(--navy); }
.scroll-btn:hover svg { stroke: #fff; }

.products-grid {
  display: flex;
  gap: 18px;
  align-items: start;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  flex: 1;
}
.products-grid::-webkit-scrollbar { height: 4px; }
.products-grid::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.products-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

/* Product Card - New Arrivals (compact scroller style) */
.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  max-width: 180px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.22s, transform 0.22s;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-3px); }

.product-img {
  background: #f7f5f2;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.sale-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  padding: 3px 8px;
  z-index: 5;
}
.product-cat { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); margin-bottom: 2px; padding: 8px 10px 0; }
.product-name { font-size: 12px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-price { font-size: 13px; font-weight: 700; padding: 0 10px 10px; }
.product-price .old { text-decoration: line-through; color: var(--mid); font-weight: 400; margin-left: 4px; font-size: 11px; }
.price-red { color: var(--red); }

/* ── FEATURED BANNERS ── */
.flash-sale-section { padding: 28px 24px; }
.featured-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.banner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.banner-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.banner-image { position: absolute; inset: 0; z-index: 0; }
.banner-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.banner-card:hover .banner-image img { transform: scale(1.04); }
.banner-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}
.banner-content { position: relative; z-index: 2; padding: 16px 14px; }
.banner-type { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; margin-bottom: 5px; }
.banner-title { font-family: var(--font-display); font-size: 18px; line-height: 1.15; font-weight: 700; }

/* ── HOT OFFERS / TRENDING ── */
.hot-offers { padding: 8px 24px 24px; }
.offers-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 36px; }
.offer-card {
  border-radius: 14px;
  padding: 32px 36px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.offer-card.left-card { background: linear-gradient(135deg,#f5e5d9 0%,#ead5c5 100%); }
.offer-card.right-card { background: linear-gradient(135deg,#e5e0d9 0%,#d5cdc5 100%); }

/* Real image inside offer cards */
.offer-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.35;
}
.offer-content { position: relative; z-index: 2; }
.offer-content h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.offer-content p { font-size: 13px; color: #555; margin-bottom: 18px; line-height: 1.5; }
.offer-btn {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  cursor: pointer;
  transition: all 0.2s;
}
.offer-btn:hover { background: var(--red); }
.offer-badge {
  position: absolute;
  top: 28px; right: 28px;
  background: var(--yellow);
  color: var(--dark);
  padding: 12px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  z-index: 3;
}
.offer-badge.save-30 { background: var(--red); color: #fff; }

/* Filter pills */
.filter-pills { display: flex; gap: 10px; margin: 28px 0; overflow-x: auto; padding-bottom: 4px; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills { scrollbar-width: none; }
.pill-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f5f5f3;
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.pill-btn:hover { border-color: var(--dark); }
.pill-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ── TRENDING PRODUCTS GRID ── */
.trending-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.product-item {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.22s, transform 0.22s;
}
.product-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-3px); }
.product-showcase {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f7f5f2;
  overflow: hidden;
}
.product-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.product-item:hover .product-showcase img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 5;
}
.badge.sale { background: var(--red); color: #fff; }
.badge.new  { background: #2e7d5a; color: #fff; }
.flash-tag {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(255,255,255,0.92);
  color: var(--dark);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  z-index: 5;
}
.wishlist-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 5;
  transition: background 0.2s;
}
.wishlist-btn:hover { background: #fff; color: var(--red); }
.product-info { padding: 10px 12px 14px; }
.product-category { font-size: 8px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); margin-bottom: 3px; }
.product-title { font-size: 13px; font-weight: 600; margin-bottom: 5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rating { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.stars { font-size: 10px; color: #f5a623; letter-spacing: -1px; }
.rating-count { font-size: 9px; color: #aaa; }
.product-pricing { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.price.current { font-size: 14px; font-weight: 800; color: var(--red); }
.price.old { font-size: 10px; font-weight: 400; color: #aaa; text-decoration: line-through; }
.discount-pct { font-size: 9px; font-weight: 700; color: #2e7d5a; }
.color-swatches { display: flex; gap: 5px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #ddd; cursor: pointer; transition: transform 0.15s, border-color 0.15s; }
.swatch:hover { transform: scale(1.25); border-color: #555; }
.swatch.brown      { background: #8b6f4a; }
.swatch.taupe      { background: #a89a8a; }
.swatch.dark       { background: #2a2a2a; }
.swatch.light-gray { background: #d4d4d4; }

.shop-all-link {
  text-align: right;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: 7px;
}
.shop-all-link a { font-size: 13px; font-weight: 700; color: var(--dark); transition: color 0.2s; }
.shop-all-link a:hover { color: var(--red); }

/* ── FULL WIDTH BANNER ── */
.full-width-banner {
  height: 200px;
  width: 100%;
  margin: 20px 0;
  padding: 0 20px;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner-inner { max-width: 650px; }
.banner-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f0f0f0;
  margin-bottom: 6px;
  font-weight: 600;
}
.banner-heading {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.banner-action-btn {
  display: inline-block;
  padding: 11px 28px;
  background-color: #fff;
  color: #222;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: 40px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.banner-action-btn:hover { background-color: #e8e8e8; transform: translateY(-2px); }

/* ── TEAM SECTION ── */
.team-section { padding: 24px 24px; background: var(--cream); }
.team-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.team-content { position: relative; }
.team-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.team-title { font-family: var(--font-display); font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 32px; }
.team-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--yellow);
  color: var(--dark);
  padding: 16px;
  border-radius: 50%;
  width: 130px; height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.team-image { width: 100%; border-radius: 12px; overflow: hidden; }
.team-image img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; display: block; }


/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════════════ */

.hyper-footer {
  font-family: 'Manrope', sans-serif;
  color: #111;
  background: #fff;
  margin-top: 0;
}

/* ── INFO BAR ── */
.hf-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid #1a1a9c;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.hf-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-right: 1px solid #e5e5e5;
  transition: background 0.2s;
}

.hf-info-item:hover { background: #fafaf8; }
.hf-info-item:last-child { border-right: none; }

.hf-info-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid #e5e5e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #333;
  transition: border-color 0.2s, color 0.2s;
}

.hf-info-item:hover .hf-info-icon {
  border-color: #1a1a9c;
  color: #1a1a9c;
}

.hf-info-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
  margin-bottom: 3px;
}

.hf-info-text span,
.hf-info-text a {
  font-size: 12.5px;
  color: #666;
  text-decoration: none;
  transition: color 0.18s;
}

.hf-info-text a:hover { color: #c0392b; }

/* ── MAIN FOOTER BODY ── */
.hf-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  padding: 56px 48px 48px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

/* Brand column */
.hf-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #111;
  margin-bottom: 14px;
  display: block;
}

.hf-brand-desc {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hf-nl-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}

.hf-form {
  display: flex;
  border-radius: 40px;
  overflow: hidden;
  border: 1.5px solid #e0e0e0;
  background: #f7f7f5;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.hf-form:focus-within {
  border-color: #1a1a9c;
  background: #fff;
}

.hf-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  background: transparent;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #111;
  outline: none;
}

.hf-form input::placeholder { color: #bbb; }

.hf-form button {
  padding: 12px 22px;
  background: #111;
  color: #fff;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 40px;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.hf-form button:hover { background: #c0392b; }

.hf-legal {
  font-size: 11.5px;
  color: #aaa;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hf-legal a { color: #777; text-decoration: underline; }
.hf-legal a:hover { color: #c0392b; }

.hf-locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
  cursor: pointer;
  width: 100%;
  transition: color 0.18s;
}

.hf-locale:hover { color: #1a1a9c; }

.hf-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hf-pay {
  padding: 5px 11px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #555;
  background: #fafafa;
  letter-spacing: 0.3px;
  transition: border-color 0.18s, color 0.18s;
}

.hf-pay:hover { border-color: #1a1a9c; color: #1a1a9c; }

/* Link columns */
.hf-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hf-col h4 {
  font-size: 11px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #111;
}

.hf-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hf-col ul li a {
  font-size: 13.5px;
  color: #555;
  text-decoration: none;
  display: inline-block;
  transition: color 0.18s, padding-left 0.18s;
}

.hf-col ul li a:hover {
  color: #c0392b;
  padding-left: 4px;
}

/* Social column */
.hf-socials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hf-soc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: color 0.18s;
}

.hf-soc-link:hover { color: #c0392b; }

.hf-soc-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s;
}

.hf-soc-link:hover .hf-soc-icon {
  border-color: #c0392b;
  background: #fff5f5;
}

/* ── BOTTOM BAR ── */
.hf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: #f8f8f6;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid #e5e5e5;
}

.hf-copyright {
  font-size: 12.5px;
  color: #999;
}

.hf-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.hf-bottom-links li a {
  font-size: 12.5px;
  color: #999;
  text-decoration: none;
  transition: color 0.18s;
}

.hf-bottom-links li a:hover { color: #c0392b; }

.hf-bottom-icons {
  display: flex;
  gap: 8px;
}

.hf-bottom-icons a {
  width: 34px;
  height: 34px;
  border: 1.5px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.hf-bottom-icons a:hover {
  border-color: #111;
  color: #fff;
  background: #111;
}


/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — COMPLETE MOBILE OVERHAUL
══════════════════════════════════════════════════════════════════════════════ */

/* ── 1200px ── */
@media (max-width: 1200px) {
  .header { padding: 12px 24px; gap: 16px; }
  .header-left { gap: 24px; }
  .header-center { gap: 12px; }
  .header-search { max-width: 380px; }
  .search-categories-btn { font-size: 11px; }
  .seller-btn { padding: 9px 14px; font-size: 12px; }
  .account-dropdown-content { min-width: 260px; }
  .trending-products { grid-template-columns: repeat(4, 1fr); }
  .featured-banners { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
  .header-left { gap: 16px; }
  .header-center { gap: 10px; }
  .header-search { max-width: 300px; }
  .seller-btn { padding: 8px 12px; font-size: 11px; }
  .account-dropdown-content { min-width: 240px; }
  .trending-products { grid-template-columns: repeat(3, 1fr); }
  .featured-banners { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 340px; }
  .slide-title { font-size: 44px; }

  /* Footer */
  .hf-main { grid-template-columns: 280px 1fr; gap: 48px; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  /* Hide desktop nav, show hamburger */
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .header { flex-wrap: nowrap; }
  .header-left { gap: 12px; flex-shrink: 0; }
  .header-center { gap: 8px; }
  .header-search { max-width: none; }
  .seller-btn { display: none; }

  .trending-products { grid-template-columns: repeat(3, 1fr); }

  /* Footer columns */
  .hf-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hf-main { grid-template-columns: 1fr; gap: 40px; }
  .hf-info-bar { grid-template-columns: repeat(2, 1fr); }
  .hf-info-item { border-bottom: 1px solid #e5e5e5; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  /* Top bar */
  .topbar { display: none; }

  /* Header */
  .header {
    padding: 10px 8px 10px 0;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .header-left { gap: 10px; }
  .logo { font-size: 18px; }

  .header-center {
    flex: 1;
    gap: 8px;
    min-width: 0;
  }

  .header-search { flex: 1; min-width: 0; }
  .search-wrapper { padding: 8px 12px; gap: 6px; }
  .search-input { font-size: 12px; }
  .search-categories-btn span:first-child { display: none; }
  .search-categories-btn { font-size: 10px; }

  .header-actions { gap: 12px; }
  .action-btn { font-size: 18px; padding: 4px 6px; }

  .account-dropdown-content {
    min-width: 280px;
    right: -20px;
  }

  /* Hero */
  .hero { height: 240px; margin: 12px 12px 0; }
  .slide { padding: 24px 24px; }
  .slide-title { font-size: 30px; }
  .slide-label { font-size: 10px; letter-spacing: 1.5px; }

  /* Products section */
  .products-section { padding: 0 16px; }
  .section-title { font-size: 24px; }
  .product-card { min-width: 150px; max-width: 150px; }
  .product-img { height: 150px; }

  /* Featured banners */
  .flash-sale-section { padding: 20px 16px; }
  .featured-banners { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .banner-card { min-height: 160px; }
  .banner-title { font-size: 15px; }

  /* Hot offers */
  .hot-offers { padding: 8px 16px 20px; }
  .offers-promo { grid-template-columns: 1fr; gap: 16px; }
  .offer-card { padding: 24px 24px; min-height: 180px; }
  .offer-content h3 { font-size: 22px; }

  /* Trending grid */
  .trending-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-showcase { height: 160px; }

  /* Full width banner */
  .full-width-banner { height: 160px; }
  .banner-heading { font-size: 28px; }
  .banner-sub { font-size: 10px; letter-spacing: 2px; }

  /* Team */
  .team-section { padding: 24px 16px; }
  .team-container { grid-template-columns: 1fr; gap: 24px; }
  .team-title { font-size: 32px; }
  .team-badge { width: 100px; height: 100px; font-size: 9px; }

  /* Quick cats */
  .quick-cats-wrapper { padding: 0 36px; }
  .cat-circle { width: 60px; height: 60px; }
  .cat-item { min-width: 76px; }

  /* Footer */
  .hf-info-bar { grid-template-columns: repeat(2, 1fr); }
  .hf-info-item { padding: 16px 16px; gap: 12px; }
  .hf-info-icon { width: 40px; height: 40px; }
  .hf-main { padding: 32px 20px 28px; }
  .hf-bottom {
    padding: 16px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .hf-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ── 600px ── */
@media (max-width: 600px) {
    .logo-img{    height: auto;
    width: 88px;}
  /* Header: tighter layout */
  .header { padding: 10px 12px; gap: 8px; }
  .logo { font-size: 16px; }

  /* Hide search categories divider on very small screens */
  .search-divider { display: none; }
  .search-categories-btn { display: none; }

  /* Actions: only show key icons */
  .header-actions { gap: 8px; }
  .action-btn { font-size: 17px; padding: 4px; }

  /* Hero */
  .hero { height: 200px; margin: 10px 10px 0; }
  .slide { padding: 20px 18px; }
  .slide-title { font-size: 24px; margin-bottom: 12px; }
  .slide-label { display: none; }
  .slide-btn { font-size: 12px; padding: 7px 18px; }
  .slider-dots { bottom: 14px; gap: 6px; }
  .slider-arrow { width: 28px; height: 28px; font-size: 15px; }
  .dot-indicator { width: 6px; height: 6px; }
  .dot-indicator.active { width: 20px; }

  /* Products section */
  .products-section { padding: 0 12px; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 12px; }
  .tab { font-size: 12px; margin-right: 16px; }

  /* Product card */
  .product-card { min-width: 140px; max-width: 140px; }
  .product-img { height: 140px; }
  .product-name { font-size: 11px; }
  .product-price { font-size: 12px; }

  /* Featured banners — stack on very small */
  .flash-sale-section { padding: 16px 12px; }
  .featured-banners { grid-template-columns: 1fr 1fr; gap: 8px; }
  .banner-card { min-height: 130px; }
  .banner-title { font-size: 13px; }
  .banner-content { padding: 10px; }

  /* Offers */
  .hot-offers { padding: 8px 12px 16px; }
  .offer-card { padding: 20px 18px; min-height: 160px; }
  .offer-content h3 { font-size: 20px; }
  .offer-content p { font-size: 12px; margin-bottom: 14px; }
  .offer-badge { top: 16px; right: 16px; padding: 8px 12px; font-size: 11px; }

  /* Filter pills */
  .filter-pills { margin: 16px 0; gap: 8px; }
  .pill-btn { font-size: 11px; padding: 7px 12px; }

  /* Trending grid */
  .trending-products { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-showcase { height: 140px; }
  .product-title { font-size: 12px; }
  .product-info { padding: 8px 10px 10px; }
  .price.current { font-size: 13px; }

  /* Full width banner */
  .full-width-banner { height: 140px; margin: 16px 0; }
  .banner-heading { font-size: 22px; margin-bottom: 10px; }
  .banner-sub { letter-spacing: 1.5px; }
  .banner-action-btn { padding: 9px 20px; font-size: 12px; }

  /* Team */
  .team-section { padding: 20px 12px; }
  .team-title { font-size: 28px; margin-bottom: 20px; }
  .team-badge { display: none; }

  /* Quick cats */
  .quick-cats-wrapper { padding: 0 30px; }
  .cat-circle { width: 54px; height: 54px; }
  .cat-item { min-width: 68px; }
  .cat-label { font-size: 10px; }

  /* Footer */
  .hf-info-bar { grid-template-columns: 1fr; }
  .hf-info-item { border-right: none; border-bottom: 1px solid #e5e5e5; padding: 14px 16px; }
  .hf-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hf-brand-name { font-size: 26px; }
  .hf-brand-desc { font-size: 12.5px; }
  .hf-col h4 { font-size: 10px; margin-bottom: 14px; }
  .hf-col ul li a { font-size: 12.5px; }
  .hf-bottom { padding: 14px 16px; gap: 10px; }
}

/* ── 400px (tiny phones) ── */
@media (max-width: 400px) {
  .header { padding: 8px 10px; }
  .logo { font-size: 15px; }

  /* Hero: minimal */
  .hero { height: 180px; margin: 8px 8px 0; border-radius: 8px; }
  .slide { padding: 16px 14px; }
  .slide-title { font-size: 20px; margin-bottom: 10px; }
  .slide-btn { font-size: 11px; padding: 6px 14px; }

  /* Products */
  .products-section { padding: 0 8px; }
  .product-card { min-width: 130px; max-width: 130px; }
  .product-img { height: 130px; }

  /* Banners: single column */
  .featured-banners { grid-template-columns: 1fr; gap: 8px; }
  .banner-card { min-height: 150px; }

  /* Trending: single column */
  .trending-products { grid-template-columns: 1fr 1fr; gap: 6px; }
  .product-showcase { height: 130px; }

  /* Offers */
  .offers-promo { gap: 12px; }
  .offer-card { padding: 16px; min-height: 140px; }
  .offer-content h3 { font-size: 18px; }
  .offer-btn { padding: 8px 16px; font-size: 11px; }

  /* Hot offers section */
  .hot-offers { padding: 8px 8px 12px; }
  .flash-sale-section { padding: 12px 8px; }

  /* Full banner */
  .full-width-banner { height: 120px; }
  .banner-heading { font-size: 18px; }
  .banner-action-btn { padding: 7px 16px; font-size: 11px; }

  /* Footer */
  .hf-cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hf-main { padding: 24px 12px 20px; }
  .hf-form button { padding: 10px 14px; font-size: 11px; }
  .hf-bottom { padding: 12px; }
  .hf-bottom-links { gap: 8px; }
}

/* ── Touch Device Enhancements ── */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap targets */
  .action-btn { padding: 8px; }
  .tab { padding: 10px 0; }
  .pill-btn { padding: 11px 18px; }
  .mobile-nav-link { padding: 16px 20px; }

  /* Remove hover transforms on touch */
  .product-card:hover,
  .product-item:hover,
  .banner-card:hover { transform: none; }

  /* Cat circles: no hover transform */
  .cat-circle:hover { transform: none; }

  /* Scroll arrows: always visible on touch */
  .qc-arrow { display: flex; }

  /* Wishlist btn: always visible */
  .wishlist-btn { opacity: 1; }
}
/* ============================================================
   category.css  —  Category / Product Listing Page
   Appends to style.css. Do NOT override base variables.
   ============================================================ */

/* ── CATEGORY HEADER ── */
.cat-header-wrap {
  background: linear-gradient(135deg, #f8f6ff 0%, #f0f4ff 50%, #fff8f0 100%);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mid);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--navy); }

.breadcrumb span.sep {
  color: #bbb;
  font-size: 10px;
}

.cat-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}

.cat-tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 8px;
}

.cat-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.cat-desc {
  font-size: 13px;
  color: var(--mid);
  max-width: 520px;
  line-height: 1.6;
}

.cat-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cat-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
}

.cat-stat i {
  font-size: 13px;
  color: var(--navy);
}

.cat-header-right { flex-shrink: 0; }

.cat-header-img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ── MAIN LAYOUT ── */
.cat-body {
  display: flex;
  gap: 0;
  padding: 0 32px;
  align-items: flex-start;
  min-height: 60vh;
}

/* ── FILTER SIDEBAR ── */
.filter-sidebar {
  width: 232px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 20px 0 40px;
  position: sticky;
  top: 65px;
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd #fff;
}

.filter-sidebar::-webkit-scrollbar { width: 3px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
}

.filter-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-title i {
  font-size: 14px;
  color: var(--navy);
}

.filter-clear {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.filter-clear:hover { color: var(--red); }

.filter-group { border-bottom: 1px solid var(--border); }

.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.filter-group-header:hover { background: #fafafa; }

.filter-group-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dark);
}

.filter-toggle-icon {
  font-size: 11px;
  color: var(--mid);
  transition: transform 0.3s;
}

.filter-toggle-icon.open { transform: rotate(0deg); }
.filter-toggle-icon:not(.open) { transform: rotate(0deg); }

.filter-group-body {
  padding: 0 20px 14px;
  display: none;
}

.filter-group-body.open { display: block; }

/* Price range */
.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price-input-box {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  background: #fafafa;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  min-width: 0;
}

.price-input-box:focus {
  border-color: var(--navy);
  background: #fff;
}

.price-sep {
  font-size: 12px;
  color: var(--mid);
  font-weight: 600;
  flex-shrink: 0;
}

.price-range-track {
  position: relative;
  height: 4px;
  background: #e5e5e5;
  border-radius: 10px;
  margin: 8px 0 16px;
}

.price-range-fill {
  position: absolute;
  height: 100%;
  background: var(--navy);
  border-radius: 10px;
  left: 0;
  right: 0;
}

input[type="range"].price-slider {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  top: 0;
  left: 0;
}

input[type="range"].price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  pointer-events: all;
  cursor: pointer;
  transition: transform 0.15s;
}

input[type="range"].price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"].price-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid #fff;
  pointer-events: all;
  cursor: pointer;
}

/* Checkboxes */
.filter-check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  flex: 1;
}

.filter-check-label input[type="checkbox"] {
  accent-color: var(--navy);
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-count {
  font-size: 10px;
  color: #aaa;
  font-weight: 600;
}

/* Star rating rows */
.star-row {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: #f5a623;
  letter-spacing: 1px;
}

.star-row .star-text {
  font-size: 11px;
  color: #555;
  font-weight: 500;
  letter-spacing: 0;
}

.filter-apply-btn {
  width: 100%;
  padding: 10px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.filter-apply-btn:hover {
  background: #0f0f6e;
  transform: translateY(-1px);
}

.filter-show-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
  padding: 0;
}

.filter-show-more:hover { color: var(--red); }

.hidden-brand { display: none !important; }

/* ── PRODUCTS AREA ── */
.products-area {
  flex: 1;
  min-width: 0;
  padding: 20px 0 40px 24px;
}

/* Toolbar */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.products-count {
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
}

.products-count strong {
  color: var(--dark);
  font-weight: 800;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sort-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mid);
  white-space: nowrap;
}

.sort-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sort-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.sort-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.sort-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.view-toggle {
  display: flex;
  gap: 4px;
  margin-left: 10px;
}

.view-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--mid);
  transition: all 0.2s;
}

.view-btn:hover,
.view-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Active filter tags */
.active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.active-filter-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f0f4ff;
  border: 1px solid #c5d3ff;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}

.active-filter-tag a {
  color: var(--navy);
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s;
}

.active-filter-tag a:hover { color: var(--red); }

/* ── PRODUCT LISTING GRID ── */
.product-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* List view variant */
.product-listing-grid.list-view {
  grid-template-columns: 1fr;
}

.product-listing-grid.list-view .plp-card {
  display: flex;
  flex-direction: row;
}

.product-listing-grid.list-view .plp-img-wrap {
  width: 180px;
  min-width: 180px;
  height: auto;
  flex-shrink: 0;
}

.product-listing-grid.list-view .plp-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PLP Card */
.plp-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: pointer;
  position: relative;
}

.plp-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.plp-card.oos { opacity: 0.75; }

/* Image wrapper */
.plp-img-wrap {
  position: relative;
  height: 200px;
  background: #f7f5f2;
  overflow: hidden;
}

.plp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.plp-card:hover .plp-img-wrap img { transform: scale(1.06); }

/* Badges */
.plp-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 3px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
}

.plp-badge.new-badge { background: #2e7d5a; }
.plp-badge.hot-badge { background: #e67e22; }

/* Wishlist */
.plp-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  z-index: 5;
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.plp-wishlist:hover {
  background: #fff;
  color: var(--red);
  transform: scale(1.1);
}

.plp-wishlist.active {
  color: var(--red);
}

.plp-wishlist.active i::before { content: '\f004'; } /* filled heart */

/* OOS overlay */
.plp-oos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.plp-oos-tag {
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 40px;
  letter-spacing: 0.5px;
}

/* Card body */
.plp-body { padding: 11px 12px 12px; }

.plp-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3px;
}

.plp-assured {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 4px;
}

.plp-assured i { font-size: 9px; }

.plp-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

/* Rating */
.plp-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
}

.plp-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.plp-rating-badge i { font-size: 8px; }

.plp-rating-count {
  font-size: 10px;
  color: #aaa;
  font-weight: 500;
}

/* Pricing */
.plp-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.plp-price-curr {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
}

.plp-price-old {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
}

.plp-discount {
  font-size: 10px;
  font-weight: 700;
  color: #2e7d5a;
}

.plp-low-stock {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

/* Actions */
.plp-actions {
  display: flex;
  gap: 7px;
}

.plp-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.plp-cart-btn:hover { background: #0f0f6e; }

.plp-cart-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.plp-cart-btn i { font-size: 11px; }

.plp-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: var(--mid);
  transition: all 0.2s;
  flex-shrink: 0;
  text-decoration: none;
}

.plp-view-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #f0f4ff;
}

/* ── NO RESULTS ── */
.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 16px;
  display: block;
}

.no-results h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.no-results p {
  font-size: 13px;
  color: var(--mid);
}

.no-results a {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
  text-decoration: none;
}

.no-results a:hover { background: #0f0f6e; }

/* ── PAGINATION ── */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  transition: all 0.2s;
  padding: 0 10px;
  text-decoration: none;
}

.page-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #f0f4ff;
}

.page-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  pointer-events: none;
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.page-info {
  font-size: 12px;
  color: var(--mid);
  padding: 0 8px;
}

/* ── MOBILE FILTER TOGGLE ── */
.mobile-filter-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(26, 26, 156, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.mobile-filter-toggle:hover { background: #0f0f6e; }

.mobile-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  margin-left: 2px;
}

/* Mobile overlay */
.mobile-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 130;
}

.mobile-filter-overlay.active { display: block; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1300px) {
  .product-listing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .cat-body { padding: 0 20px; }
  .filter-sidebar { width: 210px; }
  .product-listing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .cat-body { padding: 0 16px; }

  /* Sidebar becomes an off-canvas drawer on mobile */
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    max-height: 100vh;
    border-right: none;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 140;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    background: #fff;
    padding-bottom: 80px;
  }

  .filter-sidebar.open { transform: translateX(0); }

  .products-area { padding: 20px 0 40px; }
  .mobile-filter-toggle { display: flex; }

  .product-listing-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .cat-header-wrap { padding: 16px 16px 0; }
  .cat-header { flex-direction: column; align-items: flex-start; }
  .cat-title { font-size: 28px; }
  .cat-header-img { width: 100%; height: 120px; }
}

@media (max-width: 600px) {
  .cat-body { padding: 0 12px; }

  .products-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sort-group { width: 100%; flex-wrap: wrap; }

  .sort-btns {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .sort-btns::-webkit-scrollbar { display: none; }

  .product-listing-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .plp-img-wrap { height: 160px; }

  .plp-name { font-size: 12px; min-height: 30px; }

  .plp-price-curr { font-size: 13px; }

  .cat-title { font-size: 24px; }

  .cat-stats { gap: 12px; }

  .pagination-wrap { gap: 4px; }
  .page-btn { min-width: 32px; height: 32px; font-size: 12px; }
}

@media (max-width: 400px) {
  .product-listing-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .plp-img-wrap { height: 140px; }
  .plp-body { padding: 8px 8px 10px; }
  .plp-cart-btn { font-size: 10px; padding: 7px 6px; }
  .plp-view-btn { width: 30px; height: 30px; font-size: 12px; }
  .plp-name { font-size: 11.5px; }
}


        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --red: #c0392b;
            --dark: #111;
            --mid: #555;
            --light: #f5f5f3;
            --border: #e5e5e5;
            --font-body: 'Manrope', sans-serif;
            --font-display: 'Playfair Display', serif;
            --navy: #1a1a9c;
            --yellow: #f4e4a0;
        }

        body {
            font-family: var(--font-body);
            background: #fff;
            color: var(--dark);
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; }

        /* ── HEADER ── */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 32px;
            background: #ffffff;
            border-bottom: 1px solid #e5e5e5;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            gap: 24px;
        }

        .header-logo {
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 700;
            letter-spacing: -1px;
            color: var(--dark);
            flex-shrink: 0;
        }

        .breadcrumb {
            display: flex;
            gap: 8px;
            font-size: 12px;
            color: #999;
            flex: 1;
            flex-wrap: wrap;
        }

        .breadcrumb a { color: var(--navy); font-weight: 600; }

        .header-actions {
            display: flex;
            align-items: center;
            gap:21px;
            flex-shrink: 0;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: none;
            padding: 8px 14px;
            font-family: 'Manrope', sans-serif;
            font-size: 19px;
            font-weight: 500;
            color: #111;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 4px;
            white-space: nowrap;
        }

        .action-btn:hover { background: #f5f5f5; color: #1a1a9c; }

        /* ── MAIN CONTAINER ── */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px;
        }

        /* ── PRODUCT WRAPPER ── */
        .product-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            background: #fff;
            padding: 32px;
            border-radius: 8px;
            margin-bottom: 32px;
            border: 1px solid var(--border);
        }

        /* ── IMAGE GALLERY ── */
        .image-gallery {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .main-image {
            width: 100%;
            height: 550px;
            background: #f7f5f2;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
        }

        .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .thumbnail-gallery {
            display: flex;
            gap: 8px;
            overflow-x: auto;
        }

        .thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            border: 2px solid var(--border);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s;
            background: #f9f9f9;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .thumbnail:hover,
        .thumbnail.active {
            border-color: var(--dark);
            transform: scale(1.05);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ── PRODUCT INFO ── */
        .product-badge {
            display: inline-block;
            background: var(--navy);
            color: #fff;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .product-info h1 {
            font-family: var(--font-display);
            font-size: 29px;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .product-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: #999;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
            flex-wrap: wrap;
        }

        .rating { display: flex; align-items: center; gap: 6px; color: #2e7d5a; font-weight: 600; }
        .stars { color: #f59e0b; }

        .price-section {
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            margin-bottom: 12px;
        }

        .price-display {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin-bottom: 4px;
            flex-wrap: wrap;
        }

        .current-price { font-size: 32px; font-weight: 700; color: var(--dark); }
        .original-price { font-size: 16px; text-decoration: line-through; color: #999; }
        .discount-badge { background: var(--red); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }

        .features {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: 13px;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }

        .feature-item { display: flex; align-items: center; gap: 8px; }
        .feature-item i { color: #2e7d5a; font-size: 12px; }

        .stock-status {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            margin: 10px 0;
        }

        .stock-dot { width: 12px; height: 12px; border-radius: 50%; background: #2e7d5a; flex-shrink: 0; }
        .stock-text { color: #2e7d5a; font-weight: 600; }

        .variants-section {
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            margin-bottom: 12px;
        }

        .variant-group { margin-bottom: 12px; }
        .variant-group:last-child { margin-bottom: 0; }
        .variant-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 13px; }

        .variant-options { display: flex; gap: 8px; flex-wrap: wrap; }

        .variant-btn {
            padding: 8px 16px;
            border: 2px solid var(--border);
            border-radius: 40px;
            background: #fff;
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.2s;
            font-family: var(--font-body);
        }

        .variant-btn:hover { border-color: var(--dark); }
        .variant-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

        .color-swatch {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid var(--border);
            cursor: pointer;
            transition: all 0.2s;
        }

        .color-swatch:hover,
        .color-swatch.active {
            border-color: var(--dark);
            transform: scale(1.15);
        }

        /* ── ALL ACTIONS IN ONE ROW ── */
        .actions-section {
            display: flex;
            gap: 6px;
            margin: 12px 0;
            align-items: center;
        }

        .qty-control {
            display: flex;
            align-items: center;
            border: 1px solid var(--border);
            border-radius: 4px;
            background: #f9f9f9;
            flex-shrink: 0;
            height: 38px;
        }

        .qty-btn {
            background: none;
            border: none;
            width: 26px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
        }

        .qty-input {
            width: 30px;
            text-align: center;
            border: none;
            background: transparent;
            font-size: 13px;
            font-weight: 600;
        }

        .add-to-cart {
            flex: 2;
            padding: 0 8px;
            height: 38px;
            background: #ff9f43;
            border: none;
            border-radius: 4px;
            font-weight: 700;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
            font-family: var(--font-body);
            white-space: nowrap;
        }

        .add-to-cart:hover { background: #ff8c1f; }

        .secondary-actions { display: none; }

        .wishlist-btn {
            flex: 1;
            padding: 0 8px;
            height: 38px;
            background: #fff;
            border: 2px solid var(--border);
            border-radius: 4px;
            font-weight: 700;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
            font-family: var(--font-body);
            white-space: nowrap;
        }

        .wishlist-btn:hover { border-color: var(--red); color: var(--red); }

        .buy-now {
            flex: 1;
            padding: 0 8px;
            height: 38px;
            background: var(--dark);
            color: #fff;
            border: none;
            border-radius: 4px;
            font-weight: 700;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s;
            font-family: var(--font-body);
            white-space: nowrap;
        }

        .buy-now:hover { background: var(--red); }

        .highlights {
            padding: 14px;
            background: #f9f9f9;
            border-radius: 8px;
            margin-top: 4px;
        }

        .highlight-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
            font-size: 13px;
        }

        .highlight-item:last-child { margin-bottom: 0; }
        .highlight-item i { font-size: 16px; color: var(--navy); flex-shrink: 0; }

        /* ── SECTIONS ── */
        .specs-section, .reviews-section, .related-section {
            background: #fff;
            padding: 20px 24px;
            border-radius: 8px;
            margin-bottom: 20px;
            border: 1px solid var(--border);
        }
        .section-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 14px; }

        .specs-table { width: 100%; border-collapse: collapse; }
        .specs-table tr { border-bottom: 1px solid var(--border); }
        .specs-table tr:nth-child(odd) { background: #f9f9f9; }
        .specs-table td { padding: 8px 12px; font-size: 12px; }
        .specs-table td:first-child { font-weight: 600; width: 30%; }

        .review-item { padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; }
        .review-header { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 12px; flex-wrap: wrap; gap: 4px; }
        .review-author { font-weight: 600; }
        .review-date { color: #999; }
        .review-rating { color: #f59e0b; font-size: 11px; margin-bottom: 4px; }
        .review-item strong { font-size: 12px; }
        .review-item p { font-size: 12px; color: #555; margin-top: 2px; }

        /* ── PRODUCTS GRID ── */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 18px;
            margin-top: 20px;
        }

        .product-card {
            cursor: pointer;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
            transition: box-shadow 0.22s, transform 0.22s;
        }

        .product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); transform: translateY(-3px); }

        .product-img { background: #f7f5f2; height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
        .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
        .product-card:hover .product-img img { transform: scale(1.05); }

        .sale-badge { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; border-radius: 3px; padding: 3px 8px; z-index: 5; }

        .card-info { padding: 10px 12px 14px; }
        .card-title { font-size: 12px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .card-rating { display: flex; align-items: center; gap: 4px; font-size: 10px; margin-bottom: 6px; color: #2e7d5a; }
        .card-price { display: flex; align-items: center; gap: 6px; font-size: 13px; }
        .card-price-new { font-weight: 700; color: var(--red); }
        .card-price-old { text-decoration: line-through; color: #999; font-size: 10px; }

        /* ── FOOTER ── */
        .footer { background: var(--dark); color: #fff; padding: 32px; text-align: center; margin-top: 32px; }
        .footer a { color: #fff; }

        /* ── RESPONSIVE ── */
        @media (max-width: 1200px) {
            .products-grid { grid-template-columns: repeat(4, 1fr); }
        }

        @media (max-width: 900px) {
            .product-wrapper {
                grid-template-columns: 1fr;
                gap: 24px;
                padding: 20px;
            }
            .main-image { height: 400px; }
        }

        @media (max-width: 768px) {
            .header { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
            .header-logo { font-size: 22px; }
            .breadcrumb { font-size: 11px; order: 3; width: 100%; }
            .header-actions { margin-left: auto; }

            .product-wrapper { padding: 16px; gap: 20px; }
            .main-image { height: 320px; }

            .product-info h1 { font-size: 22px; }
            .current-price { font-size: 26px; }

            .actions-section { gap: 4px; }
            .add-to-cart { font-size: 10px; }
            .wishlist-btn, .buy-now { font-size: 10px; }

            .products-grid { grid-template-columns: repeat(2, 1fr); }
            .specs-section, .reviews-section, .related-section { padding: 16px; }
            .section-title { font-size: 18px; }
        }

        @media (max-width: 480px) {
            .header { padding: 10px 12px; }
            .action-btn span { display: none; }
            .action-btn { font-size:14px !important;        padding: 8px 0 !important;
        gap: 0 !important; }

            .product-wrapper { padding: 12px; }
            .main-image { height: 240px; }

            .product-info h1 { font-size: 18px; }
            .product-meta { gap: 6px; font-size: 11px; }

            .actions-section { gap: 3px; }
            .qty-btn { width: 22px; font-size: 13px; }
            .qty-input { width: 24px; font-size: 11px; }
            .add-to-cart, .wishlist-btn, .buy-now { font-size: 9px; padding: 0 5px; height: 34px; }
            .qty-control { height: 34px; }
            .qty-btn { height: 34px; }

            .highlights { padding: 10px; }
            .highlight-item { font-size: 11px; gap: 8px; }

            .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
            .section-title { font-size: 16px; }
        }
    
          *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --red: #c0392b;
            --dark: #111;
            --mid: #555;
            --light: #f5f5f3;
            --border: #e5e5e5;
            --font-body: 'Manrope', sans-serif;
            --font-display: 'Playfair Display', serif;
            --navy: #1a1a9c;
            --yellow: #f4e4a0;
            --cream: #f5f0e8;
        }

        body {
            font-family: var(--font-body);
            background: #fff;
            color: var(--dark);
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; }
        .logo {
            font-family: 'Manrope', sans-serif;
            font-size: 22px;
            font-weight: 800;
            color: #000;
            letter-spacing: -0.5px;
        }

        .breadcrumb {
            display: flex;
            gap: 6px;
            font-size: 11px;
            color: #999;
            flex: 1;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: var(--navy);
            font-weight: 600;
            transition: color 0.2s;
        }

        .breadcrumb a:hover { color: var(--red); }

        /* .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-shrink: 0;
        } */

        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: none;
            padding: 8px;
            font-family: var(--font-body);
            font-size: 20px;
            font-weight: 600;
            color: #111;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }

        .action-btn:hover { color: var(--navy); }

        .action-btn .badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #e74c3c;
            color: #fff;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            font-weight: 700;
            border: 2px solid #fff;
        }

        /* ── CONTAINER ── */
        .container { max-width: 1400px; margin: 0 auto; padding: 32px; }

        /* ── PAGE HEADER ── */
        .page-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 32px;
        }

        .page-title {
            font-family: var(--font-display);
            font-size: 42px;
            font-weight: 700;
        }

        .page-title span {
            font-size: 13px;
            font-family: var(--font-body);
            font-weight: 500;
            color: #999;
            margin-left: 10px;
        }

        .continue-shopping {
            font-size: 13px;
            color: var(--navy);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: color 0.2s;
        }

        .continue-shopping:hover { color: var(--red); }

        /* ── PROGRESS BAR ── */
        .progress-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            margin-bottom: 32px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px 32px;
        }

        .progress-step {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 11px;
            font-weight: 700;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .progress-step.active { color: var(--dark); }
        .progress-step.done { color: #2e7d5a; }

        .step-num {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 800;
            border: 2px solid var(--border);
            background: #fff;
            color: #999;
            flex-shrink: 0;
        }

        .progress-step.active .step-num {
            border-color: var(--navy);
            background: var(--navy);
            color: #fff;
        }

        .progress-step.done .step-num {
            border-color: #2e7d5a;
            background: #2e7d5a;
            color: #fff;
        }

        .progress-line {
            flex: 1;
            height: 2px;
            background: var(--border);
            max-width: 80px;
            margin: 0 16px;
        }

        .progress-line.done { background: #2e7d5a; }

        /* ── MAIN LAYOUT ── */
        .cart-layout {
            display: grid;
            grid-template-columns: 1fr 360px;
            gap: 24px;
            align-items: start;
        }

        /* ── CART PANEL ── */
        .cart-panel {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
        }

        .cart-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            background: #fafafa;
        }

        .cart-panel-title {
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--dark);
        }

        .select-all-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            color: var(--mid);
        }

        .select-all-label input {
            accent-color: var(--dark);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .clear-selected {
            font-size: 12px;
            color: var(--red);
            font-weight: 600;
            cursor: pointer;
            background: none;
            border: none;
            font-family: var(--font-body);
            transition: color 0.2s;
        }

        .clear-selected:hover { color: #a93226; }

        /* ── CART ITEM ── */
        .cart-item {
            display: grid;
            grid-template-columns: 20px 100px 1fr auto;
            gap: 14px;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            align-items: center;
            transition: background 0.15s;
        }

        .cart-item:last-child { border-bottom: none; }
        .cart-item:hover { background: #fafafa; }

        .item-check input {
            accent-color: var(--dark);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .item-image {
            width: 100px;
            height: 100px;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid #f0f0f0;
            background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
            flex-shrink: 0;
            position: relative;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .item-image:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 12px 32px rgba(0,0,0,0.15);
            border-color: #e0e0e0;
        }

        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
            border-radius: 10px;
        }

        .item-image:hover img {
            transform: scale(1.08);
        }

        /* Loading shimmer */
        .item-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
            opacity: 0;
            animation: shimmer 1.5s infinite;
            transition: opacity 0.3s;
        }

        .item-image img[src=''] + .item-image::before,
        .item-image img:not([src]) + .item-image::before {
            opacity: 1;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* Perfect responsive */
        @media (max-width: 768px) {
            .item-image {
                width: 70px;
                height: 70px;
            }
        }


        .item-details {
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-width: 0;
        }

        .item-brand {
            font-size: 10px;
            color: #999;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .item-name {
            font-size: 13px;
            font-weight: 700;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .item-meta {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .item-meta span {
            font-size: 10px;
            color: #999;
            background: #f5f5f3;
            padding: 2px 8px;
            border-radius: 20px;
        }

        .item-sku {
            font-size: 10px;
            color: #bbb;
        }

        .item-actions-col {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 10px;
        }

        .item-price-row {
            display: flex;
            align-items: baseline;
            gap: 8px;
            text-align: right;
        }

        .item-price {
            font-size: 15px;
            font-weight: 800;
            color: var(--dark);
        }

        .item-original {
            font-size: 11px;
            color: #bbb;
            text-decoration: line-through;
        }

        .item-discount {
            font-size: 10px;
            color: var(--red);
            font-weight: 800;
            background: #fef0ee;
            padding: 2px 6px;
            border-radius: 3px;
        }

        .item-total {
            font-size: 12px;
            color: #999;
            margin-top: 4px;
        }

        .item-total strong {
            color: var(--dark);
            font-weight: 800;
        }

        .item-qty-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .qty-control {
            display: flex;
            align-items: center;
            border: 1px solid var(--border);
            border-radius: 6px;
            background: #f9f9f9;
            height: 32px;
        }

        .qty-btn {
            background: none;
            border: none;
            width: 28px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 13px;
            font-weight: 700;
            color: var(--dark);
            transition: background 0.2s;
        }

        .qty-btn:hover { background: #eee; }

        .qty-input {
            width: 36px;
            text-align: center;
            border: none;
            background: transparent;
            font-size: 12px;
            font-weight: 700;
            font-family: var(--font-body);
            outline: none;
        }

        .item-remove {
            background: none;
            border: none;
            color: #ccc;
            cursor: pointer;
            font-size: 14px;
            transition: color 0.2s;
            padding: 2px;
        }

        .item-remove:hover { color: var(--red); }

        /* ── COUPON SECTION ── */
        .coupon-section {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
        }

        .coupon-title {
            font-size: 13px;
            font-weight: 800;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .coupon-title i { color: var(--navy); }

        .coupon-row {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }

        .coupon-input {
            flex: 1;
            height: 40px;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 0 14px;
            font-size: 13px;
            font-family: var(--font-body);
            outline: none;
            transition: border-color 0.2s;
        }

        .coupon-input:focus { border-color: var(--navy); }

        .coupon-apply {
            height: 40px;
            padding: 0 18px;
            background: var(--navy);
            color: #fff;
            border: none;
            border-radius: 6px;
            font-weight: 800;
            font-size: 12px;
            cursor: pointer;
            font-family: var(--font-body);
            white-space: nowrap;
            transition: background 0.2s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .coupon-apply:hover { background: #0f0f6e; }

        .coupon-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .coupon-tag {
            font-size: 10px;
            font-weight: 700;
            color: var(--navy);
            background: #f0f4ff;
            border: 1px dashed #c5d3ff;
            padding: 4px 10px;
            border-radius: 40px;
            cursor: pointer;
            transition: all 0.2s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .coupon-tag:hover {
            background: var(--navy);
            color: #fff;
            border-color: var(--navy);
        }

        /* ── ORDER SUMMARY ── */
        .order-summary {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            position: sticky;
            top: 80px;
        }

        .summary-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            background: #fafafa;
        }

        .summary-title {
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--dark);
        }

        .summary-body { padding: 20px; }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            padding: 8px 0;
            font-weight: 500;
        }

        .summary-row .label { color: var(--mid); }
        .summary-row .value { font-weight: 700; color: var(--dark); }
        .summary-row.discount .value { color: #2e7d5a; }
        .summary-row.shipping .value { color: #2e7d5a; }

        .summary-divider {
            border: none;
            border-top: 1px solid var(--border);
            margin: 12px 0;
        }

        .summary-row.total {
            font-size: 14px;
            padding-top: 12px;
        }

        .summary-row.total .label { font-weight: 800; color: var(--dark); font-size: 13px; }
        .summary-row.total .value { font-size: 18px; font-weight: 800; color: var(--dark); }

        .shipping-message {
            font-size: 10px;
            color: #2e7d5a;
            padding: 6px 0;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .savings-badge {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 11px;
            color: #2e7d5a;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 14px 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .checkout-btn {
            width: 100%;
            height: 44px;
            background: var(--navy);
            color: #fff;
            border: none;
            border-radius: 6px;
            font-weight: 800;
            font-size: 13px;
            cursor: pointer;
            font-family: var(--font-body);
            margin-bottom: 8px;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .checkout-btn:hover { background: #0f0f6e; }

        .pay-now-btn {
            width: 100%;
            height: 44px;
            background: var(--yellow);
            color: var(--dark);
            border: none;
            border-radius: 6px;
            font-weight: 800;
            font-size: 13px;
            cursor: pointer;
            font-family: var(--font-body);
            transition: background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .pay-now-btn:hover { background: #e8d68a; }

        .payment-icons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 12px;
            flex-wrap: wrap;
        }

        .pay-icon {
            background: #f5f5f3;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 5px 10px;
            font-size: 9px;
            font-weight: 800;
            color: var(--mid);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .summary-features {
            margin-top: 16px;
            border-top: 1px solid var(--border);
            padding-top: 16px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .summary-feature {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 11px;
            color: var(--mid);
            font-weight: 500;
        }

        .summary-feature i {
            color: var(--navy);
            font-size: 13px;
            width: 16px;
            text-align: center;
            flex-shrink: 0;
        }

        /* ── SUGGESTED SECTION ── */
        .suggested-section {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 24px;
            margin-top: 24px;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .product-card {
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            cursor: pointer;
            transition: box-shadow 0.22s, transform 0.22s;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
            transform: translateY(-3px);
        }

        .product-img {
            background: #f7f5f2;
            height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .product-card:hover .product-img img { transform: scale(1.06); }

        .sale-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: var(--red);
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            border-radius: 4px;
            padding: 4px 8px;
            z-index: 5;
            text-transform: uppercase;
        }

        .card-info { padding: 12px; }

        .card-title {
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .card-price {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            margin-bottom: 10px;
        }

        .card-price-new {
            font-weight: 800;
            color: var(--red);
            font-size: 13px;
        }

        .card-price-old {
            text-decoration: line-through;
            color: #bbb;
            font-size: 10px;
        }

        .card-add-btn {
            width: calc(100% - 6px);
            margin: 0 3px 6px;
            height: 32px;
            background: #f5f5f3;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            font-family: var(--font-body);
            transition: all 0.2s;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .card-add-btn:hover {
            background: var(--navy);
            color: #fff;
            border-color: var(--navy);
        }
        /* ── EMPTY CART ── */
        .empty-cart {
            text-align: center;
            padding: 80px 20px;
        }

        .empty-cart i {
            font-size: 56px;
            color: #ddd;
            margin-bottom: 20px;
        }

        .empty-cart h3 {
            font-family: var(--font-display);
            font-size: 26px;
            margin-bottom: 10px;
        }

        .empty-cart p {
            color: #999;
            font-size: 14px;
            margin-bottom: 24px;
        }

        .empty-cart a {
            display: inline-block;
            padding: 12px 28px;
            background: var(--navy);
            color: #fff;
            border-radius: 6px;
            font-weight: 800;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 1200px) {
            .cart-layout { grid-template-columns: 1fr 320px; }
            .order-summary { top: 60px; }
        }

        @media (max-width: 900px) {
            .cart-layout { grid-template-columns: 1fr; }
            .order-summary { position: static; margin-top: 20px; }
            .container { padding: 20px 16px; }
            .page-title { font-size: 32px; }
        }

        @media (max-width: 768px) {
            .header { padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
            .logo { font-size: 18px; }
            .breadcrumb { font-size: 10px; order: 3; width: 100%; }

            .cart-item {
                grid-template-columns: 20px 70px 1fr;
                gap: 10px;
            }

            .item-actions-col {
                grid-column: 2 / -1;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }

            .item-image { width: 70px; height: 70px; }

            .products-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

            .progress-bar { padding: 12px 16px; }
            .progress-step span { display: none; }
            .progress-line { max-width: 40px; }
        }

        @media (max-width: 600px) {
            .container { padding: 16px 12px; }
            .page-title { font-size: 24px; }
            .page-title span { display: block; margin-top: 8px; }
            .cart-item { padding: 12px; }
            .item-name { font-size: 12px; }
            .item-image { width: 60px; height: 60px; }
            .action-btn span { display: none; }
            .header-actions { gap: 12px; }
            .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
            .product-img { height: 130px; }
            .card-title { font-size: 11px; }
            .section-title { font-size: 22px; }
            .progress-bar { padding: 10px 12px; }
        }

        @media (max-width: 400px) {
            .container { padding: 12px 10px; }
            .page-title { font-size: 20px; }
            .cart-item { grid-template-columns: 18px 50px 1fr; }
            .item-image { width: 50px; height: 50px; }
            .item-name { font-size: 11px; }
            .item-price { font-size: 13px; }
            .products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
            .product-img { height: 110px; }
        }

         :root {
        --red: #c0392b;
        --dark: #111;
        --mid: #555;
        --light: #f5f5f3;
        --border: #e5e5e5;
        --font-body: 'Manrope', sans-serif;
        --font-display: 'Playfair Display', serif;
        --navy: #1a1a9c;
        --yellow: #f4e4a0;
        --cream: #f5f0e8;
    }

    body {
        font-family: var(--font-body);
        background: #fff;
        color: var(--dark);
        line-height: 1.6;
    }

    .container { max-width: 1200px; margin: 0 auto; padding: 32px; }

    /* Progress Bar (Updated to Step 2) */
    .progress-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 40px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 16px 32px;
    }
    .progress-step {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        font-weight: 700;
        color: #999;
        text-transform: uppercase;
    }
    .progress-step.active { color: var(--dark); }
    .progress-step.done { color: #2e7d5a; }
    .step-num {
        width: 28px; height: 28px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        border: 2px solid var(--border);
        font-size: 12px;
    }
    .progress-step.active .step-num { border-color: var(--navy); background: var(--navy); color: #fff; }
    .progress-step.done .step-num { border-color: #2e7d5a; background: #2e7d5a; color: #fff; }
    .progress-line { flex: 1; height: 2px; background: var(--border); max-width: 60px; margin: 0 15px; }
    .progress-line.done { background: #2e7d5a; }

    /* Checkout Layout */
    .checkout-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 40px;
        align-items: start;
    }

    /* Form Styles */
    .checkout-section {
        background: #fff;
        margin-bottom: 30px;
        border-radius: 12px;
        padding: 10px;
    }
    .section-title {
        font-family: var(--font-display);
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 24px;
        border-bottom: 1px solid var(--border);
        padding-bottom: 10px;
    }
    .form-group { margin-bottom: 20px; }
    .form-label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--dark);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .form-control {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border);
        border-radius: 6px;
        font-family: var(--font-body);
        font-size: 14px;
        transition: border-color 0.2s;
        outline: none;
    }
    .form-control:focus { border-color: var(--navy); }
    
    textarea.form-control { resize: vertical; min-height: 100px; }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

    /* Payment Box */
    .payment-method-box {
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 20px;
        background: #fafafa;
    }
    .razorpay-info {
        font-size: 13px;
        color: var(--mid);
        margin-top: 10px;
        padding-left: 28px;
    }

    /* Summary Sidebar (Matches your Cart style) */
    .order-summary-card {
        background: var(--cream); /* Light cream background from your image */
        border-radius: 12px;
        padding: 24px;
        position: sticky;
        top: 20px;
    }
    .summary-item {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .summary-item img {
        width: 60px; height: 60px;
        object-fit: cover;
        border-radius: 6px;
    }
    .summary-item-info { flex: 1; }
    .summary-item-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
    .summary-item-price { font-size: 12px; color: var(--mid); }

    .summary-row {
        display: flex; justify-content: space-between;
        font-size: 14px; margin-bottom: 10px;
    }
    .summary-total {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid rgba(0,0,0,0.1);
        font-weight: 800;
        font-size: 18px;
    }

    .pay-button {
        width: 100%;
        padding: 16px;
        background: #b38b59; /* Matching the goldish-brown button in your image */
        color: #fff;
        border: none;
        border-radius: 40px;
        font-weight: 800;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        margin-top: 20px;
        transition: opacity 0.2s;
    }
    .pay-button:hover { opacity: 0.9; }

    @media (max-width: 900px) {
        .checkout-layout { grid-template-columns: 1fr; }
        .order-summary-card { position: static; }
    }
    /* Payment Selection Styling */
    .payment-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .payment-option-card {
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 16px;
        background: #fff;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .payment-option-card:hover {
        border-color: var(--navy);
    }

    .payment-option-card.selected {
        border-color: var(--navy);
        background: #f8faff;
        box-shadow: 0 4px 12px rgba(26, 26, 156, 0.05);
    }

    .payment-header {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 700;
        font-size: 14px;
        color: var(--dark);
    }

    .payment-header input[type="radio"] {
        accent-color: var(--navy);
        width: 18px;
        height: 18px;
    }

    .payment-content {
        margin-top: 10px;
        padding-left: 30px;
        font-size: 13px;
        color: var(--mid);
        display: none; /* Hidden by default, shown via JS */
    }

    .payment-option-card.selected .payment-content {
        display: block;
    }

    .cod-badge {
        background: #eef2ff;
        color: var(--navy);
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    :root {
        --red: #c0392b;
        --dark: #111;
        --mid: #555;
        --light: #f5f5f3;
        --border: #e5e5e5;
        --font-body: 'Manrope', sans-serif;
        --font-display: 'Playfair Display', serif;
        --navy: #1a1a9c;
        --success: #2e7d5a;
    }

    body { font-family: var(--font-body); color: var(--dark); background: #fff; }
    .container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }

    /* ── PROGRESS BAR (Final State) ── */
    .progress-bar {
        display: flex; align-items: center; justify-content: center;
        margin-bottom: 50px; background: #fff; border: 1px solid var(--border);
        border-radius: 10px; padding: 16px 32px;
    }
    .progress-step { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--success); text-transform: uppercase; }
    .step-num {
        width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
        justify-content: center; font-size: 12px; font-weight: 800; border: 2px solid var(--success);
        background: var(--success); color: #fff;
    }
    .progress-line { flex: 1; height: 2px; background: var(--success); max-width: 80px; margin: 0 16px; }

    /* ── SUCCESS MESSAGE ── */
    .success-card {
        text-align: center; padding: 40px; border: 1px solid var(--border);
        border-radius: 12px; background: #fff; margin-bottom: 30px;
    }
    .success-icon {
        width: 80px; height: 80px; background: #f0fdf4; color: var(--success);
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-size: 40px; margin: 0 auto 24px;
        animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .success-card h1 { font-family: var(--font-display); font-size: 36px; margin-bottom: 10px; }
    .order-id { font-weight: 800; color: var(--navy); background: #f0f4ff; padding: 4px 12px; border-radius: 4px; }
    .success-card p { color: var(--mid); margin-bottom: 30px; }

    /* ── ORDER DETAILS GRID ── */
    .order-info-grid {
        display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; text-align: left;
    }
    .info-panel {
        border: 1px solid var(--border); border-radius: 10px; padding: 24px;
    }
    .info-title {
        font-size: 12px; font-weight: 800; text-transform: uppercase;
        letter-spacing: 1px; color: #999; margin-bottom: 15px; display: block;
    }
    
    .item-mini {
        display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
        padding-bottom: 12px; border-bottom: 1px solid #f5f5f5;
    }
    .item-mini:last-child { border: none; }
    .item-mini img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); }
    .item-mini-info span { display: block; font-size: 13px; font-weight: 700; }
    .item-mini-info small { color: #999; font-size: 11px; }

    /* ── ACTIONS ── */
    .action-row { display: flex; gap: 16px; justify-content: center; margin-top: 40px; }
    .btn {
        padding: 14px 28px; border-radius: 6px; font-weight: 800; font-size: 13px;
        text-transform: uppercase; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 10px;
    }
    .btn-primary { background: var(--navy); color: #fff; border: none; }
    .btn-primary:hover { background: #0f0f6e; }
    .btn-secondary { background: #fff; border: 1px solid var(--border); color: var(--dark); }
    .btn-secondary:hover { background: #f9f9f9; }

    @keyframes scaleIn {
        from { transform: scale(0); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    @media (max-width: 768px) {
        .order-info-grid { grid-template-columns: 1fr; }
        .action-row { flex-direction: column; }
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            --red: #c0392b;
            --dark: #111;
            --mid: #555;
            --light: #f5f5f3;
            --border: #e5e5e5;
            --font-body: 'Manrope', sans-serif;
            --font-display: 'Playfair Display', serif;
            --navy: #1a1a9c;
            --orange: #ff9f43;
            --green: #2e7d5a;
        }

        body { font-family: var(--font-body); background: #f7f7f5; color: var(--dark); line-height: 1.6; }
        a { text-decoration: none; color: inherit; }

        .container { max-width: 1000px; margin: 0 auto; padding: 40px 16px; }

        /* ── PAGE HEADER ── */
        .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
        .page-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
        .page-title span { font-size: 14px; font-family: var(--font-body); font-weight: 500; color: #999; margin-left: 10px; }

        /* ── STATS ── */
        .stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
        .stat-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 12px; }
        .stat-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
        .stat-icon.green { background: #f0fdf4; color: var(--green); }
        .stat-icon.navy { background: #eef; color: var(--navy); }
        .stat-icon.orange { background: #fff7ed; color: var(--orange); }
        .stat-icon.red { background: #fef0ee; color: var(--red); }
        .stat-value { font-size: 20px; font-weight: 800; line-height: 1.2; }
        .stat-label { font-size: 11px; color: #999; font-weight: 600; text-transform: uppercase; }

        /* ── FILTER BAR ── */
        .filter-bar { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; gap: 15px; flex-wrap: wrap; }
        .filter-tabs { display: flex; gap: 8px; }
        .filter-tab { padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; border: 1.5px solid var(--border); background: #fff; cursor: pointer; transition: 0.2s; color: var(--mid); }
        .filter-tab.active { background: var(--dark); color: #fff; border-color: var(--dark); }
        .search-box { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; background: #f9f9f9; flex: 1; max-width: 300px; }
        .search-box input { border: none; background: transparent; font-size: 13px; outline: none; width: 100%; }

        /* ── ORDER CARD ── */
        .order-card {display:grid; background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; overflow: hidden; transition: 0.3s; }
        .order-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: #d1d1d1; }

        .order-header { display: flex; justify-content: space-between; padding: 16px 20px; background: #fafafa; border-bottom: 1px solid var(--border); align-items: center; flex-wrap: wrap; gap: 15px; }
        .order-info-group { display: flex; gap: 30px; flex-wrap: wrap; }
        .info-item { display: flex; flex-direction: column; }
        .info-label { font-size: 10px; color: #bbb; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
        .info-value { font-size: 13px; font-weight: 700; }

        .status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 30px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
        .status-delivered { background: #f0fdf4; color: #2e7d5a; }
        .status-shipped { background: #eef; color: #1a1a9c; }
        .status-cancelled { background: #fef0ee; color: #c0392b; }

        /* Order Items */
        .order-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; padding: 20px; border-bottom: 1px solid #f0f0f0; align-items: center; }
        .order-item:last-of-type { border-bottom: none; }
        .item-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }
        .item-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
        .item-meta { font-size: 12px; color: #888; display: flex; gap: 12px; }
        .item-price { font-weight: 800; font-size: 15px; text-align: right; }
        .item-qty { font-size: 12px; color: #999; }

        /* Timeline / Tracking */
        .tracking-section { background: #fcfcfc; border-top: 1px solid var(--border); padding: 20px; display: none; }
        .tracking-section.active { display: block; }
        .timeline { display: flex; justify-content: space-between; position: relative; margin-top: 20px; }
        .timeline::before { content: ''; position: absolute; top: 12px; left: 0; width: 100%; height: 2px; background: #eee; z-index: 1; }
        .timeline-step { position: relative; z-index: 2; text-align: center; width: 20%; }
        .step-dot { width: 24px; height: 24px; background: #fff; border: 2px solid #eee; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #ccc; }
        .timeline-step.done .step-dot { background: var(--green); border-color: var(--green); color: #fff; }
        .timeline-step.current .step-dot { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 4px rgba(26, 26, 156, 0.1); }
        .step-label { font-size: 11px; font-weight: 700; display: block; }
        .step-date { font-size: 10px; color: #999; }

        /* Footer Actions */
        .order-footer { padding: 16px 20px; background: #fff; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
        .total-amount { font-size: 16px; font-weight: 800; }
        .total-amount span { font-size: 12px; color: #999; font-weight: 400; }
        .btn-group { display: flex; gap: 10px; }
        .btn { padding: 8px 18px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; border: 1.5px solid var(--border); background: #fff; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
        .btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
        .btn-dark:hover { background: #333; }
        .btn:hover:not(.btn-dark) { border-color: var(--dark); }

        @media (max-width: 768px) {
            .stats-bar { grid-template-columns: repeat(2, 1fr); }
            .timeline { flex-direction: column; gap: 20px; }
            .timeline::before { left: 11px; top: 0; width: 2px; height: 100%; }
            .timeline-step { text-align: left; width: 100%; padding-left: 35px; }
            .step-dot { position: absolute; left: 0; top: 0; margin: 0; }
            .order-item { grid-template-columns: 60px 1fr; }
            .item-price { text-align: left; margin-top: 5px; }
        }
        .wishlist-container {
      padding: 32px 24px;
      min-height: 600px;
    }

    .wishlist-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 2px solid var(--border);
    }

    .wishlist-title {
      font-family: var(--font-display);
      font-size: 36px;
      font-weight: 700;
      color: var(--dark);
    }

    .wishlist-count {
      font-size: 14px;
      color: var(--mid);
      font-weight: 500;
    }

    .wishlist-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .wishlist-action-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 18px;
      border: 1.5px solid var(--border);
      background: #fff;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 600;
      color: var(--dark);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .wishlist-action-btn:hover {
      border-color: var(--navy);
      color: var(--navy);
    }

    .wishlist-action-btn.primary {
      background: var(--navy);
      color: #fff;
      border-color: var(--navy);
    }

    .wishlist-action-btn.primary:hover {
      background: #0f0f6e;
    }

    /* ── WISHLIST GRID ── */
    .wishlist-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
      margin-bottom: 40px;
    }

    .wishlist-item {
      cursor: pointer;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
      transition: box-shadow 0.22s, transform 0.22s;
      display: flex;
      flex-direction: column;
    }

    .wishlist-item:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.10);
      transform: translateY(-3px);
    }

    .wishlist-img-container {
      position: relative;
      width: 100%;
      height: 200px;
      background: #f7f5f2;
      overflow: hidden;
    }

    .wishlist-img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
      display: block;
    }

    .wishlist-item:hover .wishlist-img-container img {
      transform: scale(1.06);
    }

    .wishlist-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      padding: 3px 9px;
      border-radius: 3px;
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      z-index: 5;
      background: var(--red);
      color: #fff;
    }

    .wishlist-remove-btn {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.95);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      z-index: 6;
      transition: all 0.2s;
      color: var(--red);
    }

    .wishlist-remove-btn:hover {
      background: #fff;
      transform: scale(1.1);
    }

    .wishlist-info {
      padding: 12px 12px 14px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .wishlist-category {
      font-size: 8px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--mid);
      margin-bottom: 4px;
    }

    .wishlist-product-name {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: var(--dark);
    }

    .wishlist-rating {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-bottom: 8px;
    }

    .wishlist-stars {
      font-size: 10px;
      color: #f5a623;
      letter-spacing: -1px;
    }

    .wishlist-rating-count {
      font-size: 9px;
      color: #aaa;
    }

    .wishlist-pricing {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin-bottom: 10px;
      margin-top: auto;
    }

    .wishlist-price-current {
      font-size: 14px;
      font-weight: 800;
      color: var(--red);
    }

    .wishlist-price-old {
      font-size: 10px;
      font-weight: 400;
      color: #aaa;
      text-decoration: line-through;
    }

    .wishlist-discount {
      font-size: 9px;
      font-weight: 700;
      color: #2e7d5a;
      margin-left: auto;
    }

    .wishlist-add-to-cart {
      width: 100%;
      padding: 10px;
      background: var(--navy);
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      margin-top: 8px;
    }

    .wishlist-add-to-cart:hover {
      background: #0f0f6e;
    }

    /* ── EMPTY STATE ── */
    .empty-state {
      text-align: center;
      padding: 60px 24px;
    }

    .empty-state-icon {
      font-size: 64px;
      margin-bottom: 20px;
      opacity: 0.5;
    }

    .empty-state-title {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--dark);
    }

    .empty-state-text {
      font-size: 14px;
      color: var(--mid);
      margin-bottom: 28px;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
    }

    .empty-state-btn {
      display: inline-block;
      padding: 12px 32px;
      background: var(--navy);
      color: #fff;
      border-radius: 40px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }

    .empty-state-btn:hover {
      background: #0f0f6e;
      transform: translateY(-2px);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 1200px) {
      .wishlist-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (max-width: 1024px) {
      .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      
      .wishlist-title {
        font-size: 30px;
      }
    }

    @media (max-width: 768px) {
      .wishlist-container {
        padding: 24px 16px;
      }

      .wishlist-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .wishlist-actions {
        width: 100%;
        justify-content: flex-start;
      }

      .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }

      .wishlist-title {
        font-size: 24px;
      }
    }

    @media (max-width: 480px) {
      .wishlist-grid {
        grid-template-columns: 1fr;
      }

      .wishlist-title {
        font-size: 20px;
      }

      .wishlist-actions {
        flex-wrap: wrap;
      }

      .wishlist-action-btn {
        flex: 1;
        min-width: 120px;
      }
    }

    
    /* ═══════════════════════════════════════════════
       BASE BRAND VARIABLES  (from style.css)
    ═══════════════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --red:          #c0392b;
      --dark:         #111;
      --mid:          #555;
      --light:        #f5f5f3;
      --border:       #e5e5e5;
      --font-body:    'Manrope', sans-serif;
      --font-display: 'Playfair Display', serif;
      --navy:         #1a1a9c;
      --yellow:       #f4e4a0;
      --cream:        #f5f0e8;
      --tan:          #c8a882;
      --light-tan:    #d4b896;
    }
    body { font-family: var(--font-body); background: #f4f4f2; color: var(--dark); line-height: 1.6; }
    a { text-decoration: none; color: inherit; }

  
    .breadcrumb-bar {
      background: #fff; padding: 10px 32px;
      border-bottom: 1px solid var(--border); font-size: 12px; color: var(--mid);
    }
    .breadcrumb-bar a { color: var(--navy); font-weight: 600; }
    .breadcrumb-bar a:hover { color: var(--red); }

    /* ═══════════════════════════════════════════════
       PAGE LAYOUT
    ═══════════════════════════════════════════════ */
    .profile-page {display: flex;gap: 30px; padding: 28px 32px; max-width: 1360px; margin: 0 auto; }

    /* ═══════════════════════════════════════════════
       LEFT SIDEBAR
    ═══════════════════════════════════════════════ */
    .sidebar {
      width: 260px; flex-shrink: 0;
      display: flex; flex-direction: column; gap: 14px;
    }

    /* Profile summary card */
    .sidebar-profile-card {
      background: #fff; border-radius: 12px;
      border: 1px solid var(--border); overflow: hidden;
      box-shadow: 0 1px 4px rgba(0,0,0,.04);
    }
    .sidebar-profile-header {
      background: linear-gradient(135deg, #1a1a9c 0%, #0f0f72 100%);
      padding: 28px 20px 20px; text-align: center; position: relative;
    }
    .sidebar-profile-header::after {
      content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
      height: 20px;
      background: #fff;
      border-radius: 50% 50% 0 0 / 20px 20px 0 0;
    }
    .avatar-wrap {
      position: relative; display: inline-block; margin-bottom: 10px;
    }
    .avatar-img {
      width: 80px; height: 80px; border-radius: 50%;
      object-fit: cover; border: 3px solid rgba(255,255,255,.4);
      display: block;
    }
    .avatar-initials {
      width: 80px; height: 80px; border-radius: 50%;
      background: rgba(255,255,255,.18); color: #fff;
      font-size: 28px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      border: 3px solid rgba(255,255,255,.4);
    }
    .avatar-edit-btn {
      position: absolute; bottom: 2px; right: 2px;
      width: 24px; height: 24px; border-radius: 50%;
      background: #fff; color: var(--navy);
      font-size: 11px; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: all .2s;
    }
    .avatar-edit-btn:hover { background: var(--yellow); }
    .sidebar-user-name { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 2px; position: relative; z-index: 1; }
    .sidebar-user-email { font-size: 11px; color: rgba(255,255,255,.7); position: relative; z-index: 1; }

    .sidebar-meta {
      padding: 16px 18px; display: flex; gap: 0;
      border-bottom: 1px solid var(--border);
    }
    .sidebar-meta-item {
      flex: 1; text-align: center;
      border-right: 1px solid var(--border); padding: 0 8px;
    }
    .sidebar-meta-item:last-child { border-right: none; }
    .sidebar-meta-num { font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.1; }
    .sidebar-meta-label { font-size: 10px; color: var(--mid); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

    .sidebar-loyalty {
      padding: 14px 18px;
    }
    .loyalty-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--mid); margin-bottom: 6px; }
    .loyalty-bar-wrap { background: #f0f0f0; border-radius: 40px; height: 6px; margin-bottom: 6px; overflow: hidden; }
    .loyalty-bar-fill { height: 100%; border-radius: 40px; background: linear-gradient(90deg, var(--navy), #5555e0); width: 62%; transition: width .8s ease; }
    .loyalty-info { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; }
    .loyalty-tier { color: #b5860d; }
    .loyalty-next { color: var(--mid); }

    /* Sidebar nav */
    .sidebar-nav { background: #fff; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
    .sidebar-nav-section { padding: 10px 0 6px; border-bottom: 1px solid var(--border); }
    .sidebar-nav-section:last-child { border-bottom: none; }
    .sidebar-nav-section-label {
      padding: 4px 18px 8px;
      font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa;
    }
    .sidebar-nav-item {
      display: flex; align-items: center; gap: 12px;
      padding: 11px 18px; font-size: 13px; font-weight: 600; color: #444;
      cursor: pointer; transition: all .18s; border-left: 3px solid transparent;
      position: relative;
    }
    .sidebar-nav-item:hover { background: #f9f9f9; color: var(--navy); border-left-color: var(--navy); }
    .sidebar-nav-item.active { background: #f0f0ff; color: var(--navy); border-left-color: var(--navy); }
    .sidebar-nav-item .nav-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; color: #888; }
    .sidebar-nav-item.active .nav-icon,
    .sidebar-nav-item:hover .nav-icon { color: var(--navy); }
    .nav-badge {
      margin-left: auto; background: var(--red); color: #fff;
      border-radius: 40px; font-size: 9px; font-weight: 800;
      padding: 2px 7px; min-width: 20px; text-align: center;
    }
    .nav-badge.green { background: #2e7d5a; }

    /* ═══════════════════════════════════════════════
       MAIN CONTENT AREA
    ═══════════════════════════════════════════════ */
    .profile-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

    /* Panel card */
    .panel {
      background: #fff; border-radius: 12px;
      border: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(0,0,0,.04);
      overflow: hidden;
    }
    .panel-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 24px; border-bottom: 1px solid var(--border);
    }
    .panel-title {
      font-size: 15px; font-weight: 800; color: var(--dark);
      display: flex; align-items: center; gap: 10px;
    }
    .panel-title .title-icon {
      width: 32px; height: 32px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px; flex-shrink: 0;
    }
    .panel-title .title-icon.blue  { background: #eeeeff; color: var(--navy); }
    .panel-title .title-icon.red   { background: #fdecea; color: var(--red); }
    .panel-title .title-icon.green { background: #e8f5ee; color: #2e7d5a; }
    .panel-title .title-icon.gold  { background: #fef8e1; color: #b5860d; }
    .panel-title .title-icon.teal  { background: #e4f4f8; color: #1a7a9c; }
    .panel-body { padding: 24px; }

    /* Edit button */
    .btn-edit {
      display: flex; align-items: center; gap: 6px;
      padding: 8px 16px; border-radius: 6px;
      border: 1.5px solid var(--navy); background: transparent;
      font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--navy);
      cursor: pointer; transition: all .2s;
    }
    .btn-edit:hover { background: var(--navy); color: #fff; }
    .btn-save {
      display: flex; align-items: center; gap: 6px;
      padding: 8px 18px; border-radius: 6px; border: none;
      background: var(--navy); font-family: var(--font-body);
      font-size: 12px; font-weight: 700; color: #fff; cursor: pointer; transition: all .2s;
    }
    .btn-save:hover { background: #0f0f6e; }
    .btn-cancel {
      padding: 8px 14px; border-radius: 6px;
      border: 1px solid var(--border); background: #f5f5f3;
      font-family: var(--font-body); font-size: 12px; font-weight: 600;
      color: var(--mid); cursor: pointer; transition: all .2s;
    }
    .btn-cancel:hover { border-color: var(--dark); color: var(--dark); }

    /* ── PROFILE INFO FORM ── */
    .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .profile-grid.single { grid-template-columns: 1fr; }
    .field-group { display: flex; flex-direction: column; gap: 6px; }
    .field-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--mid); }
    .field-value { font-size: 14px; font-weight: 600; color: var(--dark); }
    .field-input {
      font-family: var(--font-body); font-size: 13px; color: var(--dark);
      border: 1.5px solid var(--border); border-radius: 6px;
      padding: 10px 13px; outline: none; transition: border-color .2s, box-shadow .2s;
      background: #fff;
    }
    .field-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,26,156,.08); }
    .field-input:disabled { background: #f9f9f9; color: #aaa; cursor: not-allowed; }
    select.field-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

    .gender-options { display: flex; gap: 10px; }
    .gender-btn {
      flex: 1; padding: 9px; border-radius: 6px;
      border: 1.5px solid var(--border); background: #fff;
      font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--mid);
      cursor: pointer; transition: all .2s; text-align: center;
    }
    .gender-btn.selected { border-color: var(--navy); background: #f0f0ff; color: var(--navy); }
    .gender-btn:hover { border-color: var(--navy); }

    .verified-chip {
      display: inline-flex; align-items: center; gap: 4px;
      background: #e8f5ee; color: #2e7d5a;
      font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
    }
    .unverified-chip {
      display: inline-flex; align-items: center; gap: 4px;
      background: #fef8e1; color: #b5860d;
      font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px; cursor: pointer;
    }
    .unverified-chip:hover { background: #fdecea; color: var(--red); }

    /* ── ORDER CARDS ── */
    .order-filter-row {
      display: flex; gap: 10px; padding: 16px 24px;
      border-bottom: 1px solid var(--border); overflow-x: auto; flex-wrap: nowrap;
    }
    .order-filter-btn {
      display: flex; align-items: center; gap: 6px;
      padding: 8px 14px; border-radius: 40px;
      border: 1px solid var(--border); background: #fff;
      font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--mid);
      cursor: pointer; white-space: nowrap; transition: all .2s;
    }
    .order-filter-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }
    .order-filter-btn:hover:not(.active) { border-color: var(--dark); color: var(--dark); }

    .order-list { display: flex; flex-direction: column; }
    .order-card {
      display: grid; align-items: center; gap: 18px;border-bottom: 1px solid var(--border);
      transition: background .18s; cursor: pointer;
    }
    .order-card:last-child { border-bottom: none; }
    .order-card:hover { background: #fafaf8; }
    .order-thumb {
      width: 68px; height: 68px; border-radius: 8px;
      object-fit: cover; border: 1px solid var(--border); flex-shrink: 0;
    }
    .order-info { flex: 1; min-width: 0; }
    .order-name { font-size: 13px; font-weight: 700; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .order-meta { font-size: 11px; color: var(--mid); margin-bottom: 5px; }
    .order-status {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
    }
    .order-status.delivered { background: #e8f5ee; color: #2e7d5a; }
    .order-status.shipped   { background: #eeeeff; color: var(--navy); }
    .order-status.cancelled { background: #fdecea; color: var(--red); }
    .order-status.pending   { background: #fef8e1; color: #b5860d; }
    .order-status::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: currentColor; display: inline-block;
    }
    .order-price { font-size: 15px; font-weight: 800; color: var(--dark); flex-shrink: 0; }
    .order-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; }
    .order-action-btn {
      font-size: 11px; font-weight: 700; padding: 5px 12px;
      border-radius: 4px; cursor: pointer; border: 1px solid var(--border);
      background: #fff; color: var(--mid); transition: all .2s; white-space: nowrap;
    }
    .order-action-btn:hover { border-color: var(--navy); color: var(--navy); }
    .order-action-btn.primary { border-color: var(--navy); color: var(--navy); }
    .order-action-btn.primary:hover { background: var(--navy); color: #fff; }

    /* ── WISHLIST ── */
    .wishlist-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 20px;
    }
    .wishlist-card {
      border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
      cursor: pointer; transition: all .22s; position: relative;
    }
    .wishlist-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-3px); }
    .wishlist-img { width: 100%; height: 140px; object-fit: cover; display: block; background: #f7f5f2; }
    .wishlist-info { padding: 10px 12px 12px; }
    .wishlist-name { font-size: 12px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .wishlist-price { font-size: 13px; font-weight: 800; color: var(--red); }
    .wishlist-old   { font-size: 10px; color: var(--mid); text-decoration: line-through; margin-left: 4px; }
    .wishlist-remove {
      position: absolute; top: 8px; right: 8px;
      width: 26px; height: 26px; border-radius: 50%;
      background: rgba(255,255,255,.92); border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; color: var(--red); transition: all .2s;
      box-shadow: 0 1px 4px rgba(0,0,0,.12);
    }
    .wishlist-remove:hover { background: var(--red); color: #fff; }
    .wishlist-add-btn {
      width: calc(100% - 24px); margin: 0 12px 12px;
      padding: 7px; border-radius: 6px;
      border: 1.5px solid var(--navy); background: transparent;
      font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--navy);
      cursor: pointer; transition: all .2s;
    }
    .wishlist-add-btn:hover { background: var(--navy); color: #fff; }

    /* ── ADDRESSES ── */
    .address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; }
    .address-card {
      border: 1.5px solid var(--border); border-radius: 10px;
      padding: 18px; position: relative; transition: all .2s;
    }
    .address-card:hover { border-color: var(--navy); box-shadow: 0 4px 12px rgba(26,26,156,.1); }
    .address-card.default { border-color: var(--navy); background: #f8f8ff; }
    .address-type-badge {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
      padding: 3px 9px; border-radius: 20px;
      background: #eeeeff; color: var(--navy); margin-bottom: 10px;
    }
    .address-type-badge.home   { background: #e8f5ee; color: #2e7d5a; }
    .address-type-badge.work   { background: #eeeeff; color: var(--navy); }
    .address-type-badge.other  { background: #f0f0f0; color: var(--mid); }
    .default-badge {
      position: absolute; top: 14px; right: 14px;
      font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
      background: var(--yellow); color: var(--dark); padding: 3px 8px; border-radius: 20px;
    }
    .address-name  { font-size: 13px; font-weight: 800; margin-bottom: 2px; }
    .address-line  { font-size: 12px; color: var(--mid); line-height: 1.5; margin-bottom: 8px; }
    .address-phone { font-size: 12px; font-weight: 700; color: var(--dark); }
    .address-actions { display: flex; gap: 8px; margin-top: 12px; }
    .addr-btn {
      font-size: 11px; font-weight: 700; padding: 5px 12px;
      border-radius: 4px; cursor: pointer; transition: all .2s; border: 1px solid var(--border);
      background: #fff; color: var(--mid); font-family: var(--font-body);
    }
    .addr-btn:hover { border-color: var(--navy); color: var(--navy); }
    .addr-btn.remove:hover { border-color: var(--red); color: var(--red); }
    .add-address-card {
      border: 2px dashed var(--border); border-radius: 10px;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 10px; min-height: 170px; cursor: pointer;
      transition: all .2s; color: var(--mid);
    }
    .add-address-card:hover { border-color: var(--navy); color: var(--navy); background: #f8f8ff; }
    .add-address-icon { font-size: 28px; }
    .add-address-text { font-size: 13px; font-weight: 700; }

    /* ── PAYMENTS ── */
    .payment-list { display: flex; flex-direction: column; gap: 0; }
    .payment-item {
      display: flex; align-items: center; gap: 16px;
      padding: 16px 24px; border-bottom: 1px solid var(--border); transition: background .18s;
    }
    .payment-item:last-child { border-bottom: none; }
    .payment-item:hover { background: #fafaf8; }
    .payment-icon-wrap {
      width: 48px; height: 32px; border-radius: 6px;
      border: 1px solid var(--border); background: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0; overflow: hidden;
    }
    .payment-details { flex: 1; }
    .payment-name   { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
    .payment-sub    { font-size: 11px; color: var(--mid); }
    .payment-action { font-size: 11px; font-weight: 700; color: var(--red); cursor: pointer; transition: color .18s; flex-shrink: 0; }
    .payment-action:hover { color: #8b1c12; }

    /* ── SETTINGS ── */
    .settings-group { margin-bottom: 24px; }
    .settings-group-title {
      font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
      color: var(--mid); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
    }
    .setting-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 13px 0; border-bottom: 1px solid #f5f5f3;
    }
    .setting-row:last-child { border-bottom: none; }
    .setting-info {}
    .setting-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
    .setting-desc { font-size: 11px; color: var(--mid); }
    /* Toggle */
    .toggle-wrap { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
    .toggle-wrap input { opacity: 0; width: 0; height: 0; }
    .toggle-slider {
      position: absolute; cursor: pointer; inset: 0;
      background: #ddd; border-radius: 24px; transition: .3s;
    }
    .toggle-slider::before {
      content: ''; position: absolute;
      width: 18px; height: 18px; border-radius: 50%;
      background: #fff; left: 3px; bottom: 3px; transition: .3s;
      box-shadow: 0 1px 3px rgba(0,0,0,.2);
    }
    .toggle-wrap input:checked + .toggle-slider { background: var(--navy); }
    .toggle-wrap input:checked + .toggle-slider::before { transform: translateX(20px); }

    /* ── COUPONS ── */
    .coupon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
    .coupon-card {
      border: 1.5px dashed var(--border); border-radius: 10px;
      overflow: hidden; display: flex; transition: all .2s;
    }
    .coupon-card:hover { border-color: var(--navy); box-shadow: 0 4px 12px rgba(26,26,156,.1); }
    .coupon-left {
      background: var(--navy); color: #fff;
      display: flex; align-items: center; justify-content: center;
      writing-mode: vertical-rl; text-orientation: mixed;
      transform: rotate(180deg);
      padding: 14px 10px; font-size: 10px; font-weight: 800;
      letter-spacing: 1.5px; text-transform: uppercase; min-width: 36px;
      flex-shrink: 0;
    }
    .coupon-left.red  { background: var(--red); }
    .coupon-left.gold { background: #b5860d; }
    .coupon-right { padding: 14px 16px; flex: 1; }
    .coupon-code  { font-size: 16px; font-weight: 800; letter-spacing: 1px; margin-bottom: 3px; }
    .coupon-desc  { font-size: 11px; color: var(--mid); margin-bottom: 8px; line-height: 1.4; }
    .coupon-validity { font-size: 10px; color: var(--mid); }
    .coupon-copy-btn {
      font-size: 10px; font-weight: 800; color: var(--navy);
      border: 1px solid var(--navy); background: transparent;
      padding: 3px 10px; border-radius: 4px; cursor: pointer;
      font-family: var(--font-body); transition: all .2s; float: right;
    }
    .coupon-copy-btn:hover { background: var(--navy); color: #fff; }

    /* ── WALLET ── */
    .wallet-card {
      background: linear-gradient(135deg, #1a1a9c 0%, #0f0f72 100%);
      border-radius: 14px; padding: 28px; color: #fff; position: relative; overflow: hidden;
    }
    .wallet-card::before {
      content: ''; position: absolute;
      width: 200px; height: 200px; border-radius: 50%;
      background: rgba(255,255,255,.05);
      top: -60px; right: -40px;
    }
    .wallet-card::after {
      content: ''; position: absolute;
      width: 140px; height: 140px; border-radius: 50%;
      background: rgba(255,255,255,.04);
      bottom: -50px; left: 30px;
    }
    .wallet-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .7; margin-bottom: 6px; }
    .wallet-balance { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; margin-bottom: 20px; }
    .wallet-actions { display: flex; gap: 10px; }
    .wallet-btn {
      padding: 9px 20px; border-radius: 6px;
      font-family: var(--font-body); font-size: 12px; font-weight: 700;
      cursor: pointer; transition: all .2s;
    }
    .wallet-btn.primary { background: #fff; color: var(--navy); border: none; }
    .wallet-btn.primary:hover { background: var(--yellow); }
    .wallet-btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
    .wallet-btn.outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

    .wallet-txn-list { display: flex; flex-direction: column; }
    .wallet-txn {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 24px; border-bottom: 1px solid var(--border); transition: background .18s;
    }
    .wallet-txn:last-child { border-bottom: none; }
    .wallet-txn:hover { background: #fafaf8; }
    .txn-icon {
      width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 15px;
    }
    .txn-icon.credit { background: #e8f5ee; color: #2e7d5a; }
    .txn-icon.debit  { background: #fdecea; color: var(--red); }
    .txn-info { flex: 1; }
    .txn-desc { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
    .txn-date { font-size: 11px; color: var(--mid); }
    .txn-amount { font-size: 14px; font-weight: 800; flex-shrink: 0; }
    .txn-amount.credit { color: #2e7d5a; }
    .txn-amount.debit  { color: var(--red); }

    /* ── REVIEWS ── */
    .review-card {
      padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; gap: 16px;
    }
    .review-card:last-child { border-bottom: none; }
    .review-prod-img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
    .review-content { flex: 1; }
    .review-prod-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
    .review-stars { font-size: 12px; color: #f5a623; margin-bottom: 5px; }
    .review-text { font-size: 12px; color: #444; line-height: 1.6; margin-bottom: 6px; font-style: italic; }
    .review-date { font-size: 10px; color: var(--mid); }
    .review-helpful { font-size: 11px; color: var(--mid); margin-top: 6px; }
    .review-helpful span { font-weight: 700; color: var(--navy); cursor: pointer; }

    /* ── SECTION TABS ── */
    .content-tabs {
      display: flex; border-bottom: 2px solid var(--border);
    }
    .content-tab {
      padding: 14px 22px; font-size: 13px; font-weight: 700; color: var(--mid);
      cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
      transition: all .2s; white-space: nowrap;
    }
    .content-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
    .content-tab:hover:not(.active) { color: var(--dark); }
    .tab-content-panel { display: none; }
    .tab-content-panel.active { display: block; }

    /* ── LOYALTY FULL ── */
    .tier-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 20px; }
    .tier-card {
      border: 1.5px solid var(--border); border-radius: 10px;
      padding: 18px 14px; text-align: center; transition: all .22s;
    }
    .tier-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
    .tier-card.current { border-color: var(--navy); background: #f8f8ff; }
    .tier-badge-icon { font-size: 32px; margin-bottom: 8px; display: block; }
    .tier-name { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
    .tier-pts  { font-size: 12px; color: var(--mid); margin-bottom: 10px; }
    .tier-benefit { font-size: 11px; color: var(--mid); line-height: 1.5; }
    .tier-current-tag {
      display: inline-block; background: var(--navy); color: #fff;
      font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 20px; margin-top: 8px;
    }

    /* ── EMPTY STATE ── */
    .empty-state {
      text-align: center; padding: 48px 20px; color: var(--mid);
    }
    .empty-icon { font-size: 48px; margin-bottom: 14px; opacity: .4; }
    .empty-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
    .empty-desc  { font-size: 13px; max-width: 300px; margin: 0 auto 20px; }
    .btn-shop {
      padding: 10px 24px; border-radius: 6px; border: none;
      background: var(--navy); color: #fff;
      font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s;
    }
    .btn-shop:hover { background: #0f0f6e; }

    /* ── DANGER ZONE ── */
    .danger-zone {
      border: 1.5px solid #fdecea; border-radius: 10px;
      padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    }
    .danger-info {}
    .danger-title { font-size: 13px; font-weight: 800; color: var(--red); margin-bottom: 3px; }
    .danger-desc  { font-size: 12px; color: var(--mid); }
    .btn-danger {
      padding: 3px 10px; border-radius: 6px;
      border: 1.5px solid var(--red); background: transparent;
      color: var(--red); font-family: var(--font-body); font-size: 12px; font-weight: 700;
      cursor: pointer; transition: all .2s; white-space: nowrap; flex-shrink: 0;
    }
    .btn-danger:hover { background: var(--red); color: #fff; }

    /* ── SECTION VISIBILITY ── */
    .profile-section { display: none; }
    .profile-section.active { display: flex; flex-direction: column; gap: 18px; }

    
    /* ── RESPONSIVE ── */
    @media (max-width: 1100px) {
      .profile-page { padding: 20px; }
      .wishlist-grid { grid-template-columns: repeat(3,1fr); }
      .tier-cards { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 900px) {
      .sidebar { width: 220px; }
      .wishlist-grid { grid-template-columns: repeat(2,1fr); }
      .address-grid { grid-template-columns: 1fr; }
      .coupon-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .topbar { display: none; }
      .profile-page { flex-direction: column !important; padding: 14px; }
      .sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
      .sidebar-profile-card { display: none; }
      .sidebar-nav {width:100%; display: flex; overflow-x: auto; }
      .sidebar-nav-section { display: flex; flex-direction: row; padding: 0; border: none; }
      .sidebar-nav-section-label { display: none; }
      .sidebar-nav-item { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; flex-direction: column; gap: 4px; padding: 10px 20px; font-size: 11px; }
      .sidebar-nav-item.active { border-bottom-color: var(--navy); border-left: none; }
      .sidebar-nav-item .nav-icon { font-size: 18px; }
      .profile-grid { grid-template-columns: 1fr; }
      .tier-cards { grid-template-columns: 1fr 1fr; }
      .hf-info-bar { grid-template-columns: 1fr 1fr; }
      .hf-bottom { padding: 14px 16px; flex-direction: column; align-items: center; }
    }
    @media (max-width: 480px) {
      .wishlist-grid { grid-template-columns: 1fr 1fr; }
      .coupon-grid { grid-template-columns: 1fr; }
      .hf-info-bar { grid-template-columns: 1fr; }
    }

    /* Animations */
    @keyframes fadeInUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
    .panel { animation: fadeInUp .35s ease forwards; }
  
    