
:root {
  --cream: #f8f4ed;
  --paper: #fffdf9;
  --brown: #745039;
  --dark: #34251d;
  --muted: #89796d;
  --line: #e8dfd3;
  --gold: #b99a70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--dark);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.announcement {
  background: var(--dark);
  color: #f8f0e5;
  text-align: center;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 1.3px;
}
.header {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 6%;
  background: var(--paper);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 45px;
  height: 45px;
  border: 1px solid var(--gold);
  color: var(--brown);
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 21px;
}
.brand strong, .brand small { display: block; line-height: 1.6; }
.brand strong { font-family: Georgia, serif; font-size: 15px; letter-spacing: 1.1px; }
.brand small { font-size: 9px; color: var(--muted); letter-spacing: 3px; }

.search {
  margin-left: auto;
  width: min(360px, 38%);
  display: flex;
  border: 1px solid var(--line);
  background: white;
}
.search input { width: 100%; min-width: 0; padding: 11px 13px; border: 0; outline: none; background: transparent; font-size: 12px; }
.search button { border: 0; background: transparent; color: var(--brown); padding: 0 14px; font-size: 24px; }
.header-actions { display: flex; gap: 12px; }
.icon-button { position: relative; border: 0; background: transparent; color: var(--brown); font-size: 23px; padding: 5px; }
.count { font-size: 10px; vertical-align: top; }
.navigation {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 65px);
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nav-link { font-size: 12px; color: #716256; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--brown); }
.nav-link.active { font-weight: bold; }

.hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3%;
  padding: 45px 6%;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; padding: 30px 0; }
