/* ===================================================
   KETSY STORE – Main Stylesheet
   =================================================== */

/* --- CSS Variables --- */
:root {
  --primary: #FF6B35;
  --primary-dark: #e85a25;
  --primary-light: #FF8F65;
  --secondary: #2D3142;
  --accent: #F7C59F;
  --success: #00C896;
  --warning: #F4A800;
  --danger: #E91E8C;
  --text: #2D3142;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #1A1D2E;
  --border: #E5E7EB;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
  --font: 'Poppins', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

input, textarea, select, button { font-family: var(--font); }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.btn-secondary:hover { background: #3d4162; }

.btn-block { width: 100%; text-align: center; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}

/* Logo */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.03em;
}
.logo-k { color: var(--primary); }
.logo-store { color: var(--primary); }
.footer-logo { font-size: 1.4rem; }

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: #FFF0EA; }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
  border: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text);
}
.dropdown-menu li a:hover { background: #FFF0EA; color: var(--primary); padding-left: 1.5rem; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.icon-btn:hover { background: #FFF0EA; color: var(--primary); }

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.badge:empty, .badge[data-count="0"] { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--border-radius-sm);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }

.cart-close {
  width: 36px; height: 36px;
  border: none; background: var(--bg-light);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.cart-close:hover { background: #FFE5D9; color: var(--primary); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.cart-empty i { font-size: 3rem; }

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 70px; height: 70px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.25rem; }
.cart-item-variant { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.5rem; }
.cart-item-actions { display: flex; align-items: center; gap: 0.75rem; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  background: #fff; border-radius: 6px;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.qty-value { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.remove-item { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; transition: var(--transition); }
.remove-item:hover { color: var(--danger); }

.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.75rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem; }
.cart-total span:last-child { color: var(--primary); font-size: 1.2rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
.hero-slides { width: 100%; }
.hero-slide {
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-slide .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-content { flex: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  color: var(--secondary);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.05rem; color: var(--secondary); opacity: 0.8; max-width: 420px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-shape {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.5);
}
.hero-icon { font-size: 8rem; color: var(--secondary); opacity: 0.6; }

.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(45,49,66,0.3); cursor: pointer; transition: var(--transition);
}
.dot.active { background: var(--primary); transform: scale(1.3); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--secondary);
  padding: 1.25rem 0;
}
.features-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.feature-item i { font-size: 1.5rem; color: var(--accent); }
.feature-item strong { display: block; font-size: 0.9rem; font-weight: 600; }
.feature-item span { font-size: 0.78rem; opacity: 0.75; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-light); font-size: 1rem; }
.section-header.flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 2rem;
}
.view-all {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.view-all:hover { gap: 0.7rem; }

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.1); }
.category-card span { font-size: 0.85rem; font-weight: 600; color: var(--text); }

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-img {
  aspect-ratio: 1;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 1;
}
.product-badge.sale { background: var(--danger); }
.product-badge.new { background: var(--success); }

.product-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }

.product-action-btn {
  width: 34px; height: 34px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 0.85rem;
  transition: var(--transition);
}
.product-action-btn:hover { background: var(--primary); color: #fff; }

.product-info { padding: 1rem; }

.product-category { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }

.product-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }

.product-rating { display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.5rem; }
.product-rating i { color: var(--warning); font-size: 0.75rem; }
.product-rating span { font-size: 0.78rem; color: var(--text-muted); }

