﻿:root{
  --navy:#0b1f3f;
  --navy2:#132d52;
  --green:#36a987;
  --green-dark:#238b70;
  --mint:#eaf8f3;
  --bg:#f6f8fb;
  --line:#dfe6ee;
  --text:#10213f;
  --muted:#66758a;
  --white:#ffffff;
  --shadow:0 12px 34px rgba(16,33,63,.08);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--white);
}

body{
  min-height:100vh;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
}

.wrap{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.nav{
  height:74px;
  display:flex;
  align-items:center;
  gap:34px;
}

.brand{
  display:flex;
  align-items:center;
  margin-right:auto;
}

.brand img{
  width:175px;
  max-height:46px;
  object-fit:contain;
}

.links{
  display:flex;
  align-items:center;
  gap:27px;
  font-size:14px;
  font-weight:700;
}

.links a:hover{
  color:var(--green-dark);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:14px;
  font-weight:700;
}

.nav-actions a:last-child{
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:12px;
}

/* HERO */

.country-top{
  position:relative;
  overflow:hidden;
  min-height:315px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(9,29,58,.96),rgba(17,49,83,.83)),
    radial-gradient(circle at 80% 20%,rgba(54,169,135,.45),transparent 35%);
  color:white;
}

.country-top:after{
  content:"";
  position:absolute;
  width:460px;
  height:460px;
  right:-100px;
  top:-160px;
  border-radius:50%;
  background:rgba(255,255,255,.05);
}

.country-top-inner{
  position:relative;
  z-index:2;
  padding:56px 0;
}

.country-titleline{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  color:#b9f1df;
}

.country-hero-flag{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:40px;
  background:white;
  border-radius:10px;
  font-size:30px;
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}

.country-top h1{
  margin:0;
  font-size:52px;
  line-height:1.05;
  letter-spacing:-.035em;
}

.country-top p{
  margin:18px 0 0;
  max-width:610px;
  font-size:18px;
  line-height:1.6;
  color:#e6edf6;
}

.country-benefits{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  margin-top:28px;
  font-size:14px;
  font-weight:700;
  color:#d9f7ec;
}

/* PRODUCTS */

.country-products{
  background:var(--bg);
  padding:58px 0 70px;
}

.plans-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:26px;
}

.eyebrow{
  display:block;
  color:var(--green-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:8px;
}

.plans-title-row h2{
  margin:0;
  font-size:34px;
  letter-spacing:-.025em;
}

.plans-title-row p{
  margin:9px 0 0;
  color:var(--muted);
  font-size:15px;
}

/* TABS */

.plan-tabs{
  display:flex;
  gap:10px;
  margin-bottom:28px;
}

.plan-tab{
  border:1px solid var(--line);
  background:white;
  color:var(--text);
  border-radius:999px;
  padding:12px 24px;
  cursor:pointer;
  font-weight:800;
  transition:.18s ease;
}

.plan-tab:hover{
  border-color:var(--green);
}

.plan-tab.active{
  color:white;
  background:var(--navy);
  border-color:var(--navy);
}

/* GRID */

.grid3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.card{
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.plan-card{
  padding:24px;
  display:flex;
  flex-direction:column;
  min-height:390px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.plan-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(16,33,63,.12);
}

.plan-card-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
}

.plan-card h3{
  margin:0;
  font-size:28px;
  letter-spacing:-.02em;
}

.plan-card-top p{
  margin:7px 0 0;
  color:var(--muted);
  font-size:15px;
  font-weight:700;
}

.plan-price{
  margin:25px 0 21px;
  font-size:32px;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--navy);
}

.plan-features{
  border-top:1px solid #edf1f5;
  padding-top:18px;
  margin-bottom:22px;
}

.plan-features p{
  margin:10px 0;
  color:#43536a;
  font-size:14px;
  line-height:1.4;
}

.plan-actions{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:10px;
  margin-top:auto;
}

.button{
  border:0;
  border-radius:11px;
  min-height:46px;
  padding:11px 14px;
  cursor:pointer;
  font-weight:800;
}

.plan-details{
  background:var(--mint);
  color:var(--green-dark);
}

.plan-buy{
  background:var(--green);
  color:white;
}

.plan-buy:hover{
  background:var(--green-dark);
}

/* STATUS */

.country-loading{
  padding:28px;
  margin-bottom:20px;
  border:1px dashed #cad5df;
  border-radius:14px;
  background:white;
  color:var(--muted);
  text-align:center;
}

/* TRUST */

.country-trust{
  padding:38px 0 54px;
  background:white;
}

.truststrip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.truststrip>div{
  padding:23px;
  border-right:1px solid var(--line);
}

.truststrip>div:last-child{
  border-right:0;
}

.truststrip b{
  display:block;
  margin-bottom:7px;
  font-size:15px;
}

.truststrip small{
  color:var(--muted);
  line-height:1.45;
}

/* TABLET */

@media(max-width:950px){

  .links{
    display:none;
  }

  .grid3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .truststrip{
    grid-template-columns:repeat(2,1fr);
  }

  .truststrip>div:nth-child(2){
    border-right:0;
  }

  .truststrip>div:nth-child(-n+2){
    border-bottom:1px solid var(--line);
  }
}

/* MOBILE */

