:root{
  --bg:#0b1220;
  --text:#eef3ff;
  --muted:rgba(238,243,255,.72);
  --muted2:rgba(238,243,255,.56);
  --line:rgba(238,243,255,.12);

  --accent:#00b4d8;
  --accent2:#ff8f0f;
  --good:#35d07f;

  --shadow:0 20px 70px rgba(0,0,0,.40);
  --radius:24px;
  --radius2:16px;

  --img-bright: 1.00;
  --img-contrast: 1.06;
  --img-sat: 1.04;
  --img-overlay-opacity: .22;

  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 450px at 14% 10%, rgba(0,180,216,.20), transparent 60%),
    radial-gradient(900px 450px at 84% 16%, rgba(255,143,15,.16), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(53,208,127,.10), transparent 60%),
    linear-gradient(180deg, #070b14 0%, var(--bg) 40%, #070b14 100%);
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:26px 18px 70px;}

/* Topbar */
.topbar{
  position: sticky;
  top: 12px;
  z-index: 100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  flex-wrap:wrap;

  padding: 10px 10px;
  border-radius: 22px;
  background: rgba(11,18,32,.35);
  border: 1px solid rgba(238,243,255,.10);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);

  overflow: visible;

  transition: padding 180ms ease, gap 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* Shrink header once user scrolls */
html.ra-scrolled .topbar{
  padding: 6px 8px;
  gap: 10px;
  background: rgba(11,18,32,.55);
  border-color: rgba(238,243,255,.14);
  box-shadow: 0 18px 55px rgba(0,0,0,.24);
}

html.ra-scrolled .logo{width:30px; height:30px; border-radius:11px;}
html.ra-scrolled .brand h1{font-size:13px;}
html.ra-scrolled .brand .sub{font-size:11px;}
html.ra-scrolled .menu{padding:6px; gap:6px;}
html.ra-scrolled .menu a{font-size:11px; padding:6px 9px;}
html.ra-scrolled .lang{padding:6px 8px;}

@media (max-width: 760px){
  .topbar{top: 10px;}
}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.logo{
  width:36px; height:36px; border-radius:13px;
  background-image:
    url("https://reiseathleten.de/wp-content/uploads/Reiseathleten-Favicon-240x240-transparent.png"),
    linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95));
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 78% 78%, cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  flex:0 0 auto;

  transition: width 180ms ease, height 180ms ease, border-radius 180ms ease;
}

@media (prefers-color-scheme: dark){
  .logo{
    background-image:
      url("https://reiseathleten.de/wp-content/uploads/B%C3%A4r-transparent-gro%C3%9F-wei%C3%9F-e1590490215833.png"),
      linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95));
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 78% 78%, cover;
  }
}
.brand .name{display:flex; flex-direction:column; gap:2px; min-width:0}
.brand h1{margin:0; font-size:14px; letter-spacing:.14em; text-transform:uppercase; opacity:.92; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition: font-size 180ms ease;}
.brand .sub{font-size:12px; color:var(--muted); line-height:1.4; transition: font-size 180ms ease;}

