/* Reference photograph: layout only; catalogue, actions and data remain live. */
@font-face {
  font-family: Anton;
  src: url('../assets/fonts/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fafaf4;
  --surface: #f5f3ec;
  --ink: #33352f;
  --muted: #66685f;
  --accent: #f07835;
  --accent-hover: #a94010;
  --action: #c84f17;
  --line: #e5e3d9;
  --charcoal: #292b28;
  --heading: 'Source Sans 3', 'Segoe UI', sans-serif;
  --store-width: 1320px;
  --store-radius: 3px;
}
html { scroll-padding-top: 122px; }
body { background: var(--paper); }
.container { width: min(var(--store-width), calc(100% - 48px)); }
.btn { border-radius: var(--store-radius); }
.btn.primary, .product__btn, .quote-toggle {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
}
.btn.primary:hover, .product__btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.service-strip { display: none; }
.header { background: var(--charcoal); color: #fff; border: 0; }
.header-main { min-height: 78px; padding-block: 10px; gap: 24px; }
.header .brand:has(img:not([hidden])) { flex: 0 0 213px; background: transparent; padding: 0; border-radius: 0; min-height: 50px; }
.header .brand img { width: 213px; height: 55px; mix-blend-mode: screen; }
.header .brand strong, .header .brand small { color: #fff9ec; }
.header-search { order: 1; flex: 1; max-width: none; margin: 0; background: #fffff7; border: 0; border-radius: 5px; min-height: 38px; }
.header-search input { font-size: 13px; color: #45463d; padding: 8px 15px; min-height: 38px; }
.header-search button { color: #74776a; min-height: 38px; padding-inline: 12px; }
.header-service { order: 2; display: flex; flex-direction: column; flex: 0 0 113px; color: #fff; font-size: 10px; line-height: 1.4; }
.header-service span { color: #d8d9ce; font-size: 9px; letter-spacing: .02em; }
.header-service strong { font-size: 11px; font-weight: 600; color: #fff9ec; overflow-wrap: anywhere; }
.header-whats { order: 3; display: flex; color: #fff; font-size: 12px; line-height: 1.2; max-width: 125px; gap: 8px; }
.header-whats .ui-icon { color: #6ccd70; width: 25px; height: 25px; flex-shrink: 0; }
.header-whats span:last-child { display: block; }
.quote-toggle { order: 4; border-radius: var(--store-radius); padding: 9px 13px; font-size: 12px; min-height: 39px; gap: 7px; }
.quote-toggle b { position: static; background: #fff7ed; color: #973a13; min-width: 17px; min-height: 17px; width: 17px; height: 17px; }
.desktop-nav { display: none; }
.category-nav { width: min(var(--store-width), calc(100% - 48px)); justify-content: flex-start; gap: 26px; border: 0; padding: 5px 0 8px; min-height: 36px; scrollbar-width: thin; }
.category-nav a, .category-nav button { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #fff; min-height: 26px; }
.category-nav a:first-child { margin-right: 14px; }
.category-nav a:first-child:before { content: '☰'; margin-right: 9px; }
.category-nav a:last-child { margin-left: auto; }
.category-nav a:hover, .category-nav button:hover { color: #ffad75; }

/* Three distinct banner areas, with a cropped timber photograph at each end. */
.hero.container { position: relative; width: min(var(--store-width), 100%); margin: 0 auto; padding: 0; background: var(--charcoal); }
.hero-window { overflow: hidden; border: 0; border-radius: 0; }
.hero-slide { display: grid; grid-template-columns: 22% 44% 34%; min-height: 255px; background: #302e29; isolation: isolate; align-items: center; gap: 0; }
.hero-figure { z-index: -3; inset: 0; position: absolute; margin: 0; width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: left 45%; max-height: none; mask-image: none; -webkit-mask-image: none; }
.hero-figure:after { background: linear-gradient(90deg, #332b1c00 0%, #302e2966 18%, #302e29f5 30%, #302e29 56%, #302e29fa 75%, #302e29 100%); }
.hero-slide:after { content: none; }
.hero-timber { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 32%; overflow: hidden; clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none; }
.hero-timber:before { content: ''; position: absolute; inset: -45%; background: url('../assets/hero-madeira-960.webp') 9% 55% / cover; transform: rotate(-28deg) scale(1.15); }
.hero-timber:after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, #302e2999 5%, #9f442977 55%, #b64e2180 100%); }
.hero-copy { grid-column: 2; position: relative; width: auto; margin: 0; padding: 22px 14px 61px 0; max-width: none; }
.hero-copy:before, .hero-copy .eyebrow { display: none; }
.hero-copy h1 { font-family: Anton, Impact, 'Arial Narrow', sans-serif; font-size: clamp(30px, 3.12vw, 44px); line-height: 1.07; font-weight: 400; letter-spacing: -.018em; text-transform: uppercase; max-width: none; color: #fffdf2; text-shadow: 0 1px 2px #0004; }
.hero-copy h1 span { display: block; color: var(--accent); }
.hero-quote { grid-column: 3; align-self: center; border-left: 1px solid #d4b393; padding: 8px 25px; margin: 0 28px 42px 0; color: #fff9ec; max-width: 280px; }
.hero-quote p { color: #fff9ec; font-size: 15px; line-height: 1.4; font-weight: 600; margin: 0 0 14px; overflow-wrap: anywhere; }
.hero-quote .btn.primary { background: var(--action); border-color: var(--action); color: #fff; font-size: 11px; min-height: 35px; padding: 9px 19px; text-transform: uppercase; border-radius: var(--store-radius); }
.hero-figure figcaption { right: 7px; bottom: 3px; background: #29282099; color: #fff7e9; font-size: 8px; z-index: 4; padding: 1px 4px; }
.benefits { position: absolute; bottom: 18px; left: 22%; width: 73%; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; gap: 17px; color: #fff9ec; }
.benefit { display: flex; align-items: center; gap: 8px; min-width: 0; }
.benefit-symbol { display: flex; flex: 0 0 24px; color: #fff5e5; }
.benefit-symbol .ui-icon { width: 24px; height: 24px; }
.benefit strong { font-size: 11px; line-height: 1.2; display: block; color: #fff9ec; }
.benefit p { font-size: 10px; line-height: 1.3; color: #e3dace; margin-top: 3px; }

/* Compact, real catalogue categories; the existing offer filter remains usable. */
.catalog { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 38px; }
.catalog-toolbar { order: -1; margin: 0 0 10px; border-bottom: 1px solid var(--line); padding: 10px 0; display: flex; align-items: stretch; gap: 12px; }
.category-tiles { min-width: 0; width: 100%; justify-content: space-between; gap: 13px; padding: 0; align-items: stretch; flex-wrap: nowrap; overflow-x: auto; }
.category-tile { flex: 1 0 93px; padding: 3px 7px 7px; gap: 2px; position: relative; min-height: 0; }
.category-picture { width: 86px; height: 63px; border: 0; border-radius: 0; background: transparent; }
.category-picture img { object-fit: contain; }
.category-tile.is-active .category-picture { border: 0; }
.category-tile.is-active:after { content: ''; position: absolute; height: 2px; bottom: 0; left: 10px; right: 10px; background: var(--accent); }
.category-tile strong { font-size: 12px; font-weight: 600; margin: 2px 0 0; }
.category-tile > span:last-child { display: none; }
.category-tile[data-cat=todas] { order: 1; flex: 0 0 125px; background: var(--action)!important; color: #fff; border-radius: var(--store-radius); }
.category-tile[data-cat=todas] .category-picture { height: 55px; }
.category-tile[data-cat=todas] .ui-icon { color: #fff; width: 30px; height: 30px; }
.category-tile[data-cat=todas].is-active { color: #fff; }
.category-tile[data-cat=todas]:after { display: none; }
.filter-offers { flex: 0 0 125px; align-self: stretch; margin: 0; padding: 12px 10px; background: var(--action); color: #fff; border: 1px solid var(--action); border-radius: var(--store-radius); font-size: 12px; }
.filter-offers:before { content: '◇'; display: block; font-size: 31px; line-height: 1.3; }
.filter-offers[aria-pressed=true] { background: #8f3612; color: #fff; border-color: #8f3612; }
.catalog-toolbar:has(.filter-offers:not([hidden])) .category-tile[data-cat=todas] { background: transparent!important; color: var(--ink); flex-basis: 105px; }
.catalog-toolbar:has(.filter-offers:not([hidden])) .category-tile[data-cat=todas] .ui-icon { color: var(--ink); }
.section-head { margin-bottom: 6px; align-items: center; }
.catalog .section-head h2 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.catalog .section-head .eyebrow, .catalog #searchSummary { display: none; }
.catalog #searchSummary.is-search { display: block; font-size: 13px; }
.catalog-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
.catalog-all { color: #8f431e; font-size: 11px; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.catalog-all:hover { color: #623015; }
.product-count { font-size: 11px; margin: 0; max-width: none; color: var(--muted); }
.commercial-terms { font-size: 10px; margin: 0 0 7px; color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.product { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e5e1d4; background: #fffef9; overflow: hidden; border-radius: 2px; box-shadow: none!important; }
.product__media { flex: 0 0 auto; display: block; aspect-ratio: 1.55; min-height: 0; padding: 5px; border-radius: 0; background: #f4f1e7; }
.product__img { object-fit: contain; }
.product__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 8px 8px 9px; }
.product__category { color: var(--muted); font-size: 9px; letter-spacing: .01em; line-height: 1.3; }
.product__name { font-size: 12.5px; line-height: 1.28; min-height: 32px; margin: 5px 0; font-weight: 600; }
.product__name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__dimensions { color: var(--muted); font-size: 11px; line-height: 1.35; min-height: 0; margin-bottom: 6px; }
.product__price-row { min-height: 23px; margin-top: auto; align-content: flex-end; gap: 3px 5px; }
.product__price { font-size: 17px; line-height: 1.25; }
.product__unit { color: var(--muted); font-size: 9px; }
.product__badge { font-size: 8px; top: 5px; left: 5px; padding: 3px 5px; background: #43453e; line-height: 1.3; }
.product__badge.unavailable { background: #64675b; color: #fff; }
.product__btn { margin-top: 6px; min-height: 30px; padding: 6px 5px; font-size: 11px; line-height: 1.3; justify-content: center; gap: 5px; border-radius: 2px; }
.product__btn .ui-icon { width: 13px; height: 13px; }
.price-disclaimer { font-size: 10px; color: var(--muted); line-height: 1.3; }
.about-section { background: #eeece4; }
.about-copy .eyebrow { color: #984019; }
.footer { background: var(--charcoal); }
.wa-float { background: #26ad5d; border-color: #26ad5d; }
.featured-section { background: #f2f0e8; }
.featured-section .section-head h2 { font-size: 22px; }
.campaigns:not([hidden]) { padding-bottom: 20px; }
@media (min-width: 1500px) { .hero-copy { padding-left: 0; } .hero-slide { min-height: 255px; } }
@media (max-width: 1100px) {
  .header-main { gap: 16px; }
  .header .brand:has(img:not([hidden])) { flex-basis: 185px; }
  .header .brand img { width: 185px; }
  .header-service { display: none; }
  .header-whats { max-width: 105px; }
  .category-nav { gap: 21px; }
  .category-nav a:last-child { display: none; }
  .hero-slide { grid-template-columns: 19% 48% 33%; min-height: 235px; }
  .hero-copy { padding-left: 0; padding-right: 10px; }
  .hero-copy h1 { font-size: 35px; }
  .hero-quote { padding: 8px 19px; margin-right: 12px; }
  .hero-quote p { font-size: 14px; }
  .benefits { left: 19%; width: 78%; gap: 12px; }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .category-tiles { justify-content: flex-start; gap: 11px; }
  .category-tile { flex: 1 0 95px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 135px; scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 24px); }
  .header-main { min-height: 0; padding: 8px 0 9px; gap: 8px; }
  .header .brand:has(img:not([hidden])) { flex: 1 1 165px; min-height: 43px; padding: 0; }
  .header .brand img { width: 173px; height: 46px; max-width: 100%; }
  .header-whats { order: 2; padding: 6px; max-width: 38px; }
  .header-whats span:last-child { display: none; }
  .quote-toggle { order: 3; font-size: 12px; padding: 9px 10px; gap: 5px; }
  .quote-toggle b { position: static; }
  .header-search { order: 4; flex: 0 0 100%; min-height: 40px; }
  .header-search input { font-size: 16px; }
  .category-nav { display: none; }
  .hero.container { width: 100%; }
  .hero-slide { grid-template-columns: 12% 88%; min-height: 264px; align-content: start; align-items: start; }
  .hero-copy { grid-column: 2; padding: 25px 14px 0 0; width: 100%; }
  .hero-copy h1 { font-size: clamp(27px, 7.1vw, 42px); line-height: 1.1; max-width: none; }
  .hero-figure:after { background: linear-gradient(90deg, #302e2930, #302e29eb 24%, #302e29ed 75%, #302e29ed); }
  .hero-timber { width: 39%; opacity: .9; }
  .hero-quote { grid-column: 2; padding: 0 0 0 12px; margin: 16px 16px 70px 0; max-width: none; display: flex; align-items: center; gap: 13px; }
  .hero-quote p { font-size: 12px; line-height: 1.4; margin: 0; max-width: 165px; }
  .hero-quote .btn.primary { flex-shrink: 0; font-size: 10px; padding: 9px 11px; min-height: 40px; }
  .benefits { left: 12px; bottom: 18px; width: calc(100% - 24px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .benefit { min-width: 0; gap: 5px; align-items: flex-start; }
  .benefit-symbol { flex-basis: 18px; }
  .benefit-symbol .ui-icon { width: 18px; height: 18px; }
  .benefit strong { font-size: 10px; }
  .benefit p { font-size: 9px; margin: 3px 0 0; }
  .benefit > div { display: block; }
  .hero-figure figcaption { font-size: 7px; bottom: 1px; }
  .catalog-toolbar { padding: 9px 0; margin-bottom: 15px; gap: 8px; flex-wrap: nowrap; }
  .category-tiles { gap: 6px; padding: 0 0 3px; }
  .category-tile { flex: 0 0 79px; padding: 3px 3px 6px; }
  .category-picture { width: 69px; height: 51px; }
  .category-tile strong { font-size: 11px; }
  .category-tile[data-cat=todas] { flex-basis: 92px; }
  .category-tile[data-cat=todas] .category-picture { height: 51px; }
  .filter-offers { flex-basis: 92px; padding: 8px 5px; font-size: 11px; }
  .filter-offers:before { font-size: 27px; }
  .catalog .section-head { margin-bottom: 10px; gap: 8px; }
  .catalog .section-head h2 { font-size: 15px; max-width: none; }
  .catalog-heading-actions { gap: 8px; flex-wrap: wrap; max-width: 112px; }
  .catalog-all { font-size: 10px; }
  .product-count { font-size: 10px; white-space: nowrap; }
  .commercial-terms { font-size: 10px; margin-bottom: 10px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .product__media { aspect-ratio: 1.3; }
  .product__body { padding: 8px; }
  .product__category { font-size: 9px; }
  .product__name { font-size: 13px; min-height: 34px; line-height: 1.3; }
  .product__dimensions { font-size: 11px; min-height: 29px; }
  .product__price { font-size: 18px; }
  .product__btn { font-size: 11px; min-height: 44px; padding: 8px 5px; }
  .product__badge { font-size: 8px; }
  .product a { scroll-margin-block: 145px 110px; }
  .mobile-nav .ui-icon, .mobile-nav b { color: #c84f17; }
  .about-grid { gap: 25px; }
  .quote-guide { padding: 20px; }
  .section { padding-block: 30px; }
  .catalog { padding-top: 0; }
  .featured-section .section-head h2 { font-size: 20px; }
}
@media (max-width: 479px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product__media { aspect-ratio: 1.4; }
  .product__name { font-size: 14px; min-height: 37px; }
  .product__price { font-size: 20px; }
  .product__btn { font-size: 12px; }
}
