/* ═══════════════════════════════════════════════════════════════
   Essence K Importados — Sephora-inspired Stylesheet
═══════════════════════════════════════════════════════════════ */

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

:root {
  --white: #ffffff;
  --black: #000000;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --bg-page: #ffffff;
  --bg-light: #f7f7f7;
  --bg-ivory: #fafafa;
  --border-light: #e5e5e5;
  --border-mid: #d0d0d0;
  --red-promo: #c8102e;
  --red-dark: #a30d24;
  --green-stock: #2e7d32;
  --accent-pink: #f5e6ec;
  --accent-pastel: #e8f0e4;
  --shadow-sm: rgba(0,0,0,0.04);
  --shadow-md: rgba(0,0,0,0.08);
  --shadow-lg: rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: 0.2s ease;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.main-content { flex: 1; }

a { color: var(--text-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-promo); }

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

h1,h2,h3,h4,h5 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; color: var(--text-primary); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px var(--shadow-sm);
}

/* Promo banner (header-top) */
.header-top {
  background: var(--red-promo);
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.header-top-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: relative;
}
.header-tagline {
  color: var(--white);
  font-weight: 600;
  text-align: center;
}
.header-tagline i { margin-right: 6px; }
.header-top-links {
  position: absolute;
  right: 0;
  display: flex;
  gap: 14px;
}
.header-top-links a {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  text-transform: none;
}
.header-top-links a:hover { color: var(--white); }
.admin-link {
  background: rgba(255,255,255,0.2) !important;
  padding: 2px 10px;
  border-radius: 3px;
  color: white !important;
}

/* Main header bar */
.header-main { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.header-main-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { display: block; width: auto; height: auto; }
.brand-logo-header {
  width: clamp(155px, 18vw, 205px);
  max-height: 64px;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo-text span { color: var(--red-promo); }
.logo-k { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--red-promo); }

/* Search bar */
.search-form {
  flex: 1;
  display: flex;
  max-width: 560px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition);
}
.search-form:focus-within { border-color: var(--text-primary); }
.search-input {
  flex: 1;
  padding: 10px 18px;
  border: none;
  background: var(--white);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-sans);
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  padding: 10px 18px;
  background: var(--white);
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: color var(--transition);
}
.search-btn:hover { color: var(--red-promo); }

/* Header icons */
.header-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
  align-items: center;
}
.cart-btn,
.header-admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-primary);
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  transition: var(--transition);
  position: relative;
  font-size: 13px;
  line-height: 1;
}
.cart-btn:hover,
.header-admin-btn:hover { color: var(--red-promo); background: var(--bg-light); }
.header-admin-btn {
  background: var(--text-primary);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}
.header-admin-btn:hover { background: #333; color: var(--white); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--red-promo);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main navigation */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
  justify-content: center;
}
.nav-list a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.nav-list a:hover {
  color: var(--red-promo);
  border-bottom-color: var(--red-promo);
}
.nav-list .nav-highlight { color: var(--red-promo) !important; }
.nav-list .nav-sale { color: var(--red-promo) !important; font-weight: 700; }
.mobile-nav-account { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: var(--transition);
}

