/*
Theme Name: WaviSIM
Theme URI: https://wavisim.com
Author: WaviSIM
Description: Independent eSIM comparison theme for synced WooCommerce affiliate products. Uses Poppins font. Affiliate/comparison framing throughout.
Version: 1.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Private
Text Domain: wavisim
*/

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  /* Brand */
  --sky:        #38BDF8;
  --sky-dark:   #0EA5E9;
  --sky-light:  #E0F4FD;
  --sky-bg:     #F0F9FF;
  --ink:        #0C1A2E;
  --ink-mid:    #2D4258;
  --ink-soft:   #64748B;
  --white:      #FFFFFF;
  --off-white:  #FAFBFC;
  --border:     #E2EAF0;
  --success:    #10B981;

  /* Typography */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* Spacing */
  --gap-xs:  8px;
  --gap-sm:  16px;
  --gap-md:  32px;
  --gap-lg:  64px;
  --gap-xl:  96px;
  --gap-2xl: 128px;

  /* Layout */
  --max-w:      1200px;
  --max-w-text: 720px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(12,26,46,.06), 0 1px 2px rgba(12,26,46,.04);
  --shadow-md: 0 4px 16px rgba(12,26,46,.08), 0 2px 6px rgba(12,26,46,.05);
  --shadow-lg: 0 12px 40px rgba(12,26,46,.10), 0 4px 12px rgba(12,26,46,.06);
  --shadow-sky: 0 8px 32px rgba(56,189,248,.25);

  /* Transition */
  --ease: cubic-bezier(.25,.46,.45,.94);
  --fast: 160ms;
  --mid:  280ms;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* =====================================================
   TYPOGRAPHY SCALE
   ===================================================== */
.t-hero     { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem);   font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.t-h1       { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem);   font-weight: 800; line-height: 1.1;  letter-spacing: -.025em; }
.t-h2       { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.t-h3       { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem);font-weight: 700; line-height: 1.25; }
.t-lead     { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--ink-soft); }
.t-label    { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.t-sky      { color: var(--sky-dark); }
.t-soft     { color: var(--ink-soft); }

/* =====================================================
   LAYOUT UTILS
   ===================================================== */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gap-md); }
.section    { padding: var(--gap-xl) 0; }
.section-sm { padding: var(--gap-lg) 0; }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-c    { align-items: center; }
.justify-c  { justify-content: center; }
.justify-sb { justify-content: space-between; }
.gap-sm     { gap: var(--gap-sm); }
.gap-md     { gap: var(--gap-md); }
.gap-lg     { gap: var(--gap-lg); }

.grid-2     { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap-md); }
.grid-3     { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap-md); }
.grid-4     { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap-md); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: .95rem; font-weight: 600; line-height: 1;
  border: 2px solid transparent;
  transition: all var(--mid) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--sky-dark); color: var(--white);
  box-shadow: var(--shadow-sky);
}
.btn-primary:hover { background: var(--sky); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(56,189,248,.35); }
.btn-outline {
  background: transparent; color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--sky-dark); color: var(--sky-dark); background: var(--sky-bg); }
.btn-white {
  background: var(--white); color: var(--sky-dark);
}
.btn-white:hover { background: var(--sky-bg); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* =====================================================
   BADGE / TAG
   ===================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--sky-light); color: var(--sky-dark);
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-ink     { background: var(--ink); color: var(--white); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--mid) var(--ease);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  gap: var(--gap-md);
}

/* Logo */
.site-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--ink); flex-shrink: 0; line-height: 1;
  max-width: min(220px, 46vw);
}
.site-logo img,
.site-logo .custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; color: var(--ink-mid);
  transition: all var(--fast) var(--ease);
}
.site-nav a:hover, .site-nav a.current { background: var(--sky-bg); color: var(--sky-dark); }

.header-cta { display: flex; align-items: center; gap: var(--gap-sm); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--mid) var(--ease);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: var(--gap-xl) 0 var(--gap-2xl);
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--sky-bg) 60%, var(--sky-light) 100%);
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(56,189,248,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(14,165,233,.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg); align-items: center;
  position: relative; z-index: 1;
}

.hero-eyebrow { margin-bottom: var(--gap-sm); }
.hero-title   { margin-bottom: var(--gap-sm); }
.hero-lead    { margin-bottom: var(--gap-md); max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: var(--gap-sm); flex-wrap: wrap; }