@media(max-width:640px){

  .wrap{
    width:min(100% - 28px,1180px);
  }

  .nav{
    height:64px;
  }

  .brand img{
    width:145px;
  }

  .nav-actions a:first-child{
    display:none;
  }

  .nav-actions{
    font-size:12px;
  }

  .country-top{
    min-height:285px;
  }

  .country-top-inner{
    padding:42px 0;
  }

  .country-top h1{
    font-size:38px;
  }

  .country-top p{
    font-size:16px;
  }

  .country-benefits{
    gap:10px 18px;
    font-size:12px;
  }

  .country-products{
    padding:40px 0 50px;
  }

  .plans-title-row h2{
    font-size:28px;
  }

  .plan-tabs{
    width:100%;
  }

  .plan-tab{
    flex:1;
    padding:11px 10px;
  }

  .grid3{
    grid-template-columns:1fr;
  }

  .plan-card{
    min-height:350px;
  }

  .truststrip{
    grid-template-columns:1fr;
  }

  .truststrip>div{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .truststrip>div:last-child{
    border-bottom:0;
  }
}

/* =========================================================
   COMPACT PRODUCT-FIRST LAYOUT v2
   ========================================================= */

@media (min-width: 951px){

  /* Compact header */
  .nav{
    height:66px;
  }

  .brand img{
    width:165px;
  }

  /* Compact hero */
  .country-top{
    min-height:220px;
  }

  .country-top-inner{
    padding:34px 0 32px;
  }

  .country-titleline{
    margin-bottom:9px;
  }

  .country-hero-flag{
    width:46px;
    height:34px;
    font-size:25px;
  }

  .country-top h1{
    font-size:43px;
  }

  .country-top p{
    margin-top:10px;
    font-size:16px;
  }

  .country-benefits{
    margin-top:18px;
    gap:24px;
    font-size:13px;
  }

  /* Bring products up */
  .country-products{
    padding:30px 0 38px;
  }

  .plans-title-row{
    margin-bottom:15px;
  }

  .eyebrow{
    margin-bottom:4px;
  }

  .plans-title-row h2{
    font-size:29px;
  }

  .plans-title-row p{
    margin-top:5px;
  }

  .plan-tabs{
    margin-bottom:18px;
  }

  .plan-tab{
    padding:10px 22px;
  }

  /* Cards become wide compact rows */
  .grid3{
    grid-template-columns:1fr;
    gap:14px;
    max-width:900px;
  }

  .plan-card{
    min-height:0;
    padding:20px 22px;
    display:grid;
    grid-template-columns:
      minmax(150px,.75fr)
      minmax(260px,1.4fr)
      minmax(150px,.65fr);
    grid-template-areas:
      "main features price"
      "main features actions";
    align-items:center;
    column-gap:24px;
    row-gap:10px;
  }

  .plan-card-top{
    grid-area:main;
    display:block;
  }

  .plan-card h3{
    font-size:31px;
  }

  .plan-card-top p{
    font-size:15px;
    margin-top:5px;
  }

  .plan-price{
    grid-area:price;
    margin:0;
    text-align:right;
    font-size:31px;
  }

  .plan-features{
    grid-area:features;
    border-top:0;
    border-left:1px solid #edf1f5;
    padding:0 0 0 24px;
    margin:0;
  }

  .plan-features p{
    margin:6px 0;
  }

  .plan-actions{
    grid-area:actions;
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin:0;
  }

  .button{
    min-height:41px;
  }

  /* Trust section closer to plans */
  .country-trust{
    padding:22px 0 38px;
  }

  .truststrip>div{
    padding:18px;
  }
}


/* =========================================================
   PLAN SELECTOR + SELECTION PANEL v3
   ========================================================= */

.product-layout{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(340px,.85fr);
  gap:28px;
  align-items:start;
}

.plan-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.plan-option{
  width:100%;
  min-height:82px;
  display:grid;
  grid-template-columns:26px 1fr auto;
  align-items:center;
  gap:16px;
  padding:15px 20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:.16s ease;
}

.plan-option:hover{
  border-color:#9edac8;
  box-shadow:0 7px 20px rgba(16,33,63,.06);
}

.plan-option.selected{
  border-color:var(--green);
  background:linear-gradient(90deg,#f0fbf7,#ffffff);
  box-shadow:0 8px 24px rgba(54,169,135,.10);
}

.plan-radio{
  width:20px;
  height:20px;
  border:2px solid #ccd7e2;
  border-radius:50%;
  position:relative;
}

.plan-option.selected .plan-radio{
  border-color:var(--green);
  background:var(--green);
}

.plan-option.selected .plan-radio:after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:white;
  left:5px;
  top:5px;
}

.plan-option-main{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.plan-option-main strong{
  font-size:20px;
}

.plan-option-main small{
  color:var(--muted);
  font-size:14px;
}

.plan-option-price{
  font-size:21px;
  color:var(--navy);
}

/* RIGHT PANEL */

.selection-panel{
  position:sticky;
  top:88px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
}

.selection-label{
  margin-bottom:16px;
  color:var(--green-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.15em;
}

.selection-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}

.selection-head h3{
  margin:0;
  font-size:32px;
  letter-spacing:-.03em;
}

.selection-head p{
  margin:5px 0 0;
  color:var(--muted);
  font-weight:700;
}

.selection-price{
  font-size:31px;
  font-weight:900;
  color:var(--navy);
  white-space:nowrap;
}

.selection-info{
  margin:13px 0 19px;
}

.selection-info>div{
  display:grid;
  grid-template-columns:105px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #edf1f5;
  font-size:13px;
}

.selection-info b{
  color:var(--text);
}

.selection-info span{
  color:var(--muted);
  line-height:1.35;
}

.selection-buy,
.selection-details{
  width:100%;
  min-height:48px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}

.selection-buy{
  border:0;
  background:var(--green);
  color:#fff;
  font-size:16px;
}

.selection-buy:hover{
  background:var(--green-dark);
}

.selection-details{
  margin-top:9px;
  border:1px solid var(--green);
  background:#fff;
  color:var(--green-dark);
}

.selection-trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.selection-trust span{
  text-align:center;
  color:var(--muted);
  font-size:10px;
  font-weight:700;
}

/* Remove old card-grid behaviour */
.product-layout .grid3,
.product-layout .plan-list{
  max-width:none;
}

/* TABLET */

@media(max-width:900px){

  .product-layout{
    grid-template-columns:1fr;
  }

  .selection-panel{
    position:relative;
    top:auto;
  }
}

/* MOBILE */

@media(max-width:640px){

  .product-layout{
    gap:18px;
  }

  .plan-option{
    min-height:72px;
    padding:13px 14px;
    grid-template-columns:22px 1fr auto;
    gap:11px;
  }

  .plan-option-main strong{
    font-size:18px;
  }

  .plan-option-price{
    font-size:18px;
  }

  .selection-panel{
    padding:19px;
  }

  .selection-head h3{
    font-size:27px;
  }

  .selection-price{
    font-size:26px;
  }

  .selection-info>div{
    grid-template-columns:90px 1fr;
  }
}


/* =========================================================
   FINAL COUNTRY LAYOUT v4
   ========================================================= */

/* ---------- PRODUCT AREA ---------- */

.country-products{
  padding:24px 0 34px;
}

.plans-title-row{
  margin-bottom:12px;
}

.plans-title-row h2{
  margin:2px 0 3px;
}

.plan-tabs{
  margin:0 0 16px;
}

/*
  Critical alignment:
  product-layout starts AFTER tabs.
  Both columns therefore share exactly the same top line.
*/
.product-layout{
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(330px,.85fr);
  gap:24px;
  align-items:start;
}

.plan-list-column,
.selection-panel{
  margin:0 !important;
}

.selection-panel{
  position:sticky;
  top:78px;
  align-self:start;
}

/* compact plan rows */

.plan-list{
  gap:9px;
}

.plan-option{
  min-height:68px;
  padding:11px 17px;
  border-radius:13px;
}

.plan-option-main{
  gap:2px;
}

.plan-option-main strong{
  font-size:18px;
}

.plan-option-main small{
  font-size:12px;
}

.plan-option-price{
  font-size:19px;
}

/* compact selection panel */

.selection-panel{
  padding:18px 20px;
  border-radius:14px;
}

.selection-label{
  margin-bottom:9px;
  font-size:10px;
}

.selection-head{
  padding-bottom:11px;
}

.selection-head h3{
  font-size:27px;
}

.selection-head p{
  margin-top:2px;
  font-size:13px;
}

.selection-price{
  font-size:27px;
}

.selection-info{
  margin:7px 0 12px;
}

.selection-info>div{
  grid-template-columns:88px 1fr;
  padding:7px 0;
  font-size:12px;
}

.selection-buy,
.selection-details{
  min-height:40px;
}

.selection-trust{
  margin-top:11px;
  padding-top:11px;
}


/* ---------- COUNTRY INFORMATION ---------- */

.country-extra{
  padding:8px 0 56px;
  background:#f7f9fc;
}

.info-grid,
.technical-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:20px;
}

.info-card,
.technical-card{
  padding:22px;
  border:1px solid #dce5ee;
  border-radius:16px;
  background:#fff;
}

.info-card{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:15px;
}

.info-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#eefaf6;
  color:#27aa86;
  font-size:21px;
  font-weight:900;
}