.product-price { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.price-current { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.price-original { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }

.add-to-cart-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.add-to-cart-btn:hover { background: var(--primary-dark); }

/* ===== CUSTOM BANNER ===== */
.custom-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #3d4162 100%);
  padding: 4rem 0;
  color: #fff;
}
.custom-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.custom-banner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.75rem; }
.custom-banner p { opacity: 0.85; max-width: 500px; margin-bottom: 1.5rem; }
.custom-banner-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 3rem;
  opacity: 0.2;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stars { color: var(--warning); margin-bottom: 0.75rem; font-size: 0.9rem; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-author span { font-weight: 600; font-size: 0.88rem; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8f65 100%);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.newsletter-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.newsletter-section p { opacity: 0.9; margin-bottom: 2rem; font-size: 1rem; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
}
.newsletter-form .btn { border-radius: 0; padding: 0.85rem 1.5rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

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

.footer-brand .logo { color: #fff; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; opacity: 0.75; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.87rem; opacity: 0.75; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--primary); padding-left: 5px; }
.footer-col p { font-size: 0.85rem; opacity: 0.75; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-col p i { color: var(--primary); width: 16px; }

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

.payment-badges { display: flex; gap: 0.75rem; }
.payment-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
}
.payment-badge i { color: var(--warning); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(255,107,53,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #3d4162 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.8; font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; color: var(--accent); }
.breadcrumb i { font-size: 0.7rem; }

/* ===== SHOP PAGE ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.filter-sidebar { position: sticky; top: 90px; height: fit-content; }
.filter-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.filter-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; color: var(--secondary); }

.filter-option { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; cursor: pointer; font-size: 0.88rem; }
.filter-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }

.price-range input[type="range"] { width: 100%; accent-color: var(--primary); }
.price-range .price-labels { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-light); margin-top: 0.4rem; }

.color-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.color-swatch.active, .color-swatch:hover { border-color: var(--primary); transform: scale(1.2); }

.shop-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.results-count { font-size: 0.88rem; color: var(--text-light); }
.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--primary); }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { padding: 3rem 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.product-gallery { position: sticky; top: 90px; height: fit-content; }
.gallery-main {
  aspect-ratio: 1;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  margin-bottom: 1rem;
}
.gallery-thumbs { display: flex; gap: 0.75rem; }
.gallery-thumb {
  width: 70px; height: 70px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
  font-size: 1.8rem;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }

.product-detail-info h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }

.product-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; font-size: 0.85rem; color: var(--text-light); }
.stock-badge { padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.in-stock { background: #D9FFF3; color: var(--success); }
.out-of-stock { background: #FFE5E5; color: #FF4444; }

.detail-price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.detail-price .original { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.75rem; }

.variant-section { margin-bottom: 1.5rem; }
.variant-label { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text); }

.size-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-btn {
  min-width: 44px; height: 44px;
  padding: 0 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius-sm);
  background: #fff;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.size-btn.active, .size-btn:hover { border-color: var(--primary); color: var(--primary); }
.size-btn.unavailable { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.qty-control { display: flex; align-items: center; gap: 0; border: 2px solid var(--border); border-radius: var(--border-radius-sm); width: fit-content; overflow: hidden; }
.qty-control-btn {
  width: 44px; height: 44px;
  background: var(--bg-light);
  border: none; cursor: pointer;
  font-size: 1.2rem; font-weight: 600;
  transition: var(--transition);
}
.qty-control-btn:hover { background: var(--primary); color: #fff; }
.qty-control-input {
  width: 60px; height: 44px;
  border: none; text-align: center;
  font-size: 0.95rem; font-weight: 600;
  outline: none;
}

.detail-actions { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.detail-actions .btn { flex: 1; min-width: 140px; }

.product-tabs { margin-top: 2rem; }
.tab-buttons { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-content { display: none; font-size: 0.9rem; line-height: 1.8; color: var(--text-light); }
.tab-content.active { display: block; }

/* ===== CHECKOUT PAGE ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 2rem; padding: 3rem 0; }

.checkout-section {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.checkout-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.checkout-section h3 i { color: var(--primary); }

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

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
  color: var(--text);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,53,0.15); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method.active { border-color: var(--primary); background: #FFF8F5; }
.payment-method:hover { border-color: var(--primary-light); }
.payment-method input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.payment-method-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; }
.mtn-icon { background: #FFF0B3; color: #D4A017; }
.telecel-icon { background: #FFE5D9; color: #E63946; }
.payment-method-info strong { display: block; font-size: 0.9rem; font-weight: 700; }
.payment-method-info span { font-size: 0.78rem; color: var(--text-light); }

.momo-fields { margin-top: 1rem; padding: 1rem; background: var(--bg-light); border-radius: var(--border-radius-sm); }

/* Order summary */
.order-summary {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.order-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.order-item { display: flex; gap: 1rem; margin-bottom: 1rem; }
.order-item-img { width: 56px; height: 56px; border-radius: 8px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.order-item-info { flex: 1; }
.order-item-info strong { display: block; font-size: 0.85rem; font-weight: 600; }
.order-item-info span { font-size: 0.78rem; color: var(--text-light); }
.order-item-price { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.88rem; }
.summary-row.total { border-top: 2px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; font-size: 1rem; font-weight: 700; }
.summary-row.total span:last-child { color: var(--primary); }
.promo-form { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.promo-form input { flex: 1; padding: 0.6rem 1rem; border: 1.5px solid var(--border); border-radius: var(--border-radius-sm); font-size: 0.85rem; outline: none; }
.promo-form input:focus { border-color: var(--primary); }
.promo-form button { padding: 0.6rem 1rem; background: var(--secondary); color: #fff; border: none; border-radius: var(--border-radius-sm); cursor: pointer; font-size: 0.85rem; font-weight: 600; }

/* ===== CUSTOM ORDER PAGE ===== */
.custom-order-page { padding: 3rem 0; }
.custom-order-grid { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; }
.custom-form-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.custom-form-card h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.custom-form-card p.subtitle { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }

.custom-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.custom-info-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.custom-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #FFF0EA;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.custom-info-card strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.custom-info-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; margin: 0; }

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--secondary);
  color: #fff;
  padding: 0.9rem 1.75rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 90vw;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: #FF4444; }

/* ===== ABOUT PAGE ===== */
.about-section { padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.about-image-box {
  background: linear-gradient(135deg, #FF6B35 0%, #F7C59F 100%);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  font-size: 8rem;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin: 3rem 0; }
.stat-card { text-align: center; padding: 1.5rem; background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.83rem; color: var(--text-light); margin-top: 0.25rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 0; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 48px; height: 48px; background: #FFF0EA; color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.contact-item span { font-size: 0.88rem; color: var(--text-light); }
.contact-form-card { background: #fff; border-radius: var(--border-radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-form-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.empty-state i { font-size: 4rem; margin-bottom: 1rem; color: var(--border); }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.empty-state p { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ===== SEARCH BAR ===== */
.search-bar-container { padding: 2rem 0 0; }
.search-input-group {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.search-input-group input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}
.search-input-group input:focus { border-color: var(--primary); }
.search-input-group button {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff; border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.search-input-group button:hover { background: var(--primary-dark); }

/* ===== LOADING SPINNER ===== */
.spinner { display: flex; justify-content: center; padding: 3rem; }
.spinner::after {
  content: '';
  width: 40px; height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
  text-align: center;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.modal h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.modal p { color: var(--text-light); margin-bottom: 1.5rem; }

/* ===== CUSTOMIZED SECTION ===== */
.customized-section { background: #fff; }

.customized-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.customized-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.customized-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }

.customized-img {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
}
.customized-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 107, 53, 0.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transition: var(--transition);
}
.customized-card:hover .customized-overlay { opacity: 1; }

.customized-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.customized-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}
.customized-info p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
}
.customized-cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.4rem;
  transition: var(--transition);
}
.customized-card:hover .customized-cta { gap: 0.6rem; }

@media (max-width: 1100px) {
  .customized-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .customized-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .customized-grid { grid-template-columns: 1fr; }
}

/* ===== CATEGORIES BAR (expand/collapse) ===== */
.categories-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.categories-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  transition: var(--transition);
  gap: 1rem;
}
.categories-toggle:hover { color: var(--primary); }
.categories-toggle:hover .categories-chevron { color: var(--primary); }

.categories-toggle-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--secondary);
}
.categories-toggle-left i { color: var(--primary); font-size: 1rem; }

.categories-toggle-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
}
.cat-preview {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}
.categories-chevron {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.categories-toggle[aria-expanded="true"] .categories-chevron {
  transform: rotate(180deg);
}

/* Panel */
.categories-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s ease;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.categories-panel.open {
  max-height: 400px;
  padding: 1.25rem 0 1.5rem;
}

.categories-grid-new {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-card-new {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}
.category-card-new:hover,
.category-card-new:focus { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }

.category-icon-new {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.category-card-new:hover .category-icon-new { transform: scale(1.1); }

/* Customized Items trigger active state */
.category-card-custom.sub-open {
  border-color: var(--primary);
  color: var(--primary);
  background: #FFF8F5;
}
.category-card-custom.sub-open #custom-chevron { transform: rotate(180deg); }

/* Sub-items */
.custom-subitems {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: 0;
}
.custom-subitems.open {
  max-height: 120px;
  opacity: 1;
  margin-top: 1rem;
}

.custom-subitem {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
}
.custom-subitem:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.subitem-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(4,1fr); }
  .products-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 5rem 2rem 2rem;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: center; gap: 0; width: 100%; max-width: 320px; }

  /* Dropdown toggle button — visible only on mobile */
  .dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: .3rem .5rem;
    display: inline-flex;
    align-items: center;
    font-size: .85rem;
    transition: transform .3s;
  }
  .dropdown.open > .dropdown-toggle i { transform: rotate(180deg); }

  /* Each dropdown li: row of text + chevron */
  .dropdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; width: 100%; }
  .dropdown > .nav-link { flex: 1; text-align: center; }

  /* Submenu: hidden by default, shown when .open */
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: #FFF8F5 !important;
    border-radius: var(--border-radius-sm) !important;
    padding: .5rem 0 !important;
    width: 100%;
    display: none;
  }
  .dropdown.open > .dropdown-menu { display: block; }
  .dropdown-menu li a { text-align: center; padding: .5rem 1rem; font-size: .95rem; }

  .hamburger { display: flex; z-index: 1000; }

  .hero-slide .container { flex-direction: column; text-align: center; }
  .hero-content p { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .hero-image { display: none; }

  .products-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .custom-order-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .categories-grid { grid-template-columns: repeat(3,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .hero-slide { min-height: 400px; }
  .features-strip .container { justify-content: flex-start; overflow-x: auto; padding-bottom: 0.5rem; }
  .feature-item { flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .custom-banner-content { flex-direction: column; }
  .custom-banner-icons { display: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--border-radius); }
  .newsletter-form input { border-radius: var(--border-radius); }
  .newsletter-form .btn { border-radius: var(--border-radius); }
}

@media (max-width: 400px) {
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  /* Keep 2 columns even on very small screens — looks more like a shop */
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
}

/* ===================================================================
   KETSY v2 — PATCHES (product images, hero photos, WhatsApp, mobile)
   =================================================================== */

/* ----- Fix: Product card image area (used by renderProductCard) ----- */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  display: block;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

/* Overlay that appears on hover over a product card */
.product-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  gap: .5rem;
  padding: .75rem;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  transform: translateY(100%);
  opacity: 0;
  transition: all .3s ease;
  z-index: 3;
}
/* On mobile, always show the overlay since there is no hover */
@media (hover: none) {
  .product-overlay {
    transform: none;
    opacity: 1;
    background: transparent;
    position: static;
    padding: 0 .75rem .75rem;
  }
  .product-card .product-overlay .btn {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  .product-card .product-overlay .btn.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
  }
}
.product-card:hover .product-overlay { transform: translateY(0); opacity: 1; }
.product-overlay .btn { flex: 1; padding: .55rem .75rem; font-size: .8rem; }
.product-overlay .btn-outline { background: #fff; }

/* Wishlist heart button */
.wishlist-btn {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: #555;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 4;
  transition: var(--transition);
}
.product-badge { z-index: 4; }
.wishlist-btn:hover { background: #fff; color: var(--danger); transform: scale(1.08); }
.wishlist-btn.active { background: var(--danger); color: #fff; }

/* Product badge variants used by products.js */
.product-badge.badge-bestseller { background: var(--warning); color: #fff; }
.product-badge.badge-sale        { background: var(--danger);  color: #fff; }
.product-badge.badge-new         { background: var(--success); color: #fff; }
.product-badge.badge-custom      { background: #7C3AED; color: #fff; }

/* Color dots in product card */
.product-colors {
  display: flex;
  gap: .35rem;
  align-items: center;
  margin-top: .35rem;
}
.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset;
}

/* ----- HERO with real photos ----- */
.hero { min-height: 540px; }

.hero-slide.hero-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 540px;
}
.hero-slide.hero-photo .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.72);
  transform: scale(1);
  transition: transform 8s ease;
}
.hero-slide.hero-photo.active .hero-bg { transform: scale(1.08); }
.hero-slide.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(20,20,30,.72) 0%, rgba(20,20,30,.35) 55%, rgba(20,20,30,.05) 100%);
  z-index: 1;
}
.hero-slide.hero-photo .container {
  position: relative;
  z-index: 2;
  min-height: 540px;
  padding: 4rem 1.5rem;
}
.hero-slide.hero-photo .hero-content { color: #fff; max-width: 640px; }
.hero-slide.hero-photo .hero-tag {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.hero-slide.hero-photo .hero-content h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); }
.hero-slide.hero-photo .hero-content h1 span { color: var(--primary); }
.hero-slide.hero-photo .hero-content p { color: rgba(255,255,255,.9); font-size: 1.05rem; }

/* Hide non-active slides */
.hero-slides { position: relative; }
.hero-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity .8s ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Hero navigation arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--secondary);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 5;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--primary); color: #fff; }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }

.hero-dots .dot {
  background: rgba(255,255,255,.5);
}
.hero-dots .dot.active { background: #fff; transform: scale(1.4); }

/* ----- WhatsApp float button ----- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  z-index: 900;
  animation: waPulse 2.2s infinite;
  text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); background: #1ebe57; }
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.whatsapp-float .wa-label {
  position: absolute;
  right: 68px;
  background: #fff;
  color: var(--secondary);
  padding: .4rem .8rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .wa-label { opacity: 1; transform: translateX(0); }

/* ----- Trust / shipping badges row ----- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  font-size: .82rem;
  color: var(--text-light);
}
.trust-item i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFF1EA;
  color: var(--primary);
  font-size: .95rem;
  flex-shrink: 0;
}
.trust-item strong { display: block; color: var(--text); font-weight: 700; font-size: .88rem; margin-bottom: 2px; }

/* ----- Better touch targets & mobile polish ----- */
@media (max-width: 900px) {
  .hero { min-height: 460px; }
  .hero-slide.hero-photo,
  .hero-slide.hero-photo .container { min-height: 460px; padding: 3rem 1.25rem; }
  .hero-slide.hero-photo .hero-content h1 { font-size: 2.3rem; }
  .hero-image { display: none; }

  /* Keep the hero visible on mobile (was hidden before) */
  .hero-slide.hero-photo { display: flex; }

  .back-to-top { bottom: 5.5rem; right: 1rem; width: 42px; height: 42px; }
  .whatsapp-float { bottom: 1rem; left: 1rem; width: 52px; height: 52px; font-size: 1.45rem; }

  .icon-btn { padding: .4rem; }
  .logo { font-size: 1.3rem; }

  .trust-row { grid-template-columns: repeat(2, 1fr); gap: .5rem; padding: 1rem .5rem; }
  .trust-item { font-size: .76rem; padding: .35rem .5rem; }

  .hero-arrow { width: 36px; height: 36px; font-size: .85rem; }
  .hero-arrow.prev { left: .5rem; }
  .hero-arrow.next { right: .5rem; }
}

@media (max-width: 600px) {
  .product-info { padding: .75rem; }
  .product-name { font-size: .86rem; line-height: 1.3; }
  .price-current { font-size: .95rem; }
  .product-badge { font-size: .65rem; padding: .15rem .5rem; }
  .product-overlay { padding: .5rem; gap: .3rem; }
  .product-overlay .btn { font-size: .72rem; padding: .4rem .5rem; }
  .wishlist-btn { width: 32px; height: 32px; font-size: .8rem; top: .4rem; right: .4rem; }

  .hero-content h1 { font-size: 2rem; }
  .hero-slide.hero-photo .hero-content h1 { font-size: 2rem; line-height: 1.15; }
  .hero-slide.hero-photo .hero-content p { font-size: .95rem; }
  .hero-slide.hero-photo .container { padding: 2.5rem 1rem; }

  .btn { padding: .65rem 1.25rem; font-size: .9rem; }

  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.4rem; }

  .features-strip .container { gap: 1.5rem; padding-left: 1rem; padding-right: 1rem; }
  .feature-item { gap: .5rem; }
  .feature-item i { font-size: 1.2rem; }
  .feature-item strong { font-size: .8rem; }
  .feature-item span { font-size: .68rem; }

  .announcement-bar { font-size: .72rem; padding: .5rem; }
}

/* Safe-area padding for phones with notches */
@supports (padding: max(0px)) {
  .header .container,
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .whatsapp-float { left: max(1rem, env(safe-area-inset-left)); }
  .back-to-top    { right: max(1rem, env(safe-area-inset-right)); }
}

/* Improve tap highlight */
a, button { -webkit-tap-highlight-color: rgba(255,107,53,.15); }

/* Lazy-loaded image fade-in */
img[loading="lazy"] { transition: opacity .4s ease; }

/* ----- Announcement bar: marquee on very small screens ----- */
@media (max-width: 600px) {
  .announcement-bar { white-space: nowrap; overflow: hidden; }
}

/* ----- Improve mobile nav ----- */
@media (max-width: 900px) {
  .nav-list { gap: .5rem !important; width: 100%; }
  .nav-list > li { width: 100%; text-align: center; }
  .nav-list .nav-link {
    padding: .75rem 1.5rem;
    border-radius: 20px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-list .nav-link.active { background: var(--primary); color: #fff; }
}

/* Hide dropdown-toggle on desktop — hover handles it */
@media (min-width: 901px) {
  .dropdown-toggle { display: none; }
}

/* ----- Product card polish ----- */
.product-card { display: flex; flex-direction: column; }
.product-card .product-info { display: flex; flex-direction: column; flex: 1; }
.product-card a.product-name { color: inherit; }
.product-card a.product-name:hover { color: var(--primary); }

/* Stars for product rating in card */
.product-rating .stars {
  letter-spacing: 1px;
  font-size: .85rem;
}

/* Sale strikethrough color */
.price-old {
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: .3rem;
}

/* Toast — make visible over the WhatsApp float */
.toast { z-index: 2000; }

/* ═══════════════════════════════════════════════════
   KETSY v3 — Size pills, Frame gallery, Full-set fix
   ═══════════════════════════════════════════════════ */

/* ----- Size pill selector on product cards ----- */
.card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.card-size-btn {
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: #fff;
  color: var(--text-light);
  cursor: pointer;
  font-family: var(--font);
  line-height: 1.5;
  transition: border-color .2s, color .2s, background .2s;
}
.card-size-btn.active,
.card-size-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #FFF0EA;
}

/* ----- Color dot active state on cards ----- */
.color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  vertical-align: middle;
}
.color-dot.active,
.color-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px var(--primary);
}

/* ----- Men Full Set — show full outfit in cards ----- */
.product-card[data-category="fullset"] .product-image img {
  object-fit: cover;
  object-position: top center;
  height: 100%;
}
/* Taller aspect ratio for fullset so you see more of the outfit */
.product-card[data-category="fullset"] .product-image {
  aspect-ratio: 3 / 4;
}

/* ----- Frame gallery (swipeable frame styles) ----- */
.product-image--frame {
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
}
.frame-gallery {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.frame-slides-track {
  display: flex;
  height: 100%;
  /* JS moves with translateX */
}
.frame-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .75rem;
  opacity: 0;
  transition: opacity .4s ease;
  position: absolute;
  inset: 0;
}
.frame-slide.active {
  opacity: 1;
  position: relative;
}
.frame-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame-border-box {
  border: 14px solid;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 82px;
  transition: box-shadow .4s;
}
.frame-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame-style-label {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.45);
  padding: 2px 10px;
  border-radius: 12px;
  text-align: center;
  white-space: nowrap;
  letter-spacing: .02em;
}
/* Frame nav arrows */
.frame-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.88);
  color: var(--secondary);
  cursor: pointer;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s;
}
.frame-nav:hover { background: var(--primary); color: #fff; }
.frame-nav-prev { left: .35rem; }
.frame-nav-next { right: .35rem; }
/* Frame dots */
.frame-dots {
  position: absolute;
  bottom: .45rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 5;
}
.fdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.fdot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ----- Hero: ensure no gap between hero and trust row ----- */
.hero { margin-bottom: 0; }
.trust-row { margin-top: 0; }

/* ----- Hero bg position for fullset (portrait image) ----- */
.hero-slide.hero-photo:first-child .hero-bg {
  background-position: center top;
}

/* ═══════════════════════════════════════════════════
   KETSY v5 — Lookbook Hero, Category Showcases
   ═══════════════════════════════════════════════════ */

/* ── Lookbook Hero ── */
.hero-lb {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-lb-slides { height: 100%; }

.hero-lb-slide {
  display: none;
  height: 100%;
  position: relative;
}
.hero-lb-slide.active { display: grid; grid-template-columns: 58% 42%; }

/* Left: full-bleed product photo */
.hero-lb-img {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-lb-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.hero-lb-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, #0a0a0a 100%);
  pointer-events: none;
}

/* Right: text panel */
.hero-lb-content {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
/* Decorative large number watermark */
.hero-lb-content::before {
  content: attr(data-num);
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-size: 14rem;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-lb-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: .75rem;
  margin-bottom: 1.4rem;
}

.hero-lb-title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: .95;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}

.hero-lb-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.hero-lb-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-lb-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.hero-lb-badge {
  font-size: .72rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: .3rem .8rem;
  border-radius: 20px;
  letter-spacing: .04em;
}

.hero-lb-btns {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: .75rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.hero-lb-counter {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(255,255,255,.3);
}

/* Arrow nav */
.hero-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.hero-lb-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-lb-prev { left: 1.5rem; }
.hero-lb-next { right: 1.5rem; }

/* Progress bar */
.hero-lb-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 10;
}
.hero-lb-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
}

/* Dot indicators */
.hero-lb-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
}
.hero-lb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .3s, transform .3s, width .3s;
}
.hero-lb-dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 3px;
}