.hero-trust {
  display: flex; align-items: center; gap: var(--gap-sm);
  margin-top: var(--gap-md);
  padding-top: var(--gap-md);
  border-top: 1px solid var(--border);
}
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-soft); }
.hero-trust-item svg { color: var(--sky-dark); flex-shrink: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-phone-wrap {
  position: relative;
  width: 280px; height: 560px;
}
.hero-phone {
  width: 100%; height: 100%;
  border-radius: 40px;
  background: linear-gradient(145deg, var(--ink) 0%, var(--ink-mid) 100%);
  box-shadow: 0 40px 80px rgba(12,26,46,.25), 0 0 0 1px rgba(255,255,255,.08) inset;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 24px 20px;
}
.hero-phone-notch {
  width: 80px; height: 6px;
  background: rgba(255,255,255,.15); border-radius: 3px;
  margin: 0 auto 24px;
}
.hero-phone-screen { flex: 1; position: relative; }
.hero-phone-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 16px;
  margin-bottom: 12px;
}
.hero-phone-card-label { font-size: .65rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.hero-phone-card-value { font-size: 1rem; font-weight: 700; color: #fff; font-family: var(--font-display); }
.hero-phone-card-sub   { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.hero-phone-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
}
.hero-phone-signal { display: flex; align-items: flex-end; gap: 2px; }
.hero-phone-signal span {
  display: block; width: 4px; background: var(--sky);
  border-radius: 2px; opacity: .8;
}
.hero-phone-badge {
  background: var(--sky-dark); color: #fff;
  font-size: .6rem; font-weight: 700; padding: 3px 8px;
  border-radius: 20px; letter-spacing: .05em;
}
.hero-float-1, .hero-float-2, .hero-float-3 {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.hero-float-1 { top: 60px;  left: -80px; animation-delay: 0s; }
.hero-float-2 { bottom: 100px; left: -60px; animation-delay: 1.3s; }
.hero-float-3 { top: 180px; right: -70px; animation-delay: 2.1s; }
.hero-float-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.hero-float-dot.sky { background: var(--sky-dark); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* =====================================================
   SEARCH BAR
   ===================================================== */
.search-section {
  padding: var(--gap-lg) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.search-wrap {
  max-width: 700px; margin: 0 auto;
}
.search-label {
  text-align: center;
  margin-bottom: var(--gap-sm);
}
.search-form {
  display: flex; align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 24px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.search-form:focus-within {
  border-color: var(--sky-dark);
  box-shadow: 0 0 0 4px rgba(56,189,248,.12), var(--shadow-md);
}
.search-form svg { color: var(--ink-soft); flex-shrink: 0; }
.search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 1rem; color: var(--ink); padding: 8px 12px;
  min-width: 0;
}
.search-input::placeholder { color: var(--ink-soft); }
.search-btn {
  background: var(--sky-dark); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  padding: 12px 24px; font-size: .9rem; font-weight: 600;
  transition: all var(--fast) var(--ease);
  flex-shrink: 0;
}
.search-btn:hover { background: var(--sky); }
.search-popular {
  display: flex; align-items: center; gap: var(--gap-xs);
  margin-top: 14px; flex-wrap: wrap; justify-content: center;
}
.search-popular-label { font-size: .8rem; color: var(--ink-soft); }
.search-tag {
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--sky-bg); color: var(--sky-dark);
  font-size: .8rem; font-weight: 500; border: 1px solid var(--sky-light);
  transition: all var(--fast) var(--ease); cursor: pointer;
}
.search-tag:hover { background: var(--sky-light); border-color: var(--sky-dark); }

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--ink); color: var(--white);
  padding: var(--gap-md) 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex; align-items: center; gap: var(--gap-lg);
  justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500; white-space: nowrap;
}
.trust-item svg { color: var(--sky); flex-shrink: 0; }
.trust-divider {
  width: 1px; height: 24px; background: rgba(255,255,255,.15);
}

/* =====================================================
   SECTION HEADER
   ===================================================== */
.section-header { margin-bottom: var(--gap-lg); }
.section-header.center { text-align: center; }
.section-header .badge { margin-bottom: var(--gap-sm); }
.section-header h2  { margin-bottom: 12px; }
.section-header p   { max-width: 560px; }
.section-header.center p { margin: 0 auto; }

/* =====================================================
   FEATURED DEALS / PRODUCT CARDS
   ===================================================== */
.deals-section { background: var(--off-white); }
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-md);
}

/* WooCommerce product card override */
.product-card, ul.products li.product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--mid) var(--ease);
  position: relative;
}
.product-card:hover, ul.products li.product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--sky-light);
}
ul.products li.product { cursor: pointer; }

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden; background: var(--sky-bg);
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-body { padding: var(--gap-sm) var(--gap-sm) var(--gap-md); }
.product-card-meta {
  display: flex; align-items: center; gap: var(--gap-xs);
  margin-bottom: 10px;
}
.product-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.product-card-attrs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.product-card-attr {
  font-size: .72rem; font-weight: 600; padding: 3px 9px;
  background: var(--sky-bg); color: var(--sky-dark);
  border-radius: var(--radius-pill);
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gap-sm);
  border-top: 1px solid var(--border);
}
.product-card-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.product-card-price del { font-size: .85rem; color: var(--ink-soft); font-weight: 400; margin-right: 4px; }
.product-card-buy {
  background: var(--ink); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  padding: 9px 18px; font-size: .82rem; font-weight: 600;
  transition: all var(--fast) var(--ease);
}
.product-card-buy:hover { background: var(--sky-dark); }

/* eSIM comparison row cards */
.esim-plan-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.esim-plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr) minmax(170px, 210px);
  align-items: stretch;
  gap: 18px;
  color: var(--ink);
  min-width: 0;
  overflow: visible;
  padding: 18px;
  position: relative;
  transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.esim-plan-card::before {
  background: var(--sky-dark);
  border-radius: 8px 0 0 8px;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.esim-plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--sky-light);
}

.esim-plan-card__top,
.esim-plan-card__main,
.esim-plan-card__actions {
  position: relative;
  z-index: 1;
}

.esim-plan-card__top {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
}

.esim-plan-card__logo {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
}

.esim-plan-card__logo img {
  width: auto;
  max-width: 170px;
  max-height: 38px;
  object-fit: contain;
  display: block;
}

.esim-plan-card__logo span {
  width: 58px;
  height: 42px;
  border-radius: 6px;
  background: var(--sky-bg);
  color: var(--sky-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0;
}

.esim-plan-card__destination {
  min-width: 0;
  text-align: left;
}

.esim-plan-card__destination h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
}

.esim-plan-card__destination span {
  color: var(--sky-dark);
  display: block;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 4px;
}

.esim-plan-card__destination em {
  color: var(--ink-soft);
  display: block;
  font-size: .78rem;
  font-style: normal;
  line-height: 1.35;
  margin-top: 6px;
}

.esim-plan-card__main {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  min-width: 0;
}

.esim-plan-card__specs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
}

.esim-plan-card__spec {
  align-items: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
  padding: 10px 8px;
  text-align: center;
}

.esim-plan-card__spec span,
.esim-plan-card__promo-label {
  display: block;
  color: var(--ink-soft);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.esim-plan-card__spec strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.25;
  word-break: break-word;
}

.esim-plan-card__promo {
  background: var(--sky-bg);
  border: 1px solid var(--sky-light);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
}

.esim-plan-card__promo-label {
  color: var(--ink-soft);
  font-size: .72rem;
  text-align: left;
}