.info-kicker{
  display:block;
  margin-bottom:5px;
  color:#278b70;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}

.info-card h3,
.technical-card h3{
  margin:0 0 7px;
  color:#10213f;
  font-size:19px;
}

.info-card p,
.technical-card p{
  margin:0;
  color:#64748b;
  line-height:1.55;
}

.info-link{
  display:inline-block;
  margin-top:11px;
  color:#16866c;
  font-weight:800;
  text-decoration:none;
}

.network-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}

.network-chips span{
  padding:6px 9px;
  border-radius:999px;
  background:#eef7f4;
  color:#315b52;
  font-size:11px;
  font-weight:800;
}


/* ---------- BROADER COVERAGE ---------- */

.broader-section,
.faq-section,
.country-guide{
  margin-top:38px;
}

.section-heading h2,
.country-guide h2{
  margin:3px 0 6px;
  color:#10213f;
  font-size:27px;
}

.section-heading p{
  margin:0;
  color:#64748b;
}

.broader-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
  margin-top:17px;
}

.broader-card{
  padding:18px;
  border:1px solid #dce5ee;
  border-radius:15px;
  background:#fff;
}

.broader-type{
  color:#278b70;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.broader-card h3{
  margin:7px 0 4px;
  color:#10213f;
  font-size:18px;
}

