/* Search Best Sellers — shared styles */

:root {
  --paper: #faf7f2;
  --card: #ffffff;
  --ink: #17140f;
  --ink-2: #4a443b;
  --ink-3: #7c7469;
  --line: #e7e0d5;
  --line-2: #d8cfc1;
  --accent: #ff9900;
  --accent-deep: #c86a00;
  --accent-soft: #fff1dc;
  --focus: #1f6feb;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(23, 20, 15, .06), 0 8px 24px -12px rgba(23, 20, 15, .18);
  --shadow-lg: 0 2px 4px rgba(23, 20, 15, .05), 0 22px 48px -20px rgba(23, 20, 15, .28);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { background: #f1ebe1; color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 28px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-deep);
}
/* Micro crown from the logo mark, tinted with the accent color */
.eyebrow::before { content: ""; flex-shrink: 0; width: 16px; height: 13px; background: var(--accent); transform: translateY(-1px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20477%20381%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M234%204L241%204L245%208L279%2076L278%2080L275%2079L249%2053L240%2049L233%2049L227%2052L200%2079L196%2080L196%2076L230%208L234%204ZM236%2076L239%2076L244%2084L303%20263L310%20272L316%20273L323%20270L416%20195L421%20193L425%20196L425%20202L386%20358L379%20370L366%20376L239%20376L109%20376L97%20371L89%20357L50%20202L50%20196L52%20194L55%20193L59%20195L152%20270L159%20273L165%20272L172%20263L231%2084L236%2076ZM464%20136L471%20139L472%20146L447%20220L444%20221L443%20217L442%20176L435%20168L428%20165L389%20165L387%20162L464%20136ZM6%20137L22%20139L88%20162L87%20165L47%20165L40%20168L36%20172L32%20180L32%20217L30%20222L28%20220L4%20150L3%20142L6%20137Z%22/%3E%3C/svg%3E%0A"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20477%20381%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M234%204L241%204L245%208L279%2076L278%2080L275%2079L249%2053L240%2049L233%2049L227%2052L200%2079L196%2080L196%2076L230%208L234%204ZM236%2076L239%2076L244%2084L303%20263L310%20272L316%20273L323%20270L416%20195L421%20193L425%20196L425%20202L386%20358L379%20370L366%20376L239%20376L109%20376L97%20371L89%20357L50%20202L50%20196L52%20194L55%20193L59%20195L152%20270L159%20273L165%20272L172%20263L231%2084L236%2076ZM464%20136L471%20139L472%20146L447%20220L444%20221L443%20217L442%20176L435%20168L428%20165L389%20165L387%20162L464%20136ZM6%20137L22%20139L88%20162L87%20165L47%20165L40%20168L36%20172L32%20180L32%20217L30%20222L28%20220L4%20150L3%20142L6%20137Z%22/%3E%3C/svg%3E%0A");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -.02em;
  margin: 16px auto 14px; max-width: 17ch;
}
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero .lede { font-size: clamp(16px, 2.1vw, 19px); color: var(--ink-2); max-width: 560px; margin: 0 auto; }

/* ---------- Search bar ---------- */
.searchbar {
  display: flex; align-items: stretch; gap: 0;
  max-width: 720px; margin: 32px auto 0;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 999px; box-shadow: var(--shadow-lg);
  padding: 6px; transition: border-color .15s, box-shadow .15s;
}
.searchbar:focus-within { border-color: var(--ink); }
.store-picker { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.store-picker select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 0 30px 0 16px; height: 100%; min-height: 48px;
  border-radius: 999px;
}
.store-picker select:hover { background: #f6f1e8; }
.store-picker::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.searchbar .divider { width: 1px; background: var(--line); margin: 10px 4px; flex-shrink: 0; }
.searchbar .field { flex: 1; display: flex; align-items: center; min-width: 0; }
.searchbar .field svg { flex-shrink: 0; margin: 0 6px 0 10px; color: var(--ink-3); }
.searchbar input[type="search"] {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 17px; padding: 12px 8px; color: var(--ink);
}
.searchbar input[type="search"]::placeholder { color: #a39a8d; }
.searchbar input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.btn-search {
  flex-shrink: 0; border: 0; cursor: pointer;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 16px;
  padding: 0 26px; border-radius: 999px; min-height: 48px;
  transition: background .15s, transform .05s;
}
.btn-search:hover { background: #ffad33; }
.btn-search:active { transform: translateY(1px); }

/* Research-in-the-US switch */
.store-switch { display: flex; justify-content: center; margin: 14px auto 0; }
.store-switch[hidden] { display: none; }
.switch-btn {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 18px 10px 14px; border-radius: 999px; box-shadow: var(--shadow);
  transition: background .15s, transform .05s;
}
.switch-btn:hover { background: #2c2720; }
.switch-btn:active { transform: translateY(1px); }
.switch-btn .flag { font-size: 20px; line-height: 1; }
.switch-btn strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.switch-btn em { display: block; font-style: normal; font-size: 12.5px; color: #cfc6b8; line-height: 1.3; }
.switch-btn .arrow { color: var(--accent); font-weight: 700; font-size: 18px; }
.switch-btn.is-return { background: var(--accent); color: var(--ink); }
.switch-btn.is-return em { color: #5a3a00; }
.switch-btn.is-return .arrow { color: var(--ink); }
.switch-btn.is-return:hover { background: #ffad33; }
body.embed .store-switch { justify-content: flex-start; margin: 10px 0 0; }
body.embed .switch-btn { padding: 7px 14px 7px 10px; gap: 10px; }
body.embed .switch-btn strong { font-size: 13.5px; }
body.embed .switch-btn em { font-size: 11.5px; }

/* Quick-start chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 18px auto 0; }
.chips .label { font-size: 14px; color: var(--ink-3); align-self: center; margin-right: 2px; }
.chip {
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2);
  font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Results ---------- */
.results-section { padding: 8px 0 24px; }
.results-head {
  display: none; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: 820px; margin: 28px auto 14px; padding: 0 2px;
}
.results-head.is-visible { display: flex; }
.results-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.results-head h2 span { color: var(--accent-deep); }
.results-head p { margin: 0; font-size: 14px; color: var(--ink-3); }
#sbs-results { max-width: 820px; margin: 0 auto; }

.state {
  display: none; max-width: 820px; margin: 12px auto 0; text-align: center;
  background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
  padding: 40px 24px; color: var(--ink-2);
}
.state.is-visible { display: block; }
.state h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.state p { margin: 0 auto; max-width: 460px; font-size: 15px; }
.state .chips { margin-top: 16px; }
.loading { display: none; justify-content: center; padding: 28px 0; }
.loading.is-visible { display: flex; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Google Programmable Search result overrides */
.sbs-cse .gsc-control-cse,
.sbs-cse .gsc-control-wrapper-cse { background: transparent !important; border: 0 !important; padding: 0 !important; font-family: var(--sans) !important; }
.sbs-cse .gsc-above-wrapper-area,
.sbs-cse .gcsc-find-more-on-google-root,
.sbs-cse .gcsc-more-maybe-branding-root,
.sbs-cse .gsc-result-info-container,
.sbs-cse .gsc-orderby-container,
.sbs-cse .gs-no-results-result,
.sbs-cse .gs-snippet { display: none !important; }
.sbs-cse .gsc-results { width: 100% !important; padding: 0 !important; }
.sbs-cse .gsc-wrapper, .sbs-cse .gsc-resultsbox-visible { max-width: none !important; width: 100% !important; }
.sbs-cse .gsc-webResult.gsc-result {
  background: var(--card) !important; border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; padding: 16px 18px !important; margin: 0 0 12px !important;
  box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.sbs-cse .gsc-webResult.gsc-result:hover { border-color: var(--line-2) !important; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.sbs-cse .gs-webResult .gsc-table-result { display: flex !important; flex-direction: row-reverse; align-items: center; gap: 18px; }
.sbs-cse .gsc-table-result .gsc-table-cell-snippet-close { flex: 1; min-width: 0; }
.sbs-cse .gsc-table-result .gsc-table-cell-thumbnail { padding: 0 !important; flex-shrink: 0; }
.sbs-cse .gs-image-box { width: 84px !important; height: 84px !important; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; overflow: hidden; }
.sbs-cse .gs-image-box img.gs-image { max-width: 84px !important; max-height: 84px !important; width: auto !important; height: auto !important; border: 0 !important; object-fit: contain; }
.sbs-cse .gs-title, .sbs-cse .gs-title * { font-family: var(--sans) !important; text-decoration: none !important; }
.sbs-cse a.gs-title {
  display: block; height: auto !important; overflow: visible !important;
  font-size: 18px !important; line-height: 1.3 !important; font-weight: 700 !important;
  color: var(--ink) !important; letter-spacing: -.01em;
}
.sbs-cse a.gs-title b { font-weight: 700 !important; color: inherit !important; }
.sbs-cse a.gs-title:hover { color: var(--accent-deep) !important; }
.sbs-cse .gsc-url-top { padding-top: 4px !important; }
.sbs-cse .gs-visibleUrl, .sbs-cse .gs-visibleUrl-breadcrumb, .sbs-cse .gs-visibleUrl-short, .sbs-cse .gs-visibleUrl-long { font-size: 13px !important; color: var(--ink-3) !important; }
.sbs-cse .gsc-thumbnail-inside { padding: 0 !important; }
.sbs-cse .sbs-cta { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent-deep); letter-spacing: .02em; }
.sbs-cse .gsc-adBlock { margin-bottom: 12px !important; }
.sbs-cse .gsc-cursor-box { margin: 18px 0 0 !important; text-align: center; }
.sbs-cse .gsc-cursor-page {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; margin: 0 3px !important; border-radius: 999px;
  background: var(--card) !important; border: 1px solid var(--line) !important;
  color: var(--ink-2) !important; text-decoration: none !important; font-size: 14px;
}
.sbs-cse .gsc-cursor-current-page { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.sbs-cse .gcsc-branding { padding-top: 6px !important; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.015em; margin: 10px 0 10px; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

.band {
  background: var(--ink); color: #f6f1e8; border-radius: 28px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  padding: 48px; position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, .35), rgba(255, 153, 0, 0) 70%);
}
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 44px); line-height: 1.08; margin: 10px 0 12px; letter-spacing: -.015em; }
.band p { margin: 0; color: #cfc6b8; font-size: 16px; max-width: 46ch; }
.band .eyebrow { color: var(--accent); }
.band-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.band-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #e9e2d6; }
.band-points li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2317140f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 16px; border-radius: 999px;
  padding: 13px 24px; border: 0; cursor: pointer; transition: background .15s, transform .05s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffad33; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c2720; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.band .btn { margin-top: 24px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%2317140f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s, background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; font-size: 14px; color: var(--ink-3); }
.site-footer .wrap { display: grid; gap: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-top nav { display: flex; gap: 18px; }
.footer-top nav a { text-decoration: none; color: var(--ink-2); }
.footer-top nav a:hover { color: var(--ink); }
.disclosure { margin: 0; max-width: 80ch; }

/* ---------- Widget builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.panel h2 { font-size: 20px; margin: 0 0 4px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.panel .sub { margin: 0 0 22px; color: var(--ink-3); font-size: 14px; }
.stepper { display: flex; gap: 8px; margin-bottom: 22px; }
.stepper span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.stepper span.is-on { background: var(--accent); }
.field-group { margin-bottom: 18px; }
.field-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field-group input {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
  padding: 11px 13px; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field-group input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 20, 15, .08); }
.field-group input.is-invalid { border-color: #c0392b; }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.hint a { color: var(--ink-2); }
.hint code { background: #f3ede3; padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.more-tags { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin-bottom: 18px; }
.more-tags summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 14px; }
.more-tags .tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 4px 0 14px; }
.more-tags .tag-grid label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 4px; }
.more-tags .tag-grid input { width: 100%; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.more-tags .tag-grid input:focus { outline: 0; border-color: var(--ink); }
.status { font-size: 14px; margin-top: 12px; min-height: 20px; }
.status.error { color: #b42318; }
.status.success { color: #18794e; }
.btn-block { width: 100%; }
.code-wrap { position: relative; }
.code {
  background: #17140f; color: #f2d7a7; border-radius: 12px; padding: 18px 18px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-all; max-height: 260px; overflow: auto; margin: 0;
}
.code-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.preview-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.preview-label strong { color: var(--ink); font-size: 15px; }
.preview-frame { background: repeating-linear-gradient(45deg, #f4efe6, #f4efe6 10px, #f8f4ed 10px, #f8f4ed 20px); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.preview-frame iframe { width: 100%; border: 0; display: block; height: 130px; border-radius: 14px; background: transparent; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.checklist li { display: flex; gap: 8px; }
.checklist li::before { content: "✓"; color: var(--accent-deep); font-weight: 700; }
.is-hidden { display: none !important; }

/* ---------- Embed (iframe widget) ---------- */
body.embed { background: transparent; }
body.embed .searchbar { margin: 0; max-width: none; box-shadow: var(--shadow); }
body.embed .results-head { margin: 18px 0 10px; max-width: none; }
body.embed #sbs-results, body.embed .state { max-width: none; }
.embed-shell { padding: 10px 10px 8px; background: var(--paper); border-radius: 24px; color: var(--ink); }
.embed-credit { text-align: right; font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.embed-credit a { color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 36px 28px; }
  .builder { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header .wrap { height: 58px; }
  .brand span { display: none; }
  .nav a { padding: 7px 12px; font-size: 14px; }
  .hero { padding: 40px 0 16px; }
  .searchbar { flex-wrap: wrap; border-radius: 22px; padding: 6px; }
  .store-picker { order: 1; }
  .searchbar .divider { display: none; }
  .searchbar .field { order: 3; flex-basis: 100%; border-top: 1px solid var(--line); margin-top: 4px; }
  .btn-search { order: 2; margin-left: auto; min-height: 42px; padding: 0 20px; }
  .store-picker select { min-height: 42px; }
  .section { padding: 52px 0; }
  .sbs-cse .gs-image-box { width: 64px !important; height: 64px !important; }
  .sbs-cse .gs-image-box img.gs-image { max-width: 64px !important; max-height: 64px !important; }
  .sbs-cse a.gs-title { font-size: 16px !important; }
  .panel { padding: 22px; }
  .more-tags .tag-grid { grid-template-columns: 1fr; }
  body.embed .searchbar { flex-wrap: nowrap; border-radius: 999px; }
  body.embed .store-picker { order: 0; }
  body.embed .searchbar .field { order: 0; flex-basis: auto; border-top: 0; margin-top: 0; }
  body.embed .btn-search { order: 0; margin-left: 0; padding: 0 16px; }
  body.embed .btn-search .label { display: none; }
  body.embed .store-picker select { padding: 0 24px 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
