@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --white: #FFFFFF;
  --blush: #F9A8D4;
  --rose: #E11D48;
  --rose-light: #FFF1F5;
  --rose-dark: #be123c;
  --champagne: #F5E6CC;
  --champagne-dark: #e8d0a8;
  --graphite: #374151;
  --graphite-light: #6B7280;
  --gray-light: #F8FAFC;
  --gray-mid: #E5E7EB;
  --gray-border: #D1D5DB;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --shadow-sm: 0 1px 3px rgba(55,65,81,0.08);
  --shadow-md: 0 4px 16px rgba(55,65,81,0.10);
  --shadow-lg: 0 8px 32px rgba(55,65,81,0.13);
  --shadow-rose: 0 4px 20px rgba(225,29,72,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-primary); border: none; outline: none; }
input, textarea, select { font-family: var(--font-primary); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--graphite);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--blush); }
.topbar__icon { color: var(--blush); margin-right: 5px; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1.5px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--rose), var(--blush));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -1px;
  font-family: var(--font-display);
}
.logo__text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--graphite);
  line-height: 1;
}
.logo__text span { color: var(--rose); }

/* Search */
.header__search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header__search input {
  width: 100%;
  padding: 10px 46px 10px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  font-size: 14px;
  background: var(--gray-light);
  color: var(--graphite);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header__search input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(225,29,72,0.08);
  background: var(--white);
}
.header__search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--rose);
  border: none;
  border-radius: 50px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: background var(--transition);
}
.header__search button:hover { background: var(--rose-dark); }

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  color: var(--graphite);
  font-size: 11px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.header__action-btn:hover { background: var(--rose-light); color: var(--rose); }
