/* ==========================================================================
   متجر رقم 9 — elegant travel eSIM storefront theme: iris-to-cyan gradient
   with a rose accent, immersive hero with a glass "boarding pass", round
   destination tiles and plan cards with a gradient header.
   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] {
  --s9-bg: #f6f5ff;
  --s9-surface: #ffffff;
  --s9-soft: #efedff;
  --s9-soft-2: #dcd8fb;
  --s9-dark: #14123a;
  --s9-darker: #0b0a26;
  --s9-ink: #14123a;
  --s9-text: #3e3c64;
  --s9-muted: #706e93;
  --s9-dim: #a3a1bf;
  --s9-line: #e7e5f8;
  --s9-line-strong: #d3d0f0;
  --s9-primary: #5b4bff;
  --s9-primary-rgb: 91, 75, 255;
  --s9-primary-dark: #4335d6;
  --s9-accent: #ff4f8b;
  --s9-accent-dark: #e63774;
  --s9-cyan: #00c2ff;
  --s9-tint: #ecebff;
  --s9-danger: #e5484d;
  --s9-gradient: linear-gradient(120deg, #5b4bff 0%, #8a5bff 45%, #00c2ff 100%);
  --s9-gradient-soft: linear-gradient(120deg, #ecebff 0%, #f1e9ff 45%, #e0f7ff 100%);
  --s9-radius: 22px;
  --s9-radius-sm: 13px;
  --s9-ease: cubic-bezier(.2, .7, .2, 1);
  --s9-ring: 0 0 0 4px rgba(var(--s9-primary-rgb), 0.16);
  --s9-shadow: 0 1px 2px rgba(20, 18, 58, 0.04), 0 14px 30px -18px rgba(61, 44, 190, 0.28);
  --s9-shadow-lg: 0 2px 6px rgba(20, 18, 58, 0.05), 0 34px 60px -28px rgba(91, 75, 255, 0.5);
  --s9-glow: 0 14px 26px -12px rgba(91, 75, 255, 0.75);

  --bs-body-bg: var(--s9-bg);
  --bs-body-color: var(--s9-text);
  --bs-secondary-color: var(--s9-muted);
  --bs-secondary-bg: var(--s9-soft);
  --bs-tertiary-color: var(--s9-dim);
  --bs-tertiary-bg: var(--s9-soft);
  --bs-emphasis-color: var(--s9-ink);
  --bs-heading-color: var(--s9-ink);
  --bs-border-color: var(--s9-line);
  --bs-border-color-translucent: var(--s9-line);
  --bs-border-radius: var(--s9-radius-sm);
  --bs-border-radius-lg: var(--s9-radius);
  --bs-border-radius-sm: 9px;
  --bs-primary: var(--s9-primary);
  --bs-primary-rgb: var(--s9-primary-rgb);
  --bs-link-color: var(--s9-primary);
  --bs-link-color-rgb: var(--s9-primary-rgb);
  --bs-link-hover-color: var(--s9-accent-dark);
  --bs-link-hover-color-rgb: 230, 55, 116;
  --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.s9 { min-height: 100%; height: auto; font-family: var(--bs-body-font-family); color: var(--s9-text); background: var(--s9-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(var(--s9-primary-rgb), 0.22); }
a { text-decoration: none; transition: color .15s ease; }
h1, h2, h3, h4, h5, h6 { color: var(--s9-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(--s9-muted); }
hr { border-color: var(--s9-line-strong); opacity: 1; }
legend { border-bottom: 2px solid var(--s9-line); font-size: 1.05rem; font-weight: 700; color: var(--s9-ink); padding: .5rem 0; margin-bottom: 1.25rem; }
img { max-width: 100%; }

.s9-page { display: flex; flex-direction: column; min-height: 100vh; }
.s9-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). */
.s9-i { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.15em; background-color: currentColor; -webkit-mask: var(--s9-icon) center / contain no-repeat; mask: var(--s9-icon) center / contain no-repeat; }
.s9-i-search { --s9-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"); }
.s9-i-user { --s9-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"); }
.s9-i-heart { --s9-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"); }
.s9-i-bag { --s9-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"); }
.s9-i-bag-plus { --s9-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"); }
.s9-i-shield { --s9-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"); }
.s9-i-headphones { --s9-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"); }
.s9-i-card { --s9-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"); }
.s9-i-tag { --s9-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"); }
.s9-i-compare { --s9-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"); }
.s9-i-menu { --s9-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"); }
.s9-i-x { --s9-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"); }
.s9-i-plane { --s9-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"); }
.s9-i-globe { --s9-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"); }
.s9-i-qr { --s9-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"); }
.s9-i-sim { --s9-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"); }
.s9-i-signal { --s9-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"); }
.s9-i-phone { --s9-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"); }
.s9-i-pin { --s9-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"); }
.s9-i-check { --s9-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"); }
.s9-i-arrow { --s9-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 ---------- */
.s9-top { font-size: .8rem; position: relative; z-index: 1031; background: var(--s9-surface); border-bottom: 1px solid var(--s9-line); }
.s9-top .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.s9-top ul.list-inline { margin: 0; display: flex; align-items: center; gap: 1.35rem; }
.s9-top .list-inline-item { margin: 0; }
.s9-top a, .s9-top .dropdown > span { color: var(--s9-muted); display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.s9-top a:hover, .s9-top .dropdown > span:hover { color: var(--s9-ink); }
.s9-top .dropdown-toggle::after { display: none; }
.s9-top .fa-caret-down { font-size: .7em; opacity: .6; }
.s9-top img { border-radius: 2px; }
.s9-top .s9-i { font-size: 1.05em; color: var(--s9-primary); }
.s9-top { border-top: 3px solid transparent; border-image: var(--s9-gradient) 1; }

/* ---------- header ---------- */
.s9-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(--s9-line); }
.s9-header-row { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; }
.s9-logo { flex: 0 0 auto; }
.s9-logo img { max-width: 170px; max-height: 44px; }
.s9-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--s9-ink); font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.s9-brand:hover { color: var(--s9-ink); }
.s9-brand-mark { width: 40px; height: 40px; border-radius: 13px; background: var(--s9-ink); color: #fff; display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; transition: background .3s, transform .4s var(--s9-ease); }
.s9-brand:hover .s9-brand-mark { background: var(--s9-primary); transform: rotate(12deg); }
.s9-header-search { flex: 1 1 auto; min-width: 0; max-width: 520px; margin-inline: auto; }
.s9-search { display: flex; align-items: center; margin: 0; height: 46px; border-radius: 999px; background: var(--s9-soft); border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.s9-search:focus-within { background: #fff; border-color: rgba(var(--s9-primary-rgb), 0.5); box-shadow: var(--s9-ring); }
.s9-search button { flex: 0 0 46px; height: 44px; border: 0; background: transparent; color: var(--s9-muted); font-size: 1.05rem; display: grid; place-items: center; border-radius: 50%; transition: color .2s; }
.s9-search button:hover, .s9-search:focus-within button { color: var(--s9-primary); }
.s9-search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--s9-ink); font-size: .93rem; padding-inline: 0 1.2rem; outline: 0; }
.s9-search input::placeholder { color: var(--s9-dim); }
.s9-actions { display: flex; align-items: center; gap: .25rem; flex: 0 0 auto; }
.s9-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(--s9-ink); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--s9-ease); }
.s9-action:hover, .s9-action.show { background: var(--s9-soft); color: var(--s9-primary); }
.s9-action:active { transform: scale(.94); }
#cart { margin: 0; }
/* the cart is an icon; the item count sits on it as a badge */
.s9-cart-btn { background: var(--s9-ink); color: #fff; margin-inline-start: .35rem; }
.s9-cart-btn:hover, .s9-cart-btn.show { background: var(--s9-primary); color: #fff; transform: translateY(-2px); }
.s9-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(--s9-primary); color: #fff; font-size: .68rem; font-weight: 700; line-height: 17px; text-align: center; animation: s9-pop .4s var(--s9-ease); }
.s9-cart-btn:hover .s9-count, .s9-cart-btn.show .s9-count { background: var(--s9-ink); }
@keyframes s9-pop { from { scale: 0; } 70% { scale: 1.2; } to { scale: 1; } }
#cart .dropdown-menu { background: var(--s9-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%; }
.s9-empty { display: grid; justify-items: center; gap: .6rem; padding: 1.75rem 1rem; color: var(--s9-muted); text-align: center; }
.s9-empty span { width: 56px; height: 56px; border-radius: 50%; background: var(--s9-tint); display: grid; place-items: center; color: var(--s9-primary); font-size: 1.5rem; }
/* gradient brand mark and cart */
.s9-brand-mark { background: var(--s9-gradient); box-shadow: var(--s9-glow); }
.s9-brand:hover .s9-brand-mark { background: var(--s9-gradient); }
.s9-cart-btn { background: var(--s9-gradient); box-shadow: var(--s9-glow); }
.s9-cart-btn:hover, .s9-cart-btn.show { background: var(--s9-gradient); filter: brightness(1.1); }
.s9-count, .s9-cart-btn:hover .s9-count, .s9-cart-btn.show .s9-count { background: var(--s9-accent); }

/* ---------- category nav ---------- */
.s9-nav-wrap { margin: 1rem 0 1.75rem; }
.s9-nav { padding: 0; --bs-navbar-padding-y: 0; justify-content: center; }
.s9-nav .navbar-collapse { justify-content: center; flex-grow: 0; }
.s9-nav .navbar-nav { gap: .15rem; flex-wrap: wrap; justify-content: center; padding: .3rem; border-radius: 28px; background: var(--s9-surface); border: 1px solid var(--s9-line); box-shadow: var(--s9-shadow); }
.s9-nav .navbar-nav > li > a { color: var(--s9-text); font-size: .9rem; font-weight: 500; padding: .5rem 1.05rem; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.s9-nav .navbar-nav > li > a:hover, .s9-nav .navbar-nav > li > a.show { color: #fff; background: var(--s9-ink); }
.s9-nav .dropdown-toggle::after { margin-inline-start: .4em; opacity: .55; vertical-align: .15em; border-width: .26em; }
.s9-nav .dropdown-menu { margin-top: .5rem; padding: .5rem; min-width: 220px; }
/* invisible bridge so the pointer can travel from the pill to its menu */
.s9-nav .dropdown-menu::before { content: ""; position: absolute; inset-inline: 0; top: -.6rem; height: .6rem; }
.s9-nav .s9-all { color: var(--s9-primary); font-weight: 600; }
.s9-nav-toggle { width: 100%; height: 50px; padding: 0 1.1rem; border: 1px solid var(--s9-line); border-radius: 999px; background: var(--s9-surface); color: var(--s9-ink); font-weight: 600; font-size: .93rem; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--s9-shadow); }
.s9-nav-toggle .s9-i { font-size: 1.25rem; }
@media (min-width: 992px) { .s9-nav .dropdown:hover > .dropdown-menu { display: block; } }
@media (max-width: 991.98px) {
  .s9-nav .navbar-collapse { flex-grow: 1; margin-top: .5rem; }
  .s9-nav .navbar-nav { justify-content: flex-start; border-radius: var(--s9-radius); padding: .5rem; }
  .s9-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(--s9-surface); --bs-dropdown-color: var(--s9-text); --bs-dropdown-border-color: var(--s9-line); --bs-dropdown-link-color: var(--s9-text); --bs-dropdown-link-hover-color: var(--s9-primary); --bs-dropdown-link-hover-bg: var(--s9-soft); --bs-dropdown-link-active-bg: var(--s9-primary); --bs-dropdown-divider-bg: var(--s9-line); --bs-dropdown-border-radius: var(--s9-radius); --bs-dropdown-font-size: .9rem; box-shadow: var(--s9-shadow-lg); text-align: start; }
.dropdown-item { border-radius: 6px; padding: .45rem .8rem; }
.tooltip { --bs-tooltip-bg: var(--s9-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(--s9-ease); }
.btn .s9-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(--s9-primary); --bs-btn-border-color: var(--s9-primary); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s9-primary-dark); --bs-btn-hover-border-color: var(--s9-primary-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s9-primary-dark); --bs-btn-active-border-color: var(--s9-primary-dark); --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--s9-dim); --bs-btn-disabled-border-color: var(--s9-dim); background-color: var(--bs-btn-bg) !important; box-shadow: 0 12px 24px -14px rgba(var(--s9-primary-rgb), 0.9); }
.btn-primary:hover, .btn.bg-primary:hover { background-color: var(--s9-primary-dark) !important; transform: translateY(-2px); }
.btn-light, .btn-secondary, .btn-dark, .btn-default { --bs-btn-color: var(--s9-ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--s9-line-strong); --bs-btn-hover-color: var(--s9-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--s9-ink); --bs-btn-active-color: var(--s9-ink); --bs-btn-active-bg: var(--s9-soft); --bs-btn-active-border-color: var(--s9-ink); --bs-btn-disabled-color: var(--s9-dim); --bs-btn-disabled-bg: var(--s9-soft); --bs-btn-disabled-border-color: var(--s9-line); }
.btn-danger { --bs-btn-color: var(--s9-danger); --bs-btn-bg: #fff0f0; --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s9-danger); --bs-btn-hover-border-color: var(--s9-danger); --bs-btn-active-color: #fff; --bs-btn-active-bg: #c93a3f; --bs-btn-active-border-color: #c93a3f; }
.btn-info { --bs-btn-color: var(--s9-primary); --bs-btn-bg: var(--s9-tint); --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s9-primary); --bs-btn-hover-border-color: var(--s9-primary); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s9-primary-dark); --bs-btn-active-border-color: var(--s9-primary-dark); }
.btn-group > .btn { --bs-btn-border-radius: 12px; }
.btn-group > .btn.active { background: var(--s9-ink); border-color: var(--s9-ink); color: #fff; }
button:focus-visible, a:focus-visible, .btn:focus-visible, [role=button]:focus-visible { outline: 2px solid var(--s9-primary) !important; outline-offset: 2px; box-shadow: none; }
/* primary actions carry the brand gradient */
.btn-primary, .btn.bg-primary { background-image: var(--s9-gradient); border-color: transparent; box-shadow: var(--s9-glow); }
.btn-primary:hover, .btn.bg-primary:hover { filter: brightness(1.08); }

/* ---------- forms ---------- */
.form-control, .form-select, .input-group-text { background-color: #fff; border-color: var(--s9-line-strong); color: var(--s9-ink); border-radius: var(--s9-radius-sm); padding: .6rem .95rem; font-size: .92rem; }
.form-control::placeholder { color: var(--s9-dim); }
.form-control:focus, .form-select:focus { border-color: var(--s9-primary); box-shadow: var(--s9-ring); color: var(--s9-ink); }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: var(--s9-soft); color: var(--s9-muted); }
.input-group-text { background-color: var(--s9-soft); color: var(--s9-muted); font-size: .85rem; }
.form-check-input { border-color: var(--s9-line-strong); }
.form-check-input:checked { background-color: var(--s9-primary); border-color: var(--s9-primary); }
.form-check-input:focus { border-color: var(--s9-primary); box-shadow: var(--s9-ring); }
.form-check-label { color: var(--s9-text); font-size: .9rem; }
.form-label, .col-form-label { color: var(--s9-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(--s9-danger); }
fieldset { margin-bottom: 1.5rem; }

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

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

.alert { --bs-alert-border-radius: var(--s9-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(--s9-accent); --bs-alert-color: #74500a; --bs-alert-link-color: #74500a; }
.alert-info, .alert-primary { --bs-alert-bg: var(--s9-soft); --bs-alert-border-color: var(--s9-primary); --bs-alert-color: var(--s9-dark); --bs-alert-link-color: var(--s9-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(--s9-shadow-lg) !important; }

.nav-tabs { --bs-nav-tabs-border-color: var(--s9-line-strong); --bs-nav-tabs-link-hover-border-color: transparent; --bs-nav-tabs-link-active-bg: var(--s9-surface); --bs-nav-tabs-link-active-color: var(--s9-primary); --bs-nav-tabs-link-active-border-color: var(--s9-line-strong) var(--s9-line-strong) var(--s9-surface); --bs-nav-tabs-border-radius: var(--s9-radius-sm); --bs-nav-link-color: var(--s9-muted); --bs-nav-link-hover-color: var(--s9-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(--s9-accent); }

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

/* ---------- breadcrumb ---------- */
.breadcrumb { margin: 0 0 1.5rem; padding: .6rem 1rem; border: 1px solid var(--s9-line); border-radius: var(--s9-radius-sm); background: var(--s9-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(--s9-muted); }
.breadcrumb > li.breadcrumb-item > a:hover { color: var(--s9-primary); }
.breadcrumb > li.breadcrumb-item:last-child > a { color: var(--s9-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(--s9-dim); border-inline-end: 1.5px solid var(--s9-dim); transform: rotate(45deg); }
[dir=rtl] .breadcrumb > li.breadcrumb-item + li:before { transform: rotate(-135deg); }
.breadcrumb i { font-size: .82rem; color: var(--s9-primary); }

/* ---------- product card ---------- */
/* A plan card: gradient header band, round cover overlapping it, centred details, one clear action. */
.product-thumb { border: 1px solid var(--s9-line); border-radius: var(--s9-radius); background: var(--s9-surface); height: 100%; position: relative; overflow: hidden; text-align: center; box-shadow: var(--s9-shadow); transition: border-color .2s, box-shadow .45s var(--s9-ease), transform .45s var(--s9-ease); }
.product-thumb:hover { border-color: transparent; box-shadow: var(--s9-shadow-lg); transform: translateY(-6px); }
.product-thumb > form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.s9-plan-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; height: 92px; padding: .75rem; background: var(--s9-gradient); overflow: hidden; }
.s9-plan-head::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.2px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.s9-plan-tag { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-size: .74rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.s9-fav { position: relative; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--s9-ink); font-size: 1.05rem; display: grid; place-items: center; transition: background .2s, color .2s, transform .3s var(--s9-ease); }
.s9-fav:hover { background: var(--s9-accent); color: #fff; transform: scale(1.1); }
.product-thumb .image { position: relative; z-index: 1; width: 88px; height: 88px; margin: -44px auto 0; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 12px 24px -12px rgba(20, 18, 58, 0.45); overflow: hidden; text-align: center; }
.product-thumb .image a { display: block; width: 100%; height: 100%; }
.product-thumb .image a:hover { opacity: 1; }
.product-thumb .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--s9-ease); }
.product-thumb:hover .image img { transform: scale(1.1); }
.product-thumb .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-thumb .description { padding: .85rem 1.1rem .4rem; margin-bottom: 0; flex: 1 1 auto; }
.product-thumb .description h4 { font-size: 1.04rem; font-weight: 700; margin-bottom: .25rem; line-height: 1.5; }
.product-thumb .description h4 a { color: var(--s9-ink); }
.product-thumb .description h4 a:hover { color: var(--s9-primary); }
.product-thumb .description p { color: var(--s9-muted); font-size: .85rem; line-height: 1.7; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .description .price { justify-content: center; margin-top: .35rem; }
.product-thumb .description .rating { margin: 0 0 .2rem; }
.product-thumb .button { position: static; display: flex; align-items: center; gap: .5rem; width: auto; padding: .6rem 1.1rem 1.1rem; }
.product-thumb .button button.s9-add { flex: 1 1 auto; width: auto; height: 44px; line-height: 1; border: 0; border-radius: 999px; background: var(--s9-gradient); color: #fff; font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; box-shadow: var(--s9-glow); transition: filter .2s, transform .3s var(--s9-ease); }
.product-thumb .button button.s9-add .s9-i { font-size: 1.2em; }
.product-thumb .button button.s9-add:hover { background: var(--s9-gradient); color: #fff; filter: brightness(1.08); transform: translateY(-2px); }
.product-thumb .button button.s9-cmp { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; line-height: 1; border: 1px solid var(--s9-line-strong); border-radius: 50%; background: var(--s9-surface); color: var(--s9-muted); font-size: 1.1rem; display: grid; place-items: center; transition: color .2s, border-color .2s, background .2s; }
.product-thumb .button button.s9-cmp:hover { background: var(--s9-tint); border-color: transparent; color: var(--s9-primary); }
@media (min-width: 960px) {
  .product-list .product-thumb { display: block; }
  .product-list .product-thumb .image { flex: none; margin: -44px auto 0; }
  .product-list .product-thumb .content { flex: 1 1 auto; }
  .product-list .product-thumb .button { width: auto; max-width: 420px; margin: 0 auto; border-right: 0; border-left: 0; }
}

.price { color: var(--s9-ink); font-size: 1.25rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.price-new { font-weight: 700; background: var(--s9-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-old { color: var(--s9-dim); font-size: .7em; text-decoration: line-through; }
.price-tax { color: var(--s9-dim); font-size: .75rem; flex-basis: 100%; }
.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(--s9-soft-2); }
.rating .fa-solid.fa-star, .rating .fa-solid.fa-star + .fa-star { color: #ffb020; }

/* ---------- home ---------- */
.s9-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: 40px; color: #fff; padding: clamp(2rem, 1rem + 4vw, 4.5rem); margin-bottom: 3.25rem; box-shadow: 0 50px 80px -50px rgba(91, 75, 255, 0.8);
  background: radial-gradient(520px 380px at 100% 0%, rgba(0, 194, 255, 0.75), transparent 70%), radial-gradient(460px 340px at 0% 100%, rgba(255, 79, 139, 0.6), transparent 70%), linear-gradient(135deg, #4a3cf0 0%, #6f4dff 50%, #3a2bd0 100%); }
html[dir=rtl] .s9-hero { background: radial-gradient(520px 380px at 0% 0%, rgba(0, 194, 255, 0.75), transparent 70%), radial-gradient(460px 340px at 100% 100%, rgba(255, 79, 139, 0.6), transparent 70%), linear-gradient(135deg, #4a3cf0 0%, #6f4dff 50%, #3a2bd0 100%); }
.s9-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.2px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
.s9-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.32); color: #fff; font-size: .82rem; font-weight: 600; margin-bottom: 1.25rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.s9-eyebrow .s9-i { font-size: 1.15em; }
.s9-hero h1 { color: #fff; font-size: clamp(2rem, 1.1rem + 3.6vw, 3.7rem); line-height: 1.28; margin-bottom: 1rem; }
.s9-hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffe66d, #ff9ec0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s9-hero-text > p { color: #e6e3ff; font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.95; max-width: 48ch; margin-bottom: 1.7rem; }
.s9-finder { display: flex; align-items: center; gap: .25rem; max-width: 520px; height: 62px; padding: 6px; padding-inline-start: 1.15rem; margin: 0 0 1.3rem; border-radius: 999px; background: #fff; box-shadow: 0 30px 50px -25px rgba(11, 10, 38, 0.7); transition: box-shadow .2s; }
.s9-finder:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35), 0 30px 50px -25px rgba(11, 10, 38, 0.7); }
.s9-finder > .s9-i { color: var(--s9-accent); font-size: 1.4rem; }
.s9-finder input[type=text] { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--s9-ink); font-size: 1rem; padding-inline: .5rem; outline: 0; }
.s9-finder input::placeholder { color: var(--s9-dim); }
.s9-finder button { height: 100%; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--s9-ink); color: #fff; font-size: .95rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto; transition: background .2s, transform .3s var(--s9-ease); }
.s9-finder button:hover { background: var(--s9-accent); transform: scale(1.03); }
.s9-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .88rem; color: #f0eeff; }
.s9-hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.s9-hero-points .s9-i-check { color: #7dffc8; font-size: 1.1em; }
.s9-hero-points a { display: inline-flex; align-items: center; gap: .4rem; color: #ffe66d; font-weight: 600; }
.s9-hero-points a:hover { color: #fff; }

/* illustration: a glass "boarding pass" for the eSIM */
.s9-hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 380px; margin-inline: auto; }
.s9-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.s9-orb-1 { width: 46%; aspect-ratio: 1; top: 2%; inset-inline-end: 2%; background: radial-gradient(circle at 30% 30%, #b8f1ff, #00c2ff); opacity: .9; }
.s9-orb-2 { width: 34%; aspect-ratio: 1; bottom: 4%; inset-inline-start: 0; background: radial-gradient(circle at 30% 30%, #ffc2d8, #ff4f8b); opacity: .9; }
.s9-pass { position: absolute; inset: 12% 8% 10%; display: flex; flex-direction: column; gap: 8%; padding: 9% 8%; border-radius: 28px; color: #fff; background: linear-gradient(150deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); border: 1px solid rgba(255, 255, 255, 0.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 60px -30px rgba(11, 10, 38, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); rotate: -4deg; animation: s9-float 8s ease-in-out infinite; }
html[dir=rtl] .s9-pass { rotate: 4deg; }
.s9-pass-top { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1rem; }
.s9-pass-top span, .s9-pass-top b { display: inline-flex; align-items: center; gap: .4rem; }
.s9-pass-top span .s9-i { font-size: 1.5rem; }
.s9-pass-top b { font-size: .75rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.s9-pass-route { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; }
.s9-pass-route u { flex: 1 1 auto; border-top: 2px dashed rgba(255, 255, 255, 0.7); }
.s9-pass-route .s9-i-plane { font-size: 1.5rem; }
html[dir=rtl] .s9-pass-route .s9-i-plane { transform: scaleX(-1); }
.s9-pass-lines { display: grid; gap: 8px; }
.s9-pass-lines s, .s9-pass-bottom s { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.55); }
.s9-pass-lines s:nth-child(2) { width: 72%; background: rgba(255, 255, 255, 0.35); }
.s9-pass-lines s:nth-child(3) { width: 46%; background: rgba(255, 255, 255, 0.25); }
.s9-pass-bottom { margin-top: auto; display: flex; align-items: center; gap: 8%; padding-top: 8%; border-top: 2px dashed rgba(255, 255, 255, 0.45); }
.s9-pass-bottom > .s9-i { font-size: clamp(2.6rem, 6vw, 3.6rem); }
.s9-pass-bottom div { flex: 1 1 auto; display: grid; gap: 8px; }
.s9-pass-bottom s + s { width: 60%; background: rgba(255, 255, 255, 0.3); }
.s9-chip { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: #fff; color: var(--s9-primary); box-shadow: 0 20px 30px -16px rgba(11, 10, 38, 0.7); animation: s9-float 6s ease-in-out infinite; }
.s9-chip-1 { top: 4%; inset-inline-start: 6%; color: #12a150; animation-delay: -2s; }
.s9-chip-2 { bottom: 2%; inset-inline-end: 4%; color: var(--s9-accent); animation-delay: -4s; }
@keyframes s9-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 991.98px) { .s9-hero { grid-template-columns: 1fr; border-radius: 28px; } .s9-hero-art { display: none; } }
@media (max-width: 479.98px) { .s9-finder { height: 56px; } .s9-finder button span { display: none; } .s9-finder button { padding: 0 1.1rem; } }

.s9-block { margin-bottom: 3.5rem; }
.s9-head { text-align: center; margin-bottom: 1.75rem; }
.s9-head h2, #common-home #content > h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin: 0; text-align: center; }
.s9-head h2::after, #common-home #content > h3::after { content: ""; display: block; width: 46px; height: 5px; border-radius: 5px; background: var(--s9-gradient); margin: .7rem auto 0; }
.s9-head p { margin: .7rem 0 0; color: var(--s9-muted); font-size: .93rem; }
#common-home #content > h3 { margin: 0 0 1.75rem; }
#common-home #content .row > .col.mb-3 { margin-bottom: 1.5rem !important; }
#common-home #home-products { margin-bottom: 2.25rem; }

.s9-dest { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.s9-dest a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 1.4rem .9rem 1.1rem; border-radius: var(--s9-radius); background: var(--s9-surface); border: 1px solid var(--s9-line); color: var(--s9-ink); text-align: center; transition: border-color .2s, box-shadow .45s var(--s9-ease), transform .45s var(--s9-ease); }
.s9-dest a:hover { border-color: transparent; box-shadow: var(--s9-shadow-lg); transform: translateY(-6px); }
/* gradient ring around the flag / cover */
.s9-dest-img { width: 78px; height: 78px; padding: 3px; border-radius: 50%; background: var(--s9-gradient); display: grid; place-items: center; margin-bottom: .7rem; color: var(--s9-primary); font-size: 1.9rem; transition: transform .5s var(--s9-ease); }
.s9-dest-img img, .s9-dest-img b { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; background: #fff; display: grid; place-items: center; }
.s9-dest a:hover .s9-dest-img { transform: rotate(-8deg) scale(1.06); }
.s9-dest strong { font-size: .98rem; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s9-dest small { display: inline-flex; align-items: center; gap: .3rem; color: var(--s9-muted); font-size: .8rem; transition: color .2s; }
.s9-dest a:hover small { color: var(--s9-primary); }
html[dir=rtl] .s9-i-arrow { transform: scaleX(-1); }
@media (max-width: 479.98px) { .s9-dest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }

.s9-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s9-step; }
.s9-steps li { position: relative; counter-increment: s9-step; display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem 1.4rem; border-radius: var(--s9-radius); background: var(--s9-surface); border: 1px solid var(--s9-line); box-shadow: var(--s9-shadow); }
.s9-steps li > span { position: relative; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 19px; background: var(--s9-gradient); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--s9-glow); }
.s9-steps li > span::after { content: counter(s9-step); position: absolute; top: -8px; inset-inline-end: -8px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: var(--s9-accent); color: #fff; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center; }
.s9-steps strong { display: block; color: var(--s9-ink); font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.s9-steps small { display: block; color: var(--s9-muted); font-size: .87rem; line-height: 1.75; }
@media (max-width: 991.98px) { .s9-steps { grid-template-columns: 1fr; } }

.s9-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.5rem; border-radius: var(--s9-radius); background: var(--s9-surface); border: 1px solid var(--s9-line); box-shadow: var(--s9-shadow); }
.s9-features > div { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.2rem; border-inline-start: 1px solid var(--s9-line); }
.s9-features > div:first-child { border-inline-start: 0; }
.s9-features > div > span { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--s9-gradient-soft); color: var(--s9-primary); display: grid; place-items: center; font-size: 1.35rem; }
.s9-features p { margin: 0; min-width: 0; }
.s9-features strong { display: block; color: var(--s9-ink); font-size: .93rem; font-weight: 700; }
.s9-features small { display: block; color: var(--s9-muted); font-size: .8rem; line-height: 1.6; }
@media (max-width: 991.98px) {
  .s9-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s9-features > div:nth-child(odd) { border-inline-start: 0; }
  .s9-features > div:nth-child(n+3) { border-top: 1px solid var(--s9-line); }
}
@media (max-width: 479.98px) { .s9-features { grid-template-columns: 1fr; } .s9-features > div { border-inline-start: 0; } .s9-features > div + div { border-top: 1px solid var(--s9-line); } }

.s9-compat { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border-radius: 28px; background: var(--s9-gradient-soft); border: 1px solid var(--s9-line); color: var(--s9-text); }
.s9-compat > span { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 20px; background: var(--s9-gradient); color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: var(--s9-glow); }
.s9-compat strong { display: block; color: var(--s9-ink); font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.s9-compat p { margin: 0; font-size: .9rem; line-height: 1.85; }
.s9-compat p span { display: inline-block; padding: 0 .55rem; border-radius: 8px; background: var(--s9-ink); color: #fff; font-weight: 700; }
@media (max-width: 575.98px) { .s9-compat { flex-direction: column; align-items: flex-start; padding: 1.25rem; } }

.carousel { border-radius: 30px; overflow: hidden; margin-bottom: 1.75rem; background: #fff; border: 1px solid var(--s9-line); box-shadow: var(--s9-shadow); }
.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(--s9-primary); margin-inline: 4px; transition: width .3s var(--s9-ease); }
.carousel-indicators .active { width: 24px; border-radius: 999px; }
.carousel-control-prev, .carousel-control-next { width: 46px; height: 46px; top: 50%; transform: translateY(-50%); margin-inline: .75rem; border-radius: 50%; background: #fff; color: var(--s9-primary); opacity: 1; font-size: .8rem; box-shadow: var(--s9-shadow); }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--s9-gradient); 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(--s9-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(--s9-primary); }
#product-info #content > .row > .col-sm > ul.list-unstyled { color: var(--s9-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(--s9-line); border-top: 3px solid var(--s9-accent); border-radius: var(--s9-radius); background: var(--s9-surface); box-shadow: var(--s9-shadow); }
#product-info #button-cart { --bs-btn-padding-y: .85rem; }
#product-info .tab-content { padding: 1.6rem; border: 1px solid var(--s9-line-strong); border-top: 0; border-radius: 0 0 var(--s9-radius) var(--s9-radius); background: var(--s9-surface); line-height: 1.95; }
#product-info .tab-content img { height: auto; border-radius: var(--s9-radius-sm); }
.mfp-bg { background: #0b0a26; opacity: .88; }

#compare-total { background: #fff !important; border: 1px solid var(--s9-line-strong) !important; color: var(--s9-ink); }
#compare-total:hover { border-color: var(--s9-primary) !important; color: var(--s9-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(--s9-line-strong); border-radius: var(--s9-radius-sm); background: #fff; color: var(--s9-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(--s9-primary); border-color: var(--s9-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(--s9-ink); font-weight: 700; margin: 2.25rem 0 .9rem; padding-inline-start: .75rem; border-inline-start: 3px solid var(--s9-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(--s9-line); border-radius: var(--s9-radius); background: var(--s9-surface); color: var(--s9-ink); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, box-shadow .3s var(--s9-ease); }
#account-account #content ul.list-unstyled li a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--s9-dim); border-inline-end: 2px solid var(--s9-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(--s9-primary); border-color: var(--s9-primary); box-shadow: var(--s9-shadow); }
#checkout-checkout fieldset, #checkout-checkout #checkout-confirm { padding: 1.4rem; border: 1px solid var(--s9-line); border-radius: var(--s9-radius); background: var(--s9-surface); box-shadow: var(--s9-shadow); }
#checkout-checkout fieldset fieldset { padding: 0; border: 0; background: transparent; box-shadow: none; }
.blog-thumb { border: 1px solid var(--s9-line); border-radius: var(--s9-radius); background: var(--s9-surface); overflow: hidden; }
.blog-thumb .image a:hover { opacity: 1; }
.blog-thumb h4 a { color: var(--s9-ink); }

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

/* deep indigo footer with a soft glow */
footer.s9-footer { border-top: 0; border-radius: 36px 36px 0 0; background: radial-gradient(520px 280px at 90% 0%, rgba(0, 194, 255, 0.3), transparent 70%), radial-gradient(520px 280px at 8% 0%, rgba(255, 79, 139, 0.25), transparent 70%), linear-gradient(180deg, #1c1856 0%, #0b0a26 100%); color: #b3b0d6; }
footer.s9-footer .s9-brand, footer.s9-footer .s9-brand:hover, footer.s9-footer h5 { color: #fff; }
footer.s9-footer a { color: #c9c6ea; }
footer.s9-footer a:hover { color: #fff; }
footer.s9-footer hr { border-top-color: rgba(255, 255, 255, 0.13); }
.s9-footer-bottom { color: #8683ad; }
footer.s9-footer .s9-footer-bottom a { color: #b3b0d6; }

#cookie { left: 0; right: 0; bottom: 0; height: auto; padding: .75rem 0; opacity: 1; background: rgba(11, 10, 38, 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) {
  .s9-header-row { flex-wrap: wrap; gap: .7rem; padding-block: .7rem; }
  .s9-header-search { order: 3; flex-basis: 100%; max-width: none; }
  .s9-actions { margin-inline-start: auto; }
  .s9-action { width: 42px; height: 42px; font-size: 1.2rem; }
  .s9-brand { font-size: 1.05rem; }
  .s9-brand-mark { width: 36px; height: 36px; }
  .s9-hero { border-radius: 26px; }
  .s9-page > main { padding-bottom: 3rem; }
  /* no hover on touch: keep the add-to-cart label visible */
  .product-thumb .button button.s9-add span { max-width: 130px; opacity: 1; margin-inline-start: .45rem; }
}
@media (max-width: 399.98px) { .s9-brand span:last-child { display: none; } .product-thumb .button button.s9-add span { display: none; } }

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