/* ===================================================
   LULU COSMETICS — E-COMMERCE DEMO
   Palette: tông màu xanh Facesmooth landing page
   =================================================== */

:root {
  /* Colors */
  --c-primary: #0e7c45;
  --c-primary-dark: #004b2b;
  --c-primary-light: #f3fff3;
  --c-bg-cream: #faffea;
  --c-bg-soft: #f9f7f2;
  --c-text: #1a1a1a;
  --c-text-mute: #666666;
  --c-white: #ffffff;
  --c-border: #e8e8e8;
  --c-sale: #d63031;

  /* Fonts */
  --f-body: 'Montserrat', sans-serif;
  --f-display: 'Playfair Display', serif;

  /* Sizes */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(14,124,69,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============================================
   HỆ THỐNG LƯỚI 12 CỘT (12-column grid)
   ============================================ */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Span utilities */
.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}

/* Hàng 1: Nav */
.header-row-1 {
  border-bottom: 1px solid var(--c-border);
}

.nav-container {
  align-items: center;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-container .logo {
  align-self: center;
}

.nav-container .main-nav {
  align-self: center;
  justify-self: start;
}

.nav-container .header-icons {
  align-self: center;
  justify-self: end;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--f-display);
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--c-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-link i {
  font-size: 10px;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--c-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
}

.header-icons {
  display: flex;
  gap: 16px;
}

.icon-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 16px;
  transition: all 0.3s;
}

.icon-link:hover {
  background: var(--c-primary);
  color: var(--c-white);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--c-sale);
  color: var(--c-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hàng 2: Search + Filter */
.header-row-2 {
  padding: 16px 0;
  background: var(--c-bg-cream);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--c-white);
  border: 2px solid var(--c-primary);
  border-radius: 50px;
  padding: 4px 4px 4px 20px;
  max-width: 680px;
  margin: 0 auto;
  transition: box-shadow 0.3s;
}

/* Filter button + dropdown */
.filter-wrap {
  position: relative;
}

.btn-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--c-white);
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
}

.btn-filter:hover, .btn-filter.open {
  background: var(--c-primary);
  color: var(--c-white);
}

.filter-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s;
  max-height: 480px;
  overflow-y: auto;
}

.filter-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-group {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.filter-group h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--c-text);
  cursor: pointer;
}

.filter-group input[type="checkbox"] {
  accent-color: var(--c-primary);
  width: 16px;
  height: 16px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.filter-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
}

.btn-filter-reset {
  background: var(--c-bg-soft);
  color: var(--c-text);
}

.btn-filter-apply {
  background: var(--c-primary);
  color: var(--c-white);
}

.search-bar:focus-within {
  box-shadow: 0 0 0 4px rgba(14, 124, 69, 0.15);
}

.search-bar i {
  color: var(--c-primary);
  font-size: 16px;
  margin-right: 12px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 0;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
}

