/* ============================================
   Gleo Fragrance – Client design (logo colors + animations)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

:root {
  --gold: #c45c26;
  --gold-light: #e07d3a;
  --gold-dark: #9a3d1a;
  --gold-metallic: linear-gradient(145deg, #e07d3a 0%, #c45c26 40%, #9a3d1a 100%);
  --gold-glow: 0 0 30px rgba(196, 92, 38, 0.25);
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #4a4a4a;
  --gray-light: #f8f7f5;
  --gray-bg: #f0eeeb;
  --shadow: 0 4px 20px rgba(196, 92, 38, 0.12);
  --shadow-strong: 0 12px 40px rgba(26, 26, 26, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.5s;
  --duration-fast: 0.25s;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- Header ---- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  padding: 0.1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  transition: border-color var(--duration) var(--ease-out-expo), box-shadow var(--duration) var(--ease-out-expo);
}
.site-header.scrolled { border-bottom-color: rgba(196, 92, 38, 0.2); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.site-header a { text-decoration: none; color: var(--black); font-weight: 500; transition: color var(--duration-fast); }
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--duration) var(--ease-out-expo);
}
.logo-wrap:hover { transform: scale(1.02); }
.logo-wrap img { height: 52px; width: auto; display: block; }
.nav-main { display: flex; gap: 2rem; align-items: center; }
.nav-main a {
  position: relative;
  padding: 0.35rem 0;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-metallic);
  transition: width var(--duration) var(--ease-out-expo);
}
.nav-main a:hover { color: var(--gold); }
.nav-main a:hover::after { width: 100%; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.lang-switch a,
.lang-switch .lang-btn {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
.lang-switch a.active,
.lang-switch .lang-btn.active {
  color: var(--gold-dark);
}
.lang-switch .lang-btn:hover {
  color: var(--gold);
}
.social-header { display: flex; gap: 0.6rem; align-items: center; }
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast), opacity var(--duration-fast);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.social-icon i { position: relative; z-index: 1; color: #fff !important; }
.social-icon--whatsapp { background: #25D366; }
.social-icon--instagram {
  background: radial-gradient(circle at 30% 110%, #ffdd55 0%, #ffdd55 10%, #ff543e 30%, #c837ab 60%, #3b5998 100%);
}
.social-icon--tiktok {
  background: radial-gradient(circle at 30% 110%, #25f4ee 0%, #fe2c55 40%, #000000 80%);
}
.social-icon:hover {
  transform: translateY(-2px) scale(1.05);
  opacity: 0.95;
  box-shadow: 0 6px 20px rgba(0,0,0,0.26);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- WhatsApp float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: transform var(--duration) var(--ease-out-expo), box-shadow var(--duration);
  animation: whatsapp-float-in 0.6s var(--ease-out-expo) 0.3s both;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: whatsapp-pulse 2s var(--ease-in-out) infinite;
  z-index: -1;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.1); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5); }
@keyframes whatsapp-float-in {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* ---- Main ---- */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: 60vh;
  animation: main-fade-in 0.7s var(--ease-out-expo) both;
}
@keyframes main-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  background: var(--gold-metallic);
  text-align: center;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast), opacity var(--duration-fast);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--white); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: rgba(196, 92, 38, 0.08); color: var(--gold-dark); }

/* ---- Hero ---- */
.hero {
  text-align: left;
  padding: 4rem 2.5rem;
  background-color: transparent;
  background-image: url('/images/Untitled design.svg');
  background-position: top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
  aspect-ratio: 2 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 20%, rgba(196, 92, 38, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-top: -1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  position: relative;
}
.hero p { color: #f3f2f0; font-size: 1.1rem; max-width: 520px; margin: 0; line-height: 1.7; text-align: left; }
.hero .btn { margin-top: auto; }
.hero > p:last-child { margin-top: auto; }

/* ---- Reveal / stagger (JS adds .revealed) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- Section titles ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.category-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--black);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(196, 92, 38, 0.2);
}
.category-title:first-of-type { margin-top: 0; }
.category-section { scroll-margin-top: 5rem; }
.category-empty {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}
/* Fragrances toolbar: category filter (left) + search (right) */
.fragrances-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.category-filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e0e0e0;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.category-filter-btn:hover {
  border-color: rgba(196, 92, 38, 0.5);
  background: rgba(196, 92, 38, 0.04);
}
.category-filter-btn.active {
  border-color: var(--gold);
  background: rgba(196, 92, 38, 0.08);
  color: var(--gold-dark);
}

/* Search bar on the right */
.fragrance-search-wrap {
  position: relative;
  width: 100%;
  max-width: 22rem;
  min-width: 12rem;
}
.fragrance-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.25rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fragrance-search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.15);
}
.fragrance-search-input::placeholder {
  color: #999;
}
.fragrance-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #999;
  pointer-events: none;
}