.esim-plan-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 0;
}

.esim-plan-card__prices del {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1;
}

.esim-plan-card__prices strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
}

.esim-plan-card__prices--plain {
  margin-top: 0;
}

.esim-plan-card__promo-note {
  color: var(--ink-mid);
  font-size: .78rem;
  line-height: 1.35;
}

.coupon-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}

.coupon-section__icon {
  color: var(--sky-dark);
  display: inline-flex;
  flex: 0 0 auto;
}

.promo-code-display {
  background: var(--white);
  border: 1px dashed var(--sky-dark);
  border-radius: 6px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  min-width: 0;
  overflow: hidden;
  padding: 6px 8px;
  text-overflow: ellipsis;
}

.copy-promo-button {
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 10px;
}

.copy-promo-button:hover {
  background: var(--sky-dark);
}

.copy-status-message {
  color: var(--success);
  font-size: .72rem;
  min-width: 38px;
}

.esim-plan-card .coupon-section {
  background: var(--white);
  border: 1px dashed var(--sky-dark);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  min-height: 0;
  min-width: 0;
  padding: 8px 10px;
  position: relative;
}

.esim-plan-card .coupon-section__icon {
  color: var(--sky-dark);
}

.esim-plan-card .promo-code-display {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .86rem;
  line-height: 1.2;
  padding: 0;
  white-space: nowrap;
}

.esim-plan-card .copy-promo-button {
  background: transparent;
  border-radius: 0;
  color: var(--sky-dark);
  font-size: .86rem;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
}

.esim-plan-card .copy-promo-button:hover {
  background: transparent;
  color: var(--sky-dark);
}

.esim-plan-card .copy-status-message {
  min-width: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 3px);
}

.esim-plan-card__actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.mijn-html-tooltip {
  position: relative;
}

.tooltip-trigger {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-mid);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.tooltip-trigger span {
  text-decoration: none;
}

.tooltip-trigger:hover,
.mijn-html-tooltip.open .tooltip-trigger {
  color: var(--sky-dark);
}

.tooltip-content {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 50;
  width: min(300px, 82vw);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  color: var(--ink-mid);
  font-size: .82rem;
  line-height: 1.5;
  padding: 14px 36px 14px 14px;
}

.mijn-html-tooltip.open .tooltip-content,
.mijn-html-tooltip:focus-within .tooltip-content {
  display: block;
}

.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--sky-bg);
  color: var(--ink-mid);
  cursor: pointer;
  line-height: 1;
}

.esim-plan-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--sky-dark);
  border-radius: 8px;
  background: var(--sky-dark);
  color: var(--white);
  box-shadow: var(--shadow-sky);
  min-height: 46px;
  min-width: 0;
  padding: 0 18px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}

.esim-plan-card__button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.sorting-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  overflow-x: auto;
  padding: 0;
  scroll-behavior: smooth;
  position: relative;
  z-index: 10;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sorting-bar::-webkit-scrollbar {
  display: none;
}

.wavisim-sorting-bar {
  margin: 0 0 14px;
}

.sort-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .8rem;
  background-color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: .9rem;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
  border: 1px solid #2C3E50;
  color: #2C3E50;
  font-family: var(--font-body);
}

.sort-button:hover,
.sort-button.active {
  background-color: #F7F7F7;
  border-color: var(--sky-dark);
  color: var(--sky-dark);
}

.wavisim-dropdowns {
  position: relative;
  z-index: 60;
}

.dropdown-panel {
  display: none;
  position: fixed;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  min-width: 180px;
  max-width: 280px;
  z-index: 99999;
  box-sizing: border-box;
}

.dropdown-panel.open {
  display: block;
}

.dropdown-panel a {
  display: block;
  padding: .5rem 1rem;
  color: #2C3E50;
  text-decoration: none;
  font-size: .9rem;
  border-radius: 4px;
  margin: 4px;
  font-weight: 600;
}

.dropdown-panel a:hover,
.dropdown-panel a.active {
  background-color: #F7F7F7;
  color: var(--sky-dark);
}

.wavisim-filter-panel {
  border-top: 1px solid var(--border);
  margin-top: var(--gap-sm);
  padding-top: var(--gap-sm);
}

.wavisim-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 10px;
}

.wavisim-filter-heading a {
  color: var(--sky-dark);
  font-size: .76rem;
  font-weight: 700;
}

.wavisim-filter-group {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}

.wavisim-filter-label {
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.wavisim-filter-options {
  display: grid;
  gap: 5px;
}

.wavisim-filter-option {
  border-radius: 8px;
  color: var(--ink-mid);
  display: block;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 10px;
  text-decoration: none;
}

.wavisim-filter-option:hover,
.wavisim-filter-option.active {
  background: var(--sky-bg);
  color: var(--sky-dark);
}

.wavisim-mobile-filter-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: var(--gap-md);
  padding: var(--gap-sm);
}

