/* ==========================================================================
   متجر رقم 8 — travel eSIM storefront theme: sky blue + deep navy with a
   sunrise-orange accent, destination grid, "how it works" steps and plan
   cards shaped like tickets. Line icons are CSS masks.
   Loaded after bootstrap + the stock stylesheet. Logical properties keep one
   file working for RTL (ar) and LTR (en-gb).
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-latin-400.woff2") format("woff2"); 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: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-latin-500.woff2") format("woff2"); 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: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("fonts/plex-latin-600.woff2") format("woff2"); 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: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-latin-700.woff2") format("woff2"); 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; }

/* ---------- tokens ---------- */
:root,
[data-bs-theme=light] {
  --s8-bg: #f3f8fd;
  --s8-surface: #ffffff;
  --s8-soft: #e8f1fa;
  --s8-soft-2: #d2e2f2;
  --s8-dark: #0b2545;
  --s8-darker: #071a33;
  --s8-ink: #0b2545;
  --s8-text: #33475e;
  --s8-muted: #62758b;
  --s8-dim: #94a4b6;
  --s8-line: #dde8f3;
  --s8-line-strong: #c6d6e6;
  --s8-primary: #1570ef;
  --s8-primary-rgb: 21, 112, 239;
  --s8-primary-dark: #0f56c0;
  --s8-accent: #ff7a3d;
  --s8-accent-dark: #f0611f;
  --s8-tint: #e2eeff;
  --s8-danger: #e5484d;
  --s8-sky: linear-gradient(180deg, #d9ecff 0%, #eef6ff 55%, #ffffff 100%);
  --s8-radius: 20px;
  --s8-radius-sm: 12px;
  --s8-ease: cubic-bezier(.2, .7, .2, 1);
  --s8-ring: 0 0 0 4px rgba(var(--s8-primary-rgb), 0.16);
  --s8-shadow: 0 1px 2px rgba(11, 37, 69, 0.04), 0 12px 28px -18px rgba(11, 37, 69, 0.25);
  --s8-shadow-lg: 0 2px 6px rgba(11, 37, 69, 0.05), 0 32px 56px -28px rgba(21, 112, 239, 0.4);

  --bs-body-bg: var(--s8-bg);
  --bs-body-color: var(--s8-text);
  --bs-secondary-color: var(--s8-muted);
  --bs-secondary-bg: var(--s8-soft);
  --bs-tertiary-color: var(--s8-dim);
  --bs-tertiary-bg: var(--s8-soft);
  --bs-emphasis-color: var(--s8-ink);
  --bs-heading-color: var(--s8-ink);
  --bs-border-color: var(--s8-line);
  --bs-border-color-translucent: var(--s8-line);
  --bs-border-radius: var(--s8-radius-sm);
  --bs-border-radius-lg: var(--s8-radius);
  --bs-border-radius-sm: 9px;
  --bs-primary: var(--s8-primary);
  --bs-primary-rgb: var(--s8-primary-rgb);
  --bs-link-color: var(--s8-primary);
  --bs-link-color-rgb: var(--s8-primary-rgb);
  --bs-link-hover-color: var(--s8-primary-dark);
  --bs-link-hover-color-rgb: 15, 86, 192;
  --bs-link-decoration: none;
  --bs-font-sans-serif: "Plex Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 0.95rem;
  --bs-body-line-height: 1.8;
  color-scheme: light;
}

/* ---------- base ---------- */
html { height: 100%; scroll-behavior: smooth; }
body.s8 { min-height: 100%; height: auto; font-family: var(--bs-body-font-family); color: var(--s8-text); background: var(--s8-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(var(--s8-primary-rgb), 0.22); }
a { text-decoration: none; transition: color .15s ease; }
h1, h2, h3, h4, h5, h6 { color: var(--s8-ink); font-weight: 700; line-height: 1.4; }
h1 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
label { font-size: .875rem; font-weight: 500; color: var(--s8-muted); }
hr { border-color: var(--s8-line-strong); opacity: 1; }
legend { border-bottom: 2px solid var(--s8-line); font-size: 1.05rem; font-weight: 700; color: var(--s8-ink); padding: .5rem 0; margin-bottom: 1.25rem; }
img { max-width: 100%; }

.s8-page { display: flex; flex-direction: column; min-height: 100vh; }
.s8-page > main { flex: 1 0 auto; padding-bottom: 4.5rem; }
#content, #column-left, #column-right { padding-bottom: 0; }
#column-left, #column-right { margin-bottom: 1.5rem; }

/* ---------- icons ---------- */
/* Thin line icons as CSS masks: they take the current text colour and size (1em). */
.s8-i { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.15em; background-color: currentColor; -webkit-mask: var(--s8-icon) center / contain no-repeat; mask: var(--s8-icon) center / contain no-repeat; }
.s8-i-search { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cpath d='m20.5 20.5-4.2-4.2'/%3E%3C/svg%3E"); }
.s8-i-user { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E"); }
.s8-i-heart { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-8-4.8-8-11a4.5 4.5 0 0 1 8-2.8a4.5 4.5 0 0 1 8 2.8c0 6.2-8 11-8 11Z'/%3E%3C/svg%3E"); }
.s8-i-bag { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.5H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.s8-i-bag-plus { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.5H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Cpath d='M12 11.5v5M9.5 14h5'/%3E%3C/svg%3E"); }
.s8-i-shield { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s7.5-3.5 7.5-9.5V5.5L12 2.5 4.5 5.5V12c0 6 7.5 9.5 7.5 9.5Z'/%3E%3Cpath d='m8.8 12 2.3 2.3 4.2-4.3'/%3E%3C/svg%3E"); }
.s8-i-headphones { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17v-5a8 8 0 0 1 16 0v5'/%3E%3Crect x='3' y='14' width='4.5' height='6.5' rx='2'/%3E%3Crect x='16.5' y='14' width='4.5' height='6.5' rx='2'/%3E%3C/svg%3E"); }
.s8-i-card { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='3'/%3E%3Cpath d='M2.5 10h19'/%3E%3Cpath d='M6.5 15h3.5'/%3E%3C/svg%3E"); }
.s8-i-tag { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5a1 1 0 0 1 1-1h6.8a2 2 0 0 1 1.4.6l7.2 7.2a2 2 0 0 1 0 2.8l-5.8 5.8a2 2 0 0 1-2.8 0l-7.2-7.2a2 2 0 0 1-.6-1.4V4.5Z'/%3E%3Cpath d='M8 8h.01'/%3E%3C/svg%3E"); }
.s8-i-compare { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16.5 3 4 4-4 4'/%3E%3Cpath d='M3.5 11v-1a3 3 0 0 1 3-3h14'/%3E%3Cpath d='m7.5 21-4-4 4-4'/%3E%3Cpath d='M20.5 13v1a3 3 0 0 1-3 3h-14'/%3E%3C/svg%3E"); }
.s8-i-menu { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E"); }
.s8-i-x { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.s8-i-plane { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.100.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.300.3l.5-.2c.4-.3.6-.7.5-1.2Z'/%3E%3C/svg%3E"); }
.s8-i-globe { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14 14 0 0 1 0 18a14 14 0 0 1 0-18Z'/%3E%3C/svg%3E"); }
.s8-i-qr { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='14' y='3.5' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='3.5' y='14' width='6.5' height='6.5' rx='1.5'/%3E%3Cpath d='M14 14h2.5v2.5H14ZM18.5 18.5h2v2h-2ZM20.5 14v1.5M14 20.5h1.5'/%3E%3C/svg%3E"); }
.s8-i-sim { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 3h6.5l4.5 4.5V19a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z'/%3E%3Crect x='8.5' y='11' width='7' height='6.5' rx='1.5'/%3E%3Cpath d='M12 11v6.5M8.5 14.25h7'/%3E%3C/svg%3E"); }
.s8-i-signal { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20v-3M10 20v-7M15 20V9M20 20V4'/%3E%3C/svg%3E"); }
.s8-i-phone { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='3'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E"); }
.s8-i-pin { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s7-6.2 7-11.5a7 7 0 0 0-14 0c0 5.3 7 11.5 7 11.5Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.s8-i-check { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.s8-i-arrow { --s8-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* ---------- top strip ---------- */
.s8-top { font-size: .8rem; position: relative; z-index: 1031; background: var(--s8-surface); border-bottom: 1px solid var(--s8-line); }
.s8-top .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.s8-top ul.list-inline { margin: 0; display: flex; align-items: center; gap: 1.35rem; }
.s8-top .list-inline-item { margin: 0; }
.s8-top a, .s8-top .dropdown > span { color: var(--s8-muted); display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.s8-top a:hover, .s8-top .dropdown > span:hover { color: var(--s8-ink); }
.s8-top .dropdown-toggle::after { display: none; }
.s8-top .fa-caret-down { font-size: .7em; opacity: .6; }
.s8-top img { border-radius: 2px; }
.s8-top .s8-i { font-size: 1.05em; color: var(--s8-primary); }

/* ---------- header ---------- */
.s8-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--s8-line); }
.s8-header-row { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; }
.s8-logo { flex: 0 0 auto; }
.s8-logo img { max-width: 170px; max-height: 44px; }
.s8-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--s8-ink); font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.s8-brand:hover { color: var(--s8-ink); }
.s8-brand-mark { width: 40px; height: 40px; border-radius: 13px; background: var(--s8-ink); color: #fff; display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; transition: background .3s, transform .4s var(--s8-ease); }
.s8-brand:hover .s8-brand-mark { background: var(--s8-primary); transform: rotate(12deg); }
.s8-header-search { flex: 1 1 auto; min-width: 0; max-width: 520px; margin-inline: auto; }
.s8-search { display: flex; align-items: center; margin: 0; height: 46px; border-radius: 999px; background: var(--s8-soft); border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.s8-search:focus-within { background: #fff; border-color: rgba(var(--s8-primary-rgb), 0.5); box-shadow: var(--s8-ring); }
.s8-search button { flex: 0 0 46px; height: 44px; border: 0; background: transparent; color: var(--s8-muted); font-size: 1.05rem; display: grid; place-items: center; border-radius: 50%; transition: color .2s; }
.s8-search button:hover, .s8-search:focus-within button { color: var(--s8-primary); }
.s8-search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--s8-ink); font-size: .93rem; padding-inline: 0 1.2rem; outline: 0; }
.s8-search input::placeholder { color: var(--s8-dim); }
.s8-actions { display: flex; align-items: center; gap: .25rem; flex: 0 0 auto; }
.s8-action { position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--s8-ink); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--s8-ease); }
.s8-action:hover, .s8-action.show { background: var(--s8-soft); color: var(--s8-primary); }
.s8-action:active { transform: scale(.94); }
#cart { margin: 0; }
/* the cart is an icon; the item count sits on it as a badge */
.s8-cart-btn { background: var(--s8-ink); color: #fff; margin-inline-start: .35rem; }
.s8-cart-btn:hover, .s8-cart-btn.show { background: var(--s8-primary); color: #fff; transform: translateY(-2px); }
.s8-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; border: 2px solid #fff; background: var(--s8-primary); color: #fff; font-size: .68rem; font-weight: 700; line-height: 17px; text-align: center; animation: s8-pop .4s var(--s8-ease); }
.s8-cart-btn:hover .s8-count, .s8-cart-btn.show .s8-count { background: var(--s8-ink); }
@keyframes s8-pop { from { scale: 0; } 70% { scale: 1.2; } to { scale: 1; } }
#cart .dropdown-menu { background: var(--s8-surface); min-width: min(420px, calc(100vw - 2rem)); margin-top: .8rem !important; padding: .9rem !important; }
#cart .dropdown-menu li { min-width: 0; }
#cart .img-thumbnail { min-width: 0; width: 56px; }
#cart .table { font-size: .85rem; }
#cart .btn-danger { width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
.s8-empty { display: grid; justify-items: center; gap: .6rem; padding: 1.75rem 1rem; color: var(--s8-muted); text-align: center; }
.s8-empty span { width: 56px; height: 56px; border-radius: 50%; background: var(--s8-tint); display: grid; place-items: center; color: var(--s8-primary); font-size: 1.5rem; }
/* travel accents: sky-blue brand mark, sunrise-orange cart */
.s8-brand-mark { background: var(--s8-primary); }
.s8-brand:hover .s8-brand-mark { background: var(--s8-accent); }
.s8-cart-btn { background: var(--s8-accent); }
.s8-cart-btn:hover, .s8-cart-btn.show { background: var(--s8-ink); }
.s8-count { background: var(--s8-ink); }
.s8-cart-btn:hover .s8-count, .s8-cart-btn.show .s8-count { background: var(--s8-accent); }

/* ---------- category nav ---------- */
.s8-nav-wrap { margin: 1rem 0 1.75rem; }
.s8-nav { padding: 0; --bs-navbar-padding-y: 0; justify-content: center; }
.s8-nav .navbar-collapse { justify-content: center; flex-grow: 0; }
.s8-nav .navbar-nav { gap: .15rem; flex-wrap: wrap; justify-content: center; padding: .3rem; border-radius: 28px; background: var(--s8-surface); border: 1px solid var(--s8-line); box-shadow: var(--s8-shadow); }
.s8-nav .navbar-nav > li > a { color: var(--s8-text); font-size: .9rem; font-weight: 500; padding: .5rem 1.05rem; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.s8-nav .navbar-nav > li > a:hover, .s8-nav .navbar-nav > li > a.show { color: #fff; background: var(--s8-ink); }
.s8-nav .dropdown-toggle::after { margin-inline-start: .4em; opacity: .55; vertical-align: .15em; border-width: .26em; }
.s8-nav .dropdown-menu { margin-top: .5rem; padding: .5rem; min-width: 220px; }
/* invisible bridge so the pointer can travel from the pill to its menu */
.s8-nav .dropdown-menu::before { content: ""; position: absolute; inset-inline: 0; top: -.6rem; height: .6rem; }
.s8-nav .s8-all { color: var(--s8-primary); font-weight: 600; }
.s8-nav-toggle { width: 100%; height: 50px; padding: 0 1.1rem; border: 1px solid var(--s8-line); border-radius: 999px; background: var(--s8-surface); color: var(--s8-ink); font-weight: 600; font-size: .93rem; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--s8-shadow); }
.s8-nav-toggle .s8-i { font-size: 1.25rem; }
@media (min-width: 992px) { .s8-nav .dropdown:hover > .dropdown-menu { display: block; } }
@media (max-width: 991.98px) {
  .s8-nav .navbar-collapse { flex-grow: 1; margin-top: .5rem; }
  .s8-nav .navbar-nav { justify-content: flex-start; border-radius: var(--s8-radius); padding: .5rem; }
  .s8-nav .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding: 0 1rem .5rem; margin-top: 0; }
}

/* ---------- dropdowns / tooltips ---------- */
.dropdown-menu { --bs-dropdown-bg: var(--s8-surface); --bs-dropdown-color: var(--s8-text); --bs-dropdown-border-color: var(--s8-line); --bs-dropdown-link-color: var(--s8-text); --bs-dropdown-link-hover-color: var(--s8-primary); --bs-dropdown-link-hover-bg: var(--s8-soft); --bs-dropdown-link-active-bg: var(--s8-primary); --bs-dropdown-divider-bg: var(--s8-line); --bs-dropdown-border-radius: var(--s8-radius); --bs-dropdown-font-size: .9rem; box-shadow: var(--s8-shadow-lg); text-align: start; }
.dropdown-item { border-radius: 6px; padding: .45rem .8rem; }
.tooltip { --bs-tooltip-bg: var(--s8-darker); --bs-tooltip-color: #fff; --bs-tooltip-font-size: .76rem; font-family: var(--bs-body-font-family); }

/* ---------- buttons ---------- */
.btn { --bs-btn-border-radius: 999px; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .55rem; --bs-btn-font-size: .92rem; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .3s var(--s8-ease); }
.btn .s8-i { font-size: 1.15em; vertical-align: -.2em; margin-inline-end: .2rem; }
.btn:active { transform: scale(.97); }
.btn-lg { --bs-btn-padding-y: .82rem; --bs-btn-padding-x: 1.9rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 999px; }
.btn-primary, .btn.bg-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--s8-primary); --bs-btn-border-color: var(--s8-primary); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s8-primary-dark); --bs-btn-hover-border-color: var(--s8-primary-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s8-primary-dark); --bs-btn-active-border-color: var(--s8-primary-dark); --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--s8-dim); --bs-btn-disabled-border-color: var(--s8-dim); background-color: var(--bs-btn-bg) !important; box-shadow: 0 12px 24px -14px rgba(var(--s8-primary-rgb), 0.9); }
.btn-primary:hover, .btn.bg-primary:hover { background-color: var(--s8-primary-dark) !important; transform: translateY(-2px); }
.btn-light, .btn-secondary, .btn-dark, .btn-default { --bs-btn-color: var(--s8-ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--s8-line-strong); --bs-btn-hover-color: var(--s8-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--s8-ink); --bs-btn-active-color: var(--s8-ink); --bs-btn-active-bg: var(--s8-soft); --bs-btn-active-border-color: var(--s8-ink); --bs-btn-disabled-color: var(--s8-dim); --bs-btn-disabled-bg: var(--s8-soft); --bs-btn-disabled-border-color: var(--s8-line); }
.btn-danger { --bs-btn-color: var(--s8-danger); --bs-btn-bg: #fff0f0; --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s8-danger); --bs-btn-hover-border-color: var(--s8-danger); --bs-btn-active-color: #fff; --bs-btn-active-bg: #c93a3f; --bs-btn-active-border-color: #c93a3f; }
.btn-info { --bs-btn-color: var(--s8-primary); --bs-btn-bg: var(--s8-tint); --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s8-primary); --bs-btn-hover-border-color: var(--s8-primary); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s8-primary-dark); --bs-btn-active-border-color: var(--s8-primary-dark); }
.btn-group > .btn { --bs-btn-border-radius: 12px; }
.btn-group > .btn.active { background: var(--s8-ink); border-color: var(--s8-ink); color: #fff; }
button:focus-visible, a:focus-visible, .btn:focus-visible, [role=button]:focus-visible { outline: 2px solid var(--s8-primary) !important; outline-offset: 2px; box-shadow: none; }

/* ---------- forms ---------- */
.form-control, .form-select, .input-group-text { background-color: #fff; border-color: var(--s8-line-strong); color: var(--s8-ink); border-radius: var(--s8-radius-sm); padding: .6rem .95rem; font-size: .92rem; }
.form-control::placeholder { color: var(--s8-dim); }
.form-control:focus, .form-select:focus { border-color: var(--s8-primary); box-shadow: var(--s8-ring); color: var(--s8-ink); }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: var(--s8-soft); color: var(--s8-muted); }
.input-group-text { background-color: var(--s8-soft); color: var(--s8-muted); font-size: .85rem; }
.form-check-input { border-color: var(--s8-line-strong); }
.form-check-input:checked { background-color: var(--s8-primary); border-color: var(--s8-primary); }
.form-check-input:focus { border-color: var(--s8-primary); box-shadow: var(--s8-ring); }
.form-check-label { color: var(--s8-text); font-size: .9rem; }
.form-label, .col-form-label { color: var(--s8-muted); font-size: .875rem; font-weight: 500; }
.col-form-label { text-align: start; }
div.required .col-form-label:before, div.required .form-label:before { color: var(--s8-danger); }
fieldset { margin-bottom: 1.5rem; }

/* ---------- surfaces ---------- */
.card { --bs-card-bg: var(--s8-surface); --bs-card-border-color: var(--s8-line); --bs-card-border-radius: var(--s8-radius); --bs-card-cap-bg: var(--s8-soft); box-shadow: var(--s8-shadow); }
.border { border-color: var(--s8-line) !important; }
.border.rounded { background: var(--s8-surface); border-radius: var(--s8-radius) !important; padding: 1.75rem !important; box-shadow: var(--s8-shadow); border-top: 3px solid var(--s8-primary) !important; }
.img-thumbnail { background: #fff; border: 1px solid var(--s8-line); border-radius: var(--s8-radius-sm); padding: .3rem; }
.modal-content { --bs-modal-bg: var(--s8-surface); --bs-modal-border-color: var(--s8-line); --bs-modal-header-border-color: var(--s8-line); --bs-modal-footer-border-color: var(--s8-line); border-radius: var(--s8-radius); box-shadow: var(--s8-shadow-lg); }
.modal-backdrop { --bs-backdrop-bg: #071a33; --bs-backdrop-opacity: .55; }
.list-group { --bs-list-group-bg: var(--s8-surface); --bs-list-group-color: var(--s8-text); --bs-list-group-border-color: var(--s8-line); --bs-list-group-border-radius: var(--s8-radius); --bs-list-group-item-padding-y: .65rem; --bs-list-group-active-bg: var(--s8-soft); --bs-list-group-active-border-color: var(--s8-line); --bs-list-group-active-color: var(--s8-primary); font-size: .92rem; box-shadow: var(--s8-shadow); }
.list-group-item { transition: background .15s, color .15s, padding .2s var(--s8-ease); }
a.list-group-item:hover { background: var(--s8-soft); color: var(--s8-primary); padding-inline-start: 1.25rem; }
.list-group-item.active { font-weight: 700; box-shadow: inset 3px 0 0 var(--s8-accent); }
[dir=rtl] .list-group-item.active { box-shadow: inset -3px 0 0 var(--s8-accent); }

.table { --bs-table-bg: var(--s8-surface); --bs-table-color: var(--s8-text); --bs-table-border-color: var(--s8-line); --bs-table-striped-bg: #f8fbfe; --bs-table-striped-color: var(--s8-text); --bs-table-hover-bg: var(--s8-soft); --bs-table-hover-color: var(--s8-ink); font-size: .9rem; vertical-align: middle; }
.table > thead > tr > *, .table > thead td { background: var(--s8-dark); color: #fff; font-weight: 600; }
.table > :not(caption) > * > * { padding: .75rem .9rem; }
.table-responsive { border-radius: var(--s8-radius-sm); }

.alert { --bs-alert-border-radius: var(--s8-radius-sm); font-size: .92rem; border-inline-start-width: 4px; }
.alert-success { --bs-alert-bg: #edf8f3; --bs-alert-border-color: #2f9e6f; --bs-alert-color: #145a3c; --bs-alert-link-color: #145a3c; }
.alert-danger { --bs-alert-bg: #fdf3f2; --bs-alert-border-color: #d1564b; --bs-alert-color: #8f261d; --bs-alert-link-color: #8f261d; }
.alert-warning { --bs-alert-bg: #fff8e8; --bs-alert-border-color: var(--s8-accent); --bs-alert-color: #74500a; --bs-alert-link-color: #74500a; }
.alert-info, .alert-primary { --bs-alert-bg: var(--s8-soft); --bs-alert-border-color: var(--s8-primary); --bs-alert-color: var(--s8-dark); --bs-alert-link-color: var(--s8-dark); }
.alert a { font-weight: 600; text-decoration: underline; }
#alert { left: 0; right: 0; top: 92px; width: min(540px, calc(100vw - 2rem)); margin-left: auto; margin-right: auto; }
#alert .alert { box-shadow: var(--s8-shadow-lg) !important; }

.nav-tabs { --bs-nav-tabs-border-color: var(--s8-line-strong); --bs-nav-tabs-link-hover-border-color: transparent; --bs-nav-tabs-link-active-bg: var(--s8-surface); --bs-nav-tabs-link-active-color: var(--s8-primary); --bs-nav-tabs-link-active-border-color: var(--s8-line-strong) var(--s8-line-strong) var(--s8-surface); --bs-nav-tabs-border-radius: var(--s8-radius-sm); --bs-nav-link-color: var(--s8-muted); --bs-nav-link-hover-color: var(--s8-ink); margin-bottom: 0; }
.nav-tabs .nav-link { font-weight: 600; padding: .7rem 1.2rem; }
.nav-tabs .nav-link.active { box-shadow: inset 0 3px 0 var(--s8-accent); }

.pagination { --bs-pagination-bg: #fff; --bs-pagination-color: var(--s8-text); --bs-pagination-border-color: var(--s8-line-strong); --bs-pagination-hover-bg: var(--s8-soft); --bs-pagination-hover-color: var(--s8-primary); --bs-pagination-hover-border-color: var(--s8-line-strong); --bs-pagination-active-bg: var(--s8-primary); --bs-pagination-active-border-color: var(--s8-primary); --bs-pagination-disabled-bg: var(--s8-soft); --bs-pagination-disabled-color: var(--s8-dim); --bs-pagination-disabled-border-color: var(--s8-line); --bs-pagination-focus-box-shadow: none; gap: .3rem; }
.pagination .page-link { border-radius: var(--s8-radius-sm) !important; min-width: 40px; text-align: center; }

/* ---------- breadcrumb ---------- */
.breadcrumb { margin: 0 0 1.5rem; padding: .6rem 1rem; border: 1px solid var(--s8-line); border-radius: var(--s8-radius-sm); background: var(--s8-surface); font-size: .84rem; align-items: center; flex-wrap: wrap; }
.breadcrumb > li.breadcrumb-item { text-shadow: none; padding: 0; white-space: normal; display: inline-flex; align-items: center; }
.breadcrumb > li.breadcrumb-item > a { color: var(--s8-muted); }
.breadcrumb > li.breadcrumb-item > a:hover { color: var(--s8-primary); }
.breadcrumb > li.breadcrumb-item:last-child > a { color: var(--s8-ink); font-weight: 600; }
.breadcrumb > li.breadcrumb-item:after { display: none; }
.breadcrumb > li.breadcrumb-item + li:before { content: ""; float: none; display: inline-block; width: 6px; height: 6px; padding: 0; margin-inline: .7rem; border-top: 1.5px solid var(--s8-dim); border-inline-end: 1.5px solid var(--s8-dim); transform: rotate(45deg); }
[dir=rtl] .breadcrumb > li.breadcrumb-item + li:before { transform: rotate(-135deg); }
.breadcrumb i { font-size: .82rem; color: var(--s8-primary); }

/* ---------- product card ---------- */
/* A plan reads like a travel ticket: header with a small cover, details, then a tear-off strip with the price. */
.product-thumb { border: 1px solid var(--s8-line); border-radius: var(--s8-radius); background: var(--s8-surface); height: 100%; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .4s var(--s8-ease), transform .4s var(--s8-ease); }
.product-thumb:hover { border-color: rgba(var(--s8-primary-rgb), 0.4); box-shadow: var(--s8-shadow-lg); transform: translateY(-4px); }
.product-thumb > form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.s8-plan-top { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.1rem .6rem; }
.product-thumb .image { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; background: var(--s8-soft); overflow: hidden; text-align: center; }
.product-thumb .image a { display: block; width: 100%; height: 100%; padding: 6px; }
.product-thumb .image a:hover { opacity: 1; }
.product-thumb .image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--s8-ease); }
.product-thumb:hover .image img { transform: scale(1.08); }
.s8-plan-name { flex: 1 1 auto; min-width: 0; }
.s8-plan-name small { display: inline-flex; align-items: center; gap: .3rem; color: var(--s8-primary); font-size: .74rem; font-weight: 600; }
.s8-plan-name h4 { font-size: 1.02rem; font-weight: 700; margin: .1rem 0 0; line-height: 1.5; }
.s8-plan-name h4 a { color: var(--s8-ink); }
.s8-plan-name h4 a:hover { color: var(--s8-primary); }
.s8-fav, .s8-cmp { flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid var(--s8-line); border-radius: 50%; background: var(--s8-surface); color: var(--s8-muted); font-size: 1.05rem; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.s8-fav:hover { background: #fff0f1; border-color: #ffc9cd; color: var(--s8-danger); }
.s8-cmp:hover { background: var(--s8-tint); border-color: transparent; color: var(--s8-primary); }
.product-thumb .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-thumb .description { padding: 0 1.1rem .9rem; margin-bottom: 0; flex: 1 1 auto; }
.product-thumb .description p { color: var(--s8-muted); font-size: .85rem; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .button { position: relative; display: flex; align-items: center; gap: .5rem; width: auto; padding: .9rem 1.1rem 1rem; border-top: 2px dashed var(--s8-line-strong); background: linear-gradient(180deg, #fafcff, #fff); }
/* ticket notches on the tear line */
.product-thumb .button::before, .product-thumb .button::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--s8-bg); border: 1px solid var(--s8-line); }
.product-thumb .button::before { inset-inline-start: -11px; }
.product-thumb .button::after { inset-inline-end: -11px; }
.product-thumb .button .price { flex: 1 1 auto; min-width: 0; }
.product-thumb .button button.s8-cmp { width: 38px; border: 1px solid var(--s8-line); line-height: 1; }
.product-thumb .button button.s8-add { width: auto; height: 40px; padding: 0 1rem; line-height: 1; border: 0; border-radius: 999px; background: var(--s8-primary); color: #fff; font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; flex: 0 0 auto; transition: background .2s, transform .3s var(--s8-ease); }
.product-thumb .button button.s8-add .s8-i { font-size: 1.15em; }
.product-thumb .button button.s8-add:hover { background: var(--s8-accent); color: #fff; transform: translateY(-1px); }
@media (min-width: 960px) {
  .product-list .product-thumb { display: block; }
  .product-list .product-thumb .image { flex: 0 0 60px; margin: 0; }
  .product-list .product-thumb .content { flex: 1 1 auto; }
  .product-list .product-thumb .button { width: auto; margin: 0; border-right: 0; border-left: 0; }
}

.price { color: var(--s8-ink); font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.price-new { font-weight: 700; color: var(--s8-ink); }
.price-old { color: var(--s8-dim); font-size: .78em; text-decoration: line-through; }
.price-tax { color: var(--s8-dim); font-size: .75rem; flex-basis: 100%; }
.rating { margin: .35rem 0 0; }
.rating .fa-stack { width: 16px; height: 1.5em; line-height: 1.5em; }
.rating .fa-star { font-size: 12px; }
.rating .fa-regular.fa-star { color: var(--s8-soft-2); }
.rating .fa-solid.fa-star, .rating .fa-solid.fa-star + .fa-star { color: #f5a623; }

/* ---------- home ---------- */
.s8-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 2rem; border-radius: 36px; border: 1px solid var(--s8-line); background: var(--s8-sky); padding: clamp(1.75rem, 1rem + 3.5vw, 4rem); margin-bottom: 3rem; }
/* dotted "world map" texture */
.s8-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: radial-gradient(rgba(21, 112, 239, 0.28) 1.1px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 20%, transparent 75%); }
html[dir=rtl] .s8-hero::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 22% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 22% 45%, #000 20%, transparent 75%); }
.s8-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--s8-line); color: var(--s8-primary); font-size: .82rem; font-weight: 700; margin-bottom: 1.25rem; box-shadow: var(--s8-shadow); }
.s8-eyebrow .s8-i { font-size: 1.15em; color: var(--s8-accent); }
.s8-hero h1 { font-size: clamp(1.9rem, 1.1rem + 3.3vw, 3.4rem); line-height: 1.3; margin-bottom: 1rem; }
.s8-hero h1 em { font-style: normal; color: var(--s8-primary); background: linear-gradient(transparent 68%, rgba(255, 122, 61, 0.35) 68%); }
.s8-hero-text > p { color: var(--s8-text); font-size: clamp(1rem, .95rem + .3vw, 1.13rem); line-height: 1.95; max-width: 48ch; margin-bottom: 1.6rem; }
.s8-finder { display: flex; align-items: center; gap: .25rem; max-width: 520px; height: 60px; padding: 6px; padding-inline-start: 1.1rem; margin: 0 0 1.25rem; border-radius: 999px; background: #fff; border: 1px solid var(--s8-line-strong); box-shadow: var(--s8-shadow-lg); transition: border-color .2s, box-shadow .2s; }
.s8-finder:focus-within { border-color: var(--s8-primary); box-shadow: var(--s8-ring), var(--s8-shadow-lg); }
.s8-finder > .s8-i { color: var(--s8-accent); font-size: 1.35rem; }
.s8-finder input[type=text] { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--s8-ink); font-size: 1rem; padding-inline: .5rem; outline: 0; }
.s8-finder input::placeholder { color: var(--s8-dim); }
.s8-finder .btn { height: 100%; display: inline-flex; align-items: center; gap: .35rem; flex: 0 0 auto; }
.s8-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .88rem; color: var(--s8-text); }
.s8-hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.s8-hero-points .s8-i-check { color: #12a150; font-size: 1.1em; }
.s8-hero-points a { display: inline-flex; align-items: center; gap: .4rem; color: var(--s8-accent-dark); font-weight: 600; }
.s8-hero-points a:hover { text-decoration: underline; }

/* illustration: phone holding an eSIM, a globe and a flight path */
.s8-hero-art { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 400px; margin-inline: auto; }
.s8-globe { position: absolute; inset: 10% 4% 14% 4%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffffff 0%, #cfe4ff 45%, #9cc6ff 100%); box-shadow: inset 0 -30px 60px -30px rgba(21, 112, 239, 0.45), 0 40px 60px -40px rgba(21, 112, 239, 0.6); }
.s8-globe::before, .s8-globe::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.85); }
.s8-globe::before { inset: 0 28%; }
.s8-globe::after { inset: 30% 0; }
.s8-route { position: absolute; inset: 2% -2% 46% -2%; border: 2px dashed rgba(255, 122, 61, 0.75); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.s8-fly { position: absolute; top: -4%; inset-inline-start: 44%; width: 46px; height: 46px; border-radius: 50%; background: var(--s8-accent); color: #fff; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 14px 24px -12px rgba(255, 122, 61, 0.9); animation: s8-float 6s ease-in-out infinite; }
.s8-phone { position: absolute; top: 16%; inset-inline-start: 50%; width: 46%; translate: -50% 0; aspect-ratio: 1 / 1.9; padding: 9% 7% 7%; border-radius: 30px; border: 7px solid var(--s8-ink); background: #fff; box-shadow: 0 40px 50px -30px rgba(11, 37, 69, 0.7); display: flex; flex-direction: column; gap: 8%; }
html[dir=rtl] .s8-phone { translate: 50% 0; }
.s8-phone-bar { display: flex; align-items: center; justify-content: space-between; color: var(--s8-ink); font-size: .85rem; }
.s8-phone-bar b { font-size: .68rem; padding: 0 .35rem; border-radius: 5px; background: var(--s8-tint); color: var(--s8-primary); }
.s8-esim { display: flex; align-items: center; justify-content: space-between; padding: 10% 9%; border-radius: 14px; background: linear-gradient(135deg, #1570ef, #4f9bff); color: #fff; }
.s8-esim .s8-i { font-size: 1.5rem; }
.s8-esim span { font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.s8-qr { flex: 1 1 auto; border-radius: 14px; border: 1.5px dashed var(--s8-line-strong); display: grid; place-items: center; color: var(--s8-ink); font-size: clamp(2rem, 6vw, 3rem); }
.s8-phone-lines { display: grid; gap: 6px; }
.s8-phone-lines u { height: 7px; border-radius: 4px; background: var(--s8-soft-2); }
.s8-phone-lines u + u { width: 60%; background: var(--s8-soft); }
.s8-pin { position: absolute; width: 50px; height: 50px; border-radius: 16px; background: #fff; border: 1px solid var(--s8-line); color: var(--s8-primary); font-size: 1.4rem; display: grid; place-items: center; box-shadow: var(--s8-shadow-lg); animation: s8-float 7s ease-in-out infinite; }
.s8-pin-1 { top: 38%; inset-inline-start: 0; color: var(--s8-accent); animation-delay: -2.4s; }
.s8-pin-2 { bottom: 12%; inset-inline-end: 2%; animation-delay: -4.4s; }
@keyframes s8-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 991.98px) { .s8-hero { grid-template-columns: 1fr; border-radius: 26px; } .s8-hero-art { display: none; } .s8-hero::before { display: none; } }
@media (max-width: 479.98px) { .s8-finder { height: 54px; } .s8-finder .btn span { display: none; } .s8-finder .btn { padding-inline: 1rem; } }

.s8-block { margin-bottom: 3.25rem; }
.s8-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1.4rem; }
.s8-head h2, #common-home #content > h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin: 0; display: inline-flex; align-items: center; gap: .65rem; }
.s8-head h2::before, #common-home #content > h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--s8-accent); box-shadow: 0 0 0 5px rgba(255, 122, 61, 0.18); flex: 0 0 auto; }
.s8-head p { margin: 0; color: var(--s8-muted); font-size: .9rem; }
#common-home #content > h3 { display: flex; margin: 0 0 1.4rem; }
#common-home #content .row > .col.mb-3 { margin-bottom: 1.5rem !important; }
#common-home #home-products { margin-bottom: 2rem; }

.s8-dest { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.s8-dest a { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 18px; background: var(--s8-surface); border: 1px solid var(--s8-line); color: var(--s8-ink); transition: border-color .2s, box-shadow .4s var(--s8-ease), transform .4s var(--s8-ease); }
.s8-dest a:hover { border-color: rgba(var(--s8-primary-rgb), 0.45); box-shadow: var(--s8-shadow-lg); transform: translateY(-3px); }
.s8-dest img, .s8-dest a > span { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--s8-tint); color: var(--s8-primary); display: grid; place-items: center; font-size: 1.35rem; }
.s8-dest strong { flex: 1 1 auto; min-width: 0; font-size: .95rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s8-dest a > .s8-i { color: var(--s8-dim); font-size: 1.1rem; transition: color .2s, translate .3s var(--s8-ease); }
html[dir=rtl] .s8-i-arrow { transform: scaleX(-1); }
.s8-dest a:hover > .s8-i { color: var(--s8-primary); translate: 3px 0; }
html[dir=rtl] .s8-dest a:hover > .s8-i { translate: -3px 0; }

.s8-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s8-step; }
.s8-steps li { position: relative; counter-increment: s8-step; padding: 1.5rem 1.4rem; border-radius: var(--s8-radius); background: var(--s8-surface); border: 1px solid var(--s8-line); }
.s8-steps li::before { content: counter(s8-step); position: absolute; top: 1.2rem; inset-inline-end: 1.3rem; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--s8-soft-2); }
.s8-steps li > span { width: 54px; height: 54px; border-radius: 17px; background: var(--s8-tint); color: var(--s8-primary); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1rem; }
.s8-steps li:nth-child(2) > span { background: #fff0e8; color: var(--s8-accent-dark); }
.s8-steps li:nth-child(3) > span { background: #e4f7ec; color: #12864a; }
.s8-steps strong { display: block; color: var(--s8-ink); font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.s8-steps small { display: block; color: var(--s8-muted); font-size: .87rem; line-height: 1.75; }
/* dashed connector between steps on wide screens */
@media (min-width: 768px) { .s8-steps li + li::after { content: ""; position: absolute; top: 2.9rem; inset-inline-start: -1rem; width: 1rem; border-top: 2px dashed var(--s8-line-strong); } }
@media (max-width: 767.98px) { .s8-steps { grid-template-columns: 1fr; } }

.s8-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.s8-features > div { display: flex; flex-direction: column; padding: 1.3rem 1.25rem; border-radius: var(--s8-radius); background: var(--s8-surface); border: 1px solid var(--s8-line); }
.s8-features > div > span { width: 46px; height: 46px; border-radius: 14px; background: var(--s8-soft); color: var(--s8-primary); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .85rem; }
.s8-features strong { color: var(--s8-ink); font-size: .97rem; font-weight: 700; margin-bottom: .15rem; }
.s8-features small { color: var(--s8-muted); font-size: .84rem; line-height: 1.7; }
@media (max-width: 991.98px) { .s8-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.s8-compat { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border-radius: 26px; color: #d5e4f7; background: radial-gradient(420px 220px at 100% 0%, rgba(21, 112, 239, 0.55), transparent 70%), linear-gradient(135deg, #0b2545, #071a33); }
html[dir=rtl] .s8-compat { background: radial-gradient(420px 220px at 0% 0%, rgba(21, 112, 239, 0.55), transparent 70%), linear-gradient(135deg, #0b2545, #071a33); }
.s8-compat > span { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; font-size: 1.7rem; }
.s8-compat strong { display: block; color: #fff; font-size: 1.08rem; font-weight: 700; margin-bottom: .2rem; }
.s8-compat p { margin: 0; font-size: .9rem; line-height: 1.85; }
.s8-compat p span { display: inline-block; padding: 0 .5rem; border-radius: 7px; background: var(--s8-accent); color: #fff; font-weight: 700; }
@media (max-width: 575.98px) { .s8-compat { flex-direction: column; align-items: flex-start; padding: 1.25rem; } }

.carousel { border-radius: 28px; overflow: hidden; margin-bottom: 1.75rem; background: #fff; border: 1px solid var(--s8-line); }
.carousel .row { --bs-gutter-x: 0; margin: 0; }
.carousel img { width: 100%; }
.carousel-indicators [data-bs-target] { width: 7px; height: 7px; border: 0; border-radius: 50%; background-color: var(--s8-ink); margin-inline: 4px; transition: width .3s var(--s8-ease); }
.carousel-indicators .active { width: 22px; border-radius: 999px; background-color: var(--s8-primary); }
.carousel-control-prev, .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); margin-inline: .75rem; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--s8-ink); opacity: 1; font-size: .8rem; box-shadow: var(--s8-shadow); }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--s8-primary); color: #fff; }
[dir=rtl] .carousel-control-prev span, [dir=rtl] .carousel-control-next span { transform: scaleX(-1); }
/* ---------- product page ---------- */
#product-info .magnific-popup > a .img-thumbnail { border-radius: 14px; padding: 1.25rem; width: 100%; box-shadow: var(--s8-shadow); }
#product-info .magnific-popup > div .img-thumbnail { max-width: 80px; margin-bottom: .5rem; transition: border-color .15s; }
#product-info .magnific-popup > div a:hover .img-thumbnail { border-color: var(--s8-primary); }
#product-info #content > .row > .col-sm > ul.list-unstyled { color: var(--s8-muted); font-size: .9rem; }
#product-info h2 { margin: 0; }
#product-info h2 .price-new { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); }
#product-info #product { margin-top: 1.25rem; padding: 1.4rem; border: 1px solid var(--s8-line); border-top: 3px solid var(--s8-accent); border-radius: var(--s8-radius); background: var(--s8-surface); box-shadow: var(--s8-shadow); }
#product-info #button-cart { --bs-btn-padding-y: .85rem; }
#product-info .tab-content { padding: 1.6rem; border: 1px solid var(--s8-line-strong); border-top: 0; border-radius: 0 0 var(--s8-radius) var(--s8-radius); background: var(--s8-surface); line-height: 1.95; }
#product-info .tab-content img { height: auto; border-radius: var(--s8-radius-sm); }
.mfp-bg { background: #071a33; opacity: .88; }

#compare-total { background: #fff !important; border: 1px solid var(--s8-line-strong) !important; color: var(--s8-ink); }
#compare-total:hover { border-color: var(--s8-primary) !important; color: var(--s8-primary); background: #fff !important; }
#product-category #content > .row > div > ul:not(.pagination) { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
#product-category #content > .row > div > ul:not(.pagination) li a { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--s8-line-strong); border-radius: var(--s8-radius-sm); background: #fff; color: var(--s8-ink); font-size: .86rem; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
#product-category #content > .row > div > ul:not(.pagination) li a:hover { background: var(--s8-primary); border-color: var(--s8-primary); color: #fff; }
#product-category #content > .row > [class*=col-sm-3] { width: 100%; }

/* ---------- account / checkout / cms ---------- */
#account-account #content h2 { font-size: 1rem; color: var(--s8-ink); font-weight: 700; margin: 2.25rem 0 .9rem; padding-inline-start: .75rem; border-inline-start: 3px solid var(--s8-accent); }
#account-account #content ul.list-unstyled { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; margin: 0; }
#account-account #content ul.list-unstyled li a { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 1rem 1.15rem; border: 1px solid var(--s8-line); border-radius: var(--s8-radius); background: var(--s8-surface); color: var(--s8-ink); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, box-shadow .3s var(--s8-ease); }
#account-account #content ul.list-unstyled li a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--s8-dim); border-inline-end: 2px solid var(--s8-dim); transform: rotate(45deg); flex: 0 0 auto; }
[dir=rtl] #account-account #content ul.list-unstyled li a::after { transform: rotate(-135deg); }
#account-account #content ul.list-unstyled li a:hover { color: var(--s8-primary); border-color: var(--s8-primary); box-shadow: var(--s8-shadow); }
#checkout-checkout fieldset, #checkout-checkout #checkout-confirm { padding: 1.4rem; border: 1px solid var(--s8-line); border-radius: var(--s8-radius); background: var(--s8-surface); box-shadow: var(--s8-shadow); }
#checkout-checkout fieldset fieldset { padding: 0; border: 0; background: transparent; box-shadow: none; }
.blog-thumb { border: 1px solid var(--s8-line); border-radius: var(--s8-radius); background: var(--s8-surface); overflow: hidden; }
.blog-thumb .image a:hover { opacity: 1; }
.blog-thumb h4 a { color: var(--s8-ink); }

/* ---------- footer ---------- */
footer.s8-footer { position: static; bottom: auto; width: 100%; flex-shrink: 0; border: 0; border-top: 1px solid var(--s8-line); background: var(--s8-surface); color: var(--s8-muted); padding: 4rem 0 1.5rem; font-size: .9rem; }
.s8-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem 2.5rem; }
.s8-footer-about p { margin: 1rem 0 0; max-width: 34ch; line-height: 1.95; font-size: .88rem; }
footer.s8-footer h5 { font-family: inherit; font-size: .88rem; font-weight: 700; color: var(--s8-ink); margin: .35rem 0 1.1rem; }
footer.s8-footer ul { margin: 0; }
footer.s8-footer ul li { margin-bottom: .6rem; }
footer.s8-footer a { color: var(--s8-text); }
footer.s8-footer a:hover { color: var(--s8-primary); }
footer.s8-footer hr { border: 0; border-top: 1px solid var(--s8-line); margin: 2.75rem 0 1.25rem; }
.s8-footer-bottom { font-size: .8rem; color: var(--s8-dim); line-height: 1.9; }
.s8-footer-bottom p { margin: 0; }
footer.s8-footer .s8-footer-bottom a { color: var(--s8-muted); }
@media (max-width: 991.98px) { .s8-footer-grid { grid-template-columns: repeat(2, 1fr); } .s8-footer-about { grid-column: 1 / -1; } }

/* deep-navy footer */
footer.s8-footer { border-top: 0; background: radial-gradient(520px 260px at 90% 0%, rgba(21, 112, 239, 0.4), transparent 70%), linear-gradient(180deg, #0b2545 0%, #071a33 100%); color: #a9bdd4; }
footer.s8-footer .s8-brand, footer.s8-footer .s8-brand:hover, footer.s8-footer h5 { color: #fff; }
footer.s8-footer a { color: #c3d3e6; }
footer.s8-footer a:hover { color: #fff; }
footer.s8-footer hr { border-top-color: rgba(255, 255, 255, 0.13); }
.s8-footer-bottom { color: #7f95ae; }
footer.s8-footer .s8-footer-bottom a { color: #a9bdd4; }

#cookie { left: 0; right: 0; bottom: 0; height: auto; padding: .75rem 0; opacity: 1; background: rgba(7, 26, 51, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#cookie div { font-size: .9rem; color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 767.98px) {
  .s8-header-row { flex-wrap: wrap; gap: .7rem; padding-block: .7rem; }
  .s8-header-search { order: 3; flex-basis: 100%; max-width: none; }
  .s8-actions { margin-inline-start: auto; }
  .s8-action { width: 42px; height: 42px; font-size: 1.2rem; }
  .s8-brand { font-size: 1.05rem; }
  .s8-brand-mark { width: 36px; height: 36px; }
  .s8-hero { border-radius: 26px; }
  .s8-page > main { padding-bottom: 3rem; }
  /* no hover on touch: keep the add-to-cart label visible */
  .product-thumb .button button.s8-add span { max-width: 130px; opacity: 1; margin-inline-start: .45rem; }
}
@media (max-width: 399.98px) { .s8-brand span:last-child { display: none; } .product-thumb .button button.s8-add span { display: none; } }

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