.lang{
  display:flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius:999px;
  padding:8px 10px;
  backdrop-filter: blur(10px);
}
.lang{transition: padding 180ms ease;}
.lang label{font-size:12px; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; display:none;}
.lang select{background:transparent; color:var(--text); border:0; outline:0; font-weight:800; letter-spacing:.02em; cursor:pointer;}
.lang option{color:#0b1220}

.lang-btn{
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(238,243,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(238,243,255,.92);
  cursor:pointer;
  font-weight:950;
  letter-spacing:.06em;
}
.lang-btn:focus{outline:none; border-color: rgba(0,180,216,.55); box-shadow: 0 0 0 5px rgba(0,180,216,.14)}

.lang-menu{
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  width: 120px;
  border-radius: 16px;
  border: 1px solid rgba(238,243,255,.14);
  background: rgba(11,18,32,.92);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  overflow:hidden;
  z-index: 220;

  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height 360ms cubic-bezier(.2,.9,.2,1), opacity 240ms ease, transform 240ms ease;
}
.lang-menu.is-open{
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu button{
  width:100%;
  text-align:left;
  padding:10px 12px;
  background: transparent;
  border:0;
  color: rgba(238,243,255,.92);
  font-weight:950;
  letter-spacing:.08em;
  cursor:pointer;
}
.lang-menu button:hover{background: rgba(255,255,255,.06)}
.lang-menu button[aria-current="true"]{background: linear-gradient(135deg, rgba(0,180,216,.35), rgba(255,143,15,.22));}

.menu{
  display:flex; flex-wrap:wrap; gap:8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius:999px;
  padding:8px;
  backdrop-filter: blur(10px);
}
.menu{transition: padding 180ms ease, gap 180ms ease;}
.menu a{
  text-decoration:none;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:950;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  color: rgba(238,243,255,.86);
}
.menu a{transition: padding 180ms ease, font-size 180ms ease;}
.menu a:hover{background: rgba(255,255,255,.06); border-color: rgba(238,243,255,.14)}
.menu a.active{background: linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95)); color:#061018; border-color: transparent;}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: rgba(238,243,255,.92);
  cursor:pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  font-weight:950;
  font-size:18px;
}
.menu-toggle:focus{outline:none; border-color: rgba(0,180,216,.55); box-shadow: 0 0 0 5px rgba(0,180,216,.14)}

@media (max-width: 760px){
  .topbar{flex-wrap:wrap; position: sticky;}
  .menu-toggle{display:inline-flex;}

  .menu{
    display:flex;
    position:absolute;
    left:10px;
    right:10px;
    top: calc(100% + 10px);
    z-index: 160;
    border-radius: 22px;
    padding:10px;
    flex-direction:column;
    gap:6px;

    background: rgba(11,18,32,.92);
    border-color: rgba(238,243,255,.14);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);

    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    overflow: hidden;
    transition: max-height 420ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease, transform 260ms ease;
  }
  .menu.is-open{
    max-height: 560px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .menu a{width:100%; text-align:left;}

  /* On mobile we use the custom button; avoid a double "pill" by making the wrapper neutral */
  .lang{position:relative; z-index: 170; background: transparent; border: 0; padding: 0; backdrop-filter: none;}
  .lang select{display:none;}
  .lang-btn{display:inline-flex;}
}

@media (prefers-reduced-motion: reduce){
  .menu,
  .lang-menu{transition:none; transform:none;}
}

/* Hero */
.hero{
  position:relative;
  border-radius: 28px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.hero img{width:100%; height:520px; object-fit:cover; display:block; position:relative; z-index:0; filter:saturate(var(--img-sat)) contrast(var(--img-contrast)) brightness(var(--img-bright));}
@media (max-width: 760px){.hero img{height:520px}}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,180,216,.18), rgba(255,143,15,.12));
  opacity: var(--img-overlay-opacity);
  pointer-events:none;
  z-index:1;
}
.hero::after{content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.82));}
.hero-content{position:absolute; inset:auto 22px 22px 22px; z-index:2;}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95));
  color:#071019;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
  box-shadow: 0 16px 36px rgba(0,0,0,.25);
}
.hero h2{margin:14px 0 10px; font-size:44px; line-height:1.08; letter-spacing:-.02em; max-width: 22ch;}
.hero p{margin:0; color:rgba(238,243,255,.88); font-size:16px; line-height:1.75; max-width: 78ch;}
@media (max-width: 760px){.hero-content{inset:auto 16px 16px 16px} .hero h2{font-size:34px} .hero p{font-size:15px}}

/* Buttons */
.btns{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(238,243,255,.18);
  background: rgba(255,255,255,.08);
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  backdrop-filter: blur(10px);
}
.btn.primary{background: linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95)); border:0; color:#061018; box-shadow: 0 14px 34px rgba(0,0,0,.25);}

