/* TrendVault Store — Mobile-first e-commerce stylesheet */
/* Aesthetic: Warm off-white, bold amber accent, Syne + Satoshi typography */
/* Built for impulse-buy mobile traffic from Meta/TikTok ads */

:root {
  --bg: #faf8f5;
  --bg2: #f0ede8;
  --text: #1a1410;
  --text2: #5a5248;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  --red: #ef4444;
  --green: #10b981;
  --card-bg: #ffffff;
  --border: #e5e0d8;
  --shadow: 0 2px 20px rgba(26, 20, 16, 0.08);
  --shadow-hover: 0 8px 40px rgba(26, 20, 16, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --nav-h: 64px;
  font-size: 16px;
}

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

body {
  font-family: 'Satoshi', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.cart-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  padding: 8px 12px;
  background: var(--accent-light);
  border-radius: 20px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: all 0.2s;
}
.cart-icon:hover { background: var(--accent); color: white; }

.cart-count {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

@media (min-width: 768px) {
  .nav { padding: 0 40px; }
  .nav-links { display: flex; }
}

/* ── HERO ── */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  background: linear-gradient(180deg, #faf8f5 0%, #f0ede8 100%);
  gap: 40px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-accent {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 420px;
  margin: 16px auto 0;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  margin-top: 32px;
  background: var(--text);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(26, 20, 16, 0.3);
}
.hero-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.hero-visual {
  width: 100%;
  max-width: 360px;
}

.hero-products-float {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.float-card {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 2rem;
  box-shadow: var(--shadow-hover);
  animation: float 3s ease-in-out infinite;
}

.float-card:nth-child(2) { animation-delay: 1s; margin-top: 20px; }
.float-card:nth-child(3) { animation-delay: 2s; }

.float-price {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  background: white;
  padding: 2px 8px;
  border-radius: 10px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 80px 60px;
    gap: 60px;
    justify-content: space-between;
  }
  .hero-inner { max-width: 520px; }
  .hero-sub { margin-left: 0; }
  .float-card { width: 120px; height: 120px; font-size: 2.5rem; }
}

/* ── SOCIAL PROOF ── */
.social-proof {
  background: var(--text);
  padding: 24px 20px;
}

.proof-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.proof-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.proof-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ── PRODUCTS SECTION ── */
.products-section {
  padding: 64px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.section-sub {
  color: var(--text2);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 48px;
  font-size: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-emoji {
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.product-card:hover .product-emoji { transform: scale(1.1); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--text);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.product-tagline {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
  flex: 1;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.product-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.product-original {
  font-size: 0.9rem;
  color: var(--text2);
  text-decoration: line-through;
}

.product-save {
  font-size: 0.75rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 8px;
  border-radius: 10px;
}

.btn-buy {
  display: block;
  width: 100%;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 14px 20px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-buy:hover {
  background: var(--accent-dark);
}

/* ── TRUST SECTION ── */
.trust-section {
  background: var(--bg2);
  padding: 48px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
}

/* ── FEATURED SECTION ── */
.featured-section {
  padding: 64px 20px;
  background: var(--bg);
}

.featured-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.featured-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.featured-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.accent { color: var(--accent); }

.featured-text p {
  color: var(--text2);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 20px;
}

.featured-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.featured-bullets li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.featured-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.big-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}

.big-original {
  font-size: 1.2rem;
  color: var(--text2);
  text-decoration: line-through;
}

.btn-featured {
  display: inline-block;
  background: var(--text);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(26,20,16,0.25);
}
.btn-featured:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.4);
}

.featured-visual {
  border-radius: 24px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-hover);
}

.featured-emoji {
  font-size: 8rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.featured-save-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--red);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 50px;
}

@media (min-width: 768px) {
  .featured-inner { grid-template-columns: 1fr 1fr; }
}

/* ── FOOTER ── */
.footer {
  background: var(--text);
  padding: 48px 20px;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* ── PRODUCT DETAIL PAGE ── */
.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-image {
  border-radius: 24px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-hover);
}

.product-detail-emoji {
  font-size: 9rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.product-detail-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--text);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-detail-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}

.product-detail-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.product-detail-tagline {
  font-size: 1.1rem;
  color: var(--text2);
  line-height: 1.6;
}

.product-detail-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.detail-original {
  font-size: 1.1rem;
  color: var(--text2);
  text-decoration: line-through;
}

.detail-save {
  font-size: 0.85rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-detail-stars {
  font-size: 1rem;
  color: var(--accent);
}

.product-detail-stars span {
  color: var(--text2);
  font-size: 0.875rem;
  margin-left: 4px;
}

.product-detail-desc {
  color: var(--text2);
  line-height: 1.7;
  font-size: 0.95rem;
  padding: 16px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.product-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-benefits li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-detail-buy {
  display: block;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 18px 32px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
  margin-top: 8px;
}

.btn-detail-buy:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.5);
}

.detail-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text2);
  font-weight: 500;
  padding-top: 8px;
}

@media (min-width: 768px) {
  .product-detail { grid-template-columns: 1fr 1fr; }
  .product-detail-image { height: 420px; }
}

/* ── ORDER CONFIRMATION ── */
.confirmation-page {
  min-height: calc(100svh - var(--nav-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.confirmation-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}

.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.confirmation-card h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.confirmation-message {
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 28px;
}

.confirmation-details {
  background: var(--bg2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.confirmation-row span { color: var(--text2); }

.status-paid {
  color: var(--green);
}

.btn-continue {
  display: inline-block;
  background: var(--text);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  margin-bottom: 24px;
}
.btn-continue:hover { background: var(--accent); }

.confirmation-shipping {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.8;
}

.confirmation-shipping a {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ── CART DRAWER ── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
}

.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--card-bg);
  z-index: 201;
  box-shadow: -4px 0 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text2);
  padding: 4px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  text-align: center;
  color: var(--text2);
  padding: 40px 0;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
}

.cart-item-emoji { font-size: 2rem; }

.cart-item-info { flex: 1; }

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text2);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text2);
  cursor: pointer;
  font-size: 1rem;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.cart-total {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-note {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.5;
}
