/* ==========================================================================
   NGUYEN TU FASHION - CORE STYLESHEET
   Style: Gen Z Streetwear, Minimalist Chic, High-Contrast Urban Fashion
   Inspired by ELEVN, LUNORA & FASHIONABLE References
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-primary: #3b070f;
  --bg-secondary: #4e0d19;
  --bg-tertiary: #631221;
  --bg-dark: #121212;
  --bg-darker: #0a0a0a;
  --bg-card: #4e0d19;
  
  --text-primary: #ffffff;
  --text-secondary: #fce7f3;
  --text-muted: #f4b8c5;
  --text-light: #ffffff;
  
  --accent-red: #ff334b;
  --accent-blue: #38bdf8;
  --accent-gold: #fbbf24;
  --accent-green: #34d399;
  
  --border-light: rgba(255, 255, 255, 0.14);
  --border-medium: rgba(255, 255, 255, 0.25);
  --border-dark: #2a2a2a;
  
  --font-heading: 'Be Vietnam Pro', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --shadow-dark: 0 12px 36px rgba(0,0,0,0.4);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --container-width: 1320px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-y;
}

#catalog, .catalog-section, .flash-sale-section, #lookbook, .page-hero-banner, .catalog-page-container {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button, input, select, textarea, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  color-scheme: dark;
}

select {
  background-color: #240409 !important;
  color: #ffffff !important;
  border: 1px solid var(--border-medium);
}

select option,
select optgroup {
  background-color: #240409 !important;
  color: #ffffff !important;
  padding: 10px 14px;
}

select option:checked,
select option:hover,
select option:focus {
  background-color: #8b0000 !important;
  color: #ffffff !important;
}

button {
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.text-uppercase { text-transform: uppercase; }
.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wide { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.18em; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #2a050b;
}
::-webkit-scrollbar-thumb {
  background: #631221;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8b1528;
}

/* ==========================================================================
   ANNOUNCEMENT BAR (TOP ROW - BLACK BACKGROUND & VERTICAL DIVIDERS)
   ========================================================================== */
.announcement-bar {
  background-color: #111111;
  color: #f3f4f6;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0;
  position: relative;
  z-index: 101;
  border-bottom: 1.5px solid #000000;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.announcement-group {
  display: flex;
  align-items: center;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.775rem;
  font-weight: 500;
  color: #ffffff;
  border-right: 1px solid #000000;
  transition: color var(--transition-fast);
}

.announcement-group:first-child .announcement-item:first-child {
  padding-left: 0;
}

.announcement-group:last-child .announcement-item:last-child {
  border-right: none;
  padding-right: 0;
}

.announcement-item a:hover,
a.announcement-item:hover {
  color: #ffffff;
}

.badge-tag {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse-glow 2s infinite;
  margin-right: 6px;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

/* Announcement Marquee Ticker Loop */
.announcement-group.center {
  overflow: hidden;
  max-width: 540px;
  display: flex;
  align-items: center;
}

.announcement-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.announcement-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
  animation: marqueeAnnouncementLoop 24s linear infinite;
  will-change: transform;
}

.announcement-marquee-track:hover {
  animation-play-state: paused;
}

.announcement-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-sep {
  color: var(--accent-gold);
  font-size: 0.72rem;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  user-select: none;
}

@keyframes marqueeAnnouncementLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   HEADER & NAVBAR (ROW 2 - FLUID, TU CENTERED, VERTICAL DIVIDERS)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  background-color: #4e0d19;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  border-top: 1.5px solid #000000;
  border-bottom: 2px solid #000000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Auto-hide when scrolling down to reveal 100% of products without being blocked */
.header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 74px;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
  padding-left: 20px;
  border-right: 1.5px solid #000000;
  height: 74px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #000;
  object-fit: contain;
  transition: transform var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
  white-space: nowrap;
}

/* Navigation Links with Black Vertical Dividers */
.nav-links {
  display: flex;
  align-items: stretch;
  height: 74px;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: clamp(0.72rem, 0.82vw, 0.775rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0 clamp(6px, 0.7vw, 10px);
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  border-right: 1.5px solid #000000;
  transition: all var(--transition-fast);
}

.nav-link.nav-has-badge {
  flex: 1.35;
  padding: 0 clamp(8px, 1vw, 14px);
  gap: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ffffff;
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  background-color: #631221;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-badge {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 0.55rem;
  padding: 2px 5px;
  border-radius: var(--radius-full);
  margin-left: 2px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.nav-badge.hot {
  background: var(--accent-red);
  color: #fff;
}

/* Nav Actions with Uniform Black Vertical Dividers & Prominent Ripe Plum Red */
.nav-actions {
  display: flex;
  align-items: stretch;
  height: 74px;
  flex-shrink: 0;
  border-left: 1.5px solid #000000;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 74px;
  background-color: #7b0f20 !important;
  background: linear-gradient(180deg, #8c1125 0%, #630a18 100%) !important;
  border: none;
  border-right: 1.5px solid #000000;
  color: #ffffff !important;
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.action-btn:last-child {
  border-right: none;
}

.action-btn svg {
  color: #ffffff;
  stroke: #ffffff;
  transition: transform var(--transition-fast), stroke var(--transition-fast);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.action-btn:hover {
  background-color: #9c152d !important;
  background: linear-gradient(180deg, #ab1732 0%, #7d0d1f 100%) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 16px rgba(255, 51, 75, 0.45);
}

.action-btn:hover svg {
  transform: scale(1.18);
  stroke: #ffffff;
}

.action-badge {
  position: absolute;
  top: 18px;
  right: 6px;
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-smooth);
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92) contrast(1.04);
  transform: scale(1.01);
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(10,10,10,0.15) 0%, 
    rgba(10,10,10,0.35) 50%, 
    rgba(59,7,15,0.85) 100%
  );
  z-index: 2;
}

#hero-cinematic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 38px 0 30px;
}

.hero-tagline-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-red);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #ffffff 30%, #c5a880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.975rem;
  color: #e2e8f0;
  max-width: 600px;
  margin-bottom: 22px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background-color: #7b1626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  background-color: #961c30;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.btn-dark {
  background-color: #7b1626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
  background-color: #961c30;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Hero Trust Bar */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 720px;
}

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

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8c1125 0%, #630a18 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.trust-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ==========================================================================
   QUICK CATEGORY CIRCLES (LUNORA STYLE)
   ========================================================================== */
