@font-face {
  font-family: "Tajawal";
  src: url("fonts/Tajawal-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("fonts/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("fonts/Tajawal-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("fonts/Tajawal-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #132820;
  --muted: #53635a;
  --paper: #faf9f5;
  --surface: #fffefa;
  --action: #1b503e;
  --action-hover: #113a2c;
  --gold: #ebc582;
  --light: #faf1df;
  --sand-hover: #f4e6ce;
  --sand-line: #d9c7a7;
  --line: #d9e1da;
  --sand: #fbf2e2;
  --green: #1b503e;
  --night: #102a23;
  --font: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--store-header-height, 235px) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #9a6b2e; outline-offset: 3px; }
.skip { position: fixed; z-index: 10; top: 8px; inset-inline-start: 12px; transform: translateY(-200%); background: var(--sand); color: var(--night); padding: 10px 14px; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 72px, 1240px); margin-inline: auto; }
.top-strip { background: var(--night); color: #fffaf1; font-size: .875rem; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.top-inner a:hover, .footer a:hover { text-decoration: underline; }
.top-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
@media(max-width: 680px) {
  .top-inner { flex-wrap: wrap; gap: 2px 12px; padding-block: 4px; }
}
.store-header { position: sticky; top: 0; z-index: 3; }
.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.identity { display: flex; align-items: center; gap: 11px; font-size: 1.22rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.identity small { display: block; margin-top: 6px; color: var(--muted); text-align: right; font-size: .7rem; letter-spacing: .12em; font-weight: 650; }
.mark { flex: none; border-radius: 10px; }
.nav { display: flex; gap: clamp(16px,4vw,48px); font-weight: 650; }
.nav a { padding: 12px 0; }
.nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.cart-button, .outline { min-height: 44px; background: var(--sand); color: var(--night); border: 1px solid var(--sand-line); border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.cart-button { display: inline-flex; align-items: center; gap: 9px; }
.cart-button:hover, .outline:hover { background: var(--sand-hover); }
#cart-count { display: grid; place-items: center; min-width: 23px; padding-inline: 5px; background: var(--night); color: var(--light); border-radius: 99px; font-size: .8rem; }
.basket-icon { position: relative; display: inline-block; border: 1.7px solid currentColor; width: 15px; height: 13px; border-radius: 2px; margin-top: 4px; }
.basket-icon::before { content: ""; position: absolute; inset: -7px 3px auto; height: 7px; border: 1.7px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.hero {
  margin-block: clamp(18px,4vw,48px) 0;
  border: 1px solid #b7b08a80;
  border-radius: clamp(18px,2.8vw,32px);
  overflow: hidden;
  background: var(--night);
  color: #fffaf1;
}
.hero-inner {
  min-height: clamp(360px,39vw,560px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
}
.hero-copy { align-self: center; padding: clamp(24px,5vw,80px); }
.hero-visual {
  position: relative;
  min-height: 100%;
  background: #f8efdf;
  border-inline-start: 1px solid #dcd9c9;
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 75%; }
h1 { margin: 0; font-size: clamp(2.45rem,5vw,5rem); font-weight: 850; line-height: 1.16; }
.hero h1 span { color: var(--gold); }
.hero h1 .hero-lead { color: inherit; }
.hero p { color: #e1ebe3; font-size: clamp(1rem,1.45vw,1.18rem); margin: 20px 0 24px; max-width: 420px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: var(--action);
  border: 1px solid transparent;
  color: white;
  border-radius: 10px;
  font-weight: 750;
  padding: 9px 20px;
}
.primary:hover:not(:disabled) { background: var(--action-hover); }
.hero .primary { background: var(--gold); color: var(--night); }
.hero .primary:hover { background: #f4d49a; }
.hero .hero-contact { color: #fffaf1; background: transparent; border-color: #a3b7a9; border-radius: 10px; }
.hero .hero-contact:hover { background: #204438; }
.hero :focus-visible { outline-color: var(--gold); }
.departments { padding-block: 44px 42px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 17px; }
h2 { margin: 0; font-size: clamp(1.55rem,3vw,2.25rem); line-height: 1.3; }
.text-link { color: var(--green); font-weight: 750; }
.department-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.department {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
  min-height: 190px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--sand-line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  text-align: start;
  font-weight: 800;
}
.department:hover { border-color: var(--sand-hover); box-shadow: 0 8px 18px #1f47351a; }
.department span { grid-row: 2; padding: 8px 6px 4px; border-top: 1px solid #182f211a; }
.department img {
  grid-row: 1;
  width: 100%;
  height: clamp(105px,11vw,152px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .22s ease;
}
.department:hover img { transform: scale(1.04); }
#catalog { padding-block: 0 52px; }
#results, .hint { font-size: .875rem; }
#results { color: var(--muted); }
.hint { color: var(--muted); }
.filters { display: flex; gap: 10px; margin-bottom: 14px; }
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding-inline: 15px; background: #fff9ed; border: 1px solid var(--line); border-radius: 9px; }
.search:focus-within { border-color: var(--green); }
.search-icon { width: 14px; height: 14px; border: 2px solid var(--green); border-radius: 50%; position: relative; flex: none; margin-inline-end: 2px; }
.search-icon::after { content: ""; position: absolute; bottom: -3px; left: -4px; width: 6px; height: 2px; background: var(--green); transform: rotate(-45deg); }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); padding-block: 12px; }
.search input:focus-visible { outline-offset: 0; }
.filters select { max-width: 48%; appearance: none; padding: 9px 13px 9px 34px; border: 1px solid var(--line); border-radius: 9px; background: #fcf4e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231b503e' stroke-width='1.6'/%3E%3C/svg%3E") left 10px center no-repeat; color: var(--ink); }
.categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.categories button { min-height: 40px; border: 1px solid var(--sand-line); color: var(--ink); background: #fcf4e6; border-radius: 99px; padding: 5px 13px; font-size: .875rem; font-weight: 650; }
.categories button:hover { background: var(--sand-hover); }
.categories button[aria-pressed=true] { background: var(--sand); box-shadow: inset 0 0 0 1px var(--night); font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.group-heading { grid-column: 1 / -1; margin: 12px 0 0; padding-bottom: 8px; border-bottom: 1px solid #c7d9c9; font-size: 1.18rem; }
.group-heading:first-child { margin-top: 0; }
.empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 12px; padding: 24px; text-align: center; }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--sand-line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s,border-color .2s; }
.card:hover { border-color: #d4bc92; box-shadow: 0 10px 22px #1f47351a; }
.photo {
  display: block;
  content-visibility: auto;
  width: calc(100% - 20px);
  height: clamp(140px,15vw,210px);
  margin: 10px 10px 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #e8dbc2;
  border-radius: 12px;
  background: #fff;
}
.photo:focus-visible { outline-offset: -4px; }
.photo img, .detail-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-copy { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 9px 10px 10px; container-type: inline-size; }
.card-meta { display: flex; align-items: baseline; gap: 6px; min-height: 1.1rem; }
.card-meta > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta .code { direction: ltr; text-align: start; }
.card-meta .product-brand { flex: none; max-width: 45%; font-size: .75rem; }
.card-specs { color: #000; font-size: .875rem; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
.code { direction: ltr; text-align: right; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.card-copy .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; block-size: 2.7em; text-align: start; overflow-wrap: anywhere; }
.title { border: 0; background: transparent; padding: 0; color: inherit; font-weight: 750; text-align: right; }
.title:hover { color: var(--green); text-decoration: underline; }
.title:focus-visible { outline-offset: 0; }
.card-bottom { display: grid; gap: 5px; margin-top: auto; padding-top: 5px; border-top: 1px solid #eee2cf; }
.price { font-weight: 800; color: #000; }
.add { border: 1px solid var(--sand-line); border-radius: 999px; background: var(--sand); color: var(--night); min-height: 44px; padding: 6px 14px; font-size: .875rem; font-weight: 700; }
.add:hover:not(:disabled) { background: var(--sand-hover); }
.add:disabled { background: #faf3e6; color: #4d584a; }
.inquiry { display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; background: #fffaf1; font-size: .875rem; text-align: center; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#more { padding-inline: 24px; }
#more { display: block; margin: 23px auto 0; }
#more[hidden] { display: none; }
.footer { background: #101010; color: #fff; --green: #fff; --muted: #d6d6d6; border-top: 1px solid #242424; padding-block: 37px; }
.footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.footer-inner { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; }
.footer h2 { color: var(--green); font-size: 1.45rem; }
.footer h3 { margin: 0; font-size: 1rem; }
.footer p { margin: 7px 0 0; color: var(--muted); }
.contact-phones a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 7px; color: var(--green); }
dialog { width: min(calc(100% - 24px),570px); max-height: 85vh; max-height: 85dvh; background: #fff9ed; color: var(--ink); border: 1px solid var(--sand-line); border-radius: 16px; padding: clamp(14px,3vw,24px); }
dialog::backdrop { background: #071810aa; }
.dialog-head, .cart-total, .line { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.dialog-head h2 { font-size: clamp(1.28rem,4vw,1.8rem); overflow-wrap: anywhere; }
.line, .cart-total { border-bottom: 1px solid var(--line); padding-block: 12px; }
.line > span:first-child { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.line input { width: 60px; min-height: 42px; border: 1px solid var(--line); border-radius: 7px; padding-inline: 6px; }
.cart-photo { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
.line-copy { min-width: 0; overflow-wrap: anywhere; }
.quantity-controls { display: inline-flex; align-items: center; gap: 2px; }
.quantity-controls button { width: 44px; height: 44px; background: var(--sand); color: var(--ink); border: 1px solid var(--sand-line); border-radius: 8px; }
.quantity-controls input { width: 3.2em; text-align: center; }
@media(max-width: 580px) {
  .line { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .line > span:first-child { grid-column: 1 / -1; }
}
.compare-picker { display: grid; gap: 6px; margin-block: 16px 8px; font-weight: 700; }
.compare-picker select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--sand-line); border-radius: 8px; background: var(--surface); color: var(--ink); }
#detail-specs table { width: 100%; table-layout: fixed; border-collapse: collapse; color: #000; font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
#detail-specs :is(th,td) { padding: 8px 5px; text-align: start; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
#detail-specs thead { background: var(--sand); }
.cart-total { margin-bottom: 15px; }
.detail-photo { height: clamp(160px,33vh,300px); margin-top: 12px; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media(max-width: 920px) {
  .wrap { width: calc(100% - 40px); }
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .department { padding: 12px; }
}
@media(max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .top-inner { font-size: .75rem; min-height: 31px; }
  .top-inner a { white-space: nowrap; }
  .bar { min-height: 64px; gap: 8px; }
  .identity { font-size: 1rem; }
  .identity small { font-size: .62rem; }
  .mark { width: 40px; height: 40px; }
  .nav { display: none; }
  .cart-button { padding-inline: 10px; gap: 6px; }
  .hero-inner { min-height: 0; grid-template-columns: minmax(0,1fr); }
  .hero-visual { min-height: 0; aspect-ratio: 1.9; border-inline-start: 0; border-top: 1px solid #dcd9c9; }
  .hero-visual img { object-position: center 80%; }
  .hero p { margin-block: 10px 15px; }
  .departments { padding-block: 28px 32px; }
  .department-grid, .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .department { min-height: 130px; padding: 8px; }
  .department img { height: 95px; }
  .card-copy { padding: 9px; }
  .photo { width: calc(100% - 12px); margin: 6px 6px 0; height: clamp(105px,29vw,158px); padding: 6px; }
  .filters { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .filters select { max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 17px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.mobile-contact { display: none; }
.card-actions { display: flex; align-items: stretch; gap: 4px; }
.card-actions > .primary { flex: 1; min-width: 0; padding-inline: 4px; font-size: .8125rem; text-align: center; line-height: 1.15; }
.card-actions > .card-add { min-width: 44px; }
.card-actions .card-icon { display: inline-grid; place-items: center; flex: 0 0 44px; min-width: 44px; padding: 0; background: transparent; }
.card-actions .card-icon:hover { background: #f4e6ce; }
.card-actions svg { width: 18px; height: 18px; flex-shrink: 0; }
@container (max-width: 164px) {
  .card-actions > .primary { font-size: .75rem; }
}
@container (max-width: 139px) {
  .card-actions:has(.card-add) { flex-wrap: wrap; }
  .card-actions > .card-add { flex-basis: 100%; }
}
@container (max-width: 136px) {
  .card-actions .primary.inquiry svg { display: none; }
}
.product-share { font-size: .875rem; padding-inline: 10px; }
#share label { display: block; margin-top: 12px; }
#share-url { width: 100%; border: 1px solid var(--sand-line); border-radius: 8px; padding: 8px; color: var(--ink); font-size: 1rem; }
@media(max-width: 680px) {
  body:has(.mobile-contact) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-contact {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 7px max(10px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: #e2efe3;
    border-top: 1px solid #cfdfd0;
  }
  .mobile-contact a {
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 999px;
    background: var(--sand);
    border: 1px solid var(--sand-line);
    color: var(--night);
    font-size: .875rem;
    font-weight: 750;
    text-align: center;
  }
}

.customer-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.customer-nav a { display: inline-flex; align-items: center; }
.language-toggle { flex-shrink: 0; }
.catalog-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.catalog-filters label { display: grid; gap: 4px; flex: 0 1 230px; min-width: 0; }
.catalog-filters label[hidden] { display: none; }
.catalog-filters select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fcf4e6; color: var(--ink); font: inherit; }
html[dir="ltr"] .code, html[dir="ltr"] .title { text-align: left; }
html[dir="ltr"] .filters select { padding-inline: 12px 36px; background-position: right 12px center; }
@media(max-width: 680px) {
  .bar { flex-wrap: wrap; justify-content: flex-start; padding-block: 6px; }
  .identity { margin-inline-end: auto; }
  .language-toggle { padding-inline: 10px; }
  .catalog-filters label { flex: 1 0 min(100%, 160px); }
}

.quick-search { display: flex; gap: 8px; margin-top: clamp(12px, 2vw, 22px); }
.quick-search .primary { flex: none; }
.quick-search .search input { min-width: 0; }
.hero { margin-block-start: clamp(12px, 2vw, 22px); }
.filter-panel { margin-bottom: 12px; }
.filter-panel summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.filter-panel summary::-webkit-details-marker { display: none; }
.filter-panel summary::after { content: ""; inline-size: 7px; block-size: 7px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin-block-end: 4px; }
.filter-panel[open] summary::after { transform: rotate(225deg); margin-block-end: 0; }
.filter-panel .catalog-filters { margin-block: 10px 0; }
#filter-count { border-radius: 999px; background: var(--night); color: var(--light); min-width: 21px; text-align: center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters:not(:empty) { margin-bottom: 12px; }
.filter-tag { border: 1px solid var(--sand-line); background: #fffaf1; color: var(--ink); border-radius: 999px; min-height: 40px; padding-inline: 10px; }
.filter-tag span { margin-inline-start: 4px; font-weight: 750; }
.filter-tag.clear-all { background: var(--sand); font-weight: 750; }
.filter-tag { max-width: 100%; overflow-wrap: anywhere; }
.spec-field { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-weight: 700; }
.spec-field[hidden] { display: none; }
.spec-field select { max-width: 100%; min-height: 44px; padding-inline: 10px; color: var(--ink); background: var(--sand); border: 1px solid var(--sand-line); border-radius: 10px; }
#cart-notice {
  position: fixed;
  inset: auto 12px calc(14px + env(safe-area-inset-bottom)) auto;
  inset-inline: auto 12px;
  margin: 0;
  max-width: calc(100% - 24px);
  padding: 8px;
  background: var(--night);
  color: #fffaf1;
  border: 1px solid var(--sand-line);
  border-radius: 14px;
  box-shadow: 0 6px 24px #173a3455;
}
#cart-notice:popover-open { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#cart-notice-status { padding-inline: 4px; font-weight: 750; }
#notice-close { min-width: 44px; padding-inline: 8px; }
@media(max-width: 760px) {
  #cart-notice { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
.cart-lines { max-height: min(45dvh, 400px); overflow-y: auto; overscroll-behavior: contain; }
.cart-summary { border-top: 1px solid var(--sand-line); margin-top: 10px; }
.cart-summary .checkout-actions { display: grid; }
.cart-summary #whatsapp { font-weight: 850; }
.cart-summary .hint { margin-bottom: 0; }
@media(max-width: 420px) {
  .quick-search .search { gap: 8px; padding-inline: 10px; }
  .quick-search .primary { padding-inline: 10px; font-size: .875rem; }
}

.menu-toggle { display: inline-grid; place-items: center; inline-size: 44px; min-inline-size: 44px; padding: 0; }
.menu-icon { display: block; inline-size: 18px; block-size: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; }
#store-menu {
  position: fixed;
  inset-block: 0;
  inset-inline: 0 auto;
  margin: 0;
  width: min(88vw, 360px);
  height: 100%;
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  padding: max(14px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
html:has(#store-menu[open]) { overflow: hidden; }
.drawer-nav { display: grid; gap: 4px; margin-top: 12px; }
.drawer-nav h3 { font-size: .95rem; margin: 10px 0 3px; }
.drawer-nav a, .drawer-nav button {
  display: block;
  min-height: 44px;
  text-align: start;
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--night);
  background: #fbf2e2;
}
.drawer-nav :is(a,button):hover { background: var(--sand-hover); }
@media(max-width: 680px) {
  .bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 6px; }
  .bar .identity { min-width: 0; margin-inline-end: 0; gap: 6px; white-space: normal; }
  .bar .identity small { display: none; }
}

.brands.wrap { width: 100%; max-width: none; background: #1b1b1b; padding: 40px 16px; position: relative; margin-bottom: 32px; }
.brands .section-title, .brand-list { justify-content: center; text-align: center; }
.brands h2 { color: white; font-size: clamp(1.6rem,4vw,2.8rem); }
.brand-list { display: grid; grid-template-columns: repeat(4,minmax(0,156px)); gap: 14px; margin: auto; }
.brand-list .outline { width: 100%; height: 54px; padding: 0; overflow: hidden; background: white; color: #191919; border: 0; font-size: 1.24rem; font-weight: 800; }
.brand-list img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media(min-width:1200px) {
  .brand-list { grid-template-columns: repeat(8,minmax(0,1fr)); max-width: 1240px; }
}
.brand-list .outline { padding: 4px 8px; border-radius: 10px; }
.catalog-empty { grid-column: 1 / -1; padding: 24px 16px; text-align: center; background: var(--surface); border: 1px solid var(--sand-line); border-radius: 12px; }
.catalog-empty p { margin: 0 0 16px; }
.stock-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f9e6d6;
  color: #6e2a0a;
  font-weight: 700;
}
.categories button, .active-filters .filter-tag { min-height: 44px; }
[data-brand-link][hidden] { display: none; }
.brand-list button { overflow-wrap: anywhere; }
#brand-filter { min-height: 44px; }
.product-brand { display: block; font-size: .875rem; color: var(--green); font-weight: 700; }

@media (681px <= width <= 1050px) {
  .nav { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .nav a { padding-block: 3px; }
}

/* Storefront masthead and full-width campaign banner */
.header .bar { flex-wrap: nowrap; }
.header .quick-search { flex: 1; min-width: 0; margin: 0; width: auto; gap: 0; }
.header .quick-search .search { flex: 1; min-width: 0; border-radius: 0; border-start-start-radius: 24px; border-end-start-radius: 24px; }
.header .quick-search .primary { border-radius: 0; border-start-end-radius: 24px; border-end-end-radius: 24px; }
.header > .nav { justify-content: center; align-items: center; background: var(--night); color: #fff; min-height: 44px; }
.wrap.hero { margin: 0; width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; background: var(--green); }
.hero-inner { grid-template-columns: 1fr 1fr; min-height: clamp(410px,35vw,630px); }
.hero-copy { padding-inline-start: max(6vw,calc((100vw - 1240px)/2)); }
.hero-visual { clip-path: polygon(0 0,100% 0,84% 100%,0 100%); border: 0; }
html[dir=ltr] .hero-visual { clip-path: polygon(0 0,100% 0,100% 100%,16% 100%); }
.hero-actions a { border-radius: 24px; }
@media(max-width: 780px) {
  .header .bar { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .header .quick-search { order: 5; flex: 0 0 100%; }
  .hero-copy { padding: 26px 20px; }
}
@media(max-width: 680px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero .hero-visual { clip-path: none; min-height: 0; }
}

/* Shopping refinements */
.hero-inner { min-height: clamp(440px,35.4vw,720px); }
.hero h1 { font-size: clamp(2.2rem,4.2vw,4.2rem); text-wrap: balance; }
.hero-copy { padding-block: 32px; }
.header .quick-search { position: relative; }
#search-suggestions { position: absolute; top: calc(100% + 8px); inset-inline: 0; max-height: 390px; overflow: auto; border: 1px solid var(--sand-line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 28px #0002; z-index: 20; }
#search-suggestions[hidden] { display: none; }
#search-suggestions a, .related-products a { display: flex; align-items: center; gap: 10px; padding: 10px; color: #111; text-decoration: none; }
#search-suggestions a:hover, #search-suggestions a:focus-visible, .related-products a:hover { background: var(--sand); }
#search-suggestions img, .related-products img { object-fit: contain; background: white; flex: none; }
#search-suggestions span, .related-products span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#search-suggestions small { display: block; font-size: .75rem; overflow-wrap: anywhere; }
#search-suggestions bdi { font-size: .85rem; flex: none; }
.catalog-refinements { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.catalog-refinements label { display: grid; gap: 5px; flex: 1 1 170px; }
.catalog-refinements label[hidden] { display: none; }
.catalog-refinements select { width: 100%; font: inherit; min-height: 44px; border: 1px solid var(--sand-line); border-radius: 8px; padding: 7px; background: var(--surface); color: #111; }
#shopping-results { display: block; font-size: .9rem; margin-block-start: 8px; }
.zoom-trigger { display: block; width: 100%; border: 0; padding: 0; background: white; color: #111; cursor: zoom-in; }
.zoom-trigger span { display: block; padding: 7px; font-size: .85rem; }
.detail-photo { width: 100%; max-height: 340px; object-fit: contain; }
.photo-thumbnails { display: flex; gap: 8px; margin-block: 8px; }
.photo-thumbnails img { object-fit: contain; }
#photo-viewer { width: min(1000px,calc(100% - 24px)); }
#zoom-photo { width: 100%; height: auto; max-height: 72dvh; object-fit: contain; }
.related-products { border-top: 1px solid var(--sand-line); margin-top: 16px; }
.related-products a { border-bottom: 1px solid var(--sand-line); font-size: .9rem; }
.service-question { padding: 12px; background: var(--sand); border-radius: 8px; }
.service-question a { text-decoration: underline; color: var(--night); }
dialog { overscroll-behavior: contain; }
button, a { touch-action: manipulation; }
@media(max-width:680px) {
  .hero-inner { min-height: 0; }
  .related-products a { flex-wrap: wrap; }
  #search-suggestions { max-height: 45dvh; }
}
@media(max-width:680px) {
  .header .quick-search { grid-column: 1 / -1; width: 100%; }
}

@media(max-width:680px) {
  .brand-list { grid-template-columns: repeat(2,minmax(0,156px)); }
}


/* Integrate the workshop photograph into the full-width banner. */
.hero-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
.hero .hero-visual {
  padding: 0;
  background: #c8b69c;
  border: 0;
  clip-path: polygon(0 0,100% 0,85% 100%,0 100%);
}
html[dir=ltr] .hero .hero-visual {
  clip-path: polygon(0 0,100% 0,100% 100%,15% 100%);
}
.hero-visual picture { display: contents; }
.hero .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 0;
}
@media(max-width:680px) {
  .hero-inner { grid-template-columns: minmax(0,1fr); }
  .hero .hero-visual, html[dir=ltr] .hero .hero-visual {
    min-height: 0;
    aspect-ratio: 2;
    clip-path: none;
  }
}

@media(min-width:681px) {
  .hero-copy { padding-inline-end: clamp(16px,3vw,48px); }
  .hero h1 { font-size: clamp(2.3rem,4.2vw,4.7rem); line-height: 1.2; }
}

.wrap.hero { background: linear-gradient(112deg,#17221e 28%,#193a2e 54%,var(--green) 80%); }
html[dir=ltr] .wrap.hero { background: linear-gradient(68deg,var(--green) 20%,#193a2e 46%,#17221e 72%); }
.hero .hero-visual, html[dir=ltr] .hero .hero-visual { background: transparent; clip-path: none; }
.hero .hero-visual img { object-fit: contain; object-position: center bottom; padding: 16px 4% 0; }
@media(max-width:680px) {
  .hero .hero-visual { aspect-ratio: 1.48; }
  .wrap.hero, html[dir=ltr] .wrap.hero { background: linear-gradient(158deg,var(--green) 30%,#193a2e 56%,#17221e 82%); }
}

.catalog-filter-controls { display: grid; gap: 8px; margin-top: 14px; }
.filter-panel[open] { padding: 12px; border: 1px solid var(--sand-line); border-radius: 12px; }
.catalog-filter-controls .catalog-refinements { margin: 0; }
.card .price { color: #111; font-variant-numeric: tabular-nums; }
@media(max-width:680px) {
  .hero-copy { padding-block: 22px; }
  .hero .hero-visual { aspect-ratio: 1.85; }
}

.top-contact { display: inline-flex; align-items: center; gap: 5px; }
.top-contact svg { width: 15px; height: 15px; flex: none; color: var(--gold); }

.shopping-page { padding-block: clamp(22px,4vw,56px); }
.shopping-page[hidden] { display: none; }
.back-to-catalog { display: inline-block; margin-bottom: 20px; }
.product-hero { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); gap: clamp(18px,4vw,52px); align-items: start; margin-bottom: 28px; }
.product-media { background: white; border: 1px solid var(--sand-line); border-radius: 14px; overflow: hidden; }
.product-media .detail-photo { max-height: 490px; }
.product-summary h1, #cart-title { font-size: clamp(1.65rem,3.1vw,2.65rem); line-height: 1.25; }
.product-summary .price { font-size: 1.45rem; }
#cart.shopping-page { max-width: 900px; }
#cart.shopping-page .cart-lines { max-height: none; overflow: visible; }
#cart.shopping-page .cart-summary { margin-top: 20px; }
#cart.shopping-page .service-question { display: inline-block; }
@media(max-width:680px) {
  .product-hero { grid-template-columns: minmax(0,1fr); }
  .product-media .detail-photo { max-height: 330px; }
}