/* Mobile hero */
@media (max-width: 720px) {
  .hero-lb { height: auto; min-height: 0; }
  .hero-lb-slide.active { grid-template-columns: 1fr; grid-template-rows: 320px auto; }
  .hero-lb-content { padding: 2rem 1.5rem 3rem; }
  .hero-lb-title { font-size: 2.6rem; }
  .hero-lb-arrow { display: none; }
}

/* ── Category Showcase Grid ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.showcase-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.showcase-card-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem .6rem;
  border-bottom: 1px solid var(--border);
}
.showcase-cat-icon { font-size: 1.3rem; }
.showcase-card-header h3 { font-size: .95rem; font-weight: 700; flex: 1; color: var(--secondary); }
.showcase-view-all { font-size: .75rem; color: var(--primary); font-weight: 600; white-space: nowrap; }
.showcase-view-all:hover { text-decoration: underline; }

/* Gallery inside showcase card */
.sc-gallery {
  position: relative;
  background: #f5f5f5;
  overflow: hidden;
  height: 580px;
}
.sc-track {
  height: 100%;
  position: relative;
}
.sc-slide {
  display: none;
  height: 100%;
  flex-direction: column;
}
.sc-slide.active { display: flex; }
.sc-img-link { display: block; flex: 1; overflow: hidden; }
.sc-img {
  width: 100%;
  height: 510px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform .4s ease;
}
.sc-img-link:hover .sc-img img { transform: scale(1.05); }
.sc-icon-fallback { font-size: 3.5rem; }

