/* ═══════════════════════════════════════
   WEAIRO — Style Meets Fit
   Brand Stylesheet
═══════════════════════════════════════ */

:root {
  --cream:        #F7EDE4;
  --cream-dark:   #EDE0D4;
  --peach:        #C8836D;
  --peach-dark:   #A86958;
  --peach-light:  #EED3C5;
  --peach-xlight: #FAF2EC;
  --silver:       #ABA5A0;
  --silver-light: #E5DDD8;
  --charcoal:     #1A1210;
  --dark:         #352520;
  --mid:          #6B5248;
  --beige:        #E4D5CA;
  --white:        #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}
.font-serif { font-family: 'Cormorant Garamond', serif !important; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--peach-light); border-radius: 2px; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.navbar.scrolled {
  background: rgba(247,237,228,0.96);
  backdrop-filter: blur(14px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 var(--silver-light);
}
.nav-logo img { height: 44px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links > li > a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  position: relative; transition: color 0.25s;
}
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--peach);
  transition: width 0.35s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--peach); }
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-panel {
  display: none; position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border-radius: 16px; min-width: 210px;
  padding: 10px 0; z-index: 200;
  box-shadow: 0 20px 60px rgba(26,18,16,0.12);
  border: 1px solid var(--silver-light);
}
.nav-dropdown:hover .dropdown-panel { display: block; }
.dropdown-panel a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: all 0.2s;
}
.dropdown-panel a::after { display: none; }
.dropdown-panel a:hover { background: var(--peach-xlight); color: var(--peach-dark); padding-left: 30px; }
.dropdown-panel a .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--peach-light); transition: background 0.2s;
}
.dropdown-panel a:hover .dot { background: var(--peach); }

/* Nav Icons */
.nav-icons { display: flex; align-items: center; gap: 18px; }
.nav-icon {
  position: relative; background: none; border: none;
  cursor: pointer; color: var(--charcoal); font-size: 16px;
  padding: 6px; text-decoration: none;
  transition: color 0.2s;
}
.nav-icon:hover { color: var(--peach); }
.nav-badge {
  position: absolute; top: -2px; right: -6px;
  background: var(--peach); color: #fff;
  font-size: 8px; font-weight: 800;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; font-size: 20px; color: var(--charcoal);
  padding: 4px;
}

/* Mobile Menu */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,18,16,0.5); z-index: 299;
}
.mobile-overlay.open { display: block; }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: min(340px, 85vw);
  height: 100vh; background: var(--white); z-index: 300;
  padding: 80px 36px 36px;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-close {
  position: absolute; top: 22px; right: 22px;
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--charcoal); padding: 6px;
}
.mobile-menu a {
  display: block; padding: 16px 0; font-size: 24px;
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--silver-light); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--peach); }
.mobile-menu .mobile-sub a {
  font-size: 14px; font-family: 'Inter', sans-serif;
  font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--mid); padding: 10px 0 10px 16px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border-radius: 50px; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none;
  padding: 15px 36px; border: 1.5px solid; transition: all 0.35s;
}
.btn-dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-dark:hover { background: var(--peach); border-color: var(--peach); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(200,131,109,0.35); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); transform: translateY(-3px); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost-white:hover { background: var(--white); color: var(--charcoal); }
.btn-peach { background: var(--peach); color: var(--white); border-color: var(--peach); }
.btn-peach:hover { background: var(--peach-dark); border-color: var(--peach-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(168,105,88,0.4); }
.btn-sm { padding: 10px 22px; font-size: 10px; letter-spacing: 2px; }

/* ─── SECTION LABELS ─── */
.label {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase; color: var(--peach);
  margin-bottom: 14px;
}
.h1-serif {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 600; line-height: 1.0; color: var(--charcoal);
}
.h2-serif {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600; line-height: 1.1; color: var(--charcoal);
}
.h3-serif {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600; line-height: 1.2; color: var(--charcoal);
}

/* ─── DIVIDER ─── */
.divider { width: 50px; height: 1px; background: var(--peach); margin: 20px 0; }
.divider-center { margin: 20px auto; }

/* ─── PAGE HEADER ─── */
.page-hero {
  min-height: 46vh;
  background: linear-gradient(150deg, var(--beige) 0%, var(--peach-light) 60%, var(--cream) 100%);
  display: flex; align-items: flex-end; padding: 120px 48px 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(200,131,109,0.08);
}
.page-hero::after {
  content: ''; position: absolute; bottom: -120px; left: 20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(200,131,109,0.05);
}

/* ─── PRODUCT CARD ─── */
.prod-card {
  background: var(--white); border-radius: 20px;
  overflow: hidden; position: relative;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s;
}
.prod-card:hover { transform: translateY(-10px); box-shadow: 0 24px 64px rgba(26,18,16,0.12); }
.prod-img { position: relative; overflow: hidden; }
.prod-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.prod-card:hover .prod-img img { transform: scale(1.08); }

.prod-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--charcoal); color: var(--white);
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 13px; border-radius: 50px;
}
.prod-badge.sale { background: var(--peach); }