.eyebrow { color: var(--brown); font-size: 10px; font-weight: bold; letter-spacing: 2px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(40px, 5vw, 68px); margin: 22px 0; letter-spacing: -1.7px; }
h1 em, h2 em { color: var(--brown); font-weight: 400; }
.hero-content > p, .featured-copy > p { max-width: 420px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  background: var(--brown);
  color: white;
  padding: 14px 20px;
  font-size: 12px;
  transition: background .2s, transform .2s;
}
.primary-button:hover { background: var(--dark); transform: translateY(-2px); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 35px; color: var(--muted); font-size: 10px; }
.note-line { width: 28px; height: 1px; background: var(--gold); }
.hero-image { height: 420px; position: relative; z-index: 1; }
.hero-image > img { width: 100%; height: 100%; object-fit: cover; }
.image-caption { position: absolute; bottom: 16px; left: 16px; padding: 13px 18px; background: #fffdf9ed; }
.image-caption span, .image-caption strong { display: block; }
.image-caption span { color: var(--brown); font-size: 9px; letter-spacing: 1.5px; }
.image-caption strong { font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
.hero-decoration { position: absolute; right: 2%; bottom: -100px; font: 260px Georgia, serif; color: #e9dfd0; }

.section { padding: 85px 6%; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.section-heading h2, .featured-copy h2, .contact-section h2 { font-size: clamp(30px, 3.5vw, 43px); margin: 10px 0 0; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; }
.category-card { padding: 0 0 17px; border: 0; background: var(--cream); text-align: left; color: var(--dark); overflow: hidden; }
.category-card img { display: block; width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; transition: transform .45s; }
.category-card:hover img { transform: scale(1.04); }
.category-card span, .category-card strong, .category-card b { display: block; margin-left: 15px; }
.category-card span { margin-top: 14px; font-size: 8px; letter-spacing: 1.1px; color: var(--muted); }
.category-card strong { margin-top: 3px; font: 21px Georgia, serif; }
.category-card b { margin-top: 8px; color: var(--brown); font-size: 10px; font-weight: 400; }

.featured-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.featured-photo { min-height: 400px; }
.featured-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-copy { align-self: center; padding: 55px 10%; }
.featured-copy h2 { font-size: clamp(37px, 4vw, 54px); margin: 20px 0; }
.featured-copy > p { font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; color: var(--brown); font-size: 12px; border: 0; background: transparent; padding: 8px 0; }
.text-link:hover { color: var(--dark); }

.products-section { background: var(--paper); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; background: white; color: var(--muted); font-size: 11px; }
.filter-chip.selected, .filter-chip:hover { background: var(--brown); border-color: var(--brown); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { min-width: 0; }
.product-image { position: relative; overflow: hidden; background: var(--cream); }
.product-image img { display: block; width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-tag { position: absolute; top: 12px; left: 12px; background: var(--paper); padding: 5px 8px; font-size: 9px; }
.product-wishlist { position: absolute; top: 8px; right: 8px; border: 0; border-radius: 50%; background: #fffdf9e8; width: 34px; height: 34px; color: var(--brown); font-size: 21px; }
.product-wishlist.saved { background: var(--brown); color: white; }
.product-info { padding: 12px 2px; }
.product-category { font-size: 9px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.product-info h3 { margin: 5px 0; font: 19px Georgia, serif; }
.product-price { color: var(--brown); font-size: 14px; font-weight: bold; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.add-cart { border: 1px solid var(--brown); color: var(--brown); background: transparent; padding: 8px 10px; font-size: 10px; }
.add-cart:hover { color: white; background: var(--brown); }
.loading-message { color: var(--muted); font-size: 13px; }

.promise-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 35px 6%; background: var(--cream); gap: 20px; }
.promise-strip > div { display: grid; grid-template-columns: 35px 1fr; align-items: center; }
.promise-strip > div > span { grid-row: span 2; color: var(--brown); font-size: 24px; }
.promise-strip strong { font: 16px Georgia, serif; }
.promise-strip small { color: var(--muted); font-size: 10px; }

.contact-section { text-align: center; padding: 75px 20px; }
.contact-section h2 { margin-top: 15px; }
.contact-section p { color: var(--muted); font-size: 13px; }
.footer { background: var(--dark); color: #f8f0e5; padding: 35px 6%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand .brand-mark { color: #f8f0e5; }
.footer-brand small { color: #c5b39f; }
.footer > p { font: italic 15px Georgia, serif; color: #d6c7b7; }
.footer > small { color: #c5b8aa; font-size: 10px; }

.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 20px); background: var(--dark); color: white; padding: 12px 20px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; z-index: 20; max-width: 90%; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1500px) {
  .header, .hero, .section, .promise-strip, .footer { padding-left: max(6%, calc((100% - 1320px) / 2)); padding-right: max(6%, calc((100% - 1320px) / 2)); }
}
@media (max-width: 800px) {
  .header { gap: 12px; padding: 15px 4%; min-height: 75px; flex-wrap: wrap; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 8px; }
  .search { order: 3; width: 100%; }
  .header-actions { margin-left: auto; }
  .navigation { justify-content: flex-start; gap: 24px; overflow-x: auto; white-space: nowrap; padding: 13px 5%; }
  .hero { grid-template-columns: 1fr; padding: 35px 5%; gap: 22px; }
  .hero-content { padding: 15px 0 0; }
  h1 { font-size: clamp(42px, 10vw, 62px); }
  .hero-image { height: 320px; }
  .hero-decoration { font-size: 180px; }
  .section { padding: 58px 5%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .category-card strong { font-size: 19px; }
  .featured-band { grid-template-columns: 1fr; }
  .featured-photo { min-height: 270px; height: 300px; }
  .featured-copy { padding: 40px 6%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .product-info h3 { font-size: 17px; }
  .product-bottom { align-items: flex-start; flex-direction: column; }
  .promise-strip { padding: 30px 5%; grid-template-columns: 1fr; gap: 20px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .header { gap: 8px; }
  .brand { gap: 7px; }
  .brand strong { font-size: 10px; letter-spacing: .5px; }
  .hero-image { height: 250px; }
  .category-card span, .category-card strong, .category-card b { margin-left: 10px; }
  .category-card strong { font-size: 17px; }
  .filter-row { gap: 6px; }
  .filter-chip { padding: 8px 11px; }
}

/* Contact actions — preserve the existing AB Furniture theme */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.contact-actions .primary-button {
  text-decoration: none;
}

@media (max-width: 600px) {
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }

  .contact-actions .primary-button {
    justify-content: center;
    text-align: center;
  }
}
