@font-face {
  font-family: "Al-Amer";
  src: url("../fonts/Al-Amer-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #111110;
  --surface: #191815;
  --surface-raised: #201e19;
  --text: #f0ece2;
  --muted: #b4ad9f;
  --gold: #c8a866;
  --gold-light: #e4cc91;
  --line: rgba(200, 168, 102, .24);
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  --font-ar: "Al-Amer", Tahoma, Arial, sans-serif;
  --font-en: "Segoe UI", Arial, sans-serif;
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --surface-raised: #f0eadf;
  --text: #26231d;
  --muted: #655e52;
  --gold: #987536;
  --gold-light: #795c26;
  --line: rgba(133, 101, 43, .25);
  --shadow: 0 22px 60px rgba(50, 42, 25, .1);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); line-height: 1.8; }
body, button, input, select, textarea { font-family: var(--font-ar); }
html[lang="en"] { font-family: var(--font-en); }
html[lang="en"] body, html[lang="en"] button, html[lang="en"] input, html[lang="en"] select, html[lang="en"] textarea { font-family: var(--font-en); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 100; padding: 10px 16px; border: 1px solid var(--gold); border-radius: 4px 12px; color: var(--bg); background: var(--gold-light); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
::selection { color: #16130e; background: var(--gold-light); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  padding: 10px max(5%, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #080808; }
.brand span { display: grid; line-height: 1.45; }
.brand strong { font-size: 14px; }
.brand small { color: var(--gold); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 27px); }
.site-nav a { color: var(--muted); font-size: 13px; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--gold-light); }
.site-nav a.active { box-shadow: inset 0 -2px var(--gold); }
.menu-backdrop { display: none; }
.menu-open { overflow: hidden; }
.header-actions { display: flex; gap: 8px; }
.theme-toggle, .language-toggle, .menu-toggle {
  min-width: 40px;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--gold-light);
  border: 1px solid var(--line);
  border-radius: 4px 12px;
  background: var(--surface);
}
.language-toggle { min-width: 48px; font: 700 12px var(--font-en); }
.menu-toggle { display: none; }