/* ─── MESSAGES ───────────────────────────────────────────────── */
.messages-wrapper { padding: 12px 0; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error, .alert-danger { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.alert-warning { background: #fff8e1; color: #e65100; border: 1px solid #ffcc80; }
.alert-close { background: none; border: none; cursor: pointer; font-size: 18px; opacity: 0.6; line-height: 1; }
.mixed-cart-notice { align-items: flex-start; }
.mixed-cart-notice i { font-size: 20px; margin-top: 2px; flex-shrink: 0; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: #333; border-color: #333; color: var(--white); }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--border-mid); }
.btn-outline:hover { border-color: var(--black); }
.btn-preorder { background: var(--text-primary); color: white; border-color: var(--text-primary); }
.btn-preorder:hover { background: #333; color: white; }
.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; border-color: transparent; }
.btn-instagram:hover { opacity: 0.9; color: white; }
.btn-buy-now { background: var(--red-promo); color: white; border-color: var(--red-promo); }
.btn-buy-now:hover { background: var(--red-dark); color: white; }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border-light); }
.btn-ghost:hover { background: var(--bg-light); border-color: var(--border-mid); color: var(--text-primary); }
.btn-disabled, .btn[disabled] { background: var(--bg-light); color: var(--text-muted); border-color: var(--border-light); cursor: not-allowed; opacity: 0.7; }
.btn-large { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-block { width: 100%; margin-bottom: 8px; }
.btn-white { background: white; color: var(--black); border-color: white; font-size: 13px; padding: 7px 16px; }
.btn-add-cart { border-radius: var(--radius-full); }

/* ─── EXCHANGE RATE BANNER ──────────────────────────────────── */
.exchange-rate-bar { background: var(--bg-light); text-align: center; padding: 6px 0; font-size: 13px; color: var(--text-secondary); }
.exchange-rate-bar strong { color: var(--black); }
.exchange-rate-panel { background: var(--bg-ivory); border-bottom: 1px solid var(--border-light); color: var(--text-primary); }
.exchange-rate-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.exchange-rate-inner strong { font-size: 14px; margin-left: 8px; }
.exchange-label { color: var(--red-promo); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 10px; }
.exchange-note { color: var(--text-muted); text-align: right; }

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.section-subtitle { font-size: 14px; color: var(--text-muted); flex-basis: 100%; margin-top: -20px; }
.section-link { font-size: 13px; color: var(--text-primary); font-weight: 600; margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.section-link:hover { color: var(--red-promo); }
.sale-section { background: var(--bg-ivory); }
.sale-tag {
  background: var(--red-promo);
  color: white;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 1px;
  vertical-align: middle;
}
.preorder-section { background: var(--text-primary); }
.preorder-section .section-title { color: var(--white); }
.preorder-section .section-subtitle { color: rgba(255,255,255,0.6); }
.preorder-section .section-link { color: rgba(255,255,255,0.8); }

/* ─── CATEGORY CAROUSEL (Sephora pastel banner style) ──────── */
.categories-carousel-section {
  padding: 32px 0 24px;
  overflow: hidden;
}
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.categories-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: carouselScroll 30s linear infinite;
}
.categories-carousel-track:hover { animation-play-state: paused; }
@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.category-slide {
  flex: 0 0 200px;
  background: var(--accent-pastel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  border: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  gap: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px var(--shadow-sm);
}
.category-slide:nth-child(even) { background: var(--accent-pink); }
.category-slide:nth-child(3n) { background: #e8e4f0; }
.category-slide:nth-child(4n) { background: #fef3e2; }
.category-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-md);
}
.category-slide-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px var(--shadow-sm);
}
.category-slide-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.carousel-btn { display: none; }

/* ─── QUICK NAV (Sephora circle buttons) ────────────────────── */
.quick-nav-section { padding: 24px 0 16px; }
.quick-nav-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.quick-nav-row::-webkit-scrollbar { display: none; }
.quick-nav-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 72px;
}
.quick-nav-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d4a88c;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1.2;
  padding: 8px;
  transition: transform var(--transition);
}
.quick-nav-item:hover .quick-nav-circle { transform: scale(1.08); }
.quick-nav-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  max-width: 72px;
}