/* Section blocks */
.section-title{display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin:26px 0 14px; flex-wrap:wrap}
.section-title h3{margin:0; font-size:22px; letter-spacing:-.01em;}
.section-title .hint{font-size:12px; color:var(--muted); line-height:1.5;}

/* Gallery */
.gallery{display:grid; grid-template-columns: repeat(12, 1fr); gap:12px;}
.g{position:relative; border-radius: 18px; overflow:hidden; border:1px solid var(--line); background: rgba(255,255,255,.03); min-height:160px;}
.g img{width:100%; height:100%; object-fit:cover; display:block; position:relative; z-index:0; transform: scale(1.02); filter:saturate(var(--img-sat)) contrast(var(--img-contrast)) brightness(var(--img-bright));}
.g.room-shot img{transform:none; object-position: 50% 40%;}
.g.cf-shot img{transform:none; object-position: 38% 50%;}
.g::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,180,216,.18), rgba(255,143,15,.12));
  opacity: var(--img-overlay-opacity);
  pointer-events:none;
  z-index:1;
}
.g::after{content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55)); opacity:.9; pointer-events:none;}
.g .cap{position:absolute; left:12px; right:12px; bottom:10px; font-size:12px; color:rgba(238,243,255,.92); display:flex; justify-content:space-between; gap:10px; z-index:2;}
.cap span{opacity:.88}
.cap strong{font-weight:900}
.span-6{grid-column: span 6;}
.span-4{grid-column: span 4;}
.span-3{grid-column: span 3;}
@media (max-width: 980px){.span-6,.span-4{grid-column: span 12;} .span-3{grid-column: span 6;}}
@media (max-width: 520px){.span-3{grid-column: span 12;}}

/* Included icons grid */
.icon-list{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:12px;}
.icon-item{display:flex; gap:14px; align-items:flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--line); padding:16px 16px; border-radius: 18px; box-shadow: 0 14px 44px rgba(0,0,0,.20);}
.icon{width:40px; height:40px; border-radius:14px; display:grid; place-items:center; background: rgba(0,0,0,.18); border:1px solid rgba(238,243,255,.10); flex:0 0 auto; font-size:20px;}
.icon-item strong{display:block; font-size:14px; font-weight:900; margin-top:1px}
.icon-item span{display:block; font-size:13px; color:var(--muted); line-height:1.55; margin-top:4px}

/* Cards + tables */
.grid{margin-top:10px; display:grid; grid-template-columns: 1fr; gap:16px;}
.offer-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 980px){ .offer-grid{grid-template-columns:1fr} }
.card{border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(0,0,0,.24); overflow:hidden;}
.card .hd{padding:18px 18px 12px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; background: linear-gradient(135deg, rgba(0,180,216,.12), rgba(255,143,15,.06)); border-bottom:1px solid var(--line);}
.card .hd h4{margin:0; font-size:15px; letter-spacing:.02em}
.card .hd .tag{font-size:12px; color:rgba(238,243,255,.88); padding:6px 10px; border-radius:999px; border:1px solid rgba(238,243,255,.18); background: rgba(0,0,0,.18); white-space:nowrap; font-variant-numeric: tabular-nums;}
.card .bd{padding:16px 18px 18px}

/* Mallorca-style offer configurator (reused across destinations) */
.config{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.14);
  padding:14px 12px 12px;
  margin-bottom:14px;
}
.field{display:flex; flex-direction:column; gap:6px}
.field label{font-size:11px; color:var(--muted2); letter-spacing:.10em; text-transform:uppercase}
.ctrl{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(238,243,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:11px 12px;
  outline:none;
  font-weight:850;
  letter-spacing:.01em;
}
.ctrl:focus{border-color: rgba(0,180,216,.55); box-shadow: 0 0 0 4px rgba(0,180,216,.12);}
.row2{display:grid; grid-template-columns: 1fr 1fr; gap:12px;}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:12px;}
@media (max-width: 760px){ .row2, .grid2{grid-template-columns:1fr} }

