/* ============================================
   Web18 — Sewing & Quilting E-Commerce
   Warm Handcraft Design System v2
   ============================================ */

/* === 1. VARIABLES === */
:root {
  --primary: #6B4F3F;
  --primary-light: #8B6F5F;
  --primary-dark: #4F3A2D;
  --accent: #C84B31;
  --accent-light: #E0654A;
  --accent-dark: #A33A24;
  --highlight: #E8B86D;
  --highlight-light: #F0CB8E;
  --highlight-dark: #D4A04F;
  --bg: #FAF6F0;
  --bg-alt: #F2EBE0;
  --bg-dark: #2D1810;
  --text: #2D1810;
  --text-muted: #6B5B4F;
  --text-light: #9B8B7F;
  --card: #FFFFFF;
  --border: #E5DDD0;
  --border-dark: #D4C9B8;
  --success: #4A7C59;
  --error: #C84B31;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-xs: 0 1px 2px rgba(45,24,16,0.06);
  --shadow-sm: 0 2px 8px rgba(45,24,16,0.08);
  --shadow-md: 0 4px 16px rgba(45,24,16,0.10);
  --shadow-lg: 0 8px 32px rgba(45,24,16,0.14);
  --shadow-xl: 0 16px 48px rgba(45,24,16,0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1280px;
}

/* === 2. RESET === */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(232,184,109,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(200,75,49,0.03) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}
img,svg,video { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; transition: color 0.2s; }
a:hover { color: var(--accent); }
ul,ol { list-style:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input,textarea,select { font-family:inherit; font-size:inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight:700; line-height:1.2; color: var(--text); }
h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.75rem,4vw,2.75rem); }
h3 { font-size: clamp(1.3rem,3vw,1.75rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom:0; }

/* === 3. LAYOUT === */
.container { width:100%; max-width: var(--max-width); margin:0 auto; padding:0 2rem; }
.section { padding: 5rem 0; }
.section-light { background: var(--bg); }
.section-muted { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--bg); }
.section-dark h1,.section-dark h2,.section-dark h3 { color: #fff; }

/* === 4. STITCH DECORATIVE === */
.stitch-divider { height:0; border:none; border-top:2px dashed var(--border-dark); margin:1.5rem 0; }

/* === 5. BUTTONS === */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  padding: 0.75rem 1.75rem; font-size:0.9rem; font-weight:600;
  letter-spacing:0.03em; border-radius: var(--radius-sm);
  transition: all var(--transition); cursor:pointer;
  border:2px solid transparent; text-transform:uppercase; white-space:nowrap;
}
.btn-primary { background: var(--accent); color:#fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color:#fff; transform:translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background:transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color:#fff; }
.btn-outline { background:transparent; color: var(--text); border-color: var(--border-dark); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { background:transparent; color:#fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color:#fff; color:#fff; }
.btn-lg { padding:1rem 2.5rem; font-size:1rem; }
.btn-sm { padding:0.5rem 1.25rem; font-size:0.82rem; }
.btn-block { display:flex; width:100%; }

/* === 6. ANNOUNCEMENT BAR === */
.announcement-bar {
  background: var(--accent); color:#fff; font-size:0.8rem; font-weight:500;
  letter-spacing:0.03em; text-align:center; padding:0.5rem 1rem;
  position:relative; z-index:1001; display:flex; align-items:center; justify-content:center; gap:0.5rem;
}
.announcement-bar a { color:#fff; text-decoration:underline; text-underline-offset:2px; }

/* === 7. NAVBAR === */
.navbar {
  position:sticky; top:0; z-index:1000;
  background: rgba(250,246,240,0.95); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border); transition: all var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); background: rgba(250,246,240,0.98); }
.navbar-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:0 2rem; height:68px; max-width: var(--max-width); margin:0 auto;
}
.logo { font-family: var(--font-head); font-size:1.5rem; font-weight:700; color: var(--primary); display:flex; align-items:center; gap:0.5rem; white-space:nowrap; }
.logo span { color: var(--accent); }
.logo svg { width:28px; height:28px; }
.nav-links { display:flex; align-items:center; gap:1.75rem; }
.nav-links a { font-size:0.88rem; font-weight:500; color: var(--text); position:relative; padding:0.25rem 0; }
.nav-links a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:2px; background: var(--accent); transition:width var(--transition); }
.nav-links a:hover,.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,.nav-links a.active::after { width:100%; }
.nav-icons { display:flex; align-items:center; gap:0.5rem; }
.nav-icon { position:relative; display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius: var(--radius-full); color: var(--text); transition: all 0.2s; }
.nav-icon:hover { background: rgba(200,75,49,0.1); color: var(--accent); }
.nav-icon svg { width:22px; height:22px; }
.cart-badge { position:absolute; top:2px; right:2px; min-width:18px; height:18px; border-radius: var(--radius-full); background: var(--accent); color:#fff; font-size:0.65rem; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 4px; border:2px solid var(--bg); }
.mobile-toggle { display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; cursor:pointer; }
.mobile-toggle span { display:block; width:22px; height:2px; background: var(--text); border-radius:2px; transition: all var(--transition); margin:0 auto; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity:0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === 8. HERO === */
.hero { position:relative; min-height:90vh; display:flex; align-items:center; overflow:hidden; background: var(--bg-dark); }
.hero-bg { position:absolute; inset:0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; animation: heroFadeIn 1.2s ease; }
@keyframes heroFadeIn { from { opacity:0; transform:scale(1.05); } to { opacity:0.4; transform:scale(1); } }
.hero-overlay { position:absolute; inset:0; background: linear-gradient(180deg, rgba(45,24,16,0.3) 0%, rgba(45,24,16,0.55) 60%, rgba(45,24,16,0.75) 100%); }
.hero-content { position:relative; z-index:2; width:100%; max-width: var(--max-width); margin:0 auto; padding:4rem 2rem; }
.hero-text { max-width:640px; }
.hero-eyebrow { display:inline-block; font-size:0.8rem; font-weight:600; letter-spacing:0.2em; text-transform:uppercase; color: var(--highlight); margin-bottom:1rem; }
.hero h1 { color:#fff; font-size:clamp(2.5rem,6vw,4.5rem); line-height:1.1; margin-bottom:1.5rem; text-shadow:0 2px 20px rgba(0,0,0,0.3); }
.hero-desc { font-size:1.15rem; line-height:1.7; color:rgba(255,255,255,0.9); margin-bottom:2.5rem; max-width:540px; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }
.scroll-indicator { position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); z-index:3; }
.scroll-mouse { width:26px; height:42px; border:2px solid rgba(255,255,255,0.5); border-radius:13px; display:flex; justify-content:center; padding-top:6px; }
.scroll-dot { width:4px; height:8px; background: var(--highlight); border-radius:2px; animation: scrollDot 1.5s ease infinite; }
@keyframes scrollDot { 0% { opacity:1; transform:translateY(0); } 100% { opacity:0; transform:translateY(12px); } }

/* === 9. TRUST BAR === */
.trust-bar { background: var(--card); border-bottom:1px solid var(--border); padding:2.5rem 0; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }
.trust-item { display:flex; align-items:center; gap:1rem; }
.trust-icon { width:48px; height:48px; border-radius: var(--radius); background: rgba(232,184,109,0.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; color: var(--primary); }
.trust-icon svg { width:26px; height:26px; }
.trust-item strong { display:block; font-size:0.92rem; font-weight:700; }
.trust-item span { font-size:0.8rem; color: var(--text-muted); }

/* === 10. SECTION HEADERS === */
.section-header { text-align:center; max-width:640px; margin:0 auto 3rem; }
.section-header-row { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:2.5rem; gap:1rem; }
.section-eyebrow { display:inline-block; font-size:0.78rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color: var(--accent); margin-bottom:0.5rem; }
.section-subtitle { font-size:1.05rem; color: var(--text-muted); line-height:1.7; }

/* === 11. CATEGORY CARDS (image-based) === */
.category-grid-full { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.category-card-full { position:relative; display:block; border-radius: var(--radius); overflow:hidden; aspect-ratio:3/4; box-shadow: var(--shadow-sm); transition: all var(--transition-slow); }
.category-card-full:hover { box-shadow: var(--shadow-lg); transform:translateY(-4px); }
.category-card-image { position:absolute; inset:0; }
.category-card-image img { width:100%; height:100%; object-fit:cover; transition: transform var(--transition-slow); }
.category-card-full:hover .category-card-image img { transform:scale(1.08); }
.category-card-overlay { position:absolute; inset:0; background:linear-gradient(180deg, transparent 30%, rgba(45,24,16,0.8) 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:1.5rem; }
.category-card-overlay h3 { color:#fff; font-size:1.4rem; margin-bottom:0.25rem; }
.category-card-overlay p { color:rgba(255,255,255,0.8); font-size:0.85rem; margin-bottom:0.5rem; }
.category-card-link { color: var(--highlight); font-size:0.8rem; font-weight:600; text-transform:uppercase; letter-spacing:0.05em; }

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

/* === 13. PRODUCT CARDS === */
.product-card { position:relative; background: var(--card); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-xs); transition: all var(--transition); cursor:pointer; }
.product-card:hover { box-shadow: var(--shadow-lg); transform:translateY(-4px); }
.product-image-wrap { position:relative; aspect-ratio:1; overflow:hidden; background: var(--bg-alt); }
.product-image { width:100%; height:100%; object-fit:cover; transition: transform var(--transition-slow); }
.product-card:hover .product-image { transform:scale(1.05); }
.product-badges { position:absolute; top:0.6rem; left:0.6rem; z-index:3; display:flex; flex-direction:column; gap:0.25rem; }
.badge { padding:0.2rem 0.6rem; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; border-radius: var(--radius-sm); color:#fff; }
.badge-sale { background: var(--accent); }
.badge-new { background: var(--success); }
.badge-best { background: var(--highlight-dark); }
.badge-featured { background: var(--primary); }
.product-wishlist { position:absolute; top:0.6rem; right:0.6rem; z-index:3; width:34px; height:34px; border-radius: var(--radius-full); background:rgba(255,255,255,0.9); backdrop-filter:blur(8px); display:flex; align-items:center; justify-content:center; color: var(--text-muted); transition: all 0.2s; opacity:0; }
.product-card:hover .product-wishlist { opacity:1; }
.product-wishlist:hover { background: var(--accent); color:#fff; transform:scale(1.1); }
.product-wishlist.active { background: var(--accent); color:#fff; }
.product-wishlist svg { width:16px; height:16px; }
.product-quick-add {
  position:absolute; bottom:0; left:0; right:0; z-index:3;
  background: var(--primary); color:#fff; padding:0.7rem;
  font-size:0.78rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase;
  text-align:center; transform:translateY(100%); transition: transform var(--transition);
  display:flex; align-items:center; justify-content:center; gap:0.4rem;
}
.product-card:hover .product-quick-add { transform:translateY(0); }
.product-quick-add:hover { background: var(--accent); }
.product-info { padding:0.8rem 0.8rem 1rem; }
.product-brand { font-size:0.72rem; font-weight:600; color: var(--text-light); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:0.15rem; }
.product-title { font-family: var(--font-body); font-size:0.88rem; font-weight:600; line-height:1.4; margin-bottom:0.4rem; color: var(--text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.5em; }
.product-card:hover .product-title { color: var(--accent); }
.product-rating { display:flex; align-items:center; gap:0.25rem; margin-bottom:0.4rem; }
.stars { color: var(--highlight-dark); font-size:0.82rem; letter-spacing:1px; }
.rating-count { font-size:0.72rem; color: var(--text-light); }
.product-price { display:flex; align-items:baseline; gap:0.4rem; }
.price-current { font-size:1.05rem; font-weight:700; color: var(--text); }
.price-original { font-size:0.85rem; color: var(--text-light); text-decoration:line-through; }

/* === 14. SKELETON === */
.skeleton-card { background: var(--card); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-xs); }
.skeleton-img { aspect-ratio:1; background:linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%); background-size:200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-line { height:12px; margin:0.5rem 0.8rem; background:linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%); background-size:200% 100%; animation: shimmer 1.5s infinite; border-radius:4px; }
.skeleton-line.short { width:50%; }
@keyframes shimmer { 0% { background-position:200% 0; } 100% { background-position:-200% 0; } }

/* === 15. PROMO BANNER === */
.promo-banner { position:relative; min-height:440px; display:flex; align-items:center; overflow:hidden; }
.promo-bg { position:absolute; inset:0; }
.promo-bg img { width:100%; height:100%; object-fit:cover; }
.promo-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(45,24,16,0.75) 0%, rgba(200,75,49,0.5) 100%); }
.promo-content { position:relative; z-index:2; width:100%; max-width: var(--max-width); margin:0 auto; padding:3rem 2rem; text-align:center; }
.promo-content h2 { color:#fff; font-size:clamp(2rem,5vw,3rem); margin-bottom:0.5rem; }
.promo-content p { color:rgba(255,255,255,0.9); font-size:1.1rem; margin-bottom:1.5rem; }
.promo-content .section-eyebrow { color: var(--highlight); }

/* === 16. BRAND STORY === */
.brand-story-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
.brand-story-image { position:relative; border-radius: var(--radius); overflow:hidden; aspect-ratio:4/3; box-shadow: var(--shadow-lg); }
.brand-story-image img { width:100%; height:100%; object-fit:cover; transition: transform var(--transition-slow); }
.brand-story-image:hover img { transform:scale(1.05); }
.brand-story-badge { position:absolute; bottom:-20px; right:-20px; width:110px; height:110px; border-radius:50%; background: var(--accent); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow: var(--shadow-lg); }
.brand-story-badge strong { font-size:1.8rem; font-family: var(--font-head); line-height:1; }
.brand-story-badge span { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.05em; margin-top:2px; }
.brand-story-text h2 { font-size:clamp(1.75rem,4vw,2.5rem); margin-bottom:1rem; }
.brand-story-text p { color: var(--text-muted); line-height:1.8; margin-bottom:1rem; }

/* === 17. TESTIMONIALS === */
.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.testimonial-card { background: var(--card); border-radius: var(--radius); padding:1.5rem; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform:translateY(-2px); }
.testimonial-stars { color: var(--highlight-dark); font-size:1rem; letter-spacing:2px; margin-bottom:0.5rem; }
.testimonial-text { font-size:0.9rem; color: var(--text-muted); line-height:1.7; margin-bottom:1rem; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:0.75rem; }
.testimonial-avatar { width:42px; height:42px; border-radius:50%; background: var(--bg-alt); display:flex; align-items:center; justify-content:center; font-weight:700; color: var(--primary); font-size:1.1rem; }
.testimonial-author strong { display:block; font-size:0.88rem; }
.testimonial-author span { font-size:0.78rem; color: var(--text-light); }

/* === 18. NEWSLETTER === */
.newsletter-section { background:linear-gradient(135deg, var(--highlight) 0%, var(--highlight-dark) 100%); padding:4rem 0; position:relative; overflow:hidden; }
.newsletter-section::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 50%); }
.newsletter-inner { position:relative; z-index:2; text-align:center; max-width:560px; margin:0 auto; padding:0 2rem; }
.newsletter-inner h2 { color: var(--text); font-size:clamp(1.75rem,4vw,2.5rem); margin-bottom:0.5rem; }
.newsletter-inner p { color:rgba(45,24,16,0.7); font-size:1.05rem; margin-bottom:1.5rem; }
.newsletter-inner .section-eyebrow { color: var(--primary); }
.newsletter-form { display:flex; gap:0.5rem; max-width:440px; margin:0 auto; }
.newsletter-form input { flex:1; padding:0.8rem 1.2rem; border:2px solid rgba(45,24,16,0.15); border-radius: var(--radius-sm); font-size:0.92rem; background:rgba(255,255,255,0.8); }
.newsletter-form input:focus { outline:none; border-color: var(--primary); background:#fff; }
.newsletter-fine { font-size:0.76rem; color:rgba(45,24,16,0.5); margin-top:0.75rem; }
.newsletter-fine a { color: var(--primary); text-decoration:underline; }

/* === 19. FOOTER === */
.footer { background: var(--bg-dark); color:rgba(250,246,240,0.7); padding-top:3rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(250,246,240,0.1); max-width: var(--max-width); margin:0 auto; padding-left:2rem; padding-right:2rem; }
.footer-brand .logo { color:#fff; margin-bottom:0.75rem; }
.footer-brand p { font-size:0.88rem; line-height:1.7; color:rgba(250,246,240,0.6); max-width:300px; }
.footer-company-info { display:grid; gap:0.28rem; margin-top:1rem; font-style:normal; font-size:0.82rem; line-height:1.5; color:rgba(250,246,240,0.58); max-width:340px; }
.footer-company-info strong { color:rgba(255,255,255,0.9); font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; }
.footer-company-info a { color:rgba(250,246,240,0.68); text-decoration:none; width:max-content; max-width:100%; }
.footer-company-info a:hover { color:var(--highlight); }
.footer-social { display:flex; gap:0.5rem; margin-top:0.75rem; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:rgba(250,246,240,0.6); transition: all 0.2s; }
.footer-social a:hover { background: var(--accent); color:#fff; transform:translateY(-2px); }
.footer-social svg { width:18px; height:18px; }
.footer-col h5 { color:#fff; font-size:0.82rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:0.75rem; }
.footer-col ul li { margin-bottom:0.4rem; }
.footer-col ul li a { font-size:0.86rem; color:rgba(250,246,240,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--highlight); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding:1.25rem 2rem; max-width: var(--max-width); margin:0 auto; flex-wrap:wrap; gap:1rem; }
.footer-copy { font-size:0.8rem; color:rgba(250,246,240,0.5); }
.payment-icons { display:grid; grid-template-columns:repeat(8,52px); align-items:center; gap:0.45rem; }
.payment-icon { width:52px; height:34px; border:1px solid rgba(107,79,63,0.16); border-radius:5px; background:#fff; padding:0; display:block; object-fit:contain; overflow:hidden; box-shadow:0 1px 2px rgba(45,24,16,0.08); }
.payment-icons--checkout { grid-template-columns:repeat(8,58px); gap:0.5rem; margin-bottom:1.25rem; }
.payment-icons--checkout .payment-icon { width:58px; height:38px; }
.payment-icons--footer .payment-icon { border-color:rgba(255,255,255,0.24); box-shadow:none; }

/* === 20. PAGE HEADER === */
.page-header { background: var(--bg-dark); color:#fff; padding:3rem 0 2rem; text-align:center; margin-top:0; }
.page-header h1 { color:#fff; font-size:clamp(1.8rem,4vw,2.5rem); }
.page-header p { color:rgba(255,255,255,0.8); font-size:1rem; margin-top:0.25rem; }
.breadcrumb { display:flex; align-items:center; gap:0.5rem; margin-top:0.75rem; justify-content:center; font-size:0.85rem; }
.breadcrumb a { color: var(--highlight); }
.breadcrumb span { color:rgba(255,255,255,0.5); }

/* === 21. SHOP LAYOUT === */
.shop-layout { display:grid; grid-template-columns:240px 1fr; gap:2rem; padding:2rem 0; }
.shop-sidebar { position:sticky; top:90px; align-self:start; }
.filter-group { background: var(--card); border-radius: var(--radius); padding:1.25rem; margin-bottom:1rem; box-shadow: var(--shadow-xs); }
.filter-group h4 { font-size:0.9rem; margin-bottom:0.75rem; color: var(--primary); }
.filter-options { display:flex; flex-direction:column; gap:0.4rem; }
.filter-option { display:flex; align-items:center; gap:0.5rem; font-size:0.86rem; cursor:pointer; }
.filter-option input { accent-color: var(--accent); }
.filter-option .count { color: var(--text-light); font-size:0.78rem; margin-left:auto; }
.shop-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.5rem; flex-wrap:wrap; gap:0.5rem; }
.shop-count { font-size:0.88rem; color: var(--text-muted); }
.shop-sort select { padding:0.5rem 1rem; border:1px solid var(--border-dark); border-radius: var(--radius-sm); background: var(--card); font-size:0.86rem; cursor:pointer; outline:none; }
.shop-pagination { display:flex; justify-content:center; gap:0.4rem; margin-top:2.5rem; }
.page-btn { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); cursor:pointer; font-size:0.86rem; transition: all 0.2s; }
.page-btn:hover,.page-btn.active { background: var(--accent); color:#fff; border-color: var(--accent); }

/* === 22. PRODUCT DETAIL === */
.product-detail { display:grid; grid-template-columns:1fr 1fr; gap:3rem; padding:2rem 0; }
.product-gallery { display:flex; flex-direction:column; gap:1rem; }
.product-main-image { width:100%; aspect-ratio:1; border-radius: var(--radius); overflow:hidden; background: var(--card); box-shadow: var(--shadow-md); }
.product-main-image img { width:100%; height:100%; object-fit:cover; }
.product-thumbnails { display:flex; gap:0.75rem; }
.product-thumbnail { width:75px; height:75px; border-radius: var(--radius-sm); overflow:hidden; cursor:pointer; border:2px solid transparent; transition: border-color 0.2s; }
.product-thumbnail.active { border-color: var(--accent); }
.product-thumbnail img { width:100%; height:100%; object-fit:cover; }
.product-info h1 { font-size:clamp(1.5rem,3vw,2rem); margin-bottom:0.25rem; }
.product-info-brand { color: var(--text-light); font-size:0.85rem; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:0.5rem; }
.product-info-rating { display:flex; align-items:center; gap:0.5rem; margin-bottom:1rem; }
.product-info-price { display:flex; align-items:baseline; gap:0.75rem; margin-bottom:1rem; }
.product-info-price .price-current { font-size:1.75rem; }
.discount-badge { background: var(--accent); color:#fff; padding:0.2rem 0.6rem; border-radius: var(--radius-sm); font-size:0.75rem; font-weight:700; }
.product-info-description { color: var(--text); line-height:1.8; margin-bottom:1.5rem; }
.variant-group { margin-bottom:1rem; }
.variant-group label { display:block; font-weight:600; margin-bottom:0.4rem; color: var(--primary); font-size:0.85rem; }
.variant-options { display:flex; gap:0.4rem; flex-wrap:wrap; }
.variant-option { padding:0.4rem 1rem; border:2px solid var(--border-dark); border-radius: var(--radius-sm); cursor:pointer; font-size:0.85rem; transition: all 0.2s; background: var(--card); }
.variant-option:hover { border-color: var(--primary); }
.variant-option.active { border-color: var(--accent); background: rgba(200,75,49,0.08); color: var(--accent); }
.product-qty { display:flex; align-items:center; gap:0.75rem; margin-bottom:1.5rem; }
.qty-selector { display:flex; align-items:center; border:2px solid var(--border-dark); border-radius: var(--radius-sm); overflow:hidden; }
.qty-btn { width:38px; height:38px; font-size:1.1rem; font-weight:700; color: var(--primary); transition: background 0.2s; }
.qty-btn:hover { background: var(--bg-alt); }
.qty-input { width:50px; height:38px; text-align:center; border:none; border-left:2px solid var(--border-dark); border-right:2px solid var(--border-dark); font-size:0.95rem; font-weight:600; background: var(--card); outline:none; }
.product-detail-actions { display:flex; gap:0.75rem; margin-bottom:1.5rem; }
.product-meta { border-top:1px solid var(--border); padding-top:1rem; }
.product-meta-item { display:flex; gap:0.5rem; font-size:0.85rem; margin-bottom:0.4rem; }
.product-meta-item strong { color: var(--primary); min-width:90px; }

/* === 23. CART === */
.cart-layout { display:grid; grid-template-columns:1fr 340px; gap:2rem; padding:2.5rem 0 4rem; max-width:1100px; margin:0 auto; }
.cart-items { display:flex; flex-direction:column; gap:0.75rem; }
.cart-item { display:grid; grid-template-columns:90px 1fr auto; gap:1rem; background: var(--card); border-radius: var(--radius); padding:1rem 1.25rem; box-shadow: var(--shadow-xs); align-items:center; transition: box-shadow 0.2s; border:1px solid var(--border); }
.cart-item:hover { box-shadow: var(--shadow-sm); border-color: var(--border-dark); }
.cart-item-image { width:90px; height:90px; border-radius: var(--radius-sm); overflow:hidden; background: var(--bg-alt); flex-shrink:0; }
.cart-item-image img { width:100%; height:100%; object-fit:cover; }
.cart-item-info h4 { font-size:0.92rem; font-weight:600; margin-bottom:0.2rem; color: var(--text); }
.cart-item-info p { font-size:0.78rem; color: var(--text-muted); margin-bottom:0; }
.cart-item-info .qty-selector { display:flex; align-items:center; border:1px solid var(--border-dark); border-radius: var(--radius-sm); overflow:hidden; width:fit-content; margin-top:0.5rem; }
.cart-item-info .qty-btn { width:32px; height:32px; display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:700; color: var(--primary); background: var(--bg); cursor:pointer; border:none; transition: background 0.2s; }
.cart-item-info .qty-btn:hover { background: var(--bg-alt); color: var(--accent); }
.cart-item-info .qty-input { width:42px; height:32px; text-align:center; border:none; border-left:1px solid var(--border-dark); border-right:1px solid var(--border-dark); font-size:0.85rem; font-weight:600; background: var(--card); color: var(--text); outline:none; }
.cart-item-right { text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:0.35rem; justify-content:center; }
.cart-item-price { font-size:1rem; font-weight:700; color: var(--accent); white-space:nowrap; }
.cart-item-remove { background:none; border:none; color: var(--text-light); cursor:pointer; font-size:0.76rem; transition: color 0.2s; padding:2px 6px; }
.cart-item-remove:hover { color: var(--accent); text-decoration:underline; }
.cart-summary { background: var(--card); border-radius: var(--radius); padding:1.5rem; box-shadow: var(--shadow-sm); position:sticky; top:90px; align-self:start; border:1px solid var(--border); }
.cart-summary h3 { font-size:1.1rem; margin-bottom:1rem; color: var(--primary); padding-bottom:0.75rem; border-bottom:2px dashed var(--border-dark); }
.summary-row { display:flex; justify-content:space-between; margin-bottom:0.5rem; font-size:0.88rem; color: var(--text-muted); }
.summary-row.total { border-top:2px solid var(--border); padding-top:0.75rem; margin-top:0.75rem; font-size:1.1rem; font-weight:700; color: var(--primary); }
.cart-empty { grid-column:1 / -1; text-align:center; padding:4rem 2rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-xs); border:1px solid var(--border); }
.cart-empty svg { width:64px; height:64px; color: var(--border-dark); margin:0 auto 1.25rem; }
.cart-empty h2 { font-size:1.4rem; color: var(--primary); margin-bottom:0.4rem; }
.cart-empty p { color: var(--text-muted); margin-bottom:1.5rem; font-size:0.92rem; }

/* === 24. CHECKOUT === */
.checkout-layout { display:grid; grid-template-columns:1fr 360px; gap:2rem; padding:2rem 0; }
.checkout-section { background: var(--card); border-radius: var(--radius); padding:1.5rem; margin-bottom:1rem; box-shadow: var(--shadow-xs); }
.checkout-section h3 { font-size:1.1rem; margin-bottom:1rem; color: var(--primary); display:flex; align-items:center; gap:0.5rem; }
.step-num { width:26px; height:26px; background: var(--accent); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.8rem; }

/* === 25. FORMS === */
.form-group { margin-bottom:0.85rem; }
.form-group label { display:block; font-weight:600; margin-bottom:0.3rem; color: var(--primary); font-size:0.85rem; }
.form-group input,.form-group select,.form-group textarea {
  width:100%; padding:0.7rem 0.9rem; border:2px solid var(--border-dark); border-radius: var(--radius-sm);
  font-size:0.92rem; outline:none; transition: border-color 0.2s; background: var(--card); color: var(--text);
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--accent); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:0.85rem; }
.auth-page { min-height:calc(100vh - 68px); display:flex; align-items:center; justify-content:center; padding:3rem 2rem; }
.auth-card { background: var(--card); border-radius: var(--radius-lg); padding:2.5rem; max-width:440px; width:100%; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size:1.75rem; text-align:center; margin-bottom:0.25rem; color: var(--primary); }
.auth-subtitle { text-align:center; color: var(--text-muted); margin-bottom:1.5rem; font-size:0.92rem; }
.auth-divider { display:flex; align-items:center; gap:0.75rem; margin:1rem 0; color: var(--text-light); font-size:0.82rem; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background: var(--border); }
.auth-footer { text-align:center; margin-top:1rem; font-size:0.88rem; color: var(--text-muted); }

/* === 26. ACCOUNT === */
.account-layout { display:grid; grid-template-columns:220px 1fr; gap:2rem; padding:2rem 0; }
.account-sidebar { background: var(--card); border-radius: var(--radius); padding:1.25rem; box-shadow: var(--shadow-xs); }
.account-sidebar h3 { font-size:1rem; margin-bottom:0.75rem; color: var(--primary); padding-bottom:0.5rem; border-bottom:2px dashed var(--border); }
.account-nav li a { display:flex; align-items:center; gap:0.5rem; padding:0.6rem 0.75rem; border-radius: var(--radius-sm); color: var(--text); font-size:0.86rem; transition: all 0.2s; }
.account-nav a:hover,.account-nav a.active { background: var(--bg-alt); color: var(--accent); }
.account-content { background: var(--card); border-radius: var(--radius); padding:1.5rem; box-shadow: var(--shadow-xs); }
.account-content h2 { font-size:1.35rem; margin-bottom:1rem; color: var(--primary); }
.order-card { border:1px solid var(--border); border-radius: var(--radius-sm); padding:1rem; margin-bottom:0.75rem; }
.order-header { display:flex; justify-content:space-between; margin-bottom:0.5rem; font-size:0.85rem; }
.order-id { font-weight:700; color: var(--primary); }
.order-status { padding:2px 8px; border-radius:10px; font-size:0.72rem; font-weight:600; }
.order-status.delivered { background:#e8f5e9; color:#2e7d32; }
.order-status.shipped { background:#e3f2fd; color:#1565c0; }
.order-status.processing { background:#fff3e0; color:#e65100; }

/* === 27. POLICIES === */
.policies-layout { display:grid; grid-template-columns:240px 1fr; gap:2rem; padding:2rem 0; }
.policies-nav { position:sticky; top:90px; align-self:start; background: var(--card); border-radius: var(--radius); padding:1.25rem; box-shadow: var(--shadow-xs); }
.policies-nav ul a { display:block; padding:0.5rem 0.75rem; border-radius: var(--radius-sm); color: var(--text); font-size:0.86rem; transition: all 0.2s; }
.policies-nav a:hover,.policies-nav a.active { background: var(--bg-alt); color: var(--accent); }
.policy-section { background: var(--card); border-radius: var(--radius); padding:2rem; margin-bottom:1.5rem; box-shadow: var(--shadow-xs); }
.policy-section h2 { font-size:1.5rem; margin-bottom:0.75rem; color: var(--primary); }
.policy-section h3 { font-size:1.05rem; margin:1rem 0 0.4rem; color: var(--primary); }
.policy-section p { margin-bottom:0.75rem; line-height:1.8; color: var(--text); }
.policy-section ul { margin:0 0 0.75rem 1.25rem; line-height:1.8; }
.policy-highlight { background:rgba(200,75,49,0.08); border-left:4px solid var(--accent); padding:1rem 1.25rem; border-radius:0 var(--radius-sm) var(--radius-sm) 0; margin:1rem 0; }

/* === 28. ABOUT/CONTACT === */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; padding:2rem 0; }
.about-image { border-radius: var(--radius); overflow:hidden; aspect-ratio:4/3; box-shadow: var(--shadow-lg); }
.about-image img { width:100%; height:100%; object-fit:cover; }
.about-text h2 { font-size:2rem; margin-bottom:1rem; color: var(--primary); }
.about-text p { margin-bottom:1rem; line-height:1.8; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; padding:2rem 0; }
.contact-info-card { background: var(--card); border-radius: var(--radius); padding:1.5rem; box-shadow: var(--shadow-xs); margin-bottom:1rem; }
.contact-info-card h4 { font-size:1.05rem; margin-bottom:0.4rem; color: var(--primary); }
.contact-info-card p { color: var(--text-muted); }

/* === 29. TOAST === */
.toast-container { position:fixed; bottom:1.5rem; right:1.5rem; z-index:9999; display:flex; flex-direction:column; gap:0.5rem; }
.toast { background: var(--card); border-radius: var(--radius-sm); padding:0.85rem 1.25rem; box-shadow: var(--shadow-lg); display:flex; align-items:center; gap:0.75rem; min-width:280px; animation: slideInRight 0.3s ease; border-left:4px solid var(--accent); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--error); }
@keyframes slideInRight { from { transform:translateX(100%); opacity:0; } to { transform:translateX(0); opacity:1; } }

/* === 30. SCROLL TOP === */
.scroll-top { position:fixed; bottom:1.5rem; left:1.5rem; width:42px; height:42px; background: var(--primary); color:#fff; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition: all var(--transition); z-index:500; box-shadow: var(--shadow-md); }
.scroll-top.visible { opacity:1; visibility:visible; }
.scroll-top:hover { background: var(--accent); transform:translateY(-4px); }

/* === 31. MOBILE MENU === */
.mobile-menu { position:fixed; top:0; right:-100%; width:280px; height:100vh; background: var(--card); box-shadow:-4px 0 20px rgba(0,0,0,0.1); z-index:2000; transition:right 0.3s ease; padding:68px 1.5rem 1.5rem; overflow-y:auto; }
.mobile-menu.open { right:0; }
.mobile-menu-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:1999; opacity:0; visibility:hidden; transition: all var(--transition); }
.mobile-menu-overlay.open { opacity:1; visibility:visible; }
.mobile-menu nav { display:flex; flex-direction:column; gap:0.5rem; }
.mobile-menu nav a { color: var(--text); font-size:1rem; padding:0.75rem 0; border-bottom:1px solid var(--border); }

/* === 32. SCROLL REVEAL === */
.reveal { opacity:0; transform:translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }

/* === 33. RESPONSIVE === */
@media (max-width:1024px) {
  .nav-links { display:none; }
  .mobile-toggle { display:flex; }
  .product-grid { grid-template-columns:repeat(3,1fr); }
  .category-grid-full { grid-template-columns:repeat(2,1fr); }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .testimonial-grid { grid-template-columns:1fr; }
  .brand-story-grid { grid-template-columns:1fr; }
  .section-header-row { flex-direction:column; align-items:flex-start; }
  .shop-layout { grid-template-columns:1fr; }
  .shop-sidebar { position:static; }
  .product-detail { grid-template-columns:1fr; }
  .cart-layout { grid-template-columns:1fr; }
  .checkout-layout { grid-template-columns:1fr; }
  .cart-summary { position:static; }
  .account-layout { grid-template-columns:1fr; }
  .policies-layout { grid-template-columns:1fr; }
  .policies-nav { position:static; margin-bottom:1rem; }
  .about-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .container { padding:0 1rem; }
  .navbar-inner { height:60px; padding:0 1rem; }
  .hero { min-height:70vh; }
  .hero-content { padding:3rem 1rem; }
  .hero h1 { font-size:2rem; }
  .trust-grid { grid-template-columns:1fr; }
  .product-grid { grid-template-columns:repeat(2,1fr); gap:0.75rem; }
  .category-grid-full { grid-template-columns:1fr; }
  .newsletter-form { flex-direction:column; }
  .form-row { grid-template-columns:1fr; }
  .auth-card { padding:1.5rem 1.25rem; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .cart-item { grid-template-columns:70px 1fr; }
  .cart-item-image { width:70px; height:70px; }
}
@media (max-width:480px) {
  .product-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:1.7rem; }
}
@media print {
  .navbar,.footer,.newsletter-section,.scroll-top,.toast-container,.nav-icons,.mobile-toggle { display:none !important; }
  body { background:#fff; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