@media (max-width: 768px) {
  .fragrances-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .fragrance-search-wrap {
    max-width: none;
  }
}

/* ---- Fragrance grid ---- */
.fragrance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.fragrance-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.3s;
}
.fragrance-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(196, 92, 38, 0.15);
}
.fragrance-card .card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-light);
}
.fragrance-card .card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.8s var(--ease-out-expo);
}
.fragrance-card:hover .card-image-wrap img { transform: scale(1.08); }
.fragrance-card .card-body { padding: 1.35rem; }
.fragrance-card .brand {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.fragrance-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.fragrance-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast);
}
.fragrance-card h3 a:hover { color: var(--gold); }
.fragrance-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  transition: gap var(--duration-fast), color var(--duration-fast);
}
.fragrance-card .card-cta:hover { gap: 0.6rem; color: var(--gold-dark); }

/* Sold out on cards: ribbon (always) + overlay (on hover) */
.fragrance-card .card-image-wrap { position: relative; }
.sold-out-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 0  var(--radius) 0 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.sold-out-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26, 26, 26, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.fragrance-card--sold-out:hover .sold-out-overlay { opacity: 1; }
.sold-out-overlay-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
}

/* Discount on cards: badge (always) + overlay (on hover) */
.discount-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: 0 0 0.25rem var(--radius);
  box-shadow: 0 2px 8px rgba(196, 92, 38, 0.35);
}
.discount-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(196, 92, 38, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.fragrance-card:hover .discount-overlay { opacity: 1; }
.fragrance-card--sold-out:hover .discount-overlay { opacity: 0; }
.discount-overlay-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
}

/* Sold out on detail page */
.sold-out-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.12) 0%, rgba(160, 82, 45, 0.08) 100%);
  border: 1px solid rgba(139, 69, 19, 0.35);
  color: #5c3a1f;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.sold-out-banner-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #8b4513;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.request-form--sold-out .sold-out-form-note {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.request-form--sold-out .btn[disabled] { opacity: 0.85; cursor: not-allowed; }

.discount-detail-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(196, 92, 38, 0.3);
}

/* ---- Fragrance detail page ---- */
.fragrance-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) { .fragrance-detail { grid-template-columns: 1fr; } }
.fragrance-detail .image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
  box-shadow: var(--shadow-strong);
}
.fragrance-detail .image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}
.fragrance-detail .image-wrap:hover img { transform: scale(1.03); }
.fragrance-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.fragrance-thumbs .thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
}
.fragrance-thumbs .thumb:hover {
  border-color: var(--gold);
}
.fragrance-detail h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.fragrance-detail .meta { color: var(--gray); margin-bottom: 1.25rem; font-size: 0.95rem; }
.fragrance-detail .meta span { margin-right: 1rem; }
.detail-section { margin-top: 1.5rem; }
.detail-section h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.detail-section p { color: var(--gray); line-height: 1.7; }

