@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:wght@400;600&display=swap');

:root {
  --brand: #1a1a1a;
  --brand-light: #f5f5f5;
  --accent: #8b7355;
  --black: #000000;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;
  --success: #2e7d32;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 8px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 16px rgba(0,0,0,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--brand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  font-weight: 400;
}

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

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; font-weight: 600; line-height: 1.3; }
h1 { font-size: 3.5rem; letter-spacing: -2px; }
h2 { font-size: 2.5rem; letter-spacing: -1px; }
h3 { font-size: 1.5rem; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}

.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 2rem; padding: 0 2rem;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.4rem; font-weight: 600; letter-spacing: -0.5px;
  color: var(--brand);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; gap: 3rem; list-style: none;
}

.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--gray-600); transition: color 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.cart-btn {
  position: relative;
  background: var(--brand); color: white;
  border: none; border-radius: var(--radius);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.cart-btn:hover { background: var(--gray-800); }

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

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.9rem 2rem;
  border-radius: var(--radius); border: none;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--gray-800); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #6d5344; }

.btn-outline { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover { background: var(--gray-100); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }
.btn-full { width: 100%; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  color: var(--brand); padding: 8rem 2rem 6rem;
  text-align: center; position: relative;
  border-bottom: 1px solid var(--gray-200);
}

.hero-inner { max-width: 900px; margin: 0 auto; position: relative; }

.hero-badge {
  display: inline-block;
  background: var(--gray-100); color: var(--brand);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 0.5rem 1rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.2; margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.1rem; color: var(--gray-600);
  max-width: 600px; margin: 0 auto 3rem; line-height: 1.8;
  font-weight: 300;
}

.hero-cta { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* ── FEATURES STRIP ──────────────────────────────────────── */
.features-strip {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 4rem 2rem;
}
.features-strip-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}
.feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.feature-item .feature-icon { font-size: 2rem; }
.feature-item h4 { font-size: 1rem; font-weight: 600; }
.feature-item p { font-size: 0.9rem; color: var(--gray-600); font-weight: 300; }

/* ── SECTION ─────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1400px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 600; letter-spacing: -0.5px;
  margin-bottom: 1.5rem; color: var(--brand);
}
.section-subtitle { color: var(--gray-600); font-size: 1rem; line-height: 1.8; max-width: 600px; margin: 0 auto; font-weight: 300; }

/* ── CATEGORY FILTER ─────────────────────────────────────── */
.category-filter {
  display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap;
}
.filter-btn {
  background: var(--gray-100); color: var(--gray-600);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--brand); background: var(--brand); color: white;
}

/* ── PRODUCT GRID ────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.product-card-image {
  aspect-ratio: 1; background: var(--gray-100);
  position: relative; overflow: hidden;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-card-image img { transform: scale(1.02); }

.product-card-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 600;
  text-align: center; padding: 2rem;
  line-height: 1.4;
}

.product-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--brand); color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: var(--radius);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-category {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}

.product-card-name {
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.5rem; color: var(--brand);
  font-family: 'Lora', serif;
}

.product-card-desc {
  font-size: 0.85rem; color: var(--gray-600);
  margin-bottom: 1rem; line-height: 1.6; font-weight: 300;
}

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.product-price {
  font-size: 1.25rem; font-weight: 700; color: var(--brand);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--brand); color: white;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2rem;
}

.footer-brand .nav-logo { color: white; }
.footer-brand .nav-logo span { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; opacity: 0.9; }

.footer-col h4 {
  font-size: 0.95rem; font-weight: 600;
  margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.9; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }

.footer-bottom {
  text-align: center; border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem; font-size: 0.85rem; opacity: 0.8;
}

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail-image { position: relative; }
.product-detail-image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.product-detail-info h1 { margin-bottom: 1rem; }
.product-detail-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }
.product-options { margin: 2rem 0; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem; border: 1px solid var(--gray-300);
  border-radius: var(--radius); font-family: inherit; font-size: 0.9rem;
}

/* ── CART ────────────────────────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.cart-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--gray-200); }
.cart-item-image { width: 120px; height: 120px; background: var(--gray-100); border-radius: var(--radius); }
.cart-summary { background: var(--gray-50); padding: 2rem; border-radius: var(--radius); }

/* ── SKELETON ────────────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: load 1.5s infinite; }
@keyframes load { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty-state { text-align: center; padding: 3rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 1rem; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1rem 3rem; }
  .section { padding: 3rem 1rem; }
  .section-inner { padding: 0; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card-body { padding: 1rem; }
  .product-card-name { font-size: 0.95rem; }
  .product-price { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; }
  .nav-inner { height: 60px; }
}