.broader-card p{
  margin:0;
  color:#64748b;
  font-size:12px;
}

.broader-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
}

.broader-bottom strong{
  color:#10213f;
  font-size:18px;
}

.broader-bottom button{
  border:1px solid #62b9a2;
  border-radius:9px;
  padding:8px 11px;
  background:#fff;
  color:#16866c;
  font-weight:800;
  cursor:pointer;
}


/* ---------- FAQ ---------- */

.faq-list{
  margin-top:15px;
  border-top:1px solid #dce5ee;
}

.faq-list details{
  border-bottom:1px solid #dce5ee;
  background:#fff;
}

.faq-list summary{
  padding:16px 18px;
  color:#10213f;
  font-weight:800;
  cursor:pointer;
}

.faq-list details p{
  margin:0;
  padding:0 18px 17px;
  color:#64748b;
  line-height:1.6;
}


/* ---------- COUNTRY GUIDE ---------- */

.country-guide{
  padding:25px;
  border:1px solid #dce5ee;
  border-radius:17px;
  background:#fff;
}

.country-guide-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  margin-top:13px;
}

.country-guide-grid p{
  margin:0;
  color:#64748b;
  line-height:1.65;
}


/* ---------- RESPONSIVE ---------- */

@media(max-width:950px){

  .product-layout,
  .info-grid,
  .technical-grid,
  .country-guide-grid{
    grid-template-columns:1fr;
  }

  .selection-panel{
    position:relative;
    top:auto;
  }

  .broader-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){

  .country-products{
    padding-top:18px;
  }

  .broader-grid{
    grid-template-columns:1fr;
  }

  .info-card{
    grid-template-columns:36px 1fr;
  }

  .info-icon{
    width:36px;
    height:36px;
  }
}


/* =========================================================
   FINAL COUNTRY HERO v1
   New assets only
   ========================================================= */

.country-top{
  position:relative;
  min-height:220px;
  overflow:visible;
  background:
    linear-gradient(105deg,#0d2346 0%,#0b3157 47%,#08758a 58%,#08758a 100%);
}

/* Berlin image — right side */
.country-photo{
  position:absolute;
  z-index:1;
  top:0;
  right:0;
  width:53%;
  height:220px;

  background-image:url("assets/countries/de/hero.jpg");
  background-size:cover;
  background-position:center;

  /*
    Right edge finishes exactly with hero.
    Only the diagonal left point extends 28px below.
  */
  clip-path:polygon(
    15% 0,
    100% 0,
    100% 100%,
    15% 100%,
    10% calc(100% + 28px),
    0 100%
  );
}

/* subtle dark blend between text and image */
.country-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(8,35,70,.40) 0%,
    rgba(8,35,70,.08) 30%,
    transparent 55%
  );
}

.country-top-inner{
  position:relative;
  z-index:2;
  min-height:220px;
  padding:27px 0 25px;
}

.country-titleline{
  position:relative;
  z-index:3;
}

/* Real static flag */
.country-hero-flag{
  width:56px;
  height:38px;
  padding:0;
  overflow:hidden;
  border:2px solid rgba(255,255,255,.92);
  border-radius:9px;
  background:#fff;
  box-shadow:0 5px 15px rgba(0,0,0,.18);
}

.country-hero-flag img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* keep hero copy away from image */
.country-top-inner > *{
  max-width:54%;
}

.country-top h1{
  margin:10px 0 8px;
  font-size:43px;
  line-height:1.02;
}

.country-top p{
  margin:0;
  max-width:570px;
  font-size:16px;
}

.country-hero-benefits{
  margin-top:20px;
  gap:26px;
}

/* Pull plans closer to hero */
.country-products{
  padding-top:20px;
}

/* Mobile: image becomes background-style panel */
@media(max-width:850px){

  .country-top{
    overflow:hidden;
    min-height:310px;
  }

  .country-photo{
    width:100%;
    height:100%;
    opacity:.25;
    clip-path:none;
  }

  .country-photo::before{
    background:rgba(7,28,58,.30);
  }

  .country-top-inner{
    min-height:310px;
    padding:34px 0;
  }

  .country-top-inner > *{
    max-width:100%;
  }
}


 Γ¢à∩╕Å wrangler 4.135.0
ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ


/* =========================================================
   GERMANY PILOT - COMPACT FINAL LAYOUT v2
   ========================================================= */

/* HERO / TOP BANNER: ~25% shorter */
.country-top{
  min-height:165px !important;
}

.country-top-inner{
  min-height:165px !important;
  padding:18px 0 16px !important;
}

.country-photo{
  height:165px !important;

  /* Show more of the photograph */
  background-size:100% auto !important;
  background-repeat:no-repeat !important;
  background-position:center 46% !important;
}

.country-top h1{
  margin:6px 0 6px !important;
  font-size:38px !important;
}

.country-top p{
  font-size:15px !important;
}

.country-hero-benefits{
  margin-top:13px !important;
  gap:24px !important;
}