/* Fullset taller image in showcase */
.showcase-card[data-category="fullset"] .sc-img,
.sc-slide[data-category="fullset"] .sc-img { height: 510px; }

.sc-info {
  padding: .5rem .75rem .4rem;
  background: #fff;
}
.sc-name { font-size: .8rem; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-price { font-size: .88rem; font-weight: 700; color: var(--primary); }
.sc-old { font-size: .72rem; color: var(--text-muted); text-decoration: line-through; margin-left: .3rem; }
.sc-look { font-size: .72rem; color: var(--text-muted); line-height: 1.35; margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-sizes { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
/* Nav buttons on showcase */
.sc-nav {
  position: absolute;
  top: 250px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: var(--secondary);
  cursor: pointer;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 4;
  transition: background .2s, color .2s;
}
.sc-nav:hover { background: var(--primary); color: #fff; }
.sc-prev { left: .4rem; }
.sc-next { right: .4rem; }
.sc-counter {
  position: absolute;
  bottom: .35rem;
  right: .5rem;
  font-size: .68rem;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  z-index: 3;
}
.sc-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: .45rem 0 .3rem;
  background: #fff;
  border-top: 1px solid var(--border);
}
.sc-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.sc-dot.active { background: var(--primary); transform: scale(1.3); }
/* Footer of showcase card */
.showcase-card-footer {
  display: flex;
  gap: .5rem;
  padding: .65rem .85rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.showcase-card-footer .btn { flex: 1; font-size: .78rem; padding: .5rem .5rem; }

/* ── Shop Customized nav dropdown styling ── */
.nav-list .dropdown:nth-child(3) > .nav-link {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--border-radius-sm);
  padding: .45rem .9rem;
}
.nav-list .dropdown:nth-child(3) > .nav-link:hover {
  background: var(--primary-dark);
}
.nav-list .dropdown:nth-child(3) > .nav-link i { color: #fff; }

/* ── Customized product SVG visuals ── */
.custom-product-svg {
  width: 100px;
  height: 100px;
}
.customized-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.customized-img .customized-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
}
.customized-card:hover .customized-overlay { opacity: 1; }

/* ── Legacy hero gap rule (kept for safety) ── */
.hero-v2 { margin-bottom: 0; }

/* ── Featured Men Full Sets Section ── */
.featured-fullset {
  padding: 4rem 0;
  background: #f8f9fa;
}
.featured-fullset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.featured-fs-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  color: inherit;
}
.featured-fs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.featured-fs-img {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #f0f0f0;
}
.featured-fs-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}
.featured-fs-card:hover .featured-fs-img img { transform: scale(1.04); }
.featured-fs-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 20px;
  letter-spacing: .03em;
}
.featured-fs-badge--hot { background: #e85a25; }
.featured-fs-badge--sale { background: #E91E8C; }
.featured-fs-info {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.featured-fs-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: .4rem;
}
.featured-fs-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .75rem;
}
.featured-fs-old {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: .4rem;
}
.featured-fs-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
}
.featured-fs-cta i { transition: transform 0.2s; }
.featured-fs-card:hover .featured-fs-cta i { transform: translateX(4px); }

