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

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

:root {
  --primary: #2C1A0E;
  --primary-light: #4A2E1A;
  --accent: #C9A55A;
  --accent-light: #F2E8CA;
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-alt: #F3EDE3;
  --text: #1C1C1C;
  --text-muted: #6B5E52;
  --border: #E5DDD5;
  --success: #2D6A4F;
  --shadow-sm: 0 2px 8px rgba(44,26,14,0.08);
  --shadow-md: 0 6px 24px rgba(44,26,14,0.12);
  --shadow-lg: 0 12px 48px rgba(44,26,14,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --ease: all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  line-height: 1.2;
}

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

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon { width: 38px; height: 26px; flex-shrink: 0; }
.logo span { color: var(--accent); }

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: var(--ease);
  white-space: nowrap;
}

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

.header-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--ease);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.cart-btn:hover { background: var(--primary-light); transform: translateY(-1px); }
.cart-btn svg { width: 18px; height: 18px; }

.cart-count {
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--primary);
  border-radius: 6px;
}

.nav-toggle:hover { background: var(--bg-alt); }

/* ===== HERO ===== */
.hero {
  min-height: 620px;
  background: #2C1A0E;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./assets/bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 28px;
  color: white;
}

.hero-inner { max-width: 600px; }

.hero-badge {
  display: inline-block;
  background: rgba(201,165,90,0.2);
  border: 1px solid rgba(201,165,90,0.5);
  color: #F2E8CA;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  color: white;
  margin-bottom: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 38px;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--primary);
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: var(--ease);
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #D9B96A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,165,90,0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.45);
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--ease);
  cursor: pointer;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--primary);
  padding: 18px 28px;
}

.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ===== LAYOUT ===== */
.section { padding: 80px 28px; }
.section-alt { background: var(--bg-alt); }

.container { max-width: 1240px; margin: 0 auto; }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--primary);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 520px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--ease);
}

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

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

.prod-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}

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

.prod-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prod-info { padding: 22px; }

.prod-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.prod-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.prod-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.prod-price {
  font-size: 23px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: var(--ease);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.btn-cart:hover { background: var(--accent); color: var(--primary); }
.btn-cart svg { width: 16px; height: 16px; }

.btn-cart.added {
  background: #2D6A4F !important;
  color: white !important;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--primary);
  color: white;
  padding: 15px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--ease);
}

.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feature-icon {
  width: 58px; height: 58px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary);
}

.feature-icon svg { width: 26px; height: 26px; }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-text { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

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

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

.check-list { list-style: none; margin-bottom: 30px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text);
}

.check-icon {
  width: 22px; height: 22px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}

.check-icon svg { width: 13px; height: 13px; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--primary);
  padding: 48px 28px;
  color: white;
  text-align: center;
}

.page-hero h1 { color: white; font-size: 38px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.68); font-size: 16px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
}

.bc-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
}

.bc-inner a { color: var(--text-muted); text-decoration: none; }
.bc-inner a:hover { color: var(--primary); }
.bc-inner .sep { color: var(--border); }
.bc-inner .current { color: var(--primary); font-weight: 500; }

/* ===== FILTER TABS ===== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--ease);
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover { border-color: var(--primary); color: var(--primary); }

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== CART PAGE ===== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.cart-main h2 {
  font-size: 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.ci-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}

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

.ci-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 4px;
}

.ci-cat { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }

.ci-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
  color: var(--text);
}

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

.qty-num { font-weight: 700; min-width: 22px; text-align: center; font-size: 15px; }

.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.ci-price {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  white-space: nowrap;
}

.remove-btn {
  background: none; border: none;
  cursor: pointer; color: var(--text-muted);
  transition: var(--ease); padding: 4px;
  display: flex; align-items: center;
  font-size: 13px; gap: 4px;
}

.remove-btn:hover { color: #C0392B; }
.remove-btn svg { width: 16px; height: 16px; }

.cart-side {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-sm);
}

.cart-side h3 {
  font-size: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.sum-row.total {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--border);
}

.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 17px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 22px;
  transition: var(--ease);
  font-family: 'Inter', sans-serif;
}

.checkout-btn:hover { background: #D9B96A; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.continue-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--ease);
}

.continue-link:hover { color: var(--primary); }

.notice {
  background: var(--accent-light);
  border: 1px solid rgba(201,165,90,0.5);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 12.5px;
  color: #5C3D1A;
  margin-top: 18px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.6;
}

.notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* ===== EMPTY CART ===== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
}

.empty-state svg { width: 80px; height: 80px; color: var(--border); margin: 0 auto 22px; }
.empty-state h2 { font-size: 26px; color: var(--text-muted); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }

/* ===== ORDER SUCCESS ===== */
.success-wrap {
  max-width: 660px;
  margin: 72px auto;
  text-align: center;
  padding: 0 24px;
}

.success-icon {
  width: 86px; height: 86px;
  background: #D4EDDA;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
}

.success-icon svg { width: 42px; height: 42px; color: #2D6A4F; }
.success-wrap h1 { font-size: 36px; margin-bottom: 14px; }
.success-wrap > p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }

.order-tag {
  display: inline-block;
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 34px;
  font-family: 'Playfair Display', serif;
}

.office-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: left;
  margin-bottom: 28px;
}

.office-card h3 { font-size: 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.office-card h3 svg { width: 22px; height: 22px; color: var(--accent); }

.office-card address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 2;
  font-size: 15px;
}

.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ===== POLICY PAGES ===== */
.policy-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.policy-wrap h2 {
  font-size: 23px;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 10px;
}

.policy-wrap h3 { font-size: 17px; margin-top: 26px; margin-bottom: 10px; }

.policy-wrap p,
.policy-wrap ul,
.policy-wrap ol {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.policy-wrap ul, .policy-wrap ol { padding-left: 26px; }
.policy-wrap li { margin-bottom: 7px; }

.policy-wrap strong { color: var(--text); }

.highlight-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  font-size: 15px;
  color: #5C3D1A;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: white;
  padding: 60px 28px 28px;
}

.footer-inner { max-width: 1240px; margin: 0 auto; }

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

.footer-brand .logo { color: white; margin-bottom: 18px; display: inline-flex; }

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 300px;
}

.footer-addr {
  font-style: normal;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.9;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--ease);
}
.footer-links a:hover { color: white; }

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: white;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 20px;
    z-index: 999;
  }
  .nav-toggle { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 20px; }
  .trust-inner { gap: 20px; }
  .footer-desc { max-width: none; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cart-item { grid-template-columns: 88px 1fr; }
  .ci-right { flex-direction: row; align-items: center; }
  .success-actions { flex-direction: column; }
}
