:root {
  color-scheme: light;
  --ink: #192e31;
  --muted: #4b6265;
  --teal: #006a70;
  --accent: #006a70;
  --accent-soft: #e4f5f2;
  --on-accent: #fff;
  --on-soft: #005960;
  --accent-hover: color-mix(in srgb, var(--accent) 85%, black);
  --line: #dce8e7;
  --wash: #f5f9f8;
  --page-background: white;
  --mobile-nav-height: calc(3.75rem + env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
body {
  margin: 0;
  display: flex;
  container: storefront / inline-size;
  min-height: 100dvh;
  flex-direction: column;
  font-family: "Noto Sans KR", system-ui, "Malgun Gothic", sans-serif;
  background: var(--page-background);
  color: var(--ink);
}
html[data-view-mode="mobile"] body { width: min(100%, 40rem); margin-inline: auto; }
html[data-view-mode="desktop"] body { min-width: 76rem; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
button, input { font: inherit; }
select, textarea { font-family: inherit; }
.content { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.announcement-bar { background: var(--accent-soft); color: var(--on-soft); }
.announcement-bar .content {
  min-height: 2rem;
  line-height: 2rem;
  font-size: 0.83rem;
  font-weight: 650;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-toolbar { border-bottom: 1px solid var(--line); }
.header-toolbar-items { display: flex; justify-content: flex-end; align-items: center; min-height: 2.25rem; }
.header-toolbar-items button, .header-toolbar-items a {
  display: block;
  padding: 0.3rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.1;
  white-space: nowrap;
}
.header-toolbar-items > * + * { border-inline-start: 1px solid var(--line); }
.header-toolbar-items > :last-child { padding-inline-end: 0; }
.header-toolbar-items a:hover, .header-logout button:hover { color: var(--teal); text-decoration: underline; }
.header-logout { margin: 0; }
.header-logout button { cursor: pointer; padding-inline-end: 0; }
.header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 2.5fr) minmax(max-content, 1fr);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  min-height: 6rem;
}
.brand { flex: none; }
.brand img { display: block; width: 250px; max-width: 100%; height: auto; }
.category-search, .ai-search {
  display: flex;
  width: min(100%, 38rem);
  min-width: 0;
  padding: 4px;
  border: 1px solid #a0c5c5;
  border-radius: 0.65rem;
  background: #fafffe;
}
.category-search { margin-bottom: 1.25rem; }
.ai-search { justify-self: center; }
.search-box { position: relative; width: min(100%, 38rem); min-width: 0; }
.search-box-desktop { display:flex; align-items:center; gap:.55rem; justify-self:center; }
.search-box .ai-search, .search-box .category-search { width: 100%; }
.search-history, .search-trends { border: 1px solid var(--line); border-radius: 0.65rem; background: white; padding: 0.65rem 0.85rem; }
.search-history { position: absolute; z-index: 20; inset: 100% 0 auto; max-height: 17rem; overflow: auto; box-shadow: 0 0.75rem 1.5rem #1436381a; }
.search-history-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.search-history h2, .search-trends h2 { margin: 0; font-size: 0.95rem; }
.search-history p, .search-trends p { margin: 0.4rem 0; color: var(--muted); font-size: 0.84rem; }
.search-history ul, .search-trends ol { margin: 0.4rem 0 0; padding: 0; }
.search-history ul { list-style: none; }
.search-history li { display: flex; justify-content: space-between; gap: 0.5rem; }
.search-history button, .search-trends button { color: var(--teal); border: 0; background: transparent; padding: 0.35rem 0; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.search-history li button:last-child { flex: none; min-width: 1.75rem; text-align: center; }
.search-history button:hover, .search-trends button:hover { text-decoration: underline; }
.search-trends, .mobile-sheet-body .search-history { margin-top: 0.85rem; }
.search-trends ol { padding-left: 1.65rem; }
.search-trends li::marker { color: var(--teal); font-weight: 700; }
.mobile-sheet-body .search-history { position: static; max-height: 14rem; box-shadow: none; }
.category-search input, .ai-search input {
  flex: 1;
  min-width: 0;
  padding-inline: 0.75rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--ink);
}
.category-search button, .ai-search button {
  border: 0;
  border-radius: 0.45rem;
  padding: 0.65rem 1.2rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  cursor: pointer;
}
.category-search input:focus-visible, .ai-search input:focus-visible {
  outline: none;
  background: #edf8f6;
}
.ai-search button { white-space: nowrap; }
.category-search button:hover { background: var(--accent-hover); }
.desktop-shortcuts { display: flex; justify-content: flex-end; gap: clamp(0.35rem, 1.4vw, 1.1rem); margin: 0; padding: 0; list-style: none; }
.desktop-shortcuts button {
  cursor: pointer;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.45rem;
  min-width: 2.8rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 650;
}
.desktop-shortcuts .shortcut-icon { display: block; width: 1.35rem; height: 1.2rem; color: var(--teal); }
.ai-search button:disabled, .self-purchase:disabled { cursor: default; }
.navigation-bar { border-top: 1px solid #edf3f2; }
.header-navigation { position: relative; display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.4rem); }
.mega-menu { flex: none; }
.favorite-categories {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
}
.favorite-categories ul {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.favorite-categories p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.favorite-categories a { white-space: nowrap; font-size: 0.92rem; font-weight: 650; }
.favorite-categories a:hover { color: var(--teal); text-decoration: underline; }
.self-purchase {
  display: inline-flex;
  flex: none;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-inline: 1px solid var(--line);
  border-radius: 0;
  background: white;
  color: var(--teal);
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 700;
}
.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}
.catalog-link:hover, .catalog-link[aria-expanded="true"] { background: var(--accent-hover); }
.catalog-caret {
  display: grid;
  flex: none;
  place-items: center;
  width: 0.85rem;
  height: 1rem;
  margin-left: 0.25rem;
}
.catalog-caret::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
}
.mega-panel {
  position: absolute;
  inset: 100% 0 auto;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 0 0 0.85rem 0.85rem;
  background: white;
  box-shadow: 0 1.25rem 2.75rem #14363824;
}
.mega-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.mega-heading a, .mega-parent { color: var(--teal); font-weight: 700; }
.mega-body {
  display: grid;
  grid-template-columns: clamp(9rem, 24%, 14rem) minmax(0, 1fr);
  height: min(27rem, 50dvh);
  min-height: 10rem;
}
.mega-roots, .mega-children ul { list-style: none; padding: 0; margin: 0; }
.mega-roots, .mega-children { overflow: auto; overscroll-behavior: contain; }
.mega-roots { background: var(--wash); border-right: 1px solid var(--line); border-radius: 0 0 0 0.85rem; }
.mega-roots button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.6rem;
  padding: 0.5rem 0.8rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 0.88rem;
  cursor: pointer;
}
.mega-roots button:focus-visible { outline-offset: -3px; }
.mega-roots button[aria-pressed="true"] { background: var(--accent-soft); color: var(--on-soft); font-weight: 700; }
.mega-children { padding: 1rem 1.1rem; }
.mega-parent { display: inline-block; margin-bottom: 0.75rem; }
.mega-children ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem 0.65rem; }
.mega-children li a { display: inline-block; padding: 0.35rem 0; font-size: 0.88rem; overflow-wrap: anywhere; }
.mega-heading a:hover, .mega-children a:hover { color: var(--teal); text-decoration: underline; }
.mega-empty { margin: 0; padding: 1rem; color: var(--muted); }

.home, .category-page { flex: 1; }
.home { background: var(--page-background); }
.event-banners { padding-block: clamp(1rem, 3vw, 2.25rem); }
.event-banner {
  --banner-background: #e1f3ed;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: clamp(17rem, 32vw, 24rem);
  overflow: hidden;
  border: 1px solid #193e3514;
  border-radius: 1rem;
  background: var(--banner-background);
}
.event-banner[data-theme="lavender"] { --banner-background: #eeebfa; }
.event-banner[data-theme="blue"] { --banner-background: #e8f1fa; }
.event-banner[data-theme="sand"] { --banner-background: #f7edde; }
.event-banner[data-theme="sage"] { --banner-background: #e9efe4; }
.event-banner-copy { align-self: center; padding: clamp(1.3rem, 4vw, 3.75rem); }
.event-banner-copy h2 { margin: 0; font-size: clamp(1.85rem, 3.7vw, 3.3rem); line-height: 1.16; letter-spacing: -0.055em; overflow-wrap: anywhere; }
.event-banner-copy p { margin: 0.85rem 0 0; color: var(--muted); line-height: 1.55; }
.event-banner-copy a { display: inline-block; margin-top: 1.35rem; padding: 0.6rem 0.95rem; border-radius: 0.45rem; background: var(--accent); color: var(--on-accent); font-size: 0.88rem; font-weight: 700; }
.event-banner-copy a:hover { background: var(--accent-hover); }
.event-banner-image { position: relative; min-width: 0; }
.event-banner-image img { object-fit: cover; }
.event-banner-controls { display: flex; align-items: center; justify-content: center; gap: 0.65rem; margin-top: 0.7rem; }
.event-banner-controls > button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--line); border-radius: 0.45rem; background: white; color: var(--teal); cursor: pointer; }
.event-banner-controls > button svg { display: block; width: 0.85rem; height: 0.85rem; }
.event-banner-controls > button:hover { background: var(--wash); }
.event-banner-dots { display: flex; align-items: center; }
.event-banner-dots button { display: grid; place-items: center; width: 1.65rem; height: 2rem; padding: 0; border: 0; border-radius: 0.3rem; background: transparent; cursor: pointer; }
.event-banner-dots button::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 999px; background: #91ada9; }
.event-banner-dots button[aria-current="true"]::before { width: 0.85rem; background: var(--accent); }
.category-page { padding-block: clamp(1.25rem, 3vw, 2.5rem) 4rem; }
.category-page h1 { margin: 0; letter-spacing: -0.04em; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.breadcrumbs a { color: var(--teal); font-size: 0.9rem; font-weight: 650; }
.breadcrumbs a:hover { text-decoration: underline; }
.category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}
.category-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  height: 100%;
  min-height: 3.6rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  overflow-wrap: anywhere;
  background: white;
  font-weight: 620;
}
.category-grid a:hover { border-color: #58a7a7; background: #eafaf7; }
.category-grid a span { color: var(--teal); }
.category-page h1 { margin-bottom: 1.35rem; overflow-wrap: anywhere; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.8rem; }
.breadcrumbs a + a::before { content: "/"; display: inline-block; margin-right: 0.55rem; color: var(--muted); }
.product-section { margin-top: 2.5rem; }
.product-section h2 { margin: 0 0 1rem; font-size: 1.4rem; }
.market-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.market-filter a { padding: 0.5rem 0.8rem; border: 1px solid #b4c7ca; border-radius: 0.45rem; }
.market-filter a[aria-current="page"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.empty-state { padding: 1.5rem; border: 1px dashed #b4c7ca; border-radius: 0.65rem; color: var(--muted); background: #fff; }
.site-footer { border-top: 1px solid var(--line); background: #f3f8f7; }
.mobile-navigation { display: none; }
.mobile-sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow: hidden;
  border: 0;
  background: var(--wash);
  color: var(--ink);
}
.mobile-sheet[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.mobile-sheet-heading { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 1rem; border-bottom: 1px solid var(--line); background: white; }
.mobile-sheet-heading h2 { margin: 0; font-size: 1.1rem; }
.mobile-sheet-heading button { display: grid; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: 0.35rem; background: var(--wash); color: var(--teal); cursor: pointer; }
.mobile-sheet-heading button:hover { background: var(--accent-soft); }
.mobile-close-icon { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; }
.mobile-close-icon::before, .mobile-close-icon::after {
  content: "";
  grid-area: 1 / 1;
  width: 1.05rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.mobile-close-icon::after { transform: rotate(-45deg); }
.mobile-sheet-body { overflow: auto; overscroll-behavior: contain; padding: 1rem; }
.mobile-sheet-body .category-search { width: 100%; margin-bottom: 0; }
.mobile-sheet-body:has(> .mobile-category-browser) { padding: 0; overflow: hidden; }
.mobile-category-browser { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); height: 100%; }
.mobile-category-roots, .mobile-category-list { margin: 0; padding: 0; list-style: none; }
.mobile-category-roots, .mobile-category-children { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mobile-category-roots { border-right: 1px solid var(--line); background: var(--wash); }
.mobile-category-roots button, .mobile-category-list a {
  display: block;
  width: 100%;
  padding: 0.8rem clamp(0.55rem, 2.5vw, 1rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
}
.mobile-category-roots button { cursor: pointer; font-size: 0.88rem; }
.mobile-category-roots button:focus-visible { outline-offset: -3px; }
.mobile-category-roots button[aria-pressed="true"] { background: var(--accent-soft); color: var(--on-soft); font-weight: 750; }
.mobile-category-children { background: white; }
.mobile-category-all { display: block; padding: 0.65rem 1rem; border-bottom: 1px solid var(--line); color: var(--teal); font-weight: 700; }
.mobile-category-list a { font-size: 0.9rem; }
.mobile-category-browser :is(.mobile-category-roots button, .mobile-category-list a, .mobile-category-all) {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 3rem;
  padding-block: 0;
  line-height: 1.3;
}
.search-icon {
  position: relative;
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  margin-right: 0.15rem;
  margin-bottom: 0.15rem;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 2px;
  top: 100%;
  left: 85%;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.footer-help { background: var(--wash); border-bottom: 1px solid var(--line); }
.footer-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-help-grid > section { display: flex; flex-direction: column; min-width: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 0.7rem; background: white; }
.footer-help h2 { margin: 0 0 0.8rem; color: var(--ink); font-size: 1rem; font-weight: 750; }
.footer-help p { margin: 0; line-height: 1.6; }
.footer-contact-number, .footer-help .footer-bank-number { color: var(--teal); font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.25; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.footer-contact-number { align-self: start; margin-bottom: 0.65rem; }
.footer-help-details { display: grid; gap: 0.25rem; margin: 0; line-height: 1.5; }
.footer-help-details div { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0.3rem; }
.footer-help-details dt { font-weight: 650; }
.footer-help-details dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.footer-bank-account { padding: 0.65rem 0.75rem; margin-bottom: 0.65rem; border-radius: 0.45rem; background: #f0f7f6; }
.footer-help .footer-bank-name { color: var(--ink); font-weight: 700; }
.footer-help-label, .footer-help .footer-bank-note { margin-top: auto; padding-top: 0.65rem; font-size: 0.77rem; }
.footer-help-label { font-weight: 650; }
.footer-help a:hover { text-decoration: underline; }
.footer-help-grid > .footer-customs { background: #eaf7f4; }
.footer-customs strong { color: var(--teal); }
.footer-customs-link { display: block; align-self: stretch; margin-top: auto; padding: 0.55rem 0.7rem; border-radius: 0.4rem; background: var(--accent); color: var(--on-accent); font-weight: 700; text-align: center; }
.footer-customs p { margin-bottom: 0.75rem; }
@container storefront (width > 40rem) {
  .footer-customs-link { padding-block: 0.75rem; }
}
.footer-policy, .footer-company { border-bottom: 1px solid var(--line); }
.footer-policy-items { display: flex; font-size: 0.88rem; font-weight: 650; }
.footer-policy-items a { padding: 0.85rem 1rem; border-inline-start: 1px solid var(--line); }
.footer-policy-items a:last-of-type { border-inline-end: 1px solid var(--line); }
.footer-view-switch { display: flex; align-items: center; margin-inline-start: auto; }
.footer-view-switch button { border: 0; padding: 0.85rem 0 0.85rem 0.65rem; background: transparent; color: var(--teal); font-size: inherit; font-weight: inherit; cursor: pointer; }
.footer-view-switch button:hover { text-decoration: underline; }
.footer-view-switch .switch-to-desktop { display: none; }
.footer-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1rem clamp(1rem, 2vw, 2rem);
  padding-block: 1.1rem;
}
.company-details h2, .footer-offices h2 { margin: 0 0 0.65rem; color: var(--ink); font-size: 1rem; }
.company-details dl { display: grid; gap: 0.4rem; margin: 0.35rem 0 0; font-size: 0.82rem; line-height: 1.5; }
.company-details dl div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.25rem 0.75rem; }
.footer-company dt { font-weight: 700; }
.footer-company dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.footer-company dd a:hover { text-decoration: underline; }
.footer-offices { display: grid; align-content: start; gap: 1rem; font-size: 0.82rem; line-height: 1.5; }
@container storefront (width > 62rem) {
  .footer-offices { padding-inline-start: 1.2rem; border-inline-start: 1px solid var(--line); }
}
.company-details address, .footer-offices address { color: var(--muted); font-size: 0.82rem; line-height: 1.5; font-style: normal; overflow-wrap: anywhere; }
.footer-offices dl { display: grid; gap: 0.2rem; margin: 0.35rem 0 0; }
.footer-offices dl div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.35rem; }
.footer-offices p { margin: 0.35rem 0 0; color: var(--muted); }
.footer-notices { padding-block: 1.15rem; }
.footer-copyright { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }
.footer-copyright p { padding-block: 0.75rem; font-weight: 700; text-align: center; }
.footer-notices, .purchase-protection {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}
.footer-notices p, .purchase-protection p { margin: 0 0 0.45rem; }
.purchase-protection { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.purchase-protection h2 { margin: 0 0 0.4rem; color: var(--ink); font-size: 0.94rem; }
.protection-logos { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.65rem; }
.protection-logos span { display: grid; min-height: 2.25rem; place-items: center; padding: 0.25rem 0.5rem; border: 1px solid var(--line); border-radius: 0.35rem; background: white; }
.protection-logos .usafe-logo { background: #174349; border-color: #174349; }
.protection-logos img { display: block; width: auto; height: 1.3rem; }

@container storefront (width <= 62rem) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .brand img { width: 210px; }
  .footer-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purchase-protection { grid-column: 1 / -1; padding: 0.85rem 0 0; border: 0; border-top: 1px solid var(--line); }
}
@container storefront (width <= 40rem) {
  .event-banner { grid-template-columns: minmax(0, 1fr); }
  .event-banner-image { grid-row: 1; aspect-ratio: 2 / 1; }
  .event-banner-copy { padding: 1.1rem 1.25rem 1.25rem; }
  .event-banner-copy h2 { font-size: clamp(1.45rem, 6vw, 2rem); }
  .footer-help-grid { grid-template-columns: 1fr; }
  .site-footer { margin-bottom: var(--mobile-nav-height); }
  .footer-policy-items { align-items: stretch; font-size: 0.78rem; }
  .footer-policy-items a { padding-inline: clamp(0.25rem, 2vw, 0.75rem); }
  .footer-view-switch .switch-to-mobile { display: none; }
  .footer-view-switch .switch-to-desktop { display: block; }
  .site-header { position: sticky; inset-block-start: 0; z-index: 16; }
  .header-main { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 3.75rem; }
  .site-header .announcement-bar, .site-header .header-toolbar, .site-header .search-box-desktop, .site-header .desktop-shortcuts, .site-header .navigation-bar { display: none; }
  .brand { justify-self: center; }
  .brand img { width: 185px; }
  .mobile-navigation {
    position: fixed;
    z-index: 15;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: var(--mobile-nav-height);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: white;
  }
  .mobile-navigation > a, .mobile-navigation > button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.3rem 0.1rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 650;
    white-space: nowrap;
  }
  .mobile-navigation a[aria-current="page"] { color: var(--on-soft); background: var(--accent-soft); }
  .mobile-navigation button:disabled { color: #607579; }
  .mobile-nav-icon { display: block; width: 1.05rem; height: 1.05rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid a { font-size: 0.92rem; }
  .footer-company-grid { grid-template-columns: 1fr; }
  .footer-offices { padding-top: 0.85rem; border-top: 1px solid var(--line); }
  .company-details dl div { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
}
html[data-view-mode="mobile"] .mobile-navigation { inset-inline: max(0px, calc((100vw - 40rem) / 2)); }
html[data-view-mode="mobile"] .mobile-sheet { width: min(100%, 40rem); margin-inline: auto; }

[hidden] { display: none !important; }
.announcement-bar a { color: inherit; }
.header-main .brand .site-text-logo { white-space: nowrap; }
@container storefront (width > 40rem) {
  .header-main .brand img { transform: translateX(-4%); }
}
.event-banner-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.category-grid { padding: 0; list-style: none; }
.mobile-category-browser > div { min-width: 0; overflow: auto; }

.event-banner-copy p { white-space: pre-line; overflow-wrap: anywhere; }

.account-login {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  min-height: 26rem;
  margin-block: clamp(1rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
}
.account-login-backdrop {
  border-radius: .85rem 0 0 .85rem;
  background: var(--accent-soft) url('/assets/user/japanenjoy/login-japan-parcel.webp') center / cover no-repeat;
}
.account-login-card {
  align-self: center;
  justify-self: center;
  width: min(calc(100% - clamp(3.5rem, 7vw, 6rem)), 30rem);
  padding-block: 2rem;
}
.account-login-card h1 { margin: 0 0 1.75rem; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.account-login-fields { display: grid; gap: 1rem; }
.account-login-field { display: grid; gap: .45rem; font-weight: 650; }
.account-login-field input {
  width: 100%;
  min-width: 0;
  min-height: 3.125rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
}
.account-login-password { position: relative; }
.account-login-password input { display: block; padding-inline-end: 3.3rem; }
.account-login-password button {
  position: absolute;
  inset-block: 3px;
  inset-inline-end: 3px;
  display: grid;
  place-items: center;
  width: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: .4rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.account-login-password button:hover { color: var(--teal); }
.account-login-password svg { width: 1.15rem; height: 1.15rem; }
@container storefront (width <= 40rem) {
  .account-login { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .account-login-backdrop { display: none; }
  .account-login-card { width: min(calc(100% - 2rem), 30rem); padding-block: 1.75rem 2rem; }
}
.account-login-submit {
  min-height: 3.125rem;
  margin-top: .25rem;
  border: 0;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 750;
}
.account-login-submit:disabled { opacity: .65; }
.account-login-status { margin: 0; color: var(--muted); text-align: center; font-size: .9rem; }

.account-login-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.account-login-actions button {
  min-height: 2.75rem;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 650;
}

.account-login-member { margin: 0; line-height: 1.5; }
.account-login-member { color: var(--muted); }
.account-login-card > .account-login-member { margin-bottom: 1rem; }
.account-login-submit:not(:disabled) { cursor: pointer; }
.account-login-submit:not(:disabled):hover { background: var(--accent-hover); }

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-block: clamp(1rem, 3vw, 2.25rem);
}
.home-feature-no-banners { grid-template-columns: minmax(0, 1fr); }
.home-feature .event-banners { padding: 0; min-width: 0; }
.home-feature .event-banner-copy { padding: clamp(1rem, 2.8vw, 2.5rem); }
.home-feature .event-banner-copy h2 { font-size: clamp(1.55rem, 3.15vw, 2.8rem); }
.home-information { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.home-info-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.home-info-card h2 { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 750; }
.home-rate-card {
  padding: 1rem 1.15rem .85rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent-soft) 55%, white), #fff 90%);
}
.home-rate-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.home-rate-date { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.home-rate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .75rem;
  color: var(--teal);
}
.home-rate-value { display: grid; justify-items: center; min-width: 0; gap: .22rem; text-align: center; }
.home-rate-value + .home-rate-value { border-inline-start: 1px solid var(--line); }
.home-rate-value > span { color: var(--muted); font-size: .85rem; font-weight: 650; white-space: nowrap; }
.home-rate strong { font-size: clamp(1.1rem, 2.15vw, 1.75rem); font-variant-numeric: tabular-nums; letter-spacing: -.045em; white-space: nowrap; }
.home-rate strong small { margin-inline-start: .2rem; font-size: .76rem; font-weight: 650; letter-spacing: 0; }
.home-rate-card .home-info-empty { margin-top: .8rem; }
.home-info-empty { margin: 0; color: var(--muted); font-size: .87rem; }
@container storefront (width <= 40rem) {
  .home-feature { grid-template-columns: minmax(0, 1fr); }
}

.home-rate-heading { position: relative; }
.home-rate-label { display: flex; align-items: center; gap: .25rem; }
.home-rate-help > button {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--teal);
  cursor: help;
}
.home-rate-help svg { width: .9rem; height: .9rem; }
.home-rate-tooltip {
  position: absolute;
  z-index: 4;
  inset: 100% 0 auto;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #fff;
  box-shadow: 0 .45rem 1.25rem #192e3120;
  color: var(--ink);
  font-size: .81rem;
  line-height: 1.5;
  visibility: hidden;
}
.home-rate-tooltip-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.home-rate-tooltip-heading button {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  border-radius: .3rem;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
}
.home-rate-tooltip-heading button:hover { background: var(--accent-soft); }
.home-rate-tooltip p { margin: .3rem 0 0; color: var(--muted); }
.home-rate-help[data-open-tooltip] .home-rate-tooltip { visibility: visible; }

@container storefront (width > 40rem) {
  .home-feature:not(.home-feature-no-banners) { row-gap: 0; }
  .home-feature:not(.home-feature-no-banners) .event-banners {
    display: grid;
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-rows: subgrid;
    align-self: stretch;
  }
  .home-feature .event-banner { grid-row: 1; }
  .home-feature .event-banner-controls { grid-row: 2; }
  .home-feature:not(.home-feature-no-banners) .home-information {
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: 1fr auto;
    align-self: stretch;
  }
}

.event-banner-image-only { grid-template-columns: minmax(0, 1fr); }
.event-banner-image-only .event-banner-image { width: 100%; }
.event-banner-image-only .event-banner-image:focus-visible { outline-offset: -4px; }
@container storefront (width <= 40rem) {
  .event-banner-image-only { min-height: 0; }
}

.home-reviews { padding-block: .65rem clamp(2rem, 5vw, 3.5rem); }
.home-reviews h2 { margin: 0 0 1rem; font-size: clamp(1.25rem, 2.1vw, 1.65rem); letter-spacing: -.04em; }
.home-review-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(10rem, 1fr);
  grid-template-columns: repeat(5, minmax(10rem,1fr));
  gap: .7rem;
  padding: 0 0 .4rem;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.home-review {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: #fff;
  scroll-snap-align: start;
}
.home-review-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--wash); }
.home-review-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: .8rem; }
.home-review-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem; margin-top: auto; padding-top: .7rem; color: var(--muted); font-size: .76rem; }
.home-review-meta time { font-variant-numeric: tabular-nums; }
.home-review-stars { display: inline-flex; gap: .16rem; }
.home-review-stars svg { width: .85rem; height: .85rem; color: #ccd5d5; }
.home-review-stars .rated { color: #a96000; }
.home-review-copy h3 { margin: .4rem 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.home-review-copy h3, .home-review-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-review-copy h3 { -webkit-line-clamp: 2; }
.home-review-copy p { -webkit-line-clamp: 3; }
.home-review-copy p { margin: .3rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.home-review-empty { color: var(--muted); }
.home-review-arrow { display: none; }
@container storefront (width <= 40rem) {
  .home-review-carousel { position: relative; }
  .home-review-viewport {
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }
  .home-review-list {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - .4rem) / 2);
    gap: .4rem;
    padding: 0;
    overflow: visible;
    transform: translateX(calc((50% + .2rem) * var(--review-offset, 0)));
    transition: transform .24s ease-out;
  }
  .home-review-list:has(> :only-child) { grid-auto-columns: 100%; }
  .home-review-arrow {
    position: absolute;
    z-index: 1;
    inset-block: 0;
    width: 2rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--teal);
    cursor: pointer;
  }
  .home-review-arrow[data-review-step="-1"] { inset-inline-start: 0; border-radius: .85rem 0 0 .85rem; background: linear-gradient(to right, rgb(255 255 255 / 82%), rgb(255 255 255 / 28%)); }
  .home-review-arrow[data-review-step="1"] { inset-inline-end: 0; border-radius: 0 .85rem .85rem 0; background: linear-gradient(to left, rgb(255 255 255 / 82%), rgb(255 255 255 / 28%)); }
  .home-review-arrow:disabled { opacity: .32; cursor: default; }
  .home-review-arrow svg { width: .8rem; height: 1rem; filter: drop-shadow(0 0 2px white); }
}
@media (prefers-reduced-motion: reduce) {
  .home-review-list { transition: none; }
}

.home-faq { padding-block: .65rem 1.8rem; }
@container storefront (width > 40rem) {
  .home-faq { position: relative; padding-block: 1.8rem; }
  @media (hover: hover) {
    .home-faq-button:hover {
      background: var(--accent-soft);
      border-color: var(--accent);
      color: var(--on-soft);
    }
  }
  .home-faq::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: calc(50% - 50cqw);
    border-top: 1px solid var(--line);
  }
}
.home-faq-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.2rem, 1vw, .65rem); }
.home-faq-button {
  display: grid;
  place-items: center;
  text-align: center;
  min-width: 0;
  min-height: 3.25rem;
  padding: .55rem clamp(.1rem, .75vw, .55rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--wash);
  color: var(--ink);
  font-size: clamp(.72rem, 1.5vw, .94rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@container storefront (width <= 40rem) {
  .home-reviews { padding-bottom: 1.5rem; }
  .home-reviews + .home-faq { padding-top: 0; }
  .home-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .home-faq-button { font-size: .875rem; }
}

.home-brands { padding-block: .65rem 1.8rem; }
.home-brands-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
  margin-bottom: 1rem;
}
.home-brands-heading h2 { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.65rem); letter-spacing: -.04em; }
.home-brand-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.home-brand-tabs button {
  border: 0;
  border-radius: .45rem;
  background: transparent;
  color: var(--muted);
  padding: .5rem .7rem;
  font-size: .86rem;
  font-weight: 650;
  cursor: pointer;
}
.home-brand-tabs button:hover, .home-brand-tabs button[aria-selected="true"] {
  background: color-mix(in srgb, var(--accent-soft) 60%, white);
  color: var(--teal);
}
.home-brand-tabs button[aria-selected="true"] { font-weight: 800; }
@container storefront (width <= 40rem) {
  .home-brands-heading { margin-bottom: .7rem; }
  .home-brand-tabs { width: 100%; justify-content: flex-start; }
  .home-brand-tabs button { padding: .45rem .4rem; font-size: .78rem; }
}

.desktop-shortcuts button[data-open="je-guide"]:hover { color: var(--teal); }
.storefront-guide {
  width: min(100% - 2rem, 44rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1.1rem 3.5rem #192e3140;
}
.storefront-guide[open] { display: flex; flex-direction: column; }
.storefront-guide::backdrop { background: #192e3177; }
body:has(.storefront-guide[open]) { overflow: hidden; }
.storefront-guide-heading { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.storefront-guide-heading h2 { margin: 0; font-size: 1.1rem; }
.storefront-guide-heading button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: .45rem; background: var(--wash); color: var(--teal); cursor: pointer; }
.storefront-guide-heading svg { width: 1rem; height: 1rem; }
.storefront-guide-content { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.storefront-guide-content img { display: block; max-width: 100%; height: auto; margin-inline: auto; }

@container storefront (width <= 40rem) {
  .home-information { gap: .5rem; }
  .home-rate-card {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .65rem;
    border-radius: .65rem;
  }
  .home-info-card h2 { font-size: .81rem; white-space: nowrap; }

  .home-rate-date { display: none; }
  .home-rate-card .home-info-empty {
    margin: 0;
    padding: 0;
    font-size: .75rem;
  }
  .home-rate-card { position: relative; }
  .home-rate-card .home-rate-heading { position: static; flex: none; }
  .home-rate-card .home-rate-tooltip { inset-block-start: calc(100% + .5rem); }
  .home-rate-card .home-rate-tooltip::before { content: ''; position: absolute; inset: -.55rem 0 100%; }
  .home-rate { flex: 1; margin: 0; }
  .home-rate-value { display: flex; justify-content: center; align-items: baseline; gap: .25rem; }
  .home-rate-value > span, .home-rate strong { font-size: .78rem; }
  .home-rate strong small { margin-inline-start: .1rem; font-size: .7rem; }
}

.storefront-breadcrumb { background: var(--wash); border-bottom: 1px solid var(--line); }
.storefront-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem .55rem;
  margin-block: 0;
  padding: .6rem 0;
  list-style: none;
  color: var(--muted);
  font-size: .8rem;
}
.storefront-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.storefront-breadcrumb li + li::before { content: "/"; margin-inline-end: .55rem; }
.storefront-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.storefront-breadcrumb [aria-current] { color: var(--ink); font-weight: 650; }

.breadcrumb-category-mobile, .footer-help-grid > .footer-support-mobile { display: none; }
.home-info-card.home-notice-mobile { display: none; }
.home-brand-status { color: var(--muted); }
.home-brand-status[hidden] { display: none; }
@container storefront (width <= 40rem) {
  .home-info-card.home-notice-desktop, .breadcrumb-category-desktop { display: none; }
  .home-info-card.home-notice-mobile { display: block; }
  .breadcrumb-category-mobile {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
  }
}

.home-brands .home-brand-status:not([hidden]) {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .75rem;
  min-height: 11rem;
  margin: 0;
  text-align: center;
}
.home-brands [data-load-state="loading"] .home-brand-status::after {
  content: '';
  width: 6rem;
  height: .3rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, transparent 15%, var(--accent) 50%, transparent 85%) 0 0 / 200% 100% no-repeat, var(--accent-soft);
  animation: home-brand-loading 1.1s ease-in-out infinite alternate;
}
@keyframes home-brand-loading { to { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .home-brands [data-load-state="loading"] .home-brand-status::after { animation: none; background-position: 50% 0; }
}


.storefront-toast {
  position: fixed;
  z-index: 100;
  inset-block-start: 0;
  inset-inline: 0;
  padding: calc(1rem + env(safe-area-inset-top)) 1rem 1rem;
  background: var(--accent);
  color: #fff;
  text-align: center;
  box-shadow: 0 .35rem 1rem #192e3130;
  font-size: .9rem;
  font-weight: 700;
  pointer-events: none;
}

.favorite-categories { display: flex; align-items: center; gap: .65rem; overflow: hidden; }
.favorite-categories ul { min-width: 0; overflow-x: auto; }
.favorite-categories button, .favorite-dialog footer button {
  flex: none;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: white;
  color: var(--teal);
  padding: .3rem .6rem;
  font-size: .8rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.favorite-categories button:hover, .favorite-dialog footer button:hover { background: var(--accent-soft); }
.favorite-dialog {
  width: min(42rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: white;
  color: var(--ink);
}
.favorite-dialog::backdrop { background: #192e315e; }
.favorite-dialog header { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.favorite-dialog h2 { margin: 0; font-size: 1.1rem; }
.favorite-help { margin: .85rem 1.2rem; color: var(--muted); font-size: .9rem; }
.favorite-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  max-height: min(50vh, 27rem);
  overflow: auto;
  padding: 0 1.2rem 1rem;
}
.favorite-group { border: 1px solid var(--line); border-radius: .5rem; padding: .4rem; }
.favorite-group label { display: flex; align-items: center; gap: .45rem; padding: .3rem; font-size: .85rem; }
.favorite-group input { accent-color: var(--accent); }
.favorite-group .favorite-root { font-weight: 700; }
.favorite-group .favorite-child { padding-inline-start: .8rem; }
.favorite-dialog footer { display: flex; justify-content: flex-end; gap: .5rem; padding: .8rem 1.2rem; border-top: 1px solid var(--line); }
.favorite-dialog footer button { padding: .55rem .9rem; }
.favorite-dialog footer button[type="submit"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.favorite-dialog footer button:disabled { opacity: .55; cursor: wait; }

.favorite-categories .favorite-edit {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-color: transparent;
}
.favorite-edit svg { width: .95rem; height: .95rem; }

.catalog-loading {
  width: min(22rem, calc(100% - 2rem));
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: rgb(255 255 255 / 72%);
  color: var(--ink);
  text-align: center;
}
.catalog-loading::backdrop { background: rgb(25 46 49 / 12%); }
.catalog-loading p { margin: 0 0 .8rem; font-weight: 650; }
.catalog-loading progress { display: block; width: min(100%, 13rem); height: .45rem; margin-inline: auto; accent-color: var(--accent); }

.header-search-help { position:relative; flex:none; }
.header-search-help > button {
  display:grid;
  place-items:center;
  width:1.8rem;
  height:1.8rem;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  cursor:pointer;
}
.header-search-help svg { width:1rem; height:1rem; }
.header-search-tooltip {
  position:absolute;
  z-index:25;
  inset-block-start:calc(100% + .5rem);
  inset-inline-end:0;
  width:min(25rem, calc(100vw - 2rem));
  padding:.75rem .85rem;
  border:1px solid var(--line);
  border-radius:.55rem;
  background:#fff;
  color:var(--ink);
  box-shadow:0 .5rem 1.5rem #192e3126;
  font-size:.8rem;
  line-height:1.5;
  visibility:hidden;
}
.header-search-tooltip::before { content:""; position:absolute; inset:-.55rem 0 100%; }
.header-search-help:is(:hover,:focus-within) .header-search-tooltip { visibility:visible; }
.header-search-tooltip p { margin:.3rem 0 0; color:var(--muted); }
.self-purchase-icon { width: 1rem; height: 1rem; }
a.self-purchase:hover, a.self-purchase[aria-current] { background: var(--accent-soft); }
.home-rate { grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); grid-template-columns: none; }
.home-rate strong { font-size: clamp(.95rem,1.55vw,1.4rem); }
@container storefront (width <= 40rem) {
  .home-rate-card { gap: .35rem; }
  .home-rate-value { display: grid; gap: .12rem; }
  .home-rate-value > span { font-size: .68rem; }
  .home-rate strong { font-size: .79rem; }
}

.home-notice-card {
  overflow: hidden;
  box-shadow: 0 .35rem 1rem color-mix(in srgb, var(--accent) 6%, transparent);
}
.home-notice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1.05rem;
  background: color-mix(in srgb, var(--accent-soft) 40%, white);
  border-bottom: 1px solid var(--line);
}
.home-notice-heading h2 { letter-spacing: -.025em; }
.home-notice-heading a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
}
.home-notice-heading a:hover { background: var(--accent-soft); }
.home-notice-heading svg, .home-notices svg { flex: none; width: .45rem; height: .75rem; }
.home-notices { margin: 0; padding: 0; list-style: none; }
.home-notices li + li { border-top: 1px solid color-mix(in srgb, var(--line) 72%, white); }
.home-notices a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .72rem;
  min-height: 2.65rem;
  padding: .45rem 1.05rem;
  font-size: .84rem;
  transition: background-color .15s ease, color .15s ease;
}
.home-notices a:hover { background: var(--wash); color: var(--teal); }
.home-notices a:focus-visible { outline-offset: -2px; }
.home-notice-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.home-notices time { flex: none; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.home-rate { column-gap: clamp(.65rem, 1.1vw, 1rem); }
.home-rate-value + .home-rate-value { border-inline-start: 0; }
@container storefront (width <= 40rem) {
  .home-rate { column-gap: .55rem; }
  .home-notice-mobile .home-notices a { min-height: 2.85rem; padding-inline: .9rem; }
  .home-notice-mobile .home-notices svg { color: var(--teal); }
}

.home-rate-card, .home-support { border-color: color-mix(in srgb, var(--accent) 15%, var(--line)); }
.home-support {
  display: grid;
  align-content: center;
  gap: .75rem;
  padding: clamp(.9rem, 1.5vw, 1.3rem);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 60%, white), #fff 72%);
  box-shadow: 0 .4rem 1.2rem color-mix(in srgb, var(--accent) 7%, transparent);
}
.home-support h2 { text-align: center; }
.home-support h2 a:hover { color: var(--accent); }
.home-support .footer-contact-number {
  justify-self: center;
  margin: 0;
  font-size: clamp(1.55rem, 2.65vw, 2rem);
}
.home-support .footer-contact-number:hover { text-decoration: underline; text-underline-offset: .16em; }
.home-support .footer-help-details {
  gap: .35rem;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: rgb(255 255 255 / 75%);
  font-size: .8125rem;
}
.home-support .footer-help-details dt { color: var(--muted); }
.home-support .footer-help-details dd { text-align: right; }
.home-support .footer-help-label { margin: 0; padding: 0; color: var(--muted); text-align: center; }
.footer-home-notices { min-width: 0; }
.footer-home-notices .home-notice-heading h2 { margin: 0; }
.footer-home-notices .home-notices a:hover { text-decoration: none; }
@container storefront (width <= 40rem) {
  .home-information > .home-support-desktop { display: none; }
  .footer-help-grid > .footer-support-mobile { display: flex; }
  .footer-home-notices:empty { display: none; }
}

#google_translate_element, .product-translation > .skiptranslate > iframe, .product-translation .goog-te-banner-frame { display: none !important; }
body.product-translation { top: 0 !important; }

.footer-policy-items a:hover { color: var(--accent); text-decoration: underline; }
.storefront-legal { flex: 1; padding-block: clamp(1.5rem, 4vw, 3rem); }
.storefront-legal h1 { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.storefront-legal-body {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  font-size: .92rem;
  line-height: 1.8;

  overflow-wrap: anywhere;
}
.storefront-legal-body p { margin: 0 0 .65rem; }
.storefront-legal-body h2 { margin: 1.6rem 0 .65rem; font-size: 1.1rem; }
.storefront-legal-table { overflow-x: auto; margin-block: 1rem 1.4rem; }
.storefront-legal-table table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.storefront-legal-table table:has(th:nth-child(5)) { min-width: 43rem; }
.storefront-legal-table :is(th, td) { border: 1px solid var(--line); padding: .55rem .7rem; text-align: start; }
.storefront-legal-table th { background: var(--wash); }