/* Maison AⵙFAY Boutique Shared Styles — Refined Aesthetic */
:root {
  --surface: #e2d2b3;
  --surface-low: #d8c6a5;
  --surface-container: #cec0a0;
  --surface-white: #fcf9f4;
  --primary: #573525;
  --primary-dark: #41261a;
  --secondary: #969b5f;
  --accent: #606042;
  --on-surface: #1c1c19;
  --on-surface-var: #54433e;
  --border: rgba(87, 53, 37, 0.2);
  --shadow-ambient: rgba(87, 53, 37, 0.06);
}

* { box-sizing: border-box; }
body { background: var(--surface-white); color: var(--on-surface); font-family: 'Quicksand', sans-serif; line-height: 1.6; }

.zellige {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23775a19' fill-opacity='0.06'%3E%3Cpath d='M40 0l20 20-20 20-20-20L40 0zm0 80l20-20-20-20-20 20 20 20zM0 40l20 20 20-20-20-20L0 40zm80 0L60 60 40 40l20-20 20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.shadow-premium { box-shadow: 0 20px 60px var(--shadow-ambient); }
.shadow-card { box-shadow: 0 8px 32px var(--shadow-ambient); }

.glass-nav {
  background: rgba(252, 249, 244, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--on-surface);
  color: var(--surface-white);
  padding: 0.875rem 1.75rem;
  border-radius: 3rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 400;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 40px rgba(28,28,25,0.2);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

.fade-up { animation: fadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-logo {
  font-family: 'Belleza', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--primary);
  display: inline-block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
  opacity: 0.85;
}

.cart-drawer {
  position: fixed; right: 0; top: 0; height: 100vh;
  width: 420px; max-width: 95vw;
  background: var(--surface-white);
  box-shadow: -20px 0 60px rgba(87, 53, 37, 0.1);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 200;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(28, 28, 25, 0.3);
  backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.product-card {
  transition: all 0.4s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(87, 53, 37, 0.1);
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .cart-drawer { width: 100%; }
}
