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

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --text: #1A1A1A;
  --text-muted: #888;
  --text-light: #aaa;
  --accent: #C49B6C;
  --border: #E8E8E8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
input, textarea { font-family: inherit; }

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }

.logo { font-size: 20px; font-weight: 300; letter-spacing: 1px; text-transform: uppercase; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  font-size: 12px; color: var(--text-muted); transition: color 0.2s;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.cart-link { position: relative; }

.cart-count {
  position: absolute; top: -8px; right: -12px;
  background: var(--text); color: var(--bg);
  font-size: 10px; font-weight: 600;
  width: 16px; height: 16px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}

.cart-count.visible { display: flex; }

.hamburger {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; padding: 4px;
}

.hamburger span { width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 48px;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.6);
  color: white;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  font-weight: 400;
}

.btn:hover { background: white; color: var(--text); border-color: white; }

.btn-dark { border-color: var(--text); color: var(--text); }
.btn-dark:hover { background: var(--text); color: white; }

/* SECTIONS */
.section { padding: 100px 48px; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 450px;
  margin: 0 auto;
  font-weight: 300;
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.gallery-grid img:hover { opacity: 0.9; }

/* FEATURED - 2 column */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-grid img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.featured-grid img:hover { opacity: 0.9; }

/* ABOUT SNIPPET */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-section img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

/* FOOTER */
footer {
  padding: 64px 48px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand h3 { font-size: 14px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }

.footer-brand p { color: var(--text-muted); font-size: 13px; max-width: 280px; line-height: 1.6; }

.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; color: var(--text); }

.footer-col a {
  display: block; color: var(--text-muted); font-size: 13px;
  margin-bottom: 10px; transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  text-align: center; padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-light); font-size: 12px;
}

/* PAGE HEADER */
.page-header {
  padding: 160px 48px 80px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 12px;
}

.page-header p { color: var(--text-muted); font-size: 15px; }

/* ABOUT PAGE */
.about-content { max-width: 1100px; margin: 0 auto; padding: 0 48px 80px; }

.about-hero-img { width: 100%; height: 500px; object-fit: cover; margin-bottom: 64px; }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 80px; }

.about-story h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 400; margin-bottom: 20px; }

.about-story p { color: var(--text-muted); line-height: 1.8; font-size: 15px; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-value { font-family: var(--font-serif); font-size: 44px; font-weight: 400; margin-bottom: 8px; }

.stat-label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }

/* CONTACT PAGE */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; max-width: 1100px; margin: 0 auto; padding: 0 48px 80px;
}

.contact-info h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 400; margin-bottom: 20px; }

.contact-info p { color: var(--text-muted); margin-bottom: 40px; line-height: 1.8; font-size: 15px; }

.contact-detail { margin-bottom: 28px; }

.contact-detail h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 6px; }

.contact-detail p { font-size: 15px; color: var(--text); margin-bottom: 0; }

.contact-form .form-group { margin-bottom: 24px; }

.contact-form label {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text); font-size: 15px;
  transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--text);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

/* SHOP PAGE */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

.shop-item { background: var(--bg); }

.shop-item img {
  width: 100%; height: 320px; object-fit: cover;
}

.shop-info { padding: 20px 0; }

.shop-info h3 { font-size: 15px; font-weight: 400; margin-bottom: 4px; }

.shop-info .location { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

.shop-info .price { font-size: 18px; font-weight: 300; margin-bottom: 16px; }

.shop-options { margin-bottom: 16px; }

.shop-options select {
  width: 100%; padding: 12px;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text); font-size: 13px;
}

.shop-options select:focus { outline: none; border-color: var(--text); }

.add-to-cart {
  width: 100%; padding: 14px;
  background: var(--text); color: var(--bg);
  border: none; font-size: 11px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  transition: opacity 0.3s;
}

.add-to-cart:hover { opacity: 0.85; }

