/* NORTON FURNITURE — shared stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --dark: #3d3028;
  --cream: #f7f3ed;
  --beige: #d8c5ad;
  --white: #fff;
  --muted: #81766d;
  --border: #e8e0d6;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
img { width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--dark); outline-offset: 4px; }
.section { padding: 100px 7%; }
.eyebrow { font-size: 11px; letter-spacing: 3px; font-weight: 700; margin-bottom: 18px; color: #92745a; }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { letter-spacing: -1.5px; }
h2 { font-size: clamp(30px, 4vw, 46px); }
p { color: var(--muted); }

/* Header */
.header { min-height: 82px; padding: 20px 7%; display: flex; justify-content: space-between; align-items: center; gap: 25px; background: var(--white); border-bottom: 1px solid #eee8e0; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.logo span { font-weight: 400; }
.navigation { display: flex; align-items: center; gap: 28px; }
.navigation a { font-size: 13px; transition: color .2s; }
.navigation a:hover, .footer-links a:hover { color: #a17e5d; }
.header-button { background: var(--dark); color: var(--white); padding: 13px 20px; font-size: 12px; white-space: nowrap; transition: background .2s; }
.header-button:hover { background: #6c5544; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 23px; font-size: 12px; font-weight: 600; border: 1px solid var(--dark); cursor: pointer; transition: .25s; }
.button-dark { background: var(--dark); color: var(--white); }
.button-dark:hover { background: #6c5544; border-color: #6c5544; }
.button-light { background: transparent; color: var(--dark); }
.button-light:hover { background: var(--beige); }
.text-link { font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--dark); padding-bottom: 5px; }

/* Home hero */
.hero { background: var(--cream); padding: 65px 7%; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 55px; }
.hero-content { padding: 20px 0; }
.hero h1 { font-size: clamp(42px, 5.5vw, 70px); line-height: 1.1; margin-bottom: 25px; }
.hero h1 span, .products-hero h1 span { color: #9a7959; }
.hero-description { max-width: 430px; margin-bottom: 30px; font-size: 14px; line-height: 1.9; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { height: 520px; overflow: hidden; }
.hero-image img { height: 100%; transition: transform .5s; }
.hero-image:hover img { transform: scale(1.03); }
.hero-note { margin-top: 35px; font-size: 12px; color: var(--muted); }
.hero-note span { color: #9a7959; margin-right: 8px; }

/* Section headings */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.centered { justify-content: center; text-align: center; }

/* Categories */
.categories { padding-bottom: 70px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card { position: relative; overflow: hidden; background: var(--cream); }
.category-card img { height: 300px; transition: transform .5s; }
.category-card:hover img { transform: scale(1.06); }
.category-info { padding: 20px; }
.category-info h3 { font-size: 18px; margin-bottom: 7px; }
.category-info span { font-size: 11px; color: var(--muted); }

/* Products */
.featured { background: #faf8f5; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card { min-width: 0; }
.product-card img { height: 320px; background: var(--cream); transition: transform .4s; }
.product-card > a:first-child, .catalogue-image { display: block; overflow: hidden; background: var(--cream); }
.product-card > a:first-child:hover img { transform: scale(1.04); }
.product-info { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-top: 17px; }
.product-info h3 { font-size: 15px; margin-bottom: 6px; }
.product-info p { font-size: 12px; text-transform: capitalize; }
.price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.product-link { display: block; margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.product-link:hover { color: #9a7959; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; background: var(--cream); }
.about-image { min-height: 500px; }
.about-image img { height: 100%; min-height: 500px; }
.about-content { padding: 70px 12%; align-self: center; }
.about-content h2 { margin-bottom: 25px; max-width: 500px; }
.about-content p:not(.eyebrow) { font-size: 13px; line-height: 2; margin-bottom: 18px; }
.about-content .button { margin-top: 10px; }

/* Benefits */
.benefits { padding-top: 85px; padding-bottom: 90px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin-top: 50px; }
.benefit-card { text-align: center; padding: 25px 15px; }
.benefit-icon { font-size: 32px; margin-bottom: 18px; color: #9a7959; }
.benefit-card h3 { font-size: 16px; margin-bottom: 12px; }
.benefit-card p { font-size: 12px; line-height: 1.9; }

/* Contact */
.contact { padding: 90px 10%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: var(--cream); }
.contact-content h2 { font-size: clamp(35px, 4vw, 50px); margin-bottom: 25px; }
.contact-content > p:not(.eyebrow) { font-size: 13px; max-width: 400px; margin-bottom: 30px; }
.contact-detail { padding: 15px 0; border-bottom: 1px solid var(--border); }
.contact-detail strong, .contact-detail span { display: block; font-size: 12px; }
.contact-detail strong { margin-bottom: 5px; }
.contact-detail span { color: var(--muted); overflow-wrap: anywhere; }
.contact-form { background: var(--white); padding: 35px; }
.contact-form h3 { font-size: 23px; margin-bottom: 25px; }
.contact-form label { display: block; font-size: 12px; font-weight: 600; margin: 17px 0 8px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px; border: 1px solid var(--border); background: #fff; color: var(--dark); font-size: 13px; border-radius: 0; }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: 100%; margin-top: 20px; }
.form-note { font-size: 11px; margin-top: 14px; line-height: 1.6; }

/* Product page */
.products-hero { padding: 90px 7%; text-align: center; background: var(--cream); }
.products-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 20px; }
.products-hero > p:last-child { font-size: 14px; }
.catalogue { padding-top: 75px; }
.catalogue-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 35px; }
.catalogue-top h2 { margin-bottom: 8px; }
.result-count { font-size: 12px; }
.search-input { width: 280px; max-width: 100%; padding: 14px 16px; border: 1px solid var(--border); outline-offset: 2px; background: var(--white); color: var(--dark); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn { padding: 11px 20px; border: 1px solid var(--border); background: var(--white); color: var(--dark); cursor: pointer; font-size: 12px; transition: .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 45px; }
.catalogue-grid .product-card img { height: 300px; }
.catalogue-grid .product-description { margin-top: 12px; font-size: 12px; }
.empty-message { padding: 40px 0; text-align: center; }
.catalogue-cta { padding: 80px 7%; text-align: center; background: var(--cream); }
.catalogue-cta h2 { margin-bottom: 20px; }
.catalogue-cta > p:not(.eyebrow) { margin-bottom: 28px; font-size: 13px; }

/* Footer */
.footer { padding: 45px 7% 25px; text-align: center; background: var(--dark); color: var(--white); }
.footer .logo { display: inline-block; margin-bottom: 12px; }
.footer .logo span { color: var(--beige); }
.footer > p { color: #d3c8bd; font-size: 12px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; margin: 25px 0; }
.footer-links a { font-size: 12px; color: var(--white); }
.copyright { border-top: 1px solid #63554b; padding-top: 20px; }

/* Tablet */
@media (max-width: 1000px) {
  .header { padding: 20px 4%; flex-wrap: wrap; }
  .navigation { gap: 15px; }
  .hero { padding: 50px 5%; gap: 30px; }
  .hero-image { height: 420px; }
  .section { padding-left: 5%; padding-right: 5%; }
  .category-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { padding: 70px 6%; gap: 35px; }
  .about-content { padding: 50px 8%; }
}

/* Mobile */
@media (max-width: 650px) {
  .header { padding: 18px 5%; justify-content: space-between; gap: 15px; }
  .logo { font-size: 17px; }
  .header-button { padding: 10px 13px; font-size: 11px; }
  .navigation { order: 3; width: 100%; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding-top: 15px; }
  .navigation a { font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding: 40px 5%; gap: 35px; }
  .hero h1 { font-size: 45px; }
  .hero-image { height: 330px; }
  .hero-buttons { align-items: stretch; }
  .hero-buttons .button { padding: 13px 15px; }
  .section { padding: 60px 5%; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .section-heading h2 { font-size: 32px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .category-card img { height: 190px; }
  .category-info { padding: 13px; }
  .category-info h3 { font-size: 14px; }
  .category-info span { font-size: 10px; }
  .product-grid, .catalogue-grid { grid-template-columns: 1fr; gap: 35px; }
  .product-card img, .catalogue-grid .product-card img { height: 300px; }
  .about { grid-template-columns: 1fr; }
  .about-image, .about-image img { min-height: 300px; height: 300px; }
  .about-content { padding: 45px 6%; }
  .about-content h2 { font-size: 35px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 25px; }
  .benefit-card { padding: 20px 8px; }
  .benefit-card h3 { font-size: 14px; }
  .contact { grid-template-columns: 1fr; padding: 60px 5%; gap: 35px; }
  .contact-form { padding: 25px 20px; }
  .catalogue-top { align-items: stretch; flex-direction: column; }
  .search-input { width: 100%; }
  .filter-buttons { gap: 8px; }
  .filter-btn { padding: 10px 13px; font-size: 11px; }
  .products-hero { padding: 65px 5%; }
  .products-hero h1 { font-size: 39px; }
  .catalogue-cta { padding: 60px 5%; }
  .catalogue-cta h2 { font-size: 32px; }
  .footer-links { gap: 17px; }
}

/* Small phones */
@media (max-width: 360px) {
  .logo { font-size: 15px; }
  .header-button { font-size: 10px; }
  .hero h1 { font-size: 37px; }
  .category-card img { height: 160px; }
  .product-card img, .catalogue-grid .product-card img { height: 250px; }
}


/* Contact form success state */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  background: #edf7ee;
  border: 1px solid #b9dfbf;
  color: #205b2c;
}
.form-success[hidden] { display: none; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2f7d3b;
  color: #fff;
  font-weight: 700;
}
.form-success strong { display: block; margin-bottom: 3px; font-size: 14px; }
.form-success p { color: #205b2c; font-size: 12px; margin: 0; }
.contact-form button:disabled { opacity: .75; cursor: default; }

/* Privacy policy page */
.privacy-hero { padding: 75px 7% 55px; background: var(--cream); text-align: center; }
.privacy-hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 16px; }
.privacy-content { max-width: 900px; margin: 0 auto; padding: 65px 7% 90px; }
.privacy-content .effective-date { font-size: 13px; margin-bottom: 35px; }
.privacy-content h2 { font-size: 23px; letter-spacing: -.4px; margin: 32px 0 12px; }
.privacy-content p, .privacy-content li { font-size: 14px; line-height: 1.9; color: var(--muted); }
.privacy-content ul { padding-left: 23px; margin: 12px 0; }
.privacy-content a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-content a:hover { color: #9a7959; }
@media (max-width: 600px) { .privacy-content { padding-top: 45px; } .privacy-content h2 { font-size: 21px; } }