.pillmini{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(238,243,255,.14);
  background: rgba(255,255,255,.06);
  font-size:12px;
  color: rgba(238,243,255,.86);
  font-weight:900;
  width:max-content;
}
.pillmini strong{opacity:.85; font-weight:950}
.pillmini span{font-variant-numeric: tabular-nums; font-weight:950}

/* Rooms editor (for destination pages) */
.rooms-btn{
  border:0;
  background: linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95));
  color:#061018;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  padding: 12px 14px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: .02em;
  font-weight: 950;
  border-radius: 999px;
  cursor:pointer;
}
.rooms-btn:hover{filter:saturate(1.05) brightness(1.03)}
.rooms-btn:active{transform: translateY(1px)}

.rooms-panel{
  margin-top:12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(0,180,216,.35);
  background: linear-gradient(180deg, rgba(0,180,216,.12), rgba(255,255,255,.03));
  padding:12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.rooms-panel .top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.rooms-panel .top .ttl{
  font-weight:950;
  font-size:14px;
  letter-spacing:.02em;
}
.rooms-panel .top .close{
  border-radius:999px;
  border:1px solid rgba(238,243,255,.18);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding:8px 10px;
  font-weight:900;
  cursor:pointer;
}
.rooms-panel .actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.rooms-panel .actions .ctrl{
  background: rgba(255,255,255,.10);
  border-color: rgba(0,180,216,.25);
  font-weight:950;
}
#roomAddType{min-height: 44px; border-color: rgba(0,180,216,.35); box-shadow: 0 0 0 4px rgba(0,180,216,.08);}
#roomAddBtn{
  border:0;
  background: linear-gradient(135deg, rgba(0,180,216,.95), rgba(255,143,15,.95));
  color:#061018;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  padding: 10px 14px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: .02em;
  font-weight: 950;
  border-radius: 999px;
}
#roomAddBtn:hover{filter:saturate(1.05) brightness(1.03)}
#roomAddBtn:active{transform: translateY(1px)}
.rooms-list{display:grid; gap:10px; margin-top:12px;}
.room-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid rgba(238,243,255,.12);
  background: rgba(0,0,0,.14);
}
.room-item .l{min-width:0}
.room-item .t{font-weight:950; font-size:13px}
.room-item .d{font-size:12px; color:var(--muted); margin-top:2px; line-height:1.45}
.room-item .rm{
  border-radius:999px;
  border:1px solid rgba(255,143,15,.35);
  background: rgba(255,143,15,.10);
  color: rgba(238,243,255,.92);
  padding:8px 10px;
  font-weight:950;
  cursor:pointer;
  white-space:nowrap;
}

.kpi{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 680px){ .kpi{grid-template-columns:1fr} }
.kpi .box{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.14);
  padding:14px 14px 12px;
}
.kpi .lbl{font-size:11px; color:var(--muted2); letter-spacing:.10em; text-transform:uppercase}
.kpi .val{margin-top:8px; font-size:18px; font-weight:950; font-variant-numeric: tabular-nums;}
.kpi .sub{margin-top:4px; font-size:13px; color:var(--muted); line-height:1.5}

.list{margin:0; padding:0; list-style:none; display:grid; gap:10px;}
.li{display:flex; gap:10px; align-items:flex-start; padding:12px 12px; border-radius: var(--radius2); border: 1px solid var(--line); background: rgba(0,0,0,.14);}
.dot{width:10px; height:10px; border-radius:50%; background: var(--accent); margin-top:4px; box-shadow: 0 0 0 6px rgba(0,180,216,.12); flex:0 0 auto;}
.li strong{display:block; font-size:14px; font-weight:950}
.li span{display:block; font-size:13px; color:var(--muted); line-height:1.6; margin-top:2px}

