/* ============================================
   KICKLET - Where Vintage Treasures Meet Today's Trends
   Bright & Bold Crystal Jewelry Theme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* Custom Font — Witched */
@font-face {
  font-family: 'Witched';
  src: url('../../fonts/Witched.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf8f5;
  --bg-white: #ffffff;
  --bg-warm: #f5f0ea;
  --bg-accent: #fff7f0;
  --fuschia: #d4247a;
  --fuschia-light: #f0489e;
  --fuschia-soft: #fce8f1;
  --aqua: #00b4b4;
  --aqua-light: #1dd4d4;
  --aqua-soft: #e0f7f7;
  --gold: #d4a030;
  --gold-light: #f0c850;
  --gold-soft: #fff5dc;
  --purple: #7b4fc4;
  --purple-soft: #f0e8ff;
  --coral: #ff6b5a;
  --coral-soft: #ffe8e5;
  --text-dark: #1a1018;
  --text-body: #3d3540;
  --text-secondary: #7a7080;
  --text-light: #a8a0ad;
  --border: #e8e0dc;
  --border-bold: #d0c4be;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--fuschia); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--fuschia-light); }
img { max-width: 100%; display: block; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg, var(--bg-white));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 3rem; max-width: 1400px; margin: 0 auto;
}
.logo { font-family: 'Witched', var(--font-display); font-size: 2rem; font-weight: normal; color: var(--text-dark); letter-spacing: 0.03em; }
.logo span { color: var(--fuschia); }
.tagline { font-size: 0.6rem; letter-spacing: 0.25em; color: var(--text-light); text-transform: uppercase; display: block; margin-top: -2px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.search-toggle, .cart-toggle {
  background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 1.2rem;
  transition: all var(--transition); width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.search-toggle:hover { background: var(--fuschia-soft); color: var(--fuschia); }
.cart-toggle:hover { background: var(--aqua-soft); color: var(--aqua); }
.cart-toggle { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 2px; background: var(--fuschia); color: var(--btn-text, #fff);
  font-size: 0.55rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-white);
}
.admin-link {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); padding: 0.4rem 1rem; border: 1px solid var(--border);
  border-radius: 50px; transition: all var(--transition);
}
.admin-link:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-soft); }
nav { max-width: 1400px; margin: 0 auto; padding: 0 3rem 0.6rem; display: flex; gap: 2rem; }
nav a {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-secondary);
  padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: all var(--transition); font-weight: 500;
}
nav a:hover, nav a.active { color: var(--fuschia); border-bottom-color: var(--fuschia); }

/* SEARCH OVERLAY */
.search-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(30px);
  z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-container { width: 90%; max-width: 650px; }
.search-container input {
  width: 100%; background: transparent; border: none; border-bottom: 3px solid var(--border);
  padding: 1.2rem 0; font-family: var(--font-display); font-size: 2.2rem; color: var(--text-dark);
  outline: none; font-weight: 500; transition: border-color var(--transition);
}
.search-container input:focus { border-bottom-color: var(--fuschia); }
.search-container input::placeholder { color: var(--text-light); }
.search-close {
  position: absolute; top: 2rem; right: 3rem; background: var(--bg-warm); border: none;
  color: var(--text-secondary); width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; transition: all var(--transition);
}
.search-close:hover { background: var(--fuschia-soft); color: var(--fuschia); }
.search-results { margin-top: 2rem; max-height: 50vh; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 1.2rem; padding: 1rem; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition);
}
.search-result-item:hover { background: var(--bg-warm); }
.search-result-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.search-result-item h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--text-dark); }
.search-result-item p { color: var(--fuschia); font-size: 0.85rem; font-weight: 600; }

