#notice:empty { display: none; }
#notice { color: #65451d; font-weight: 600; }
.page-error p { margin-bottom: 0; }
.page-error .button { margin-top: 12px; }
.brand { min-width: 0; }
.brand span:last-child, .account h1 { overflow-wrap: anywhere; }
.brand-icon { flex: none; }
#nav { flex-wrap: wrap; }
.account > div { min-width: 0; }
.dealer-panel { max-width: 700px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.dealer-panel form { gap: 13px; }
.address-preview { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.setup-card {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
.setup-card-header, .setup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.setup-card-header { justify-content: space-between; }
.setup-card h3, .setup-card p { margin: 0; }
.setup-card p { color: var(--soft); overflow-wrap: anywhere; }
.setup-actions { margin-top: auto; }
.setup-actions:empty { display: none; }
.setup-readiness { margin-bottom: 16px; padding: 16px 20px; border: 1px solid #bdcbb1; border-radius: 14px; background: #edf3e6; }
.setup-readiness p { margin: 5px 0 0; color: var(--soft); }
.setup-readiness .button { margin-top: 10px; }
.setup-readiness .button + .button { margin-left: 8px; }
.dealer-guide { max-width: 820px; display: grid; gap: 10px; }
.dealer-guide details { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.dealer-guide summary { cursor: pointer; font-weight: 750; }
.dealer-guide details p { color: var(--soft); margin: 10px 0; overflow-wrap: anywhere; }
.dealer-guide .button { margin: 4px 8px 0 0; }
.offer-estimate { color: var(--soft); margin: 0; overflow-wrap: anywhere; }
.dealer-panel p { color: var(--soft); line-height: 1.6; }
.dealer-panel .webhook { width: 100%; }
.dealer-tools { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.dealer-tools input { flex: 1; }
.dealer-list { display: grid; gap: 10px; }
.dealer-list .order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.pg-subtitle { color: var(--soft); line-height: 1.5; }
.order-contact { display: grid; gap: 3px; margin-top: 5px; overflow-wrap: anywhere; }
.checkout-buyer {
  min-width: 0; margin: 6px 0; padding: 10px 12px 13px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; gap: 9px;
}
.checkout-buyer legend { padding: 0 5px; font-weight: 750; }
.checkout-buyer small { color: var(--soft); line-height: 1.45; }
.receipt, .receipt-details { display: grid; gap: 9px; min-width: 0; overflow-wrap: anywhere; }
.receipt p { margin: 0; }
.receipt img { width: min(250px, 100%); height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 5px auto; }
.receipt .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.brand-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 2px #ffffff22;
}
.storefront {
  --ink: #1e1935;
  --soft: #625b76;
  --line: #e7e3ef;
  --paper: #fff;
  --accent: #532bd5;
  background: #f9f8fc;
  color: var(--ink);
}
.storefront :focus-visible { outline-color: #6745dd; }
.storefront .wrap { width: min(1240px, calc(100% - 72px)); }
.storefront .brand { letter-spacing: -.025em; font-size: 1rem; min-width: 0; }
.storefront .brand span:last-child { overflow-wrap: anywhere; }
.storefront .brand-icon { flex: none; background: #5831df; color: white; border-radius: 12px; }
.storefront .topbar-inner { min-height: 80px; display: grid; grid-template-columns: minmax(145px, 1fr) minmax(240px, 540px) max-content; gap: clamp(10px, 3vw, 38px); }
#store-search { display: flex; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #f8f6fc; }
#store-search:focus-within { border-color: #9b88e2; }
#store-search input { width: 100%; border: 0; background: transparent; padding: 12px 14px; outline-offset: -4px; }
#store-search #search { min-width: 0; }
.search-go { color: #5634cb; background: transparent; padding: 0 14px; border: 0; border-radius: 0 12px 12px 0; font-weight: 700; white-space: nowrap; }
.search-go:hover { background: #eee8fb; }
.storefront .lookup { background: #f0eafa; color: #4726a8; white-space: nowrap; }
.storefront main { padding-block: 34px 58px; }
.storefront .primary { background: #532bd5; color: white; }
.storefront .primary:hover { background: #4622bc; }
.shop-hero {
  position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden;
  min-height: 374px; border-radius: 24px; background: linear-gradient(115deg, #eee7ff 25%, #ddd0ff 100%);
}
.shop-hero-copy { z-index: 1; padding: clamp(28px, 5.2vw, 64px); max-width: 650px; }
.shop-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); line-height: 1; margin-bottom: 18px; letter-spacing: -.068em; }
.shop-hero h1 em { font-family: Georgia, serif; color: #5128c7; font-weight: 400; }
.shop-hero p { color: #4f4269; max-width: 365px; margin-bottom: 24px; line-height: 1.65; }
.shop-hero img {
  position: absolute; right: 0; top: 0; width: 58%; height: 100%; z-index: -1;
  object-fit: cover; object-position: 75% center;
  mask-image: linear-gradient(90deg, transparent, black 25%);
}
.shop-hero a { min-height: 46px; padding-inline: 18px; }
.shop-catalogue { margin-top: 35px; scroll-margin-top: 20px; }
.shop-catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shop-catalogue h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.052em; margin: 0 0 5px; line-height: 1.1; }
.result-count { color: var(--soft); font-size: .9rem; margin: 0; }
.shop-toolbar { display: flex; align-items: center; gap: 14px; }
.shop-toolbar select { border-color: var(--line); }
.shop-stock-filter { display: flex; align-items: center; flex-direction: row-reverse; gap: 6px; font-size: .9rem; white-space: nowrap; }
.shop-stock-filter input { accent-color: #532bd5; }
.shop-categories { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.shop-categories .button { border-radius: 99px; min-height: 38px; padding: 6px 14px; font-size: .86rem; }
.shop-categories .button[aria-pressed=true] { background: #ede7fd; border-color: #b4a2ee; color: #4824be; }
.shop-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.shop-product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.shop-product-art { --tile: #d6c7ff; --mark: #4a25af; position: relative; isolation: isolate; min-height: 111px; display: grid; place-items: center; background: radial-gradient(ellipse at 26% 110%, white, transparent 68%), var(--tile); }
.shop-product-art.mint { --tile: #c7edde; --mark: #1a6853; }
.shop-product-art.amber { --tile: #ffdfb8; --mark: #713c1c; }
.shop-product-art.slate { --tile: #dce7ff; --mark: #304f97; }
.shop-product-art::before {
  content: ""; width: 115px; height: 49px; position: absolute; z-index: -1; transform: rotate(-32deg);
  border: 1px solid #fff; border-radius: 50%; opacity: .8;
}
.product-mark {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: #ffffffab; color: var(--mark);
  box-shadow: 0 8px 20px #26204320, inset 0 0 0 1px #ffffffc4; font-size: 1.08rem; font-weight: 800; letter-spacing: -.05em;
}
.product-stock { position: absolute; top: 10px; right: 10px; border-radius: 20px; padding: 5px 8px; font-weight: 650; font-size: .68rem; color: #3e3154; background: #fffc; }
.product-stock.unavailable { color: #6c3d38; }
.shop-product-body { display: flex; flex: 1; flex-direction: column; padding: 15px; min-width: 0; }
.product-category { color: #625583; font-weight: 680; font-size: .73rem; }
.shop-product h3 { color: var(--ink); font-size: 1rem; margin: 5px 0 7px; line-height: 1.32; overflow-wrap: anywhere; }
.product-facts, .checkout-facts { color: var(--soft); font-size: .8rem; margin-bottom: 8px; line-height: 1.5; }
.shop-product-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.shop-product-bottom strong { color: #4423ac; font-size: 1.14rem; }
.shop-product-bottom .button { padding: 8px 10px; min-height: 37px; font-size: .82rem; }
.shop-more { display: flex; margin: 21px auto 0; }
#store-footer { border-top: 1px solid var(--line); background: white; }
.store-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px; color: var(--soft); }
.store-footer-inner button { border: 0; background: none; color: #532bd5; }
.storefront dialog { box-shadow: 0 18px 66px #1711293b; }
.storefront .close, .storefront .delivery { background: #f1edf9; }
.storefront dialog::backdrop { background: #25183bb5; }
@media (max-width: 950px) {
  .storefront .wrap { width: calc(100% - 40px); }
  .shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .shop-hero { min-height: 326px; }
}
@media (max-width: 650px) {
  .setup-grid { grid-template-columns: 1fr; }
  .dealer-panel { padding: 16px; }
  .dealer-list .order-row { grid-template-columns: 1fr; }
  .dealer-list .order-row > span:last-child { justify-items: start; }
  .dealer-list .order-row > span:last-child { white-space: normal; }
  #nav button { flex: 1 1 auto; min-height: 42px; padding-inline: 10px; }
  dialog { max-height: 90dvh; padding: 20px; }
  .storefront .wrap { width: calc(100% - 26px); }
  .storefront .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 10px; }
  #store-search { grid-row: 2; grid-column: 1 / -1; }
  .storefront main { padding-top: 16px; }
  .shop-hero { min-height: 320px; border-radius: 17px; align-items: start; }
  .shop-hero-copy { padding: 24px 20px; }
  .shop-hero h1 { font-size: clamp(2.25rem, 8.6vw, 3.25rem); }
  .shop-hero p { max-width: 230px; font-size: .9rem; }
  .shop-hero img { top: auto; bottom: 0; width: 72%; height: 65%; object-position: center; mask-image: linear-gradient(125deg, transparent 18%, black 73%); }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .shop-product-body { padding: 10px; }
  .shop-product-art { min-height: 91px; }
  .product-mark { width: 46px; height: 46px; border-radius: 13px; }
  .product-stock { font-size: .63rem; top: 5px; right: 5px; }
  .shop-product h3 { font-size: .9rem; }
  .shop-catalogue-heading { align-items: start; flex-direction: column; }
  .shop-toolbar { flex-wrap: wrap; gap: 7px; }
  .shop-toolbar select { padding: 8px; }
}