.btn-search {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.btn-search:hover {
  background: var(--c-primary-dark);
}

/* Hàng 3: Chips */
.header-row-3 {
  padding: 12px 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
}

.chips-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chips-label {
  font-size: 13px;
  color: var(--c-text-mute);
  font-weight: 500;
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.chip:hover {
  background: var(--c-primary);
  color: var(--c-white);
  transform: translateY(-1px);
}

.chip-sale {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: var(--c-white);
  font-weight: 600;
}

.chip-sale:hover {
  background: var(--c-sale);
  color: var(--c-white);
}

/* ==================== SECTION 1: HERO (12-col grid, 3-6-3) ==================== */
.hero-combo {
  position: relative;
  background: var(--c-bg-cream);
  padding: 32px 0;
  min-height: 720px;
}

.hero-grid {
  min-height: calc(100vh - 220px);
}

/* ----- SIDEBAR (cột trái) ----- */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-search {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border: 1.5px solid var(--c-primary-light);
  border-radius: 10px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}

.sidebar-search:focus-within {
  border-color: var(--c-primary);
}

.sidebar-search i {
  color: var(--c-primary);
  margin-right: 10px;
}

.sidebar-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.sidebar-filter {
  align-self: flex-start;
}

.sidebar-filter .btn-filter {
  padding: 10px 18px;
  font-size: 13px;
}

/* Promo stack */
.promo-stack {
  margin-top: 8px;
  background: var(--c-bg-soft);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(14, 124, 69, 0.1);
}

.promo-stack-label {
  display: block;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.promo-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--c-white);
  margin-bottom: 10px;
  border: 1px solid var(--c-border);
  transition: all 0.3s;
}

.promo-tag:hover {
  transform: translateX(4px);
  border-color: var(--c-primary);
  box-shadow: 0 4px 12px rgba(14, 124, 69, 0.1);
}

.promo-tag:last-child {
  margin-bottom: 0;
}

.promo-tag i {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-tag-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.promo-tag-info strong {
  font-size: 14px;
  color: var(--c-text);
  font-weight: 700;
}

.promo-tag-info span {
  font-size: 11px;
  color: var(--c-text-mute);
  margin-top: 2px;
}

.promo-sale i { background: #fee; color: #d63031; }
.promo-gift i { background: #fef3c7; color: #d97706; }
.promo-ship i { background: #dbeafe; color: #2563eb; }
.promo-voucher i { background: var(--c-primary-light); color: var(--c-primary); }

/* ----- CENTER: Ảnh ----- */
.hero-image-3 {
  position: relative;
  background: var(--c-bg-soft);
  border-radius: 16px;
  overflow: hidden;
}

.hero-image-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--c-white);
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.hero-image-badge span {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: 1px;
}

.hero-image-badge em {
  font-style: italic;
  font-size: 10px;
  color: var(--c-text-mute);
  text-transform: lowercase;
}

/* ----- RIGHT: Text + CTA ----- */
.hero-info-3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
}

.hero-info-3-inner .hero-eyebrow {
  color: var(--c-primary);
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title-3 {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--c-primary-dark);
  margin-bottom: 24px;
}

.hero-title-3 em {
  font-style: italic;
  color: var(--c-primary);
}

.hero-desc-3 {
  font-size: 14px;
  color: var(--c-text-mute);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-bottom-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.btn-mua-voucher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--c-white);
  color: var(--c-primary-dark);
  border: 1.5px solid var(--c-primary-dark);
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}

.btn-mua-voucher:hover {
  background: var(--c-primary-dark);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-mua-voucher i {
  color: #d63031;
}

.btn-mua-voucher:hover i {
  color: #fbbf24;
}

.hero-dots-3 {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot-3 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(14, 124, 69, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.dot-3.active {
  background: var(--c-primary);
  width: 24px;
  border-radius: 4px;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Trái: chỉ ảnh */
.hero-image {
  position: relative;
  background: var(--c-bg-soft);
  overflow: hidden;
}

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

/* Phải: card border */
.hero-info {
  background: var(--c-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-info-card {
  background: var(--c-primary-dark);
  color: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 75, 43, 0.25);
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-info-top {
  padding: 48px 40px 32px;
}

/* Voucher CTA — Shopee style */
.voucher-cta {
  background: linear-gradient(135deg, #ffefef 0%, #fff5e6 100%);
  color: var(--c-text);
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.voucher-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.voucher-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff7e7e, #ee5a52);
  color: var(--c-white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', sans-serif;
}

.time-block {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  background: var(--c-text);
  color: var(--c-white);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.time-sep {
  color: var(--c-text);
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--c-white);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: var(--c-bg-soft);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.icon-btn.icon-cart {
  color: var(--c-primary);
  border-color: var(--c-primary-light);
  background: var(--c-primary-light);
}

.icon-btn.icon-cart:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn-voucher {
  flex: 1;
  background: linear-gradient(135deg, #ee5a52, #d63031);
  color: var(--c-white);
  border-radius: 8px;
  padding: 6px 16px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: all 0.2s;
}

.btn-voucher:hover {
  background: linear-gradient(135deg, #d63031, #ad2424);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(214, 48, 49, 0.4);
}

.btn-voucher-label {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.95;
}

.btn-voucher-price {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hero-eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--c-bg-cream);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: #fbbf24;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Mũi tên prev/next */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s;
}

.hero-nav-btn:hover {
  background: var(--c-primary-dark);
}

.hero-prev {
  left: 0;
}

.hero-next {
  right: 0;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 25%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dots .dot {
  background: rgba(14, 124, 69, 0.4);
}

.hero-dots .dot.active {
  background: var(--c-primary);
}

.hero-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots .dot.active {
  background: var(--c-white);
  width: 24px;
  border-radius: 4px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 124, 69, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn-outline:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn-light {
  background: var(--c-white);
  color: var(--c-primary-dark);
}

.btn-light:hover {
  background: var(--c-bg-cream);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--c-primary-dark);
  color: var(--c-white);
}

.btn-dark:hover {
  background: var(--c-primary);
  transform: translateY(-2px);
}

/* ==================== BRAND BANNERS ==================== */
.brand-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 75, 43, 0.85) 0%, rgba(14, 124, 69, 0.6) 100%);
  z-index: 2;
}

.paddy-overlay {
  background: linear-gradient(135deg, rgba(250, 255, 234, 0.85) 0%, rgba(243, 255, 243, 0.6) 100%);
}

.banner-content {
  position: relative;
  z-index: 3;
  color: var(--c-white);
  max-width: 600px;
}

.paddy-content {
  color: var(--c-primary-dark);
}

.brand-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.brand-name {
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
}

.brand-tagline {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 480px;
}

/* ==================== PRODUCTS ==================== */
.products-section {
  padding: 80px 0;
  background: var(--c-white);
}

.products-section.alt-bg {
  background: var(--c-bg-soft);
}

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

.section-eyebrow {
  display: inline-block;
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--c-primary-dark);
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.products-grid .product-card {
  grid-column: span 4;
}

.product-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-bg-soft);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-badge.badge-new {
  background: var(--c-primary-dark);
}

.product-badge.badge-sale {
  background: var(--c-sale);
}

.product-info {
  padding: 24px;
}

.product-brand {
  font-size: 11px;
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.product-name {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 12px;
  min-height: 52px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars {
  color: #fbbf24;
  letter-spacing: 1px;
  font-size: 14px;
}

.rating-count {
  font-size: 12px;
  color: var(--c-text-mute);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-primary);
}

.price-old {
  font-size: 14px;
  color: var(--c-text-mute);
  text-decoration: line-through;
}

.btn-buy {
  width: 100%;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-buy:hover {
  background: var(--c-primary-dark);
  transform: scale(1.02);
}

.section-footer {
  text-align: center;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--c-primary-dark);
  color: var(--c-white);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand { grid-column: span 4; }
.footer-col:nth-of-type(2) { grid-column: span 2; }  /* Về chúng tôi */
.footer-col:nth-of-type(3) { grid-column: span 2; }  /* Chính sách */
.footer-col:nth-of-type(4) { grid-column: span 2; }  /* Thương hiệu */
.footer-col:nth-of-type(5) { grid-column: span 2; }  /* Liên hệ */

.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 14px;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--c-bg-cream);
  color: var(--c-primary-dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--c-bg-cream);
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--c-bg-cream);
}

.footer-col p i {
  margin-right: 8px;
  color: var(--c-bg-cream);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.75;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .grid-12 { gap: 16px; padding: 0 16px; }
  .hero-grid { min-height: 0; }
  .col-3.hero-sidebar { grid-column: span 12; }
  .col-6.hero-image-3 { grid-column: span 8; aspect-ratio: 16/10; }
  .col-3.hero-info-3 { grid-column: span 4; }
  .products-grid .product-card { grid-column: span 6; }
  .footer-brand { grid-column: span 12; }
  .footer-col:nth-of-type(n+2) { grid-column: span 6; }
  .hero-sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-search { flex: 1; min-width: 200px; }
  .promo-stack { flex: 1 0 100%; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-container { min-height: 60px; }
  .nav-container .logo { grid-column: span 6; }
  .nav-container .header-icons { grid-column: span 6; }
  .chips-container { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .chip { flex-shrink: 0; }
  .hero-combo { padding: 16px 0; min-height: 0; }
  .hero-sidebar { flex-direction: column; grid-column: span 12; }
  .col-6.hero-image-3 { grid-column: span 12; }
  .col-3.hero-info-3 { grid-column: span 12; }
  .products-grid .product-card { grid-column: span 12; }
  .brand-banner { height: 360px; }
  .footer-col:nth-of-type(n+2) { grid-column: span 12; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .filter-dropdown { width: 280px; right: auto; left: 0; }
}
