/* widget-page.css — always-on storefront styles for the Virtual Sarah widget:
   wishlist hearts + badge + /pages/wishlist renderer, paint-ideas CTA and
   custom-size variant pill. Extracted from widget.css so the panel stylesheet
   can load on first open instead of on every page. Rules here also remain in
   widget.css; duplication is harmless and keeps the panel file self-contained.
   Edit BOTH files when touching a shared rule, or better: keep page rules here. */
.cb-variant-pill {
  border: 2px solid var(--cb-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--cb-text);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.2;
}
.cb-variant-pill:hover {
  border-color: #c0392b;
  background: #fdf2f2;
  color: #c0392b;
}
.cb-variant-pill:active,
.cb-variant-pill.cb-variant-selected {
  border-color: #c0392b;
  background: #c0392b;
  color: #ffffff;
}
.cb-variant-pill[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: var(--cb-border);
  background: #f3f4f6;
  color: var(--cb-text-muted);
}
/* ═══════════════════════════════════════════════════════════════════════════
   Wishlist — Heart icons, header badge, wishlist page
   ═══════════════════════════════════════════════════════════════════════════ */

/* Heart button on product/collection images */
.cb-wishlist-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 54px;
  height: 54px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #94a3b8;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cb-wishlist-heart svg {
  width: 34px;
  height: 34px;
  display: block;
}
.cb-wishlist-heart:hover {
  transform: scale(1.15);
  color: #ef4444;
  background: rgba(255, 255, 255, 1);
}
.cb-wishlist-heart--active {
  color: #ef4444;
}
.cb-wishlist-heart--active:hover {
  color: #dc2626;
}
/* Dual-SVG visibility: outline shown by default, filled when active */
.cb-wishlist-heart .cb-heart-filled { display: none; }
.cb-wishlist-heart .cb-heart-outline { display: contents; }
.cb-wishlist-heart--active .cb-heart-filled { display: contents; }
.cb-wishlist-heart--active .cb-heart-outline { display: none; }
/* Smaller hearts on collection / recommendation card grids (all screen sizes) */
.product-card .cb-wishlist-heart,
.grid-product .cb-wishlist-heart,
.product-item .cb-wishlist-heart,
.collection-product-card .cb-wishlist-heart,
.product-grid-item .cb-wishlist-heart,
[data-product-card] .cb-wishlist-heart,
.card--product .cb-wishlist-heart,
.product-block .cb-wishlist-heart,
.grid__item .card .cb-wishlist-heart,
.product-list-item .cb-wishlist-heart,
.product-recommendations .cb-wishlist-heart,
.related-products .cb-wishlist-heart,
.recommended-products .cb-wishlist-heart {
  width: 38px;
  height: 38px;
  top: 6px;
  right: 6px;
}
.product-card .cb-wishlist-heart svg,
.grid-product .cb-wishlist-heart svg,
.product-item .cb-wishlist-heart svg,
.collection-product-card .cb-wishlist-heart svg,
.product-grid-item .cb-wishlist-heart svg,
[data-product-card] .cb-wishlist-heart svg,
.card--product .cb-wishlist-heart svg,
.product-block .cb-wishlist-heart svg,
.grid__item .card .cb-wishlist-heart svg,
.product-list-item .cb-wishlist-heart svg,
.product-recommendations .cb-wishlist-heart svg,
.related-products .cb-wishlist-heart svg,
.recommended-products .cb-wishlist-heart svg {
  width: 24px;
  height: 24px;
}
.cb-wishlist-header-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  text-decoration: none;
}
.cb-wishlist-header-link svg {
  width: 22px;
  height: 22px;
}
.cb-wishlist-header-link:hover {
  color: #ef4444;
}
.cb-wishlist-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  padding: 0 4px;
  pointer-events: none;
}
/* Wishlist page layout */
.cb-wishlist-page {
  /* Break out of Shopify's page-width container */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
  /* Percentage gutters cost a phone 20% of its screen, which is what forced the
     guest banner's buttons to wrap. Fixed 16px on mobile, percentages only once
     there is width to spare. */
  padding: 24px 16px 64px;
}
.cb-wishlist-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cb-wishlist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 480px) {
  .cb-wishlist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .cb-wishlist-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .cb-wishlist-page { padding-left: 5%; padding-right: 5%; }
}
@media (min-width: 1024px) {
  .cb-wishlist-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .cb-wishlist-grid { grid-template-columns: repeat(5, 1fr); }
}
/* Wishlist product card */
.cb-wishlist-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.cb-wishlist-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.cb-wishlist-card-image {
  position: relative;
  aspect-ratio: 1;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
}
.cb-wishlist-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cb-wishlist-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #94a3b8;
  font-size: 13px;
}
.cb-wishlist-card-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.cb-wishlist-card-title {
  display: -webkit-box;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
}
a.cb-wishlist-card-title:hover {
  text-decoration: underline;
}
.cb-wishlist-variant {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.cb-wishlist-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cb-wishlist-price {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.cb-wishlist-buy-btn {
  display: inline-block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #c0392b;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.cb-wishlist-buy-btn:hover {
  background: #a93226;
}
.cb-wishlist-sold-out {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
/* Login prompt */
.cb-wishlist-login {
  text-align: center;
  padding: 48px 16px;
}
.cb-wishlist-login h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.cb-wishlist-login p {
  margin: 0 0 20px;
  color: #64748b;
}
.cb-wishlist-login-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.cb-wishlist-login-btn:hover {
  background: #1d4ed8;
}
/* Empty state */
.cb-wishlist-empty {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
}
.cb-wishlist-browse-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.cb-wishlist-browse-btn:hover {
  background: #1d4ed8;
}
/* Error state */
.cb-wishlist-error {
  text-align: center;
  padding: 24px;
  color: #ef4444;
}
/* Loading skeletons */
.cb-wishlist-skeleton {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}
.cb-wishlist-skeleton-img {
  aspect-ratio: 1;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: cb-wishlist-shimmer 1.5s infinite;
}
.cb-wishlist-skeleton-text {
  height: 14px;
  margin: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: cb-wishlist-shimmer 1.5s infinite;
}
.cb-wishlist-skeleton-text--short {
  width: 60%;
}
@keyframes cb-wishlist-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* ── Wishlist logged-out explainer (cb-wl-*) — replaces the basic login prompt ── */
.cb-wl-explainer { font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: #1A1614; display: flex; flex-direction: column; align-items: center; padding: 40px 8px; }
.cb-wl-card { width: 100%; max-width: 1080px; background: #FFFFFF; border: 1px solid #E2DBCB; border-radius: 12px; box-shadow: 0 8px 24px rgba(26,22,20,0.10), 0 2px 6px rgba(26,22,20,0.06); overflow: hidden; display: grid; grid-template-columns: 1.02fr 0.98fr; }
.cb-wl-left { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.cb-wl-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cb-wl-eyebrow span:last-child { font-family: "Oswald", "Impact", "Arial Narrow", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #A6182A; }
.cb-wl-eyebrow-ico { width: 18px; height: 18px; flex-shrink: 0; background: center/contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23A6182A'%3E%3Cpath%20d='M20.84%204.61a5.5%205.5%200%200%200-7.78%200L12%205.67l-1.06-1.06a5.5%205.5%200%200%200-7.78%207.78l1.06%201.06L12%2021.23l7.78-7.78%201.06-1.06a5.5%205.5%200%200%200%200-7.78z'/%3E%3C/svg%3E"); }
.cb-wl-h1 { font-family: "Oswald", "Impact", "Arial Narrow", sans-serif; font-weight: 700; font-size: 52px; line-height: 1.02; letter-spacing: 0.02em; text-transform: uppercase; color: #1A1614; margin: 0 0 18px; }
.cb-wl-lede { font-size: 17px; line-height: 1.6; color: #2E2A27; margin: 0 0 30px; max-width: 430px; }
.cb-wl-points { display: flex; flex-direction: column; gap: 16px; margin-bottom: 34px; }
.cb-wl-point { display: flex; align-items: flex-start; gap: 14px; }
.cb-wl-point-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 8px; background-color: #F7E4E7; background-repeat: no-repeat; background-position: center; background-size: 19px 19px; }
.cb-wl-ico-heart { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A6182A'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20.84%204.61a5.5%205.5%200%200%200-7.78%200L12%205.67l-1.06-1.06a5.5%205.5%200%200%200-7.78%207.78l1.06%201.06L12%2021.23l7.78-7.78%201.06-1.06a5.5%205.5%200%200%200%200-7.78z'/%3E%3C/svg%3E"); }
.cb-wl-ico-rotate { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A6182A'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2012a9%209%200%201%200%203-6.7'/%3E%3Cpath%20d='M3%204v5h5'/%3E%3C/svg%3E"); }
.cb-wl-ico-shield { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A6182A'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202%204%205v7c0%205%203.5%208.5%208%2010%204.5-1.5%208-5%208-10V5z'/%3E%3C/svg%3E"); }
.cb-wl-point-t { font-weight: 800; font-size: 15px; color: #1A1614; line-height: 1.3; }
.cb-wl-point-d { font-size: 13.5px; color: #5A5550; line-height: 1.4; }
.cb-wl-login-btn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; background: #A6182A; color: #FFFFFF; font-family: "Lato", Arial, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; text-decoration: none; padding: 17px 34px; border-radius: 4px; box-shadow: 0 6px 18px rgba(166,24,42,0.28); transition: background 160ms cubic-bezier(0.2,0.6,0.2,1), transform 160ms cubic-bezier(0.2,0.6,0.2,1); }
.cb-wl-login-btn:hover { background: #7E1220; transform: translateY(-1px); }
.cb-wl-signup { margin-top: 16px; font-size: 14px; color: #5A5550; }
.cb-wl-signup a { color: #A6182A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cb-wl-right { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 44px; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, rgba(166,24,42,0.28) 0%, transparent 55%), linear-gradient(160deg,#221c19 0%,#141110 100%); }
.cb-wl-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 120%, rgba(166,24,42,0.22), transparent 70%); }
.cb-wl-tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; max-width: 340px; }
.cb-wl-tile { position: relative; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 14px 30px rgba(0,0,0,0.45); animation: cbWlFloat 6s cubic-bezier(0.2,0.6,0.2,1) infinite; }
.cb-wl-tile--1 { background: linear-gradient(180deg,#0a0a0a 0%,#1a1a1a 100%); animation-delay: 0s; }
.cb-wl-tile--2 { background: linear-gradient(180deg,#0f0a14 0%,#1e1628 100%); animation-delay: 1.2s; }
.cb-wl-tile--3 { background: linear-gradient(180deg,#0d0a08 0%,#1a1510 100%); animation-delay: 0.6s; }
.cb-wl-tile--4 { background: linear-gradient(180deg,#0a0a0a 0%,#2a1a0a 100%); animation-delay: 1.8s; }
.cb-wl-figure { position: absolute; left: 31%; bottom: 6%; width: 38%; height: 82%; background: radial-gradient(ellipse at 50% 25%, rgba(255,255,255,.16), transparent 55%), linear-gradient(180deg,#3a322c 0%,#0a0604 100%); filter: drop-shadow(0 12px 12px rgba(0,0,0,.6)); clip-path: polygon(45% 0, 55% 0, 62% 12%, 72% 18%, 68% 35%, 78% 45%, 72% 60%, 82% 72%, 70% 80%, 72% 95%, 58% 100%, 42% 100%, 28% 95%, 30% 80%, 18% 72%, 28% 60%, 22% 45%, 32% 35%, 28% 18%, 38% 12%); }
.cb-wl-img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 14px rgba(0,0,0,0.6)); opacity: 0; transition: opacity 0.45s ease; }
.cb-wl-img.is-in { opacity: 1; }
.cb-wl-tile--has-img .cb-wl-figure { display: none; }
.cb-wl-tileheart { position: absolute; top: 9px; right: 9px; width: 28px; height: 28px; border-radius: 50%; background-color: rgba(255,255,255,0.95); background-repeat: no-repeat; background-position: center; background-size: 14px 14px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23A6182A'%3E%3Cpath%20d='M20.84%204.61a5.5%205.5%200%200%200-7.78%200L12%205.67l-1.06-1.06a5.5%205.5%200%200%200-7.78%207.78l1.06%201.06L12%2021.23l7.78-7.78%201.06-1.06a5.5%205.5%200%200%200%200-7.78z'/%3E%3C/svg%3E"); box-shadow: 0 2px 6px rgba(0,0,0,0.35); animation: cbWlPop 0.5s cubic-bezier(0.2,0.6,0.2,1) both; }
.cb-wl-tile--1 .cb-wl-tileheart { animation-delay: 0.15s; }
.cb-wl-tile--2 .cb-wl-tileheart { animation-delay: 0.30s; }
.cb-wl-tile--3 .cb-wl-tileheart { animation-delay: 0.45s; }
.cb-wl-tile--4 .cb-wl-tileheart { animation-delay: 0.60s; }
.cb-wl-tag { position: absolute; bottom: 8px; left: 8px; display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.95); padding: 3px 7px; border-radius: 2px; }
.cb-wl-tag-gem { width: 9px; height: 9px; background: #A6182A; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cb-wl-tag span:last-child { font-family: "Oswald", "Impact", "Arial Narrow", sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #1A1614; }
.cb-wl-guarantee { margin-top: 22px; font-size: 13px; color: #8A8680; letter-spacing: 0.01em; text-align: center; }
.cb-wl-guarantee span { color: #A6182A; font-weight: 700; }
@keyframes cbWlFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes cbWlPop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@media (max-width: 820px) { .cb-wl-card { grid-template-columns: 1fr; } .cb-wl-left { padding: 40px 28px; } .cb-wl-h1 { font-size: 38px; } .cb-wl-right { padding: 36px 28px; } .cb-wl-tiles { max-width: 300px; } }
@media (prefers-reduced-motion: reduce) { .cb-wl-tile, .cb-wl-tileheart { animation: none; } }
/* ── Guest wishlist: save-nudge snackbar (cb-wl-nudge) ──────────────────────
   Shown on a logged-out heart tap. Tap targets are 48px minimum on every
   button, bottom-anchored above the iOS home indicator via safe-area. */
.cb-wl-nudge {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 100001;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  width: calc(100vw - 24px);
  max-width: 560px;
  background: #FFFFFF;
  border: 1px solid #E2DBCB;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(26, 22, 20, 0.22), 0 2px 8px rgba(26, 22, 20, 0.10);
  padding: 14px 16px;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1A1614;
  animation: cbWlNudgeIn 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cb-wl-nudge-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F7E4E7;
  color: #A6182A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-wl-nudge-ico svg { width: 22px; height: 22px; display: block; }
.cb-wl-nudge-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cb-wl-nudge-text strong {
  font-family: "Oswald", "Impact", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cb-wl-nudge-text span { font-size: 13px; line-height: 1.45; color: #5A5550; }
.cb-wl-nudge-actions { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.cb-wl-nudge-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: #A6182A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(166, 24, 42, 0.28);
  transition: background 160ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cb-wl-nudge-login:hover { background: #7E1220; color: #FFFFFF; }
.cb-wl-nudge-dismiss {
  min-height: 48px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #5A5550;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.cb-wl-nudge-dismiss:hover { background: #F4EFE3; color: #1A1614; }
@media (max-width: 560px) {
  .cb-wl-nudge { flex-wrap: wrap; }
  .cb-wl-nudge-text { flex-basis: calc(100% - 54px); }
  .cb-wl-nudge-actions { width: 100%; }
  .cb-wl-nudge-login { flex: 1; }
}
/* Compact confirmation pill: repeat saves + the post-login merge toast */
.cb-wl-nudge-mini {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 100001;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #1A1614;
  color: #FFFFFF;
  text-decoration: none;
  font-family: "Lato", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(26, 22, 20, 0.30);
  animation: cbWlNudgeIn 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cb-wl-nudge-mini:hover { color: #FFFFFF; }
.cb-wl-nudge-mini span:not(.cb-wl-nudge-mini-ico) { text-transform: uppercase; letter-spacing: 0.04em; }
.cb-wl-nudge-mini-ico { display: flex; color: #FF5A6E; }
.cb-wl-nudge-mini-ico svg { width: 18px; height: 18px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .cb-wl-nudge, .cb-wl-nudge-mini { animation: none; }
}
/* ── Guest wishlist page: device-only banner above the grid ── */
.cb-wl-guest-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #FDF9F0;
  border: 1px solid #E2DBCB;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0 20px;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.cb-wl-guest-banner-text { display: flex; flex-direction: column; gap: 4px; min-width: 220px; flex: 1; }
.cb-wl-guest-banner-text strong {
  font-family: "Oswald", "Impact", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #A6182A;
}
.cb-wl-guest-banner-text span { font-size: 14px; line-height: 1.5; color: #2E2A27; max-width: 520px; }
.cb-wl-guest-banner-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cb-wl-guest-banner .cb-wl-login-btn { align-self: auto; min-height: 48px; padding: 0 26px; }
.cb-wl-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid #A6182A;
  border-radius: 4px;
  color: #A6182A;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.cb-wl-register-btn:hover { background: #F7E4E7; }
@media (max-width: 640px) {
  .cb-wl-guest-banner { padding: 18px 16px; gap: 14px; }
  /* Side-by-side, each CTA got ~45% of the screen and "Log in to keep them"
     broke across two lines. Full-width blocks, one under the other, keep every
     label on a single line. */
  .cb-wl-guest-banner-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  /* box-sizing: there is no global border-box reset in this sheet, so without
     it `width: 100%` plus the buttons' own padding and 2px border overhangs the
     card. */
  .cb-wl-guest-banner .cb-wl-login-btn,
  .cb-wl-guest-banner .cb-wl-register-btn {
    box-sizing: border-box;
    width: 100%;
    flex: none;
  }
}

/* ── Custom Print guide bubble (Print My Miniature page nudge) ── */
.cb-cpguide-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 250px;
  background: #FBF8F2;
  color: #1A1614;
  border: 1px solid #E2DBCB;
  border-left: 3px solid #A6182A;
  border-radius: 8px;
  padding: 11px 12px;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 6px 24px rgba(26, 22, 20, 0.22);
  cursor: pointer;
  z-index: 30;
  animation: cb-cpguide-in 300ms cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
@keyframes cb-cpguide-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.cb-cpguide-bubble:hover { border-color: #A6182A; }
.cb-cpguide-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 26px;
  border: 7px solid transparent;
  border-top-color: #FBF8F2;
}
.cb-cpguide-text { flex: 1; }
.cb-cpguide-dismiss {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  color: #8A8680;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 3px;
}
.cb-cpguide-dismiss:hover { color: #A6182A; }
@media (prefers-reduced-motion: reduce) {
  .cb-cpguide-bubble { animation: none; }
}

/* When the widget sits on the LEFT (custom-print page — the tool's primary
   button owns bottom-right), the guide bubble mirrors to the left edge. */
.cb-root-left .cb-cpguide-bubble { right: auto; left: 0; }
.cb-root-left .cb-cpguide-bubble::after { right: auto; left: 26px; }

/* ── Custom-print compact pill (right side, dodges tool buttons) ── */
/* Custom-print: the tool's panel out-stacks the closed root's z-index:1 —
   lift the root on this page (still below the open-chat z). The root also
   carries a translateY dodge so the FULL-SIZE launcher clears tool buttons.
   Under 760px that same variable docks the root inside the bottom-right of
   the 3D stage instead — the tool is a single column there, so "clear of the
   buttons" is "on top of the guidance sheet". See the dodge in widget.js. */
.cb-root.cb-root-cpcompact {
  z-index: 55;
  /* The base .cb-root guard is `transform: none !important` (theme-transform
     protection), so the dodge rides a CSS variable at higher specificity. */
  transform: translateY(var(--cb-dodge, 0px)) !important;
  transition: transform 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cb-root.cb-root-cpcompact.cb-open { --cb-dodge: 0px; }
.cb-cp-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 270px;
  background: #FBF8F2;
  color: #1A1614;
  border: 1px solid #E2DBCB;
  border-left: 3px solid #A6182A;
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 6px 24px rgba(26, 22, 20, 0.22);
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
  /* backwards, not both: a persisting fill would override the dodge's
     inline translateY forever (animations beat inline styles). */
  animation: cb-cpguide-in 300ms cubic-bezier(0.2, 0.6, 0.2, 1) backwards;
}
.cb-cp-pill:hover { border-color: #A6182A; }
.cb-cp-pill-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
/* Dismissed → collapse to a round avatar-only chat glyph, still dodging. */
.cb-cp-pill-mini { max-width: 50px; padding: 5px; gap: 0; }
.cb-cp-pill-mini .cb-cpguide-text,
.cb-cp-pill-mini .cb-cpguide-dismiss { display: none; }
@media (prefers-reduced-motion: reduce) {
  .cb-cp-pill { animation: none; transition: none; }
}
.cb-cp-pill-wrap { display: block; }