.quick-categories {
  padding: 40px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.category-pill-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-pill-slider::-webkit-scrollbar {
  display: none;
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
  group: hover;
}

.circle-avatar-wrap {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #e5e5e5, #ffffff);
  border: 1.5px solid var(--border-light);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.category-circle-item:hover .circle-avatar-wrap {
  border-color: var(--text-primary);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.category-circle-item.active .circle-avatar-wrap {
  border-color: var(--accent-gold);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35), 0 8px 16px rgba(0,0,0,0.25);
}

.category-circle-item.active .circle-label {
  color: var(--accent-gold);
}

.circle-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.circle-avatar-wrap.sale-badge {
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.circle-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ==========================================================================
   FEATURED CATEGORY BANNER GRID (ELEVN / FASHIONABLE STYLE)
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

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

.section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background-color: #222;
}

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

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

.promo-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  color: #ffffff;
}

.promo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap var(--transition-fast);
}

.promo-card:hover .promo-btn {
  gap: 14px;
  color: var(--accent-gold);
}

/* ==========================================================================
   HOT DEALS & COUNTDOWN FLASH SALE (FASHIONABLE STYLE)
   ========================================================================== */
.flash-sale-section {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.flash-sale-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  background: linear-gradient(135deg, #1c1c1c, #111111);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.flash-sale-info {
  max-width: 500px;
}

.flash-sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.flash-sale-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.flash-sale-desc {
  font-size: 0.9375rem;
  color: #a3a3a3;
  margin-bottom: 20px;
}

.countdown-box {
  display: flex;
  gap: 12px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  width: 68px;
  height: 68px;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: #8c8c8c;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   PRODUCT CATALOG (TABS & GRID)
   ========================================================================== */
.catalog-section {
  padding: 48px 0;
  background-color: var(--bg-primary);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: #ffffff;
  background-color: var(--bg-tertiary);
  border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
  background-color: #8b1528;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-card);
  cursor: pointer;
}

/* ==========================================================================
   CATALOG GRID VIEWPORT & PRODUCT LAYOUT
   ========================================================================== */
.catalog-scroll-container {
  position: relative;
  width: 100%;
}

.catalog-scroll-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 6px 0 20px 0;
  box-sizing: border-box;
}

.catalog-scroll-viewport .product-grid {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Hide floating scroll arrows since grid wraps cleanly */
.catalog-scroll-arrow {
  display: none !important;
}

/* 4-Column balanced product grid for full-width sections (e.g. Homepage index.html) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Catalog page layout (products.html with 280px sidebar):
   3 columns provides the exact same ~305px spacious card size as homepage, 
   ensuring NO product is ever cut off or pushed off-screen */
.catalog-layout .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.catalog-layout .product-grid.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 12px;
}

.catalog-layout .product-grid.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}