/* HERO */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--bg-white); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: blobFloat 12s ease-in-out infinite alternate; }
.hero-blob-1 { width: 500px; height: 500px; background: var(--fuschia-soft); top: -100px; right: -50px; }
.hero-blob-2 { width: 400px; height: 400px; background: var(--aqua-soft); bottom: -100px; left: 10%; animation-delay: -4s; }
.hero-blob-3 { width: 350px; height: 350px; background: var(--gold-soft); top: 50%; right: 30%; animation-delay: -8s; }
@keyframes blobFloat {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.95); }
  100% { transform: translate(10px,-10px) scale(1.02); }
}
.hero-content {
  position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 4rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; width: 100%;
}
.hero-text h1 { font-family: var(--font-display); font-size: 3.8rem; font-weight: 700; line-height: 1.1; color: var(--text-dark); margin-bottom: 1rem; }
.hero-text h1 em { font-style: italic; background: linear-gradient(135deg, var(--fuschia), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text .hero-sub { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 420px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-features { display: flex; gap: 2rem; margin-top: 2.5rem; }
.hero-feature { display: flex; align-items: center; gap: 0.6rem; }
.hero-feature-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.hero-feature-icon.pink { background: var(--fuschia-soft); }
.hero-feature-icon.blue { background: var(--aqua-soft); }
.hero-feature-icon.gold { background: var(--gold-soft); }
.hero-feature span { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 420px; align-items: start; }
.hero-image-grid .hi {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--bg-warm);
}
.hero-image-grid .hi:nth-child(2) { margin-top: 2rem; }
.hero-image-grid .hi:nth-child(3) { margin-top: -2rem; }
.hero-image-grid .hi img { width: 100%; height: auto; display: block; }
.hero-image-grid .hi:not(:has(img)) { aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; font-size: 3rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; border: 2px solid transparent; border-radius: 50px; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--fuschia); color: var(--btn-text, #fff); border-color: var(--fuschia); }
.btn-primary:hover { background: var(--fuschia-light); border-color: var(--fuschia-light); color: var(--btn-text, #fff); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,36,122,0.3); }
.btn-outline { background: transparent; color: var(--btn-outline-text, var(--text-dark)); border-color: var(--border-bold); }
.btn-outline:hover { border-color: var(--text-dark); background: var(--text-dark); color: var(--btn-text, #fff); transform: translateY(-2px); }
.btn-small { padding: 0.5rem 1.2rem; font-size: 0.7rem; }
.btn-gold { background: var(--gold); color: var(--btn-text, #fff); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--btn-text, #fff); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,160,48,0.3); }

/* SECTIONS */
.section { position: relative; max-width: 1400px; margin: 0 auto; padding: 4rem 3rem; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header .section-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fuschia); background: var(--fuschia-soft);
  padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 0.8rem;
}
.section-header h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--text-dark); }
.section-header p { color: var(--text-secondary); font-size: 0.95rem; margin-top: 0.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* CATEGORY PILLS */
.category-strip { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-pill {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: 50px;
  border: 2px solid var(--border); background: var(--bg-white); cursor: pointer;
  transition: all var(--transition); font-size: 0.78rem; font-weight: 600;
  color: var(--text-secondary); font-family: var(--font-body);
}
.cat-pill .cat-icon { font-size: 1rem; }
.cat-pill:hover, .cat-pill.active { border-color: var(--fuschia); color: var(--fuschia); background: var(--fuschia-soft); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212,36,122,0.1); }

/* PRODUCT GRID */
.filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.result-count { font-size: 0.85rem; color: var(--text-secondary); }
.result-count strong { color: var(--text-dark); }
.sort-select { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; color: var(--text-body); padding: 0.5rem 1rem; font-size: 0.8rem; font-family: var(--font-body); cursor: pointer; outline: none; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: all var(--transition); border: 1px solid var(--border); position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .badge {
  position: absolute; top: 1rem; left: 1rem; background: var(--fuschia); color: var(--btn-text, #fff);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 50px; z-index: 2;
}
.product-card .badge.sold-out { background: var(--text-light); }
.product-card .img-wrap { position: relative; padding-top: 110%; overflow: hidden; background: var(--bg-warm); }
.product-card .img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .quick-actions {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem; display: flex; gap: 0.5rem;
  transform: translateY(calc(100% + 2rem)); transition: transform var(--transition);
}
.product-card:hover .quick-actions { transform: translateY(0); }
.product-card .quick-actions button {
  flex: 1; padding: 0.7rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border: none; border-radius: 10px; font-family: var(--font-body); font-size: 0.7rem;
  font-weight: 600; cursor: pointer; transition: all var(--transition); color: var(--text-dark);
}
.product-card .quick-actions button.add-cart-btn { background: var(--fuschia); color: var(--btn-text, #fff); flex: 2; }
.product-card .quick-actions button.add-cart-btn:hover { background: var(--fuschia-light); }
.product-info { padding: 1.2rem 1.3rem; }
.product-info .category-tag { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; color: var(--aqua); }
.product-info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin: 0.3rem 0; line-height: 1.3; }
.product-info .product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.product-info .price { color: var(--fuschia); font-size: 1.05rem; font-weight: 700; }
.product-info .rating { font-size: 0.75rem; color: var(--gold); }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(26,16,24,0.5); backdrop-filter: blur(10px);
  z-index: 300; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-white); border-radius: var(--radius-lg); width: 90%; max-width: 880px;
  max-height: 85vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg); position: relative;
}
.modal-image { position: relative; background: var(--bg-warm); border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; min-height: 400px; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; position:absolute;inset:0; }
.modal-image .img-carousel { position:absolute;inset:0; }
.modal-image .placeholder-img { position:absolute;inset:0; }
.modal-body { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: var(--bg-white); border: none;
  color: var(--text-secondary); width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem;
  cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.modal-close:hover { background: var(--fuschia-soft); color: var(--fuschia); }
.modal-body .modal-tag { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--aqua); background: var(--aqua-soft); padding: 0.3rem 0.8rem; border-radius: 50px; width: fit-content; }
.modal-body h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.modal-body .modal-price { font-size: 1.6rem; color: var(--fuschia); font-weight: 700; }
.modal-body .modal-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }
.modal-details { background: var(--bg); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.detail-row { display: flex; justify-content: space-between; font-size: 0.8rem; }
.detail-row .label { color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 0.7rem; }
.detail-row .value { font-weight: 500; color: var(--text-dark); }
.modal-actions { display: flex; gap: 0.8rem; margin-top: auto; }
.modal-actions .btn { flex: 1; text-align: center; justify-content: center; }

/* CART SIDEBAR */
.cart-backdrop { position: fixed; inset: 0; background: rgba(26,16,24,0.4); z-index: 399; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.cart-backdrop.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; width: 420px; max-width: 92vw; height: 100vh;
  background: var(--bg-white); border-left: 1px solid var(--border); z-index: 400;
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); box-shadow: -20px 0 60px rgba(0,0,0,0.1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header { padding: 1.5rem 1.8rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text-dark); }
.cart-close { background: var(--bg); border: none; color: var(--text-secondary); width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; transition: all var(--transition); }
.cart-close:hover { background: var(--fuschia-soft); color: var(--fuschia); }
.cart-items { flex: 1; overflow-y: auto; padding: 0.5rem 1.8rem; }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }
.cart-item-info .cart-item-price { color: var(--fuschia); font-size: 0.85rem; font-weight: 600; margin-top: 0.15rem; }
.cart-item-remove { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 1rem; transition: color var(--transition); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cart-item-remove:hover { background: var(--coral-soft); color: var(--coral); }
.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.cart-empty p { color: var(--text-light); font-size: 0.95rem; }
.cart-footer { padding: 1.5rem 1.8rem; border-top: 1px solid var(--border); background: var(--bg); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total .total-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; }
.cart-total .total-price { font-size: 1.4rem; color: var(--fuschia); font-weight: 700; }
.cart-footer .btn { width: 100%; }

/* STORY SECTION */
.story-section { background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.story-visual { background: linear-gradient(135deg, var(--fuschia-soft), var(--aqua-soft), var(--gold-soft)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.story-visual .sparkle { position: absolute; width: 6px; height: 6px; background: var(--fuschia); border-radius: 50%; animation: sparkle 3s ease-in-out infinite; }
.story-visual .sparkle:nth-child(1) { top: 20%; left: 30%; background: var(--fuschia); }
.story-visual .sparkle:nth-child(2) { top: 40%; left: 60%; animation-delay: 0.5s; background: var(--aqua); }
.story-visual .sparkle:nth-child(3) { top: 65%; left: 25%; animation-delay: 1s; background: var(--gold); }
.story-visual .sparkle:nth-child(4) { top: 30%; left: 80%; animation-delay: 1.5s; background: var(--purple); }
.story-visual .sparkle:nth-child(5) { top: 75%; left: 65%; animation-delay: 2s; background: var(--coral); }
@keyframes sparkle { 0%, 100% { opacity: 0.2; transform: scale(1); } 50% { opacity: 1; transform: scale(2.5); } }
.story-visual .big-crystal { font-size: 6rem; z-index: 1; animation: crystalPulse 4s ease-in-out infinite; }
@keyframes crystalPulse { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.1) rotate(5deg); } }
.story-text { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.story-text h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.story-text p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.8rem; }
.story-text .etsy-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-weight: 600; color: var(--fuschia); }

/* FOOTER */
.site-footer { background: var(--bg-white); border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 3rem 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo { font-size: 1.5rem; margin-bottom: 0.6rem; display: block; }
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.8rem; font-weight: 700; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.85rem; padding: 0.25rem 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--fuschia); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-light); }

/* TOAST */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; background: var(--bg-white); border: 2px solid var(--aqua);
  border-radius: var(--radius); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.8rem;
  z-index: 500; transform: translateY(150%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-md); font-size: 0.85rem; font-weight: 500; color: var(--text-dark);
}
.toast.show { transform: translateY(0); }

/* ADMIN STYLES */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--bg-white); border-right: 1px solid var(--border); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.admin-sidebar .admin-logo { font-family: 'Witched', var(--font-display); font-size: 1.4rem; font-weight: normal; color: var(--text-dark); padding: 0.5rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; letter-spacing: 0.03em; }
.admin-sidebar .admin-logo span { color: var(--fuschia); }
.admin-nav-item {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1rem; border-radius: 10px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: all var(--transition);
  cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-family: var(--font-body);
}
.admin-nav-item:hover { background: var(--bg); color: var(--text-dark); }
.admin-nav-item.active { background: var(--fuschia-soft); color: var(--fuschia); font-weight: 600; }
.admin-nav-item .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.admin-main { background: var(--bg); padding: 2rem 2.5rem; overflow-y: auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-header h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; display: flex; align-items: center; gap: 1rem; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-icon.pink { background: var(--fuschia-soft); }
.stat-icon.blue { background: var(--aqua-soft); }
.stat-icon.gold { background: var(--gold-soft); }
.stat-icon.purple { background: var(--purple-soft); }
.stat-info .stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.stat-info .stat-label { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }
.admin-table-wrap { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--bg); padding: 0.8rem 1.2rem; text-align: left; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 0.8rem 1.2rem; font-size: 0.85rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-accent); }
.admin-table .thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.admin-table .status { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 50px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.status.active { background: var(--aqua-soft); color: var(--aqua); }
.status.sold { background: var(--fuschia-soft); color: var(--fuschia); }
.status.draft { background: var(--bg); color: var(--text-light); }
.table-actions { display: flex; gap: 0.4rem; }
.table-actions button { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; color: var(--text-secondary); transition: all var(--transition); }
.table-actions button:hover { border-color: var(--fuschia); color: var(--fuschia); background: var(--fuschia-soft); }
.table-actions button.delete:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-soft); }
.admin-form { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.7rem 1rem;
  font-size: 0.85rem; font-family: var(--font-body); color: var(--text-dark); outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--fuschia); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: flex-end; }
