:root {
  --saffron: #ffc21a;
  --saffron-600: #e9a800;
  --ink: #1f1b16;
  --ink-2: #4f4840;
  --muted: #8a8178;
  --bg: #fbf8f3;
  --surface: #ffffff;
  --alt: #f3ece1;
  --line: #e7dfd3;
  --brown: #6b4423;
  --header: #f5e7c5;
  --footer: #1b1916;
  --footer-line: #34302b;
  --footer-text: #b9b2a8;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(31 27 22 / 6%), 0 8px 24px rgb(31 27 22 / 6%);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron-600); outline-offset: 2px; }

.eyebrow { display: inline-block; font: 600 .8rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin-bottom: .75rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--saffron); color: var(--ink); }
.btn-primary:hover { background: var(--saffron-600); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--saffron); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); border-bottom: 1px solid #e6d3a6; }
.topbar { background: var(--footer); color: #e9e3da; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--saffron); font-weight: 600; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: block; flex: none; }
.logo img { height: 66px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 500; padding: 24px 0; border-bottom: 2px solid transparent; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current="page"] { border-color: var(--saffron); }
.has-menu { position: relative; }
.submenu { position: absolute; top: 100%; left: -16px; min-width: 290px; flex-direction: column; gap: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: .95rem; }
.submenu a:hover { background: var(--alt); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0; background: radial-gradient(1200px 500px at 85% 10%, #fff3cf 0, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero blockquote { margin: 0 0 .5rem; padding-left: 18px; border-left: 4px solid var(--saffron); font-size: 1.15rem; color: var(--ink-2); font-style: italic; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.hero + .section { padding-top: 0; }
.section-alt { background: var(--alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; flex: 1 1 100%; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head p { margin: 0; }
.page-hero { padding: clamp(40px, 6vw, 72px) 0; background: var(--alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 60ch; font-size: 1.1rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature p { margin: 0; }
.feature-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff3cf; color: var(--brown); margin-bottom: 16px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; background: #fff; aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .2em; }
.card-body p { font-size: .95rem; margin-bottom: 12px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.price { color: var(--brown); }
.price del, .product-price del { color: var(--ink-2); font-size: .75em; font-weight: 500; margin-left: .3em; }
.listed-as { font-size: .95rem; margin: 0 0 1.5rem; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: var(--saffron); font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split-media { border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--saffron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b16' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

.contact-strip { background: var(--saffron); padding: 48px 0; }
.contact-strip .eyebrow { color: var(--ink); opacity: .75; }
.strip-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; }
.strip-grid p { color: var(--ink); margin: 0; }
.strip-big { display: block; font: 700 2rem/1.1 var(--head); text-decoration: none; color: var(--ink) !important; }

/* Product page */
.breadcrumb { padding-top: 24px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.product { padding-top: 24px; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: 150px; }
.gallery-main { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--saffron-600); }
.product-price { font: 700 2rem/1 var(--head); color: var(--brown); margin: .25rem 0 1.25rem; }
.quick { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.quick li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.specs { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 45%; font-weight: 500; color: var(--muted); background: #fcfaf6; }
.prose { max-width: 820px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; display: block; }
.photo-grid figcaption { margin-top: 8px; font-size: .95rem; color: var(--ink-2); }
.range-help { margin: 28px 0 0; }
.byline { color: var(--ink-2); font-size: .95rem; }
.table-scroll { overflow-x: auto; margin-bottom: 28px; }
.compare { min-width: 620px; margin-bottom: 0; }
.compare th { width: auto; }
.compare thead th { color: var(--ink); font-weight: 600; }
.variant-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.variant { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; }
.contact-card .eyebrow { display: block; margin: 0 0 4px; }
.contact-card strong { font-size: 1.15rem; font-weight: 600; }
a.contact-card:hover { border-color: var(--saffron-600); }
.map iframe { width: 100%; height: 460px; border: 0; border-radius: var(--radius); background: var(--alt); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(15 13 11 / 88%); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 16px; background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; cursor: pointer; }

/* Footer (matches the Saffron Decor brand footer) */
.site-footer { background: var(--footer); color: var(--footer-text); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer h3 { font: 600 1.75rem/1 var(--head); color: #fff; margin-bottom: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.site-footer ul a { color: #ece7df; text-decoration: none; }
.site-footer ul a:hover { color: var(--saffron); }
.footer-contact a, .footer-contact li { color: var(--footer-text) !important; line-height: 1.7; }
.footer-contact li:first-child a { color: #ece7df !important; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 10px; }
.footer-logo img { height: 64px; width: auto; }
.footer-about p { color: var(--footer-text); margin: 28px 0 32px; max-width: 36ch; line-height: 1.75; }
.brand-box { display: inline-flex; align-items: baseline; gap: .6em; border: 1px solid var(--saffron); border-radius: 8px; padding: 22px 26px; color: #fff; text-decoration: none; font-size: 1.05rem; transition: background .2s; }
.brand-box strong, .brand-inline strong { font-family: "Roboto Slab", Georgia, serif; font-weight: 700; color: var(--saffron); }
.brand-box strong { font-size: 1.6rem; }
.brand-box:hover { background: rgb(255 194 26 / 8%); }
.brand-inline { color: var(--footer-text); text-decoration: none; }
.brand-inline:hover strong { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--footer-line); padding: 24px 0; }
.footer-bottom p { margin: 0; color: var(--footer-text); }

/* Floating WhatsApp chat */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / 25%); transition: transform .2s, background .2s; }
.wa-float:hover { background: #1ebe5b; transform: scale(1.06); }
.wa-float svg { width: 36px; height: 36px; }

/* Responsive */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--header); border-bottom: 1px solid #e6d3a6; padding: 8px 16px 20px; display: none; max-height: calc(100vh - 110px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { padding: 14px 0; width: 100%; border-bottom: 1px solid #e6d3a6; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 0 12px !important; }
  .nav-cta { margin-top: 16px; justify-content: center; }
  .hero-grid, .split, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .features, .strip-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .topbar span { display: none; }
  .logo img { height: 46px; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards, .cards-2, .cards-4, .footer-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .brand-box { padding: 18px 20px; }
  .brand-box strong { font-size: 1.35rem; }
  .map iframe { height: 340px; }
  .wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .wa-float svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