/* Accords & notes */
.accords-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.accord-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(196, 92, 38, 0.06);
  border: 1px solid rgba(196, 92, 38, 0.25);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.75rem;
}
.notes-column h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.4rem;
}
.notes-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notes-column li {
  font-size: 0.95rem;
  color: var(--black);
  padding: 0.15rem 0;
}
@media (max-width: 768px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Sizes & request form ---- */
.sizes-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }
.size-option {
  padding: 0.85rem 1.35rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.3s;
  flex: 1;
  min-width: 80px;
}
.sizes-row--hundred {
  margin-top: 0.25rem;
}
.size-option--hundred {
  flex: 0 0 100%;
}
.size-option:hover { border-color: rgba(196, 92, 38, 0.5); background: rgba(196, 92, 38, 0.04); transform: translateY(-2px); }
.size-option.selected { border-color: var(--gold); background: rgba(196, 92, 38, 0.08); box-shadow: 0 0 0 1px var(--gold); }
.size-option input[type="checkbox"] { display: none; }
.size-option .size-label {
  display: block;
  font-weight: 600;
}
.size-price {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--gray);
  white-space: normal;
  line-height: 1.2;
}
.size-price--old {
  text-decoration: line-through;
  opacity: 0.7;
}
.size-price--new {
  color: var(--gold-dark);
  font-weight: 600;
}
.size-qty-text {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--gray);
}
.request-form {
  margin-top: 1.75rem;
  padding: 1.75rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.4s var(--ease-out-expo);
}
.request-form:focus-within { box-shadow: var(--shadow); }
.request-form h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--black); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 92, 38, 0.12);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.payment-note {
  background: linear-gradient(90deg, rgba(196, 92, 38, 0.08) 0%, rgba(255,249,230,0.9) 100%);
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1.1rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.whatsapp-cta { margin-top: 1.15rem; }
.whatsapp-cta a {
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.25s;
}
.whatsapp-cta a:hover { opacity: 0.85; text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
}
.site-footer a { color: var(--gold-light); transition: color var(--duration-fast), opacity var(--duration-fast); }
.site-footer a:hover { color: var(--white); opacity: 0.9; text-decoration: none; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-links a { font-weight: 500; }
.site-footer > p { opacity: 0.85; font-size: 0.95rem; }
.footer-social { display: flex; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; }
.footer-social a { font-size: 1rem; }

/* ---- About & Contact ---- */
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--black);
  letter-spacing: -0.02em;
  text-align: center;
}
.about-content,
.contact-content {
  max-width: 780px;
  margin: 0 auto;
}
.about-content p,
.contact-content p {
  margin-bottom: 1.15rem;
  color: var(--gray);
  font-size: 1.04rem;
  line-height: 1.8;
}
.about-content .section-title {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.contact-list { list-style: none; }
.contact-list li {
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: padding-left 0.25s;
}
.contact-list li:hover { padding-left: 0.5rem; }
.contact-list a { color: var(--gold); font-weight: 600; text-decoration: none; }

/* Contact page - footer at bottom */
body:has(.contact-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.contact-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.contact-page .contact-content {
  flex: 1;
}

/* ---- Toast (for form success) ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--black);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  box-shadow: var(--shadow-strong);
  z-index: 999;
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========== ADMIN (unchanged layout, minimal tweaks) ========== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  background: var(--black);
  color: var(--white);
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar a { color: var(--white); text-decoration: none; display: block; padding: 0.6rem 1.5rem; }
.admin-sidebar a:hover { background: var(--gold-dark); color: var(--gold-light); }
.admin-main { flex: 1; padding: 2rem; background: var(--gray-light); margin-left: 220px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-header h1 { font-size: 1.5rem; color: var(--black); }
.admin-table { width: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.admin-table th { background: var(--gold); color: var(--white); font-weight: 600; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .actions {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.admin-table .actions a,
.admin-table .actions button {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.login-box {
  max-width: 420px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.login-box h1 { text-align: center; margin-bottom: 1.5rem; font-size: 1.75rem; }
.login-box input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.login-box input:focus {
  outline: none;
  border-color: var(--gold);
}
.login-box .error { color: #c00; font-size: 0.95rem; margin-bottom: 1rem; text-align: center; }
.login-box .btn {
  padding: 1rem;
  font-size: 1.1rem;
}
.form-actions { margin-top: 1rem; }
.form-actions label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
.admin-form .form-group { margin-bottom: 1rem; }
.admin-form label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; }
.badge-pending { background: #fff3cd; color: #856404; }
.badge-done { background: #d4edda; color: #155724; }
.admin-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }

/* Admin alerts */
.admin-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.admin-alert--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.admin-alert--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Password toggle */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-input-wrap input {
  flex: 1;
  padding-right: 2.5rem;
}
.password-toggle {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s;
}
.password-toggle:hover {
  color: #333;
}
.password-toggle svg {
  width: 20px;
  height: 20px;
}

/* Dashboard statistics */
.dashboard-stats-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.dashboard-month-label { font-weight: 600; color: var(--black); }
.dashboard-month-select {
  padding: 0.6rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  min-height: 44px;
  background: var(--white);
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.dashboard-month-select:focus {
  outline: none;
  border-color: var(--gold);
}
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dashboard-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.dashboard-card--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  border: none;
}
.dashboard-card--pending { border-left: 4px solid #f0ad4e; }
.dashboard-card--done { border-left: 4px solid #5cb85c; }
.dashboard-card-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.dashboard-card-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.25rem;
}
.dashboard-card--primary .dashboard-card-label { color: rgba(255,255,255,0.9); }
.dashboard-section-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}
.dashboard-revenue { margin-bottom: 1.5rem; }
.dashboard-revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.dashboard-card--profit {
  border-left: 4px solid #28a745;
  background: linear-gradient(135deg, #f0f9f4 0%, #fff 100%);
}
.dashboard-card--bestseller {
  border-left: 4px solid #17a2b8;
}
.dashboard-card-value--name {
  font-size: 1.1rem;
  word-break: break-word;
}
.dashboard-quick-stats { margin-bottom: 1.5rem; }
.dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.dashboard-quick-item {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.dashboard-quick-item strong { display: block; margin-bottom: 0.25rem; }
.dashboard-meta { color: var(--gray); font-size: 0.95rem; }

/* Orders page month filter */
.admin-orders-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
}
.admin-filter-label { font-weight: 600; }
.admin-month-select {
  padding: 0.6rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  min-height: 44px;
  background: var(--white);
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.admin-month-select:focus {
  outline: none;
  border-color: var(--gold);
}
.admin-orders-count { color: var(--gray); font-size: 0.95rem; }
.admin-header-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Orders table: compact layout so all columns fit on screen (including Actions) */
.admin-table-wrap {
  margin-top: 1rem;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #e0e0e0;
  background: var(--white);
}
.admin-orders-table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  table-layout: fixed;
}
.admin-orders-table thead {
  background: #2c2c2c;
  color: #fff;
}
.admin-orders-table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.45rem;
  white-space: nowrap;
  font-weight: 600;
  text-align: left;
  border: none;
}
.admin-orders-table thead th.admin-th-date { width: 7%; text-align: center; }
.admin-orders-table thead th.admin-th-fragrance { width: 12%; }
.admin-orders-table thead th.admin-th-sizes { width: 8%; }
.admin-orders-table thead th.admin-th-price { width: 12%; text-align: right; }
.admin-orders-table thead th.admin-th-customer { width: 10%; }
.admin-orders-table thead th.admin-th-phone { width: 9%; }
.admin-orders-table thead th.admin-th-address { width: 18%; }
.admin-orders-table thead th.admin-th-status { width: 8%; text-align: center; }
.admin-orders-table thead th.admin-th-actions { width: 16%; }

.admin-orders-table tbody tr.admin-order-row {
  transition: background 0.15s ease;
}
.admin-orders-table tbody tr.admin-order-row:nth-child(odd) { background: #fafafa; }
.admin-orders-table tbody tr.admin-order-row:nth-child(even) { background: #fff; }
.admin-orders-table tbody tr.admin-order-row:hover {
  background: #f0f4f8;
}
.admin-orders-table tbody td {
  padding: 0.45rem 0.5rem;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-orders-table tbody td.admin-td-date,
.admin-orders-table tbody td.admin-td-status { text-align: center; }
.admin-orders-table td[data-label="Price"] { text-align: right; }
.admin-orders-table td[data-label="Address"] { word-break: break-word; font-size: 0.8rem; }

.admin-order-actions-cell {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
}
.admin-order-actions-cell .admin-order-status-form {
  flex: 1;
  min-width: 0;
}
.admin-order-actions-cell .admin-status-select {
  width: 100%;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.8rem;
  background: var(--white);
  color: #333;
  cursor: pointer;
  max-width: 100%;
}
.admin-order-actions-cell .admin-status-select:focus {
  outline: none;
  border-color: var(--gold);
}
.admin-order-delete-form { flex-shrink: 0; }
.btn-admin-delete {
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #c62828;
  border-radius: 6px;
  background: transparent;
  color: #c62828;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-admin-delete:hover {
  background: #c62828;
  color: #fff;
}

/* Message row under an order: compact */
.admin-order-message-row td {
  padding: 0.35rem 0.5rem !important;
  font-size: 0.8rem !important;
  border-bottom: 1px solid #eee;
}
.admin-order-message {
  font-size: 0.8rem !important;
  color: var(--gray) !important;
}

/* ========== ADMIN MOBILE (phones + tablets) ========== */
@media (max-width: 992px) {
  .admin-layout {
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom, 0);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  .admin-sidebar {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 0;
    padding: 0;
    z-index: 9999;
    overflow: hidden !important;
    box-sizing: border-box;
  }
  .admin-sidebar p {
    display: none !important;
  }
  .admin-sidebar a {
    white-space: nowrap;
    padding: 0.4rem 0.05rem;
    min-height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    flex: 1 1 auto !important;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    letter-spacing: -0.03em;
  }
  .admin-sidebar a:last-child {
    border-right: none;
  }
  .admin-main {
    margin-left: 0 !important;
    margin-top: 32px;
    padding: 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    overflow-x: auto;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .admin-header {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .admin-header h1 {
    font-size: 1.35rem;
    width: 100%;
    margin-bottom: 0;
  }
  .admin-header .btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }
  /* Orders table on phones: simple card list – every field visible, no horizontal scroll */
  .admin-table-wrap {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }
  .admin-table-wrapper {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }
  .admin-table.admin-orders-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .admin-table.admin-orders-table thead {
    display: none;
  }
  .admin-table.admin-orders-table tbody {
    display: block;
  }
  .admin-table.admin-orders-table tr.admin-order-row {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .admin-table.admin-orders-table tr.admin-order-row:last-of-type {
    margin-bottom: 0;
  }
  .admin-table.admin-orders-table tr.admin-table-empty {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
  }
  .admin-table.admin-orders-table tr.admin-table-empty td {
    display: block;
    text-align: center;
    padding: 0;
    color: #666;
    border: none;
  }
  .admin-table.admin-orders-table tr.admin-table-empty td::before {
    display: none;
  }
  .admin-table.admin-orders-table tr.admin-order-message-row {
    display: block;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
  }
  .admin-table.admin-orders-table tr.admin-order-message-row td {
    display: block;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: #555;
  }
  /* Each cell = label above value, full width, no squishing */
  .admin-table.admin-orders-table tr.admin-order-row td {
    display: block;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .admin-table.admin-orders-table tr.admin-order-row td:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
    padding-bottom: 0;
  }
  .admin-table.admin-orders-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
  }
  .admin-table.admin-orders-table td[data-label="Address"] {
    word-break: break-word;
  }
  .admin-order-status-form {
    width: 100%;
    margin: 0 0 0.5rem 0;
  }
  .admin-table.admin-orders-table .admin-status-select {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box;
  }
  .admin-order-actions-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .admin-order-actions-cell .admin-status-select { max-width: none; }
  .admin-order-delete-form {
    width: 100%;
  }
  .admin-order-delete-form .btn-admin-delete {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-sizing: border-box;
    background: #dc3545;
    color: #fff;
    border: none;
  }
  .admin-order-delete-form .btn-admin-delete:hover {
    background: #c82333;
  }
  .btn-admin-delete { min-height: 48px; font-size: 16px; }
  .admin-thumb {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .admin-sidebar a {
    font-size: 0.9rem;
    padding: 0.65rem 0.75rem;
  }
  .admin-main {
    padding: 0.75rem;
  }
  .admin-table.admin-orders-table tr.admin-order-row td::before {
    font-size: 0.7rem;
  }
  .admin-table.admin-orders-table tr.admin-order-row td {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }
}

/* Admin form + login: tablet view */
@media (max-width: 992px) {
  .login-box {
    max-width: 480px;
    margin: 3rem auto;
    padding: 2.5rem;
  }
  .login-box h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .login-box input {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
  }
  .login-box .btn {
    padding: 1.1rem;
    font-size: 1.15rem;
  }
  .admin-header h1 {
    font-size: 1.75rem;
  }
  .admin-form label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .admin-form input,
  .admin-form textarea,
  .admin-form select {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
  }
  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .dashboard-card {
    padding: 1.5rem;
  }
  .dashboard-card .value {
    font-size: 1.75rem;
  }
  .admin-table th,
  .admin-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }
}

/* Admin form + login: readable on phones (16px inputs avoid iOS zoom) */
@media (max-width: 768px) {
  .login-box {
    margin: 2rem 1.5rem;
    padding: 2rem;
    max-width: none;
  }
  .login-box h1 {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
  }
  .login-box input {
    font-size: 16px;
    min-height: 52px;
    padding: 1rem 1rem;
    margin-bottom: 1.25rem;
  }
  .login-box .btn {
    min-height: 52px;
    font-size: 1.1rem;
  }
  .admin-form input,
  .admin-form textarea,
  .admin-form select {
    font-size: 16px;
    min-height: 48px;
    padding: 0.85rem 1rem;
  }
  .admin-form textarea {
    min-height: 120px;
  }
  .admin-form .btn {
    min-height: 52px;
    font-size: 1.1rem;
    width: 100%;
  }
  .admin-form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .admin-form .form-group {
    margin-bottom: 1.25rem;
  }
  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .dashboard-card {
    padding: 1rem;
  }
  .dashboard-card .label {
    font-size: 0.75rem;
  }
  .dashboard-card .value {
    font-size: 1.5rem;
  }
  .dashboard-stats-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .dashboard-month-select {
    width: 100%;
  }
}

/* Admin + login: mobile phones */
@media (max-width: 480px) {
  .login-box {
    margin: 1.5rem 1rem;
    padding: 1.75rem;
  }
  .login-box h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .login-box input {
    padding: 0.9rem 0.9rem;
    margin-bottom: 1rem;
  }
  .login-box .btn {
    min-height: 48px;
    font-size: 1rem;
  }
}

/* ========== RESPONSIVE LAYOUTS (client + admin) ========== */

/* Tablet landscape */
@media (max-width: 992px) {
  .site-header {
    padding: 0.5rem 1.25rem;
    gap: 0.75rem;
  }
  .nav-main {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .social-header {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  main {
    padding: 1.75rem 1.25rem;
  }
  .fragrance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .hero {
    aspect-ratio: 16 / 9;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  .site-header {
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
  }
  .logo-wrap {
    order: 1;
  }
  .logo-wrap img {
    height: 40px;
  }
  .lang-switch {
    order: 2;
    font-size: 0.75rem;
  }
  .social-header {
    display: none;
  }
  .nav-main {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  .nav-main a {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
  .hero {
    padding: 2rem 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    justify-content: flex-start;
  }
  .hero h1 {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .hero p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  .hero > p:last-child {
    margin-top: auto;
    margin-bottom: 0;
  }
  .hero .btn {
    margin-top: auto;
  }
  .fragrance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .fragrance-card .card-body {
    padding: 0.75rem;
  }
  .fragrance-card h3 {
    font-size: 0.85rem;
  }
  .fragrance-card .brand {
    font-size: 0.65rem;
  }
  .fragrance-card .card-cta {
    font-size: 0.7rem;
  }
  .fragrance-detail {
    gap: 1.5rem;
  }
  .fragrance-detail h1 {
    font-size: 1.5rem;
  }
  .request-form {
    padding: 1.25rem;
  }
  .sizes-row {
    flex-wrap: wrap;
  }
  .size-option {
    min-width: 70px;
    padding: 0.75rem 0.5rem;
  }
  .site-footer {
    padding: 2rem 1.25rem;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .category-title {
    font-size: 1.25rem;
  }
  .contact-content p {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 2rem;
  }
  .contact-list {
    margin: 2rem 0;
  }
  .contact-list li {
    font-size: 1.4rem;
    padding: 1.5rem 0;
  }
  .contact-list li strong {
    font-size: 1.4rem;
  }
  .contact-list a {
    font-size: 1.4rem;
  }
  .contact-page .page-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  main {
    padding: 1rem 0.75rem;
  }
  .site-header {
    padding: 0.5rem 0.75rem;
  }
  .logo-wrap img {
    height: 36px;
  }
  .lang-switch {
    font-size: 0.7rem;
    gap: 0.15rem;
  }
  .nav-main {
    gap: 0.25rem;
  }
  .nav-main a {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
  }
  .hero {
    padding: 1.5rem 1rem 1.25rem;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    margin-bottom: 1rem;
    justify-content: flex-start;
  }
  .hero h1 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
  }
  .hero p {
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
  .hero > p:last-child {
    margin-top: auto;
    margin-bottom: 0;
  }
  .hero .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-top: auto;
  }
  .page-title {
    font-size: 1.4rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .category-filter {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }
  .category-filter-btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .fragrance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .fragrance-card {
    border-radius: 10px;
  }
  .fragrance-card .card-body {
    padding: 0.5rem;
  }
  .fragrance-card .brand {
    font-size: 0.55rem;
  }
  .fragrance-card h3 {
    font-size: 0.75rem;
  }
  .fragrance-card .card-cta {
    font-size: 0.6rem;
  }
  .fragrance-detail .image-wrap {
    border-radius: 10px;
  }
  .fragrance-detail h1 {
    font-size: 1.3rem;
  }
  .fragrance-detail .meta {
    font-size: 0.85rem;
  }
  .fragrance-detail .meta span {
    display: block;
    margin-bottom: 0.25rem;
  }
  .detail-section h4 {
    font-size: 1rem;
  }
  .request-form {
    padding: 1rem;
    border-radius: 10px;
  }
  .request-form h3 {
    font-size: 1.1rem;
  }
  .sizes-row {
    gap: 0.5rem;
  }
  .size-option {
    min-width: 60px;
    padding: 0.6rem 0.4rem;
    font-size: 0.85rem;
  }
  .form-group label {
    font-size: 0.9rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom */
    padding: 0.75rem;
  }
  .social-icon {
    width: 24px;
    height: 24px;
  }
  .footer-social {
    flex-wrap: wrap;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float i {
    font-size: 1.5rem;
  }
  /* Thumbs gallery on mobile */
  .fragrance-thumbs {
    gap: 0.5rem;
  }
  .fragrance-thumbs .thumb {
    width: 50px;
    height: 50px;
  }
  /* Notes grid on mobile */
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  /* Accords on mobile */
  .accords-row {
    gap: 0.4rem;
  }
  .accord-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .nav-main a {
    font-size: 0.75rem;
    padding: 0.35rem 0.4rem;
  }
  .hero {
    padding: 1.25rem 0.75rem 1rem;
    aspect-ratio: 4 / 3;
  }
  .hero h1 {
    font-size: 0.95rem;
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
  }
  .hero p {
    font-size: 0.6rem;
    line-height: 1.35;
  }
  .hero .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  .category-filter {
    gap: 0.25rem;
  }
  .category-filter-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.68rem;
  }
  .fragrance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }
  .fragrance-card .card-body {
    padding: 0.4rem;
  }
  .fragrance-card .brand {
    font-size: 0.5rem;
  }
  .fragrance-card h3 {
    font-size: 0.65rem;
  }
  .fragrance-card .card-cta {
    font-size: 0.55rem;
  }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-main a,
  .lang-btn,
  .size-option,
  .social-icon {
    min-height: 44px;
    min-width: 44px;
  }
  .fragrance-card .card-cta {
    padding: 0.75rem 0;
  }
}
