/* ============================================================
   HANU BEAUTY — Global Styles
   Red & Black Luxury Theme
   ============================================================ */

/* ─── Custom Properties ───────────────────────────────────── */
:root {
  --black:       #0a0a0a;
  --black-light: #111111;
  --black-card:  #1a1a1a;
  --black-border:#2a2a2a;
  --black-hover: #222222;

  --red:         #8A0303;
  --red-dark:    #4A0101;
  --red-light:   #B81D1D;
  --red-glow:    rgba(138, 3, 3, 0.25);
  --red-muted:   rgba(138, 3, 3, 0.12);

  --white:       #FFFFFF;
  --white-off:   #F5F5F5;
  --gray-100:    #E8E8E8;
  --gray-400:    #888888;
  --gray-600:    #555555;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  --shadow-red:  0 0 40px rgba(229, 43, 43, 0.3);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.5);
  --shadow-up:   0 -8px 40px rgba(229, 43, 43, 0.15);

  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 50px;
  --banner-height: 36px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 12px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white);
  border-radius: var(--radius);
}
ul { list-style: none; }

/* ─── Typography ─────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.display-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}
.display-md {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
}
.text-overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
}

/* ─── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section { padding: max(3vh, 24px) 0; }
.section-sm { padding: max(2vh, 16px) 0; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gray { color: var(--gray-400); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ─── Flash Banner ──────────────────────────────────────── */
.flash-banner {
  height: var(--banner-height);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.flash-banner-track {
  display: flex;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  gap: 80px;
}
.flash-banner-track span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 20px;
}
.flash-banner-track span::after {
  content: '✦';
  opacity: 0.7;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.header-logo .logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 2px;
}

/* ─── HANU Beauty wordmark ──────────────────────────────── */
.hanu-logo {
  display: inline-block;
  position: relative;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  padding: 0 0.62em 0.26em 0;
  font-size: 1.55rem;            /* scale the whole mark from here */
}
.hanu-logo .hl-main {
  display: block;
  font-family: 'League Spartan', var(--font-display), sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1em;
}
.hanu-logo .hl-script {
  position: absolute;
  right: 0;
  bottom: -0.14em;
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  color: var(--red);
  font-size: 1.08em;
  line-height: 1;
  transform: rotate(-3deg);
  transform-origin: right bottom;
}
a:hover > .hanu-logo .hl-script { filter: drop-shadow(0 0 8px rgba(229,43,43,0.55)); }
.header-logo .hanu-logo { font-size: 1.5rem; }
.footer-brand .hanu-logo { font-size: 1.85rem; }
.loader-logo .hanu-logo { font-size: 3rem; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.header-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  position: relative;
  padding-bottom: 4px;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--red);
  transition: var(--transition-fast);
}
.header-nav a:hover, .header-nav a.active {
  color: var(--white);
}
.header-nav a:hover::after, .header-nav a.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}
.header-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gray-400);
  border-radius: 50%;
  position: relative;
  transition: var(--transition-fast);
}
.header-icon-btn:hover { color: var(--white); background: var(--black-card); }
.header-icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.header-cta-btn {
  height: 38px;
  padding: 0 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}