/* Product Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: transform var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Product Thumbnail Container - Tỷ lệ chuẩn 1:1 vuông vức, nền trắng studio tinh tế */
.product-thumb-wrap,
.card-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Thẻ liên kết bọc ảnh sản phẩm - Padding vừa vặn 8px giúp ảnh phủ đầy khung chuẩn tỷ lệ */
.product-thumb-wrap > a,
.card-image-wrap > a,
.product-thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.product-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img-hover {
  display: none;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Product Badges */
.product-badges,
.card-badges,
.gallery-badge {
  display: none !important;
}

.p-badge,
.card-badges .badge,
.card-badges .local-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.p-badge.badge-sale,
.card-badges .badge-sale {
  background-color: var(--accent-red);
  color: #fff;
}

.p-badge.badge-new,
.card-badges .badge-new {
  background-color: #2563eb;
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.p-badge.badge-hot,
.card-badges .badge-hot {
  background-color: #ff9800;
  color: #fff;
}

.p-badge.badge-local,
.card-badges .badge-local,
.card-badges .local-badge {
  background-color: #059669;
  color: #fff;
}

/* Wishlist Button */
.btn-wishlist,
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(78, 13, 25, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-wishlist svg,
.wishlist-btn svg {
  width: 14px;
  height: 14px;
}

.btn-wishlist:hover,
.wishlist-btn:hover {
  transform: scale(1.12);
  background: #781728;
  color: var(--accent-red);
}

.btn-wishlist.active,
.wishlist-btn.active {
  color: var(--accent-red);
  background: #781728;
}

/* Quick Add Button overlay */
.product-quick-actions,
.card-actions {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-smooth);
  z-index: 2;
}

.product-card:hover .product-quick-actions,
.product-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-view,
.btn-add-cart-fast,
.quick-btn {
  flex: 1;
  padding: 7px 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.btn-quick-view,
.quick-btn.outline {
  background-color: rgba(78, 13, 25, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-quick-view:hover,
.quick-btn.outline:hover {
  background-color: #941e33;
}

.btn-add-cart-fast,
.quick-btn:not(.outline) {
  background-color: #7b1626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-add-cart-fast:hover,
.quick-btn:not(.outline):hover {
  background-color: #961c30;
}

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.product-category {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  min-width: 0;
  width: 100%;
  gap: 4px;
  flex-wrap: wrap;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.price-current {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.price-old {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6875rem;
  color: #f59e0b;
  font-weight: 600;
}

/* Swatches */
.product-swatches {
  display: flex;
  gap: 5px;
  margin-top: 3px;
}

.swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  cursor: pointer;
}

/* ==========================================================================
   INTERACTIVE LOOKBOOK: NINH BINH STREET STYLE
   ========================================================================== */
.lookbook-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.lookbook-spotlight {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 580px;
  box-shadow: var(--shadow-lg);
}

.lookbook-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pin Hotspots */
.pin-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 3px solid #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.5);
  animation: pulse-pin 2s infinite;
  transition: transform var(--transition-fast);
}

.pin-hotspot:hover {
  transform: scale(1.2);
}

@keyframes pulse-pin {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.pin-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.pin-hotspot:hover .pin-tooltip {
  opacity: 1;
}

.lookbook-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lookbook-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.lookbook-card-item:hover {
  border-color: var(--text-primary);
  transform: translateX(6px);
}

.lookbook-card-thumb {
  width: 72px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.lookbook-card-info {
  flex: 1;
}

.lookbook-card-spot {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lookbook-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2px 0 6px;
}

.lookbook-card-price {
  font-size: 0.9375rem;
  font-weight: 800;
}

/* ==========================================================================
   SMART SIZE FIT CALCULATOR FOR GEN Z
   ========================================================================== */
.size-calculator-section {
  padding: 48px 0;
  background: linear-gradient(180deg, #180307 0%, #0d0103 100%);
  color: #ffffff;
  position: relative;
}

.calc-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.calc-header-block {
  text-align: center;
  margin-bottom: 20px;
}

.calc-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 900;
  margin: 8px 0 6px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.calc-subtitle {
  font-size: 0.85rem;
  color: #a1a1aa;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 16px;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e5e5e5;
}

.calc-slider-val {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.95rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  transition: background 0.2s;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: 3px solid var(--accent-red);
  box-shadow: 0 0 10px rgba(255, 51, 75, 0.5);
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover,
input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.18);
}

.calc-pref-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #d4d4d8;
  letter-spacing: 0.04em;
}

.fit-preference-group {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fit-btn {
  flex: 1;
  padding: 8px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  background: transparent;
  border-radius: 7px;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fit-btn.active {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 51, 75, 0.4);
}

.calc-result-box {
  background: linear-gradient(145deg, rgba(255, 51, 75, 0.1) 0%, rgba(30, 4, 8, 0.75) 100%);
  border: 1.5px solid rgba(255, 51, 75, 0.35);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.calc-result-tag {
  font-size: 0.6875rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.calc-size-badge {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin: 6px 0;
  white-space: nowrap !important;
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgba(255, 51, 75, 0.5);
}

.calc-feedback {
  font-size: 0.8rem;
  color: #e4e4e7;
  line-height: 1.45;
  margin: 0 0 14px;
  max-width: 260px;
}

.calc-cta-btn {
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  height: 40px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  width: 100% !important;
  max-width: 240px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ==========================================================================
   NINH BINH LOCAL HUB & SHOWROOM SECTION
   ========================================================================== */
.ninhbinh-hub-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.hub-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hub-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
}

.hub-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.hub-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hub-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #631221;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hub-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hub-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hub-map-card {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hub-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hub-store-floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(35, 5, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   CART DRAWER & CHECKOUT MODAL
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-card);
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

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

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1.2rem;
}

.free-ship-bar {
  background: var(--bg-secondary);
  padding: 12px 24px;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-light);
}

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-red);
  border-radius: 3px;
  transition: width var(--transition-smooth);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-secondary);
  gap: 16px;
}

.empty-cart-state svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item-attr {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

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

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.qty-num {
  width: 28px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.9375rem;
  font-weight: 800;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.voucher-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.voucher-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  text-transform: uppercase;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* Modal Checkout */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-dark);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--text-primary);
}

/* Quick View Modal Specifics */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.quick-view-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  background-color: #ffffff;
}

.size-selector {
  display: flex;
  gap: 8px;
  margin: 12px 0 20px;
}

.size-option-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all var(--transition-fast);
}

.size-option-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.size-option-btn.active {
  background: #8b1528;
  color: #ffffff;
  border-color: #ff334b;
  box-shadow: 0 0 10px rgba(255, 51, 75, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-darker);
  color: #ffffff;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.35fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: start;
}

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

.footer-brand-logo img,
.footer-brand-img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background-color: #0c0103;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.footer-brand-logo:hover img,
.footer-brand-logo:hover .footer-brand-img {
  transform: scale(1.06) rotate(-2deg);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-transform: uppercase;
}

.footer-brand-name .brand-fashion {
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.footer-brand-logo:hover .footer-brand-name .brand-fashion {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
}

.social-circle:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8125rem;
  color: #737373;
}

/* ==========================================================================
   MOBILE BOTTOM NAV (GEN Z APP VIBE)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(78, 13, 25, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  z-index: 99;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  position: relative;
}

.mobile-nav-item.active {
  color: var(--text-primary);
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
}

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

.toast {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1240px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .catalog-layout .product-grid,
  .catalog-layout .product-grid.grid-cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .catalog-layout .product-grid,
  .catalog-layout .product-grid.grid-cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .header {
    height: 56px !important;
    overflow: hidden !important;
  }
  .nav-container {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-wrapper {
    height: 56px !important;
    border: none !important;
    border-right: none !important;
    border-left: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    max-width: calc(100% - 165px) !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    background-color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  }
  .brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    line-height: 1 !important;
  }
  .brand-name {
    font-family: var(--font-heading) !important;
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    line-height: 1 !important;
    color: #ffffff !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand-sub {
    font-family: var(--font-body) !important;
    font-size: 0.52rem !important;
    letter-spacing: 0.1em !important;
    color: var(--accent-gold) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    padding: 0 !important;
    gap: 4px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.2s, transform 0.15s !important;
  }
  .mobile-menu-btn:active {
    background: rgba(255, 51, 75, 0.25) !important;
    transform: scale(0.94);
  }
  .mobile-menu-btn span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
  }
  .nav-actions {
    height: 56px !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .action-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: none !important;
    border-left: none !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background: linear-gradient(180deg, #8c1125 0%, #630a18 100%) !important;
  }
  .action-btn:last-child {
    border-right: none !important;
  }
  .action-badge {
    top: 4px !important;
    right: 4px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 0.6rem !important;
    border: 1px solid #000 !important;
  }
  .nav-links {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 64px;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .promo-card {
    height: 320px;
  }
  .product-grid,
  .catalog-layout .product-grid,
  .catalog-layout .product-grid.grid-cols-4,
  .catalog-layout .product-grid.grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .lookbook-grid,
  .calc-grid,
  .hub-container,
  .quick-view-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-trust-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .flash-sale-inner {
    padding: 24px;
  }
  .cart-drawer {
    max-width: 100%;
  }
  .announcement-group:not(.center) {
    display: none;
  }
  .announcement-content,
  .nav-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Quick Category Circles Tablet Polish */
  .quick-categories {
    padding: 22px 0 !important;
  }
  .category-pill-slider {
    gap: 16px !important;
    padding: 6px 4px 10px !important;
  }
  .circle-avatar-wrap {
    width: 68px !important;
    height: 68px !important;
  }
  .circle-label {
    font-size: 0.75rem !important;
  }

}


