/* ALQANAT storefront — one stylesheet for RTL (ar) and LTR (de) via logical properties. */

@font-face { font-family: "Plex Arabic"; src: url(/fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url(/fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url(/fonts/plex-arabic-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url(/fonts/plex-arabic-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-ext-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-ext-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0e2a36;
  --ink-2: #17404f;
  --ink-3: #2b5a6b;
  --brass: #a87a36;
  --brass-2: #c99a4b;
  --brass-soft: #f3e8d4;
  --sand: #f6f2ea;
  --paper: #fffdf9;
  --line: #e6ddcc;
  --text: #1b2429;
  --muted: #65727a;
  --ok: #2e7d4f;
  --warn: #a3542b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(14, 42, 54, .06), 0 8px 24px rgba(14, 42, 54, .07);
  --wrap: 1200px;
  --font: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
.lang-ar { --font: "Plex Arabic", "Inter", system-ui, "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--paper); overflow-x: hidden; }
.lang-ar body, body.lang-ar { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
h1, h2, h3 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: #d7e3e7; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar-tag { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.market-form { display: flex; align-items: center; gap: 6px; }
.market-form label { opacity: .8; }
.market-form select { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 6px; padding: 2px 6px; font-size: .82rem; cursor: pointer; }
.market-form select option { color: var(--text); }
.lang-link { color: #fff; text-decoration: none; font-weight: 600; padding: 2px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; }
.lang-link:hover { color: var(--brass-2); border-color: var(--brass-2); }
@media (max-width: 560px) { .topbar-tag { display: none; } .topbar-in { justify-content: center; } .market-form label { display: none; } }

.site-header { background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: "Plex Arabic", sans-serif; font-size: 1.35rem; font-weight: 700; }
.logo-text i { font-family: "Inter", sans-serif; font-style: normal; font-size: .68rem; letter-spacing: .32em; color: var(--brass); font-weight: 600; margin-top: 3px; }
.logo-light { color: #fff; }
.logo-light .logo-mark { color: rgba(255,255,255,.1); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.search { margin-inline-start: auto; display: flex; align-items: center; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding-inline: 14px 4px; min-width: 0; }
.search input { border: 0; background: transparent; padding: 9px 0; width: 190px; min-width: 0; outline: none; }
.search button { border: 0; background: transparent; color: var(--ink); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.search button:hover { background: #fff; }
.ic { width: 22px; height: 22px; flex-shrink: 0; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); background: var(--sand); border: 1px solid var(--line); }
.cart-link:hover { color: var(--brass); }
.cart-count { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--brass); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--sand); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) and (min-width: 901px) {
  .site-nav a:nth-child(n+4):not(:nth-last-child(-n+2)) { display: none; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .site-nav a:nth-child(n+2):not(:nth-last-child(-n+2)) { display: none; }
  .search input { width: 150px; }
}
@media (max-width: 900px) {
  .header-in { flex-wrap: wrap; gap: 10px; min-height: 64px; padding-block: 10px; }
  .nav-toggle { display: flex; }
  .logo-mark { width: 38px; height: 38px; }
  .site-nav { display: none; order: 5; width: 100%; flex-direction: column; padding: 6px 0 4px; border-top: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a, .site-nav a:nth-child(n) { display: block; padding: 11px 6px; font-size: 1rem; }
  .search { order: 4; width: 100%; margin: 0; }
  .search input { width: 100%; }
  .cart-link { margin-inline-start: auto; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; line-height: 1.2; font-size: .98rem; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: #fff; color: var(--warn); border-color: #e8c9b8; }
.btn-danger:hover { background: #fbefe8; color: var(--warn); }
.btn-lg { padding: 15px 28px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .88rem; }
.link-btn:hover { color: var(--warn); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.link-arrow .ic { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(201,154,75,.16), transparent 60%), linear-gradient(180deg, var(--sand), var(--paper)); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--brass); background: var(--brass-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.lang-ar .eyebrow { letter-spacing: 0; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); margin-bottom: 18px; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--brass); }
.lead { font-size: 1.1rem; color: #3e4c54; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cta.center { justify-content: center; }
.hero-art { position: relative; }
.route { display: flex; align-items: flex-end; justify-content: space-between; position: relative; margin-bottom: 18px; padding-inline: 6px; }
.route-node { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink); z-index: 1; background: var(--paper); padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.route-line { position: absolute; inset-inline: 60px; top: -18px; height: 90px; width: calc(100% - 120px); }
.route-line path { fill: none; stroke: var(--brass-2); stroke-width: 2; stroke-dasharray: 6 7; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -500; } }
@media (prefers-reduced-motion: reduce) { .route-line path { animation: none; } html { scroll-behavior: auto; } }
.flag { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: block; }
.flag-de { background: linear-gradient(#111 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag-jo { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='6.67' fill='%23111'/%3E%3Crect y='6.67' width='30' height='6.67' fill='%23fff'/%3E%3Crect y='13.33' width='30' height='6.67' fill='%23007a3d'/%3E%3Cpath d='M0 0L15 10L0 20Z' fill='%23ce1126'/%3E%3Ccircle cx='5' cy='10' r='1.3' fill='%23fff'/%3E%3C/svg%3E") center/cover; }
[dir="rtl"] .flag-jo { transform: scaleX(1); }
.hero-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-tiles img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; background: var(--sand); }
.hero-tiles img:nth-child(2) { transform: translateY(-22px); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 48px; }
  .hero-tiles img:nth-child(2) { transform: none; }
}

/* ---------- directions ---------- */
.directions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.direction { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.direction::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; opacity: .5; }
.direction-JO::after { background: radial-gradient(closest-side, var(--brass-soft), transparent); }
.direction-DE::after { background: radial-gradient(closest-side, #dce9ee, transparent); }
.direction h2 { margin: 12px 0 6px; }
.direction p { color: var(--muted); }
.cat-pills { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.cat-pills a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 9px 14px; border-radius: 999px; background: var(--sand); color: var(--ink); font-weight: 500; font-size: .93rem; border: 1px solid var(--line); }
.cat-pills a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-pills .ic { width: 16px; height: 16px; }
@media (max-width: 760px) { .directions { grid-template-columns: 1fr; margin-top: 28px; } .direction { padding: 22px; } }

/* ---------- sections, grid, cards ---------- */
.section { padding-block: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; background: var(--sand); aspect-ratio: 4/5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media .badge { position: absolute; top: 10px; inset-inline-start: 10px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin: 0; font-family: "Inter", sans-serif; }
.card-title { font-size: .98rem; font-weight: 600; margin: 0; line-height: 1.45; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--ink-2); text-decoration: underline; }
.card-price { margin-top: auto; padding-top: 6px; }
.card-na .card-media img { filter: grayscale(.6); opacity: .75; }
.price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.price-old { color: var(--muted); font-size: .88rem; margin-inline-start: 6px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.4; }
.badge-JO { background: var(--brass-soft); color: #7a5520; }
.badge-DE { background: #e2edf1; color: var(--ink-2); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- trust ---------- */
.trust { background: var(--ink); color: #dce6ea; margin-top: 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-block: 40px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ic { width: 30px; height: 30px; color: var(--brass-2); }
.trust-item h3 { color: #fff; margin: 0 0 4px; font-size: 1rem; }
.trust-item p { margin: 0; font-size: .9rem; opacity: .8; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 30px; } }

/* ---------- page head, breadcrumbs ---------- */
.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: 30px 26px; }
.page-head h1 { margin: 0; }
.page-head .lead { margin: 8px 0 0; }
.crumbs ol { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.wrap > .crumbs { padding-top: 20px; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding-block: 18px 40px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4/5; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; width: 74px; cursor: pointer; background: var(--sand); }
.thumb.active, .thumb:hover { border-color: var(--brass-2); }
.product-info h1 { margin: 10px 0 12px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.product-price .price { font-size: 1.6rem; }
.buy { display: flex; gap: 12px; align-items: flex-end; margin: 22px 0 8px; flex-wrap: wrap; }
.qty { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--muted); }
.qty input { width: 84px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; font-size: 1rem; color: var(--text); }
.qty-sm input { width: 64px; padding: 8px; }
.stock-ok { color: var(--ok); font-size: .88rem; font-weight: 500; }
.notice { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 20px 0; color: #5a4a2f; }
.mini-trust { list-style: none; padding: 16px 0; margin: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 10px; font-size: .92rem; color: #3e4c54; }
.mini-trust li { display: flex; gap: 10px; align-items: center; }
.mini-trust .ic { color: var(--brass); width: 20px; height: 20px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.15rem; margin-top: 8px; }
.prose p { color: #34424a; }
.narrow { max-width: 820px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- flash ---------- */
.flash { border-radius: var(--radius-sm); padding: 12px 16px; margin: 14px 0; font-size: .95rem; }
.flash-ok { background: #e8f3ec; color: #1f5c39; border: 1px solid #c4e0cf; }
.flash-warn { background: #fbefe8; color: #7c3b1c; border: 1px solid #efcdbb; }

/* ---------- cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; background: var(--sand); }
.cart-line-info { display: flex; flex-direction: column; min-width: 0; }
.cart-line-name { font-weight: 600; text-decoration: none; color: var(--text); }
.cart-line-total { min-width: 80px; text-align: end; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 10px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .cart-lines { padding: 4px 14px; }
  .cart-line { grid-template-columns: 64px 1fr auto; grid-template-areas: "img info info" "img qty total" "img rm rm"; gap: 6px 12px; }
  .cart-line > a { grid-area: img; } .cart-line-info { grid-area: info; } .cart-line .qty { grid-area: qty; }
  .cart-line-total { grid-area: total; align-self: center; } .cart-line .link-btn { grid-area: rm; justify-self: start; }
}
.summary { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.summary h2 { font-size: 1.15rem; }
.summary dl { margin: 0 0 18px; }
.summary dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); gap: 10px; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 600; }
.summary .total { border-bottom: 0; font-size: 1.12rem; } .summary .total dt { color: var(--ink); font-weight: 700; }
.summary-items { list-style: none; padding: 0; margin: 0 0 12px; font-size: .9rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.empty-box { text-align: center; padding: 50px 20px; background: var(--sand); border-radius: var(--radius); border: 1px solid var(--line); }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: .9rem; font-weight: 500; color: #34424a; flex: 1; min-width: 0; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; font-size: 1rem; font-weight: 400; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-3); outline: 2px solid rgba(43,90,107,.15); outline-offset: 0; }
.field input:disabled { background: var(--sand); color: var(--muted); }
.field-row { display: flex; gap: 14px; }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 0; } }
.pay { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 6px; margin: 4px 0 16px; }
.pay legend { padding: 0 6px; font-weight: 600; font-size: .92rem; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; font-size: .95rem; }
.radio input, .check input { margin-top: 5px; accent-color: var(--ink); width: 17px; height: 17px; flex-shrink: 0; }
.check { margin: 6px 0 20px; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: #e8f3ec; color: var(--ok); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 16px; font-weight: 700; }
.bank-box { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: start; margin: 18px 0; }
.bank-box pre { white-space: pre-wrap; margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); }
a.contact-card:hover { border-color: var(--ink); color: var(--text); }
.contact-card .ic { color: var(--brass); width: 28px; height: 28px; }

/* ---------- footer ---------- */
.site-footer { background: #0b222c; color: #b9c8ce; margin-top: 56px; font-size: .92rem; }
.trust + .site-footer, main:has(> .trust:last-child) + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.footer-brand p { margin-top: 14px; max-width: 36ch; opacity: .85; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #b9c8ce; text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; font-size: .82rem; opacity: .7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); z-index: 50; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float .ic { width: 28px; height: 28px; }