.header__action-btn svg, .header__action-btn i { font-size: 20px; }
.cart-count {
  position: absolute;
  top: 3px;
  right: 6px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== NAVIGATION ===== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-bottom: 2.5px solid transparent;
}
.nav__link:hover, .nav__link.active {
  color: var(--rose);
  border-bottom-color: var(--rose);
  background: var(--rose-light);
}
.nav__link svg { font-size: 12px; transition: transform var(--transition); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
  padding: 8px 0;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--graphite);
  transition: background var(--transition), color var(--transition);
}
.nav__dropdown a:hover { background: var(--rose-light); color: var(--rose); }
.nav__dropdown a span { font-size: 16px; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--graphite);
  padding: 8px;
  cursor: pointer;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
}
.breadcrumb__list li { display: flex; align-items: center; gap: 6px; color: var(--graphite-light); }
.breadcrumb__list li:not(:last-child)::after { content: '/'; color: var(--gray-border); }
.breadcrumb__list a { color: var(--graphite-light); transition: color var(--transition); }
.breadcrumb__list a:hover { color: var(--rose); }
.breadcrumb__list li:last-child { color: var(--graphite); font-weight: 500; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.btn-primary:hover { background: var(--rose-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(225,29,72,0.18); }
.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 1.5px solid var(--rose);
}
.btn-outline:hover { background: var(--rose); color: #fff; }
.btn-ghost {
  background: var(--gray-light);
  color: var(--graphite);
  border: 1.5px solid var(--gray-mid);
}
.btn-ghost:hover { background: var(--rose-light); color: var(--rose); border-color: var(--blush); }
.btn-champagne {
  background: var(--champagne);
  color: var(--graphite);
}
.btn-champagne:hover { background: var(--champagne-dark); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-icon { padding: 10px; width: 40px; height: 40px; border-radius: var(--radius-sm); justify-content: center; }
.btn-block { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(55,65,81,0.72) 0%, rgba(55,65,81,0.28) 60%, transparent 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 60px 0;
}
.hero__subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SECTION HEADINGS ===== */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head--left { text-align: left; }
.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--graphite-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.section-head--left .section-desc { margin: 0; }

/* ===== SECTION SPACING ===== */
.section { padding: 70px 0; }
.section-sm { padding: 44px 0; }
.section-lg { padding: 96px 0; }
.section-bg { background: var(--gray-light); }
.section-champagne { background: linear-gradient(135deg, var(--champagne) 0%, #fff8ee 100%); }
.section-rose { background: linear-gradient(135deg, var(--rose-light) 0%, #fff 100%); }

/* ===== CATEGORY GRID ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 16px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--graphite);
  display: block;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--rose-light), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.cat-card:hover { border-color: var(--blush); transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--graphite); }
.cat-card:hover::before { opacity: 1; }
.cat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  position: relative;
  z-index: 1;
  transition: background var(--transition), transform var(--transition);
}
.cat-card:hover .cat-card__icon { background: var(--rose); color: #fff; transform: scale(1.08); }
.cat-card__name {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.cat-card__count {
  font-size: 12px;
  color: var(--graphite-light);
  position: relative;
  z-index: 1;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blush); }
.product-card__image-wrap {
  position: relative;
  background: var(--gray-light);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.05); }
.product-card__actions {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
}
.product-card:hover .product-card__actions { opacity: 1; transform: translateX(0); }
.product-card__action {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.product-card__action:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.product-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-new { background: var(--rose); color: #fff; }
.badge-sale { background: var(--champagne); color: var(--graphite); }
.badge-top { background: var(--graphite); color: #fff; }
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card__brand { font-size: 11.5px; font-weight: 600; color: var(--graphite-light); text-transform: uppercase; letter-spacing: 0.8px; }
.product-card__name { font-size: 15px; font-weight: 600; color: var(--graphite); line-height: 1.35; }
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--rose); }
.product-card__rating { display: flex; align-items: center; gap: 6px; }
.stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--graphite-light); }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.spec-tag { font-size: 11.5px; background: var(--gray-light); color: var(--graphite-light); border: 1px solid var(--gray-mid); padding: 2px 8px; border-radius: 50px; }
.product-card__pricing { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.price-current { font-size: 20px; font-weight: 700; color: var(--rose); font-family: var(--font-display); }
.price-old { font-size: 13.5px; color: var(--graphite-light); text-decoration: line-through; }
.price-discount { font-size: 12px; font-weight: 700; color: var(--rose); background: var(--rose-light); padding: 2px 6px; border-radius: 4px; }
.product-card__footer { padding: 12px 16px 16px; display: flex; gap: 8px; border-top: 1px solid var(--gray-mid); }
.product-card__footer .btn { font-size: 13px; padding: 8px 14px; }

/* ===== FILTERS / SIDEBAR ===== */
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.sidebar { position: sticky; top: 100px; }
.filter-block {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.filter-block__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-block__title button { background: none; border: none; color: var(--graphite-light); font-size: 12px; cursor: pointer; }
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-item { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; }
.filter-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--rose); }
.filter-item span { flex: 1; color: var(--graphite); }
.filter-item em { color: var(--graphite-light); font-style: normal; font-size: 12px; }

/* Price Range */
.price-range { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.price-range input {
  width: 90px;
  padding: 7px 10px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--graphite);
}
.price-range span { color: var(--graphite-light); }

/* ===== PRODUCT DETAIL ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery__main {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery__thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-mid);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-gallery__thumb.active, .product-gallery__thumb:hover { border-color: var(--rose); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info__brand { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.product-info__name { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--graphite); line-height: 1.25; margin-bottom: 12px; }
.product-info__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.product-info__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.product-info__price .price-current { font-size: 32px; }
.product-info__desc { font-size: 15px; color: var(--graphite-light); line-height: 1.7; margin-bottom: 24px; }
.product-options { margin-bottom: 22px; }
.product-options__label { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--graphite); }
.product-options__list { display: flex; flex-wrap: wrap; gap: 8px; }
.product-option-btn {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-border);
  background: var(--white);
  font-size: 13px;
  color: var(--graphite);
  cursor: pointer;
  transition: all var(--transition);
}
.product-option-btn.active, .product-option-btn:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-light); }
.product-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--gray-border); border-radius: 50px; overflow: hidden; }
.qty-control button { width: 36px; height: 36px; background: var(--gray-light); border: none; font-size: 18px; color: var(--graphite); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-control button:hover { background: var(--rose-light); color: var(--rose); }
.qty-control input { width: 48px; height: 36px; text-align: center; border: none; border-left: 1px solid var(--gray-mid); border-right: 1px solid var(--gray-mid); font-size: 15px; font-weight: 600; }
.product-info__actions { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.product-features {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--graphite); }
.product-feature i { color: var(--rose); font-size: 16px; margin-top: 2px; flex-shrink: 0; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table tr { border-bottom: 1px solid var(--gray-mid); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 11px 14px; font-size: 14px; }
.spec-table td:first-child { font-weight: 600; color: var(--graphite); width: 40%; background: var(--gray-light); }
.spec-table td:last-child { color: var(--graphite-light); }

/* ===== COMPARE ===== */
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--gray-mid); font-size: 13.5px; }
.compare-table th { font-weight: 700; color: var(--graphite); background: var(--gray-light); font-size: 13px; }
.compare-table tr:hover td { background: var(--rose-light); }
.compare-table td:first-child { font-weight: 600; color: var(--graphite-light); }
.compare-check { color: #22c55e; font-size: 16px; }
.compare-x { color: #ef4444; font-size: 16px; }

/* ===== TABS ===== */
.tabs { border-bottom: 2px solid var(--gray-mid); display: flex; gap: 0; margin-bottom: 28px; overflow-x: auto; }
.tab-btn {
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite-light);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--rose); border-bottom-color: var(--rose); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== REVIEWS ===== */
.review-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--rose);
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-size: 14px; font-weight: 600; color: var(--graphite); }
.review-date { font-size: 12px; color: var(--graphite-light); }
.review-text { font-size: 14px; color: var(--graphite-light); line-height: 1.65; }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blush); }
.blog-card__image { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-light); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.04); }
.blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.blog-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--graphite); line-height: 1.3; margin-bottom: 10px; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--rose); }
.blog-card__excerpt { font-size: 14px; color: var(--graphite-light); line-height: 1.65; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--graphite-light); }

