/* ==========================================================================
   Zoek_Style.css — domain search results page
   ========================================================================== */

/* ---------- search bar ---------- */
.searchbar{
  padding:22px 0 26px;
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
}
.search{
  display:flex;flex-direction:column;gap:10px;
  max-width:640px;margin:0 auto;
}
.search-field{
  position:relative;
  display:flex;align-items:center;
  background:var(--surface);
  border:1.5px solid var(--line-2);
  border-radius:var(--r);
  transition:border-color .16s,box-shadow .16s;
}
.search-field:focus-within{
  border-color:var(--navy);
  box-shadow:0 0 0 3.5px rgba(18,33,58,.14);
}
.search-icon{position:absolute;left:16px;color:var(--ink-4);pointer-events:none;}
.search-field input{
  flex:1;width:100%;
  border:none;background:transparent;outline:none;
  font-family:'Inter',sans-serif;
  font-size:16.5px;font-weight:500;color:var(--ink);
  padding:15px 15px 15px 46px;
  min-height:54px;
  border-radius:var(--r);
}
.search-field input::placeholder{color:var(--ink-4);font-weight:400;}
.search-btn{min-height:54px;}
@media (min-width:640px){
  .search{flex-direction:row;}
  .search-field{flex:1;}
  .search-btn{flex-shrink:0;}
}

.page{padding:34px 0 72px;}

/* ---------- loading / empty states ---------- */
.state{
  text-align:center;
  padding:70px 16px 80px;
  max-width:440px;margin:0 auto;
}
.state-icon{
  width:60px;height:60px;
  margin:0 auto 20px;
  border-radius:50%;
  background:var(--paper-2);
  color:var(--ink-4);
  display:grid;place-items:center;
}
.state-title{
  font-family:'Inter',system-ui,sans-serif;
  font-size:24px;font-weight:600;color:var(--ink);
  margin-bottom:8px;
}
.state-sub{font-size:15.5px;color:var(--ink-3);}

.dots{display:flex;gap:7px;justify-content:center;margin-bottom:22px;}
.dots span{
  width:9px;height:9px;border-radius:50%;
  background:var(--navy);
  animation:bob 1.1s ease-in-out infinite;
}
.dots span:nth-child(2){animation-delay:.14s;}
.dots span:nth-child(3){animation-delay:.28s;}
@keyframes bob{
  0%,80%,100%{transform:translateY(0);opacity:.35;}
  40%{transform:translateY(-8px);opacity:1;}
}

.suggest{
  list-style:none;padding:0;
  margin:22px 0 0;
  text-align:left;
  display:inline-block;
}
.suggest li{
  position:relative;
  padding:6px 0 6px 20px;
  font-size:14.5px;color:var(--ink-3);
}
.suggest li::before{
  content:"";
  position:absolute;left:2px;top:15px;
  width:5px;height:5px;border-radius:50%;
  background:var(--accent);
}

/* ---------- results header ---------- */
.res-head{margin-bottom:26px;}
.res-head h1{
  font-size:clamp(25px,4.4vw,36px);
  margin-bottom:7px;
}
.res-head h1 span{
  color:var(--accent);
  overflow-wrap:anywhere;
}
.res-head p{font-size:15px;color:var(--ink-3);}

/* ---------- headline card ---------- */
.top{
  background:var(--surface);
  border:2px solid var(--navy);
  border-radius:var(--r-lg);
  padding:24px 22px;
  margin-bottom:38px;
  position:relative;
  overflow:hidden;
}
.top::after{
  content:"";
  position:absolute;top:-70px;right:-70px;
  width:210px;height:210px;border-radius:50%;
  background:radial-gradient(circle,rgba(18,33,58,.06),transparent 70%);
  pointer-events:none;
}
@media (min-width:760px){ .top{padding:30px 30px;} }

.top-inner{
  display:flex;flex-direction:column;gap:22px;
  position:relative;
}
@media (min-width:760px){
  .top-inner{flex-direction:row;align-items:center;justify-content:space-between;gap:30px;}
}
.top-left{min-width:0;}
.top-flag{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--navy-lt);color:var(--navy);
  font-family:'Inter',sans-serif;
  font-size:11.5px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;
  padding:5px 11px;border-radius:999px;
  margin-bottom:13px;
}
.top-name{
  font-family:'Inter',system-ui,sans-serif;
  font-size:clamp(26px,5.4vw,38px);
  font-weight:600;color:var(--ink);
  letter-spacing:-.02em;line-height:1.1;
  margin-bottom:12px;
  overflow-wrap:anywhere;
}
.top-why{
  font-size:14.5px;color:var(--ink-3);
  margin-top:11px;max-width:340px;
}

