
:root {
  --color-cream: #fef3e2;
  --color-amber: #f4ae52;
  --color-rust: #d4621a;
  --color-dark: #2a1a0e;
  --color-card-bg: #ffffff;
  --color-border: #e6dac6;
  --color-muted: #6b5c52;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 6px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-cream);
  border-bottom: 2px solid var(--color-border);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-dark);
}

.brand-logo {
  height: 38px;
  width: auto;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-text span {
  color: var(--color-rust);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-rust);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-dark);
  color: var(--color-cream);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

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

.cart-badge {
  background: var(--color-amber);
  color: var(--color-dark);
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.hero-content {
  max-width: 760px;
}

.badge {
  display: inline-block;
  background: var(--color-amber);
  color: var(--color-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--color-rust);
  color: #ffffff;
}

.btn-primary:hover {
  background: #b54f12;
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.btn-secondary:hover {
  background: var(--color-dark);
  color: var(--color-cream);
}

.full-width {
  width: 100%;
}

/* Section Common */
.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
}

.divider {
  width: 50px;
  height: 4px;
  background: var(--color-amber);
  margin: 0.5rem 0 1rem;
}

/* About Grid */
.about-section {
  padding: 4rem 0;
  background: #fbf0dc;
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--color-card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-rust);
}

.about-card h3 {
  margin-bottom: 0.5rem;
}

/* Products Section */
.products-section {
  padding: 4rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(42, 26, 14, 0.08);
  border-color: var(--color-amber);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f0e6d6;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: 0.25rem;
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* Modal */
.modal {
  margin: auto;
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: var(--color-card-bg);
}

.modal::backdrop {
  background: rgba(42, 26, 14, 0.6);
  backdrop-filter: blur(2px);
}

.modal-box {
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}

.modal-body img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.modal-specs {
  background: var(--color-cream);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.modal-specs ul {
  list-style-position: inside;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Drawer Cart */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--color-card-bg);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 14, 0.5);
  z-index: 150;
  display: none;
}

.backdrop.open {
  display: block;
}

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

.drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cart-item-info h4 {
  font-size: 0.95rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-controls button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  cursor: pointer;
  border-radius: 4px;
}

.drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--color-border);
}

/* Checkout Form */
.checkout-section h4 {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-cream);
  font-family: inherit;
  font-size: 0.9rem;
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--color-rust);
  font-weight: 600;
  margin-top: 0.25rem;
}

.order-confirmation {
  text-align: center;
  padding: 2rem 0;
}

.confirmation-icon {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 0.5rem;
}

.whatsapp-alert {
  background: var(--color-cream);
  border: 1px solid var(--color-amber);
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 2rem 0;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer p {
  color: #c9b9ad;
}
/* Mobile Viewport Adjustments */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling entirely */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Stack the brand and links cleanly */
  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  /* Top bar: Brand title on left, Cart button on right */
  .brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Condense links so they fit on one screen without scrolling */
  .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0;
  }

  .nav-links a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .cart-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Typography scale down for mobile */
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Cart drawer width fix */
  .cart-drawer {
    max-width: 100%;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-dark);
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}