@media (max-width: 720px) {
  .featured-fullset-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-fs-img { height: 380px; }
  .hero-v2-slide { height: 340px; }
}

/* ── Mobile showcase responsive ── */
@media (max-width: 600px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .sc-gallery { height: 420px; }
  .sc-img { height: 360px; }
  .showcase-card-footer .btn { font-size: .72rem; padding: .4rem .3rem; }
}

/* =====================================================
   KETSY — MOBILE-FIRST POLISH
   ===================================================== */

/* ── Header tighter on small screens ── */
@media (max-width: 480px) {
  .header .container { padding: 0 .85rem; }
  .logo { font-size: 1.2rem; }
  .icon-btn { width: 36px; height: 36px; font-size: 1rem; }
  .header-actions { gap: .1rem; }
  .announcement-bar { font-size: .68rem; padding: .35rem .75rem; }
}

/* ── Hero lookbook mobile ── */
@media (max-width: 480px) {
  .hero-lb-slide.active { grid-template-rows: 260px auto; }
  .hero-lb-title { font-size: 2rem; line-height: 1; }
  .hero-lb-desc { font-size: .82rem; max-width: 100%; }
  .hero-lb-price { font-size: 1.3rem; }
  .hero-lb-content { padding: 1.5rem 1.25rem 2.5rem; }
  .hero-lb-eyebrow { font-size: .63rem; margin-bottom: 1rem; }
  .hero-lb-meta { margin-bottom: 1.2rem; }
  .hero-lb-btns { gap: .6rem; }
  .hero-lb-btns .btn, .hero-lb-btns .btn-ghost-white { padding: .65rem 1.1rem; font-size: .82rem; }
  .hero-lb-dots { bottom: 1rem; }
}