.addons{margin-top:12px; border-radius: var(--radius2); border: 1px solid var(--line); background: rgba(0,0,0,.14); overflow:hidden;}
.addons .row{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 12px; border-top:1px solid rgba(238,243,255,.10);}
.addons .row:first-child{border-top:0}
.tick{display:flex; gap:10px; align-items:flex-start; min-width:0;}
.tick > div{min-width:0;}
.tick input{margin-top:3px; width:18px; height:18px; accent-color: var(--accent); cursor:pointer; flex:0 0 auto;}
.tick .t{font-weight:950; font-size:13px; overflow-wrap:anywhere; word-break:break-word;}
.tick .d{font-size:12px; color:var(--muted); line-height:1.5; margin-top:3px; overflow-wrap:anywhere; word-break:break-word;}
.tick .opt-note{color:var(--muted2); margin-top:3px;}
.qty-wrap{display:flex; align-items:center; gap:8px; flex:0 0 auto;}
.qty-lbl{font-size:12px; color:var(--muted2); white-space:nowrap}
.qty{width:72px; height:34px; padding:8px 10px; border-radius: 12px; border: 1px solid rgba(238,243,255,.16); background: rgba(255,255,255,.06); color: var(--text); font-weight:900; font-variant-numeric: tabular-nums; outline:none;}
.qty:focus{border-color: rgba(0,180,216,.55); box-shadow: 0 0 0 5px rgba(0,180,216,.14)}
.row .amt{text-align:right; font-weight:950; font-size:13px; white-space:nowrap; font-variant-numeric: tabular-nums; color: rgba(238,243,255,.92);}

@media (max-width: 760px){
  .addons .row{flex-wrap:wrap; align-items:flex-start;}
  .tick{flex: 1 1 100%;}
  .qty-wrap{margin-left:28px;}
}

.price{display:grid; gap:12px;}
.price-row{display:flex; justify-content:space-between; gap:12px; align-items:flex-start; padding:12px 12px; border-radius: var(--radius2); border: 1px solid var(--line); background: rgba(0,0,0,.14);}
.price-left{display:flex; gap:10px; align-items:flex-start; min-width:0;}
.thumb{width:54px; height:54px; border-radius:14px; overflow:hidden; border:1px solid rgba(238,243,255,.12); background: rgba(255,255,255,.04); flex:0 0 auto; position:relative;}
.thumb img{width:100%; height:100%; object-fit:cover; display:block; position:relative; z-index:0; filter:saturate(var(--img-sat)) contrast(var(--img-contrast)) brightness(var(--img-bright));}
.thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,180,216,.18), rgba(255,143,15,.12));
  opacity: calc(var(--img-overlay-opacity) * .9);
  pointer-events:none;
  z-index:1;
}
.price-row .l{min-width:0}
.price-row .l .t{font-weight:950; font-size:14px}
.price-row .l .d{font-size:12px; color:var(--muted); line-height:1.5; margin-top:3px}
.price-row .r{text-align:right; font-weight:950; font-size:15px; white-space:nowrap; font-variant-numeric: tabular-nums;}
.price-row.off{opacity:.45; filter:saturate(.9);}

/* Per-image tweaks */
.g.img-lighter img{filter:saturate(1.03) contrast(1.04) brightness(1.12);}

.total{padding:14px 14px; border-radius: var(--radius2); border: 1px solid rgba(53,208,127,.25); background: linear-gradient(135deg, rgba(53,208,127,.14), rgba(0,180,216,.08)); margin-top:12px;}
.total .top{display:flex; justify-content:space-between; gap:12px; align-items:center; font-weight:950; font-size:16px;}
.total .note{margin-top:8px; font-size:12px; color:rgba(238,243,255,.72); line-height:1.6;}

