:root {
  --bg-cream: #FAF6F2;
  --bg-card: #FFFFFF;
  --bg-sand: #EFE7DD;
  --espresso: #241715;
  --espresso-light: #3D2926;
  --taupe: #6E5D58;
  --terracotta: #9E6B55;
  --border: #E3D8CE;
  --wa-green: #1E7E48;
  --wa-hover: #176338;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-cream);
  color: var(--espresso);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3, blockquote, .brand-logo, .footer-brand {
  font-family: 'Cormorant Garamond', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Top Bar */
.top-bar {
  background-color: var(--espresso);
  color: var(--bg-cream);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  font-weight: 500;
}

/* Header */
header {
  background: rgba(250, 246, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-logo {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--espresso);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--taupe);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--espresso);
  border-bottom-color: var(--espresso);
  font-weight: 600;
}

.cart-btn {
  background: var(--espresso);
  border: 1px solid var(--espresso);
  color: var(--bg-cream);
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.cart-btn:hover {
  background: var(--espresso-light);
}

/* Editorial Hero */
.hero {
  text-align: center;
  padding: 5.5rem 1.5rem 5rem;
  background-color: var(--bg-sand);
  border-bottom: 1px solid var(--border);
}

.hero-kicker {
  display: inline-block;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.3rem;
  font-weight: 600;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 1.2rem;
  color: var(--espresso);
}

.hero p {
  max-width: 580px;
  margin: 0 auto 2.4rem;
  color: var(--taupe);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-espresso {
  display: inline-block;
  background: var(--espresso);
  color: var(--bg-cream);
  border: 1px solid var(--espresso);
  padding: 0.95rem 2.1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-espresso:hover {
  background: var(--espresso-light);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
  padding: 0.95rem 2.1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(36, 23, 21, 0.06);
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-wa:hover {
  background: var(--wa-hover);
}

.full-width {
  width: 100%;
}

/* Main Container */
.container {
  width: 100%;
  max-width: 840px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.section-header p {
  color: var(--taupe);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.catalog-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--terracotta);
  font-weight: 600;
}

/* Catalog List */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.catalog-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.catalog-item:hover {
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

.item-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 0.2rem;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--taupe);
  margin-bottom: 0.4rem;
}

.item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--terracotta);
}

.btn-add {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  color: var(--espresso);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-add:hover {
  background: var(--espresso);
  color: var(--bg-cream);
  border-color: var(--espresso);
}

/* Brand Manifesto Box */
.manifesto-box {
  background: var(--bg-sand);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3.2rem 2.5rem;
  margin-top: 4.5rem;
  text-align: center;
}

.manifesto-box blockquote {
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--espresso);
  max-width: 650px;
  margin: 0 auto 1rem;
}

.manifesto-box cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--taupe);
  line-height: 1.55;
}

/* Custom Order Section */
.custom-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.8rem 2.5rem;
  margin-top: 4rem;
}

.custom-header {
  margin-bottom: 1.8rem;
}

.custom-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.3rem;
}

.custom-header p {
  color: var(--taupe);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  color: var(--espresso);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--espresso);
}

/* Slide-Out Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 23, 21, 0.55);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 410px;
  height: 100vh;
  background: var(--bg-cream);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.6rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--taupe);
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.remove-btn {
  background: none;
  border: none;
  color: #B91C1C;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-sand);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

/* Footer */
footer {
  background: var(--espresso);
  color: var(--bg-cream);
  text-align: center;
  padding: 3.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--bg-sand);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  color: var(--taupe);
}

@media (max-width: 650px) {
  header { padding: 1rem 1.2rem; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 0.75rem; }
  .hero h1 { font-size: 2.3rem; }
  .form-grid { grid-template-columns: 1fr; }
  .manifesto-box, .custom-section { padding: 2rem 1.4rem; }
}
/* Checkout Page Layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.order-summary-box {
  background: var(--bg-sand);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: sticky;
  top: 6rem;
}

.order-summary-box h3 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(227, 216, 206, 0.6);
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 1.2rem;
}

.secure-note {
  font-size: 0.8rem;
  color: var(--taupe);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .order-summary-box {
    position: static;
  }
}