/* ==========================================================================
   MOBILE DEDICATED POLISH (SMARTPHONE <= 600px)
   Ultra-sleek, luxury streetwear layout & bug-free pricing
   ========================================================================== */
@media (max-width: 600px) {
  /* 1. Global Spacing & Layout */
  body {
    padding-bottom: 74px !important;
  }

  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 2. Announcement Top Bar (Infinite Continuous Marquee Ticker) */
  .announcement-bar {
    height: 32px !important;
    padding: 0 !important;
    font-size: 0.72rem !important;
    overflow: hidden !important;
    background-color: #0c0103 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
  }

  .announcement-content {
    justify-content: flex-start !important;
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .announcement-group.center {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .announcement-marquee-wrapper {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
  }

  .announcement-marquee-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    animation: marqueeAnnouncementLoop 22s linear infinite !important;
    will-change: transform;
  }

  .announcement-marquee-content {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .announcement-item.promo-item {
    font-size: 0.72rem !important;
    padding: 0 6px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .marquee-sep {
    color: var(--accent-gold) !important;
    font-size: 0.65rem !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    opacity: 0.85 !important;
  }

  .badge-tag {
    font-size: 0.58rem !important;
    padding: 1px 6px !important;
    margin-right: 4px !important;
    animation: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }

  /* 3. Header & Brand Navigation */
/* Mobile Header Brand & Action Spacing Polish */
  .header-track-btn {
    display: none !important;
  }

  .nav-container {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .mobile-menu-btn {
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  .brand-wrapper {
    height: 56px !important;
    border: none !important;
    border-right: none !important;
    border-left: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    background-color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  }

  .brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
  }

  .brand-name {
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .brand-sub {
    font-size: 0.5rem !important;
    letter-spacing: 0.1em !important;
    color: var(--accent-gold) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .nav-actions {
    height: 56px !important;
    border: none !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: auto !important;
  }

  .action-btn {
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #8c1125 0%, #630a18 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    flex-shrink: 0 !important;
  }

  /* 4. Hero Section (Hạ ảnh nền lộ rõ nhà & núi, 2 nút nhỏ gọn khớp khung hình) */
  .hero-section {
    padding: 22px 0 16px !important;
    min-height: auto !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .hero-bg-img {
    object-position: 22% 50% !important; /* Hien thi ro net ngoi nha, bang hieu va long den Oni */
    filter: brightness(0.96) contrast(1.05) !important;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg, 
      rgba(10, 10, 10, 0.22) 0%, 
      rgba(10, 10, 10, 0.16) 35%, 
      rgba(40, 6, 12, 0.42) 70%,
      rgba(40, 6, 12, 0.82) 100%
    ) !important; /* Giảm độ tối ở giữa và dưới để nhà và núi lộ rõ rệt, đẹp lung linh */
  }

  .hero-content {
    padding: 10px 0 8px !important;
  }

  .hero-tagline-wrapper {
    margin-bottom: 8px !important;
    padding: 3px 10px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
  }

  .hero-tagline {
    font-size: 0.65rem !important;
    letter-spacing: 0.06em !important;
  }

  .hero-title {
    font-size: 1.38rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-desc {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    max-width: 310px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9) !important;
  }

  /* Hai nút chuẩn tỷ lệ khung nhìn, không bị gãy dòng, đối xứng cân đối tuyệt đối */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 auto !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 280px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 0.725rem !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
    box-sizing: border-box !important;
  }

  .hero-actions .btn span {
    white-space: nowrap !important;
    overflow: visible !important;
  }

  .hero-actions .btn svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  /* Thanh tiêu chí uy tín gọn gàng dạng 3 ô ngang, không choán diện tích */
  .hero-trust-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3px !important;
    padding: 6px 4px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(4px) !important;
  }

  .trust-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #8c1125 0%, #630a18 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .trust-label {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .trust-sub {
    display: none !important;
  }

  /* 4.1 Quick Category Circles (Story Bubbles - Chuẩn tỷ lệ giao diện điện thoại) */
  .quick-categories {
    padding: 12px 0 8px !important;
  }

  .category-pill-slider {
    gap: 12px !important;
    padding: 4px 4px 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x proximity;
    scroll-padding-left: 12px;
  }

  .category-circle-item {
    gap: 5px !important;
    scroll-snap-align: start;
  }

  .circle-avatar-wrap {
    width: 58px !important;
    height: 58px !important;
    padding: 2px !important;
    border-width: 1.5px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
  }

  .category-circle-item:hover .circle-avatar-wrap,
  .category-circle-item.active .circle-avatar-wrap {
    border-color: var(--accent-gold) !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35), 0 4px 10px rgba(0, 0, 0, 0.35) !important;
  }

  .circle-avatar-wrap.sale-badge {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
  }

  .circle-label {
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
  }

  .category-circle-item.active .circle-label {
    color: var(--accent-gold) !important;
  }

  .category-circle-item[onclick*="local"] .circle-avatar-wrap img {
    padding: 4px !important;
  }

  /* 5. Product Grid & Card (FIX GIÁ TO VÀ CHÈN LÊN NHAU) */
  .product-grid,
  .catalog-layout .product-grid,
  .catalog-layout .product-grid.grid-cols-4,
  .catalog-layout .product-grid.grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
    padding: 0 !important;
  }

  .product-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  }

  .product-thumb-wrap,
  .card-image-wrap {
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    background-color: #ffffff !important;
    padding: 4px !important;
  }

  .product-thumb-wrap .btn-wishlist {
    width: 26px !important;
    height: 26px !important;
    top: 6px !important;
    right: 6px !important;
  }

  .product-thumb-wrap .btn-wishlist svg {
    width: 13px !important;
    height: 13px !important;
  }

  .product-info {
    padding: 2px 2px 0 !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  .product-category {
    font-size: 0.58rem !important;
    letter-spacing: 0.06em !important;
    color: #e5b869 !important; /* Vàng kim tinh tế */
    margin-bottom: 2px !important;
  }

  .product-title {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
  }

  /* CHỐNG VỠ & CHÈN GIÁ TRÊN MOBILE */
  .product-card .product-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    margin-top: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .product-card .product-prices {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    line-height: 1.2 !important;
  }

  .product-card .price-current,
  .product-card .product-prices .price-current,
  .catalog-layout .product-card .price-current {
    font-family: var(--font-heading), -apple-system, sans-serif !important;
    font-size: 0.875rem !important; /* 14px vừa vặn, chuẩn nét */
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .product-card .price-old,
  .product-card .product-prices .price-old,
  .catalog-layout .product-card .price-old {
    font-size: 0.6875rem !important; /* 11px nhỏ gọn */
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }

  .product-card .product-rating {
    font-size: 0.65rem !important;
    margin-top: 2px !important;
  }

  .product-swatches {
    margin-top: 3px !important;
    gap: 4px !important;
  }

  .product-swatches .swatch {
    width: 9px !important;
    height: 9px !important;
  }

  /* 6. Chat Widget & Floating Callout (Thu gọn, không che sản phẩm) */
  .chat-callout-pill {
    display: none !important; /* Ẩn bong bóng chữ ngang để không che sản phẩm trên mobile */
  }

  .floating-chat-container {
    bottom: 70px !important;
    right: 12px !important;
  }

  .floating-chat-btn {
    width: 46px !important;
    height: 46px !important;
  }

  .floating-chat-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  .chat-popup-window {
    bottom: 66px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: 72vh !important;
  }

  /* 7. Bottom Navigation Bar */
  .mobile-bottom-nav {
    height: 56px !important;
    padding-bottom: env(safe-area-inset-bottom, 4px) !important;
    background: rgba(22, 3, 6, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .mobile-nav-item {
    font-size: 0.65rem !important;
    gap: 2px !important;
  }

  .mobile-nav-item svg {
    width: 19px !important;
    height: 19px !important;
  }

  /* 8. Nút Xem Nhanh & + Thêm trên thẻ sản phẩm điện thoại (chuẩn 1 dòng, 28px, không che ảnh) */
  .product-quick-actions,
  .card-actions {
    position: absolute !important;
    bottom: 6px !important;
    left: 4px !important;
    right: 4px !important;
    display: flex !important;
    gap: 4px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    z-index: 5 !important;
  }

  .btn-quick-view,
  .btn-add-cart-fast,
  .quick-btn {
    flex: 1 !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 4px !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }

  .btn-quick-view {
    background-color: rgba(60, 10, 18, 0.94) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(4px) !important;
  }

  .btn-add-cart-fast {
    background-color: #7b1626 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }

  .btn-quick-view svg,
  .btn-add-cart-fast svg {
    width: 11px !important;
    height: 11px !important;
    flex-shrink: 0 !important;
  }

  /* 9. Quick View Modal Mobile Polish (Khớp khung hình điện thoại, chuẩn Bottom Sheet) */
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 82vh !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 16px 16px 28px !important;
    background: #1a0306 !important;
    background: linear-gradient(180deg, #24050b 0%, #150205 100%) !important;
    border: none !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.85) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
  }

  .modal-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    margin: 0 auto 12px;
  }

  .modal-close-btn {
    top: 12px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
  }

  .quick-view-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .quick-view-img,
  #qv-main-img {
    width: 100% !important;
    max-height: 190px !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: contain !important;
    background-color: #26050a !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 4px !important;
  }

  .quick-view-grid h2 {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    margin: 4px 0 8px !important;
    color: #ffffff !important;
  }

  .quick-view-grid p {
    font-size: 0.775rem !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: var(--text-secondary) !important;
  }

  .size-selector,
  #qv-size-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 8px 0 14px !important;
  }

  .size-option-btn,
  .size-btn-pill {
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }

  /* 10. SMART SIZE CALCULATOR (Thu gọn, chuẩn tỷ lệ màn hình điện thoại) */
  .size-calculator-section {
    padding: 24px 0 28px !important;
  }

  .calc-wrapper {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    margin: 0 !important;
  }

  .calc-header-block {
    margin-bottom: 14px !important;
  }

  .calc-tag-pill {
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
  }

  .calc-title {
    font-size: 1.15rem !important;
    margin: 5px 0 3px !important;
    letter-spacing: 0 !important;
  }

  .calc-subtitle {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    max-width: 320px !important;
  }

  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 0 !important;
  }

  .calc-slider-group {
    margin-bottom: 10px !important;
  }

  .calc-slider-label {
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
  }

  .calc-slider-val {
    font-size: 0.875rem !important;
    padding: 1px 6px !important;
  }

  input[type=range] {
    height: 5px !important;
  }

  input[type=range]::-webkit-slider-thumb {
    width: 20px !important;
    height: 20px !important;
  }

  .calc-pref-label {
    font-size: 0.6875rem !important;
    margin-bottom: 5px !important;
  }

  .fit-preference-group {
    padding: 3px !important;
    gap: 5px !important;
  }

  .fit-btn {
    padding: 7px 6px !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
  }

  .calc-result-box {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    margin-top: 4px !important;
  }

  .calc-result-tag {
    font-size: 0.625rem !important;
  }

  .calc-size-badge {
    font-size: 2.1rem !important; /* Chuẩn 1 dòng, không bao giờ bị gãy thành 2 dòng như cũ */
    margin: 4px 0 2px !important;
    white-space: nowrap !important;
  }

  .calc-feedback {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
    max-width: 100% !important;
  }

  .calc-cta-btn {
    height: 38px !important;
    font-size: 0.78rem !important;
    max-width: 100% !important;
    padding: 8px 16px !important;
  }

}