/* ─── CATEGORIES ─────────────────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 12px;
  text-decoration: none;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px var(--shadow-md); }
.category-img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }
.category-placeholder { width: 80px; height: 80px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--text-muted); }
.category-name { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.5px; }

/* ─── PRODUCT CARDS ──────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--shadow-md); }
.product-card-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.product-card-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-light); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--text-muted); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-sale { background: var(--red-promo); color: white; }
.badge-featured { background: var(--black); color: var(--white); }
.product-status { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; padding: 5px; letter-spacing: 0.5px; }
.badge-available { background: rgba(46,125,50,0.9); color: white; }
.badge-low-stock { background: rgba(230,81,0,0.9); color: white; }
.badge-pre-order { background: rgba(0,0,0,0.8); color: white; }
.badge-out-of-stock { background: rgba(0,0,0,0.6); color: white; }
.product-card-body { padding: 14px 16px; flex: 1; }
.product-brand { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.product-name { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--text-primary); margin: 4px 0; line-height: 1.3; }
.product-short-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.product-price { margin-top: 10px; }
.price-original, .price-was { text-decoration: line-through; color: var(--text-muted); font-size: 13px; }
.price-sale, .price-now { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.price-sale { color: var(--red-promo); }
.price-current { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.price-usd { font-size: 18px; font-weight: 700; color: var(--text-primary); display: block; }
.price-brl { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }
.price-rate-note { font-size: 12px; color: var(--text-muted); display: block; margin-top: 4px; }
.price-save { font-size: 11px; color: var(--green-stock); display: block; margin-top: 3px; }
.money-primary { display: block; font-weight: 700; color: var(--black); }
.money-secondary { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.summary-money { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.summary-money strong { color: var(--black); }
.summary-money small { color: var(--text-muted); font-weight: 500; }
.filter-sublist { list-style: none; margin: 2px 0 4px; padding: 0; }
.filter-link-child { padding-left: 22px; font-size: 13px; }
.filter-volume-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.product-card-actions { padding: 12px 16px; border-top: 1px solid var(--border-light); }
.add-to-cart-form { width: 100%; }
.add-to-cart-form button, .add-to-cart-form .btn { width: 100%; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-section { background: var(--text-primary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.feature-card { text-align: center; padding: 28px 16px; }
.feature-card i { font-size: 28px; color: var(--white); margin-bottom: 12px; opacity: 0.8; }
.feature-card h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.feature-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: rgba(255,255,255,0.7); margin-top: auto; }
.footer-main { padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo-img { width: 175px; max-width: 100%; height: auto; margin-bottom: 12px; }
.footer-logo { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: 2px; text-transform: uppercase; }
.footer-logo span { color: var(--red-promo); }
.footer-brand p { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; transition: var(--transition); }
.footer-social a:hover { background: var(--red-promo); color: var(--white); }
.footer-links h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--white); }

/* ─── INSTAGRAM FLOAT ────────────────────────────────────────── */
.social-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.instagram-float { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ─── PAGE HEADER ────────────────────────────────────────────── */
.page-header { padding: 28px 0 18px; border-bottom: 1px solid var(--border-light); margin-bottom: 28px; }
.page-title { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.breadcrumb { font-size: 12px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-primary); }
.breadcrumb a:hover { color: var(--red-promo); }

/* ─── CATALOG ────────────────────────────────────────────────── */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.catalog-sidebar { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border-light); position: sticky; top: 120px; }
.filter-section { margin-bottom: 20px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-title { font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-light); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-list { list-style: none; }
.filter-list li { margin-bottom: 2px; }
.filter-link { display: block; padding: 6px 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text-secondary); transition: var(--transition); }
.filter-link:hover, .filter-link.active { background: var(--bg-light); color: var(--text-primary); font-weight: 600; }
.filter-tree { display: flex; flex-direction: column; gap: 2px; }
.filter-link-parent { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.filter-chevron { font-size: 11px; color: var(--text-muted); transition: transform var(--transition); }
.filter-accordion.open .filter-chevron { transform: rotate(180deg); }
.filter-accordion-body { display: none; margin: 6px 0 8px 8px; padding-left: 8px; border-left: 1px solid var(--border-light); }
.filter-accordion-body.is-open { display: block; }
.filter-sub-section { margin-top: 8px; }
.filter-sub-label { display: block; padding: 2px 10px 4px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0; }
.filter-sublist { list-style: none; margin: 0; padding: 0; }
.filter-link-child { padding-left: 14px; font-size: 13px; }
.filter-volume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.filter-volume-grid .filter-link-child { text-align: center; padding-left: 10px; padding-right: 10px; }
.filter-input { width: 100%; padding: 9px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 13px; background: var(--white); outline: none; }
.filter-input:focus { border-color: var(--text-primary); }
.search-field { display: flex; gap: 6px; }
.search-field .filter-input { flex: 1; }
.filter-search-btn { padding: 9px 14px; background: var(--text-primary); color: var(--white); border: none; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; transition: var(--transition); }
.filter-search-btn:hover { background: #333; }
.filter-clear-btn { display: block; text-align: center; padding: 8px 12px; background: transparent; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: var(--transition); text-decoration: none; }
.filter-clear-btn:hover { background: var(--bg-light); color: var(--text-primary); }
.filter-clear-btn i { margin-right: 4px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.results-count { font-size: 13px; color: var(--text-muted); }

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn { padding: 8px 14px; border-radius: var(--radius-full); background: var(--white); border: 1px solid var(--border-light); font-size: 13px; color: var(--text-secondary); transition: var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ─── PRODUCT DETAIL ─────────────────────────────────────────── */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-light); border: 1px solid var(--border-light); position: relative; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity 0.2s; }
.gallery-placeholder { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--text-muted); }
.gallery-badge { position: absolute; top: 14px; left: 14px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--text-primary); }