.header-cta-btn:hover {
  background: var(--red-light);
  box-shadow: 0 0 20px var(--red-glow);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: transparent;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77,0,0.175,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav-close {
  position: absolute;
  top: 28px;
  right: 24px;
  font-size: 2rem;
  color: var(--gray-400);
  background: transparent;
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--black-light);
  border-top: 1px solid var(--black-border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--gray-400);
}
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }
.footer-newsletter { margin-top: 24px; }
.footer-newsletter p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  font-size: 0.85rem;
}
.newsletter-form button {
  height: 44px;
  padding: 0 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition-fast);
}
.newsletter-form button:hover { background: var(--red-light); }
.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.8rem;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: var(--gray-600);
  font-size: 0.8rem;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 8px 30px var(--red-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--black-border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  height: 40px;
  padding: 0 16px;
}
.btn-ghost:hover { color: var(--white); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 0.68rem; }
.btn-lg { height: 60px; padding: 0 48px; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(229, 43, 43, 0.3);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

/* ─── Product Card ────────────────────────────────────── */
.product-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: rgba(229, 43, 43, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-red);
}
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--black-light);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  z-index: 1;
}
.product-card-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 1;
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-card-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.9);
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  cursor: pointer;
}
.product-card-action-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--black);
}
.product-card-action-btn.wishlisted { color: var(--red); border-color: var(--red); }
.product-card-body {
  padding: 20px;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.product-card-subtitle {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.stars { color: var(--red); font-size: 0.85rem; letter-spacing: 2px; }
.stars.small { font-size: 0.7rem; }
.star-count { color: var(--gray-400); font-size: 0.78rem; }
.product-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.price-current {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}
.price-original {
  font-size: 0.9rem;
  color: var(--gray-600);
  text-decoration: line-through;
}
.price-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-muted);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ─── Placeholder Images ────────────────────────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black-light) 0%, #1f0a0e 100%);
  color: var(--gray-600);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 8px;
}
.img-placeholder .ph-icon {
  font-size: 2rem;
  opacity: 0.3;
}

/* ─── Section Headers ─────────────────────────────────── */
.section-header {
  margin-bottom: 60px;
}
.section-header .text-overline { margin-bottom: 12px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--gray-400);
  font-size: 1rem;
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.7;
}
.section-header.center { text-align: center; }
.section-header.center p { margin: 16px auto 0; }

/* ─── Divider ─────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--red);
  margin: 24px 0;
}
.divider.center { margin: 24px auto; }

/* ─── Forms ───────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 1rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  background: var(--black-card);
  color: var(--white);
  transition: var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-muted);
}
.form-control::placeholder { color: var(--gray-600); }
textarea.form-control {
  height: auto;
  padding: 16px;
  resize: vertical;
  min-height: 120px;
}
select.form-control { cursor: pointer; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-error {
  color: #ff4757;
  font-size: 0.8rem;
  margin-top: 6px;
}
.form-success {
  color: #2ed573;
  font-size: 0.8rem;
  margin-top: 6px;
}

/* ─── Alert / Flash ───────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid;
}
.alert-success { background: rgba(46,213,115,0.1); border-color: rgba(46,213,115,0.3); color: #2ed573; }
.alert-error   { background: rgba(255,71,87,0.1);  border-color: rgba(255,71,87,0.3);  color: #ff4757; }
.alert-info    { background: var(--red-muted);       border-color: rgba(229,43,43,0.3);  color: var(--red-light); }

/* ─── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-red    { background: var(--red-muted); color: var(--red); border: 1px solid rgba(229,43,43,0.3); }
.badge-green  { background: rgba(46,213,115,0.1); color: #2ed573; }
.badge-yellow { background: rgba(255,165,0,0.1); color: orange; }
.badge-gray   { background: rgba(136,136,136,0.1); color: var(--gray-400); }

/* ─── Breadcrumb ──────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--gray-600); }
.breadcrumb .current { color: var(--white); }

/* ─── Pagination ──────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ─── Loader ──────────────────────────────────────────── */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s ease;
}
.loader-overlay.fade-out { opacity: 0; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.loader-bar {
  width: 120px;
  height: 1px;
  background: var(--black-border);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--red);
  animation: loadBar 1.4s ease-in-out;
}
@keyframes loadBar {
  0%   { width: 0%; }
  100% { width: 100%; }
}

/* ─── Products Grid ───────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.products-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.products-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ─── Benefits Bar ─────────────────────────────────────── */
.benefits-bar {
  background: var(--black-card);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 20px 0;
}
.benefits-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.benefit-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