.top-right{
  display:flex;flex-direction:column;gap:14px;
  flex-shrink:0;
}
@media (min-width:760px){ .top-right{align-items:flex-end;text-align:right;} }
.top-price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;}
.top-was{
  font-size:15px;color:var(--ink-4);
  text-decoration:line-through;
}
.top-now{
  font-family:'Inter',sans-serif;
  font-size:33px;font-weight:800;
  color:var(--ink);letter-spacing:-.03em;line-height:1;
  font-variant-numeric:tabular-nums;
}
.top-per{font-size:14px;color:var(--ink-3);}
.top-cta{min-width:200px;}

/* ---------- alternatives ---------- */
.alts{margin-bottom:38px;}
.alt-head{
  font-family:'Inter',sans-serif;
  font-size:12px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-4);
  margin-bottom:14px;
}
.alt-list{display:flex;flex-direction:column;gap:9px;}

.alt{
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r);
  padding:16px 18px;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-areas:
    "name  status"
    "price cta";
  gap:12px 14px;
  align-items:center;
  transition:border-color .16s;
}
.alt:hover{border-color:var(--line-2);}
.alt-open:hover{border-color:var(--navy);}
.alt-taken{background:var(--paper-2);border-style:dashed;}

.alt-name{
  grid-area:name;
  font-size:16.5px;font-weight:600;color:var(--ink);
  overflow-wrap:anywhere;
  min-width:0;
}
.alt-taken .alt-name{color:var(--ink-4);text-decoration:line-through;}
.alt-status{grid-area:status;justify-self:end;}
.alt-price{
  grid-area:price;
  font-size:15px;font-weight:600;color:var(--ink);
  display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;
}
.alt-was{
  font-size:12.5px;font-weight:500;
  color:var(--ink-4);text-decoration:line-through;
}
.alt-per{font-size:12.5px;font-weight:500;color:var(--ink-4);}
.alt-none{color:var(--ink-4);font-weight:500;font-size:14px;}
.alt-cta{grid-area:cta;justify-self:end;}
.alt-btn{
  font-family:'Inter',sans-serif;
  font-size:14.5px;font-weight:600;
  background:transparent;color:var(--navy);
  border:1.5px solid var(--navy);
  border-radius:10px;
  padding:10px 16px;
  min-height:44px;min-width:112px;
  cursor:pointer;
  white-space:nowrap;
  transition:background .16s,color .16s;
}
.alt-btn:hover{background:var(--navy);color:#fff;}
.alt-gone{
  font-size:13.5px;font-weight:500;color:var(--ink-4);
  padding:10px 0;
}

@media (min-width:700px){
  .alt{
    grid-template-columns:1fr 130px 150px 130px;
    grid-template-areas:"name status price cta";
    padding:15px 20px;
  }
  .alt-status{justify-self:start;}
  .alt-price{justify-content:flex-end;}
}

/* ---------- reassurance ---------- */
.assure{
  display:grid;grid-template-columns:1fr;gap:6px;
  background:var(--paper-2);
  border-radius:var(--r-lg);
  padding:20px;
  margin-bottom:34px;
}
@media (min-width:820px){
  .assure{grid-template-columns:repeat(3,1fr);gap:24px;padding:24px 26px;}
}
.assure-item{display:flex;gap:12px;align-items:flex-start;padding:8px 0;}
.assure-ico{
  flex-shrink:0;
  width:22px;height:22px;border-radius:50%;
  background:var(--sage);color:#fff;
  display:grid;place-items:center;
  font-size:12px;font-weight:700;
}
.assure-item b{
  display:block;
  font-size:14.5px;font-weight:600;color:var(--ink);
  margin-bottom:2px;
}
.assure-item span{
  display:block;
  font-size:13.5px;color:var(--ink-3);line-height:1.5;
}

/* ---------- bundle upsell ---------- */
.bundle{
  background:var(--navy);
  color:rgba(255,255,255,.82);
  border-radius:var(--r-lg);
  padding:28px 24px;
  display:flex;flex-direction:column;gap:22px;
  align-items:flex-start;
  overflow:hidden;position:relative;
}
.bundle::after{
  content:"";
  position:absolute;top:-60px;right:-40px;
  width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle,rgba(13,148,136,.28),transparent 70%);
  pointer-events:none;
}
@media (min-width:880px){
  .bundle{
    flex-direction:row;align-items:center;justify-content:space-between;
    gap:38px;padding:32px 34px;
  }
}
.bundle-copy{position:relative;max-width:610px;}
.bundle-tag{
  display:inline-block;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  font-family:'Inter',sans-serif;
  font-size:11.5px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;
  padding:5px 11px;border-radius:999px;
  margin-bottom:12px;
}
.bundle h2{
  color:#fff;
  font-size:clamp(20px,2.8vw,26px);
  margin-bottom:10px;
}
.bundle p{font-size:15px;line-height:1.6;}
.bundle .btn-navy{
  background:#fff;color:var(--navy);
  flex-shrink:0;position:relative;
}
.bundle .btn-navy:hover{background:var(--paper-2);color:var(--navy-dk);}