/* Featured card accent */
.product-card.featured {
  border-color: var(--sky-dark);
  box-shadow: 0 0 0 1px var(--sky-dark), var(--shadow-sky);
}
.product-card.featured::before {
  content: 'Popular';
  position: absolute; top: 14px; right: 14px;
  background: var(--sky-dark); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-section { background: var(--white); }
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md); position: relative;
}
.how-steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--sky-light), var(--sky-dark), var(--sky-light));
  z-index: 0;
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--sky-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--gap-sm);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--sky-dark);
  box-shadow: var(--shadow-sky);
  transition: all var(--mid) var(--ease);
}
.how-step:hover .how-step-num { background: var(--sky-dark); color: var(--white); transform: scale(1.08); }
.how-step-title { font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.how-step-text  { font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }

/* =====================================================
   DESTINATIONS / REGION GRID
   ===================================================== */
.destinations-section { background: var(--sky-bg); }
.regions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-sm);
}
.region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-md) var(--gap-sm);
  text-align: center;
  transition: all var(--mid) var(--ease); cursor: pointer;
  text-decoration: none; color: var(--ink);
}
.region-card:hover {
  border-color: var(--sky-dark);
  box-shadow: var(--shadow-sky);
  transform: translateY(-3px);
}
.region-card-icon { font-size: 2.2rem; margin-bottom: 10px; }
.region-card-name { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.region-card-count { font-size: .78rem; color: var(--ink-soft); }

/* =====================================================
   PROVIDERS
   ===================================================== */
.providers-section { background: var(--white); }
.providers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.provider-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--gap-md);
  display: flex; flex-direction: column; gap: var(--gap-sm);
  transition: all var(--mid) var(--ease);
}
.provider-card:hover { box-shadow: var(--shadow-lg); border-color: var(--sky-light); transform: translateY(-3px); }
.provider-card-logo {
  height: 48px; display: flex; align-items: center;
  margin-bottom: 4px;
}
.provider-card-logo img { height: 100%; width: auto; object-fit: contain; }
.provider-card-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.provider-card-desc { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.provider-card-promo {
  background: var(--sky-bg); border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.provider-card-promo-label { font-size: .75rem; color: var(--ink-soft); }
.provider-card-promo-code {
  font-family: monospace; font-weight: 700; font-size: .9rem;
  color: var(--sky-dark); letter-spacing: .06em;
  cursor: pointer; transition: color var(--fast) var(--ease);
}
.provider-card-promo-code:hover { color: var(--sky); }

.providers-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: var(--gap-md);
  align-items: center;
  margin-bottom: var(--gap-lg);
}
.providers-intro p {
  color: var(--ink-soft);
  margin-top: 10px;
  max-width: 720px;
}
.providers-intro__stat {
  background: var(--sky-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
.providers-intro__stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}
.providers-intro__stat span {
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
}
.providers-grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.provider-card--fy {
  background: var(--white);
  border-radius: 8px;
  padding: 0;
  min-height: 100%;
  overflow: hidden !important;
}
.provider-card--fy .provider-card__media {
  min-height: 92px;
  padding: 22px 22px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.provider-card--fy .provider-card__media img {
  width: auto;
  max-width: 160px;
  max-height: 54px;
  object-fit: contain;
}
.provider-card__fallback-logo {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--sky-bg);
  color: var(--sky-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.provider-card--fy .provider-card__body {
  padding: 0 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.provider-card--fy .provider-card-name {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.provider-card--fy .provider-card-desc {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  min-height: 4.2em;
}
.provider-card__deal {
  padding: 0 22px 18px;
}
.provider-card__discount {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.provider-card__discount--muted {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
}
.provider-coupon-section {
  background: var(--sky-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 0;
  padding: 9px;
}
.provider-coupon-section .promo-code-display {
  flex: 1 1 auto;
}
.provider-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: auto 22px 22px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--sky-dark);
  color: var(--white);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.provider-card__button:hover {
  background: var(--ink);
  color: var(--white);
}
.provider-logo-strip {
  margin: var(--gap-lg) 0;
}
.provider-logo-strip h2 {
  margin-bottom: var(--gap-md);
  text-align: center;
}
.provider-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.provider-logo-pill {
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.provider-logo-pill:hover {
  border-color: var(--sky-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.provider-logo-pill img {
  max-width: 112px;
  max-height: 42px;
  object-fit: contain;
}
.provider-logo-pill span {
  color: var(--ink-mid);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}

/* =====================================================
   TESTIMONIALS / TRUST
   ===================================================== */
.reviews-section { background: var(--off-white); }
.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }
.review-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--gap-md);
}
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--gap-md);
  display: flex; flex-direction: column; gap: var(--gap-sm);
}
.review-card-text { font-size: .95rem; line-height: 1.7; color: var(--ink-mid); flex: 1; }
.review-card-author { display: flex; align-items: center; gap: 12px; }
.review-card-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white); font-weight: 700; flex-shrink: 0;
}
.review-card-name { font-weight: 700; font-size: .9rem; }
.review-card-trip { font-size: .78rem; color: var(--ink-soft); }

/* =====================================================
   FAQ
   ===================================================== */
.faq-section { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  cursor: pointer; background: none; border: none; width: 100%;
  text-align: left; font-size: 1rem; font-weight: 600; color: var(--ink);
  gap: var(--gap-sm);
  transition: color var(--fast) var(--ease);
}
.faq-question:hover { color: var(--sky-dark); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky-bg); color: var(--sky-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem; font-weight: 700;
  transition: all var(--mid) var(--ease);
}
.faq-item.open .faq-icon { background: var(--sky-dark); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  font-size: .95rem; line-height: 1.7; color: var(--ink-soft);
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  color: var(--white); text-align: center; padding: var(--gap-xl) 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% -20%, rgba(56,189,248,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.7); max-width: 480px; margin: 0 auto var(--gap-md); }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: var(--gap-sm); flex-wrap: wrap; }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: var(--gap-xl) 0 var(--gap-md);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-lg); margin-bottom: var(--gap-lg);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--gap-sm); }
.footer-brand .site-logo { color: var(--white); }
.footer-brand .site-logo img,
.footer-brand .site-logo .custom-logo {
  max-height: 42px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: .88rem; color: rgba(255,255,255,.6);
  margin-bottom: 10px; transition: color var(--fast) var(--ease);
}
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--gap-md);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--gap-sm);
  font-size: .82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--fast) var(--ease);
  font-size: .9rem;
}
.footer-social a:hover { background: var(--sky-dark); color: var(--white); }

/* =====================================================
   WOOCOMMERCE OVERRIDES
   ===================================================== */
.woocommerce #primary,
.woocommerce-page #primary { padding: 0; max-width: 100%; }

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: var(--gap-md) !important;
  margin: 0 !important; padding: 0 !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important; padding: 0 !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product a img {
  width: 100% !important; margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important; font-size: 1rem !important;
  padding: var(--gap-sm) var(--gap-sm) 4px !important;
  color: var(--ink) !important;
}

