/* The Cast's editorial home: a quiet header, a generous feature and open product rails. */
.global-storefront body.theme-beclean.app-home-page {
  --cast-content-width: 1180px;
  --cast-home-gutter: 40px;
  --cast-discount: #ef6253;
}
.global-storefront .app-home-page .gp-wrap,
.global-storefront .app-home-page .app-home-preferences {
  width: min(var(--cast-content-width), calc(100% - var(--cast-home-gutter) * 2));
}
.global-storefront body.theme-beclean.app-home-page .page-shell { overflow: visible; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar {
  border-bottom: 1px solid #ebebeb;
}
/* Keep shopping controls in one row; business and delivery settings live below the catalog. */
.global-storefront .app-home-page .app-home-preferences .gp-utility-strip { display: block; }
.global-storefront .app-home-page .app-home-preferences .gp-preferences {
  justify-content: flex-start;
  gap: 24px;
  min-height: 40px;
  color: #777;
}
.global-storefront .app-home-page .app-home-preferences .utility-nav-label { display: inline !important; font-size: 12px; }
.global-storefront body.theme-beclean.app-home-page .app-home-preferences .header-icon-btn { width: auto; gap: 6px; font-size: 12px; }
.global-storefront .app-home-page .app-home-preferences .cast-app-icon { display: none; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .topbar-inner {
  width: min(var(--cast-content-width), calc(100% - var(--cast-home-gutter) * 2));
  max-width: var(--cast-content-width);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  grid-template-rows: 72px !important;
  gap: 20px;
}
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .header-brand { grid-area: 1 / 2 !important; min-width: 0; max-width: 100%; justify-self: center; }
.global-storefront .app-home-page.cast-app-header .gp-wordmark { height: 28px; width: auto; }
.global-storefront .app-home-page.cast-app-header .gp-app-leading { grid-area: 1 / 1; gap: 12px; }
.global-storefront .app-home-page.cast-app-header .gp-search,
.global-storefront .app-home-page.cast-app-header .gp-search:focus-within { position: static; inset: auto; flex: 0 0 40px; width: 40px; max-width: 40px; height: 44px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.global-storefront .app-home-page.cast-app-header .gp-search input { position: absolute; width: 0; opacity: 0; padding: 0; pointer-events: none; }
.global-storefront .app-home-page.cast-app-header .gp-search button { flex: 0 0 40px; width: 40px; height: 44px; }
.global-storefront .app-home-page.cast-app-header .gp-search .cast-search-close { display: none; font: 28px/1 Pretendard, sans-serif; }
.global-storefront .app-home-page.cast-app-header .gp-search.is-search-open { position: absolute; inset-inline: 0; top: 0; z-index: 150; width: 100%; max-width: none; height: 72px; background: #fff; }
.global-storefront .app-home-page.cast-app-header .gp-search.is-search-open input { position: static; width: 100%; opacity: 1; padding-inline: 16px; pointer-events: auto; font-size: 14px; }
.global-storefront .app-home-page.cast-app-header .gp-search.is-search-open input:focus-visible { outline: none; box-shadow: none; }
.global-storefront .app-home-page.cast-app-header .gp-search.is-search-open .cast-search-close { display: grid; place-items: center; }
.global-storefront .app-home-page .gp-app-gift { display: none; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .utility-nav { grid-area: 1 / 3 !important; gap: 10px; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .header-icon-btn { width: 40px; height: 44px; color: #343831; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar #authTrigger { width: 40px; min-width: 40px; }
.global-storefront .app-home-page.cast-app-header .topbar #authTrigger .utility-nav-label { display: none !important; }
.global-storefront .app-home-page.cast-app-header .topbar #authTrigger .cast-app-icon { display: inline-block !important; }
.global-storefront .app-home-page.cast-app-header .topbar #authTrigger .account-info { display: none !important; }
.global-storefront .app-home-page.cast-app-header .topbar .cast-app-icon { font-size: 23px !important; width: 23px; height: 23px; }
.global-storefront .app-home-page .app-home-preferences .cast-primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 12px 0; border-top: 1px solid #eceee8; }
.global-storefront .app-home-page .app-home-preferences .cast-primary-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #687060; text-decoration: none; font-size: 12px; }
.global-storefront .app-home-page .app-home-preferences .cast-primary-nav .cast-footer-admin { margin-inline-start: auto; }
.global-storefront .app-home-page .app-home-preferences .cast-primary-nav a:hover { color: #222; }
.global-storefront .app-home-page .app-home-preferences .cast-primary-nav a:focus-visible { outline: 2px solid #65765e; outline-offset: 3px; }
/* Match the corporate homepage's compact code-and-globe selector. */
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher--dropdown { margin: 0; margin-inline-start: 0; padding: 0; width: auto; min-width: 0; height: 44px; min-height: 44px; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-trigger { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0; color: #181d21; background: transparent; gap: 8px; box-shadow: none; }
.global-storefront .app-home-page.cast-app-header .topbar .language-switcher-globe { flex: 0 0 20px; width: 20px; height: 20px; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-panel { top: calc(100% + 12px); bottom: auto; inset-inline-end: auto; inset-inline-start: 0; width: 74px; min-width: 74px; max-width: 74px; max-height: min(456px, calc(100dvh - 96px)); padding: 8px 0; overflow-y: auto; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); scrollbar-width: thin; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-option { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #999; font-size: 16px; font-weight: 500; line-height: 20px; text-align: center; }
.global-storefront .app-home-page.cast-app-header .topbar .language-switcher-option::before { content: attr(data-language-code); }
.global-storefront .app-home-page.cast-app-header .topbar .language-switcher-option__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-option:hover,
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-option:focus-visible { background: #f3f3f3; color: #111; }
.global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-option.is-active { background: transparent; color: #111; }
.global-storefront .app-home-page.cast-app-header .topbar :is(a, button):focus-visible { outline: 2px solid #65765e; outline-offset: 3px; }
.global-storefront .app-home-page .gp-storefront { padding-top: 24px; }
.global-storefront .app-home-page .cast-edit {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 430px;
  padding: 48px 58px;
  overflow: hidden;
  border-radius: 12px;
  background: #f2e7e3;
  color: #29231f;
}
.global-storefront .app-home-page .cast-edit[data-theme='sage'] { background: #e9eee6; color: #253029; }
.global-storefront .app-home-page .cast-edit[data-theme='cream'] { background: #eeeae1; color: #343027; }
.global-storefront .app-home-page .cast-edit-copy { position: relative; z-index: 2; min-width: 0; }
.global-storefront .app-home-page .cast-edit-eyebrow { margin: 0 0 21px; font-size: 11px; font-weight: 650; letter-spacing: .16em !important; }
.global-storefront .app-home-page .cast-edit h2 { margin: 0; white-space: pre-line; font: 700 clamp(30px, 3.2vw, 44px)/1.27 Pretendard, sans-serif; letter-spacing: -.045em !important; word-break: keep-all; }
.global-storefront .app-home-page .cast-edit-description { margin: 20px 0 0; max-width: 330px; font-size: 14px; line-height: 1.7; color: #756d67; word-break: keep-all; }
.global-storefront .app-home-page .cast-edit-link { display: inline-flex; margin-top: 24px; padding: 6px 0; color: inherit; text-decoration: none; font-size: 13px; font-weight: 650; }
.global-storefront .app-home-page .cast-edit-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.global-storefront .app-home-page .cast-edit-controls { display: flex; align-items: center; gap: 7px; margin-top: 36px; }
.global-storefront .app-home-page .cast-edit-dot { position: relative; width: 24px; height: 24px; border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; }
.global-storefront .app-home-page .cast-edit-dot::after { content: ''; position: absolute; inset: 10px 0; border-radius: 3px; background: currentColor; opacity: .18; }
.global-storefront .app-home-page .cast-edit-dot[aria-pressed='true']::after { opacity: 1; }
.global-storefront .app-home-page .cast-edit-visuals { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; min-width: 0; min-height: 280px; padding: 0 4px 30px 12px; }
.global-storefront .app-home-page .cast-edit-product { display: block; flex: 0 1 175px; width: 32%; min-width: 0; padding: 7px 7px 0; background: #fff; box-shadow: 0 8px 24px #51463810; text-decoration: none; color: #48433d; }
.global-storefront .app-home-page .cast-edit-product img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.global-storefront .app-home-page .cast-edit-product > span { display: block; padding: 10px 1px; font-size: 10px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.global-storefront .app-home-page .cast-edit-product:first-child { transform: translateY(16px) rotate(-8deg); }
.global-storefront .app-home-page .cast-edit-product:nth-child(2) { z-index: 1; transform: translateY(-12px); }
.global-storefront .app-home-page .cast-edit-product:nth-child(3) { transform: translateY(16px) rotate(8deg); }
.global-storefront .app-home-page .cast-edit-product:hover { outline: 1px solid #9e8e82; outline-offset: 4px; }
.global-storefront .app-home-page .cast-edit-placeholder { white-space: pre-line; font-size: 30px; font-weight: 600; line-height: 1.5; color: #d2beb5; text-align: center; letter-spacing: .12em !important; }
.global-storefront .app-home-page .cast-edit-arrows { position: absolute; inset-inline-end: 28px; bottom: 22px; display: flex; align-items: center; gap: 12px; }
.global-storefront .app-home-page .cast-edit-arrows button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #29231f25; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 17px; }
.global-storefront .app-home-page .cast-edit-status { min-width: 44px; color: #6c625b; font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.global-storefront .app-home-page .app-home-quick-menu { display: grid; grid-template-columns: repeat(var(--cast-shortcuts, 4), minmax(0, 1fr)); gap: 0; padding: 24px 0; margin-bottom: 20px; border-bottom: 1px solid #eceee8; overflow: visible; }
.global-storefront .app-home-page .app-home-shortcut { flex-direction: row; justify-content: center; width: 100%; min-width: 0; min-height: 44px; gap: 10px; color: #5e6459; font-size: 12px; }
.global-storefront .app-home-page .app-home-shortcut + .app-home-shortcut { border-inline-start: 1px solid #eceee8; }
.global-storefront .app-home-page .app-home-shortcut-image { width: 28px; height: 28px; border-radius: 0; background: transparent; }
.global-storefront .app-home-page .app-home-shortcut-image::after { width: 24px; height: 24px; background: #747e6d; transform: none; }
.global-storefront .app-home-page .app-home-shortcut:hover { color: #222; }
.global-storefront .app-home-page .app-home-promo { min-height: 60px; margin: 0 0 38px; padding: 10px 22px; background: #f8f8f7; border-radius: 0; }
.global-storefront .app-home-page .app-home-promo > img { width: 38px; height: 34px; }
.global-storefront .app-home-page .app-home-promo strong { font-size: 13px; font-weight: 650; }
.global-storefront .app-home-page .app-home-promo span span { font-size: 11px; }
.global-storefront .app-home-page .app-home-section { margin: 16px 0 48px; padding-bottom: 40px; border-bottom: 1px solid #eee; }
.global-storefront .app-home-page .app-home-section-heading { margin-bottom: 20px; }
.global-storefront .app-home-page .cast-rail-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.global-storefront .app-home-page .cast-rail-arrow { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #e6e6e6; border-radius: 50%; background: #fff; color: #555; cursor: pointer; font-size: 14px; }
.global-storefront .app-home-page .cast-rail-controls .app-home-more { margin-inline-start: 10px; }
.global-storefront .app-home-page :is(.app-home-section-heading, .app-home-spotlight) h2,
.global-storefront .app-home-page .app-home-all-heading { font-size: 20px; font-weight: 700; line-height: 1.4; }
.global-storefront .app-home-page .app-home-rail { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; padding-bottom: 8px; scrollbar-width: none; }
.global-storefront .app-home-page .app-home-rail::-webkit-scrollbar { display: none; }
.global-storefront .app-home-page .gp-media,
.global-storefront .app-home-page .gp-skeleton-image { aspect-ratio: 1; border-radius: 10px; }
.global-storefront .app-home-page .gp-card-brand-row { margin-top: 12px; }
.global-storefront .app-home-page .gp-card-brand { font-size: 12px; font-weight: 700; }
.global-storefront .app-home-page .gp-card-title { margin: 6px 0 12px; font-size: 13px; font-weight: 400; line-height: 1.5; min-height: 3em; }
.global-storefront .app-home-page .gp-current,
.global-storefront .app-home-page .gp-discount { font-size: 14px; line-height: 1.4; }
.global-storefront .app-home-page .gp-save { inset-inline-end: 6px; bottom: 6px; }
.global-storefront .app-home-page .app-home-more { color: #888; font-size: 12px; }
.global-storefront .app-home-page .app-home-brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.global-storefront .app-home-page .app-home-spotlight { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid #eee; }
.global-storefront .app-home-page .app-home-all-heading,
.global-storefront .app-home-page #gpBroadcasts,
.global-storefront .app-home-page #app-home-shopping { scroll-margin-top: 92px; }
.global-storefront .app-home-page .gp-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 16px; }
.global-storefront .app-home-page .app-home-preferences:empty { display: none; }
@media (min-width: 761px) and (max-width: 1024px) {
  .global-storefront body.theme-beclean.app-home-page { --cast-home-gutter: 24px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .topbar-inner { gap: 18px; }
  .global-storefront .app-home-page .cast-edit { padding: 38px 32px; min-height: 390px; }
  .global-storefront .app-home-page .cast-edit-visuals { gap: 5px; padding-inline-start: 12px; }
  .global-storefront .app-home-page .app-home-rail { grid-auto-columns: calc((100% - 48px) / 4); }
  .global-storefront .app-home-page .gp-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .global-storefront body.theme-beclean.app-home-page { --cast-home-gutter: 16px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .topbar-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; grid-template-rows: 60px !important; gap: 8px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar #authTrigger { width: 36px; min-width: 36px; }
  .global-storefront .app-home-page.cast-app-header .gp-app-leading { gap: 4px; }
  .global-storefront .app-home-page.cast-app-header .gp-wordmark { height: 24px; max-width: 100%; object-fit: contain; }
  .global-storefront .app-home-page.cast-app-header .gp-search,
  .global-storefront .app-home-page.cast-app-header .gp-search:focus-within { width: 36px; max-width: 36px; flex-basis: 36px; }
  .global-storefront .app-home-page.cast-app-header .gp-search button { flex-basis: 36px; width: 36px; }
  .global-storefront .app-home-page.cast-app-header .gp-search.is-search-open { height: 60px; width: 100%; max-width: none; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .utility-nav { gap: 2px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .header-icon-btn { width: 36px; }
  .global-storefront .app-home-page .gp-storefront { padding-top: 16px; }
  .global-storefront .app-home-page .cast-edit { grid-template-columns: 1fr; padding: 28px 26px 48px; min-height: 520px; border-radius: 8px; }
  .global-storefront .app-home-page .cast-edit-eyebrow { margin-bottom: 12px; font-size: 9px; }
  .global-storefront .app-home-page .cast-edit h2 { font-size: clamp(27px, 7.4vw, 38px); line-height: 1.25; }
  .global-storefront .app-home-page .cast-edit-description { margin-top: 12px; max-width: 270px; font-size: 12px; }
  .global-storefront .app-home-page .cast-edit-link { margin-top: 12px; font-size: 11px; }
  .global-storefront .app-home-page .cast-edit-copy { position: static; }
  .global-storefront .app-home-page .cast-edit-controls { position: absolute; inset-inline-start: 26px; bottom: 16px; margin-top: 0; }
  .global-storefront .app-home-page .cast-edit-visuals { min-height: 230px; padding: 22px 0 14px; gap: 8px; }
  .global-storefront .app-home-page .cast-edit-product { flex-basis: 115px; padding: 4px 4px 0; }
  .global-storefront .app-home-page .cast-edit-product > span { padding-block: 7px; font-size: 8px; }
  .global-storefront .app-home-page .cast-edit-arrows { bottom: 15px; inset-inline-end: 20px; gap: 8px; }
  .global-storefront .app-home-page .cast-edit-arrows button { width: 28px; height: 28px; }
  .global-storefront .app-home-page .app-home-quick-menu { padding: 16px 0; margin-bottom: 12px; }
  .global-storefront .app-home-page .app-home-shortcut { flex-direction: column; gap: 6px; font-size: 10px; }
  .global-storefront .app-home-page .app-home-shortcut-image { width: 26px; height: 26px; }
  .global-storefront .app-home-page .app-home-shortcut-image::after { width: 26px; height: 26px; }
  .global-storefront .app-home-page .app-home-promo { padding: 12px; margin-bottom: 28px; gap: 10px; }
  .global-storefront .app-home-page .app-home-promo strong { font-size: 12px; }
  .global-storefront .app-home-page .app-home-promo span span { font-size: 10px; line-height: 1.5; }
  .global-storefront .app-home-page .app-home-section { margin-bottom: 30px; padding-bottom: 26px; }
  .global-storefront .app-home-page .app-home-section-heading { margin-bottom: 16px; }
  .global-storefront .app-home-page .cast-rail-arrow { display: none; }
  .global-storefront .app-home-page :is(.app-home-section-heading, .app-home-spotlight) h2,
  .global-storefront .app-home-page .app-home-all-heading { font-size: 18px; }
  .global-storefront .app-home-page .app-home-rail { grid-auto-columns: 43%; gap: 12px; margin-inline-end: -16px; padding-inline-end: 16px; }
  .global-storefront .app-home-page .gp-card-title { font-size: 12px; }
  .global-storefront .app-home-page .gp-current,
  .global-storefront .app-home-page .gp-discount { font-size: 13px; }
  .global-storefront .app-home-page .gp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .global-storefront .app-home-page .app-home-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
  .global-storefront .app-home-page .app-home-spotlight { margin-bottom: 30px; padding-bottom: 26px; }
  .global-storefront .app-home-page .app-home-all-heading,
  .global-storefront .app-home-page #gpBroadcasts,
  .global-storefront .app-home-page #app-home-shopping { scroll-margin-top: 80px; }
}

@media (max-width: 360px) {
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .topbar-inner { gap: 6px; }
  .global-storefront .app-home-page.cast-app-header .gp-wordmark { height: 20px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar #authTrigger { width: 32px; min-width: 32px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .header-icon-btn { width: 32px; }
  .global-storefront body.theme-beclean.app-home-page.cast-app-header .topbar .language-switcher-trigger { min-width: 50px; gap: 8px; }
}