/* ── Featured full sets mobile ── */
@media (max-width: 480px) {
  .featured-fullset-grid { grid-template-columns: 1fr; gap: 1rem; }
  .featured-fs-img { height: 320px; }
  .featured-fs-info { padding: .85rem 1rem; }
  .featured-fs-info h3 { font-size: .95rem; }
  .featured-fs-price { font-size: 1rem; }
}

/* ── Products grid — 2 columns down to 360px ── */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2,1fr); gap: .75rem; }
  .product-name { font-size: .78rem; }
  .price-current { font-size: .88rem; }
  .product-info { padding: .6rem .65rem; }
}

/* ── Shop filter pills — always horizontal scroll ── */
@media (max-width: 600px) {
  .cat-filter-pill-bar { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cat-filter-pill-bar::-webkit-scrollbar { display: none; }
}

/* ── Showcase cards — single col on mobile ── */
@media (max-width: 480px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .sc-gallery { height: 380px; }
  .sc-img { height: 320px; }
}

/* ── Trust row — 2 col then 1 col ── */
@media (max-width: 480px) {
  .trust-row { grid-template-columns: 1fr 1fr; gap: .4rem; padding: .75rem .5rem; }
  .trust-item { font-size: .72rem; padding: .5rem; }
  .trust-item i { font-size: .9rem; }
}

/* ── Footer mobile ── */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer { padding: 2.5rem 0 0; }
  .footer-brand { text-align: center; }
  .footer-brand .social-links { justify-content: center; }
  .footer-col h4 { font-size: .9rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }
}