.woocommerce ul.products li.product .price {
  padding: 0 var(--gap-sm) !important;
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important; font-weight: 800 !important;
  color: var(--ink) !important;
}

.woocommerce ul.products li.product .button {
  background: var(--ink) !important; color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  margin: var(--gap-sm) !important;
  font-size: .85rem !important; font-weight: 600 !important;
  transition: all var(--fast) var(--ease) !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--sky-dark) !important;
}

/* Shop page layout */
.woocommerce-shop-header {
  background: linear-gradient(160deg, var(--sky-bg) 0%, var(--white) 100%);
  padding: var(--gap-lg) 0 var(--gap-md);
}

/* Single product */
.woocommerce div.product { padding: var(--gap-lg) 0; }
.woocommerce div.product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.5rem,3vw,2.2rem) !important;
  font-weight: 800 !important; letter-spacing: -.02em !important;
}
.woocommerce div.product .price {
  font-family: var(--font-display) !important;
  font-size: 2rem !important; font-weight: 800 !important;
  color: var(--ink) !important;
}
.woocommerce .woocommerce-product-details__short-description { color: var(--ink-soft); line-height: 1.7; }

/* Cart / Checkout */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  background: var(--sky-dark) !important; color: var(--white) !important;
  border-radius: var(--radius-pill) !important; border: none !important;
  font-weight: 600 !important; font-family: var(--font-body) !important;
  transition: all var(--fast) var(--ease) !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover { background: var(--sky) !important; }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  font-size: .82rem; color: var(--ink-soft) !important; padding: var(--gap-sm) 0 !important;
}

/* =====================================================
   INNER PAGE HERO
   ===================================================== */
.page-hero {
  background: linear-gradient(160deg, var(--sky-bg) 0%, var(--white) 100%);
  padding: var(--gap-lg) 0 var(--gap-md);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero .t-lead { max-width: 560px; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-mission {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center;
}
.about-values {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap-md);
}
.value-card {
  background: var(--sky-bg); border-radius: var(--radius-lg); padding: var(--gap-md);
  border: 1px solid var(--sky-light);
}
.value-card-icon { font-size: 2rem; margin-bottom: var(--gap-sm); }
.value-card h3 { margin-bottom: 8px; }
.value-card p  { font-size: .9rem; color: var(--ink-soft); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--gap-lg); }
.contact-info { display: flex; flex-direction: column; gap: var(--gap-md); }
.contact-info-item { display: flex; gap: var(--gap-sm); }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--sky-bg); color: var(--sky-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--gap-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--gap-sm); }
.form-label { font-size: .82rem; font-weight: 600; color: var(--ink-mid); }
.form-input, .form-textarea, .form-select {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; font-size: .95rem; color: var(--ink);
  background: var(--white); outline: none;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--sky-dark);
  box-shadow: 0 0 0 3px rgba(56,189,248,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* =====================================================
   BLOG
   ===================================================== */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap-md);
}
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--mid) var(--ease);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--sky-light); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--sky-bg); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: var(--gap-sm); }
.blog-card-cat { font-size: .72rem; font-weight: 700; color: var(--sky-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--sky-dark); }
.blog-card-excerpt { font-size: .85rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--ink-soft); }

/* =====================================================
   HOW IT WORKS PAGE
   ===================================================== */
.hiw-steps-full {
  display: flex; flex-direction: column; gap: var(--gap-lg);
  max-width: 860px; margin: 0 auto;
}
.hiw-step-full {
  display: grid; grid-template-columns: 80px 1fr; gap: var(--gap-md);
  align-items: start;
}
.hiw-step-full:nth-child(even) { direction: rtl; }
.hiw-step-full:nth-child(even) > * { direction: ltr; }
.hiw-step-num-big {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--white);
  box-shadow: var(--shadow-sky); flex-shrink: 0;
}
.hiw-step-content h3 { margin-bottom: 10px; }
.hiw-step-content p  { color: var(--ink-soft); line-height: 1.7; }

/* =====================================================
   PRIVACY PAGE
   ===================================================== */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin: var(--gap-md) 0 12px; }
.prose h3 { margin: var(--gap-sm) 0 8px; }
.prose p  { margin-bottom: 16px; color: var(--ink-mid); line-height: 1.75; }
.prose ul { margin: 0 0 16px 24px; list-style: disc; }
.prose ul li { margin-bottom: 8px; color: var(--ink-mid); }
.prose a    { color: var(--sky-dark); text-decoration: underline; }

