:root {
  --terracotta: #d4600f;
  --terracotta-dark: #a84a0b;
  --indigo: #0b6e6e;
  --cream: #fdf6e9;
  --cream-dark: #f5e9d3;
  --charcoal: #2e1f1a;
  --gold: #e8a33d;
  --magenta: #a91e4c;
  --magenta-dark: #7f1638;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--magenta-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal);
  transition: color .2s;
}
nav a:hover { color: var(--magenta); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--charcoal); }

@media (max-width: 860px) {
  nav ul {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-bottom: 1px solid var(--cream-dark);
  }
  nav ul.open { max-height: 400px; }
  nav ul li { border-top: 1px solid var(--cream-dark); }
  nav ul li a { display: block; padding: 16px 24px; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  margin-top: 64px;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(30,20,25,.45), rgba(30,20,25,.4)),
              linear-gradient(135deg, var(--magenta-dark), var(--indigo));
  color: #fff;
  padding: 60px 24px;
}
.hero-inner { max-width: 720px; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.1rem;
  color: #f0e6d4;
  margin-bottom: 28px;
}
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  padding: 14px 34px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--terracotta-dark); }
.btn-outline {
  border: 1px solid #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* Section headings */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--magenta);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: #6b5f4f; }

/* Category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.cat-tile {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--indigo);
  color: #fff;
}
.cat-tile .icon { font-size: 2.6rem; position: absolute; top: 24px; left: 24px; opacity: .85; }
.cat-tile .label {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
}
.cat-tile .label h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cat-tile .label span { font-size: 0.85rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.cat-tile.wood { background: linear-gradient(135deg, #8a5a2f, #5c3a1a); }
.cat-tile.metal { background: linear-gradient(135deg, #e8a33d, #a8730f); }
.cat-tile.pottery { background: linear-gradient(135deg, #d4600f, #942f00); }
.cat-tile.textile { background: linear-gradient(135deg, #c92868, #7f1638); }
.cat-tile.decor { background: linear-gradient(135deg, #0b6e6e, #073e3e); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.product-card { background: #fff; border: 1px solid var(--cream-dark); }
.product-thumb {
  aspect-ratio: 1/1;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--terracotta);
}
.product-info { padding: 18px; }
.product-info .p-cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--magenta); margin-bottom: 6px; }
.product-info h4 { font-size: 1.05rem; margin-bottom: 6px; }
.product-info .p-price { font-weight: 700; color: var(--charcoal); }

/* Story section */
.story {
  background: var(--cream-dark);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--terracotta), var(--indigo));
  border-radius: 4px;
}
.story-text .section-eyebrow { text-align: left; }
.story-text h2 { text-align: left; margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.story-text p { color: #5c4f3f; margin-bottom: 16px; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-text h2, .story-text .section-eyebrow { text-align: center; }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--cream-dark);
}
.stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { color: #5c4f3f; margin-bottom: 14px; font-style: italic; }
.testimonial-card .name { font-weight: 700; font-size: 0.9rem; }

/* CTA band */
.cta-band {
  background: var(--indigo);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #d8dde5; margin-bottom: 28px; }

/* Footer */
footer {
  background: var(--charcoal);
  color: #cfc6b8;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #453b2e;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #8f8471;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Page hero (inner pages) */
.page-hero {
  margin-top: 64px;
  padding: 60px 24px;
  text-align: center;
  background: var(--cream-dark);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #6b5f4f; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 999;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; color: #6b5f4f; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cream-dark);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.contact-info-block { background: var(--cream-dark); padding: 32px; }
.contact-info-block h3 { margin-bottom: 18px; }
.contact-info-block .row { margin-bottom: 16px; }
.contact-info-block .row span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--magenta); margin-bottom: 4px; }

/* Cart icon in nav */
.cart-icon-btn { position: relative; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--charcoal); margin-left: 16px; }
.cart-count-badge { position: absolute; top: -6px; right: -10px; background: var(--terracotta); color: #fff; font-size: 0.65rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Cart sidebar */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: none; }
.cart-overlay.open { display: block; }
.cart-sidebar { position: fixed; right: 0; top: 0; bottom: 0; width: 380px; max-width: 100vw; background: #fff; z-index: 2001; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { padding: 24px; border-bottom: 1px solid var(--cream-dark); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-size: 1.2rem; }
.cart-close { background: none; border: none; font-size: 1.4rem; color: var(--charcoal); cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: #aaa; }
.cart-item { display: flex; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--cream-dark); }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.cart-item-price { font-size: 0.85rem; color: var(--terracotta); font-weight: 700; margin-bottom: 6px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn-sm { width: 24px; height: 24px; border: 1px solid var(--terracotta); background: none; color: var(--terracotta); font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.cart-item-remove { background: none; border: none; font-size: 1rem; color: #ccc; cursor: pointer; align-self: flex-start; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--cream-dark); }
.cart-subtotal, .cart-total { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.cart-total { font-weight: 700; font-size: 1rem; }
.checkout-btn { width: 100%; background: var(--terracotta); color: #fff; border: none; padding: 14px; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; cursor: pointer; }
.checkout-btn:hover { background: var(--terracotta-dark); }

/* Checkout modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2100; display: none; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; width: 440px; max-width: 92vw; max-height: 88vh; overflow-y: auto; padding: 32px; }
.modal h3 { font-size: 1.3rem; margin-bottom: 18px; }
.modal-close { float: right; background: none; border: none; font-size: 1.3rem; color: #aaa; cursor: pointer; }
.form-error { color: #c0392b; font-size: 0.8rem; margin-top: 8px; display: none; }