.help-line{
  margin-top:26px;text-align:center;
  font-size:14.5px;color:var(--ink-3);
}
.help-line a{color:var(--accent-text);font-weight:600;text-decoration:underline;text-underline-offset:2px;}

/* ---------- chosen state on any pick button ---------- */
.alt-btn.is-added,
.top-cta.is-added{
  background:var(--sage);
  border-color:var(--sage);
  color:#fff;
}
.alt-btn.is-added:hover,
.top-cta.is-added:hover{background:#436A4E;border-color:#436A4E;}

/* ---------- suggestions ---------- */
.sugs{
  margin-bottom:38px;
  padding:24px 20px 22px;
  background:var(--paper-2);
  border-radius:var(--r-lg);
}
@media (min-width:760px){ .sugs{padding:28px 26px 26px;} }
.sug-head{margin-bottom:18px;}
.sug-head h2{font-size:clamp(20px,3vw,25px);margin-bottom:7px;}
.sug-head p{font-size:14.5px;color:var(--ink-3);max-width:520px;line-height:1.55;}

.sug-list{display:flex;flex-direction:column;gap:9px;}
.sug-loading{font-size:14px;color:var(--ink-4);padding:6px 0;}

.sug{
  display:flex;flex-direction:column;gap:14px;
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r);
  padding:16px 18px;
}
@media (min-width:620px){
  .sug{flex-direction:row;align-items:center;justify-content:space-between;gap:20px;}
}
.sug-body{min-width:0;}
.sug-name{
  font-size:16.5px;font-weight:600;color:var(--ink);
  overflow-wrap:anywhere;
}
.sug-why{font-size:13.5px;color:var(--ink-3);margin-top:3px;line-height:1.45;}
.sug-right{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-shrink:0;
}
.sug-price{font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap;}
.sug-price small{font-size:12px;font-weight:500;color:var(--ink-4);}

/* ---------- sticky cart bar ---------- */
.cartbar{
  position:fixed;left:0;right:0;bottom:0;
  z-index:50;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-top:1.5px solid var(--line);
  box-shadow:0 -4px 20px rgba(22,38,61,.08);
  padding:12px 0 calc(12px + env(safe-area-inset-bottom));
  animation:cartUp .28s var(--ease);
}
@keyframes cartUp{
  from{transform:translateY(100%);}
  to{transform:translateY(0);}
}
.cartbar-inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.cartbar-l{display:flex;flex-direction:column;min-width:0;flex-shrink:1;}
.cartbar-count{
  font-size:12.5px;font-weight:600;color:var(--ink-3);
  white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
}
.cartbar-total{
  font-size:19px;font-weight:700;color:var(--ink);line-height:1.2;
}
.cartbar-btn{flex-shrink:0;}

/* The full label doesn't fit next to the total on a phone. */
.cb-short{display:none;}
@media (max-width:560px){
  .cb-long{display:none;}
  .cb-short{display:inline;}
  .cartbar-inner{gap:12px;}
}

/* Keep whatever is actually at the bottom of the page clear of the fixed bar.
   That's the footer, not .page — .footer is the next sibling after <main>,
   so padding .page alone left the footer's last row sitting underneath the
   bar once someone scrolled all the way down. */
body.has-cartbar .footer{padding-bottom:112px;}