.country-hero-flag{
  width:50px !important;
  height:34px !important;
}


/* PLANS - bring them upward */
.country-products{
  padding-top:16px !important;
  padding-bottom:20px !important;
}

.plans-title-row{
  margin-bottom:9px !important;
}

.plan-tabs{
  margin-bottom:13px !important;
}


/* TRUST STRIP - compact */
.truststrip{
  margin-top:16px !important;
}

.truststrip > div{
  min-height:70px !important;
  padding:12px 18px !important;
}


/* EXTRA INFORMATION - reduce vertical length */
.country-extra{
  padding-top:4px !important;
  padding-bottom:32px !important;
}

.info-grid,
.technical-grid{
  gap:14px !important;
  margin-top:14px !important;
}

.info-card,
.technical-card{
  padding:17px 18px !important;
}

.info-card{
  grid-template-columns:36px 1fr !important;
  gap:12px !important;
}

.info-icon{
  width:36px !important;
  height:36px !important;
  font-size:18px !important;
}

.info-card h3,
.technical-card h3{
  margin-bottom:4px !important;
  font-size:17px !important;
}

.info-card p,
.technical-card p{
  font-size:13px !important;
  line-height:1.42 !important;
}

.network-chips{
  margin-top:8px !important;
}


/* FAQ / BROADER / GUIDE - tighter */
.broader-section,
.faq-section,
.country-guide{
  margin-top:24px !important;
}

.faq-list{
  margin-top:10px !important;
}

.faq-list summary{
  padding:12px 15px !important;
}

.faq-list details p{
  padding:0 15px 13px !important;
}

.country-guide{
  padding:19px !important;
}

.country-guide-grid{
  gap:20px !important;
  margin-top:9px !important;
}

.country-guide-grid p{
  font-size:13px !important;
  line-height:1.5 !important;
}


/* Desktop: three information cards on one row */
@media(min-width:951px){
  .country-extra .info-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .country-extra .technical-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* Mobile keeps comfortable spacing */
@media(max-width:850px){
  .country-top{
    min-height:270px !important;
  }

  .country-top-inner{
    min-height:270px !important;
    padding:28px 0 !important;
  }

  .country-photo{
    height:100% !important;
    background-size:cover !important;
  }
}


/* =========================================================
   COMPACT INFORMATION ROW v1
   ========================================================= */

@media(min-width:951px){

  /* Networks + Compatibility already share info-grid */
  .country-extra .info-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  /*
    Activation/FUP stays compact.
    When FUP is hidden, Activation does not become oversized.
  */
  .country-extra .technical-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
    margin-top:14px !important;
  }

  .technical-card:only-child{
    max-width:calc(50% - 7px);
  }

  /* Remove unnecessary empty vertical space */
  .country-extra{
    padding-top:0 !important;
  }

  .info-card,
  .technical-card{
    min-height:0 !important;
  }
}


/* =========================================================
   THREE-CARD INFORMATION ROW
   ========================================================= */

@media(min-width:951px){

  .compact-info-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  .compact-info-grid .info-card{
    min-height:145px !important;
  }
}

.fup-strip{
  margin-top:12px;
  padding:13px 18px;
  display:grid;
  grid-template-columns:190px 1fr;
  align-items:center;
  gap:18px;
  border:1px solid #dce5ee;
  border-radius:13px;
  background:#fff;
}

.fup-strip[hidden]{
  display:none !important;
}

.fup-strip strong{
  color:#10213f;
  font-size:15px;
}

.fup-strip p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.4;
}

@media(max-width:950px){

  .compact-info-grid{
    grid-template-columns:1fr !important;
  }

  .fup-strip{
    grid-template-columns:1fr;
    gap:5px;
  }
}


/* =========================================================
   GERMANY PILOT - APPROVED COMPACT LAYOUT v3
   ========================================================= */

/* Banner: current 165px -> approx 140px */
.country-top{
  min-height:140px !important;
}

.country-top-inner{
  min-height:140px !important;
  padding:13px 0 12px !important;
}

.country-photo{
  height:140px !important;
}

.country-top h1{
  margin:4px 0 4px !important;
  font-size:34px !important;
}

.country-top p{
  font-size:14px !important;
}

.country-hero-benefits{
  margin-top:10px !important;
  gap:22px !important;
  font-size:13px !important;
}

.country-hero-flag{
  width:46px !important;
  height:31px !important;
}


/* Plans section closer to banner */
.country-products{
  padding-top:12px !important;
}


/* Heading + tabs on same horizontal row */
.plans-title-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  grid-template-areas:
    "copy tabs" !important;
  align-items:end !important;
  gap:24px !important;
  margin-bottom:12px !important;
}

.plans-title-row > div:first-child{
  grid-area:copy !important;
}

.plan-tabs{
  grid-area:tabs !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
  padding-bottom:2px !important;
}

.plan-tab{
  min-height:42px !important;
  padding:9px 23px !important;
}


/* Product list and selection panel start together */
.product-layout{
  align-items:start !important;
  gap:24px !important;
}

.plan-list-column,
.selection-panel{
  margin-top:0 !important;
}


/* Keep information area compact */
.country-trust{
  margin-top:14px !important;
}

.country-extra{
  padding-top:0 !important;
}

.compact-info-grid{
  margin-top:12px !important;
}


