/* Shared cart dialog. Only the dialog scrolls; the list has no scrollbox. */
.top .container { gap: 18px; }
.topnav { margin-left: auto; }
.cart-wrap { position: relative; flex: none; z-index: 30; }
.cart-trigger {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 15px; border: 1px solid #9eec0055;
  border-radius: 100px; background: #9eec0014; color: #fff;
  font-size: 13px; font-weight: 750; cursor: pointer;
}
.cart-trigger:hover, .cart-trigger[aria-expanded="true"] {
  background: #9eec0028; border-color: #9eec00a0;
}
.cart-trigger svg { width: 17px; height: 17px; }
.cart-count {
  min-width: 23px; height: 23px; border-radius: 100px; padding: 0 5px;
  background: #9eec00; color: #0e1123; font-size: 11px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-popover {
  position: fixed; inset: 0; margin: auto;
  width: min(440px, calc(100vw - 32px)); padding: 24px;
  background: #fbfdf8; border: 1px solid #e0eade; border-radius: 22px;
  color: #15221b; box-shadow: 0 28px 90px #050b0a4d;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none; text-align:left;
}
.cart-popover::-webkit-scrollbar { display:none; width:0; height:0; }
.cart-popover[hidden] { display: none !important; }
.cart-popover::backdrop {background:#0e112380;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);}
body.cart-open {overflow:hidden;}
.cart-header {
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  position:sticky;top:-24px;padding:8px 0;z-index:2;background:#fbfdf8;
}
.cart-close {
  display:grid;place-items:center;flex:none;width:34px;height:34px;
  border:1px solid #dce8d4;border-radius:10px;background:#eef9e4;
  color:#0e1123;font-size:25px;line-height:1;cursor:pointer;
}
.cart-close:hover {background:#dff1cc;border-color:#90c450;}
.cart-close:focus-visible,.cart-remove:focus-visible {outline:2px solid #699d00;outline-offset:3px;}
.cart-title { font-size: 18px; font-weight: 850; letter-spacing: -.04em; }
.cart-description { color: #77837a; margin: 6px 0 15px; font-size: 12px; line-height: 1.5; }
.cart-empty { margin: 0 0 16px; padding: 24px 15px; text-align: center;
  color: #7b8a7f; font-size: 13px; background: #f7faf5; border-radius: 12px; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-item { padding: 14px 0; border-top: 1px solid #edf1ea;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item-info strong { font-size: 13px; overflow-wrap: anywhere; }
.cart-item-info span { color: #7d8d80; font-size: 10px; line-height: 1.4; }
.cart-item-actions { display: flex; align-items: flex-end; flex-direction: column;
  gap: 5px; flex: none; }
.cart-item-actions strong { font-size: 13px; }
.cart-remove { font-size: 11px; background: none; border: 0; cursor: pointer;
  text-decoration: underline; color: #7b8378; padding: 2px; }
.cart-remove:hover { color: #9c3333; }
.cart-summary { border-top: 1px solid #dae5d8; padding: 17px 0;
  display: flex; justify-content: space-between; align-items: baseline; }
.cart-summary span { font-size: 13px; font-weight: 700; }
.cart-summary strong { font-size: 20px; letter-spacing: -.04em; }
.cart-checkout { width: 100%; padding: 14px; border: 0; border-radius: 10px;
  background: #e8eee5; color: #89938a; font-weight: 800;
  font-size: 13px; cursor: not-allowed; }
.cart-warning { color: #829183; font-size: 11px; line-height: 1.65; margin: 13px 0 0; }
.get-domain { color: #0e1123; background: #9eec00; border: 0; cursor: pointer;
  font-weight: 800; font-size: 12px; padding: 13px 16px; border-radius: 10px;
  white-space: nowrap; }
.get-domain:hover { background: #aeff35; }
.get-domain.in-cart { background: #edf6e1; color: #35622b; }
.cart-announcement { position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0; }
.suggestion-card .get-domain { margin-top: 8px; }
@media (max-width: 700px) {
  .cart-popover {width:calc(100vw - 28px);max-width:440px;padding:20px;border-radius:20px;}
  .cart-header {top:-20px;}
  .cart-title {font-size:17px;}
  .cart-warning {font-size:10px;}
  .topnav .pill { display: none; }
  .top .container { gap: 10px; }
  .top .logo { font-size: 26px; }
  .cart-trigger { padding: 10px 12px; }
  .result { gap: 12px; }
  .result .get-domain { align-self: center; padding: 11px 13px; }
}