/* =====================================================
   ANIMATIONS / SCROLL
   ===================================================== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: .05s; }
.fade-up:nth-child(2) { transition-delay: .12s; }
.fade-up:nth-child(3) { transition-delay: .19s; }
.fade-up:nth-child(4) { transition-delay: .26s; }
.fade-up:nth-child(5) { transition-delay: .33s; }
.fade-up:nth-child(6) { transition-delay: .40s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-grid   { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .how-steps   { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
  .regions-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-mission { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .providers-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .destination-story-grid,
  .visit-destination-hero__grid { grid-template-columns: 1fr; }
  .esim-plan-grid { grid-template-columns: 1fr; }
  .esim-plan-card {
    gap: 22px;
    grid-template-columns: 1fr;
    padding: 20px 18px 18px 24px;
  }
  .esim-plan-card__top {
    align-items: center;
    flex-direction: row;
  }
  .esim-plan-card__logo {
    flex: 0 0 180px;
  }
  .esim-plan-card__main {
    gap: 18px;
    grid-template-columns: 1fr;
  }
  .esim-plan-card__actions {
    flex-direction: row;
  }
  .esim-plan-card__button {
    min-width: 190px;
  }
}

@media (max-width: 768px) {
  :root { --gap-lg: 48px; --gap-xl: 64px; }
  .site-nav    { display: none; position: absolute; top: 72px; left: 0; right: 0;
                 background: var(--white); padding: var(--gap-sm);
                 flex-direction: column; align-items: stretch;
                 border-bottom: 1px solid var(--border);
                 box-shadow: var(--shadow-md); }
  .site-nav.open { display: flex; }
  .site-nav a  { padding: 12px 16px; border-radius: var(--radius); }
  .nav-toggle  { display: flex; }
  .header-cta .btn { display: none; }
  .header-cta .btn.btn-primary { display: inline-flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .how-steps  { grid-template-columns: 1fr 1fr; }
  .regions-grid { grid-template-columns: repeat(2,1fr); }
  .providers-grid { grid-template-columns: 1fr; }
  .providers-grid--cards,
  .providers-intro,
  .destination-directory { grid-template-columns: 1fr; }
  .review-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: var(--gap-md); }
  .trust-divider { display: none; }
  .hiw-step-full:nth-child(even) { direction: ltr; }
  .hiw-step-full { grid-template-columns: 60px 1fr; }
  .hiw-step-num-big { width: 60px; height: 60px; font-size: 1.4rem; }
  .esim-plan-card__main { grid-template-columns: 1fr; }
  .esim-plan-card__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .esim-plan-card__promo {
    width: 100%;
  }
  .esim-plan-card__actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--gap-sm); }
  .search-form {
    max-width: 100%;
    padding: 6px;
  }
  .search-input {
    padding: 8px;
  }
  .search-btn {
    padding: 10px 16px;
  }
  .regions-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid  { grid-template-columns: 1fr; }
  .how-steps    { grid-template-columns: 1fr; }
  .deals-grid   { grid-template-columns: 1fr; }
  .destination-link-list { columns: 1; }
  .provider-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .esim-plan-card {
    gap: 20px;
    padding: 18px 14px 16px 20px;
  }
  .esim-plan-card__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .esim-plan-card__logo {
    flex-basis: auto;
    width: 100%;
  }
  .esim-plan-card__logo img {
    max-width: 145px;
  }
  .esim-plan-card__destination h3 {
    font-size: .95rem;
  }
  .esim-plan-card__specs {
    gap: 10px;
  }
  .esim-plan-card__spec {
    min-height: 88px;
    padding: 12px 10px;
  }
  .esim-plan-card__spec strong {
    font-size: 1.08rem;
    margin-top: 16px;
  }
  .esim-plan-card__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .esim-plan-card__button {
    width: 100%;
  }
  .tooltip-content {
    right: auto;
    left: 0;
  }
}

/* =====================================================
   SINGLE PRODUCT — RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .single-product .container > div[style*="grid-template-columns:1fr 420px"] {
    display: block !important;
  }
  .single-product .container > div > div:last-child {
    position: static !important;
    margin-top: var(--gap-md);
  }
  .product-title-mobile { display: block !important; }
}

/* =====================================================
   WOOCOMMERCE — CATALOG ORDERING SELECT
   ===================================================== */
.woocommerce-ordering select {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-pill) !important;
  padding: 8px 14px !important;
  font-size: .82rem !important;
  color: var(--ink-mid) !important;
  outline: none !important;
  background: var(--white) !important;
  font-family: var(--font-body) !important;
  cursor: pointer;
}

/* =====================================================
   WOOCOMMERCE — PAGINATION
   ===================================================== */
.woocommerce-pagination ul {
  display: flex !important; gap: 6px !important; flex-wrap: wrap !important;
  list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 38px !important; height: 38px !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  font-size: .88rem !important; font-weight: 600 !important; color: var(--ink-mid) !important;
  text-decoration: none !important; transition: all .15s !important;
  background: var(--white) !important;
}
.woocommerce-pagination ul li a:hover {
  border-color: var(--sky-dark) !important; color: var(--sky-dark) !important;
}
.woocommerce-pagination ul li span.current {
  background: var(--sky-dark) !important; color: #fff !important;
  border-color: var(--sky-dark) !important;
}

/* =====================================================
   SEARCH RESULTS page — result count  
   ===================================================== */
.woocommerce-result-count {
  font-size: .82rem !important; color: var(--ink-soft) !important;
}

/* =====================================================
   WOOCOMMERCE NOTICES
   ===================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius) !important;
  border-left: 4px solid var(--sky-dark) !important;
  padding: 14px 18px !important;
  margin-bottom: var(--gap-md) !important;
  font-size: .9rem !important;
}
.woocommerce-error { border-color: #EF4444 !important; }

/* =====================================================
   SIDEBAR WIDGET STYLES
   ===================================================== */
.widget { margin-bottom: var(--gap-md); }
.widget-title {
  font-family: var(--font-display);
  font-size: .82rem !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: .08em !important;
  color: var(--ink-soft) !important; margin-bottom: 12px !important;
}
.widget_layered_nav ul { padding: 0 !important; }
.widget_layered_nav ul li a {
  font-size: .88rem !important; color: var(--ink-mid) !important;
  display: flex !important; align-items: center !important;
  padding: 6px 0 !important; gap: 8px !important;
  transition: color .15s !important;
}
.widget_layered_nav ul li a:hover { color: var(--sky-dark) !important; }
.widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: var(--border) !important; height: 4px !important; border-radius: 2px !important;
}
.widget_price_filter .ui-slider-handle {
  background: var(--sky-dark) !important; border-color: var(--sky-dark) !important;
  width: 16px !important; height: 16px !important; top: -6px !important;
}

/* =====================================================
   COMPARISON TABLE
   ===================================================== */
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: .9rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table thead tr {
  background: var(--sky-bg);
}
.comparison-table th {
  padding: 14px 16px; text-align: left;
  font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--border);
}
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: var(--off-white); }
.comparison-table tr:hover td { background: var(--sky-bg); }
@media (max-width: 640px) {
  .comparison-table { font-size: .78rem; }
  .comparison-table th,
  .comparison-table td { padding: 10px 10px; }
}