/* ===== STAT CARDS ===== */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--blush); box-shadow: var(--shadow-md); }
.stat-card__number { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--rose); line-height: 1; margin-bottom: 6px; }
.stat-card__label { font-size: 13.5px; color: var(--graphite-light); font-weight: 500; }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--blush); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: background var(--transition);
}
.feature-card:hover .feature-card__icon { background: var(--rose); color: #fff; }
.feature-card__title { font-size: 16px; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.feature-card__desc { font-size: 14px; color: var(--graphite-light); line-height: 1.65; }

/* ===== BRAND STRIP ===== */
.brands-strip { overflow: hidden; }
.brands-track { display: flex; gap: 40px; align-items: center; animation: scroll-brands 22s linear infinite; white-space: nowrap; }
.brands-track img { height: 38px; opacity: 0.55; filter: grayscale(1); transition: opacity var(--transition), filter var(--transition); }
.brands-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes scroll-brands { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--graphite), #1f2937);
  border-radius: var(--radius-xl);
  padding: 52px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.newsletter__text .section-title { color: #fff; }
.newsletter__text .section-desc { color: rgba(255,255,255,0.7); margin: 0; }
.newsletter__form { display: flex; gap: 10px; flex: 1; max-width: 420px; flex-shrink: 0; }
.newsletter__form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 50px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter__form input:focus { outline: none; background: rgba(255,255,255,0.18); }

/* ===== FOOTER ===== */
.footer { background: var(--graphite); color: rgba(255,255,255,0.8); }
.footer__top { padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { }
.footer__logo { margin-bottom: 14px; }
.footer__logo .logo__text { color: #fff; }
.footer__logo .logo__text span { color: var(--blush); }
.footer__about { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: all var(--transition);
  text-decoration: none;
}
.footer__social:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.footer__col-title { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__links a:hover { color: var(--blush); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.footer__contact-item i { color: var(--blush); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.5); margin: 0 6px; }
.footer__bottom a:hover { color: var(--blush); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--graphite); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--graphite);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font-primary);
}
.form-control:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(225,29,72,0.07); }
.form-control::placeholder { color: var(--gray-border); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--graphite-light); margin-top: 5px; }

/* ===== ALERT / SUCCESS ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error { background: #fff1f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info { background: var(--rose-light); border: 1px solid var(--blush); color: var(--rose-dark); }
.alert i { font-size: 18px; }
#successMsg { display: none; }
#successMsg.show { display: flex; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(55,65,81,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal__close { position: absolute; top: 16px; right: 16px; background: var(--gray-light); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; color: var(--graphite-light); }
.modal__close:hover { background: var(--rose-light); color: var(--rose); }

/* ===== CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.cart-item__img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); background: var(--gray-light); }
.cart-item__name { font-size: 15px; font-weight: 600; color: var(--graphite); margin-bottom: 4px; }
.cart-item__brand { font-size: 12px; color: var(--graphite-light); text-transform: uppercase; margin-bottom: 8px; }
.order-summary {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.order-summary__title { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--graphite-light); }
.summary-row.total { font-weight: 700; color: var(--graphite); font-size: 18px; border-top: 1.5px solid var(--gray-mid); padding-top: 14px; margin-top: 6px; }
.summary-row.total .price-current { font-size: 22px; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.checkout-section {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
}
.checkout-section__title { font-size: 16px; font-weight: 700; color: var(--graphite); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-mid); display: flex; align-items: center; gap: 8px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.payment-option:hover, .payment-option.selected { border-color: var(--rose); background: var(--rose-light); }
.payment-option input { accent-color: var(--rose); }

/* ===== PRICE HISTORY ===== */
.price-chart-wrap {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.price-chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 14px; }
.price-bar {
  flex: 1;
  background: linear-gradient(to top, var(--rose), var(--blush));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: opacity var(--transition);
  min-height: 12px;
}
.price-bar:hover { opacity: 0.8; }
.price-bar::after { content: attr(data-label); position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--graphite-light); white-space: nowrap; }
.price-chart-labels { display: flex; justify-content: space-between; margin-top: 24px; font-size: 11px; color: var(--graphite-light); }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--rose); border-color: var(--rose); color: #fff; }
.page-btn.active { font-weight: 700; }

