/* ==========================================================================
   Raytabuk — multi-page site styles (loaded after style.css).
   Palette: #123C2F brand green, #23845B interactive green, #F7F8F3 background,
   #D7C7A3 limited sand accent. Logical properties throughout (RTL/LTR safe).
   ========================================================================== */
:root {
  --brand: #123C2F;
  --brand-ink: #0c2b21;
  --action: #23845B;
  --action-hover: #1c6f4c;
  --action-text: #1b6b48;
  --page: #F7F8F3;
  --card: #ffffff;
  --line: #dfe3da;
  --sand: #D7C7A3;
  --sand-soft: #efe8d3;
  --ink: #16201b;
  --muted: #4d564b;
  --header-h: 76px;
  --page-max: 1240px;
  --r-card: 14px;
}

body { background: var(--page); color: var(--ink); padding-block-start: 0; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 2000;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ------------------------------ Header ---------------------------------- */
.nav, .nav.is-scrolled {
  position: sticky; top: 0; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: none;
}
.nav::before { display: none; }
.nav.menu-open { background: var(--surface); }
.nav .nav-inner { gap: 16px; }
.nav .brand { gap: 10px; flex-shrink: 0; }
.nav .brand-logo { height: 44px; padding: 0; background: transparent; border-radius: 0; }
.nav .brand-word { color: var(--heading); font-size: 1.05rem; line-height: 1.15; max-width: 150px; }
.nav .nav-links { gap: 22px; }
.nav .nav-link, .nav.is-scrolled .nav-link { color: var(--ink); font-size: 0.95rem; }
.nav .nav-link.is-active, .nav.is-scrolled .nav-link.is-active { color: var(--action-text); }
.nav .nav-link::after { background: var(--action); }
.nav .icon-btn, .nav.is-scrolled .icon-btn { color: var(--heading); }
.nav .icon-btn:hover { background: var(--tint); }
.nav .lang-switch, .nav.is-scrolled .lang-switch { border-color: var(--line); color: var(--heading); background: var(--surface); }
.nav .lang-switch:hover { background: var(--tint); }
.nav .nav-actions { gap: 6px; }
.nav-quote { display: none; }
.nav-search { display: none; position: relative; flex: 1 1 260px; max-width: 340px; }
.nav-search input {
  width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  padding-inline: 44px 16px; font: inherit; font-size: 0.9rem; color: var(--ink);
}
.nav-search input:focus { border-color: var(--action); outline: none; box-shadow: 0 0 0 3px rgba(35,132,91,.2); }
.nav-search svg { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.cart-badge {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding-inline: 4px;
  border-radius: 999px; background: var(--action); color: #fff; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn { position: relative; }
.nav .nav-link { white-space: nowrap; }
@media (min-width: 1100px) { .nav-quote { display: inline-flex; } }
@media (min-width: 1360px) { .nav-search { display: block; } }
@media (min-width: 1100px) and (max-width: 1359px) { .nav .brand-word { display: none; } .nav .nav-links { gap: 18px; margin-inline-start: auto; } }
.mobile-menu { background: var(--surface); padding-block-start: calc(var(--header-h) + 12px); }
.mobile-menu .nav-link { color: var(--ink); font-size: 1.1rem; border-bottom-color: var(--line); }
.mobile-menu .icon-btn { color: var(--heading); }
.mobile-search { margin-block-end: 16px; }
.mobile-search input { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding-inline: 14px; font: inherit; }

/* ------------------------------ Layout ---------------------------------- */
.container { max-width: var(--page-max); padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.section { padding-block: 56px; }
@media (min-width: 900px) { .section { padding-block: 84px; } }
.section--alt { background: var(--tint); }
.section--dark { background: var(--brand); }
.section--sand { background: var(--sand-soft); }
.eyebrow { color: var(--action-text); text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.eyebrow::before { background: var(--sand); width: 28px; height: 3px; }
.section--dark .eyebrow { color: var(--sand); }
.section-title { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); color: var(--heading); }
.section-head { margin-block-end: 32px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--action-text); }
.link-arrow:hover { text-decoration: underline; }
[dir="rtl"] .link-arrow svg, [dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.btn { border-radius: 10px; min-height: 46px; padding: 12px 22px; font-weight: 700; }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { background: var(--surface); color: var(--heading); border-color: var(--heading); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-light { background: var(--surface); color: var(--heading); }
.btn-light:hover { background: var(--sand-soft); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-whatsapp { background: #0f7a40; color: #fff; }
.btn-whatsapp:hover { background: #0c6735; }

/* ------------------------------ Page header ------------------------------ */
.page-head { background: var(--brand); color: #fff; padding-block: 36px 40px; }
.page-head .eyebrow { color: var(--sand); }
.page-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); color: #fff; margin-block-end: 8px; }
.page-head p { color: #cfe0d8; max-width: 62ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; margin-block-end: 14px; color: #bcd2c8; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* -------------------------------- Hero --------------------------------- */
.hero2 { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.hero2-grid { display: grid; gap: 28px; padding-block: 36px 44px; align-items: center; }
.hero2 h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); line-height: 1.2; color: #fff; margin-block: 12px 16px; }
.hero2 .eyebrow { color: var(--sand); }
.hero2-sub { color: #d6e5de; font-size: 1.05rem; max-width: 56ch; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.hero2-media { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.hero2-media figure { margin: 0; border-radius: var(--r-card); overflow: hidden; background: #0c2b21; }
.hero2-media img, .hero2-media video { width: 100%; height: 100%; object-fit: cover; }
.hero2-media .m-main { grid-row: span 2; min-height: 300px; }
.hero2-media .m-sub { min-height: 144px; }
@media (min-width: 900px) {
  .hero2-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 56px 64px; }
  .hero2-media .m-main { min-height: 440px; }
  .hero2-media .m-sub { min-height: 214px; }
}
.hero2::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(215,199,163,.18), transparent 70%); pointer-events: none; }

/* --------------------------- Category tiles ----------------------------- */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 18px; min-height: 132px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cat-tile:hover { border-color: var(--action); box-shadow: 0 8px 22px -12px rgba(18,60,47,.35); transform: translateY(-2px); }
.cat-tile .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--heading); display: grid; place-items: center; }
.cat-tile .ci svg { width: 24px; height: 24px; }
.cat-tile strong { color: var(--heading); font-size: 1.02rem; }
.cat-tile span.n { color: var(--muted); font-size: 0.85rem; }

/* ---------------------------- Product cards ----------------------------- */
.prod-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.prod-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.prod-card:hover { border-color: var(--line-strong); box-shadow: 0 8px 22px -14px rgba(18,60,47,.45); }
.prod-media {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--tint), var(--tint-2)); display: grid; place-items: center;
  color: var(--icon-muted); position: relative;
}
.prod-media svg { width: 44px; height: 44px; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-media .ph-cap { position: absolute; inset-inline: 8px; bottom: 6px; font-size: 0.7rem; color: var(--icon-muted); text-align: center; }
.prod-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
.prod-cat { font-size: 0.75rem; color: var(--action-text); font-weight: 700; }
.prod-name { font-size: 0.95rem; font-weight: 700; line-height: 1.45; color: var(--ink); direction: auto; text-align: start; unicode-bidi: plaintext; }
.prod-name a:hover { color: var(--action-text); }
.prod-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.74rem; background: var(--tint); color: var(--tag-text); border-radius: 6px; padding: 2px 8px; font-weight: 600; }
.prod-foot { margin-block-start: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block-start: 6px; }
.price { font-weight: 800; color: var(--heading); font-size: 1.05rem; white-space: nowrap; }
.price small { font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.add-btn { min-height: 42px; padding: 8px 14px; font-size: 0.85rem; }

/* ------------------------------ Shop layout ----------------------------- */
.shop-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .shop-layout { grid-template-columns: 280px 1fr; align-items: start; } }
.filters {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px;
}
.filter-group { border-block-end: 1px solid var(--line); padding-block: 14px; }
.filter-group:first-of-type { padding-block-start: 0; }
.filter-group:last-child { border-block-end: 0; padding-block-end: 0; }
.filter-group h3 { font-size: 0.95rem; margin-block-end: 10px; color: var(--heading); }
.f-list { display: grid; gap: 4px; max-height: 240px; overflow: auto; }
.f-opt { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 8px; cursor: pointer; font-size: 0.92rem; }
.f-opt:hover { background: var(--surface-2); }
.f-opt input { width: 18px; height: 18px; accent-color: var(--action); }
.f-opt .cnt { margin-inline-start: auto; color: var(--muted); font-size: 0.8rem; }
.f-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-range label { display: grid; gap: 4px; font-size: 0.8rem; color: var(--muted); }
.f-range input, .select, .shop-search input {
  width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding-inline: 12px; font: inherit; background: var(--surface); color: var(--ink);
}
.f-range input:focus, .select:focus, .shop-search input:focus { border-color: var(--action); outline: none; box-shadow: 0 0 0 3px rgba(35,132,91,.2); }
.shop-top { display: grid; gap: 12px; margin-block-end: 16px; }
.shop-search { position: relative; }
.shop-search input { height: 52px; padding-inline-start: 46px; font-size: 1rem; }
.shop-search svg { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.shop-count { font-weight: 700; color: var(--heading); }
.shop-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { padding: 9px 12px; font-size: 0.85rem; font-weight: 700; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; min-height: 42px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--heading); border-radius: 999px;
  padding: 6px 10px 6px 12px; font-size: 0.82rem; font-weight: 700;
}
[dir="rtl"] .pill { padding: 6px 12px 6px 10px; }
.pill button { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; }
.pill button:hover { background: rgba(18,60,47,.15); }
.filter-toggle { display: inline-flex; }
@media (min-width: 960px) { .filter-toggle, .filters-close { display: none; } }
@media (max-width: 959px) {
  .filters {
    position: fixed; inset: 0; z-index: 1000; border-radius: 0; overflow: auto; padding-block-end: 90px;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  [dir="rtl"] .filters { transform: translateX(-100%); }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-bar { position: sticky; top: 0; background: var(--surface); display: flex; justify-content: space-between; align-items: center; padding-block: 4px 12px; z-index: 2; }
  .filters-apply { position: fixed; inset-inline: 0; bottom: 0; background: var(--surface); padding: 12px 16px; border-top: 1px solid var(--line); z-index: 3; }
}
@media (min-width: 960px) { .filters-bar, .filters-apply { display: none; } .filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; } }

.p-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.p-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.p-table th { text-align: start; font-size: 0.8rem; color: var(--muted); background: var(--surface-2); padding: 10px 12px; position: sticky; top: 0; }
.p-table td { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.92rem; vertical-align: middle; }
.p-table td.nm { direction: auto; unicode-bidi: plaintext; text-align: start; font-weight: 600; }
.p-table td.nm a:hover { color: var(--action-text); }
.qty-mini { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.qty-mini button { width: 36px; height: 40px; display: grid; place-items: center; }
.qty-mini button:hover { background: var(--tint); }
.qty-mini input { width: 48px; height: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; }
.qty-mini input:focus { outline: none; background: var(--surface-2); }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-block-start: 24px; }
.empty-box { text-align: center; padding: 48px 20px; background: var(--surface); border: 1px dashed var(--field-border); border-radius: var(--r-card); }
.empty-box h3 { color: var(--heading); margin-block-end: 8px; }
.empty-box p { color: var(--muted); max-width: 46ch; margin-inline: auto; margin-block-end: 16px; }
.empty-box .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------- Product page ----------------------------- */
.pdp { display: grid; gap: 28px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; gap: 48px; } }
.pdp-media { background: linear-gradient(135deg, var(--tint), var(--tint-2)); border-radius: var(--r-card); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--icon-muted); border: 1px solid var(--line); }
.pdp-media svg { width: 84px; height: 84px; }
.pdp-media small { display: block; font-size: .8rem; margin-block-start: 8px; text-align: center; }
.pdp-title { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); color: var(--heading); margin-block: 6px 12px; unicode-bidi: plaintext; text-align: start; }
.pdp-price { font-size: 1.8rem; font-weight: 800; color: var(--heading); }
.pdp-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-block: 18px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.spec-table th, .spec-table td { text-align: start; padding: 11px 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.spec-table th { width: 40%; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.note { color: var(--muted); font-size: .88rem; margin-block-start: 8px; }
.info-box { background: var(--sand-soft); border-radius: var(--r-card); padding: 16px 18px; margin-block-start: 18px; }
.info-box h3 { font-size: 1rem; color: var(--heading); margin-block-end: 6px; }

/* ----------------------------- Services --------------------------------- */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.svc-card { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.svc-card .si { height: 6px; background: linear-gradient(90deg, var(--action), var(--sand)); }
.svc-card .sb { padding: 22px; display: grid; gap: 10px; }
.svc-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--heading); display: grid; place-items: center; }
.svc-card .ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.15rem; color: var(--heading); }
.svc-card p { color: var(--muted); }
.svc-card .row { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 6px; align-items: center; }
.check-list { display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--action); flex-shrink: 0; margin-block-start: 3px; }
.svc-detail { display: grid; gap: 28px; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.panel h2, .panel h3 { color: var(--heading); margin-block-end: 10px; }
.callout { background: var(--brand); color: #fff; border-radius: var(--r-card); padding: 22px; }
.callout h3 { color: #fff; margin-block-end: 8px; }
.callout p { color: #cfe0d8; margin-block-end: 14px; }

/* ----------------------------- Projects --------------------------------- */
.proj-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .proj-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.proj-card { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: #0c2b21; aspect-ratio: 4/5; border: 1px solid var(--line); }
.proj-card img, .proj-card video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.proj-card:hover img, .proj-card:hover video { transform: scale(1.04); }
.proj-card .cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 36px 14px 14px;
  background: linear-gradient(to top, rgba(8,30,22,.9), rgba(8,30,22,0)); color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 8px;
}
.proj-card .cap strong { font-size: .95rem; }
.proj-card .vbadge { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; font-size: .75rem; backdrop-filter: blur(4px); }
.proj-detail { display: grid; gap: 24px; }
@media (min-width: 900px) { .proj-detail { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.proj-stage { background: #0c2b21; border-radius: var(--r-card); overflow: hidden; }
.proj-stage img, .proj-stage video { width: 100%; max-height: 78vh; object-fit: contain; margin-inline: auto; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 10px; }
.thumbs button { border: 2px solid transparent; border-radius: 10px; overflow: hidden; width: 84px; height: 64px; background: #0c2b21; color: #fff; display: grid; place-items: center; font-size: .75rem; }
.thumbs button[aria-pressed="true"] { border-color: var(--action); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------- Process / FAQ ----------------------------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-block-end: 12px; }
.step h3 { font-size: 1.02rem; color: var(--heading); margin-block-end: 4px; }
.step p { color: var(--muted); font-size: .92rem; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--action); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-block-end: 16px; color: var(--muted); }

/* ------------------------------ Trust ------------------------------------ */
.partner-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .partner-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .partner-row { grid-template-columns: repeat(6, 1fr); } }
.partner-row .p { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 14px; height: 96px; }
.partner-row img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.cert-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cert-row { grid-template-columns: repeat(4, 1fr); } }
.cert-row .cert-card { text-align: start; }

/* ------------------------------ CTA band --------------------------------- */
.cta-band { background: var(--brand); color: #fff; border-radius: 18px; padding: 28px; display: grid; gap: 18px; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1.4fr 1fr; padding: 40px; align-items: center; } }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-block-end: 8px; }
.cta-band p { color: #cfe0d8; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------ Forms / contact -------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-block-end: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--field-border); border-radius: 10px; padding: 10px 12px; font: inherit; background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--action); outline: none; box-shadow: 0 0 0 3px rgba(35,132,91,.2); }
.field [aria-invalid="true"] { border-color: var(--danger-text); }
.field-error { display: none; color: var(--danger-text); font-size: .85rem; margin-block-start: 4px; }
.field-error.is-visible { display: block; }
.req { color: var(--danger-text); margin-inline-start: 2px; }
.form-more { margin-block-start: 14px; border: 1px dashed var(--field-border); border-radius: 12px; padding: 4px 14px; }
.form-more summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--heading); }
.form-more .form-grid { padding-block-end: 14px; }
.form-status { display: none; margin-block-start: 14px; padding: 14px; border-radius: 12px; align-items: flex-start; gap: 10px; background: var(--accent-soft); color: #0c2b21; }
.form-status.is-visible { display: flex; }
.form-status.is-error { background: var(--danger-bg); color: var(--danger-text); }
.contact-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; }
.info-item .ii { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--heading); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ii svg { width: 20px; height: 20px; }
.info-item h3 { font-size: .85rem; color: var(--muted); font-weight: 600; }
.info-item p, .info-item a:not(.btn) { font-weight: 700; color: var(--ink); }
.info-item .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.map-frame { border: 0; width: 100%; height: 260px; border-radius: var(--r-card); background: var(--tint); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* --------------------------- Cart page ---------------------------------- */
.cart-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.cart-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-block-end: 1px solid var(--line); }
.cart-row:last-child { border-block-end: 0; }
.cart-row .th { width: 64px; height: 64px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--icon-muted); }
.cart-row .nm { font-weight: 700; unicode-bidi: plaintext; text-align: start; }
.cart-row .ln { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-block-start: 8px; justify-content: space-between; }
.sum-row { display: flex; justify-content: space-between; padding-block: 8px; }
.sum-row.total { border-top: 1px solid var(--line); margin-block-start: 8px; padding-block-start: 14px; font-weight: 800; font-size: 1.15rem; color: var(--heading); }

/* ------------------------------ Footer ----------------------------------- */
.footer { background: var(--brand-ink); color: #cfe0d8; padding-block: 52px 24px; }
.footer a { color: #cfe0d8; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-block-end: 12px; }
.footer-brand img { height: 44px; width: auto; background: var(--surface); border-radius: 8px; padding: 4px; }
.footer-heading { color: #fff; font-size: 1rem; margin-block-end: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-block-start: 32px; padding-block-start: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
.footer-social { display: flex; gap: 8px; margin-block-start: 14px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }

/* Floating WhatsApp: keep clear of sticky bars and bottom controls */
.whatsapp-float { inset-inline-end: 16px; bottom: 16px; z-index: 800; background: #0f7a40; }
.back-to-top { inset-inline-start: 16px; inset-inline-end: auto; bottom: 16px; }
body.has-bottom-bar .whatsapp-float, body.has-bottom-bar .back-to-top { bottom: 84px; }

/* Misc */
.is-loading { min-height: 220px; display: grid; place-items: center; color: var(--muted); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--action); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-region { z-index: 1200; }
.modal-overlay { z-index: 1100; }
.cart-item-img--placeholder { background: var(--tint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* --- shop grid sizing (sidebar takes 280px on desktop) --- */
.shop-layout > * { min-width: 0; }
.shop-layout .prod-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1200px) { .shop-layout .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 959px) and (min-width: 700px) { .shop-layout .prod-grid { grid-template-columns: repeat(3, 1fr); } }
.prod-foot { flex-wrap: wrap; }
.prod-foot .add-btn { flex: 1 1 auto; }
@media (max-width: 420px) { .prod-grid { gap: 10px; } .prod-body { padding: 10px; } .add-btn span { font-size: .8rem; } }

/* --- small screens: header must never be wider than the viewport --- */
@media (max-width: 560px) {
  .nav .brand-word { font-size: .85rem; max-width: 92px; }
  .nav .lang-switch { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .nav .lang-switch span { display: none; }
  .nav .nav-actions { gap: 0; }
  .nav .nav-inner { gap: 6px; }
  .container { padding-inline: 16px; }
}
html, body { max-width: 100%; overflow-x: clip; }
.whatsapp-float { width: 52px; height: 52px; }