/* CART DRAWER */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000; opacity: 0; visibility: hidden;
  transition: all 0.3s;
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: -400px;
  width: 400px; height: 100vh;
  background: var(--bg); z-index: 2001;
  transition: right 0.3s;
  display: flex; flex-direction: column;
}

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

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

.cart-header h3 { font-size: 16px; font-weight: 400; }

.cart-close { font-size: 24px; color: var(--text); }

.cart-items { flex: 1; overflow-y: auto; padding: 24px; }

.cart-item { display: flex; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

.cart-item img { width: 70px; height: 70px; object-fit: cover; }

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

.cart-item-info h4 { font-size: 14px; font-weight: 400; margin-bottom: 4px; }

.cart-item-info .variant { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

.cart-item-info .item-price { font-size: 14px; color: var(--text); }

.cart-item-remove { font-size: 18px; color: var(--text-light); }

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

.cart-total { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 20px; }

.checkout-btn {
  width: 100%; padding: 16px;
  background: var(--text); color: var(--bg);
  border: none; font-size: 11px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
}

.checkout-btn:hover { opacity: 0.85; }

.cart-empty { text-align: center; padding: 64px 24px; color: var(--text-muted); }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; }

.lightbox-close { position: absolute; top: 24px; right: 24px; color: white; font-size: 32px; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: white; font-size: 36px; padding: 20px;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 13px; }

/* CATEGORY FILTER */
.category-filter {
  display: flex; justify-content: center; gap: 24px;
  margin-bottom: 48px; flex-wrap: wrap;
}

.category-filter button {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 8px 0; transition: color 0.2s;
}

.category-filter button:hover, .category-filter button.active { color: var(--text); }

.secure-checkout {
  text-align: center; font-size: 12px; color: var(--text-muted);
  margin-top: 12px; letter-spacing: 0.5px;
}

.checkout-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 4000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}

.checkout-modal.open { opacity: 1; visibility: visible; }

.checkout-modal-content {
  background: var(--bg); width: 480px; max-width: 90vw;
  max-height: 85vh; overflow-y: auto; padding: 32px;
  position: relative;
}

.checkout-modal-close {
  position: absolute; top: 16px; right: 16px;
  font-size: 24px; color: var(--text-light); background: none; border: none;
}

.checkout-modal h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; margin-bottom: 24px; }

.checkout-items { margin-bottom: 20px; }

.checkout-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}

.checkout-item img { width: 50px; height: 50px; object-fit: cover; }

.checkout-item > div { flex: 1; }
.checkout-item > span { font-weight: 500; }

.checkout-total-line {
  display: flex; justify-content: space-between;
  padding: 16px 0; font-size: 18px; border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.checkout-payment h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

.payment-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s; font-size: 14px;
}

.payment-option:hover, .payment-option.selected { border-color: var(--text); }

.payment-option input { display: none; }
.payment-option .payment-icons { display: flex; gap: 4px; align-items: center; }

.place-order-btn {
  width: 100%; padding: 16px; background: var(--text); color: var(--bg);
  border: none; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}

.place-order-btn:hover { opacity: 0.85; }

.checkout-footer-text { text-align: center; font-size: 12px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }

  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg); flex-direction: column;
    padding: 80px 32px; gap: 24px;
    transition: right 0.3s;
    border-left: 1px solid var(--border);
  }

  .nav-links.open { right: 0; }
  .hamburger { display: flex; }

  .hero-content { left: 24px; bottom: 60px; }
  .hero-content h1 { font-size: 32px; }

  .section { padding: 60px 24px; }
  .section-header h2 { font-size: 28px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 250px; }

  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid img { height: 300px; }

  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .about-section img { height: 350px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .page-header { padding: 120px 24px 48px; }
  .page-header h1 { font-size: 28px; }

  .about-content { padding: 0 24px 48px; }
  .about-hero-img { height: 280px; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 24px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 48px; }
  .shop-grid { grid-template-columns: 1fr; padding: 0 24px 48px; }

  .cart-drawer { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 300px; }
}