/* Desktop */
@media(min-width:951px){
  .compact-info-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}


/* Mobile: title and tabs return to stacked layout */
@media(max-width:850px){

  .country-top{
    min-height:250px !important;
  }

  .country-top-inner{
    min-height:250px !important;
    padding:25px 0 !important;
  }

  .country-photo{
    height:100% !important;
  }

  .plans-title-row{
    display:block !important;
  }

  .plan-tabs{
    margin-top:12px !important;
  }
}


/* FINAL FLAG - NO WHITE FRAME */
.country-hero-flag{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:4px !important;
  overflow:hidden !important;
}

.country-hero-flag img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:4px !important;
}


/* =========================================================
   LOCKED RESPONSIVE COUNTRY LAYOUT
   ========================================================= */

/* Tablet / narrow desktop */
@media (max-width:950px){

  .product-layout{
    grid-template-columns:1fr !important;
    gap:0 !important;
  }

  /* Do NOT push the large selection card below the plans */
  .selection-panel{
    display:none !important;
  }

  .plan-option{
    width:100% !important;
  }
}


/* Phone */
@media (max-width:600px){

  .wrap{
    width:calc(100% - 28px) !important;
  }

  /* compact banner */
  .country-top{
    min-height:205px !important;
  }

  .country-top-inner{
    min-height:205px !important;
    padding:20px 0 !important;
  }

  .country-top h1{
    font-size:30px !important;
  }

  .country-top p{
    font-size:13px !important;
  }

  .country-hero-benefits{
    gap:10px !important;
    flex-wrap:wrap !important;
    font-size:11px !important;
  }

  /* title + tabs stack cleanly */
  .plans-title-row{
    display:block !important;
  }

  .plan-tabs{
    margin-top:10px !important;
    width:100% !important;
  }

  .plan-tab{
    flex:1 !important;
    padding:9px 10px !important;
    min-width:0 !important;
  }

  /* selected 1GB / €5 row becomes compact */
  .plan-option{
    min-height:58px !important;
    padding:9px 12px !important;
  }

  .plan-option-main strong{
    font-size:16px !important;
  }

  .plan-option-main small{
    font-size:11px !important;
  }

  .plan-option-price{
    font-size:17px !important;
    white-space:nowrap !important;
  }

  /* no horizontal overflow */
  .country-products,
  .product-layout,
  .plan-list-column,
  .plan-list{
    min-width:0 !important;
    max-width:100% !important;
  }

  body{
    overflow-x:hidden !important;
  }

  /* information cards stack normally */
  .compact-info-grid{
    grid-template-columns:1fr !important;
  }
}


/* =========================================================
   FINAL RESPONSIVE FIX
   Keep plan + Your Selection visible side-by-side
   Desktop layout remains unchanged
   ========================================================= */

/* Narrow desktop / tablet */
@media (min-width:601px) and (max-width:950px){

  .product-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(285px,36%) !important;
    gap:12px !important;
    align-items:start !important;
  }

  /* Never hide Your Selection */
  .selection-panel{
    display:block !important;
    position:relative !important;
    top:auto !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:15px 16px !important;
  }

  /* Left 1 GB / 7 Days / €5 row shrinks instead */
  .plan-list-column,
  .plan-list{
    width:100% !important;
    min-width:0 !important;
  }

  .plan-option{
    width:100% !important;
    min-width:0 !important;
    padding:10px 13px !important;
  }

  .plan-option-main{
    min-width:0 !important;
  }

  .plan-option-price{
    flex:0 0 auto !important;
    margin-left:10px !important;
    white-space:nowrap !important;
  }

  /* Compact selection typography as width decreases */
  .selection-head h3,
  .selection-price{
    font-size:23px !important;
  }

  .selection-info > div{
    grid-template-columns:78px minmax(0,1fr) !important;
    gap:7px !important;
  }
}


/* Phone: keep both columns until very narrow */
@media (max-width:600px){

  .product-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(190px,43%) !important;
    gap:8px !important;
    align-items:start !important;
  }

  .selection-panel{
    display:block !important;
    position:relative !important;
    top:auto !important;
    width:100% !important;
    min-width:0 !important;
    padding:11px !important;
  }

  .plan-list-column,
  .plan-list,
  .plan-option{
    min-width:0 !important;
    width:100% !important;
  }

  .plan-option{
    padding:8px 9px !important;
  }

  .plan-radio{
    flex:0 0 auto !important;
  }

  .plan-option-main strong{
    font-size:14px !important;
  }

  .plan-option-main small{
    font-size:10px !important;
  }

  .plan-option-price{
    font-size:14px !important;
    margin-left:5px !important;
    white-space:nowrap !important;
  }

  .selection-label{
    font-size:8px !important;
  }

  .selection-head h3,
  .selection-price{
    font-size:19px !important;
  }

  .selection-head p{
    font-size:10px !important;
  }

  .selection-info > div{
    grid-template-columns:55px minmax(0,1fr) !important;
    gap:4px !important;
    padding:5px 0 !important;
    font-size:10px !important;
  }

  .selection-buy,
  .selection-details{
    min-height:35px !important;
    font-size:12px !important;
  }
}


/* =========================================================
   FINAL TAB POSITION LOCK
   Tabs keep their size and follow the right column
   ========================================================= */

