/* Riviera: editorial and warm. Measured from 4-riviera.png, see NOTES.md.
   Brand colours come only from the merchant tokens (--primary --secondary
   --accent --surface --ink --on-primary --on-accent --accent-fill). */

:root {
  --primary: #0c1526; --secondary: #2a4cf5; --accent: #0c1526;
  --surface: #faf8f5; --ink: #0c1526; --on-primary: #fff; --on-accent: #fff;
  --serif: "Source Serif 4", "Riviera Serif Fallback", "Libre Caslon Text", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: Caveat, "Segoe Script", cursive;
  --paper: color-mix(in srgb, var(--surface) 55%, #fff);
  --sand: color-mix(in srgb, var(--ink) 5%, var(--surface));
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --line-warm: color-mix(in srgb, var(--ink) 8%, var(--surface));
  --muted: color-mix(in srgb, var(--ink) 70%, var(--surface));
  --tint: color-mix(in srgb, var(--secondary) 9%, #fff);
  --card: #fff;
  --shadow-sm: 0 1px 2px rgba(12, 21, 38, .05);
  --shadow: 0 1px 2px rgba(12, 21, 38, .04), 0 14px 34px -16px rgba(12, 21, 38, .2);
  --shadow-lg: 0 2px 4px rgba(12, 21, 38, .04), 0 24px 60px -24px rgba(12, 21, 38, .28);
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Georgia sized to Source Serif 4's advance widths, so the headline wraps the
   same before and after the webfont swaps in (the hero shifted 0.15 CLS).
   Georgia's 600 is its Bold, much wider than Source Serif's semibold. */
@font-face { font-family: "Riviera Serif Fallback"; src: local("Georgia"); font-weight: 400 500; size-adjust: 96.7%; }
@font-face { font-family: "Riviera Serif Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 900; size-adjust: 83.9%; }
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 960px) { :root { --gutter: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--secondary) 22%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary); }
.skip:focus { top: 12px; }
.wrap { width: min(1376px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- icons (Streamline Core Line, masked so they take currentColor) ---------- */
.ic { display: inline-block; flex: none; width: 1.25em; height: 1.25em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic-flip { transform: scaleX(-1); }
.ic-airplane { --i: url(/assets/themes/riviera/img/icons/airplane.svg); }
.ic-arrow { --i: url(/assets/themes/riviera/img/icons/arrow-right.svg); }
.ic-bolt { --i: url(/assets/themes/riviera/img/icons/bolt.svg); }
.ic-camera { --i: url(/assets/themes/riviera/img/icons/camera.svg); }
.ic-card { --i: url(/assets/themes/riviera/img/icons/card.svg); }
.ic-cart { --i: url(/assets/themes/riviera/img/icons/cart.svg); }
.ic-check { --i: url(/assets/themes/riviera/img/icons/check.svg); }
.ic-chevron-down { --i: url(/assets/themes/riviera/img/icons/chevron-down.svg); }
.ic-chevron-right { --i: url(/assets/themes/riviera/img/icons/chevron-right.svg); }
.ic-close { --i: url(/assets/themes/riviera/img/icons/close.svg); }
.ic-compass { --i: url(/assets/themes/riviera/img/icons/compass.svg); }
.ic-earth { --i: url(/assets/themes/riviera/img/icons/earth.svg); }
.ic-infinity { --i: url(/assets/themes/riviera/img/icons/infinity.svg); }
.ic-lock { --i: url(/assets/themes/riviera/img/icons/lock.svg); }
.ic-mail { --i: url(/assets/themes/riviera/img/icons/mail.svg); }
.ic-map { --i: url(/assets/themes/riviera/img/icons/map.svg); }
.ic-menu { --i: url(/assets/themes/riviera/img/icons/menu.svg); }
.ic-phone { --i: url(/assets/themes/riviera/img/icons/phone.svg); }
.ic-phoneqr { --i: url(/assets/themes/riviera/img/icons/phoneqr.svg); }
.ic-piggy { --i: url(/assets/themes/riviera/img/icons/piggy.svg); }
.ic-pin { --i: url(/assets/themes/riviera/img/icons/pin.svg); }
.ic-pin-solid { --i: url(/assets/themes/riviera/img/icons/pin-solid.svg); }
.ic-play { --i: url(/assets/themes/riviera/img/icons/play.svg); }
.ic-qr { --i: url(/assets/themes/riviera/img/icons/qr.svg); }
.ic-rocket { --i: url(/assets/themes/riviera/img/icons/rocket.svg); }
.ic-search { --i: url(/assets/themes/riviera/img/icons/search.svg); }
.ic-send { --i: url(/assets/themes/riviera/img/icons/send.svg); }
.ic-shield { --i: url(/assets/themes/riviera/img/icons/shield.svg); }
.ic-signal { --i: url(/assets/themes/riviera/img/icons/signal.svg); }
.ic-star { --i: url(/assets/themes/riviera/img/icons/star.svg); }
.ic-star-fill { --i: url(/assets/themes/riviera/img/icons/star-fill.svg); }
.ic-support { --i: url(/assets/themes/riviera/img/icons/support.svg); }
.ic-tool { --i: url(/assets/themes/riviera/img/icons/tool.svg); }
.ic-user { --i: url(/assets/themes/riviera/img/icons/user.svg); }
.ic-wallet { --i: url(/assets/themes/riviera/img/icons/wallet.svg); }
.ic-wifi { --i: url(/assets/themes/riviera/img/icons/wifi.svg); }
.ic-send-bold { --i: url(/assets/themes/riviera/img/icons/send-bold.svg); }
.ic-camera-bold { --i: url(/assets/themes/riviera/img/icons/camera-bold.svg); }
.ic-monitor-play { --i: url(/assets/themes/riviera/img/icons/monitor-play.svg); }
.ic-infinity-bold { --i: url(/assets/themes/riviera/img/icons/infinity-bold.svg); }
.stars { display: inline-flex; gap: 2px; color: #e9a23b; }
.stars .ic { width: 15px; height: 15px; }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 18px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .21em; text-transform: uppercase; color: var(--ink); }
.display { font: 600 clamp(30px, 4.4vw, 40px)/1.08 var(--serif); letter-spacing: -.015em; }
.hand-note { font: 500 22px/1.05 var(--hand); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: var(--primary); color: var(--on-primary); }
.btn-dark:hover { background: color-mix(in srgb, var(--primary) 86%, #fff); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-outline { border-color: color-mix(in srgb, var(--ink) 24%, transparent); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--surface); }
.btn-ghost-light { border-color: color-mix(in srgb, var(--on-primary) 40%, transparent); color: var(--on-primary); }
.btn-ghost-light:hover { border-color: var(--on-primary); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); transition: background-color .2s var(--ease); }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn:disabled { opacity: .3; cursor: default; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.linkish { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line-warm); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.hdr-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.logo-mark { width: 27px; height: 27px; color: var(--primary); }
.logo-word { font: 700 21px/1 var(--sans); letter-spacing: -.03em; }
.logo img { height: 32px; width: auto; }
.hdr-mobile { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-cart { position: relative; }
.hdr-badge { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--secondary); color: var(--on-secondary); font: 600 10px/17px var(--sans); text-align: center; }
.hdr-locale { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; }
.hdr-locale .ic { width: 20px; height: 20px; }
.hdr-locale select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 10px 4px; min-height: 44px; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.hdr-cur { padding: 0 4px; }
.hdr-menu-top { display: flex; align-items: center; justify-content: space-between; }
.hdr-more { position: relative; }
.hdr-more-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font-weight: 500; }
.hdr-more-btn .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.hdr-more.is-open .hdr-more-btn .ic { transform: rotate(180deg); }

@media (max-width: 1099px) {
  .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .hdr-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 28px; padding: 12px var(--gutter) 32px; background: var(--surface); overflow-y: auto; }
  .js .hdr-menu:not(.is-open) { display: none; }
  html:not(.js) .hdr-menu { position: static; padding: 0 0 24px; }
  .hdr-menu-top { height: 52px; }
  .hdr-nav { display: flex; flex-direction: column; }
  .hdr-nav > a, .hdr-more-panel a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font: 600 24px/1.2 var(--serif); }
  .hdr-more-btn { display: none; }
  .hdr-more-panel, .hdr-more-panel[hidden] { display: flex !important; flex-direction: column; }
  .hdr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .hdr-tools .btn { flex: 1 1 140px; min-height: 48px; font-size: 15px; }
  .hdr-search, .hdr-cart-desk { display: none; }
  .hdr-locale { width: 100%; order: 3; justify-content: center; }
}
@media (min-width: 1100px) {
  .hdr-mobile, .hdr-menu-top, .hdr-close, [data-menu-toggle] { display: none !important; }
  .hdr-menu { display: flex; align-items: center; flex: 1; min-width: 0; margin-left: 31px; }
  .hdr-nav { display: flex; align-items: center; gap: 39px; font-size: 12.5px; font-weight: 500; }
  .hdr-tools .btn-sm { min-height: 37px; font-size: 13.5px; }
  .hdr-tools .btn-outline { border-color: color-mix(in srgb, var(--ink) 34%, transparent); }
  .hdr-nav > a, .hdr-more-btn { position: relative; display: inline-flex; align-items: center; height: 64px; }
  .hdr-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; opacity: 0; transform: scaleX(.4); transition: opacity .2s var(--ease), transform .25s var(--ease); }
  .hdr-nav > a:hover::after, .hdr-nav > a[aria-current="page"]::after { opacity: 1; transform: none; }
  .hdr-nav > a[aria-current="page"]::after { background: color-mix(in srgb, var(--ink) 35%, transparent); }
  .hdr-more-panel { position: absolute; top: calc(100% - 6px); left: -18px; min-width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
  html:not(.js) .hdr-more-panel { display: none; }
  html:not(.js) .hdr-more:hover .hdr-more-panel, html:not(.js) .hdr-more:focus-within .hdr-more-panel { display: block; }
  .hdr-more-panel a { display: block; padding: 10px 12px; border-radius: 8px; }
  .hdr-more-panel a:hover { background: var(--sand); }
  .hdr-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .hdr-locale { margin: 0 14px 0 10px; }
  .hdr-cart-desk { margin-right: 14px; }
  .hdr-tools .btn-dark { margin-left: 4px; }
}
/* 1100-1279: longer (Turkish) labels need the room the reference's gaps take at 1536 */
@media (min-width: 1100px) and (max-width: 1279px) {
  .hdr-menu { margin-left: 18px; }
  .hdr-nav { gap: 16px; white-space: nowrap; }
  .hdr-tools { gap: 4px; }
  .hdr-locale { margin: 0 6px 0 4px; }
  .hdr-cart-desk { display: none; }
  .hdr-tools .btn-sm { padding: 0 16px; }
}

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); isolation: isolate; }
.hero-photo { position: relative; height: 300px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 60%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--surface)); }
.hero-in { position: relative; padding: 4px 0 40px; }
.hero h1 { font: 600 clamp(32px, 8.8vw, 56px)/1.04 var(--serif); letter-spacing: -.0125em; margin: 0 0 16px; }
@media (max-width: 959px) { .hero h1 br { display: none; } }
.hero-sub { max-width: 30em; margin: 0 0 28px; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.4; }
.search { position: relative; display: flex; align-items: center; height: 62px; max-width: 615px; padding: 0 4px 0 25px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(12, 21, 38, .05), 0 16px 34px -18px rgba(12, 21, 38, .32); transition: box-shadow .2s var(--ease); }
.search:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--secondary) 55%, transparent), 0 16px 34px -18px rgba(12, 21, 38, .32); }
.search > .ic { width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 16px 0 18px; border: 0; background: none; font-size: 14.5px; outline: none; }
.search input::placeholder { color: color-mix(in srgb, var(--ink) 62%, #fff); }
.search button { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--primary); color: var(--on-primary); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.search button .ic { width: 20px; height: 20px; }
.search button:hover { transform: scale(1.04); }
.recent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.recent-label { font-size: 12.5px; font-weight: 600; margin-right: 4px; }
.recent ul { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 14px 0 12px; border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); border-radius: 999px; background: color-mix(in srgb, #fff 55%, transparent); font-size: 12.5px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { background: #fff; border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.chip img { width: 19px; height: 19px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(12, 21, 38, .08); }
.hero .hand-note { display: none; }
.hand-arrow { display: block; width: 58px; height: 16px; margin: 2px 0 0 52px; color: var(--ink); }
.hero-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 32px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; line-height: 1.35; color: var(--muted); }
.hero-card .hc-disc { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: color-mix(in srgb, var(--ink) 4%, #fff); }
.hero-card .ic { width: 19px; height: 19px; color: var(--ink); }
.hero-card strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 13px; font-weight: 600; }
@media (max-width: 379px) { .hero-card { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 960px) {
  .hero { min-height: 434px; }
  .hero-photo { position: absolute; inset: 0 0 0 15%; height: auto; }
  .hero-photo img { object-position: 50% 30%; }
  .hero-photo::after { background: linear-gradient(90deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 80%, transparent) 8%, color-mix(in srgb, var(--surface) 28%, transparent) 20%, transparent 30%); }
  .hero-in { padding: 46px 0 37px; }
  .hero-copy { max-width: 640px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 55px; font-weight: 700; line-height: 57px; letter-spacing: -.03em; margin-bottom: 12px; }
  .hero-sub { max-width: 440px; font-size: 17.5px; line-height: 25px; margin-bottom: 30px; }
  .hero .hand-note { display: block; position: absolute; left: 63%; top: 47px; transform: rotate(-8deg); }
  .hero-card { position: absolute; right: -9px; top: 107px; display: block; width: 220px; margin: 0; padding: 6px 18px 6px 16px; border-radius: 14px; background: color-mix(in srgb, #fff 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(12, 21, 38, .05), 0 18px 40px -20px rgba(12, 21, 38, .35); }
  .hero-card { padding: 10px 8px 10px 16px; }
  .hero-card li { align-items: center; gap: 12px; height: 54px; padding: 0; font-size: 11px; line-height: 1.4; }
  .hero-card strong { font-size: 12px; margin-bottom: 1px; white-space: nowrap; }
}
@media (min-width: 960px) and (max-width: 1279px) {
  .hero-card, .hero .hand-note { display: none; }
  .hero-photo { left: 36%; }
  .hero-photo img { object-position: 62% 30%; }
.hand-arrow { display: block; width: 58px; height: 16px; margin: 2px 0 0 52px; color: var(--ink); }
}

/* ---------- home: three-column band ---------- */
.trio { background: color-mix(in srgb, var(--surface) 60%, #fff); padding: 40px 0; }
.trio-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.trio h2 { font: 600 14px/1.3 var(--sans); margin-bottom: 16px; }
.world { position: relative; margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.world-map { position: relative; aspect-ratio: 1200 / 614; }
.world-dots { position: absolute; inset: 0; filter: blur(.7px); background: color-mix(in srgb, var(--secondary) 21%, var(--surface)); -webkit-mask: url(/assets/themes/riviera/img/world-dots.webp) center / contain no-repeat; mask: url(/assets/themes/riviera/img/world-dots.webp) center / contain no-repeat; }
.world-map i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--secondary) 14%, transparent); }
.world-map i:nth-of-type(1) { left: 14.6%; top: 34.6%; }
.world-map i:nth-of-type(2) { left: 16.7%; top: 39.1%; }
.world-map i:nth-of-type(3) { left: 23.4%; top: 30.5%; }
.world-map i:nth-of-type(4) { left: 25.5%; top: 26.1%; }
.world-map i:nth-of-type(5) { left: 17.2%; top: 43.8%; }
.world-map i:nth-of-type(6) { left: 31.2%; top: 65.2%; }
.world-map i:nth-of-type(7) { left: 25.5%; top: 67.2%; }
.world-map i:nth-of-type(8) { left: 47.4%; top: 19.3%; }
.world-map i:nth-of-type(9) { left: 45.8%; top: 27.5%; }
.world-map i:nth-of-type(10) { left: 51.0%; top: 25.5%; }
.world-map i:nth-of-type(11) { left: 53.1%; top: 19.3%; }
.world-map i:nth-of-type(12) { left: 56.8%; top: 21.4%; }
.world-map i:nth-of-type(13) { left: 59.4%; top: 16.3%; }
.world-map i:nth-of-type(14) { left: 56.8%; top: 37.7%; }
.world-map i:nth-of-type(15) { left: 62.5%; top: 41.8%; }
.world-map i:nth-of-type(16) { left: 70.8%; top: 44.8%; }
.world-map i:nth-of-type(17) { left: 78.1%; top: 28.5%; }
.world-map i:nth-of-type(18) { left: 44.8%; top: 46.8%; }
.world-map i:nth-of-type(19) { left: 51.0%; top: 50.9%; }
.world-map i:nth-of-type(20) { left: 59.9%; top: 59.1%; }
.world-map i:nth-of-type(21) { left: 54.2%; top: 79.4%; }
.world-map i:nth-of-type(22) { left: 82.3%; top: 61.1%; }
.world-map i:nth-of-type(23) { left: 91.7%; top: 65.6%; }
.world-map i:nth-of-type(24) { left: 85.4%; top: 81.5%; }
.world-map i:nth-of-type(25) { left: 90.6%; top: 85.5%; }
.world-map i:nth-of-type(26) { left: 87.3%; top: 28.1%; }
.world-map i:nth-of-type(27) { left: 23.8%; top: 81.5%; }
.world-badge { position: absolute; right: 2%; top: 40%; display: grid; place-items: center; gap: 2px; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.world-badge strong { font: 600 21px/1 var(--sans); letter-spacing: -.02em; }
.world-badge span { font-size: 11px; color: var(--muted); }
.region-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.region-card { display: block; overflow: hidden; border-radius: 8px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.region-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.region-photo { display: block; aspect-ratio: 117 / 94; background: var(--tint); }
.region-photo img { width: 100%; height: 100%; object-fit: cover; }
.region-card strong { display: block; padding: 8px 9px 0; font-size: 12.5px; font-weight: 500; }
.region-card > span:last-child { display: block; padding: 0 9px 9px; font-size: 10.5px; color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.why-grid li { display: flex; align-items: center; gap: 12px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.why-grid strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.why-grid li > span:last-child { min-width: 0; }
.disc { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--secondary); }
.disc .ic { width: 22px; height: 22px; }
.disc-lg { width: 52px; height: 52px; }
.disc-lg .ic { width: 27px; height: 27px; }
@media (min-width: 640px) { .region-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .trio { padding: 30px 0 14px; }
  .trio-col { margin-top: -7px; }
  .trio-in { grid-template-columns: 440px minmax(0, 1fr) 346px; gap: 0; align-items: start; }
  .trio-why { margin-right: -24px; }
  .trio-col { padding: 0 0 0 41px; border-left: 1px solid var(--line); min-height: 170px; }
  .trio-regions { padding-right: 40px; }
  .world { justify-self: start; width: 380px; margin: -7px 0 0 22px; }
  .why-grid { grid-template-columns: 179px 1fr; gap: 26px 0; padding-top: 10px; }
  .why-grid li { font-size: 10px; }
  .why-grid strong { font-size: 11px; white-space: nowrap; }
  .trio-why h2 { padding-left: 20px; }
}

/* ---------- home: traveller types ---------- */
.types { position: relative; overflow: hidden; background: var(--sand); padding: 40px 0 0; }
.types-photo { display: none; }
.types-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.types-copy p:not(.eyebrow) { max-width: 21em; margin: 4px 0 16px; font-size: 15px; line-height: 21px; }
.types-copy .display { font-size: clamp(30px, 6vw, 35px); line-height: 1; max-width: 7.6em; }
.types-copy .btn { min-height: 38px; padding: 0 22px; font-size: 14px; }
.rail { position: relative; min-width: 0; }
.rail-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 40px; margin: 0 calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > li { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
.rail-nav { display: none; }
.type-card { display: flex; flex-direction: column; height: 100%; padding: 12px 10px 10px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 4%, transparent), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.type-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 4%, transparent), var(--shadow); }
.type-head { display: flex; gap: 16px; padding: 2px 4px 0; min-height: 84px; }
.type-name { display: block; margin-top: 1px; font-size: 14px; font-weight: 600; }
.type-data { display: block; margin-top: 1px; font-size: 16.5px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.type-uses { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted); }
.type-photo { width: 100%; aspect-ratio: 230 / 127; object-fit: cover; border-radius: 6px; margin-top: auto; }
@media (min-width: 1100px) {
  .types { padding: 13px 0 47px; min-height: 300px; }
  .types-photo { display: block; position: absolute; left: 110px; bottom: -91px; width: 440px; -webkit-mask: linear-gradient(90deg, transparent 4%, #000 38%, #000 70%, transparent 95%), linear-gradient(0deg, #000 64%, transparent 80%); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 4%, #000 38%, #000 70%, transparent 95%), linear-gradient(0deg, #000 64%, transparent 80%); mask-composite: intersect; }
  .types-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .types-in { grid-template-columns: 335px minmax(0, 1fr); gap: 0; }
  .types-copy { padding-top: 22px; }
  .types-copy .eyebrow { margin-bottom: 9px; }
  .types .rail-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .types .rail-track > li { flex: none; }
  .type-card { min-height: 233px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-tint { background: var(--sand); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.sec-head .eyebrow { margin-bottom: 12px; }
.sec-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.sec-head-center { flex-direction: column; align-items: center; text-align: center; }

/* destination cards */
.dest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dest-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.dest-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.dest-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.dest-flag-bg { position: absolute; inset: -20%; width: 140%; max-width: none; height: 140%; object-fit: cover; filter: blur(14px) saturate(1.1); opacity: .5; }
.dest-mark-bg { position: absolute; inset: 0; display: grid; place-items: center; font: 600 40px/1 var(--serif); color: color-mix(in srgb, var(--secondary) 45%, transparent); }
.dest-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dest-card:hover .dest-img { transform: scale(1.04); }
.tag { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 600; box-shadow: var(--shadow-sm); }
.dest-body { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 12px 14px 14px; }
.dest-body .flag, .dest-body .mark { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.dest-body .mark { display: grid; place-items: center; background: var(--tint); color: var(--secondary); font-size: 12px; font-weight: 700; }
.dest-body strong { font-size: 15px; font-weight: 600; line-height: 1.25; }
.dest-price { font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .dest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .dest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
/* 13 cards (a normal shop) fill four rows exactly when the first, most popular one spans 2 x 2 */
@media (min-width: 1100px) {
  .dest-grid-feature > li:first-child { grid-column: span 2; grid-row: span 2; }
  .dest-grid-feature > li:first-child .dest-photo { flex: 1; aspect-ratio: auto; min-height: 0; }
  .dest-grid-feature > li:first-child .dest-body strong { font: 600 24px/1.15 var(--serif); }
}

/* steps on home */
.steps-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.steps-photo { position: relative; margin: 0; }
.steps-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.steps-photo .hand-note { position: absolute; right: 18px; bottom: -14px; padding: 8px 14px; border-radius: 10px; background: var(--paper); transform: rotate(-3deg); box-shadow: var(--shadow-sm); }
.steps-split .display { margin-bottom: 28px; max-width: 14em; }
.steps-list { counter-reset: step; display: grid; gap: 4px; margin-bottom: 28px; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps-list li::before { content: counter(step, decimal-leading-zero); font: 500 26px/1 var(--serif); color: var(--secondary); }
.steps-list h3 { font-size: 17px; margin-bottom: 4px; }
.steps-list p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 960px) { .steps-split { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* quotes */
.quotes { display: grid; gap: 18px; }
.quote { display: flex; flex-direction: column; margin: 0; padding: 28px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.quote blockquote { position: relative; margin: 14px 0 22px; }
.quote blockquote::before { content: "\201C"; display: block; height: 30px; font: 600 64px/1 var(--serif); color: var(--secondary); }
.quote p { margin: 0; font: 500 20px/1.45 var(--serif); letter-spacing: -.005em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 13px; color: var(--muted); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 14px; }
@media (min-width: 960px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* FAQ */
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.faq-split .display { margin-bottom: 14px; }
.faq-split .btn { margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url(/assets/themes/riviera/img/icons/chevron-down.svg) center / contain no-repeat; mask: url(/assets/themes/riviera/img/icons/chevron-down.svg) center / contain no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0 0 22px; max-width: 46em; color: var(--muted); }
@media (min-width: 960px) { .faq-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } }

/* CTA */
.cta { display: grid; gap: 24px; padding: clamp(32px, 5vw, 56px); border-radius: 22px; background: var(--primary); color: var(--on-primary); }
.cta .display { color: var(--on-primary); margin-bottom: 10px; }
.cta p { margin: 0; color: color-mix(in srgb, var(--on-primary) 78%, transparent); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line-warm); background: var(--paper); font-size: 14px; }
.ftr-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding: 56px 0 40px; }
.ftr-brand { grid-column: 1 / -1; max-width: 26em; }
.ftr-brand .logo { margin-bottom: 18px; }
.ftr-brand p { color: var(--muted); }
.ftr-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.ftr-col h2 { margin-bottom: 12px; font: 600 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ftr-col a { display: block; padding: 7px 0; overflow-wrap: anywhere; }
.ftr-col a:hover, .ftr-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ftr-bottom p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ftr-bottom .ftr-pay { align-items: center; gap: 6px; }
.ftr-pay .ic { width: 14px; height: 14px; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (min-width: 960px) { .ftr-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding: 72px 0 48px; } .ftr-brand { grid-column: auto; } }

/* ---------- inner pages: masthead ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 12px; height: 12px; background: currentColor; opacity: .6; -webkit-mask: url(/assets/themes/riviera/img/icons/chevron-right.svg) center / contain no-repeat; mask: url(/assets/themes/riviera/img/icons/chevron-right.svg) center / contain no-repeat; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }
.wrap.crumbs { padding-top: 14px; }
.mast { padding: 20px 0 clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--line-warm); }
.mast .crumbs { margin-bottom: clamp(20px, 4vw, 40px); }
.mast-title { font: 600 clamp(36px, 6.4vw, 56px)/1.03 var(--serif); letter-spacing: -.0125em; margin-bottom: 16px; overflow-wrap: break-word; }
.lead { font-size: clamp(16px, 2vw, 18px); line-height: 1.5; max-width: 34em; margin-bottom: 26px; }
.mast-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.mast-photo { position: relative; margin: 0; }
.mast-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.mast-photo .hand-note { position: absolute; left: -12px; bottom: 22px; padding: 8px 14px; border-radius: 10px; background: var(--paper); transform: rotate(-5deg); box-shadow: var(--shadow-sm); }
.mast-center { text-align: center; }
.mast-center .crumbs ol { justify-content: center; }
.mast-center .lead { margin-inline: auto; margin-bottom: 0; }
.mast-slim { padding-bottom: 0; border: 0; }
.mast-slim .crumbs { margin-bottom: 0; }
.mast-dest .search { margin-bottom: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: color-mix(in srgb, #fff 50%, transparent); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.pills a:hover { background: #fff; border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.pills a[aria-current] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
@media (min-width: 960px) {
  .mast-split .mast-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .mast-split .mast-photo img { aspect-ratio: 16 / 11; }
  .mast-check { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; }
}
.sec-tight { padding-top: clamp(32px, 5vw, 56px); }
.sec-title { margin-bottom: 28px; }
.fine { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.result-note { margin-bottom: 20px; color: var(--muted); }
.result-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.empty { display: grid; justify-items: center; gap: 16px; padding: 56px 24px; border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 18px; text-align: center; }
.empty p { margin: 0; font: 500 20px/1.4 var(--serif); }
.back { margin: 40px 0 0; }
.note { padding: 16px 20px; border-left: 3px solid var(--secondary); border-radius: 0 12px 12px 0; background: var(--tint); }
.note h3 { font-size: 15px; margin-bottom: 6px; }
.note p, p.note { margin: 0; }
.checks { display: grid; gap: 14px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { width: 20px; height: 20px; color: var(--secondary); margin-top: 2px; }
.split-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.split-cta .lead { margin: 10px 0 0; }

/* plans */
.tiers { display: grid; gap: 16px; }
.tiers li { position: relative; display: grid; gap: 8px; padding: 26px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tiers li:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.tier-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--secondary); margin-bottom: 8px; }
.tier-icon .ic { width: 22px; height: 22px; }
.tier-label { font: 600 34px/1.05 var(--serif); letter-spacing: -.01em; }
.tier-price { color: var(--muted); font-size: 14px; }
.tier-price b { color: var(--ink); font-size: 17px; }
.tiers .link-arrow { justify-self: start; margin-top: 10px; font-size: 14px; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.who-grid { display: grid; gap: 18px; }
.who { overflow: hidden; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.who img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.who-body { position: relative; padding: 34px 22px 24px; }
.who-body .disc { position: absolute; top: -26px; left: 20px; width: 52px; height: 52px; border: 4px solid #fff; }
.who h3 { font-size: 18px; }
.who-data { margin: 4px 0 10px; font-size: 17px; }
.who p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (min-width: 640px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .who-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
/* Three tiers and three travellers on a live shop (no unlimited plan): three
   columns, not four with one empty. */
@media (min-width: 1100px) { .tiers:not(:has(> :nth-child(4))), .who-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* regional */
.region-grid { display: grid; gap: 18px; }
.region-big { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.region-big:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.region-big-photo { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); color: color-mix(in srgb, var(--secondary) 50%, transparent); }
.region-big-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.region-big:hover .region-big-photo img { transform: scale(1.04); }
.region-big-fallback { width: 64px; height: 64px; }
.region-big-body { position: relative; display: grid; gap: 4px; padding: 18px 56px 20px 20px; }
.region-big-body h3 { font: 600 24px/1.15 var(--serif); }
.region-big-price { margin-top: 6px; font-size: 14px; color: var(--muted); }
.region-big-price b { color: var(--ink); font-size: 16px; }
.region-big-go { position: absolute; right: 20px; bottom: 22px; width: 20px; height: 20px; transition: transform .2s var(--ease); }
.region-big:hover .region-big-go { transform: translateX(4px); }
@media (min-width: 640px) { .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* how it works */
.step-cards { counter-reset: step; display: grid; gap: 16px; }
.step-cards li { counter-increment: step; position: relative; padding: 28px 24px 26px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.step-cards li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 26px; font: 500 44px/1 var(--serif); color: var(--secondary); }
.step-cards h2 { font-size: 19px; margin-bottom: 8px; }
.step-cards p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .step-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.install { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.install-phones { display: flex; justify-content: center; gap: 12px; margin: 0; }
.install-phones img { width: min(42%, 180px); height: auto; filter: drop-shadow(0 18px 24px rgba(12, 21, 38, .18)); }
.install-phones img + img { margin-top: 36px; }
.guide { padding: 28px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.guide h3 { font: 600 24px/1.2 var(--serif); margin-bottom: 18px; }
.guide ol { counter-reset: g; display: grid; gap: 14px; }
.guide li { counter-increment: g; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; }
.guide li::before { content: counter(g); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--secondary); font-size: 13px; font-weight: 600; }
@media (min-width: 1100px) { .install { grid-template-columns: 340px 1fr 1fr; gap: 24px; } }

/* compatibility */
.check-card { padding: 26px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.check-card label { display: block; margin-bottom: 10px; font-weight: 600; }
.search-sm { height: 54px; padding: 0 18px; box-shadow: 0 0 0 1px var(--line); }
.search-sm input { font-size: 16px; }
.check-card .hint { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; }
.check-card .hint .ic { width: 20px; height: 20px; color: var(--secondary); }
.brands { display: grid; gap: 18px; }
.brand { padding: 24px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.brand h3 { font: 600 24px/1.2 var(--serif); margin-bottom: 14px; }
.brand ul { display: grid; gap: 9px; }
.brand li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.brand .ic { width: 16px; height: 16px; color: var(--secondary); }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.self-check { display: grid; gap: 18px; }
.self-check li { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.self-check p { margin: 0; font: 500 19px/1.4 var(--serif); }
@media (min-width: 960px) { .self-check { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* help */
.topics { display: grid; gap: 16px; }
.topic { padding: 26px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.topic:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.topic h3 { margin: 18px 0 6px; font-size: 18px; }
.topic p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* about */
.stats-band { padding: 28px 0; border-bottom: 1px solid var(--line-warm); background: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font: 600 clamp(28px, 4vw, 40px)/1 var(--serif); letter-spacing: -.01em; }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats div + div { padding-left: 32px; border-left: 1px solid var(--line); } }
.values { display: grid; gap: 18px; }
.values li { padding: 28px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.values h3 { margin: 18px 0 8px; font: 600 22px/1.2 var(--serif); }
.values p { margin: 0; color: var(--muted); }
@media (min-width: 960px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* prose, legal, blog */
.prose { font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font: 600 26px/1.2 var(--serif); }
.prose h3 { margin-top: 1.5em; font-size: 19px; }
.prose a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--secondary); font: 500 20px/1.5 var(--serif); }
.prose .lead { font-size: 19px; }
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0 96px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.legal-nav a[aria-current] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.legal-body { max-width: 720px; }
.legal-body .mast-title { margin-bottom: 24px; }
.legal-body section h2 { font-size: 22px; margin: 1.6em 0 .5em; }
.legal-body section p { margin: 0; color: color-mix(in srgb, var(--ink) 85%, var(--surface)); }
.legal-contact { margin-top: 2.4em !important; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .legal { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; padding-top: 40px; }
  .legal-nav { position: sticky; top: 96px; flex-direction: column; align-self: start; gap: 4px; }
  .legal-nav a { border: 0; border-radius: 10px; }
  .legal-nav a:not([aria-current]):hover { background: var(--sand); }
}
.posts { display: grid; gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.post-cat { align-self: flex-start; font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--secondary); }
.post-title { font: 600 24px/1.2 var(--serif); letter-spacing: -.01em; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 13px; }
.post-foot .ic { width: 18px; height: 18px; color: var(--ink); transition: transform .2s var(--ease); }
.post-card:hover .post-foot .ic { transform: translateX(4px); }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.article { max-width: 760px; padding: 20px 0 96px; }
.article-head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-head .crumbs { margin-bottom: 32px; }
.article-head .post-cat { display: inline-block; margin-bottom: 14px; }
.article-title { font: 600 clamp(34px, 5.6vw, 52px)/1.06 var(--serif); letter-spacing: -.0125em; margin-bottom: 14px; }
.article-faq { margin-top: 56px; }
.article-faq .display { margin-bottom: 18px; }

/* forms, cards, notices */
.card { border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .form > label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .form input[type="email"], .form input[type="text"], .form input[type="password"] {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 12px; background: #fff; font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 18%, transparent); }
.field input.code { font: 600 24px/1 var(--sans); letter-spacing: .4em; text-align: center; }
.hint { margin: 0; font-size: 13px; color: var(--muted); }
.btn-lg { min-height: 54px; font-size: 16px; }
.alert, .notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.alert { background: color-mix(in srgb, var(--bad, #c0392b) 9%, #fff); color: color-mix(in srgb, var(--bad, #c0392b) 80%, #000); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad, #c0392b) 25%, transparent); }
.notice { background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--secondary) 20%, transparent); }
.notice .ic { width: 20px; height: 20px; color: var(--secondary); }
.form-foot { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.form-foot a, .form-aside a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-aside { margin: -6px 0 0; font-size: 14px; text-align: right; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 20px 0 96px; }
.duo .crumbs { margin-bottom: 36px; }
.duo-points { display: grid; gap: 20px; margin-top: 12px; }
.duo-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.duo-points strong { display: block; margin-bottom: 4px; color: var(--ink); }
.duo-points .link-arrow { color: var(--ink); font-size: 14px; }
.form-card { padding: clamp(22px, 4vw, 40px); align-self: start; }
@media (min-width: 960px) { .duo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; padding-top: 28px; } }

.auth { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0 96px; }
.auth-card { width: 100%; max-width: 520px; justify-self: center; padding: clamp(24px, 4vw, 44px); border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.auth-card .disc { margin-bottom: 18px; }
.auth-card .crumbs { margin: -8px 0 18px; }
.auth-card .mast-title { font-size: clamp(32px, 5vw, 44px); }
.auth-card .lead { font-size: 16px; }
.auth-photo { display: none; position: relative; margin: 0; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.auth-photo .hand-note { position: absolute; left: 28px; bottom: 28px; padding: 10px 16px; border-radius: 12px; background: var(--paper); transform: rotate(-4deg); }
.auth-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 960px) {
  .auth:not(.auth-solo) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 48px; }
  .auth:not(.auth-solo) .auth-card { justify-self: stretch; max-width: none; }
  .auth-photo { display: block; min-height: 560px; }
}

/* order */
.order { max-width: 860px; padding: 40px 0 96px; }
.order-head { margin-bottom: 32px; }
.order-head .disc { margin-bottom: 18px; }
.disc-warn { background: color-mix(in srgb, var(--warn, #d68910) 14%, #fff); color: color-mix(in srgb, var(--warn, #d68910) 80%, #000); }
.order-num { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--sand); font-weight: 600; font-size: 14px; }
.order-item { margin-bottom: 20px; padding: clamp(22px, 4vw, 36px); border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.order-item h2 { font: 600 26px/1.2 var(--serif); margin-bottom: 20px; }
.esim { display: grid; gap: 24px; }
.esim-qr { width: 220px; height: 220px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.esim-code code { display: block; padding: 12px 14px; border-radius: 10px; background: var(--sand); font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.esim-info .btn { margin-bottom: 18px; }
.esim-info .btn.is-copied { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.pill-note { display: inline-flex; margin: 14px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 600; }
.order-foot { margin-top: 28px; }
@media (min-width: 640px) { .esim { grid-template-columns: 220px 1fr; align-items: start; } }

/* 404 */
.lost { display: flex; flex-direction: column; gap: 36px; padding: 48px 0 0; }
.lost-photo { order: 2; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 40%; }
@media (min-width: 960px) {
  .lost { position: relative; display: block; overflow: hidden; padding: clamp(80px, 14vw, 160px) 0; isolation: isolate; }
  .lost-photo { position: absolute; inset: 0; z-index: -1; height: 100%; aspect-ratio: auto; }
  .lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 92%, transparent) 45%, color-mix(in srgb, var(--surface) 20%, transparent) 80%); }
}
.lost-in { max-width: 1376px; }
.lost-in > * { max-width: 560px; }

/* ---------- purchase page ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 10px 0 64px; }
.buy-main { min-width: 0; }
.buy-head { padding: 18px 0 26px; }
.buy-flag { display: inline-grid; place-items: center; width: 64px; height: 46px; margin-bottom: 18px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.buy-flag img { width: 40px; height: auto; border-radius: 3px; }
.buy-flag span { font-weight: 700; color: var(--secondary); }
.buy-head h1 { font: 600 clamp(40px, 7vw, 64px)/1 var(--serif); letter-spacing: -.015em; margin-bottom: 14px; }
.buy-sub { max-width: 30em; font-size: clamp(16px, 2vw, 19px); line-height: 1.45; margin-bottom: 14px; }
.buy-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.buy-meta strong { color: var(--ink); }
.buy-keys { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 8px; font-size: 14px; font-weight: 500; }
.buy-keys li { display: flex; align-items: center; gap: 10px; }
.buy-keys .disc { width: 38px; height: 38px; }
.buy-keys .disc .ic { width: 18px; height: 18px; }
.plan-box { padding: 14px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.plan-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; padding: 5px; border-radius: 14px; background: var(--sand); }
.plan-tabs button { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; text-align: center; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.plan-tabs strong { font-size: 14px; }
.plan-tabs span { font-size: 12px; color: var(--muted); }
.plan-tabs [aria-selected="true"] { background: #fff; box-shadow: 0 1px 2px rgba(12, 21, 38, .08), 0 4px 12px -6px rgba(12, 21, 38, .2); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.plan { position: relative; display: grid; gap: 2px; padding: 18px 16px 16px; border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.plan:hover { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan-data { font: 600 24px/1.1 var(--serif); letter-spacing: -.01em; }
.plan-days { font-size: 14px; color: var(--muted); }
.plan-price { margin-top: 12px; font-size: 18px; font-weight: 600; }
.plan-dot { position: absolute; top: 16px; right: 14px; width: 20px; height: 20px; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 50%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.plan:has(input:checked), .plan.is-selected { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 12px 24px -16px color-mix(in srgb, var(--primary) 60%, transparent); }
.plan:has(input:checked) .plan-dot, .plan.is-selected .plan-dot { border-color: var(--primary); box-shadow: inset 0 0 0 5px var(--primary); }
.plan:has(input:focus-visible) { outline: 2px solid var(--secondary); outline-offset: 2px; }
.plan-badge { position: absolute; top: -10px; left: 14px; padding: 3px 9px; border-radius: 999px; background: var(--secondary); color: var(--on-secondary); font-size: 11px; font-weight: 600; }
.plan-empty { display: flex; gap: 18px; align-items: flex-start; padding: 22px 8px 8px; }
.plan-empty h3 { font: 600 22px/1.2 var(--serif); margin-bottom: 6px; }
.plan-empty p { color: var(--muted); }
html:not(.js) .plan-empty { border-top: 1px solid var(--line); margin-top: 14px; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .plan-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fit { display: grid; gap: 16px; margin-top: 18px; padding: 20px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.fit-head h2 { font: 600 22px/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 4px; }
.fit-head p { margin: 0; font-size: 13px; color: var(--muted); }
.fit-list { display: grid; gap: 10px; }
.fit-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); font-size: 13px; line-height: 1.35; }
.fit-list li.is-on { box-shadow: 0 0 0 1.5px var(--ink); background: var(--paper); }
.fit-list strong { display: block; font-size: 14px; font-weight: 600; }
.fit-list small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted); }
@media (min-width: 1100px) {
  .fit { grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 20px; padding: 16px 16px 16px 22px; }
  .fit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fit-list li { padding: 12px 14px; }
}
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; padding: 20px; border-radius: 18px; background: var(--sand); }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.perks .ic { width: 24px; height: 24px; color: var(--secondary); }
.perks strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 13.5px; }
@media (min-width: 1100px) { .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.buy-prose { margin-top: 40px; max-width: 760px; }
.summary { align-self: start; overflow: hidden; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); scroll-margin-top: 80px; }
.sum-photo { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--tint); }
.sum-body { padding: 0 22px 22px; }
.sum-title { position: relative; display: flex; align-items: center; gap: 14px; margin: -30px 0 10px; }
.sum-title img, .sum-title .mark { width: 60px; height: 60px; padding: 14px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); object-fit: contain; }
.sum-title .mark { display: grid; place-items: center; padding: 0; font-weight: 700; color: var(--secondary); }
.sum-title > span { display: grid; padding-top: 30px; }
.sum-title strong { font: 600 24px/1.1 var(--serif); }
.sum-title > span > span { font-size: 13px; color: var(--muted); }
.sum-list { margin: 8px 0 0; }
.sum-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-list dt { color: var(--muted); font-size: 14px; }
.sum-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.sum-list [data-summary-price] { font-size: 18px; }
.sum-single { font: 600 18px/1.3 var(--serif); }
.sum-points { display: grid; gap: 14px; margin: 18px 0; }
.sum-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sum-points .ic { width: 22px; height: 22px; color: var(--secondary); }
.sum-points strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.sum-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; padding: 12px 0; border-block: 1px solid var(--line); font-size: 13px; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 16px; }
.sum-total span { font-size: 14px; color: var(--muted); }
.sum-total strong { font: 600 32px/1 var(--serif); letter-spacing: -.01em; }
.sum-form { gap: 14px; }
.sum-form .field input { min-height: 48px; }
.summary > .sum-body > .btn[disabled] + .hint, .sum-form .hint { text-align: center; }
.summary .hint { margin-top: 10px; }
.sum-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.sum-secure .ic { width: 16px; height: 16px; }
.sum-compat { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--secondary); }
.sum-compat .ic { width: 20px; height: 20px; }
.sum-compat .ic-arrow { width: 16px; height: 16px; margin-left: auto; transition: transform .2s var(--ease); }
.sum-compat:hover .ic-arrow { transform: translateX(3px); }
.summary-empty .sum-body { padding: 28px; display: grid; gap: 16px; justify-items: start; }
.summary-empty p { margin: 0; font: 500 20px/1.4 var(--serif); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -18px rgba(12, 21, 38, .35); }
.buybar p { display: grid; margin: 0; line-height: 1.1; }
.buybar span { font-size: 12px; color: var(--muted); }
.buybar strong { font: 600 22px/1.1 var(--serif); }
.buybar .btn { min-height: 48px; }
@media (max-width: 959px) { body:has(.buybar) .ftr { padding-bottom: 76px; } }
@media (min-width: 960px) {
  .buy { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-bottom: 80px; }
  .summary { position: sticky; top: 84px; margin-top: 18px; }
  .buybar { display: none; }
}
@media (min-width: 1280px) { .buy { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } }
.phones { display: grid; gap: 28px; }
.phones li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; counter-increment: ph; }
.phones { counter-reset: ph; }
.phones img { width: 110px; height: auto; filter: drop-shadow(0 16px 22px rgba(12, 21, 38, .16)); }
.phones h3 { font-size: 18px; margin-bottom: 6px; }
.phones h3::before { content: counter(ph); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 13px; vertical-align: 2px; }
.phones p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 960px) {
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .phones li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 32px 24px 28px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  .phones img { width: 150px; margin-bottom: 8px; }
}
.reviews { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.reviews-score .display { margin-bottom: 18px; }
.score { display: flex; align-items: baseline; gap: 4px; margin: 0 0 6px; }
.score-num { font: 600 72px/1 var(--serif); letter-spacing: -.02em; }
.score-of { font: 500 24px/1 var(--serif); color: var(--muted); }
.stars-lg .ic { width: 20px; height: 20px; }
.reviews-score .muted { margin: 10px 0 0; font-size: 14px; }
.quotes-stack .quote blockquote::before { height: 26px; }
@media (min-width: 1100px) { .reviews { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; } }
.faq-title { margin-bottom: 18px; font: 600 24px/1.2 var(--serif); }
.dest-body-plain { grid-template-columns: 1fr; }

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

/* custom page (/pages/:slug): one centred column, merchant HTML */
.legal.legal--page { grid-template-columns: minmax(0, 720px); justify-content: center; }
.legal--page pre { overflow-x: auto; }

/* ---------- the shop's header, footer and home sections ---------- */
/* The footer's columns are the shop's (four by default, the legal one among them). */
@media (min-width: 960px) { .ftr-top { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.ftr-brand .ftr-mail { color: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Right to left: the hero photo is mirrored, so the traveller in it stands
   clear of the words; the fade over it is the mirrored stylesheet's own. */
@media (min-width: 960px) {
  [dir="rtl"] .hero-photo img { scale: -1 1; }
}