/* ─── Toast Notifications ────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 20px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.88rem;
  max-width: 320px;
  box-shadow: var(--shadow-card);
  animation: toastIn 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.success { border-left: 3px solid #2ed573; }
.toast.error   { border-left: 3px solid #ff4757; }
.toast.info    { border-left: 3px solid var(--red); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── Scroll to Top ──────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
  cursor: pointer;
  border: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--red-light); transform: translateY(-2px); }

/* ─── Page Hero (Inner Pages) ─────────────────────────── */
.page-hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(229,43,43,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-height: 52px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta-btn { display: none; }
  /* Nav is hidden, so drop the empty 3rd grid column and pin actions to the right edge */
  .header-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid, .products-grid-3, .products-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-bar-inner { gap: 24px; }
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid, .products-grid-3, .products-grid-4 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .btn-lg { height: 52px; padding: 0 32px; }
}

/* ============================================================
   HANU BEAUTY — Premium Aesthetic Upgrades
   Luxury micro-animations, refined finishes, extra polish
   ============================================================ */

/* ─── Container XS (tight forms) ──────────────────────────── */
.container-xs { max-width: 500px; margin: 0 auto; padding: 0 24px; }

/* ─── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--black-border);
  border-radius: 100px;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover { background: var(--red); }
* { scrollbar-width: thin; scrollbar-color: var(--black-border) var(--black); }

/* ─── Text Selection ───────────────────────────────────────── */
::selection { background: rgba(229,43,43,0.35); color: var(--white); }

/* ─── Cursor Glow ──────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,43,43,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
}

/* ─── Background Grid ──────────────────────────────────────── */
.bg-grid {
  /* Grid removed as per user request */
}

/* ─── Button Liquid (shimmer sweep) ───────────────────────── */
.btn-liquid {
  position: relative;
  overflow: hidden;
}
.btn-liquid::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-liquid:hover::after { left: 140%; }

/* ─── Pulse Red (gentle glow pulse) ───────────────────────── */
.pulse-red {
  animation: pulseRed 2.4s ease-in-out infinite;
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,43,43,0); }
  50%       { box-shadow: 0 0 0 10px rgba(229,43,43,0.18); }
}

/* ─── Product Card — Shine sweep on hover ─────────────────── */
.product-card { isolation: isolate; }
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.03) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.product-card:hover::after { opacity: 1; }

/* ─── Product Card — top accent line on hover ─────────────── */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}
.product-card:hover::before { opacity: 1; }

/* ─── Card generic — richer hover shadow ──────────────────── */
.card:hover {
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(229,43,43,0.15);
}

/* ─── Footer Social — scale + glow ────────────────────────── */
.footer-social a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 20px rgba(229,43,43,0.3);
}
.footer-social a { transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }

/* ─── Footer Col links — smooth left nudge ────────────────── */
.footer-col ul a {
  transition: color 0.18s ease, padding-left 0.18s ease;
  display: inline-block;
}

/* ─── Buttons — refined primary active state ──────────────── */
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* ─── Form Inputs — glow ring on focus ────────────────────── */
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,43,43,0.15), 0 1px 4px rgba(0,0,0,0.4);
  background: #1d1d1d;
}