/* =====================================================
   DESTINATIONS PAGE — COUNTRY GRID
   ===================================================== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-sm);
}
.dest-country-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--fast) var(--ease),
              background   var(--fast) var(--ease),
              box-shadow   var(--fast) var(--ease),
              transform    var(--fast) var(--ease) !important;
}
.dest-country-card:hover {
  background: var(--sky-bg);
  border-color: var(--sky-dark);
  color: var(--sky-dark);
  box-shadow: var(--shadow-sm) !important;
  transform: translateY(-2px) !important;
}
.dest-country-flag {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}
.dest-country-flag img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.dest-country-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.dest-country-name {
  overflow: hidden;
  color: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dest-country-meta {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: .76rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dest-country-card svg { flex-shrink: 0; opacity: .45; }
.destination-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}
.destination-link-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--gap-md);
}
.destination-link-block h2 {
  margin-bottom: var(--gap-sm);
}
.destination-link-list {
  columns: 2;
  column-gap: var(--gap-md);
}
.destination-link-list a {
  display: block;
  break-inside: avoid;
  color: var(--ink-mid);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 5px 0;
}
.destination-link-list a:hover {
  color: var(--sky-dark);
}
.destination-link-list--compact {
  columns: 1;
}
.destinations-all-header {
  margin-top: var(--gap-lg);
}
.recommended-plans-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: var(--gap-md);
  padding: var(--gap-md);
}
.recommended-plans-intro h2 {
  margin-bottom: 8px;
}
.recommended-plans-intro p {
  color: var(--ink-soft);
  max-width: 760px;
}
.results-section-heading {
  margin-bottom: var(--gap-sm);
}
.destination-story {
  background: var(--white);
}
.destination-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--gap-lg);
  align-items: start;
}
.destination-story-copy p {
  color: var(--ink-soft);
  margin-top: var(--gap-sm);
}
.destination-steps {
  display: grid;
  gap: 10px;
  margin-top: var(--gap-md);
}
.destination-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-mid);
  font-weight: 600;
}
.destination-steps span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-bg);
  color: var(--sky-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 800;
}
.destination-story-panel {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--gap-md);
}
.destination-story-panel h3 {
  font-size: 1rem;
  margin-bottom: var(--gap-sm);
}
.destination-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.destination-stat-row span {
  color: var(--ink-soft);
  font-size: .84rem;
}
.destination-stat-row strong {
  color: var(--ink);
  font-weight: 800;
}
.destination-story-panel .btn {
  width: 100%;
  margin-top: var(--gap-sm);
}
.visit-destination-hero {
  background: linear-gradient(160deg, var(--sky-bg) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  padding: var(--gap-xl) 0 var(--gap-lg);
}
.visit-destination-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--gap-lg);
  align-items: center;
}
.visit-destination-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-top: var(--gap-md);
}
.visit-destination-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: grid;
}
.visit-destination-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  padding: 18px 20px;
}
.visit-destination-summary div + div {
  border-top: 1px solid var(--border);
}
.visit-destination-summary span {
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 600;
}
.visit-destination-summary strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

@media (max-width: 768px) {
  .destinations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .destinations-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PROVIDER CARD — ENHANCED FOR COMPARISON
   ===================================================== */
.provider-card {
  position: relative;
  overflow: visible !important; /* allow top badge to overflow */
}
.provider-card--fy {
  gap: 0;
  overflow: hidden !important;
}
.provider-card-score {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--ink); line-height: 1;
}
.provider-card-score-label {
  font-size: .65rem; color: var(--ink-soft); margin-top: 2px;
}

.provider-card--review {
  background: var(--white);
  border-color: var(--border);
  border-radius: 8px;
  gap: var(--gap-sm);
  min-height: 100%;
  overflow: visible !important;
  padding: var(--gap-md);
}

.provider-card--review .provider-card__badge {
  position: absolute;
  right: 16px;
  top: -12px;
}

.provider-review-head {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  padding-bottom: var(--gap-sm);
}

.provider-review-logo {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex: 0 0 70px;
  height: 58px;
  justify-content: center;
  padding: 8px;
}

.provider-review-logo img {
  max-height: 38px;
  object-fit: contain;
  width: auto;
}

.provider-review-title {
  flex: 1 1 auto;
  min-width: 0;
}

.provider-card--review .provider-card-name {
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
}

.provider-review-tagline {
  color: var(--sky-dark);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 4px;
}

.provider-card--review .provider-card-score {
  flex: 0 0 auto;
  text-align: center;
}

.provider-card--review .provider-card-score span {
  color: var(--ink-soft);
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
}

.provider-card--review .provider-card-desc {
  flex: 0 0 auto;
  margin: 0;
}

.provider-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-review-meta span {
  background: var(--sky-bg);
  border: 1px solid var(--sky-light);
  border-radius: 999px;
  color: var(--ink-mid);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
}

