/* ============================================
   MemaFashion — Store CSS
   Aesthetic: Luxury Editorial Fashion
   ============================================ */

:root {
  --cream: #faf7f2;
  --warm-white: #fff9f0;
  --charcoal: #1a1a1a;
  --dark: #0d0d0d;
  --gold: #b8973a;
  --gold-light: #d4af6a;
  --muted: #8a7f6e;
  --border: #e8e0d0;
  --rose: #c4858a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
  --radius: 2px;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-deep: 0 12px 60px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.announcement-bar button {
  background: none; border: none; color: var(--cream);
  cursor: pointer; font-size: 1.2rem; line-height: 1;
}

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 400;
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo-mema { color: var(--charcoal); }
.logo-fashion { color: var(--gold); font-style: italic; }

.nav-main { display: flex; gap: 32px; }
.nav-link {
  font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--charcoal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; gap: 16px; align-items: center; }
.icon-btn {
  background: none; border: none; cursor: pointer;
  color: var(--charcoal); padding: 6px;
  position: relative; display: flex; align-items: center;
  transition: color 0.2s;
}
.icon-btn:hover { color: var(--gold); }

.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--gold); color: white;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 0.65rem; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 500;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--charcoal); transition: all 0.3s;
}

.search-bar {
  display: none; padding: 12px 40px;
  border-top: 1px solid var(--border);
  align-items: center; gap: 12px;
}
.search-bar.open { display: flex; }
.search-bar input {
  flex: 1; border: none; background: none;
  font-family: var(--font-body); font-size: 1rem;
  outline: none; color: var(--charcoal);
}
.search-bar button {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.85rem; padding: 4px 12px;
}

/* ---- Container ---- */
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

/* ---- Hero ---- */
.hero {
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1300px; margin: 0 auto;
  padding: 60px 40px;
  gap: 60px;
}

.hero-subtitle {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; font-weight: 400;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300; line-height: 1.05;
  color: var(--dark); margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1rem; color: var(--muted);
  max-width: 420px; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--charcoal); color: var(--cream);
  padding: 14px 36px;
  font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 400;
  border: 1.5px solid var(--charcoal);
  cursor: pointer; transition: all 0.3s;
  text-align: center;
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: white; }
.btn-primary.light { background: white; color: var(--charcoal); border-color: white; }
.btn-primary.light:hover { background: var(--gold); border-color: var(--gold); color: white; }
.btn-primary.full { width: 100%; }

.btn-outline {
  display: inline-block;
  background: transparent; color: var(--charcoal);
  padding: 14px 36px;
  font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 400;
  border: 1.5px solid var(--charcoal);
  cursor: pointer; transition: all 0.3s;
  text-align: center;
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-outline.full { width: 100%; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: 380px; height: 520px;
  background: linear-gradient(135deg, #f0e8d8, #e8d8c0);
  position: relative; overflow: hidden;
}
.hero-shape {
  position: absolute; bottom: -40px; right: -40px;
  width: 280px; height: 280px;
  background: rgba(184, 151, 58, 0.15);
  border-radius: 50%;
}
.hero-badge {
  position: absolute; top: 40px; left: 40px;
  background: var(--charcoal); color: var(--cream);
  padding: 16px 20px;
  font-family: var(--font-display); font-size: 1.1rem;
  line-height: 1.3; text-align: center;
}

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-header {
  display: flex; align-items: baseline;
  justify-content: space-between; margin-bottom: 48px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--dark);
}
.view-all {
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.view-all:hover { color: var(--gold); }

/* ---- Categories ---- */
.categories-section { padding-top: 0; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--charcoal); opacity: 0;
  transition: opacity 0.3s;
}
.category-card:hover::before { opacity: 0.04; }
.category-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.category-name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400;
  color: var(--dark); display: block; margin-bottom: 8px;
}
.category-count { font-size: 0.75rem; color: var(--muted); letter-spacing: 1px; }

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  cursor: pointer;
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-img {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f0e8d8, #e8d8c0);
  margin-bottom: 20px;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.product-img .no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem;
  color: var(--border);
}

.product-badges {
  position: absolute; top: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge {
  display: inline-block; padding: 4px 10px;
  font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 400;
}
.badge-sale { background: var(--charcoal); color: white; }
.badge-new  { background: var(--gold); color: white; }

.product-info { padding: 0 4px; }
.product-cat {
  font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 400;
  color: var(--dark); margin-bottom: 10px;
  line-height: 1.3;
}
.product-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-size: 1rem; font-weight: 400; color: var(--charcoal); }
.price-original { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.price-sale { color: var(--rose); }

.product-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,26,26,0.92);
  padding: 16px;
  transform: translateY(100%);
  transition: transform 0.3s;
  display: flex; gap: 8px;
}
.product-img:hover .product-actions { transform: translateY(0); }
.product-actions button {
  flex: 1; padding: 10px;
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
}
.btn-atc {
  background: var(--gold); color: white; border: 1px solid var(--gold);
}
.btn-atc:hover { background: var(--gold-light); }
.btn-view { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4); }
.btn-view:hover { border-color: white; }