/* ─── Newsletter input refinement ─────────────────────────── */
.newsletter-form input {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--black-border);
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(229,43,43,0.15);
}
.newsletter-form button {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* ─── Loader — letter-spacing reveal ─────────────────────── */
.loader-logo {
  animation: loaderReveal 1s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderReveal {
  from { opacity: 0; letter-spacing: 0.5em; }
  to   { opacity: 1; letter-spacing: 0.2em; }
}

/* ─── Section reveal (data-reveal) ────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(30px); }
[data-reveal="down"]  { transform: translateY(-20px); }
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
[data-delay="1"].revealed { transition-delay: 0.1s; }
[data-delay="2"].revealed { transition-delay: 0.2s; }
[data-delay="3"].revealed { transition-delay: 0.3s; }
[data-delay="4"].revealed { transition-delay: 0.4s; }

/* ─── Star ratings — gold accent ──────────────────────────── */
.stars { color: #d4a843; letter-spacing: 1px; }

/* ─── Price — shimmer on current price ────────────────────── */
.price-current {
  background: linear-gradient(90deg, var(--white) 0%, #f0d4d8 50%, var(--white) 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: priceShimmer 4s linear infinite;
}
@keyframes priceShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ─── Breadcrumb sep — lighter ────────────────────────────── */
.breadcrumb .sep::before { content: '/'; opacity: 0.4; }

/* ─── Alert — subtle left accent border ───────────────────── */
.alert {
  border-left-width: 3px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}
.alert-success { border-left-color: #2ed573; }
.alert-error   { border-left-color: #ff4757; }
.alert-info    { border-left-color: var(--red); }

/* ─── Scroll-to-top — refined ring ───────────────────────── */
.scroll-top {
  box-shadow: 0 4px 20px rgba(229,43,43,0.4);
  font-size: 0.9rem;
  font-weight: 300;
}
.scroll-top:hover { box-shadow: 0 8px 30px rgba(229,43,43,0.5); }

/* ─── Toast — glass refinement ────────────────────────────── */
.toast {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(26,26,26,0.92);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

/* ─── Page Loader bar — smooth gradient fill ──────────────── */
.loader-bar-fill {
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light));
  background-size: 200%;
  animation: loadBar 1.4s ease-in-out, shimmerBar 1.4s linear;
}
@keyframes shimmerBar {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Flash banner — shimmer text ────────────────────────── */
.flash-banner-track span {
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

/* ─── Header CTA — glow pulse ─────────────────────────────── */
.header-cta-btn {
  position: relative;
  overflow: hidden;
}
.header-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  left: -100%;
  transition: left 0.5s ease;
}
.header-cta-btn:hover::after { left: 100%; }

/* ─── Benefits bar items — hover glow ────────────────────── */
.benefit-item:hover { color: var(--white); }
.benefit-item { transition: color 0.2s ease; }

/* ─── Divider — gradient luxury ───────────────────────────── */
.divider {
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  height: 1px;
  width: 80px;
}

/* ─── Img placeholder — richer gradient ───────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, #1a0a0d 0%, #0f0f0f 40%, #1a0a0d 100%);
}
.img-placeholder .ph-icon { opacity: 0.15; }

/* ─── Mobile nav links — staggered fade-in ───────────────── */
.mobile-nav.open a {
  animation: mobileNavLinkIn 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes mobileNavLinkIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MOBILE OPTIMISATION
   Page layouts across the site use inline grid templates, which
   external CSS can only override with !important. These rules
   collapse every two-column page layout to a single column and
   tidy spacing/typography on small screens.
   ============================================================ */
@media (max-width: 860px) {
  /* Page-level two-column splits → single column */
  [style*="grid-template-columns:1fr 380px"],
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns:260px 1fr"],
  [style*="grid-template-columns:240px 1fr"],
  [style*="grid-template-columns:320px 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 280px"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns:2fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* 4-up grids → 2-up on tablets/phones */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  /* Sticky sidebars/summaries shouldn't pin once stacked */
  [style*="position:sticky"] { position: static !important; }
  /* Tame oversized horizontal gaps after stacking */
  [style*="gap:100px"], [style*="gap:80px"], [style*="gap:60px"], [style*="gap:48px"] { gap: 28px !important; }
  .page-hero { padding-left: 0; padding-right: 0; }
}

@media (max-width: 600px) {
  /* 3-up stat tiles → 2-up */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Cart line items → stack image, details, qty, total */
  [style*="grid-template-columns:80px 1fr auto auto"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    justify-items: start !important;
  }
  /* Cart header labels row is meaningless once items stack */
  [style*="grid-template-columns:1fr auto auto"] { display: none !important; }
  .container-sm, .container-xs { padding: 0 16px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  /* Oversized card paddings tighten up */
  [style*="padding:56px"] { padding: 26px !important; }
  [style*="padding:48px"] { padding: 24px !important; }
  /* Wide flex toolbars wrap */
  .breadcrumb { flex-wrap: wrap; }
}

/* ============================================================
   HANU BEAUTY — RESPONSIVE & SLEEK OVERHAUL (v6)
   Appended last so it wins the cascade. Purely layout/spacing —
   no colours, copy, or structure changed.
   ============================================================ */

/* ─── Sleeker desktop rhythm (less bulk, tighter luxury) ──── */
.section-header        { margin-bottom: 44px; }
.section-header p      { font-size: 0.95rem; }
.site-footer           { padding-top: 60px; }
.footer-grid           { gap: 48px; margin-bottom: 44px; }
.page-hero             { padding: 96px 0 60px; }
.pagination            { margin-top: 44px; }
.products-grid         { gap: 20px; }
.btn                   { height: 50px; }
.btn-lg                { height: 56px; }

/* Never let anything force a horizontal scrollbar — clip on BOTH html and
   body so transformed/decorative/parallax elements can't create a scroll
   container or leave empty space on the right of any page. */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg, iframe, table { max-width: 100%; }

/* ─── Tablet & below: thin 3/4-up inline grids to 2-up ────── */
@media (max-width: 1024px) {
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .container { padding: 0 28px; }
}

/* ─── Phones / small tablets: full mobile layout ──────────── */
@media (max-width: 768px) {
  :root { --header-height: 54px; }

  /* Logo must fit inside the compact header (inline height:55px) */
  .site-header .hanu-logo-img { height: 38px !important; }

  /* Collapse EVERY inline two-column page layout → single column */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns:2fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns:0.7fr 1fr"],
  [style*="grid-template-columns:1fr 380px"],
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns:1fr 280px"],
  [style*="grid-template-columns:1fr 240px"],
  [style*="grid-template-columns:320px 1fr"],
  [style*="grid-template-columns:300px 1fr"],
  [style*="grid-template-columns:260px 1fr"],
  [style*="grid-template-columns:240px 1fr"],
  [style*="grid-template-columns:minmax(0, 40%) minmax(0, 1fr)"],
  [style*="grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Unpin sticky sidebars / order summaries once stacked */
  [style*="position:sticky"], [style*="position: sticky"] { position: static !important; }

  /* Tame oversized inline horizontal/vertical gaps after stacking */
  [style*="gap:100px"], [style*="gap:80px"], [style*="gap:72px"],
  [style*="gap:64px"], [style*="gap:60px"], [style*="gap:48px"],
  [style*="gap:40px"] { gap: 24px !important; }

  /* Shrink very large inline card paddings */
  [style*="padding:80px"], [style*="padding:72px"], [style*="padding:64px"],
  [style*="padding:56px"], [style*="padding:48px"], [style*="padding:40px"] {
    padding: 28px !important;
  }

  /* Tighter vertical rhythm on phones */
  .page-hero      { padding: 72px 0 48px; }
  .section-header { margin-bottom: 30px; }
  .section        { padding: 56px 0; }
  .container      { padding: 0 18px; }

  /* Fixed-width inline boxes become fluid so they never overflow */
  [style*="width:800px"], [style*="width:520px"], [style*="width:500px"],
  [style*="width:480px"], [style*="width:440px"], [style*="width:420px"],
  [style*="width:400px"] { max-width: 100% !important; }
}

/* ─── Compact phones ──────────────────────────────────────── */
@media (max-width: 600px) {
  /* 3/4-up tiles → single column where they'd be too cramped */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Cart line items stack: image / details / qty / total */
  [style*="grid-template-columns:80px 1fr auto auto"] {
    grid-template-columns: 64px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
  }
  /* Cart header-label row is meaningless once items stack */
  [style*="grid-template-columns:1fr auto auto"] { display: none !important; }

  .container, .container-sm, .container-xs { padding: 0 16px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .breadcrumb { flex-wrap: wrap; }

  /* Flash / alert toasts never wider than the screen */
  .alert { min-width: 0 !important; }

  /* Buttons that sit side by side wrap instead of overflowing */
  .btn { white-space: normal; }
}

/* ─── Tiny phones ─────────────────────────────────────────── */
@media (max-width: 380px) {
  html { font-size: 10.5px; }
  .header-actions { gap: 12px; }
  .header-icon-btn { width: 36px; height: 36px; }
}
