@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --ivory: #FFFFFF;
  --sand: #FAF8F5;
  --cream: #F5E8E0;
  --blush: #F0E6DF;
  --rose: #C9A99A;
  --gold: #B8977E;
  --text: #2C2C2C;
  --muted: #6B6B6B;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans: 'Jost', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--ff-sans);
  background: var(--sand);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--ff-serif);
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), border-bottom var(--transition);
}

.site-header.scrolled {
  background: var(--ivory);
  border-bottom: 1px solid var(--blush);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 72px;
}

.logo {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

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

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 65%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 40%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 40vh;
}

.hero-brand {
  font-family: var(--ff-serif);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
}

.hero-tagline {
  font-style: italic;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.2em;
  color: var(--text);
  opacity: 0.9;
  margin-top: 12px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scroll-bounce 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text));
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--text);
  color: var(--ivory);
  border: none;
  padding: 16px 40px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-primary:hover {
  background: var(--rose);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 16px 40px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--ivory);
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 96px 48px;
}

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

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--text);
  margin: 0;
}

/* ── Product Card ──────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  cursor: pointer;
  position: relative;
  background: var(--ivory);
  border-radius: 2px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--rose);
  color: white;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}

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

.product-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.product-name {
  font-size: 20px;
  margin-bottom: 12px;
  flex: 1;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--ff-sans);
}

.product-original-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 13px;
}

.product-card-actions {
  padding: 0 24px 20px;
  display: flex;
  gap: 12px;
}

.btn-cart {
  flex: 1;
  background: var(--text);
  color: var(--ivory);
  border: none;
  padding: 12px;
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-cart:hover {
  background: var(--rose);
}

/* ── About Strip ───────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--sand);
}

.about-strip-img {
  aspect-ratio: 4/5;
  overflow: hidden;
}

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

.about-strip-content {
  padding: 80px;
}

.about-strip-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

.about-strip-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
}

.about-strip-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 32px;
}

/* ── Categories Strip ──────────────────────────────────────── */
.categories-strip {
  padding: 0 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cat-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.cat-card:hover .cat-card-img {
  transform: scale(1.08);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,0.5) 0%, transparent 60%);
}

.cat-card-label {
  position: absolute;
  bottom: 28px;
  left: 28px;
  font-family: var(--ff-serif);
  font-size: 28px;
  color: white;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Quote Section ─────────────────────────────────────────── */
.quote-section {
  background: var(--cream);
  padding: 96px 48px;
  text-align: center;
}

.quote-text {
  font-family: var(--ff-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.quote-author {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--blush);
  padding: 64px 48px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text);
  text-transform: uppercase;
}

.footer-tagline {
  font-style: italic;
  font-family: var(--ff-serif);
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.footer-nav-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-nav-link {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--blush);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ── Cart Sidebar ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  background: var(--ivory);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

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

.cart-title {
  font-family: var(--ff-serif);
  font-size: 22px;
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  transition: color var(--transition);
}

.close-cart:hover {
  color: var(--text);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--blush);
}

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

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--text);
}

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

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.qty-btn {
  background: none;
  border: 1px solid var(--blush);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
}

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

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

.cart-total-label {
  font-family: var(--ff-serif);
}

.btn-checkout {
  width: 100%;
}

.empty-cart-msg {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
}

/* ── Form Inputs ───────────────────────────────────────────── */
.form-field {
  position: relative;
  margin-bottom: 32px;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--blush);
  background: transparent;
  padding: 12px 0;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-bottom-color: var(--text);
}

.form-label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.25s;
  pointer-events: none;
}

.form-field.focused .form-label, 
.form-field.filled .form-label,
.form-field input:focus ~ .form-label,
.form-field input:not(:placeholder-shown) ~ .form-label,
.form-field textarea:focus ~ .form-label,
.form-field textarea:not(:placeholder-shown) ~ .form-label {
  top: -14px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--text);
  color: var(--ivory);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Filters Sidebar (Catalog) */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 120px 48px 96px;
}

.filters-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-group {
  margin-bottom: 32px;
}

.filter-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 500;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
}

.filter-option input[type="radio"] {
  accent-color: var(--rose);
  width: 16px;
  height: 16px;
}

.price-slider-wrap {
  padding: 0 8px;
}

.price-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.price-display {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.filter-apply-btn {
  width: 100%;
  background: var(--text);
  color: var(--ivory);
  border: none;
  padding: 14px;
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 16px;
  transition: background var(--transition);
}

.filter-apply-btn:hover {
  background: var(--rose);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
/* Site Preloader */
#site-preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--charcoal);
  color: var(--ivory);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.preloader-brand {
  font-family: var(--ff-serif);
  font-size: 32px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--ivory);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    padding-top: 96px;
  }
  .filters-sidebar {
    position: static;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .section { padding: 64px 20px; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip-content { padding: 40px 20px; }
  .categories-strip { padding: 0 20px 64px; grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--ivory);
    flex-direction: column;
    padding: 32px;
    border-bottom: 1px solid var(--blush);
  }
  
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  
  .cart-panel { width: 100vw; }
}