/* ==========================================================================
   MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  background: #1a0307;
  background: linear-gradient(180deg, #24050b 0%, #140205 100%);
  border-right: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.7);
  z-index: 99999;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

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

.drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.drawer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.drawer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.drawer-brand-sub {
  font-family: var(--font-body);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.drawer-close-btn:active {
  background: var(--accent-red);
  transform: scale(0.92);
}

.drawer-search {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.drawer-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drawer-search-box:active {
  border-color: var(--accent-red);
  background: rgba(0, 0, 0, 0.6);
}

.drawer-search-box svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-banner-promo {
  background: linear-gradient(135deg, rgba(255, 51, 75, 0.18) 0%, rgba(123, 15, 32, 0.32) 100%);
  border: 1px dashed rgba(255, 51, 75, 0.45);
  border-radius: 10px;
  padding: 10px 12px;
}

.promo-badge-pulse {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--accent-red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.drawer-banner-promo .promo-text {
  font-size: 0.775rem;
  color: #fff;
  line-height: 1.35;
}

.drawer-section-title {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
  padding-left: 6px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.drawer-link:active,
.drawer-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.drawer-link.drawer-highlight {
  background: rgba(255, 51, 75, 0.1);
  border: 1px solid rgba(255, 51, 75, 0.25);
}

.drawer-icon {
  font-size: 1.1rem;
  width: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.drawer-label {
  flex: 1;
}

.drawer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.drawer-badge.hot {
  background: var(--accent-red);
  color: #fff;
}

.drawer-quick-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}

.contact-pill:active {
  transform: scale(0.96);
}

.contact-pill.hotline {
  background: rgba(255, 51, 75, 0.15);
  border: 1px solid rgba(255, 51, 75, 0.35);
  color: #fff;
}

.contact-pill.zalo {
  background: rgba(0, 104, 255, 0.18);
  border: 1px solid rgba(0, 104, 255, 0.4);
  color: #fff;
}

.c-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.c-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.c-label {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.65);
}

.c-val {
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-address-card {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
}

.addr-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.addr-text {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

.addr-text strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}

.addr-hours {
  font-size: 0.6875rem;
  color: var(--accent-gold);
  margin-top: 4px;
}

.drawer-guarantees {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.guarantee-chip {
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.drawer-admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
}

.drawer-admin-link:active,
.drawer-admin-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   MOBILE FOOTER ARCHITECTURE (SMARTPHONE <= 768px)
   Eliminates right-side cutoff and creates a balanced, premium 2-column mobile layout
   ========================================================================== */
