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

:root {
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --charcoal: #1C1C1C;
  --charcoal-soft: #2A2A2A;
  --gold: #C4A962;
  --gold-light: #D4BC7A;
  --gold-dark: #A08840;
  --warm: #8B7355;
  --text: #1C1C1C;
  --text-muted: #6B6560;
  --white: #FFFFFF;
  --border: rgba(28, 28, 28, 0.08);
  --shadow: 0 4px 24px rgba(28, 28, 28, 0.06);
  --shadow-lg: 0 12px 48px rgba(28, 28, 28, 0.12);
  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 80px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --wa-green: #25D366;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.panel-open { overflow: hidden; }
body.menu-open { overflow: hidden; }

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

[hidden] { display: none !important; }

.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .container {
    width: min(1280px, 100% - 32px);
  }
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--gold-dark); }
.nav-link:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.icon-btn:hover { background: var(--cream-dark); }

.icon-btn svg { width: 22px; height: 22px; stroke: var(--charcoal); fill: none; stroke-width: 1.5; }

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge[hidden] { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28,28,28,0.72) 0%, rgba(28,28,28,0.35) 50%, rgba(28,28,28,0.15) 100%),
    url('/images/products/maison-aura.jpg') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 640px;
  color: var(--white);
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  transition: background var(--transition), transform 0.2s;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--white);
  transition: background var(--transition);
}

.btn-sm:hover { background: var(--gold-dark); color: var(--white); }

.hero-stats {
  position: absolute;
  bottom: 48px;
  right: max(24px, calc((100% - 1280px) / 2 + 24px));
  display: flex;
  gap: 3rem;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-light);
}

.hero-stat span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ── Sections ── */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Features strip ── */
.features-strip {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 0 1rem;
}

.feature-item svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ── Products ── */
.products-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.products-empty h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.products-empty p {
  color: var(--text-muted);
}

.products-empty .btn-primary {
  margin-top: 1rem;
  display: inline-flex;
}

.product-card.sold-out { opacity: 0.7; }

.contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-details h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 1.25rem 0 0.5rem;
}

.contact-details h4:first-child { margin-top: 0; }

.contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-steps {
  margin: 0.5rem 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-steps li { margin-bottom: 0.35rem; }

.about-content a {
  color: var(--gold-dark);
  text-decoration: underline;
}

#urunler { background: var(--white); }


.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 260px;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.85rem;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
}

.search-box input:focus { border-color: var(--gold); }

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

.products-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  cursor: pointer;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-dark);
  margin-bottom: 1rem;
}

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

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

.product-badge,
.product-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: 2px;
}