/* ── Checkout/form mobile ── */
@media (max-width: 480px) {
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* prevent iOS zoom */ }
  .btn { touch-action: manipulation; }
}

/* ── Section spacing tighter on mobile ── */
@media (max-width: 480px) {
  .section { padding: 2.5rem 0; }
  .section-header h2 { font-size: 1.3rem; }
  .section-header { margin-bottom: 1.5rem; }
  .container { padding: 0 1rem; }
}

/* ── Cart sidebar full-width on small phones ── */
@media (max-width: 480px) {
  .cart-sidebar { width: 100vw; max-width: 100vw; }
}

/* ── Page hero (shop, about, contact pages) ── */
@media (max-width: 480px) {
  .page-hero { padding: 3rem 0 2rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-hero p { font-size: .85rem; }
}

/* ── WhatsApp float + back-to-top always visible above thumb zone ── */
@media (max-width: 480px) {
  .whatsapp-float { bottom: 1rem; left: 1rem; width: 48px; height: 48px; font-size: 1.3rem; border-radius: 50%; }
  .wa-label { display: none; }
  .back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
}

/* ── Larger tap targets throughout ── */
@media (max-width: 900px) {
  .btn { min-height: 44px; }
  .filter-option { padding: .4rem 0; }
  .filter-option input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
  .card-size-btn { min-width: 36px; min-height: 36px; }
}