@media (max-width:950px){

  .plans-title-row{
    display:grid !important;

    /* SAME COLUMN LOGIC AS PRODUCT LAYOUT */
    grid-template-columns:minmax(0,1fr) minmax(285px,36%) !important;

    grid-template-areas:"copy tabs" !important;
    column-gap:12px !important;
    align-items:end !important;
    margin-bottom:12px !important;
  }

  .plans-title-row > div:first-child{
    grid-area:copy !important;
    min-width:0 !important;
  }

  .plan-tabs{
    grid-area:tabs !important;
    display:flex !important;
    flex-wrap:nowrap !important;

    /* align tabs with left edge of Your Selection */
    justify-content:flex-start !important;

    width:max-content !important;
    min-width:max-content !important;

    margin:0 !important;
    padding:0 0 2px 0 !important;
    gap:8px !important;
  }

  /* KEEP BUTTON SIZE */
  .plan-tab{
    flex:none !important;
    min-width:auto !important;
    min-height:42px !important;
    padding:9px 23px !important;
    font-size:14px !important;
    white-space:nowrap !important;
  }
}


/* PHONE / VERY NARROW:
   still keep button dimensions; move the whole group left */
@media (max-width:600px){

  .plans-title-row{
    grid-template-columns:minmax(0,1fr) minmax(190px,43%) !important;
    column-gap:8px !important;
  }

  .plan-tabs{
    width:max-content !important;
    min-width:max-content !important;
  }

  .plan-tab{
    flex:none !important;
    min-height:42px !important;
    padding:9px 23px !important;
    font-size:14px !important;
  }
}


/* =========================================================
   FINAL PLAN TABS POSITION
   Start immediately after Germany eSIM Plans
   ========================================================= */

.plans-title-row{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:flex-start !important;
  gap:28px !important;
}

.plans-title-row > div:first-child{
  flex:0 1 auto !important;
}

.plan-tabs{
  display:flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:max-content !important;
  margin:0 0 3px 0 !important;
  padding:0 !important;
  gap:8px !important;
}

.plan-tab{
  flex:none !important;
  min-height:42px !important;
  padding:9px 23px !important;
  font-size:14px !important;
  white-space:nowrap !important;
}

/* Narrow screens: close the gap, do not shrink buttons */
@media(max-width:950px){
  .plans-title-row{
    display:flex !important;
    gap:14px !important;
  }

  .plan-tabs{
    margin-left:0 !important;
  }
}


/* UNLIMITED TIER SELECTOR */

.unlimited-tier-tabs{
  display:flex;
  gap:7px;
  margin:0 0 12px 0;
}

.unlimited-tier-tabs[hidden]{
  display:none !important;
}

.tier-tab{
  border:1px solid #dce5ee;
  background:#fff;
  color:#10213f;
  border-radius:999px;
  padding:7px 17px;
  font-weight:700;
  cursor:pointer;
}

.tier-tab.active{
  background:#10213f;
  border-color:#10213f;
  color:#fff;
}


/* =========================================================
   FIX: HIDE FUP ROWS FOR FIXED DATA PLANS
   ========================================================= */

.selection-info > div[hidden]{
  display:none !important;
}

#selectedHighSpeedRow[hidden],
#selectedAfterRow[hidden]{
  display:none !important;
}


/* =========================================================
   PRODUCT DETAILS MODAL
   ========================================================= */

.product-details-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.product-details-modal[hidden]{
  display:none !important;
}

.product-details-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,20,42,.55);
  backdrop-filter:blur(4px);
}

.product-details-dialog{
  position:relative;
  z-index:1;
  width:min(520px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  background:#fff;
  border:1px solid #dce5ee;
  border-radius:18px;
  padding:26px;
  box-shadow:0 24px 70px rgba(16,33,63,.22);
}

.details-close{
  position:absolute;
  top:13px;
  right:15px;
  border:0;
  background:transparent;
  color:#64748b;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.details-kicker{
  color:#438d78;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
}

.details-heading{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin:8px 0 18px;
}

.details-heading h2{
  margin:0 0 4px;
  color:#10213f;
  font-size:28px;
}

.details-heading p{
  margin:0;
  color:#64748b;
}

#detailsPrice{
  color:#10213f;
  font-size:26px;
  white-space:nowrap;
}

.details-rows{
  border-top:1px solid #e4eaf0;
}

.details-rows > div{
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:14px;
  padding:10px 0;
  border-bottom:1px solid #e4eaf0;
  font-size:13px;
}

.details-rows b{
  color:#10213f;
}

.details-rows span{
  color:#64748b;
}

.details-fup{
  margin-top:16px;
  padding:15px 16px;
  border-radius:13px;
  background:#f0fbf7;
  border:1px solid #bfe6d8;
}

.details-fup[hidden]{
  display:none !important;
}