.product-discount {
  left: auto;
  right: 12px;
  background: var(--charcoal);
  color: var(--white);
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.product-card:hover .fav-btn,
.fav-btn.active { opacity: 1; transform: translateY(0); }

.fav-btn svg { fill: none; stroke: var(--charcoal); stroke-width: 1.5; width: 18px; height: 18px; }
.fav-btn.active svg { fill: #e74c3c; stroke: #e74c3c; }

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,28,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay { opacity: 1; }

.product-overlay .btn-primary,
.product-overlay .btn-outline {
  padding: 10px 24px;
  font-size: 0.7rem;
}

.product-overlay .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price {
  font-size: 0.95rem;
  font-weight: 600;
}

.old-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.stock-warn {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: #c0392b;
  font-weight: 500;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-images img:first-child {
  grid-row: span 2;
  aspect-ratio: 3/4;
}

.about-images img:not(:first-child) {
  aspect-ratio: 4/3;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.about-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Instagram ── */
.instagram-section {
  background: var(--charcoal);
  color: var(--white);
}

.instagram-section .section-label { color: var(--gold-light); }
.instagram-section .section-header h2 { color: var(--white); }
.instagram-section .section-header p { color: rgba(255,255,255,0.6); }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.4s;
}

.insta-item:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.insta-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.insta-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.insta-cta a:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* ── Contact ── */
#iletisim { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-channel-icon svg { width: 20px; height: 20px; }

.contact-channel strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer .logo-main { color: var(--white); }
.footer .logo-sub { color: rgba(255,255,255,0.4); }

.footer-desc {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold-light); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.footer-social svg { width: 16px; height: 16px; fill: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Panels (Cart / Fav) ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.panel.open + .overlay,
.modal.open ~ .overlay,
body.panel-open > .overlay-global {
  opacity: 1;
  visibility: visible;
}

.overlay-global {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

body.panel-open .overlay-global {
  opacity: 1;
  visibility: visible;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.panel.open { transform: translateX(0); }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.panel-close {
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.panel-close:hover { background: var(--cream); }

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.panel-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.panel-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-item-info { flex: 1; }

.cart-item-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
}

.qty-control button:hover { background: var(--cream); }

.cart-remove {
  font-size: 1.25rem;
  color: var(--text-muted);
  align-self: flex-start;
  transition: color var(--transition);
}

.cart-remove:hover { color: #c0392b; }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cart-shipping-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cart-shipping-note.success { color: #27ae60; }

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--wa-green);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: filter var(--transition);
}

.checkout-btn:hover { filter: brightness(1.08); }

.fav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.fav-item img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}

.fav-item h4 { font-size: 0.85rem; margin-bottom: 0.25rem; }
.fav-item span { font-size: 0.8rem; font-weight: 600; }

/* ── Product Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.95);
  transition: transform var(--transition);
}

.modal.open .modal-content { transform: scale(1); }

.modal-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.modal-cat {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.modal-details h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.modal-prices {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.modal-prices .price {
  font-size: 1.35rem;
  font-weight: 600;
}

.modal-prices .old-price {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.modal-discount {
  padding: 3px 8px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.modal-stock {
  font-size: 0.85rem;
  color: #27ae60;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 10;
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  animation: waPulse 2s ease-in-out infinite;
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: waRing 2s ease-in-out infinite;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
  position: relative;
  z-index: 1;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes waRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 0; }
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 0.85rem;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── Cookie ── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 16px 24px;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1280px;
  margin-inline: auto;
}

.cookie-inner p { font-size: 0.85rem; flex: 1; min-width: 200px; }

.cookie-actions { display: flex; gap: 0.75rem; }

.cookie-actions button {
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-accept { background: var(--gold); color: var(--charcoal); }
.cookie-decline { border: 1px solid rgba(255,255,255,0.3); color: var(--white); }

body:has(.cookie-bar:not([hidden])) .wa-float {
  bottom: max(88px, calc(72px + env(safe-area-inset-bottom)));
}

body:has(.cookie-bar:not([hidden])) .toast {
  bottom: max(160px, calc(140px + env(safe-area-inset-bottom)));
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.product-overlay .sold-out-label {
  opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 2rem; }
  .about-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .logo-main { font-size: 1.35rem; }
  .logo-sub { font-size: 0.55rem; letter-spacing: 0.28em; }

  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-link { font-size: 0.85rem; }

  .hero {
    min-height: 75vh;
    min-height: 75dvh;
  }

  .hero-content {
    padding: 48px 0 64px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .hero-stats {
    position: static;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 0 32px;
    flex-wrap: wrap;
  }

  .hero-stat strong { font-size: 1.5rem; }

  section { padding: 64px 0; }

  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.65rem, 5vw, 2rem); }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .product-img-wrap { margin-bottom: 0.75rem; }
  .product-overlay { display: none; }
  .product-card:active .product-img-wrap img { transform: scale(1.02); }
  .fav-btn { opacity: 1; transform: none; top: 8px; right: 8px; width: 32px; height: 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-images { grid-template-columns: 1fr 1fr; }
  .about-images img:first-child { grid-row: span 1; aspect-ratio: 4/3; }
  .about-content h2 { font-size: 1.75rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
  }

  .modal-img-wrap { aspect-ratio: 16/10; }
  .modal-details { padding: 1.5rem; }
  .modal-details h2 { font-size: 1.35rem; }
  .modal-close { top: 12px; right: 12px; }

  .panel {
    width: 100%;
    max-width: 100%;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .feature-item { padding: 0 0.5rem; }
  .feature-item h4 { font-size: 0.72rem; }
  .feature-item p { font-size: 0.78rem; }

  .products-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { width: 100%; }
  .search-box input { width: 100%; }

  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }

  .wa-float {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
    width: 54px;
    height: 54px;
  }

  .cookie-bar {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; }

  .toast {
    bottom: max(90px, calc(70px + env(safe-area-inset-bottom)));
    width: calc(100% - 48px);
    text-align: center;
  }

  .header-actions { gap: 0.25rem; }
  .icon-btn { width: 36px; height: 36px; }

  .checkout-btn { padding: 14px; font-size: 0.75rem; }

  .contact-details { margin-top: 1.5rem; padding-top: 1.25rem; }
  .contact-steps { margin-left: 1rem; }
}

@media (max-width: 480px) {
  .container { width: min(1280px, 100% - 24px); }

  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-images { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { width: 100%; justify-content: center; }

  .product-info h3 { font-size: 1rem; }
  .price { font-size: 0.88rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) and (pointer: coarse) {
  .btn-primary,
  .btn-outline,
  .btn-sm,
  .icon-btn,
  .nav-link,
  .checkout-btn {
    min-height: 44px;
  }
}

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