/* Public storefront foundations and shared navigation. */
.storefront-refresh {
  --store-action: #087591;
  --store-coral: #b42335;
  --store-ink: #172c3d;
  --store-muted: #496171;
  --store-border: #d6e6ed;
  --store-bg: #fff;
  --store-tint: #edf7fb;
  --store-radius: 8px;
  --store-shadow: 0 4px 14px #172c3d0e;
  --store-header-ink: #133b52;
  --store-header-accent: #087591;
  --store-header-hover: #07566d;
  --store-header-cyan: #08a8d6;
  --store-header-text: #102432;
}
.storefront-refresh.homepage-theme {
  --store-action: var(--home-action,#087591);
  --store-coral: var(--home-primary,#087591);
  --store-bg: var(--home-bg,#fff);
  --store-ink: var(--home-ink,#172c3d);
}
.storefront-refresh :is(a,button,summary,input:is([type=checkbox],[type=radio]),[tabindex]:not(input,select,textarea,[contenteditable])):focus-visible {
  outline-color: var(--store-header-accent) !important;
}
.storefront-refresh .btn { border-radius: var(--store-radius); }
.storefront-refresh .btn:not(.outline):hover { background: var(--store-header-hover); border-color: var(--store-header-hover); }
.storefront-refresh .btn.outline { border-color: #9dbecb; }
.storefront-refresh .social-signin {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
  text-align: center;
  margin-block: 20px;
  padding-block-start: 16px;
  border-top: 1px solid var(--store-border);
}
.storefront-refresh .social-signin p { margin: 0; }
.storefront-refresh .social-signin-button.btn.outline {
  gap: 10px;
  background: #fff;
  border-color: #747775;
  color: #1f1f1f;
}
.storefront-refresh .social-signin-button.btn.outline:hover { background: #f5f7fa; }
.storefront-refresh .social-signin-button img { flex: none; width: 20px; height: 20px; }

.storefront-refresh.page-thanks .receipt {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.storefront-refresh.page-thanks .receipt h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
}
.storefront-refresh.page-thanks .receipt h1[tabindex="-1"]:focus {
  outline: none !important;
}
.storefront-refresh.page-thanks .receipt dl {
  max-width: 560px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 12px 16px;
  text-align: left;
}
.storefront-refresh.page-thanks .receipt dd { margin: 0; }
.storefront-refresh.page-thanks .receipt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.storefront-refresh.page-thanks .receipt-actions .btn.outline {
  border-color: var(--store-action);
}

.storefront-refresh .order-lookup-layout {
  width: min(100%, 720px);
  margin-inline: auto;
}
.storefront-refresh .order-lookup-layout h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.375rem);
  margin-bottom: 20px;
}
.storefront-refresh .order-lookup-card {
  padding: clamp(16px, 3vw, 28px);
}
.storefront-refresh .order-lookup-help {
  margin: 0 0 16px;
  color: var(--store-muted);
  font-size: .875rem;
}
.storefront-refresh .order-lookup-layout--result {
  width: min(100%, 880px);
}
.storefront-refresh .order-lookup-summary {
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px #153e5314;
}
.storefront-refresh .order-lookup-history { margin-top: 24px; }
.storefront-refresh .order-lookup-history h2 { margin: 0 0 10px; }
.storefront-refresh .order-lookup-history-entry { border-radius: 12px; box-shadow: none; }
.storefront-refresh .order-lookup-history-entry + .order-lookup-history-entry { margin-top: 8px; }
.storefront-refresh .order-lookup-history-entry summary {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 14px;
  background: #f1fcf9;
  list-style: none;
  cursor: pointer;
}
.storefront-refresh .order-lookup-history-entry summary::-webkit-details-marker { display: none; }
.storefront-refresh .order-lookup-history-entry summary:focus-visible { outline-offset: -3px; }
.storefront-refresh .order-lookup-history-item {
  display: grid;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.storefront-refresh .order-lookup-history-item small {
  overflow: hidden;
  color: var(--store-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.storefront-refresh .order-lookup-history-entry summary > svg { width: 18px; height: 18px; }
.storefront-refresh .order-lookup-history-entry[open] summary > svg { transform: rotate(180deg); }
.storefront-refresh .order-lookup-history-entry .order-lookup-status { font-size: .75rem; padding: 3px 8px; }
.storefront-refresh .order-lookup-history-date {
  margin: 0;
  padding: 8px 14px;
  border-bottom: 1px solid var(--store-border);
  color: var(--store-muted);
  font-size: .875rem;
}
.storefront-refresh .order-lookup-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: clamp(20px, 4vw, 32px);
  border-bottom: 1px solid #c8e8e3;
  background: linear-gradient(112deg, #f1fcf9, #d9f5ef);
  color: #12463e;
}
.storefront-refresh .order-lookup-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 4vw, 2rem);
  overflow-wrap: anywhere;
}
.storefront-refresh .order-lookup-heading h2 span {
  display: block;
  color: #36645d;
  font-size: .875rem;
  margin-bottom: 4px;
}
.storefront-refresh .order-lookup-heading p {
  color: #36645d;
  margin: 9px 0 0;
  font-size: .875rem;
}
.storefront-refresh .order-lookup-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #00000012;
  background: #fff;
  color: #145372;
  font-size: .875rem;
}
.storefront-refresh .order-lookup-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.storefront-refresh .order-lookup-status[data-status="completed"] { background: #ddf7e9; color: #156344; }
.storefront-refresh .order-lookup-status[data-status="cancelled"] { background: #fde8eb; color: #9a2635; }
.storefront-refresh .order-lookup-summary-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.storefront-refresh :is(.order-lookup-item, .order-lookup-payment) {
  padding: clamp(18px, 3vw, 28px);
}
.storefront-refresh .order-lookup-payment {
  background: #f4f9fc;
  border-inline-start: 1px solid var(--store-border);
}
.storefront-refresh .order-lookup-summary h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 1rem;
}
.storefront-refresh .order-lookup-summary h3 svg {
  width: 20px;
  height: 20px;
  color: var(--store-action);
}
.storefront-refresh .order-lookup-item p {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}
.storefront-refresh .order-lookup-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
  font-size: .9375rem;
}
.storefront-refresh .order-lookup-result dt { color: var(--store-muted); }
.storefront-refresh .order-lookup-result dd { margin: 0; overflow-wrap: anywhere; }
.storefront-refresh .order-lookup-payment .order-lookup-result dd {
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.storefront-refresh .order-lookup-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #dff2f8;
  color: #124e64;
  font-weight: 700;
}
.storefront-refresh .order-lookup-total dd {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.storefront-refresh .order-lookup-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.storefront-refresh .order-lookup-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.storefront-refresh .order-lookup-actions svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .storefront-refresh .order-lookup-summary-body { grid-template-columns: minmax(0, 1fr); }
  .storefront-refresh .order-lookup-heading,
  .storefront-refresh :is(.order-lookup-item, .order-lookup-payment) { padding: 14px 16px; }
  .storefront-refresh .order-lookup-summary h3,
  .storefront-refresh .order-lookup-item p { margin-bottom: 8px; }
  .storefront-refresh .order-lookup-total { margin-top: 10px; padding: 8px 12px; }
  .storefront-refresh .order-lookup-actions { margin-top: 16px; }
  .storefront-refresh .order-lookup-payment {
    border-inline-start: 0;
    border-block-start: 1px solid var(--store-border);
  }
}
@media (max-width: 540px) {
  .storefront-refresh .order-lookup-card .btn { width: 100%; }
}

.store-header {
  color: var(--store-header-text);
  background: var(--store-header-cyan);
  box-shadow: none;
  border-bottom: 1px solid var(--store-header-cyan);
}
.store-header :is(a,button,summary):focus-visible { outline-color: var(--store-header-text) !important; }
.store-header .store-logo { min-height: 48px; color: #fff; }
.store-header .store-logo > span { width: 26px; height: 26px; border-radius: 0; background: transparent; color: inherit; }
.store-header .store-logo strong span { color: inherit; }
.store-header .store-header-actions a,.store-header .store-hotline small { color: #fff; }
.store-header .store-header-actions .store-account { border-radius: 0; background: transparent; color: #fff; }
.store-header .store-search { height: 48px; border-radius: 7px; background: #fff; }
.storefront-refresh .store-header form.store-search input[type=search] {
  background: transparent;
  border: 0;
}
.store-header .store-search button {
  color: var(--store-header-text);
  background: transparent;
}
.store-header .store-search button:hover { color: var(--store-header-accent); }
.store-header .store-nav-inner { gap: clamp(16px,2vw,30px); }
.store-header .main-navigation { gap: clamp(6px,1.4vw,20px); }
.storefront-refresh .store-header :is(.main-navigation > a,.policy-toggle) { color: #fff; }
.store-header .main-navigation > a[aria-current=page] { box-shadow: inset 0 -2px #fff; }
.store-header .main-navigation > a:hover,.store-header .policy-toggle:hover { background: #ffffff40; }
.storefront-refresh .store-header .menu-toggle {
  min-width: 190px;
  padding-inline: 13px;
  color: var(--store-header-text);
  background: #fff;
  border-radius: 6px;
}
.storefront-refresh .store-header .menu-toggle:is(:hover,[aria-expanded=true]) { background: var(--store-tint); }
.store-header :is(.site-menu,.policy-menu) { border-radius: 7px; }
.store-header :is(.site-menu,.policy-menu) a:hover { background: var(--store-tint); color: var(--store-header-ink); }
.store-header :is(.site-menu,.policy-menu) a:focus-visible { outline-offset: -2px !important; }

.store-mobile-menu,.store-mobile-category,.store-header .store-search-toggle { display: none; }
@media (min-width:800px) {
  .store-header-main .store-brand-group { grid-area: 1 / 1; }
  .store-header-main .store-search { grid-area: 1 / 2; }
  .store-header-main .store-header-actions { grid-area: 1 / 3; }
  .store-header .store-navigation { padding-block: 0 8px; }
}
@media (max-width:799px) {
  .storefront-refresh .store-header { position: relative; }
  .store-header-main {
    position: relative;
    grid-template-columns: minmax(44px,1fr) auto minmax(88px,1fr);
    gap: 8px;
    padding-block: 10px;
  }
  .store-header-main .store-brand-group { grid-area: 1 / 2; justify-self: center; }
  .store-header-main .store-logo { min-height: 44px; font-size: clamp(1rem,4.5vw,1.35rem); }
  .store-header [data-mobile-search-ready] .store-search-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .store-header .store-search-toggle svg { width: 21px; height: 21px; }
  .store-header-main .store-header-actions { grid-area: 1 / 3; justify-self: end; gap: 0; }
  .store-header-main .store-hotline { display: none; }
  .store-header-main .store-search { grid-area: 3 / 1 / 4 / -1; height: 44px; }
  .store-header-main[data-mobile-search-ready]:not(.store-search-open) .store-search { display: none; }
  .storefront-refresh .store-header form.store-search input[type=search] { font-size: 16px; }
  .store-mobile-category { display: block; position: relative; grid-area: 2 / 1 / 3 / -1; min-width: 0; }
  .storefront-refresh .store-mobile-category .menu-toggle { width: 100%; min-height: 44px; justify-content: flex-start; gap: 8px; margin: 0; }
  .store-mobile-category .menu-toggle > svg { width: 17px; height: 17px; flex: none; }
  .store-mobile-category .menu-toggle > svg:last-child { margin-inline-start: auto; }
  .store-mobile-category .menu-toggle[aria-expanded=true] > svg:last-child { transform: rotate(180deg); }
  .storefront-refresh .store-mobile-category .site-menu {
    z-index: 2;
    inset: calc(100% + 4px) 0 auto;
    width: 100%;
    max-height: min(54vh, 25rem);
    padding-block: 4px;
    overscroll-behavior: contain;
  }
  .store-mobile-menu,.store-mobile-panel details { margin: 0; }
  .store-mobile-menu { display: block; grid-area: 1 / 1; justify-self: start; }
  .store-header .store-mobile-menu > summary { width: 44px; justify-content: center; color: #fff; }
  .store-mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 6px 8px;
    color: var(--store-header-ink);
    font-size: .8125rem;
    font-weight: 750;
    list-style: none;
  }
  .store-mobile-menu summary::-webkit-details-marker { display: none; }
  .store-mobile-menu summary svg { flex: none; width: 20px; height: 20px; }
  .store-mobile-menu details[open] > summary svg:last-child { transform: rotate(180deg); }
  .store-mobile-panel {
    position: absolute;
    z-index: 3;
    inset: calc(100% + 1px) 0 auto;
    max-height: min(60vh,32rem);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--store-border);
    border-radius: 7px;
    background: #fff;
    box-shadow: var(--store-shadow);
  }
  .store-mobile-panel a,.store-mobile-panel summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--store-border);
    font-size: .875rem;
    line-height: 1.4;
  }
  .store-mobile-panel a[aria-current=page] { font-weight: 720; background: var(--store-tint); }
  .store-mobile-panel details a { padding-inline-start: 24px; }
  .store-mobile-panel :is(a,summary):focus-visible { outline-offset: -2px !important; }
}

.storefront-refresh .store-services-grid a { background: var(--store-tint); border-radius: 7px; }
.storefront-refresh .store-services-grid a:hover { background: #dff1f8; }
.storefront-refresh .store-service-icon { color: var(--store-header-accent); }
.storefront-refresh .site-footer {
  border-top: 1px solid #c1dce8;
  background: #eaf6fa;
  color: var(--store-ink);
}
.storefront-refresh .site-footer :is(h3,summary) { color: var(--store-header-ink); }
.storefront-refresh .site-footer p { color: var(--store-muted); }
.storefront-refresh .site-footer a,.storefront-refresh .site-footer a:hover { color: var(--store-header-ink); }
.storefront-refresh .site-footer summary { border-bottom-color: var(--store-border); }
.storefront-refresh .footer-copyright {
  margin: 24px 0 0;
  padding: 12px 80px;
  background: #4f4f4f;
  color: #fff;
  text-align: center;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (min-width:800px) {
  .storefront-refresh .site-footer-columns { padding-block-start: 8px; }
}
.storefront-refresh .policy-page-article .product-rich-content a { color: var(--store-action); border-color: var(--store-border); background: var(--store-tint); }
.storefront-refresh .chat-widget .chat-launcher { background: var(--store-header-accent); animation: none; }