.image-upload { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; cursor: pointer; transition: all var(--transition); background: var(--bg); }
.image-upload:hover { border-color: var(--fuschia); background: var(--fuschia-soft); }
.image-upload .upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.image-upload p { font-size: 0.85rem; color: var(--text-secondary); }
.image-upload small { font-size: 0.7rem; color: var(--text-light); }
.back-to-store { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--text-secondary); font-size: 0.8rem; margin-bottom: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); width: 100%; }

/* RESPONSIVE - TABLET */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-features { justify-content: center; flex-wrap: wrap; }
  .hero-visual { display: none; }
  .modal { grid-template-columns: 1fr; }
  .modal-image { min-height: 260px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-body { padding: 1.8rem; }
  .story-section { grid-template-columns: 1fr; }
  .story-visual { min-height: 220px; }
  .story-text { padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .featured-banner { flex-direction: column; text-align: center; }
  .featured-banner .btn { margin-left: 0; }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 600px) {
  .header-top { padding: 0.6rem 1rem; }
  .logo { font-size: 1.5rem; }
  .tagline { font-size: 0.5rem; letter-spacing: 0.15em; }
  .header-actions { gap: 0.5rem; }
  .search-toggle, .cart-toggle { width: 36px; height: 36px; font-size: 1rem; }
  .admin-link { font-size: 0.6rem; padding: 0.3rem 0.7rem; }

  nav { padding: 0 1rem 0.5rem; gap: 0.8rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; white-space: nowrap; }
  nav::-webkit-scrollbar { display: none; }
  nav a { font-size: 0.65rem; flex-shrink: 0; }

  .hero { min-height: 400px; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text .hero-sub { font-size: 0.85rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 0.6rem; }
  .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
  .hero-features { gap: 1rem; }
  .hero-feature span { font-size: 0.65rem; }
  .hero-feature-icon { width: 30px; height: 30px; font-size: 0.85rem; }
  .hero-content { padding: 2.5rem 1.2rem; }

  .section { padding: 2.5rem 1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .section-header p { font-size: 0.85rem; }

  .category-strip { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0.6rem; }
  .category-strip::-webkit-scrollbar { display: none; }
  .cat-pill { flex-shrink: 0; font-size: 0.7rem; padding: 0.5rem 1rem; }

  .filter-bar { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .sort-select { width: 100%; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .product-info { padding: 0.7rem 0.8rem; }
  .product-info h3 { font-size: 0.85rem; }
  .product-info .category-tag { font-size: 0.5rem; }
  .product-info .price { font-size: 0.9rem; }
  .product-info .rating { font-size: 0.65rem; }
  .product-card .badge { font-size: 0.5rem; padding: 0.2rem 0.6rem; top: 0.6rem; left: 0.6rem; }
  .product-card .quick-actions { transform: translateY(0); }
  .product-card .quick-actions button { padding: 0.5rem; font-size: 0.6rem; }

  .modal { width: 95%; max-height: 90vh; border-radius: var(--radius); }
  .modal-image { min-height: 220px; }
  .modal-body { padding: 1.2rem; gap: 0.8rem; }
  .modal-body h2 { font-size: 1.3rem; }
  .modal-body .modal-price { font-size: 1.2rem; }
  .modal-body .modal-desc { font-size: 0.8rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .modal-close { width: 34px; height: 34px; font-size: 1rem; top: 0.6rem; right: 0.6rem; }

  .cart-sidebar { width: 100%; max-width: 100vw; }
  .cart-header { padding: 1rem 1.2rem; }
  .cart-items { padding: 0.5rem 1.2rem; }
  .cart-footer { padding: 1rem 1.2rem; }
  .cart-item img { width: 50px; height: 50px; }
  .cart-item-info h4 { font-size: 0.85rem; }

  .search-container input { font-size: 1.4rem; padding: 0.8rem 0; }
  .search-close { top: 1rem; right: 1rem; width: 38px; height: 38px; }
  .search-overlay { padding-top: 8vh; }

  .featured-banner { padding: 1.5rem; gap: 1rem; }
  .featured-banner .fb-text h3 { font-size: 1.1rem; }

  .story-text { padding: 1.5rem; }
  .story-text h2 { font-size: 1.5rem; }
  .story-visual .big-crystal { font-size: 4rem; }

  .footer-inner { padding: 2rem 1.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }

  .toast { right: 1rem; left: 1rem; bottom: 1rem; }

  /* Content pages */
  .page-content { padding: 2rem 1.2rem; }
  .page-content h2 { font-size: 1.3rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero { padding: 2rem 1rem; }

  /* Admin on mobile */
  .admin-main { padding: 1rem; }
  .admin-header { flex-direction: column; gap: 0.8rem; align-items: flex-start; }
  .admin-header h1 { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-table-wrap { overflow-x: auto; }
  .form-grid { grid-template-columns: 1fr; }
}

/* VERY SMALL SCREENS */
@media (max-width: 380px) {
  .hero-text h1 { font-size: 1.6rem; }
  .product-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.5rem; }
  .logo { font-size: 1.3rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* TOUCH DEVICES */
@media (hover: none) {
  .product-card .quick-actions { transform: translateY(0); }
  .product-card:hover { transform: none; box-shadow: none; }
}

/* CHECKOUT MOBILE */
@media (max-width: 800px) {
  .checkout-layout { grid-template-columns: 1fr !important; padding: 1.2rem !important; gap: 1.5rem !important; }
  .checkout-header { padding: 1rem 1.2rem 0 !important; }
  .order-summary { position: static !important; }
  .pay-tabs { flex-wrap: wrap; }
  .pay-tab { flex: 1 1 45%; min-width: 0; padding: 0.8rem 0.5rem; }
  .pay-tab .pay-icon { font-size: 1.2rem; }
  .pay-tab .pay-label { font-size: 0.65rem; }
  .checkout-form .form-row { grid-template-columns: 1fr !important; }
  .checkout-steps .step { padding: 0.2rem 0.5rem; font-size: 0.6rem; }
  .checkout-steps .sep { font-size: 0.6rem; }
}

.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-bold); border-radius: 3px; }