.hero, .page-hero, .section, .trust-strip, .cta-band, .site-footer { padding-inline: max(6%, calc((100% - 1200px) / 2)); }
.hero {
  min-height: 550px;
  padding-block: clamp(55px, 8vw, 100px);
  display: grid;
  grid-template-columns: 1fr .83fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  background: radial-gradient(ellipse at 12% 20%, rgba(200,168,102,.12), transparent 42%), linear-gradient(140deg, var(--surface), var(--bg) 72%);
}
.hero-copy { max-width: 580px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 12px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-hero h1 { max-width: 800px; margin: 16px 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.28; letter-spacing: -.035em; }
.hero h1 span, .page-hero h1 span { color: var(--gold); }
.hero-description, .page-hero > p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 15px; line-height: 2; }
.hero-actions { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 48px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; border-radius: 4px 14px; font-size: 12px; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:active, .small-button:active, .filter-reset:active, .pill-filter:active { transform: translateY(1px) scale(.99); }
.button-primary { color: #17140f; background: var(--gold); }
.button-primary:hover { background: var(--gold-light); }
.button-outline { color: var(--gold-light); border-color: var(--line); background: transparent; }
.button-outline:hover { background: var(--surface-raised); }
.hero-proof { margin-top: 29px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.proof-mark { width: 21px; height: 21px; display: grid; place-items: center; color: var(--bg); background: var(--gold); border-radius: 50%; }
.hero-image { min-width: 0; max-width: 430px; justify-self: center; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 4px 70px 4px 4px; background: var(--surface-raised); box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.hero-image:hover img { transform: scale(1.035); }
.image-caption { position: absolute; inset-inline: 0; bottom: 0; padding: 12px 16px; display: flex; justify-content: space-between; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 10px; }

.trust-strip { padding-block: 25px; display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; align-items: center; gap: 18px; border-block: 1px solid var(--line); background: var(--surface); }
.announcement-carousel { position: relative; margin: 0 max(6%, calc((100% - 1200px) / 2)); padding: 18px 170px 18px 22px; border: 1px solid var(--line); border-radius: 4px 18px; background: linear-gradient(100deg, rgba(200,168,102,.16), var(--surface)); overflow: hidden; }
.announcement-track { min-height: 52px; display: grid; align-items: center; }
.announcement-slide { animation: announcement-fade .45s ease both; }
.announcement-slide strong { color: var(--gold-light); }
.announcement-slide p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.announcement-slide a { color: inherit; text-decoration: none; }
.announcement-notify { position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 8px 12px; border: 1px solid var(--gold); border-radius: 4px 12px; background: var(--surface-raised); color: var(--text); cursor: pointer; }
@keyframes announcement-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.trust-strip div { display: grid; padding-inline-end: 14px; border-inline-end: 1px solid var(--line); }
.trust-strip strong { color: var(--gold-light); font: 700 27px var(--font-en); }
.trust-strip div span, .trust-strip p { margin: 0; color: var(--muted); font-size: 10px; }

.section { padding-block: clamp(54px, 7vw, 88px); }
.section-heading { margin-bottom: 27px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.section-heading h2, .cta-band h2, .about-card h2, .inquiry-section h2 { margin: 4px 0 0; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 12px; white-space: nowrap; }
.text-link:hover { gap: 15px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card { min-height: 250px; padding: 0 16px 17px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 4px 22px; background: var(--surface); transition: transform .2s, border-color .2s; }
.category-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.category-card img { width: calc(100% + 32px); height: 143px; margin-inline: -16px; display: block; object-fit: cover; object-position: center 35%; }
.category-index { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 8px; color: #fff; background: rgba(16,16,16,.75); border-radius: 12px; font: 10px var(--font-en); }
.category-card h3 { margin: 12px 0 5px; font-size: 15px; }
.category-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.feature-section { background: linear-gradient(180deg, transparent, var(--surface) 40%, transparent); }
.brand-section { padding-top: 35px; }
.brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.brand-card { min-height: 112px; padding: 14px; display: grid; align-items: center; justify-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 4px 16px; background: var(--surface); transition: transform .2s, border-color .2s; }
.brand-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.brand-card img { width: 100%; height: 55px; object-fit: contain; }
.brand-card strong { font: 700 12px var(--font-en); text-align: center; }
.cta-band { margin: 0 max(6%, calc((100% - 1200px) / 2)) 65px; padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 4px 24px; background: linear-gradient(115deg, var(--surface-raised), var(--surface)); }
.cta-band h2 { max-width: 700px; font-size: clamp(21px, 3vw, 32px); }

.page-hero { padding-block: 68px 48px; background: radial-gradient(ellipse at 12% 10%, rgba(200,168,102,.1), transparent 45%), var(--surface); }
.page-hero h1 { font-size: clamp(37px, 5.5vw, 62px); }
.catalog-section { padding-top: 42px; }
.filter-panel { padding: 18px; display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(2, minmax(150px, .8fr)) auto; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: 4px 18px; background: var(--surface); }
.filter-panel label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.filter-panel input, .filter-panel select, .inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px 11px;
  background: var(--bg);
  font-size: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.filter-panel input:focus-visible, .filter-panel select:focus-visible, .inquiry-form input:focus-visible, .inquiry-form select:focus-visible, .inquiry-form textarea:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); }
html[data-theme="light"] .filter-panel input, html[data-theme="light"] .filter-panel select, html[data-theme="light"] .inquiry-form input, html[data-theme="light"] .inquiry-form select, html[data-theme="light"] .inquiry-form textarea { background: #fff; }
.filter-reset { min-height: 46px; padding: 8px 14px; color: var(--gold-light); border: 1px solid var(--line); border-radius: 4px 11px; background: transparent; font-size: 12px; transition: border-color .2s, background .2s; }
.filter-reset:hover { border-color: var(--gold); background: var(--surface-raised); }
.results-count { min-height: 23px; margin: 14px 0; color: var(--muted); font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: clamp(11px, 1.5vw, 18px); }
.product-card { min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 4px 18px; background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.1); transition: transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.product-card-image { width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 0; position: relative; display: block; overflow: hidden; background: #fffdf8; }
.product-card-image.is-variant { aspect-ratio: 1 / 1; }
.product-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.product-card-body { min-width: 0; padding: 15px; display: grid; align-content: start; gap: 7px; }
.product-badge { width: fit-content; padding: 3px 8px; color: var(--gold-light); border: 1px solid var(--line); border-radius: 3px 9px; font: 700 9px var(--font-en); }
.product-category { width: fit-content; max-width: 100%; margin: 0; padding: 2px 8px; color: var(--muted); border-radius: 3px 9px; background: var(--surface-raised); font-size: 9px; line-height: 1.7; }
.product-card h3 { margin: 0; font-size: 15px; line-height: 1.55; }
.product-card p:not(.product-category) { min-height: 54px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.product-card-actions { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 8px; }
.load-more-products { margin: 25px auto 0; display: flex; }
.load-more-products[hidden] { display: none; }
.small-button { min-height: 40px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 4px 10px; color: var(--gold-light); background: transparent; font-size: 11px; }
.small-button:hover { background: var(--surface-raised); }
.small-button[aria-pressed="true"] { border-color: var(--gold); background: rgba(200, 168, 102, .13); }
.quote-tray { position: fixed; z-index: 20; inset-inline-start: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); max-height: min(60vh, 480px); overflow: auto; padding: 16px; border: 1px solid var(--line); border-radius: 4px 18px; background: var(--surface); box-shadow: var(--shadow); }
.quote-tray[hidden] { display: none; }
.quote-tray > strong { display: block; margin-bottom: 8px; color: var(--gold-light); }
.quote-tray ul { display: grid; gap: 6px; max-height: 180px; overflow: auto; margin: 0 0 12px; padding: 0; list-style: none; }
.quote-tray li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; }
.quote-tray li button { flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface-raised); cursor: pointer; }
.quote-tray-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-tray-status { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.quote-summary { grid-column: 1 / -1; padding: 16px; border: 1px solid var(--line); border-radius: 4px 16px; background: var(--surface-raised); }
.quote-summary[hidden] { display: none; }
.quote-summary h3 { margin: 0 0 10px; font-size: 16px; }
.quote-summary ul { display: grid; gap: 6px; margin: 0 0 12px; padding-inline-start: 20px; color: var(--muted); font-size: 13px; }
.empty-state { margin-top: 20px; padding: 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: 4px 16px; text-align: center; }
.product-dialog, .catalog-dialog { width: min(900px, calc(100% - 28px)); max-height: min(90vh, 900px); max-height: min(90dvh, 900px); overflow: auto; padding: 25px; position: fixed; border: 1px solid var(--line); border-radius: 5px 22px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.product-dialog::backdrop, .catalog-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.dialog-close { width: 38px; height: 38px; position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--surface); font-size: 24px; }
.dialog-product { padding-top: 34px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.dialog-product img { width: 100%; height: clamp(220px, 42vh, 420px); height: clamp(220px, 42dvh, 420px); object-fit: contain; background: #fffdf8; border-radius: 4px 16px; }
.dialog-product h2 { font-size: 25px; }
.dialog-product p { color: var(--muted); font-size: 13px; }
.dialog-product .catalog-ref { margin-block: 18px; color: var(--gold-light); font-size: 12px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.catalog-dialog { width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 54px 18px 18px; display: none; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; gap: 12px; align-content: center; justify-items: stretch; overflow: hidden; background: radial-gradient(ellipse at 50% 0, rgba(200,168,102,.12), transparent 50%), var(--surface); }
.catalog-dialog[open] { display: grid; }
.catalog-dialog figure { width: 100%; height: min(72dvh, 700px); min-height: 0; margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; }
.catalog-dialog figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 4px 14px; background: rgba(255,255,255,.04); }
.catalog-dialog figcaption { padding: 10px 12px 2px; color: var(--text); text-align: center; font-size: 12px; font-weight: 700; }
.gallery-step { width: 44px; height: 44px; position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid var(--line); border-radius: 50%; color: var(--gold-light); background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 5px 18px rgba(0,0,0,.2); font-size: 20px; transition: background .2s, border-color .2s, color .2s; }
.gallery-step:hover { border-color: var(--gold); color: var(--text); background: var(--surface-raised); }
.gallery-prev { inset-inline-start: 14px; }
.gallery-next { inset-inline-end: 14px; }
html[dir="rtl"] .gallery-step { transform: translateY(-50%) scaleX(-1); }
.download-link { width: fit-content; min-height: 38px; margin-inline: auto; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px 12px; color: var(--gold-light); background: var(--surface-raised); font-size: 11px; transition: border-color .2s, background .2s; }
.download-link:hover { border-color: var(--gold); background: var(--surface); }
.catalog-filter-panel { grid-template-columns: minmax(200px,1fr) 1fr; align-items: start; }
.filter-caption { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.pill-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-filter { min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 4px 11px; color: var(--muted); background: transparent; font-size: 12px; transition: border-color .2s, background .2s, color .2s; }
.pill-filter:hover { border-color: var(--gold); color: var(--text); }
.pill-filter[aria-pressed="true"] { color: var(--bg); border-color: var(--gold); background: var(--gold); }
.catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 13px; }
.catalog-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px 14px; background: var(--surface); }
.catalog-card[hidden] { display: none; }
.catalog-card button { width: 100%; padding: 0; border: 0; color: var(--text); background: transparent; text-align: start; }
.catalog-card img { width: 100%; height: auto; display: block; aspect-ratio: 320 / 453; object-fit: contain; background: #fffdf8; }
.catalog-card figcaption { min-height: 52px; padding: 9px 11px; display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 12px; }
.catalog-card figcaption span { color: var(--gold-light); font: 10px var(--font-en); }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.about-card { min-height: 245px; padding: 24px; border: 1px solid var(--line); border-radius: 4px 20px; background: var(--surface); }
.about-card h2 { margin-block: 10px; font-size: 21px; }
.about-card p { color: var(--muted); font-size: 12px; line-height: 2; }
.about-source-note { max-width: 860px; margin: -20px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.about-brand-card { min-height: 0; }
.about-brand-card h3 { margin: 4px 0 0; font-size: 16px; }
.about-brand-logo { width: min(100%, 190px); height: 54px; object-fit: contain; }
.about-brand-card .text-link { margin-top: 12px; }
.about-year strong { display: block; margin-block: 7px 13px; color: var(--gold); font: 700 clamp(40px,6vw,66px) var(--font-en); }
.about-note { margin: 0 max(6%, calc((100% - 1200px) / 2)) 60px; padding: 25px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 4px 20px; background: var(--surface-raised); }
.about-note h2 { margin: 0; font-size: clamp(20px,3vw,29px); }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-panel { min-height: 165px; padding: 21px; border: 1px solid var(--line); border-radius: 4px 18px; background: var(--surface); }
.contact-panel h2 { margin: 4px 0 12px; font-size: 19px; }
.contact-panel p:not(.eyebrow), .contact-panel small { color: var(--muted); font-size: 12px; }
.phone-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.phone-grid a { min-height: 44px; padding: 9px 4px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px 10px; color: var(--gold-light); font: 700 12px var(--font-en); text-align: center; }
.phone-grid a:hover { background: var(--surface-raised); }
.contact-value { display: block; margin-bottom: 11px; color: var(--gold-light); font-family: var(--font-en); }
.contact-button { min-height: 38px; }
.inquiry-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 30px; background: linear-gradient(180deg, transparent, var(--surface) 25%); }
.inquiry-section > div > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 2; }
.inquiry-form { padding: 22px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; border: 1px solid var(--line); border-radius: 4px 20px; background: var(--surface); }
.inquiry-form label { min-width: 0; display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.inquiry-form textarea { min-height: 120px; resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.form-status { min-height: 20px; margin: 0; color: var(--gold-light); font-size: 11px; }
.site-footer { padding-block: 28px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px 25px; align-items: center; border-top: 1px solid var(--line); background: #0a0a09; }
html[data-theme="light"] .site-footer { background: #29251f; color: #f1eee6; }
.brand-footer img { width: 40px; height: 40px; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 10px; }
.footer-links a:hover { color: var(--gold-light); }
.site-footer > small { grid-column: 1 / -1; padding-top: 10px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; }
.back-to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 8; width: 42px; height: 42px; opacity: 0; pointer-events: none; border: 1px solid var(--line); border-radius: 50%; color: var(--bg); background: var(--gold); transform: translateY(8px); transition: opacity .2s, transform .2s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 950px) {
  .site-header { gap: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; order: 2; }
  .site-nav { display: flex; position: absolute; inset-inline: 0; top: 100%; padding: 10px 5% 18px; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); background: var(--bg); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .24s ease, transform .24s ease, visibility .24s; }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 11px 8px; border-bottom: 1px solid var(--line); }
  .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 9; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s ease, visibility .24s; }
  .menu-backdrop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
  .header-actions { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr .75fr; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-year { grid-column: 1 / -1; min-height: auto; }
}
@media (max-width: 620px) {
  .site-header { min-height: 66px; padding-inline: 4%; }
  .brand { gap: 7px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 9px; }
  .menu-toggle { min-width: 60px; min-height: 44px; font-size: 10px; }
  .theme-toggle, .language-toggle { min-width: 42px; min-height: 44px; padding: 6px; }
  .header-actions { gap: 5px; }
  .hero { padding-block: 42px 32px; grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-description { font-size: 13px; }
  .hero-image { width: 100%; max-width: 390px; border-radius: 4px 45px 4px 4px; }
  .trust-strip { grid-template-columns: repeat(3,1fr); gap: 9px; }
  .trust-strip div { padding-inline-end: 6px; }
  .trust-strip strong { font-size: 22px; }
  .trust-strip div span, .trust-strip p { font-size: 10px; }
  .trust-strip p { grid-column: 1 / -1; }
  .section { padding-block: 48px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 25px; }
  .category-grid { gap: 9px; }
  .category-card { min-height: 218px; padding-inline: 11px; }
  .category-card img { width: calc(100% + 22px); height: 120px; margin-inline: -11px; }
  .category-card h3 { font-size: 12px; }
  .category-card p { font-size: 11px; }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .brand-card { min-height: 90px; padding: 10px; }
  .brand-card img { height: 43px; }
  .cta-band { margin: 0 4% 45px; padding: 20px; align-items: start; flex-direction: column; }
  .cta-band h2 { font-size: 21px; }
  .page-hero { padding-block: 46px 34px; }
  .page-hero h1 { font-size: 39px; }
  .filter-panel, .catalog-filter-panel { grid-template-columns: 1fr; padding: 13px; }
  .filter-reset { width: 100%; }
  .product-grid { grid-template-columns: 1fr; gap: 11px; }
  .product-card { grid-template-rows: auto 1fr; }
  .product-card-image { aspect-ratio: 1 / 1; }
  .product-card-body { padding: 11px; gap: 5px; }
  .product-card h3 { font-size: 13px; }
  .product-card p:not(.product-category) { min-height: 0; font-size: 11px; }
  .catalog-section .product-grid,
  .brand-hero + .section .product-grid,
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .catalog-section .product-card,
  .brand-hero + .section .product-card,
  .featured-grid .product-card { border-color: color-mix(in srgb, var(--line) 75%, var(--gold)); border-radius: 5px 16px; box-shadow: 0 5px 16px rgba(0,0,0,.08); }
  .catalog-section .product-card-image,
  .brand-hero + .section .product-card-image,
  .featured-grid .product-card-image { aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 40%, rgba(200,168,102,.1), transparent 68%), #fffdf8; }
  .catalog-section .product-card-image img,
  .brand-hero + .section .product-card-image img,
  .featured-grid .product-card-image img { padding: 8px; transition: transform .25s ease; }
  .catalog-section .product-card-image:active img,
  .brand-hero + .section .product-card-image:active img,
  .featured-grid .product-card-image:active img { transform: scale(.96); }
  .catalog-section .product-card-body,
  .brand-hero + .section .product-card-body,
  .featured-grid .product-card-body { min-height: 82px; padding: 8px; gap: 4px; }
  .catalog-section .product-badge,
  .brand-hero + .section .product-badge,
  .featured-grid .product-badge { padding: 3px 7px; border-color: color-mix(in srgb, var(--gold) 30%, var(--line)); border-radius: 3px 8px; background: var(--surface-raised); font-size: 8px; letter-spacing: .04em; }
  .catalog-section .product-card h3,
  .brand-hero + .section .product-card h3,
  .featured-grid .product-card h3 { min-height: 31px; display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .catalog-section .product-category,
  .brand-hero + .section .product-category,
  .featured-grid .product-category { max-width: 100%; padding: 2px 6px; overflow: hidden; border-radius: 3px 7px; font-size: 8px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
  .catalog-section .product-card p:not(.product-category),
  .catalog-section .product-card-actions,
  .brand-hero + .section .product-card p:not(.product-category),
  .brand-hero + .section .product-card-actions,
  .featured-grid .product-card p:not(.product-category),
  .featured-grid .product-card-actions { display: none; }
  .small-button { min-height: 33px; padding: 6px 7px; font-size: 9px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .catalog-card figcaption { min-height: 44px; padding: 6px; font-size: 10px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-year { grid-column: auto; }
  .about-card { min-height: 0; padding: 19px; }
  .about-note { margin: 0 4% 42px; padding: 18px; align-items: start; flex-direction: column; }
  .contact-panel { padding: 17px; }
  .phone-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .inquiry-section { grid-template-columns: 1fr; gap: 18px; }
  .inquiry-form { padding: 15px; grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 13px; }
  .site-footer > small { grid-column: auto; }
  .footer-links { gap: 10px 14px; }
  .dialog-product { grid-template-columns: 1fr; gap: 15px; }
  .dialog-product img { height: clamp(170px, 32vh, 260px); height: clamp(170px, 32dvh, 260px); }
  .product-dialog { padding: 18px; }
  .catalog-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 48px 10px 12px; gap: 8px; }
  .catalog-dialog figure { height: min(68dvh, 600px); }
  .catalog-dialog figcaption { padding-top: 8px; font-size: 11px; }
  .gallery-step { width: 38px; height: 38px; }
  .gallery-prev { inset-inline-start: 8px; }
  .gallery-next { inset-inline-end: 8px; }
  .download-link { min-height: 36px; }
  .catalog-section .product-grid { grid-template-columns: 1fr; }
  .catalog-section .product-card { grid-template-columns: minmax(100px, .34fr) minmax(0, 1fr); grid-template-rows: 1fr; }
  .catalog-section .product-card-image { height: auto; min-height: 148px; aspect-ratio: 1 / 1; }
  .catalog-section .product-card-image img { padding: 10px; }
  .catalog-section .product-card-body { min-height: 0; padding: 12px; gap: 7px; }
  .catalog-section .product-card h3 { min-height: 0; display: block; font-size: 14px; line-height: 1.5; }
  .catalog-section .product-category { padding: 3px 7px; font-size: 10px; }
  .catalog-section .product-card p:not(.product-category) { display: block; font-size: 11px; }
  .catalog-section .product-card-actions { display: flex; }
  .catalog-section .small-button { min-height: 40px; padding: 7px 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.product-assistant {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 88px;
  z-index: 25;
  width: min(360px, calc(100vw - 24px));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px 20px 18px 18px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.product-assistant.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.assistant-header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.assistant-badge {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font: 700 11px var(--font-en);
  color: #191815;
  background: var(--gold);
}
.assistant-header strong {
  font-size: 15px;
}
.assistant-close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 18px;
}
.assistant-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding-inline-end: 4px;
}
.assistant-message {
  display: flex;
}
.assistant-message p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.7;
  font-size: 12px;
}
.assistant-message.bot p {
  max-width: 92%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-raised) 88%, transparent);
}
.assistant-message.user {
  justify-content: flex-end;
}
.assistant-message.user p {
  max-width: 86%;
  color: #17140f;
  background: var(--gold);
}
.assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.assistant-chip {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  font-size: 11px;
}
.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.assistant-input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text);
}
.assistant-send {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--gold);
  color: #17140f;
  font-weight: 700;
}
.assistant-launcher {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 22px;
  z-index: 24;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: #17140f;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.assistant-result {
  display: grid;
  gap: 8px;
  max-width: 100%;
  padding: 10px 0 0;
}
.assistant-result strong {
  font-size: 12px;
  color: var(--gold-light);
}
.assistant-result-button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-raised);
  color: var(--text);
  text-align: start;
  font-size: 11px;
  line-height: 1.5;
}
.assistant-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.assistant-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.assistant-admin {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.assistant-admin-panel {
  display: none;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
}
.assistant-admin-panel.is-open {
  display: grid;
  gap: 8px;
}
.assistant-admin-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.assistant-admin-panel label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
}
.assistant-admin-panel input,
.assistant-admin-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 10px;
}
.assistant-admin-save,
.assistant-admin-close {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gold);
  color: #17140f;
  font-weight: 700;
}
.assistant-admin-close {
  background: transparent;
  color: var(--text);
}
.assistant-cta-row {
  margin-top: 8px;
}
.assistant-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  background: var(--gold);
  color: #17140f;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 620px) {
  .product-assistant {
    inset-inline-end: 12px;
    bottom: 72px;
    width: min(320px, calc(100vw - 16px));
  }
  .assistant-launcher {
    inset-inline-end: 12px;
    bottom: 14px;
    padding: 8px 12px;
    font-size: 11px;
  }
}