/* ===== POLICY PAGES ===== */
.policy-content { max-width: 860px; margin: 0 auto; }
.policy-content h1 { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.policy-content .policy-date { font-size: 13px; color: var(--graphite-light); margin-bottom: 30px; }
.policy-content h2 { font-size: 20px; font-weight: 700; color: var(--graphite); margin: 32px 0 12px; }
.policy-content h3 { font-size: 16px; font-weight: 700; color: var(--graphite); margin: 22px 0 8px; }
.policy-content p { font-size: 15px; color: var(--graphite-light); line-height: 1.75; margin-bottom: 14px; }
.policy-content ul { margin: 0 0 14px 20px; }
.policy-content ul li { font-size: 15px; color: var(--graphite-light); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.policy-content table th { background: var(--gray-light); padding: 10px 14px; font-weight: 600; text-align: left; border: 1px solid var(--gray-mid); }
.policy-content table td { padding: 9px 14px; border: 1px solid var(--gray-mid); color: var(--graphite-light); }
.policy-toc { background: var(--gray-light); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 32px; }
.policy-toc ul { margin: 10px 0 0; }
.policy-toc ul li { list-style: none; margin-bottom: 6px; }
.policy-toc a { color: var(--rose); font-size: 14px; }
.policy-toc a:hover { text-decoration: underline; }

/* ===== ABOUT / TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blush); }
.team-card__photo { aspect-ratio: 1/1; background: var(--gray-light); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__body { padding: 16px; }
.team-card__name { font-size: 16px; font-weight: 700; color: var(--graphite); margin-bottom: 4px; }
.team-card__role { font-size: 13px; color: var(--rose); font-weight: 600; margin-bottom: 8px; }
.team-card__bio { font-size: 13px; color: var(--graphite-light); line-height: 1.6; }

/* ===== MISC ===== */
.divider { height: 1px; background: var(--gray-mid); margin: 32px 0; }
.text-rose { color: var(--rose); }
.text-graphite { color: var(--graphite); }
.text-muted { color: var(--graphite-light); }
.fw-700 { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.hidden { display: none; }

/* Sticky bar */
.sticky-addtocart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1.5px solid var(--gray-mid);
  padding: 14px 0;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(55,65,81,0.1);
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-addtocart.visible { transform: translateY(0); }
.sticky-addtocart__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sticky-product-name { font-weight: 600; font-size: 15px; color: var(--graphite); }
.sticky-price { font-size: 22px; font-weight: 700; color: var(--rose); font-family: var(--font-display); }

/* Top scroll bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--rose);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Wishlist heart */
.wishlist-btn { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--graphite-light); transition: color var(--transition); }
.wishlist-btn:hover, .wishlist-btn.active { color: var(--rose); }

/* Tag list */
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; font-size: 12.5px; padding: 4px 12px; background: var(--gray-light); border: 1px solid var(--gray-mid); border-radius: 50px; color: var(--graphite-light); transition: all var(--transition); text-decoration: none; }
.tag:hover { background: var(--rose-light); border-color: var(--blush); color: var(--rose); }

/* Notification */
.notif {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--graphite);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 320px;
}
.notif.show { transform: translateX(0); }
.notif i { color: var(--blush); font-size: 18px; }

/* Range slider */
.range-input { width: 100%; accent-color: var(--rose); cursor: pointer; }

/* Responsive */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .page-layout { grid-template-columns: 220px 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; padding: 36px 24px; }
  .newsletter__form { max-width: 100%; }
  .hero { min-height: 420px; }
}
@media (max-width: 768px) {
  .topbar__left { display: none; }
  .header__search { max-width: 260px; }
  .nav__inner { overflow-x: auto; padding-bottom: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 44px 0; }
  .hero__content { padding: 40px 0; }
}
@media (max-width: 540px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero__actions { flex-direction: column; }
  .header__actions .header__action-btn span { display: none; }
}
