/* Selected botanical homepage. Component rules are scoped to the new Home. */
.home-refreshed .dashboard-shell { padding: 0; }
html body.home-refreshed .topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr auto 1fr;
  align-items: center;
  width: min(1230px, calc(100% - 48px));
  height: 104px;
  min-height: 104px;
  gap: 24px;
  margin: 0 auto;
  padding: 16px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.home-refreshed .topbar-brand { flex: none; min-width: 0; gap: 13px; }
.home-refreshed .brand-mark { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px; }
.home-refreshed .brand-mark img { width: 56px; height: 56px; }
.home-refreshed .topbar-brand strong { font-size: 27px; line-height: 1.15; letter-spacing: -.8px; }
.home-refreshed .topbar-brand small:not(.sr-only) { display: block; font-size: 12px; font-weight: 400; line-height: 1.4; margin-top: 4px; max-width: 280px; white-space: normal; }
.home-refreshed .top-nav { display: flex; position: static; width: auto; margin: 0; padding: 0; border: 0; gap: 10px; background: transparent; box-shadow: none; }
.home-refreshed .top-nav a { min-height: 42px; padding: 0 19px; border-radius: 18px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.home-refreshed .home-actions { justify-self: end; display: flex; gap: 24px; padding: 0; }
html body.home-refreshed .user-chip { display: inline-flex; align-items: center; gap: 10px; min-width: 120px; min-height: 44px; border: 1px solid var(--gp-accent); padding: 0 20px; border-radius: 999px; background: transparent !important; }
html body.home-refreshed .user-chip strong { font-size: 15px; color: var(--gp-accent) !important; }
.home-refreshed .home-main { display: block; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 0 40px !important; }
.home-refreshed .home-hero {
  position: relative;
  display: block !important;
  height: 346px;
  min-height: 346px !important;
  margin: 0;
  padding: 25px 0 28px !important;
  overflow: hidden;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}
.home-refreshed .home-hero::before, .home-refreshed .home-hero::after { display: none; }
.home-refreshed .home-hero-copy { display: block; width: 520px; max-width: none; padding: 0; margin: 0 auto; position: relative; z-index: 2; }
.home-refreshed .hero-kicker { display: block; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase !important; padding: 0; border: 0; background: transparent; }
.home-refreshed .home-hero h1 { max-width: none; margin: 14px 0 0 !important; font-size: 56px !important; font-weight: 900; line-height: .96 !important; letter-spacing: -1.7px; }
html body.home-refreshed .home-hero h1 span { color: var(--gp-accent) !important; }
.home-refreshed .home-hero p { margin: 17px 0 0 !important; font-size: 17px !important; font-weight: 400; line-height: 1.45 !important; max-width: none; }
.home-refreshed .home-search { display: flex; align-items: center; gap: 18px; width: 728px; max-width: none; min-height: 72px; margin: 26px 0 0 -166px; padding: 8px 8px 8px 26px; border: 1px solid var(--gp-line); border-radius: 28px; background: var(--gp-surface); box-shadow: var(--gp-shadow); }
html body.home-refreshed .home-search input { flex: 1 1 auto; width: 0; min-width: 0; height: 50px; padding: 0; border: 0 !important; border-radius: 8px; background: transparent !important; font-size: 15px; box-shadow: none; }
.home-refreshed .home-search .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex: 0 0 176px; min-height: 54px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.home-refreshed .home-search .ui-icon { width: 21px; height: 21px; }
.home-refreshed .home-hero-visual { position: absolute; inset: auto max(calc((100vw - 1200px) / 2 + 28px), 5%) 0 auto; display: block; width: 320px; min-height: 0 !important; height: 320px; border: 0; border-radius: 0 !important; padding: 0; overflow: visible; background: transparent; box-shadow: none; pointer-events: none; }
.home-refreshed .home-hero-visual::before, .home-refreshed .home-hero-visual::after { display: none; }
.home-refreshed .home-hero-visual img { position: static; width: 320px !important; height: 320px !important; max-width: none; margin: 0; object-fit: contain; filter: none; transform: none; animation: none; }
.home-refreshed .home-browse { display: flex; align-items: center; gap: 20px; width: min(1360px, calc(100% - 64px)); min-height: 80px; margin: 0 auto; padding: 18px 0; }
.browse-select { display: flex; align-items: center; gap: 12px; min-width: 190px; height: 44px; padding: 0 13px; border: 1px solid var(--gp-line); border-radius: 14px; background: var(--gp-soft); }
html body .browse-select select { width: 100%; height: 42px; min-width: 0; padding: 0; border: 0; background: transparent !important; font-size: 12px; cursor: pointer; }
/* Native menus need their own color pair; legacy options otherwise keep a white background. */
html body.home-refreshed .browse-select select { color-scheme: dark; }
html:root[data-theme='light'] body.home-refreshed .browse-select select { color-scheme: light; }
html body.home-refreshed .browse-select select :is(option, optgroup) {
  background-color: var(--gp-surface) !important;
  color: var(--gp-heading) !important;
}
html body.home-refreshed .browse-select:focus-within { border-color: var(--gp-accent); }
html body.home-refreshed .browse-select select:focus { box-shadow: none; }
.browse-store { min-width: 190px; }
.home-categories { display: flex; align-items: center; justify-content: space-between; flex: 1; min-width: 0; gap: 12px; padding: 0 20px; border-inline: 1px solid var(--gp-line); }
.home-categories a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; min-height: 44px; color: var(--gp-muted); font-size: 12px; white-space: nowrap; text-decoration: none; }
.home-categories a:hover { color: var(--gp-accent); }
.home-categories .ui-icon { width: 22px; height: 22px; color: var(--gp-heading); }
html body.home-refreshed .home-featured { width: min(1360px, calc(100% - 64px)); margin: 28px auto 0; padding: 0; border: 0; border-radius: 0; background: transparent !important; box-shadow: none !important; }
.home-refreshed .home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.home-refreshed .home-section-heading h2 { font-size: 27px; line-height: 1.25; font-weight: 800; letter-spacing: -.7px; }
.home-refreshed .home-section-heading p { margin-top: 5px; font-size: 14px; line-height: 1.5; }
.home-refreshed .home-section-heading .text-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 14px; min-height: 42px; padding: 0 20px; border: 1px solid var(--gp-accent); border-radius: 999px; font-size: 13px; text-decoration: none; }
.home-refreshed .home-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-refreshed .home-compact-card { display: grid; grid-template-columns: 46% minmax(0, 1fr); grid-template-rows: 1fr; gap: 10px; min-width: 0; min-height: 248px; padding: 18px 16px 16px 12px; border: 1px solid var(--gp-line); border-radius: 15px; overflow: hidden; transition: transform 220ms ease, border-color 220ms ease; }
html body.home-refreshed .home-compact-card .product-image-link { position: relative; display: flex; justify-content: center; align-items: center; min-height: 0; height: auto; align-self: stretch; padding: 0; background: var(--gp-surface) !important; border: 0; border-radius: 10px; overflow: hidden; }
.home-refreshed .home-compact-card .product-image { max-width: 100%; width: 100%; max-height: 195px; height: auto; padding: 0; object-fit: contain; mix-blend-mode: multiply; border-radius: 8px; }
html body.home-refreshed .home-compact-card .product-image-link { background: #dde1ce !important; }
:root[data-theme='light'] body.home-refreshed .home-compact-card .product-image-link { background: #f2f5ed !important; }
.home-refreshed .home-compact-card .product-body { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; padding: 16px 0 0; }
.home-refreshed .home-compact-card .product-title { display: -webkit-box; order: 0; min-height: 34px; max-height: 38px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; line-height: 1.35; font-weight: 600; }
.home-refreshed .home-compact-card .product-rating { order: 1; display: block; min-height: 17px; margin: 7px 0 0; padding: 0; font-size: 10px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-refreshed .home-compact-card .price-row { display: flex; flex-direction: column; align-items: start; order: 2; gap: 0; margin: 8px 0 0; min-height: 39px; }
html body.home-refreshed .home-compact-card .product-price { font-size: clamp(17px, 1.65vw, 24px); font-weight: 800; line-height: 1.3; white-space: nowrap; color: var(--gp-accent) !important; }
.home-refreshed .home-compact-card .price-change { font-size: 10px; line-height: 1.3; color: var(--gp-muted); text-decoration: line-through; }
.home-refreshed .home-compact-card .source-badge { order: 3; align-self: start; margin: 6px 0 9px; min-width: 0; width: auto; height: 25px; padding: 2px 7px; }
.home-refreshed .home-compact-card .source-badge-logo { max-width: 74px; width: 74px; height: 21px; object-fit: contain; }
.home-refreshed .home-compact-card .product-actions { display: flex; order: 4; gap: 7px; align-items: center; margin-top: auto; }
.home-refreshed .home-compact-card .product-link { flex: 1; display: inline-flex; min-width: 0; min-height: 40px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
.home-refreshed .home-compact-card .product-alert-button { display: inline-flex; width: 32px; min-height: 40px; padding: 0; font-size: 0; border: 0; }
.home-refreshed .home-compact-card .product-alert-button::after { content: ''; display: block; width: 18px; height: 18px; background: currentColor; mask: url('./assets/ui/bell.svg') center / contain no-repeat; }
.home-refreshed .home-compact-card :is(.product-seller, .product-note, .history-strip, .product-detail-link, .product-verification) { display: none !important; }
.home-refreshed .home-compact-card .offer-coupon { grid-column: 1 / -1; font-size: 11px; }
.home-alert-banner { display: flex; align-items: center; gap: 20px; width: min(1230px, calc(100% - 64px)); min-height: 100px; margin: 32px auto 0; padding: 16px 32px; border: 1px solid var(--gp-line); border-radius: 16px; background: var(--gp-soft); }
.home-alert-icon { display: grid; place-items: center; flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--gp-surface-raised); color: var(--gp-accent); }
.home-alert-icon .ui-icon { width: 30px; height: 30px; }
.home-alert-banner h2 { font-size: 17px; line-height: 1.4; letter-spacing: -.4px; }
.home-alert-banner p { margin-top: 3px; font-size: 14px; }
html body.home-refreshed .home-alert-banner .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; margin-left: auto; padding: 0 22px; border: 1px solid var(--gp-accent); border-radius: 999px; font-size: 14px; white-space: nowrap; background: var(--gp-accent) !important; color: var(--gp-button-ink) !important; }
html body.home-refreshed .home-how, html body.home-refreshed .home-cta { width: min(1230px, calc(100% - 64px)); margin: 64px auto 0; padding: 28px 0; background: transparent !important; border: 0; border-top: 1px solid var(--gp-line); border-radius: 0; box-shadow: none !important; }
.home-refreshed .home-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-refreshed .home-steps article { min-height: 0; padding: 22px; border: 1px solid var(--gp-line); border-radius: 16px; }
.home-refreshed .home-steps h3 { font-size: 16px; }
.home-refreshed .home-steps p { font-size: 13px; }
.home-refreshed #guias .home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-refreshed .home-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-refreshed .home-cta h2 { max-width: 630px; font-size: 25px; }
.home-refreshed .home-cta .primary-button, .home-refreshed .home-cta .secondary-button { min-height: 46px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .home-refreshed .home-compact-card:hover { transform: translateY(-4px); border-color: var(--gp-accent); } }
@media (max-width: 1200px) {
  .home-refreshed .topbar-brand small:not(.sr-only) { display: none; }
  .home-refreshed .home-actions { gap: 12px; }
  .home-refreshed .top-nav a { padding-inline: 13px; }
  .home-refreshed .home-hero-copy { margin-left: calc(50% - 290px); }
  .home-refreshed .home-hero-visual { right: 0; }
  .home-refreshed .home-search { width: 650px; margin-left: -100px; }
  .home-refreshed .home-browse { gap: 12px; }
  .home-categories { overflow-x: auto; justify-content: flex-start; padding-inline: 12px; gap: 24px; scrollbar-width: thin; }
  .home-refreshed .home-compact-card { grid-template-columns: 40% minmax(0, 1fr); gap: 8px; padding-inline: 10px; }
  .home-refreshed .home-compact-card .product-actions { flex-wrap: wrap; gap: 0; }
  .home-refreshed .home-compact-card .product-alert-button { display: none; }
}
@media (max-width: 960px) {
  html body.home-refreshed .topbar { grid-template-columns: 1fr auto; }
  .home-refreshed .topbar-brand strong { font-size: 24px; }
  .home-refreshed .top-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; }
  .home-refreshed .home-actions { grid-column: 2; grid-row: 1; }
  .home-refreshed .home-hero { height: 346px; }
  .home-refreshed .home-hero-copy { width: calc(100% - 48px); margin-left: 24px; }
  .home-refreshed .home-hero h1 { font-size: 46px !important; }
  .home-refreshed .home-hero p { font-size: 15px !important; max-width: calc(100% - 210px); }
  .home-refreshed .home-hero-visual { width: 200px; height: 200px; right: 0; bottom: 142px; }
  .home-refreshed .home-hero-visual img { width: 200px !important; height: 200px !important; }
  .home-refreshed .home-search { margin-left: 0; width: 100%; }
  .home-refreshed .home-browse { width: calc(100% - 40px); flex-wrap: wrap; }
  .home-categories { order: 2; flex-basis: 100%; border: 0; padding: 0; }
  .browse-store { margin-left: auto; }
  .home-refreshed .home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-refreshed .home-compact-card { min-height: 220px; grid-template-columns: 45% minmax(0, 1fr); padding: 16px; }
  .home-refreshed .home-compact-card .product-price { font-size: 24px; }
  .home-refreshed .home-compact-card .product-alert-button { display: inline-flex; }
  .home-refreshed .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html body.home-refreshed { background-size: auto 460px !important; }
  html body.home-refreshed .topbar { width: calc(100% - 32px) !important; margin: 0 auto !important; }
  .home-refreshed .topbar-brand { margin-right: auto; gap: 8px; }
  .home-refreshed .brand-mark, .home-refreshed .brand-mark img { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .home-refreshed .topbar-brand strong { font-size: 21px; letter-spacing: -.8px; }
  .home-refreshed .topbar .topbar-actions.home-actions { gap: 8px; width: auto !important; min-width: 0 !important; flex: 0 0 auto; }
  html body.home-refreshed .topbar .topbar-actions.home-actions .user-chip { display: inline-flex !important; min-width: 0; width: 42px; min-height: 42px; padding: 0; justify-content: center; }
  html body.home-refreshed .topbar .topbar-actions.home-actions .user-chip .ui-icon { display: inline-block !important; }
  .home-refreshed .user-chip strong { display: none; }
  .home-refreshed .theme-controls button { width: 40px; height: 40px; }
  .home-refreshed .top-nav a { min-height: 44px; flex: 1; font-size: 12px; padding: 0 6px; border-radius: 12px; }
  .home-refreshed .home-hero { display: grid !important; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; min-height: 0 !important; height: auto; padding: 15px 20px 20px !important; overflow: visible; }
  .home-refreshed .home-hero-copy { display: contents; width: 100%; margin: 0; }
  .home-refreshed .home-hero :is(.hero-kicker, h1) { grid-column: 1 / span 2; }
  .home-refreshed .hero-kicker { max-width: 270px; font-size: 9px; line-height: 1.5; letter-spacing: 1.1px; }
  .home-refreshed .home-hero h1 { margin-top: 0 !important; max-width: 350px; font-size: clamp(28px, 8.3vw, 40px) !important; line-height: 1.04 !important; letter-spacing: -1.4px; }
  .home-refreshed .home-hero p { grid-column: 1; grid-row: 3; max-width: none; margin-top: 0 !important; font-size: 13px !important; line-height: 1.5 !important; }
  .desktop-break { display: none; }
  .home-refreshed .home-hero-visual { position: static; grid-column: 2; grid-row: 3; align-self: center; width: 120px; height: 120px; min-height: 0 !important; }
  .home-refreshed .home-hero-visual img { width: 120px !important; height: 120px !important; max-width: 100%; }
  .home-refreshed .home-search { position: static; grid-column: 1 / span 2; grid-row: 4; width: 100%; min-height: 56px; margin: 0; padding: 6px 6px 6px 12px; gap: 10px; border-radius: 20px; }
  .home-refreshed .home-search .icon-search { width: 17px; height: 17px; }
  html body.home-refreshed .home-search input { height: 42px; font-size: 12px; }
  .home-refreshed .home-search .primary-button { flex-basis: 104px; min-height: 44px; padding: 0 10px; gap: 0; font-size: 11px !important; white-space: nowrap; }
  .home-refreshed .home-search .primary-button .ui-icon { display: none; }
  .home-refreshed .home-browse { width: calc(100% - 32px); min-height: 106px; gap: 8px; padding: 10px 0 5px; }
  .browse-select { min-width: 0; width: calc(50% - 4px); gap: 7px; padding-inline: 10px; border-radius: 12px; }
  .browse-select .ui-icon { width: 17px; height: 17px; }
  html body .browse-select select { font-size: 12px; }
  .home-categories { gap: 22px; }
  .home-categories a { font-size: 11px; min-height: 42px; gap: 8px; }
  .home-categories .ui-icon { width: 18px; height: 18px; }
  html body.home-refreshed .home-featured { width: calc(100% - 32px); margin-top: 23px; padding: 0; }
  .home-refreshed .home-section-heading { display: flex; align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
  .home-refreshed .home-section-heading h2 { font-size: 23px; }
  .home-refreshed .home-section-heading p { font-size: 12px; max-width: 300px; margin-top: 5px; }
  .home-refreshed .home-section-heading .text-button { min-height: 40px; padding: 0 14px; font-size: 11px; gap: 9px; }
  .home-refreshed .home-featured-grid { gap: 10px; }
  .home-refreshed .home-compact-card { display: flex; flex-direction: column; gap: 8px; min-height: 330px; padding: 12px; border-radius: 16px; }
  html body.home-refreshed .home-compact-card .product-image-link { flex: 0 0 125px; min-height: 125px; height: 125px; align-self: stretch; }
  .home-refreshed .home-compact-card .product-image { height: 125px; max-height: 125px; width: 100%; }
  .home-refreshed .home-compact-card .product-body { flex: 1; padding: 0; }
  .home-refreshed .home-compact-card .product-title { font-size: 12px; min-height: 33px; }
  .home-refreshed .home-compact-card .product-rating { font-size: 10px; margin-top: 4px; }
  .home-refreshed .home-compact-card .price-row { margin-top: 5px; min-height: 33px; }
  html body.home-refreshed .home-compact-card .product-price { font-size: clamp(15px, 4.5vw, 20px); }
  .home-refreshed .home-compact-card .price-change { font-size: 9px; }
  .home-refreshed .home-compact-card .product-actions { flex-wrap: nowrap; }
  .home-refreshed .home-compact-card .product-link { min-height: 40px; font-size: 11px; }
  .home-refreshed .home-compact-card .product-alert-button { display: none; }
  .home-alert-banner { width: calc(100% - 32px); margin-top: 24px; padding: 20px; gap: 12px; flex-wrap: wrap; }
  .home-alert-icon { flex-basis: 44px; height: 44px; }
  .home-alert-icon .ui-icon { width: 24px; height: 24px; }
  .home-alert-banner > div { flex: 1; min-width: 0; }
  .home-alert-banner h2 { font-size: 14px; }
  .home-alert-banner p { font-size: 12px; }
  .home-alert-banner .secondary-button { min-height: 44px; margin: 4px 0 0 56px; font-size: 12px; }
  html body.home-refreshed .home-how, html body.home-refreshed .home-cta { width: calc(100% - 32px); padding: 24px 0; margin-top: 32px; }
  .home-refreshed .home-steps, .home-refreshed #guias .home-steps { grid-template-columns: 1fr; gap: 12px; }
  .home-refreshed .home-steps article { padding: 20px; }
  .home-refreshed .home-cta { display: block; }
  .home-refreshed .home-cta h2 { font-size: 22px; }
  .home-refreshed .home-cta-actions { margin-top: 20px; }
}
@media (max-width: 400px) {
  .home-refreshed .browse-select { width: 100%; }
  .home-refreshed .home-search { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 10px; }
  html body.home-refreshed .home-search input { width: 100%; }
  .home-refreshed .home-search .primary-button { grid-column: 1 / -1; width: 100%; border-radius: 14px; }
}
@media (max-width: 360px) {
  html body.home-refreshed .topbar { width: calc(100% - 24px) !important; gap: 4px; }
  .home-refreshed .topbar-brand { gap: 5px; }
  .home-refreshed .brand-mark, .home-refreshed .brand-mark img { width: 32px; height: 32px; flex-basis: 32px; }
  .home-refreshed .topbar-brand strong { font-size: 17px; }
  .home-refreshed .topbar .topbar-actions.home-actions { gap: 4px; }
  .home-refreshed .home-hero { padding-inline: 16px !important; }
  .home-refreshed .home-hero p { max-width: none; font-size: 12px !important; }
  .home-refreshed .home-search { padding-left: 10px; gap: 7px; }
  .home-refreshed .home-search .primary-button { flex-basis: 90px; font-size: 10px !important; }
}