/* ---- New Arrivals Banner ---- */
.new-arrivals-banner {
  background: var(--charcoal);
  padding: 100px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.new-arrivals-banner::before {
  content: '✦';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 600px; color: rgba(255,255,255,0.02);
  pointer-events: none; line-height: 1;
}
.banner-content { position: relative; z-index: 1; }
.banner-label {
  font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; color: white; line-height: 1.1;
  margin-bottom: 40px;
}
.banner-content h2 em { font-style: italic; color: var(--gold-light); }

/* ---- Trust Section ---- */
.trust-section {
  background: var(--warm-white);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; text-align: center;
}
.trust-icon {
  font-size: 1.5rem; color: var(--gold);
  margin-bottom: 16px;
}
.trust-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 400;
  margin-bottom: 8px;
}
.trust-item p { font-size: 0.85rem; color: var(--muted); }

/* ---- Footer ---- */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer .logo { margin-bottom: 16px; }
.footer .logo-mema { color: white; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 20px; }
.social-links a {
  font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }

.footer-links h5 {
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: white; margin-bottom: 20px; font-weight: 400;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9rem; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ---- Cart Sidebar ---- */
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 200;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed; top: 0; right: -440px; bottom: 0;
  width: 420px; background: var(--cream);
  z-index: 201; padding: 0;
  transition: right 0.4s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-deep);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400;
}
.cart-header button {
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--muted); line-height: 1;
}

.cart-items {
  flex: 1; overflow-y: auto; padding: 20px 32px;
}
.cart-empty {
  text-align: center; padding: 60px 0; color: var(--muted);
}
.cart-empty p { font-family: var(--font-display); font-size: 1.2rem; }

.cart-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 80px; height: 100px; object-fit: cover;
  background: linear-gradient(135deg, #f0e8d8, #e8d8c0);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem; margin-bottom: 4px;
}
.cart-item-variant { font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border); background: none;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--charcoal); }
.qty-display { font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.75rem; margin-left: auto;
  text-transform: uppercase; letter-spacing: 1px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--rose); }
.cart-item-price { font-size: 0.95rem; margin-top: 4px; }

.cart-footer { padding: 24px 32px; border-top: 1px solid var(--border); }
.cart-total {
  display: flex; justify-content: space-between;
  font-family: var(--font-display); font-size: 1.2rem;
  margin-bottom: 8px;
}
.cart-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; }

/* ---- Toasts ---- */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 300; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--charcoal); color: white;
  padding: 14px 20px; font-size: 0.85rem;
  border-left: 3px solid var(--gold);
  animation: slideIn 0.3s ease; max-width: 300px;
}
.toast.success { border-color: #4caf8a; }
.toast.error { border-color: var(--rose); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } }

/* ---- Loading ---- */
.loading-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px;
}
.skeleton {
  background: linear-gradient(90deg, #f0ebe0 25%, #e8e0d0 50%, #f0ebe0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-card { }
.skeleton-img { aspect-ratio: 3/4; margin-bottom: 16px; }
.skeleton-text { height: 14px; margin-bottom: 8px; border-radius: 2px; }
.skeleton-text.short { width: 60%; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 40px; }
  .hero-visual { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-main {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px;
    gap: 16px;
  }
  .nav-main.open { display: flex; }
  .hero { padding: 40px 20px; }
  .container { padding: 0 20px; }
  .search-bar { padding: 12px 20px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .new-arrivals-banner { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FEATURES — Free Shipping Bar, Wishlist, Quick View,
   Live Search, Countdown, Newsletter, Mobile Bottom Nav
   ============================================================ */

/* Free Shipping Bar */
.free-shipping-bar {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 7px 40px;
  font-size: 0.78rem;
  transition: background 0.4s;
  min-height: 32px;
}
.free-shipping-bar.unlocked { background: #f0f7f2; }
.fsb-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.fsb-inner span { color: var(--muted); white-space: nowrap; }
.fsb-inner strong { color: var(--charcoal); }
.fsb-track { flex: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.fsb-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width 0.5s ease; }
.free-shipping-bar.unlocked .fsb-inner span { color: #3d9970; font-weight: 500; letter-spacing: 0.5px; }

/* Wishlist Button (on product cards) */
.wl-btn {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(250,247,242,0.95);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.2s;
}
.wl-btn:hover { color: var(--rose); transform: scale(1.1); }
.wl-btn.active { color: var(--rose); }

/* Wishlist icon in nav header */
.wishlist-nav-btn { position: relative; }
.wishlist-count-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--rose); color: white;
  border-radius: 50%; width: 17px; height: 17px;
  font-size: 0.6rem; display: none; align-items: center; justify-content: center;
}

/* Quick View Modal */
.qv-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(13,13,13,0.65); z-index: 260;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.qv-box {
  background: var(--cream); width: 100%; max-width: 860px;
  max-height: 92vh; overflow-y: auto;
  position: relative;
  animation: fadeUp 0.25s ease;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } }
.qv-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; cursor: pointer;
  font-size: 1.8rem; color: var(--muted); z-index: 2; line-height: 1;
  transition: color 0.2s;
}
.qv-close:hover { color: var(--charcoal); }
.qv-body { padding: 48px; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.qv-img { aspect-ratio: 3/4; background: linear-gradient(135deg,#f0e8d8,#e8d8c0); overflow: hidden; }
.qv-img img { width: 100%; height: 100%; object-fit: cover; }
.qv-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; margin-bottom: 12px; line-height: 1.2; }
@media(max-width:640px) {
  .qv-grid { grid-template-columns: 1fr; gap: 24px; }
  .qv-body { padding: 24px; }
  .qv-img { aspect-ratio: 1/1; }
}

/* Live Search Dropdown */
.search-bar { position: relative; }
.search-dropdown {
  display: none; position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  border: 1px solid var(--border); border-top: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 200; max-height: 420px; overflow-y: auto;
}
.search-result-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px; border-bottom: 1px solid var(--border);
  color: inherit; text-decoration: none;
  transition: background 0.15s; cursor: pointer;
}
.search-result-item:last-of-type { border-bottom: none; }
.search-result-item:hover { background: var(--warm-white); }
.sri-img {
  width: 44px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg,#f0e8d8,#e8d8c0); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--border);
}
.sri-img img { width: 100%; height: 100%; object-fit: cover; }
.sri-name { font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 2px; }
.sri-price { font-size: 0.8rem; color: var(--muted); }
.search-no-results { padding: 20px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.search-viewing-all {
  display: block; padding: 11px 20px; text-align: center;
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); border-top: 1px solid var(--border);
  transition: background 0.15s; text-decoration: none;
}
.search-viewing-all:hover { background: var(--warm-white); }

/* Sale Countdown */
.sale-countdown {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--charcoal); color: var(--cream);
  padding: 10px 18px; margin-bottom: 24px;
}
.countdown-label { font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.countdown-timer { display: flex; align-items: center; gap: 4px; }
.cd-unit { text-align: center; min-width: 40px; }
.cd-val { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--gold-light); }
.cd-label { font-size: 0.58rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.cd-sep { font-size: 1.3rem; color: var(--gold-light); padding-bottom: 4px; }

/* WhatsApp Button */
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 24px;
  background: #25d366; color: white; border: none;
  font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; margin-bottom: 12px;
}
.btn-wa:hover { background: #1ebe5d; }
.btn-wa svg { flex-shrink: 0; }

/* Newsletter Popup */
.newsletter-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(13,13,13,0.7); z-index: 400;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.newsletter-box {
  background: var(--cream); max-width: 480px; width: 100%;
  position: relative; overflow: hidden;
  animation: fadeUp 0.3s ease;
}
.newsletter-deco {
  background: var(--charcoal); padding: 32px 40px 28px;
  text-align: center;
}
.newsletter-deco p { font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.newsletter-deco h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: white; line-height: 1.2; }
.newsletter-deco h2 em { font-style: italic; color: var(--gold-light); }
.newsletter-content { padding: 32px 40px 36px; }
.newsletter-content p { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form input {
  border: 1px solid var(--border); background: white;
  padding: 12px 16px; font-family: var(--font-body); font-size: 0.9rem; outline: none;
}
.nl-form input:focus { border-color: var(--gold); }
.nl-skip {
  display: block; margin-top: 14px; text-align: center;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.75rem; text-decoration: underline;
  font-family: var(--font-body);
}
.newsletter-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: rgba(255,255,255,0.6); line-height: 1;
  transition: color 0.2s; z-index: 1;
}
.newsletter-close:hover { color: white; }

/* Mobile Bottom Navigation */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--cream); border-top: 1px solid var(--border);
  z-index: 150; padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}
.bottom-nav-inner { display: flex; justify-content: space-around; align-items: center; }
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 8px; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.58rem; letter-spacing: 0.5px;
  text-transform: uppercase; font-family: var(--font-body);
  text-decoration: none; transition: color 0.2s; position: relative;
  min-width: 52px;
}
.bottom-nav-item svg { transition: transform 0.2s; }
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--gold); }
.bottom-nav-item.active svg { transform: scale(1.1); }
.bn-badge {
  position: absolute; top: 0; right: 6px;
  background: var(--gold); color: white;
  border-radius: 50%; width: 15px; height: 15px;
  font-size: 0.55rem; display: none; align-items: center; justify-content: center;
}
.bn-wl-badge {
  position: absolute; top: 0; right: 6px;
  background: var(--rose); color: white;
  border-radius: 50%; width: 15px; height: 15px;
  font-size: 0.55rem; display: none; align-items: center; justify-content: center;
}

/* Color filter swatches in shop sidebar */
.color-filter-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.color-filter-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid transparent; cursor: pointer;
  transition: border-color 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.color-filter-swatch.active { border-color: var(--charcoal); }
.color-filter-swatch[data-color=""] {
  background: linear-gradient(135deg,#eee 50%,#fff 50%);
  border: 2px solid var(--border);
}

@media (max-width: 768px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 68px; }
  .toast-container { bottom: 84px; }
  .free-shipping-bar { padding: 7px 20px; }
}