.prod-wish {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--silver);
  transition: all 0.25s; box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.prod-wish:hover { background: var(--peach-light); color: var(--peach); }
.prod-wish.active { background: var(--peach-light); color: var(--peach); }

.prod-quick {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(26,18,16,0.85) 0%, transparent 100%);
  padding: 40px 16px 16px;
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; gap: 8px;
}
.prod-card:hover .prod-quick { transform: translateY(0); }
.prod-quick button {
  flex: 1; padding: 10px 8px; border-radius: 10px;
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; border: 1.5px solid; cursor: pointer; transition: all 0.2s;
}
.q-cart { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
.q-cart:hover { background: rgba(255,255,255,0.3); }
.q-buy { background: var(--peach); color: #fff; border-color: var(--peach); }
.q-buy:hover { background: var(--peach-dark); border-color: var(--peach-dark); }

.prod-body { padding: 18px; }
.prod-cat { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--silver); margin-bottom: 6px; }
.prod-name { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: var(--charcoal); line-height: 1.25; margin-bottom: 8px; }
.prod-price { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.price-now { font-size: 15px; font-weight: 700; color: var(--peach-dark); }
.price-old { font-size: 12px; color: var(--silver); text-decoration: line-through; }
.price-off { font-size: 9px; font-weight: 800; background: var(--peach-light); color: var(--peach-dark); padding: 3px 8px; border-radius: 50px; }

.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sz {
  font-size: 9px; font-weight: 700; padding: 5px 10px;
  border: 1px solid var(--silver-light); border-radius: 7px;
  cursor: pointer; transition: all 0.2s; color: var(--mid);
  background: transparent;
}
.sz:hover, .sz.active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

.colors { display: flex; gap: 8px; margin-bottom: 14px; }
.clr {
  width: 20px; height: 20px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15); transition: all 0.2s;
}
.clr:hover, .clr.active { border-color: var(--charcoal); transform: scale(1.2); }

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal); color: var(--white);
  padding: 72px 48px 36px;
}
.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-link {
  display: block; font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; padding: 5px 0; transition: color 0.2s;
}
.footer-link:hover { color: var(--peach-light); }
.footer-social {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 13px;
  text-decoration: none; transition: all 0.2s;
}
.footer-social:hover { background: var(--peach); border-color: var(--peach); color: #fff; }

/* ─── TOAST ─── */
#toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  background: var(--charcoal); color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(16px);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border-left: 3px solid var(--peach);
}
#toast.show { opacity: 1; transform: translateY(0); }

/* ─── SEARCH MODAL ─── */
.search-modal {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(26,18,16,0.65); backdrop-filter: blur(8px);
  align-items: flex-start; justify-content: center;
  padding-top: 100px;
}
.search-modal.open { display: flex; }
.search-box {
  background: var(--white); border-radius: 20px;
  padding: 28px; width: 100%; max-width: 560px; margin: 0 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.search-input {
  width: 100%; border: 1.5px solid var(--silver-light);
  border-radius: 12px; padding: 14px 20px; font-size: 15px;
  font-family: 'Inter', sans-serif; color: var(--charcoal);
  background: var(--cream); outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--peach); }

/* ─── FILTER TABS ─── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.f-tab {
  padding: 9px 22px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; border: 1.5px solid var(--silver-light);
  background: transparent; color: var(--mid);
  cursor: pointer; transition: all 0.25s;
}
.f-tab:hover { border-color: var(--peach); color: var(--peach); }
.f-tab.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ─── CART / WISHLIST ─── */
.cart-row {
  background: var(--white); border-radius: 16px;
  padding: 20px; display: flex; gap: 16px;
  align-items: center; margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.cart-row:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.09); }
.cart-img { width: 80px; height: 96px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--silver-light); background: transparent;
  cursor: pointer; font-size: 14px; color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.order-summary {
  background: var(--white); border-radius: 20px;
  padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: sticky; top: 100px;
}

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center; padding: 80px 20px;
  display: none;
}
.empty-state.visible { display: block; }
.empty-icon { font-size: 56px; color: var(--peach-light); margin-bottom: 20px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; } .d4 { animation-delay: 0.55s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
.float { animation: float 5s ease-in-out infinite; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .navbar, .navbar.scrolled { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .page-hero { padding: 100px 24px 40px; min-height: 36vh; }
  .footer { padding: 48px 24px 28px; }
}
@media (max-width: 640px) {
  .nav-logo img { height: 36px; }
  .btn { padding: 13px 26px; font-size: 10px; }
  .h1-serif { font-size: 42px; }
}