.ra-tooltip{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color: rgba(238,243,255,.86);
  text-decoration: underline dotted rgba(238,243,255,.35);
  text-underline-offset: 3px;
  cursor: help;
  outline: none;
}
.ra-tooltip::before{
  content:"ⓘ";
  display:inline-block;
  font-weight:950;
  color: rgba(238,243,255,.86);
}
.ra-tooltip[data-icon]::before{content: attr(data-icon);}
.ra-tooltip:hover::after,
.ra-tooltip:focus::after{
  content: attr(data-tip);
  position:absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 200;
  width: min(360px, 72vw);
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(238,243,255,.14);
  background: rgba(11,18,32,.92);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  color: rgba(238,243,255,.92);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-line;
}

@media (max-width: 760px){
  .ra-tooltip:hover::after,
  .ra-tooltip:focus::after{
    left: auto;
    right: 0;
    width: min(360px, 86vw);
  }
}

.small{font-size:12px; color:rgba(238,243,255,.62); line-height:1.7;}
.hr{height:1px; background:var(--line); margin:14px 0}

.table{width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid var(--line); border-radius:18px;}
.table th,.table td{padding:10px 10px; font-size:13px; border-bottom:1px solid rgba(238,243,255,.10); vertical-align:top;}
.table th{font-size:11px; letter-spacing:.10em; text-transform:uppercase; color:var(--muted2); background: rgba(0,0,0,.14);}
.table tr:last-child td{border-bottom:0}

.note{margin-top:12px; font-size:12px; color:rgba(238,243,255,.66); line-height:1.7;}

/* Callout */
.callout{
  border-radius: 18px;
  border: 1px solid rgba(0,180,216,.30);
  background: linear-gradient(135deg, rgba(0,180,216,.14), rgba(255,143,15,.08));
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
  padding: 12px 12px;
}
.callout .t{font-weight:950; font-size:13px; letter-spacing:.02em;}
.callout .d{margin-top:4px; font-size:12px; color:rgba(238,243,255,.86); line-height:1.6;}

/* Shared request form */
.ra-form{display:grid; gap:12px;}
.ra-grid{display:grid; grid-template-columns: 1fr 1fr; gap:12px;}
@media (max-width: 760px){.ra-grid{grid-template-columns:1fr}}
.ra-field{display:flex; flex-direction:column; gap:6px}
.ra-field label{font-size:11px; color:var(--muted2); letter-spacing:.10em; text-transform:uppercase}
.ra-ctrl{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(238,243,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:11px 12px;
  outline:none;
  font-weight:850;
  letter-spacing:.01em;
}
.ra-ctrl:focus{border-color: rgba(0,180,216,.55); box-shadow: 0 0 0 4px rgba(0,180,216,.12);}
.ra-kpis{display:flex; gap:10px; flex-wrap:wrap}
.ra-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(238,243,255,.14);
  background: rgba(255,255,255,.06);
  font-size:12px;
  color: rgba(238,243,255,.86);
  font-weight:900;
  width:max-content;
}
.ra-pill span{opacity:.85; font-weight:850}
.ra-check{display:flex; gap:10px; align-items:flex-start}
.ra-check input{margin-top:3px; width:18px; height:18px; accent-color: var(--accent); cursor:pointer;}

/* Saved offers on home */
.saved-list{display:grid; gap:10px}
.saved-row{border-radius: 14px; border:1px solid rgba(238,243,255,.12); background: rgba(0,0,0,.14); padding:10px 10px;}
.saved-title{font-weight:950; font-size:13px}
.saved-meta{margin-top:4px; font-size:12px; color:var(--muted); line-height:1.45}

.footer{margin-top:30px; text-align:center; font-size:12px; color:rgba(238,243,255,.60); line-height:1.7;}
.footer a{color: rgba(238,243,255,.78); text-decoration:none; border-bottom:1px solid rgba(238,243,255,.22); padding-bottom:1px;}
.footer a:hover{color: rgba(238,243,255,.92); border-bottom-color: rgba(238,243,255,.45);}
.footer a:focus{outline:none; box-shadow: 0 0 0 4px rgba(0,180,216,.14); border-radius:4px;}