@media (max-width: 768px) {
  .footer {
    padding: 44px 0 24px !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 14px !important;
    margin-bottom: 30px !important;
  }

  /* 1. Brand column spans full 100% width on mobile */
  
  /* Mobile Footer Brand Logo & Typography Polished */
  .footer-brand-logo {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .footer-brand-logo img,
  .footer-brand-img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
  }

  .footer-brand-name {
    font-size: 1.14rem !important;
    letter-spacing: 0.03em !important;
    gap: 6px !important;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 4px !important;
  }

  .footer-top > div:first-child p,
  .footer-desc {
    max-width: 100% !important;
    font-size: 0.8125rem !important;
    line-height: 1.55 !important;
  }

  /* 2. Danh mục - 50% left */
  .footer-top > div:nth-child(2) {
    grid-column: 1 / 2 !important;
    min-width: 0 !important;
  }

  /* 3. Chính sách - 50% right */
  .footer-top > div:nth-child(3) {
    grid-column: 2 / 3 !important;
    min-width: 0 !important;
  }

  .footer-heading {
    font-size: 0.875rem !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
  }

  .footer-links li {
    margin-bottom: 8px !important;
  }

  .footer-links a {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
    display: block !important;
    word-break: break-word !important;
  }

  /* 4. Showroom Ninh Bình spans full 100% width below */
  .footer-top > div:nth-child(4),
  .footer-top > div:last-child {
    grid-column: 1 / -1 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    min-width: 0 !important;
  }

  .footer-top > div:nth-child(4) p,
  .footer-top > div:last-child p {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    padding-top: 20px !important;
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   ORDER TRACKING MODAL STYLES (ALWAYS TOP LAYER & MOBILE POLISHED)
   ========================================================================== */
#order-tracking-modal {
  z-index: 100050 !important;
}

#order-tracking-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#order-tracking-modal .modal-card {
  background: #180307;
  background: linear-gradient(180deg, #22040b 0%, #120205 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

@media (max-width: 600px) {
  #order-tracking-modal {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  #order-tracking-modal .modal-card {
    border-radius: 20px 20px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 85vh !important;
    padding: 20px 16px 32px !important;
  }
}

/* ==========================================================================
   COMPACT MOBILE SCREEN (<= 380px e.g. iPhone SE / Galaxy S)
   ========================================================================== */
@media (max-width: 380px) {
  .quick-categories {
    padding: 10px 0 6px !important;
  }
  .category-pill-slider {
    gap: 10px !important;
  }
  .circle-avatar-wrap {
    width: 52px !important;
    height: 52px !important;
    padding: 2px !important;
  }
  .circle-label {
    font-size: 0.625rem !important;
  }
}

/* ==========================================================================
   DESKTOP NAV-LINKS NO OVERLAP POLISH (ONLY DESKTOP >= 861px)
   ========================================================================== */
@media (min-width: 861px) {
  .nav-links {
    display: flex !important;
    align-items: stretch !important;
    height: 74px !important;
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .nav-link {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 clamp(6px, 0.8vw, 12px) !important;
    font-size: clamp(0.7rem, 0.78vw, 0.76rem) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none !important;
  }
}

/* Hiển thị icon tra cứu / đơn hàng gọn gàng trên header desktop/tablet */
@media (min-width: 601px) {
  .header-track-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
  }
  .header-track-btn:hover {
    color: var(--accent-red) !important;
    border-color: rgba(255, 51, 75, 0.5) !important;
  }
}

@media (max-width: 600px) {
  .header-track-btn {
    display: none !important;
  }

  /* Homepage & Global Sections Mobile Proportions Polish */
  .section-padding {
    padding: 36px 0 !important;
  }

  .section-header {
    margin-bottom: 22px !important;
    gap: 10px !important;
  }

  .section-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .section-subtitle {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
  }

  /* Promo Banners Grid */
  .promo-banners {
    padding: 20px 0 !important;
  }

  .promo-card {
    height: 250px !important;
    border-radius: 12px !important;
  }

  .promo-content {
    padding: 20px 16px !important;
  }

  .promo-tag {
    font-size: 0.68rem !important;
    margin-bottom: 4px !important;
  }

  .promo-title {
    font-size: 1.3rem !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }

  .promo-desc {
    font-size: 0.78rem !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
  }

  /* Homepage Catalog Toolbar & Horizontal Scrollable Tabs */
  .catalog-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
  }

  .catalog-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
    margin: 0 -12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .catalog-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 0.75rem !important;
    border-radius: 999px !important;
  }

  .catalog-sort {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .sort-label {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .sort-select {
    flex: 1 !important;
    max-width: 220px !important;
    height: 36px !important;
    padding: 0 28px 0 12px !important;
    font-size: 0.78rem !important;
  }

  /* Flash Sale Section */
  .flash-sale-banner {
    padding: 20px 0 !important;
  }

  .flash-sale-inner {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    gap: 18px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .flash-content {
    max-width: 100% !important;
  }

  .flash-badge {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    margin-bottom: 10px !important;
  }

  .flash-title {
    font-size: 1.35rem !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
  }

  .flash-desc {
    font-size: 0.8125rem !important;
    margin-bottom: 16px !important;
    line-height: 1.45 !important;
  }

  .countdown-box {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .time-unit {
    min-width: 58px !important;
    padding: 10px 6px !important;
    border-radius: 8px !important;
    flex: 1 !important;
    max-width: 72px !important;
  }

  .time-num {
    font-size: 1.25rem !important;
  }

  .time-label {
    font-size: 0.625rem !important;
  }

  /* Lookbook Section */
  .lookbook-spotlight {
    height: 330px !important;
    border-radius: 12px !important;
  }

  .lookbook-overlay {
    padding: 20px 16px !important;
  }

  .lookbook-title {
    font-size: 1.3rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }

  .lookbook-overlay p {
    font-size: 0.8125rem !important;
    margin-bottom: 12px !important;
  }

  .lookbook-items-col {
    gap: 12px !important;
  }

  .lookbook-card-item {
    padding: 12px !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }

  .lookbook-item-thumb {
    width: 72px !important;
    height: 90px !important;
    flex-shrink: 0 !important;
  }

  .lookbook-item-info {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .lookbook-item-info h4 {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .lookbook-item-info p {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }

  .lookbook-card-item .btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 7px 12px !important;
    font-size: 0.72rem !important;
  }

  /* Local Hub / Store Section */
  .hub-info-card {
    padding: 22px 16px !important;
    border-radius: 12px !important;
  }

  .hub-title {
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
  }

  .hub-desc {
    font-size: 0.8125rem !important;
    margin-bottom: 18px !important;
  }

  .hub-feature-list {
    gap: 14px !important;
    margin-bottom: 20px !important;
  }

  .hub-feature-item {
    gap: 12px !important;
  }

  .hub-feature-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  .hub-map-card {
    height: 320px !important;
    border-radius: 12px !important;
  }

  .hub-store-floating-card {
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .hub-store-floating-card h4 {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
  }

  .hub-store-floating-card p {
    font-size: 0.72rem !important;
  }

  .hub-store-floating-card .btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 7px 12px !important;
    font-size: 0.72rem !important;
  }

  /* Footer Mobile Polish */
  .footer {
    padding: 40px 0 24px !important;
  }

  .footer-top {
    gap: 24px !important;
    margin-bottom: 28px !important;
  }

  .footer-bottom {
    text-align: center !important;
    gap: 12px !important;
  }

  .payment-methods {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 0.98rem !important;
  }
  .brand-sub {
    font-size: 0.46rem !important;
  }
  .action-btn {
    width: 33px !important;
    height: 33px !important;
  }
}


/* ==========================================================================
   ORDER SPOTLIGHT PILL BAR (ULTRA-COMPACT & AESTHETIC ON MOBILE)
   ========================================================================== */
.order-spotlight-section {
  padding-top: 12px !important;
  padding-bottom: 4px !important;
}

.order-spotlight-bar {
  background: linear-gradient(135deg, rgba(38, 5, 12, 0.92) 0%, rgba(18, 2, 5, 0.96) 100%) !important;
  border: 1px solid rgba(255, 51, 75, 0.25) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 600px) {
  .order-spotlight-section {
    padding-top: 8px !important;
    padding-bottom: 2px !important;
  }

  .order-spotlight-bar {
    border-radius: 999px !important;
    padding: 5px 8px 5px 7px !important;
    gap: 8px !important;
    background: linear-gradient(90deg, rgba(36, 5, 11, 0.94) 0%, rgba(20, 3, 6, 0.96) 100%) !important;
    border: 1px solid rgba(255, 51, 75, 0.24) !important;
  }

  .order-spotlight-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    font-size: 0.8rem !important;
  }

  .order-spotlight-title {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
  }

  .order-spotlight-sub {
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
    margin-top: 1px !important;
  }

  .order-spotlight-actions {
    gap: 5px !important;
  }

  .btn-spotlight-primary,
  .btn-spotlight-ghost {
    font-size: 0.66rem !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    height: 26px !important;
  }

  .quick-categories + .section-padding {
    padding-top: 18px !important;
  }
}