.provider-review-points {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.provider-review-points__label {
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.provider-review-points__label--pros {
  color: var(--success);
}

.provider-review-points ul {
  display: grid;
  gap: 6px;
}

.provider-review-points li {
  align-items: flex-start;
  color: var(--ink-mid);
  display: flex;
  font-size: .8rem;
  gap: 6px;
  line-height: 1.35;
}

.provider-review-points li span {
  color: var(--success);
  flex: 0 0 auto;
  margin-top: 3px;
}

.provider-card--review .provider-card-promo {
  border: 1px solid var(--border);
  border-radius: 8px;
  gap: 10px;
  margin-top: auto;
}

.provider-card-promo--muted {
  opacity: .72;
}

.provider-card-promo__copy {
  flex: 0 0 auto;
}

.provider-card-promo__hidden-code {
  display: none;
}

.provider-review-cta {
  width: 100%;
}

/* Providers grid: 3 cols desktop, 2 cols tablet, 1 col mobile */
@media (max-width: 640px) {
  .providers-grid { grid-template-columns: 1fr !important; }
  .provider-review-head {
    align-items: flex-start;
  }
  .provider-review-points {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   AFFILIATE DISCLOSURE STRIP
   ===================================================== */
.affiliate-strip {
  background: var(--sky-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: center;
}
.affiliate-strip strong { color: var(--ink-mid); }

/* =====================================================
   DESTINATIONS REGION HEADER
   ===================================================== */
.dest-region-block h2 {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

/* =====================================================
   DESTINATION REGION FILTERS
   ===================================================== */
.destination-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--gap-lg);
}
#region-nav a,
#region-nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink-mid);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--fast) var(--ease),
              color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
#region-nav a span,
#region-nav button span {
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 600;
}
#region-nav a:hover,
#region-nav button:hover,
#region-nav button.active {
  border-color: var(--sky-dark) !important;
  color: var(--sky-dark) !important;
  background: var(--sky-bg) !important;
}
#region-nav button.active span {
  color: var(--sky-dark);
}

/* =====================================================
   POPPINS FONT-WEIGHT OVERRIDES
   (Poppins has no 800 weight — map to 700)
   ===================================================== */
.t-hero, .t-h1, .t-h2, .t-h3,
.site-logo, .provider-card-name,
.product-card-title, .product-card-price,
.hero-phone-card-value,
.hiw-step-num-big, .how-step-num {
  font-weight: 700;
}

/* =====================================================
   WC PRODUCT LOOP BUTTON — COMPARISON TEXT
   ===================================================== */
.woocommerce ul.products li.product .button {
  font-size: .8rem !important;
}

/* =====================================================
   PRODUCT CATEGORY COMPARISON PAGE
   ===================================================== */
.fy-product-category {
  background: var(--off-white);
}

.fy-category-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 28px;
  text-align: center;
}

.fy-category-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.fy-category-title .esim-country-name {
  color: var(--sky-dark);
  display: inline;
}

.fy-category-summary {
  color: var(--ink-soft);
  font-size: clamp(.98rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 720px;
}

.fy-category-summary strong {
  color: var(--ink);
  font-weight: 700;
}

.fy-mobile-controls {
  display: none;
  gap: 14px;
  margin: 26px auto 0;
  max-width: 760px;
  text-align: left;
}

.fy-mobile-control-group {
  min-width: 0;
  position: relative;
}

.fy-mobile-control-group--wide {
  grid-column: 1 / -1;
}

.fy-mobile-control-top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.fy-mobile-control-label {
  color: var(--ink-soft);
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.fy-clear-link {
  color: var(--sky-dark);
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.fy-destination-picker,
.fy-mobile-select {
  position: relative;
}

.fy-destination-picker summary,
.fy-mobile-select summary {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  min-height: 48px;
  padding: 12px 14px;
}

.fy-destination-picker summary::-webkit-details-marker,
.fy-mobile-select summary::-webkit-details-marker {
  display: none;
}

.fy-trigger-main {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.fy-trigger-main span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fy-trigger-flag,
.fy-suggestion-flag {
  border-radius: 3px;
  flex: 0 0 auto;
  height: 18px;
  object-fit: cover;
  width: 24px;
}

.fy-trigger-icon,
.fy-suggestion-icon {
  color: var(--sky-dark);
  display: inline-flex;
  flex: 0 0 auto;
}

.fy-chevron {
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 700;
}

.fy-destination-panel,
.fy-mobile-options {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 4px;
  left: 0;
  margin-top: 8px;
  max-height: min(420px, 72vh);
  overflow: auto;
  padding: 8px;
  position: absolute;
  right: 0;
  z-index: 80;
}

.fy-destination-search-wrap {
  padding: 4px 4px 8px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--white);
}

.fy-destination-search {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-size: .9rem;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.fy-destination-search:focus {
  border-color: var(--sky-dark);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.fy-destination-options {
  display: grid;
  gap: 2px;
}

.fy-destination-option,
.fy-mobile-options a {
  align-items: center;
  border-radius: 6px;
  color: var(--ink-mid);
  display: flex;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 9px 10px;
  text-decoration: none;
}

.fy-destination-option:hover,
.fy-mobile-options a:hover,
.fy-mobile-options a.active {
  background: var(--sky-bg);
  color: var(--sky-dark);
}

.fy-archive-content {
  background: var(--off-white);
  padding: 24px 0 64px;
}

.fy-archive-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.fy-filter-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  position: sticky;
  top: 96px;
}

.fy-filter-sidebar .wavisim-filter-panel {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.fy-filter-sidebar .wavisim-filter-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.fy-results-column {
  min-width: 0;
}

.fy-results-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.fy-results-toolbar {
  min-width: 0;
}

.fy-results-toolbar .wavisim-sorting-bar {
  margin: 0;
}

.fy-result-count {
  color: var(--ink-soft);
  flex: 0 0 auto;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

.fy-result-count strong {
  color: var(--ink);
  font-weight: 700;
}

.fy-result-grid {
  gap: 12px;
  grid-template-columns: 1fr;
}

.fy-pagination {
  margin-top: 28px;
}

.fy-no-results {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 42px 24px;
  text-align: center;
}

.fy-no-results p {
  color: var(--ink-soft);
  margin: 8px auto 18px;
  max-width: 460px;
}

@media (max-width: 1024px) {
  .fy-archive-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .fy-filter-sidebar {
    padding: 14px;
  }
}

@media (max-width: 900px) {
  .fy-category-hero {
    padding: 34px 0 22px;
  }

  .fy-mobile-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fy-archive-layout {
    display: block;
  }

  .fy-filter-sidebar {
    display: none;
  }

  .fy-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .fy-result-count {
    order: -1;
  }
}

@media (max-width: 560px) {
  .fy-mobile-controls {
    grid-template-columns: 1fr;
  }

  .fy-mobile-control-group--wide {
    grid-column: auto;
  }

  .fy-category-title {
    font-size: 2rem;
  }

  .fy-destination-panel,
  .fy-mobile-options {
    position: static;
  }
}