.product-detail-brand { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 4px; }
.product-detail-name { font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.1; }
.product-detail-category { display: inline-block; background: var(--bg-light); color: var(--text-primary); padding: 3px 14px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-detail-status { margin-bottom: 16px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.badge-available.status-badge { background: #e8f5e9; color: #2e7d32; }
.badge-low-stock.status-badge { background: #fff3e0; color: #e65100; }
.badge-pre-order.status-badge { background: var(--bg-light); color: var(--text-primary); }
.badge-out-of-stock.status-badge { background: #f5f5f5; color: #757575; }
.product-detail-price { margin-bottom: 20px; }
.price-now { font-family: var(--font-sans); font-size: 32px; font-weight: 700; color: var(--text-primary); }

/* ─── VARIANT SELECTOR ──────────────────────────────────────── */
.variant-selector { margin-bottom: 20px; }
.variant-selector > label, .variant-selector h4 { display: block; font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-sans); }
.variant-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin-bottom: 14px; }
.variant-option { border: 1px solid var(--border-light); background: var(--white); border-radius: var(--radius-sm); padding: 10px; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; gap: 2px; position: relative; }
.variant-option:hover { border-color: var(--text-primary); }
.variant-option input { position: absolute; opacity: 0; pointer-events: none; }
.variant-option:has(input:checked) { border-color: var(--black); border-width: 2px; }
.variant-option span { font-weight: 700; color: var(--text-primary); }
.variant-option strong { font-size: 15px; color: var(--text-primary); }
.variant-option small { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }
.variant-option-disabled { opacity: 0.45; cursor: not-allowed; }
.variant-btn { padding: 8px 18px; border: 2px solid var(--border-light); border-radius: var(--radius-full); background: var(--white); font-family: var(--font-sans); font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: var(--transition); }
.variant-btn:hover { border-color: var(--text-primary); }
.variant-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }
.variant-btn.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.quantity-selector { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 14px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border-light); border-radius: var(--radius-full); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; background: var(--bg-light); border: none; cursor: pointer; font-size: 18px; color: var(--text-primary); transition: var(--transition); }
.qty-btn:hover { background: var(--border-light); }
.qty-input { width: 50px; height: 36px; border: none; text-align: center; font-size: 15px; font-family: var(--font-sans); background: white; outline: none; }

.action-buttons { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.action-buttons .btn { flex: 1; min-width: 140px; }
.product-detail-actions .btn { margin-bottom: 10px; width: 100%; }

.pre-order-notice, .out-of-stock-notice { background: var(--bg-light); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-primary); }
.pre-order-notice i, .out-of-stock-notice i { margin-top: 2px; flex-shrink: 0; color: var(--text-muted); }

.shipping-calculator { background: var(--bg-ivory); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.shipping-calculator h4 { font-size: 13px; font-family: var(--font-sans); color: var(--text-primary); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.cep-form { display: flex; gap: 8px; margin-bottom: 10px; }
.cep-input { flex: 1; padding: 9px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 13px; outline: none; }
.cep-input:focus { border-color: var(--text-primary); }
.shipping-options { display: flex; flex-direction: column; gap: 6px; }
.shipping-option { display: flex; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border-light); }
.ship-label { flex: 1; font-weight: 500; }
.ship-price { color: var(--text-primary); font-weight: 700; }
.ship-days { color: var(--text-muted); font-size: 12px; }

.product-notices { display: flex; flex-direction: column; gap: 8px; }
.notice { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; }
.notice i { margin-top: 2px; flex-shrink: 0; }
.notice-success { background: #e8f5e9; color: #2e7d32; }
.notice-info { background: #e3f2fd; color: #1565c0; }
.notice-default { background: var(--bg-light); color: var(--text-primary); }

.product-tabs { margin-top: 48px; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.tab-nav { display: flex; border-bottom: 1px solid var(--border-light); background: var(--bg-ivory); }
.tab-btn { padding: 14px 24px; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.3px; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--text-primary); border-bottom-color: var(--black); }
.tab-content { padding: 28px; background: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.prose { line-height: 1.8; color: var(--text-secondary); }
.prose h3 { font-size: 20px; margin-bottom: 12px; margin-top: 20px; }
.prose ol, .prose ul { padding-left: 24px; margin: 12px 0; }
.prose li { margin-bottom: 6px; }

.related-products { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border-light); }

/* ─── CART ───────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { min-width: 0; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); }
.cart-table th { padding: 14px 16px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 1px solid var(--border-light); background: var(--bg-ivory); }
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--border-light); }
.cart-table tr:last-child td { border-bottom: none; }
.cart-product-info { display: flex; gap: 14px; align-items: center; }
.cart-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-thumb-placeholder { width: 64px; height: 64px; background: var(--bg-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 20px; flex-shrink: 0; }
.cart-product-name { font-weight: 600; color: var(--text-primary); font-size: 14px; display: block; margin-bottom: 3px; }
.cart-product-brand { font-size: 11px; color: var(--text-muted); display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.cart-status-badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: var(--radius-full); margin-top: 4px; }
.cart-price, .cart-subtotal { font-weight: 600; color: var(--text-primary); }
.qty-form { display: flex; }
.remove-btn { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; padding: 6px; transition: var(--transition); }
.remove-btn:hover { color: var(--red-promo); }

.cart-summary .summary-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; position: sticky; top: 120px; }
.summary-card h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-shipping { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border-light); }
.summary-shipping h4 { font-size: 13px; color: var(--text-primary); margin-bottom: 10px; display: flex; gap: 8px; font-family: var(--font-sans); }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text-secondary); }
.summary-total { font-size: 18px; font-weight: 700; color: var(--text-primary); border-top: 2px solid var(--border-light); margin-top: 4px; padding-top: 12px; }
.summary-divider { border: none; border-top: 1px solid var(--border-light); margin: 8px 0; }
.lgpd-notice { font-size: 11px; color: var(--text-muted); margin: 14px 0; }
.lgpd-notice a { color: var(--text-primary); text-decoration: underline; }

/* ─── CHECKOUT ───────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-section { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.checkout-section-title { font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.3px; }
.form-control { padding: 10px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; background: var(--white); outline: none; transition: var(--transition); color: var(--text-primary); }
.form-control:focus { border-color: var(--text-primary); box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
select.form-control { cursor: pointer; }
.field-error { font-size: 12px; color: var(--red-promo); }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid var(--border-light); border-radius: var(--radius); cursor: pointer; transition: var(--transition); background: var(--white); }
.payment-option input[type="radio"] { flex-shrink: 0; accent-color: var(--black); width: 18px; height: 18px; }
.payment-option:has(input:checked) { border-color: var(--black); }
.payment-option-content { display: flex; flex-direction: column; gap: 2px; }
.payment-icon { font-size: 22px; color: var(--text-primary); }
.payment-name { font-weight: 600; color: var(--text-primary); font-size: 14px; }
.payment-desc { font-size: 12px; color: var(--text-muted); }
.sticky-summary { position: sticky; top: 120px; }
.summary-items { margin-bottom: 12px; }
.summary-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text-secondary); padding: 5px 0; }
.summary-item-thumb { width: 42px; height: 42px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.summary-item-name { flex: 1; margin-right: 8px; }
.summary-item-name small { color: var(--text-muted); }
.order-item-product { display: inline-flex; align-items: center; gap: 8px; }
.order-item-thumb { width: 34px; height: 34px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }

/* ─── SUCCESS / PIX ──────────────────────────────────────────── */
.success-page { max-width: 560px; margin: 60px auto; text-align: center; }
.success-icon { font-size: 72px; color: #2e7d32; margin-bottom: 20px; }
.success-page h1 { font-family: var(--font-serif); font-size: 36px; margin-bottom: 10px; }
.success-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.order-confirmation-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; text-align: left; }
.order-number { font-size: 16px; font-weight: 700; color: var(--text-primary); display: block; margin-bottom: 12px; }
.confirmation-item { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: var(--text-secondary); }
.confirmation-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; color: var(--text-primary); border-top: 1px solid var(--border-light); margin-top: 10px; padding-top: 10px; }
.confirmation-payment { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.next-step-card { background: var(--bg-light); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.next-step-card h3 { margin-bottom: 10px; font-size: 20px; color: var(--text-primary); }
.next-step-card p { margin-bottom: 16px; font-size: 14px; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pix-page { max-width: 540px; margin: 40px auto; }
.pix-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; margin: 20px 0; text-align: center; }
.pix-qr { max-width: 220px; margin: 0 auto 20px; }
.pix-qr-placeholder { width: 220px; height: 220px; background: var(--bg-light); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 48px; color: var(--text-muted); }
.pix-qr-placeholder p { font-size: 13px; margin-top: 8px; color: var(--text-secondary); }
.pix-copy-paste { margin-bottom: 20px; }
.pix-copy-paste label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.pix-code-box { display: flex; gap: 8px; }
.pix-code-input { flex: 1; padding: 9px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 12px; font-family: monospace; background: var(--bg-ivory); }
.pix-instructions { text-align: left; }
.pix-instructions h4 { margin-bottom: 10px; }
.pix-instructions ol { padding-left: 20px; font-size: 14px; line-height: 2; color: var(--text-secondary); }
.payment-sandbox-notice { background: #fff8e1; border: 1px solid #ffcc80; border-radius: var(--radius-sm); padding: 14px; margin-bottom: 18px; display: flex; gap: 10px; font-size: 14px; color: #e65100; }

/* ─── AUTH ───────────────────────────────────────────────────── */
.auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 440px; box-shadow: 0 8px 32px var(--shadow-md); }
.auth-logo { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--black); text-align: center; margin-bottom: 20px; display: flex; justify-content: center; letter-spacing: 2px; text-transform: uppercase; }
.auth-logo-img { width: min(245px, 100%); height: auto; }
.auth-logo span { color: var(--red-promo); }
.auth-title { font-size: 28px; text-align: center; margin-bottom: 4px; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; }
.auth-links { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.auth-links a { color: var(--text-primary); font-weight: 600; text-decoration: underline; }

/* ─── ACCOUNT ────────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.account-sidebar { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; position: sticky; top: 120px; }
.account-nav { list-style: none; }
.account-nav li { border-bottom: 1px solid var(--border-light); }
.account-nav li:last-child { border-bottom: none; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 13px; color: var(--text-secondary); transition: var(--transition); }
.account-nav a:hover, .account-nav a.active { background: var(--bg-light); color: var(--text-primary); font-weight: 600; }
.account-nav a i { width: 18px; text-align: center; color: var(--text-muted); }
.account-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; }
.account-card h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 20px; }
.profile-form .form-row { grid-template-columns: 1fr 1fr; }

.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border-light); background: var(--bg-ivory); }
.order-number { font-weight: 700; color: var(--text-primary); font-size: 14px; }
.order-date { font-size: 12px; color: var(--text-muted); margin-left: 10px; }
.order-status-badge { padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.status-awaiting_payment { background: #fff8e1; color: #e65100; }
.status-payment_confirmed { background: #e8f5e9; color: #2e7d32; }
.status-shipped { background: #e3f2fd; color: #1565c0; }
.status-completed { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #ffebee; color: #c62828; }
.status-created { background: #f5f5f5; color: #616161; }
.order-card-items { padding: 14px 18px; }
.order-item-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
.order-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1px solid var(--border-light); background: var(--bg-ivory); }
.order-total { font-size: 14px; color: var(--text-secondary); }
.order-total strong { color: var(--text-primary); }
.order-actions { display: flex; gap: 8px; }

/* Payment section in order detail */
.payment-section-card { background: var(--bg-ivory); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.payment-section-card h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 16px; color: var(--text-primary); }
.payment-info-grid p { font-size: 14px; margin-bottom: 6px; color: var(--text-secondary); }
.payment-info-grid p strong { color: var(--text-primary); }
.payment-pending-notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px; background: #fff8e1; border: 1px solid #ffe082; border-radius: var(--radius-sm); margin: 16px 0; font-size: 13px; color: #6d5200; }
.payment-pending-notice i { color: #f9a825; margin-top: 2px; }
.payment-confirmed-notice { display: flex; align-items: center; gap: 10px; padding: 14px; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: var(--radius-sm); margin-top: 16px; font-size: 13px; color: #2e7d32; }
.payment-retry-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.change-method-form { margin-top: 16px; padding: 16px; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); }
.change-method-form label { font-size: 14px; display: block; margin-bottom: 10px; }
.payment-method-options { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.payment-option { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; transition: border-color 0.2s; }
.payment-option:hover { border-color: var(--text-primary); }
.payment-option input[type="radio"] { accent-color: var(--text-primary); }
.payment-option i { color: var(--text-muted); }

/* Dashboard payment attempts */
.dash-payment-attempt { padding: 10px; border-bottom: 1px solid var(--border-light, #eee); font-size: 13px; }
.dash-payment-attempt:last-child { border-bottom: none; }
.attempt-active { background: #f0faf0; }
.attempt-inactive { opacity: 0.6; }
.badge-active { display: inline-block; padding: 2px 8px; background: #4caf50; color: #fff; border-radius: 10px; font-size: 10px; text-transform: uppercase; }
.badge-inactive { display: inline-block; padding: 2px 8px; background: #9e9e9e; color: #fff; border-radius: 10px; font-size: 10px; text-transform: uppercase; }
.dash-info-notice { font-size: 13px; color: #6d5200; background: #fff8e1; padding: 8px 12px; border-radius: 4px; margin: 8px 0; }
.dash-info-notice i { color: #f9a825; margin-right: 4px; }

.order-detail-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; }
.order-detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.order-items-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.order-items-table th { text-align: left; padding: 10px; background: var(--bg-ivory); border-bottom: 1px solid var(--border-light); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.order-items-table td { padding: 10px; border-bottom: 1px solid var(--border-light); }
.order-totals { padding: 14px 0; }
.order-total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.order-total-final { font-size: 18px; font-weight: 700; color: var(--text-primary); border-top: 2px solid var(--border-light); margin-top: 6px; padding-top: 10px; }
.tracking-card { background: var(--bg-light); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.order-address { background: var(--bg-ivory); border-radius: var(--radius-sm); padding: 14px; margin: 14px 0; font-size: 14px; color: var(--text-secondary); }
.order-address h3 { font-size: 16px; margin-bottom: 8px; }

/* ─── PAGES ──────────────────────────────────────────────────── */
.content-page { max-width: 760px; margin-bottom: 60px; }
.about-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border-light); }
.about-section:last-child { border-bottom: none; }
.about-section h2 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 12px; }
.about-section p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }

.contact-page { padding-bottom: 60px; }
.contact-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.contact-icon { font-size: 36px; margin-bottom: 14px; color: var(--text-primary); display: block; }
.instagram-color { color: #E1306C !important; }
.contact-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.trip-info-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 40px; margin-bottom: 40px; }
.trip-dates { display: flex; align-items: center; justify-content: center; gap: 30px; margin-bottom: 24px; flex-wrap: wrap; }
.trip-date-item { text-align: center; }
.trip-date-label { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.trip-date-value { display: block; font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--text-primary); }
.trip-date-item.urgent .trip-date-value { color: var(--red-promo); }
.trip-divider { font-size: 24px; color: var(--border-light); }
.trip-message { text-align: center; font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; padding: 14px; background: var(--bg-light); border-radius: var(--radius-sm); }
.trip-cta { text-align: center; }
.trip-cta p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }

.payment-methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 20px; }
.payment-method-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.payment-method-card i { font-size: 36px; color: var(--text-primary); margin-bottom: 16px; display: block; }
.payment-method-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 8px; }
.payment-method-card p { font-size: 13px; color: var(--text-muted); }

/* ─── EMPTY STATE ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 56px; color: var(--border-light); margin-bottom: 20px; }
.empty-state h2 { font-family: var(--font-serif); font-size: 30px; margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ─── UTILS ──────────────────────────────────────────────────── */
.text-muted { color: var(--text-muted); }
.error { color: var(--red-promo); font-size: 13px; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.line-through { text-decoration: line-through; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 200px 1fr; }
  .product-detail-layout { gap: 28px; }
}

@media (max-width: 768px) {
  .header-top-links { position: static; display: none; }
  .header-top-inner { justify-content: center; }
  .site-header { position: sticky; }
  .header-main { padding: 8px 0; }
  .header-main-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
  .logo { min-width: 0; }
  .brand-logo-header { width: 150px; max-height: 48px; }

  /* Mobile: hamburger left, logo center, icons right */
  .nav-toggle { display: block; order: -1; }
  .logo { order: 0; justify-self: center; }
  .header-actions { order: 1; justify-self: end; gap: 4px; margin-left: 0; }
  .search-form { grid-column: 1 / -1; order: 2; width: 100%; max-width: 100%; }

  .cart-btn,
  .header-admin-btn { min-height: 38px; padding: 6px 10px; font-size: 18px; }
  .cart-btn span:not(.cart-badge) { display: none; }

  .exchange-rate-inner { flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; gap: 4px; }
  .exchange-note { text-align: left; }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 0 12px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 14px 20px; display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--border-light); font-size: 13px; }
  .mobile-nav-account { display: list-item; }
  .mobile-nav-admin a {
    color: var(--white) !important;
    background: var(--black);
    margin: 8px 12px 4px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    justify-content: center;
  }

  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-items { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .cart-table { min-width: 640px; }
  .order-detail-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .order-items-table { min-width: 680px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-section { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .social-float { bottom: 16px; right: 16px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; font-size: 22px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .container { padding: 0 12px; }
  .brand-logo-header { width: 132px; }
  .header-admin-btn { padding: 6px 8px; }
  .header-admin-btn span { display: inline; font-size: 11px; }
  .product-card-body { padding: 10px 12px; }
  .product-name { font-size: 14px; }
  .price-current,
  .price-sale,
  .price-usd { font-size: 16px; }
  .product-detail-name { font-size: 26px; }
  .price-now { font-size: 28px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-section { padding: 18px 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .action-buttons { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .auth-card { padding: 28px 20px; }
  .order-card-header,
  .order-card-footer,
  .order-detail-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .order-actions { flex-direction: column; width: 100%; }
  .order-actions .btn { width: 100%; }
  .section-title { font-size: 22px; }
  .category-slide { flex: 0 0 160px; padding: 20px 12px; }
  .category-slide-img { width: 80px; height: 80px; }
}

/* ─── DOLLAR SHOWCASE (kept for compatibility) ──────────────── */
.dollar-showcase { padding: 18px 0 10px; }
.dollar-showcase-inner { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 22px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; box-shadow: 0 4px 16px var(--shadow-sm); }
.dollar-showcase-icon { width: 68px; height: 68px; border-radius: var(--radius); background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 25px; font-weight: 700; }
.dollar-showcase h2 { font-size: 28px; margin: 2px 0 4px; }
.dollar-showcase p { color: var(--text-secondary); font-size: 14px; }
.dollar-rate-card { min-width: 178px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-light); text-align: right; }
.dollar-rate-card span, .dollar-rate-card small { display: block; color: var(--text-secondary); font-size: 12px; }
.dollar-rate-card strong { display: block; color: var(--text-primary); font-size: 22px; line-height: 1.2; }

/* ─── HERO (kept for compatibility) ─────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 80px 0 60px; max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hero-badge { display: inline-block; background: var(--black); color: var(--white); padding: 5px 14px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: var(--text-primary); line-height: 1.1; margin-bottom: 16px; }
.hero-subtitle { font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-badges span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.hero-badges i { color: var(--text-primary); }
.hero-image-area { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.hero-card { background: var(--white); border-radius: var(--radius); padding: 28px 36px; box-shadow: 0 4px 16px var(--shadow-md); display: flex; align-items: center; gap: 16px; width: 100%; max-width: 300px; border: 1px solid var(--border-light); transition: transform var(--transition); }
.hero-card:hover { transform: translateY(-3px); }
.hero-card-1 { align-self: flex-start; }
.hero-card-2 { align-self: center; }
.hero-card-3 { align-self: flex-end; }
.hero-card-icon { font-size: 28px; color: var(--text-primary); }
.hero-card-text { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--text-primary); }

/* ─── TRIP BANNER (kept for compatibility) ──────────────────── */
.trip-banner { background: var(--black); color: var(--white); padding: 14px 0; }
.trip-banner-inner { display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap; }
.trip-icon { font-size: 22px; color: var(--red-promo); }
.trip-content { font-size: 14px; }