.details-fup span{
  display:block;
  color:#438d78;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}

.details-fup strong{
  display:block;
  margin-top:4px;
  color:#10213f;
}

.details-fup p{
  margin:5px 0 0;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}

.details-buy{
  width:100%;
  margin-top:18px;
  min-height:46px;
  border:0;
  border-radius:11px;
  background:#69ad91;
  color:#fff;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}

body.details-open{
  overflow:hidden;
}


/* =========================================================
   UNLIMITED TIER ALIGNMENT - FINAL
   Lite starts directly below Unlimited Plans
   ========================================================= */

.unlimited-tier-tabs{
  display:flex !important;
  width:max-content !important;
  gap:7px !important;

  /* Data Plans width + gap:
     140px button + 8px gap */
  margin-left:148px !important;
  margin-top:4px !important;
  margin-bottom:12px !important;
}

.unlimited-tier-tabs[hidden]{
  display:none !important;
}

.tier-tab{
  flex:none !important;
  white-space:nowrap !important;
}

/* Keep same alignment when browser becomes narrower */
@media(max-width:950px){
  .unlimited-tier-tabs{
    margin-left:148px !important;
  }
}


/* =========================================================
   INLINE UNLIMITED TIER DRAWER
   Unlimited -> Lite -> Essential -> Plus
   ========================================================= */

.plan-tabs{
  display:flex !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  overflow:visible !important;
}

.plan-tabs .unlimited-tier-tabs{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;

  /* cancel previous positioning */
  margin:0 0 0 0 !important;
  width:auto !important;
  min-width:0 !important;

  opacity:0;
  transform:translateX(-18px);
  max-width:0;
  overflow:hidden;

  transition:
    max-width .22s ease,
    opacity .18s ease,
    transform .22s ease,
    margin-left .22s ease;
}

.plan-tabs .unlimited-tier-tabs[hidden]{
  display:none !important;
}

.plan-tabs .unlimited-tier-tabs.tier-drawer-open{
  max-width:360px;
  opacity:1;
  transform:translateX(0);
  margin-left:8px !important;
  overflow:visible;
}

.plan-tabs .tier-tab{
  flex:none !important;
  min-height:38px !important;
  padding:7px 16px !important;
  white-space:nowrap !important;
  border-radius:999px !important;
}


/* Previous offset mechanism no longer applies */
.plan-tabs .unlimited-tier-tabs{
  --tier-offset:0px !important;
}


/* Narrow browser: preserve one horizontal row */
@media(max-width:950px){

  .plans-title-row{
    min-width:0 !important;
  }

  .plan-tabs{
    min-width:0 !important;
  }

  .plan-tabs .unlimited-tier-tabs.tier-drawer-open{
    max-width:330px;
  }

}


/* =========================================================
   FINAL UNLIMITED DRAWER ANIMATION
   ========================================================= */

.plan-tabs .unlimited-tier-tabs{
  position:relative !important;
  isolation:isolate;

  opacity:0;
  transform:translateX(-28px) scaleX(.92);
  transform-origin:left center;

  max-width:0;
  margin-left:0 !important;
  overflow:hidden;

  transition:
    max-width .48s cubic-bezier(.22,.61,.36,1),
    opacity .34s ease,
    transform .48s cubic-bezier(.22,.61,.36,1),
    margin-left .48s ease !important;
}

/* thin red connecting line */
.plan-tabs .unlimited-tier-tabs::before{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  top:50%;
  height:1px;
  background:#d94b4b;
  transform:translateY(-50%);
  z-index:-1;
  opacity:.75;
}

.plan-tabs .unlimited-tier-tabs.tier-drawer-open{
  max-width:380px !important;
  opacity:1;
  transform:translateX(0) scaleX(1);
  margin-left:9px !important;
  overflow:visible;
}

/* buttons stay above the connecting line */
.plan-tabs .tier-tab{
  position:relative;
  z-index:1;
  background:#fff;
}

/* selected tier keeps existing dark appearance */
.plan-tabs .tier-tab.active{
  background:#10213f;
}

/* Closing state must remain visible during animation */
.plan-tabs .unlimited-tier-tabs.tier-drawer-closing{
  display:flex !important;
  max-width:0 !important;
  opacity:0 !important;
  transform:translateX(-28px) scaleX(.92) !important;
  margin-left:0 !important;
  overflow:hidden !important;
}


/* =========================================================
   UNLIMITED DRAWER - CONNECT ALL FOUR BUTTONS
   ========================================================= */

/* Red connector from Unlimited Plans into tier drawer */
#unlimitedTab{
  position:relative !important;
  z-index:2 !important;
}

/* short bridge from Unlimited Plans to Lite */
#unlimitedTab::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:100%;
  top:50%;
  width:18px;
  height:1px;
  background:#d94b4b;
  transform:translateY(-50%) scaleX(0);
  transform-origin:left center;
  opacity:0;

  transition:
    transform .48s cubic-bezier(.22,.61,.36,1),
    opacity .34s ease;
}

/* bridge becomes visible while drawer is open */
.plan-tabs:has(.tier-drawer-open) #unlimitedTab::after{
  transform:translateY(-50%) scaleX(1);
  opacity:.75;
}

/* keep Lite-Essential-Plus connector perfectly centered */
.plan-tabs .unlimited-tier-tabs::before{
  left:-9px !important;
  right:8px !important;
  top:50% !important;
  height:1px !important;
  background:#d94b4b !important;
  opacity:.75 !important;
}


/* COUNTRY ENGINE - HERO IS SET DYNAMICALLY BY COUNTRY CODE */
.country-photo{
  background-image:none !important;
}

