body[data-surface="buyer"] {
  --shop-ink: #15234b;
  --shop-muted: #536580;
  --shop-blue: #245bc6;
  --shop-blue-hover: #194ba9;
  --shop-paper: #f4f6fa;
  --shop-line: #d8e1ef;
  --shop-selected: #ebf2ff;
  background: #fff;
  color: var(--shop-ink);
}

[data-buyer-store-content][hidden] { display: none; }
.buyer-container { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.buyer-header { background: #fff; border-bottom: 1px solid var(--shop-line); }
.store-announcement {
  background: var(--shop-ink);
  color: #fff;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.buyer-tools {
  min-height: 88px;
  padding-block: 12px;
  display: grid;
  grid-template-columns: minmax(176px,max-content) minmax(144px,324px) minmax(max-content,1fr) auto auto;
  gap: 12px;
  align-items: center;
}
.buyer-tools > .buyer-brand { grid-column: 1; }
.buyer-tools > .buyer-search-slot { grid-column: 2; }
.buyer-tools > .buyer-links { grid-column: 3; justify-self: end; }
.buyer-tools > .buyer-cart { grid-column: 4; }
.buyer-tools > .language-nav { grid-column: 5; }
.buyer-brand { display: inline-flex; align-items: center; }
.buyer-brand .brand-logo { width: 176px; max-inline-size: 100%; height: auto; }
.buyer-search-slot { min-width: 0; }
.buyer-market-slot:empty { display: none; }
.buyer-market { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--shop-line); border-radius: 10px; }
.buyer-market small { font-size: 12px; color: var(--shop-muted); }
.buyer-market strong, .buyer-market select { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.buyer-market select { width: 100%; min-height: 44px; color: inherit; background: #fff; }
.buyer-links > :is(a,button)[hidden] { display: none; }
.buyer-links { position: relative; display: flex; align-items: stretch; gap: 4px; white-space: nowrap; }
.buyer-links a, .buyer-cart {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--shop-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.buyer-links a:hover, .buyer-cart:hover { background: var(--shop-paper); }
.buyer-links a[aria-current], .buyer-cart[aria-current] { background: var(--shop-selected); color: var(--shop-blue); }
.buyer-links .buyer-help { min-width: 38px; }
.buyer-links .buyer-service-closed {
  display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
  gap: 4px; padding: 5px 6px; color: var(--shop-muted); font: inherit; font-size: 13px; font-weight: 600;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
}
.buyer-links .buyer-service-closed:is(:hover,:focus-visible,[aria-expanded="true"]) { background: var(--shop-paper); }
#buyer-shortcut-status {
  position: absolute; z-index: 3; inset-block-start: calc(100% + 4px); inset-inline-start: 0;
  margin: 0; max-width: min(300px,100%); padding: 8px 12px; white-space: normal;
  border: 1px solid var(--shop-line); border-radius: 10px; background: #fff; color: var(--shop-muted); font-size: 13px;
}
.buyer-header .icon, .buyer-mobile-nav .icon { width: 19px; height: 19px; flex: none; }
.buyer-cart { position: relative; min-width: 44px; }
.buyer-cart-count {
  position: absolute; inset-block-start: 1px; inset-inline-end: 1px;
  min-width: 15px; padding-inline: 4px; border-radius: 10px;
  background: var(--shop-blue); color: white; text-align: center; font-size: 10px;
  line-height: 15px; font-variant-numeric: tabular-nums;
}
.buyer-header .catalog-search button { font-size: 17px; }
.buyer-cart .icon { width: 22px; height: 22px; }
.buyer-header .locale-control { min-height: 40px; border-radius: 14px; border-color: var(--shop-line); color: var(--shop-ink); }
.buyer-header .locale-control select { font-weight: 650; }
.buyer-categories {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: stretch;
}
.buyer-categories a, .buyer-categories button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--shop-muted);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.buyer-categories :is(a[aria-current],button[aria-pressed="true"]:not(:disabled)) {
  color: var(--shop-blue);
  border-bottom-color: var(--shop-blue);
  font-weight: 650;
}
.buyer-categories:has(.buyer-home[aria-current]) button[data-category=""] { color: var(--shop-muted); border-color: transparent; font-weight: 400; }
.buyer-categories :is(a,button):hover { color: var(--shop-blue); }
.buyer-categories button:disabled { cursor: default; opacity: .7; }

.buyer-scope {
  min-height: 72px;
  margin-block: 22px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--shop-line);
  border-radius: 16px;
  background: var(--shop-paper);
  font-size: 13px;
}
.buyer-scope .icon { width: 18px; height: 18px; flex: none; }
.buyer-scope p { margin: 0; overflow-wrap: anywhere; }
.buyer-scope button {
  min-height: 40px; padding: 6px 12px; border: 1px solid var(--shop-line); border-radius: 12px;
  background: #fff; color: var(--shop-blue); font: inherit; cursor: pointer;
}
.store-hero {
  display: grid;
  grid-template-columns: 47% 53%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--shop-paper);
}
.store-hero-copy {
  align-self: start;
  min-width: 0;
  padding: 82px clamp(28px, 4.7vw, 68px);
}
.store-edition { display: block; margin-bottom: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--shop-muted); font-size: 11px; }
.store-hero h1 {
  max-width: 9em;
  margin: 0 0 16px;
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.13;
  color: var(--shop-ink);
  font-weight: 750;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.store-hero p { margin: 0 0 24px; font-size: 17px; color: var(--shop-muted); }
.store-hero .primary-link {
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  gap: 10px;
  border: 0;
  border-radius: 24px;
  background: var(--shop-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}
.store-hero .primary-link:hover { background: var(--shop-blue-hover); }
.store-hero .icon { width: 17px; height: 17px; }
.store-scene { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; background: #e8e2d4; }
.buyer-welcome { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-block: 20px 0; }
.buyer-welcome[hidden] { display: none; }
.buyer-welcome-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--shop-blue); background: var(--shop-selected); }
.buyer-welcome strong, .buyer-welcome small { display: block; }
.buyer-welcome small { color: var(--shop-muted); }
.buyer-welcome strong { overflow-wrap: anywhere; }

.browse-section, .buyer-about, .buyer-commerce { padding-block: 20px; }
.browse-section { margin-top: 24px; }
.browse-heading h2, .buyer-about h2 { margin: 0 0 14px; color: var(--shop-ink); font-size: 24px; line-height: 1.25; }
.buyer-about p { max-width: 640px; color: var(--shop-muted); }
.store-notice, .browse-count { color: var(--shop-muted); margin: 10px 0; font-size: 14px; }
.store-notice:empty, .browse-count:empty { display: none; }
.store-error { color: #a12936; }
.catalog-search {
  display: flex;
  position: relative;
  min-width: 0;
  min-height: 46px;
  align-items: stretch;
  padding-block: 0;
  padding-inline: 42px 4px;
  background: var(--shop-paper);
  border: 1px solid var(--shop-line);
  border-radius: 26px;
}
.catalog-search::before {
  content: "";
  position: absolute;
  inset-inline-start: 15px;
  top: 15px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--shop-muted);
  border-radius: 50%;
  pointer-events: none;
}
.catalog-search::after {
  content: "";
  position: absolute;
  inset-inline-start: 24px;
  top: 26px;
  width: 6px;
  border-top: 1px solid var(--shop-muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.catalog-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-block: 6px;
  padding-inline: 2px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--shop-ink);
  font: inherit;
  outline-offset: -2px;
}
.catalog-search button {
  margin: 3px 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--shop-blue);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.catalog-search button:not(:disabled):hover { background: var(--shop-selected); }
.catalog-search :disabled { cursor: default; opacity: .7; }
.browse-toolbar { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.browse-toolbar label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--shop-muted); }
.browse-toolbar select {
  min-height: 40px;
  max-width: 180px;
  padding: 6px 26px 6px 10px;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
}
.store-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.store-product-card { overflow: hidden; border: 1px solid var(--shop-line); border-radius: 16px; background: #fff; }
.product-open {
  display: flex; flex-direction: column; height: 100%; width: 100%; padding: 0; border: 0;
  background: #fff; color: var(--shop-ink); text-align: start; cursor: pointer; font: inherit;
}
.product-open:hover h3 { color: var(--shop-blue); }
.product-open:focus-visible { outline-offset: -3px; }
.product-card-image { display: block; width: 100%; aspect-ratio: 1; background: var(--shop-paper); }
.product-card-image img, .detail-main-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-illustration { display: grid; align-items: center; justify-items: center; width: 100%; height: 100%; background: var(--shop-paper); color: var(--shop-muted); }
.product-card-copy, .product-card-meta { padding: 14px; width: 100%; min-width: 0; }
.product-category { margin: 0; color: var(--shop-muted); font-size: 13px; }
.store-product-card h3 { margin: 5px 0 10px; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.product-card-bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 13px; color: var(--shop-muted); }
.product-card-bottom strong, .detail-price { color: var(--shop-blue); font-variant-numeric: tabular-nums; }
.store-empty { grid-column: 1 / -1; padding: 24px; background: var(--shop-paper); border: 1px solid var(--shop-line); border-radius: 16px; }
.store-empty h3 { margin: 0 0 4px; }
.store-empty > span { display: none; }
.store-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.store-pager:empty { display: none; }
.storefront-page :is(.store-empty,.store-pager,[data-storefront]) > button,
.storefront-page .store-empty button, .storefront-page .store-pager button,
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; clear: both; }
.detail-gallery,.detail-copy { min-width: 0; }
.detail-main-image { aspect-ratio: 1; overflow: hidden; background: var(--shop-paper); border-radius: 14px; }
.detail-thumbnails { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.detail-copy h1 { margin: 2px 0 8px; overflow-wrap: anywhere; font-size: 25px; }
.detail-copy p { overflow-wrap: anywhere; }
.detail-price { font-size: 21px; font-weight: 650; margin-block: 8px; }
.sku-note { font-size: 13px; color: var(--shop-muted); }
.sku-options { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 12px 0; }
.sku-options legend { margin-bottom: 6px; }
.sku-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 10px; border: 1px solid var(--shop-line); border-radius: 10px; cursor: pointer; }
.sku-options label:has(:checked) { border-color: var(--shop-blue); background: var(--shop-selected); }
.sku-options input { accent-color: var(--shop-blue); }
.detail-copy > button {
  padding: 0 18px; min-height: 44px; border: 0; border-radius: 22px;
  background: var(--shop-blue); color: #fff; font: inherit; font-weight: 650; cursor: pointer;
}
.detail-copy > button:hover { background: var(--shop-blue-hover); }
.detail-copy > button:disabled { opacity: .75; }
.detail-description { margin-top: 20px; border-top: 1px solid var(--shop-line); padding-top: 10px; }
.store-account { border: 1px solid var(--shop-line); border-radius: 16px; margin-block: 16px; padding: 12px; }
.store-account summary { padding: 8px; cursor: pointer; color: var(--shop-ink); font-weight: 650; }
.buyer-footer .buyer-container { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.buyer-footer { border-top: 1px solid var(--shop-line); padding-block: 20px; color: var(--shop-muted); font-size: 14px; }
.buyer-mobile-nav { display: none; }

@media (max-width: 1240px) {
  .buyer-tools { grid-template-columns: auto minmax(130px,1fr) 0 auto auto; }
  .buyer-tools > .buyer-links { grid-row: 2; grid-column: 1/-1; justify-self: stretch; }
}
@media (max-width: 1020px) {
  .store-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body[data-surface="buyer"] { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .buyer-container { width: calc(100% - 28px); }
  .store-announcement { font-size: 9px; padding: 5px 8px; }
  .buyer-tools { padding-block: 8px 0; grid-template-columns: minmax(0,1fr) auto auto; gap: 5px 8px; }
  .buyer-brand .brand-logo { width: clamp(98px,34vw,140px); }
  .buyer-tools > .language-nav { grid-column: 3; grid-row: 1; }
  .buyer-header .locale-control { padding-inline: 8px; min-height: 40px; }
  .buyer-header .locale-control .icon { width: 15px; height: 15px; }
  .buyer-tools > .buyer-cart { grid-column: 2; grid-row: 1; }
  .buyer-tools > .buyer-search-slot { grid-column: 1/-1; grid-row: 2; }
  .buyer-tools > .buyer-links { grid-column: 1/-1; grid-row: 3; border-top: 1px solid var(--shop-line); }
  .buyer-tools > .buyer-links:not([hidden]) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 2px; }
  .buyer-links :is(a,.buyer-service-closed) { flex-direction: column; gap: 1px; min-width: 0; min-height: 48px; padding: 4px 1px; font-size: 11px; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .buyer-links .buyer-help { min-width: 0; }
  .buyer-links > .buyer-shortcut-favorites { display: none; }
  .buyer-categories { gap: 0 16px; }
  .buyer-categories a,.buyer-categories button { min-height: 44px; font-size: 13px; }
  .buyer-scope { min-height: 88px; margin-block: 20px; padding-inline: 14px; }
  .store-hero { grid-template-columns: minmax(0,1fr); border-radius: 20px; }
  .store-hero-copy { padding: 32px 22px 24px; }
  .store-edition { margin-bottom: 14px; }
  .store-hero h1 { max-width: none; font-size: clamp(27px,8vw,34px); }
  .store-hero p { font-size: 15px; margin-bottom: 20px; }
  .store-hero .primary-link { min-height: 44px; }
  .store-scene { height: auto; min-height: 0; }
  .store-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-card-copy, .product-card-meta { padding: 10px; }
  .store-product-card h3 { font-size: 14px; }
  .detail-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .buyer-mobile-nav {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); align-items: stretch;
    position: fixed; z-index: 5; inset: auto 0 0; padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--shop-line);
  }
  .buyer-mobile-nav a {
    min-height: 44px; display: grid; justify-items: center; align-content: center; gap: 0;
    color: var(--shop-muted); border-radius: 12px; text-decoration: none; font-size: 11px;
  }
  .buyer-mobile-nav a[aria-current],.buyer-mobile-nav a:hover { background: var(--shop-selected); color: var(--shop-blue); }
}

body[data-store-available="true"] .buyer-scope { display: none; }
.buyer-brand { gap: 3px; flex-direction: column; align-items: flex-start; min-width: 0; }
.buyer-brand [data-buyer-store-name]:empty { display: none; }
.buyer-brand [data-buyer-store-name] { font-size: 12px; color: var(--shop-muted); overflow-wrap: anywhere; }
.buyer-links a[aria-current], .buyer-cart[aria-current] { background: var(--shop-selected); color: var(--shop-blue); }
.buyer-subpage { margin-block: 26px 52px; min-height: min(52vh, 540px); }
.buyer-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--shop-muted); }
.buyer-crumb a { color: var(--shop-blue); }
.browse-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.browse-heading > a { display: inline-flex; align-items: center; gap: 6px; color: var(--shop-blue); font-size: 14px; }
.browse-heading svg, .brand-actions svg, .brand-service svg { width: 17px; height: 17px; flex: none; }
.browse-section [data-storefront] > :is(.browse-toolbar,.browse-count,.store-pager,.store-notice):empty { display: none; }
.product-open { display: block; color: inherit; text-decoration: none; }
.detail-layout { gap: clamp(22px, 5vw, 72px); }
.detail-copy { align-self: center; }
.detail-copy h1 { font-size: clamp(26px, 4vw, 46px); line-height: 1.16; }
.detail-description { margin-block: 26px; padding-block: 18px; max-width: 72ch; white-space: pre-line; }
.detail-cart-link { margin-inline-start: 14px; color: var(--shop-blue); }
.detail-thumbnails button {
  min-height: 40px; padding: 6px 10px; border: 1px solid var(--shop-line); border-radius: 7px;
  color: var(--shop-ink); background: white;
}
.buyer-auth-page { margin-top: 43px; }
.buyer-auth-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1050px; margin-inline: auto;
  border: 1px solid var(--shop-line); border-radius: 7px; overflow: hidden;
}
.buyer-auth-art { position: relative; min-height: 560px; background: #f4eee5; }
.buyer-auth-art p { position: relative; z-index: 1; margin: 0; padding: 37px 32px; font-size: clamp(24px,2.2vw,32px); }
.buyer-auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buyer-auth-layout .identity-panel,
.buyer-auth-layout .identity-panel.is-auth-task { margin: 0; border: 0; background: white; align-self: start; padding: clamp(24px, 4vw, 50px); }
.buyer-auth-layout .auth-card, .buyer-auth-layout .native-auth-form { color: var(--shop-ink); }
.buyer-auth-layout .auth-card h1 { margin: 9px 0 12px; }
.buyer-auth-layout .auth-card button[type="submit"] { background: var(--shop-blue); border-color: var(--shop-blue); border-radius: 999px; }
.buyer-auth-layout .auth-card button[type="submit"]:hover:not(:disabled) { background: var(--shop-blue-hover); }
.buyer-auth-layout .identity-panel.is-auth-task .identity-actions { display: none; }
body:not([data-buyer-test-identity="true"]) .buyer-auth-layout .closed-channels { display: none; }
.buyer-private-layout { display: flex; gap: 24px; align-items: flex-start; }
.buyer-private-main { flex: 1; min-width: 0; }
.buyer-account-page .buyer-private-layout { display: grid; grid-template-columns: 168px minmax(0,1fr); gap: 56px; }
.buyer-account-nav h2 { margin-block: 0 20px; font-size: 14px; }
.buyer-account-switch { display: none; }
.buyer-account-nav-group + .buyer-account-nav-group { border-block-start: 1px solid var(--shop-line); margin-block-start: 8px; padding-block-start: 8px; }
.buyer-account-page :is(.buyer-account-nav,.buyer-account-switch) :is(a,button:not([hidden]),.buyer-service-closed) {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: 22px; background: transparent; color: var(--shop-muted);
  text-align: start; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer;
}
.buyer-account-page :is(.buyer-account-nav,.buyer-account-switch) :is(a,button):is([aria-current],:hover) { background: var(--shop-selected); color: var(--shop-blue); }
.buyer-account-page :is(.buyer-account-nav,.buyer-account-switch) svg { width: 17px; height: 17px; flex: none; }
.buyer-account-tabs { display: flex; min-height: 44px; border-block-end: 1px solid var(--shop-line); margin-block-end: 16px; }
.buyer-account-tabs > span { display: inline-flex; align-items: center; gap: 5px; padding-inline: 8px; color: var(--shop-muted); font-size: 14px; }
.buyer-account-tabs small, .buyer-account-nav-group .buyer-service-closed small { font-size: 10px; line-height: 1.3; }
.buyer-account-tabs [aria-current] { border-block-end: 2px solid var(--shop-blue); color: var(--shop-blue); font-weight: 650; }
.buyer-account-page :is(.buyer-account-nav,.buyer-account-switch) .buyer-service-closed { gap: 8px; padding-inline: 10px; cursor: default; }
.buyer-account-nav-group .buyer-service-closed small { margin-inline-start: auto; flex: none; }
.buyer-account-nav-group .buyer-service-closed > span { min-width: 0; overflow-wrap: anywhere; }
.buyer-account-feedback:empty { display: none; }
.buyer-content-card, .buyer-private-main .commerce-card { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--shop-line); border-radius: 12px; background: white; }
.buyer-private-main h1, .buyer-contact h1 { margin-top: 0; }
.buyer-private-main nav, #cart .commerce-form { margin-block: 16px; }
.buyer-order-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-block: 16px; border-top: 1px solid var(--shop-line); }
.buyer-order-row :is(h2,h3,p) { margin: 0; overflow-wrap: anywhere; }
.buyer-order-row :is(h2,h3) { grid-column: 1; font-size: 16px; }
.buyer-order-row a { grid-area: 1 / 2 / span 3; align-self: center; padding-block: 12px; }
.buyer-contact .buyer-content-card, .buyer-help-page .buyer-content-card { max-width: 720px; }
.buyer-help-topics details { border-block-start: 1px solid var(--shop-line); padding-block: 8px; }
.buyer-help-topics summary { min-height: 44px; padding-block: 10px; font-weight: 650; cursor: pointer; }
.buyer-help-topics details p { margin-block: 0 8px; color: var(--shop-muted); }
.buyer-help-topics details a { display: inline-flex; align-items: center; min-height: 44px; color: var(--shop-blue); }
.brand-page { max-width: 1224px; margin-top: 58px; color: #20283a; }
.brand-feature { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); grid-template-areas: "photo intro"; align-items: center; gap: clamp(26px, 5.8vw, 86px); }
.brand-intro { grid-area: intro; min-width: 0; }
.brand-photo { grid-area: photo; overflow: hidden; border-radius: 8px; background: #eee8de; }
.brand-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; }
.brand-photo--illustration img { object-fit: contain; }
.brand-name { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-weight: 650; color: #62615d; }
.brand-feature h1 { margin: 0 0 24px; font-size: clamp(33px, 3.8vw, 61px); font-weight: 650; line-height: 1.14; letter-spacing: -.038em; text-wrap: balance; }
.brand-text { color: #4d535b; font-size: clamp(16px, 1.24vw, 19px); line-height: 1.78; }
.brand-text p { margin: 0; }
.brand-text p + p { margin-top: .85em; }
.brand-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; }
.brand-page a { color: #223f8b; }
.brand-actions a, .brand-service a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.brand-actions a:first-child { padding-inline: 20px; color: white; background: #223451; border-radius: 7px; text-decoration: none; }
.brand-actions a:first-child:hover { background: #324e78; }
.brand-service { display: grid; grid-template-columns: minmax(124px, .5fr) minmax(0, 1.5fr); gap: 24px; margin-top: clamp(34px, 5vw, 64px); padding-top: 23px; border-top: 1px solid #dde1e6; }
.brand-service h2 { font-size: 20px; }
#shopping-services { scroll-margin-block-start: 24px; }
.brand-service > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brand-service summary { min-height: 44px; padding-block: 10px; font-weight: 600; cursor: pointer; }
.brand-service details p { margin: 6px 0; color: #515b68; font-size: 14px; }
@media (max-width: 760px) {
  .buyer-subpage { margin-block: 18px 36px; }
  .buyer-categories a[data-store-about] { display: none; }
  .buyer-auth-page, .brand-page { margin-top: 24px; }
  .buyer-crumb { margin-bottom: 15px; }
  .buyer-auth-layout { grid-template-columns: minmax(0, 1fr); }
  .buyer-auth-art { display: none; }
  .buyer-private-layout { flex-direction: column; gap: 12px; }
  .buyer-private-main { width: 100%; }
  .buyer-account-page .buyer-private-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .buyer-account-nav { display: none; }
  .buyer-account-switch { display: block; border: 1px solid #dce4d2; border-radius: 16px; background: #f3f6ee; color: #335946; }
  .buyer-account-switch summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
  .buyer-account-switch summary::-webkit-details-marker { display: none; }
  .buyer-account-switch summary span { display: flex; align-items: center; gap: 10px; }
  .buyer-account-switch[open] summary > svg { transform: rotate(180deg); }
  .buyer-account-switch nav { border-block-start: 1px solid #dce4d2; padding: 8px; }
  .brand-feature { grid-template-columns: minmax(0,1fr); grid-template-areas: "name" "title" "photo" "story" "actions"; gap: 0; }
  .brand-intro, .brand-intro > :is([data-store-story],[data-demo-story]):not([hidden]) { display: contents; }
  .brand-name { grid-area: name; margin-block-end: 10px; }
  .brand-feature h1 { grid-area: title; margin-bottom: 18px; }
  .brand-photo img { aspect-ratio: 1.6; }
  .brand-text { grid-area: story; margin-top: 18px; }
  .brand-actions { grid-area: actions; margin-top: 16px; }
  .brand-service, .brand-service > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .brand-service details { border-bottom: 1px solid var(--shop-line); }
}


body[data-storefront-scoped="true"] [data-platform-entry] { display: none; }
.store-links { display: flex; gap: 14px; flex-wrap: wrap; margin-block: 10px; }
#store-domains article, #merchant-applications article { padding-block: 14px; border-top: 1px solid #d8e1ef; }
#store-domains code { overflow-wrap: anywhere; }
#store-domains article button { margin: 6px 8px 0 0; }
body[data-surface="portal"] { background: #fff; color: #15234b; }
.portal-header { border-block-end: 1px solid #d8e1ef; }
.portal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 74px; padding-block: 10px; }
.portal-header img { display: block; max-width: 100%; height: auto; }
.portal-header nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.portal-header nav a { display: inline-flex; align-items: center; min-height: 42px; color: #15234b; text-decoration: none; }
.portal-header nav a:hover { color: #245bc6; }
.portal-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 24px; margin-top: 36px;
  padding: clamp(24px, 5vw, 64px); border-radius: 24px; background: #f4f6fa; }
.portal-hero h1, .portal-application h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.14; text-wrap: balance; margin: 0 0 18px; }
.portal-hero p { max-width: 40ch; font-size: clamp(16px, 2vw, 19px); margin-bottom: 24px; line-height: 1.72; color: #415371; }
.portal-hero img { display: block; width: 100%; height: auto; border-radius: 12px; }
.portal-hero .primary-link, .portal-application .primary-link { background: #245bc6; min-height: 44px; }
.portal-hero .primary-link:hover, .portal-application .primary-link:hover { background: #194ba9; }
.portal-example, .portal-process { margin-block: 44px; }
.portal-example [data-example-products] { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-block: 14px 24px; }
.portal-example [data-example-products] a { display: block; padding: 10px; border: 1px solid #d8e1ef; border-radius: 10px; color: #15234b; overflow-wrap: anywhere; }
.portal-example img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; margin-bottom: 10px; background: #f4f6fa; border-radius: 6px; }
.portal-process ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 24px; padding-inline-start: 25px; }
.portal-application { min-height: 66vh; max-width: 670px; margin: 42px auto; }
.portal-application form { max-width: 540px; }
.portal-application [data-application] > a { margin: 8px 14px 8px 0; }
.portal-footer { padding-block: 22px; border-top: 1px solid #d8e1ef; color: #536580; }
@media(max-width: 700px) {
  .portal-header img { max-width: 125px; }
  .portal-hero { grid-template-columns: minmax(0,1fr); margin-top: 18px; border-radius: 16px; }
  .portal-example [data-example-products] { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-process ol { grid-template-columns: minmax(0,1fr); }
}

body[data-portal-auth="true"] :is(.buyer-scope,.buyer-search-slot,.buyer-market-slot,.buyer-categories,.buyer-mobile-nav,.store-announcement) { display: none; }
body[data-portal-auth="true"] .buyer-tools { grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto; }
body[data-portal-auth="true"] .buyer-tools > .language-nav { grid-column: 2; grid-row: 1; }

.buyer-header { position: relative; z-index: 5; }
.buyer-language { position: relative; padding: 0; margin: 0; border: 0; }
.buyer-language span { color: inherit; }
.buyer-language-trigger, .compact-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.buyer-language-trigger:is(:hover,[aria-expanded="true"]), .compact-search-trigger:hover { background: var(--shop-selected); }
.buyer-language-trigger { min-height: 44px; padding: 6px 9px; gap: 5px; border-color: transparent; border-radius: 8px; background: transparent; }
.buyer-language-trigger .icon { width: 16px; height: 16px; }
.buyer-region-dialog {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  inline-size: min(100%, 384px); max-inline-size: none; block-size: 100dvh; max-block-size: none;
  padding: 0; border: 0; background: #fff; color: var(--shop-ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.buyer-region-dialog::backdrop { background: rgba(21,35,75,.28); }
body:has(.buyer-region-dialog[open]) { overflow: hidden; }
.buyer-region-panel { display: grid; gap: 16px; padding: 16px 20px max(20px,env(safe-area-inset-bottom)); }
.buyer-region-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.buyer-region-heading h2 { font-size: 19px; margin: 0; }
.buyer-region-close { min-inline-size: 44px; min-block-size: 44px; font-size: 24px; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.buyer-region-close:hover { background: var(--shop-paper); }
#buyer-language-title { margin: 0; font-size: 14px; }
.buyer-language-menu { min-width: 0; }
.buyer-language-menu a {
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--shop-ink);
  text-decoration: none;
  text-align: start;
}
.buyer-language-copy {
  display: grid; justify-items: start; min-width: 0; gap: 2px;
}
.buyer-language-copy strong { font-size: 13px; font-weight: 650; line-height: 1.3; }
.buyer-language-copy small { color: var(--shop-muted); font-size: 10px; line-height: 1.25; }
.buyer-language-code {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 10px;
  background: var(--shop-paper);
  font-size: 11px;
  font-weight: 700;
}
.buyer-language-menu a + a { margin-block-start: 3px; }
.buyer-language-menu a:is(:hover,:focus-visible,[aria-checked="true"]) { background: var(--shop-selected); color: var(--shop-blue); }
.buyer-language-menu a[aria-checked="true"] .buyer-language-code { background: #dbe7fb; color: var(--shop-blue); }
.buyer-language-check { justify-self: center; font-size: 12px; }
.buyer-language-menu a:not([aria-checked="true"]) .buyer-language-check { visibility: hidden; }

.catalog-page { margin-top: 0; }
.catalog-heading { margin-block: 23px 36px; }
.catalog-heading h1 { margin: 0 0 6px; font-size: clamp(25px, 3.2vw, 32px); color: var(--shop-ink); }
.catalog-heading p { margin: 0; color: var(--shop-muted); font-size: 14px; }
.catalog-layout { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: 32px; }
.catalog-results { min-width: 0; }
.catalog-sidebar { padding-inline-end: 24px; border-inline-end: 1px solid var(--shop-line); }
.catalog-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--shop-line);
}
.catalog-filter-heading h2 { margin: 0; font-size: 16px; }
.catalog-filter-heading button, .catalog-filter-options button { font: inherit; cursor: pointer; }
.catalog-filter-heading button {
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--shop-muted);
  font-size: 13px;
}
.catalog-filter-heading button:disabled { opacity: .55; cursor: default; }
.catalog-filters h3 { margin: 0 0 12px; color: var(--shop-muted); font-size: 13px; }
.catalog-filter-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--shop-muted);
  text-align: start;
  font-size: 13px;
}
.catalog-filter-options button[hidden] { display: none; }
.catalog-filter-options button:is(:hover,[aria-pressed="true"]) { background: var(--shop-selected); }
.catalog-filter-options button[aria-pressed="true"] { color: var(--shop-blue); font-weight: 650; }
.catalog-filter-options small, .catalog-layout .browse-count { font-variant-numeric: tabular-nums; }
.catalog-layout .browse-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--shop-line);
  border-radius: 0 0 14px 14px;
}
.catalog-layout .browse-toolbar .catalog-search { min-height: 48px; }
.catalog-layout .browse-toolbar input { min-width: 0; }
.catalog-layout .browse-toolbar .catalog-search button { color: var(--shop-blue); font-size: 19px; }
.catalog-layout .browse-count { margin: 0; font-size: 13px; }
.catalog-layout .browse-toolbar label { font-size: 13px; }
.catalog-layout .browse-toolbar select { min-height: 42px; border-radius: 14px; }
.catalog-layout .store-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.catalog-layout .store-product-card { border-radius: 20px; }
.catalog-layout .product-open { display: flex; gap: 16px; padding: 15px; text-decoration: none; }
.catalog-layout .product-card-image { overflow: hidden; border-radius: 16px; }
.catalog-layout .product-card-copy { display: flex; flex-direction: column; flex: 1; padding: 0 2px 2px; }
.catalog-layout .product-category { font-size: 11px; }
.catalog-layout .store-product-card h3 { margin-block: 8px 12px; }
.catalog-layout .product-card-bottom { display: grid; gap: 8px; margin-top: auto; }
.catalog-layout .product-card-bottom strong { color: var(--shop-ink); font-size: 19px; }
.catalog-card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 12px;
  margin-top: 10px;
  border: 1px solid var(--shop-blue);
  border-radius: 22px;
  background: var(--shop-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}
.product-open:is(:hover,:focus-visible) .catalog-card-action { background: var(--shop-selected); color: var(--shop-blue); }
.catalog-filter-trigger, .catalog-filter-close, .compact-search-trigger { display: none; }
.catalog-layout .store-pager { justify-content: center; gap: 8px; margin-block: 28px 8px; }
.catalog-layout .store-pager button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
  cursor: pointer;
}
.catalog-layout .store-pager button:not(:disabled):hover { background: var(--shop-selected); }
.catalog-layout .store-pager button[aria-current="page"] { background: var(--shop-blue); border-color: var(--shop-blue); color: #fff; }
.catalog-layout .store-pager button:disabled { opacity: .5; cursor: default; }
.catalog-compact { position: fixed; inset: 0 0 auto; }
.catalog-compact + .storefront-page { margin-block-start: var(--catalog-header-height); }
.catalog-compact :is(.store-announcement,.buyer-categories) { display: none; }
.catalog-compact .buyer-tools { position: relative; min-height: 64px; padding-block: 8px; }
.catalog-compact .compact-search-trigger { display: inline-flex; grid-column: 2; justify-self: end; padding: 0; width: 42px; border-radius: 50%; }
.catalog-compact .buyer-search-slot { display: none; }
.catalog-compact .compact-search-trigger[aria-expanded="true"] + .buyer-search-slot {
  display: block;
  position: absolute;
  z-index: 3;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  width: min(360px, 100%);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(21,35,75,.12);
}
@media (max-width: 1020px) and (min-width: 761px) {
  .catalog-layout { grid-template-columns: 168px minmax(0,1fr); gap: 20px; }
  .catalog-sidebar { padding-inline-end: 16px; }
  .catalog-layout .browse-toolbar { gap: 10px; }
}
@media (max-width: 760px) {
  .buyer-language-trigger { min-height: 44px; padding-inline: 10px; }
  .catalog-heading { margin-block: 16px 32px; }
  .catalog-heading p { font-size: 13px; }
  .catalog-layout { display: block; }
  .catalog-sidebar { display: none; }
  .catalog-layout .browse-toolbar { grid-template-columns: minmax(0,1fr) auto; gap: 14px; padding-bottom: 20px; }
  .catalog-layout .browse-toolbar .catalog-search, .catalog-layout .browse-count { grid-column: 1/-1; }
  .catalog-layout .browse-toolbar label { justify-self: end; }
  .catalog-layout .browse-toolbar label > span { display: none; }
  .catalog-layout .browse-toolbar select { min-height: 44px; }
  .catalog-filter-trigger {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--shop-line);
    border-radius: 24px;
    background: #fff;
    color: var(--shop-ink);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
  }
  .catalog-filter-trigger::before { content: ""; width: 14px; height: 12px; background:
    linear-gradient(currentColor,currentColor) top center/14px 1px,
    linear-gradient(currentColor,currentColor) center/10px 1px,
    linear-gradient(currentColor,currentColor) bottom center/6px 1px; background-repeat: no-repeat; }
  .catalog-filter-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: min(75dvh,560px);
    padding: 0;
    margin: 0;
    border: 1px solid var(--shop-line);
    border-radius: 20px 20px 0 0;
    background: #fff;
    color: var(--shop-ink);
  }
  .catalog-filter-dialog::backdrop { background: rgba(21,35,75,.28); }
  body:has(.catalog-filter-dialog[open]) { overflow: hidden; }
  .catalog-filter-panel { padding: 16px 16px max(16px,env(safe-area-inset-bottom)); }
  .catalog-filter-heading .catalog-filter-close { display: block; min-width: 44px; min-height: 44px; font-size: 22px; }
  .catalog-filter-options button { min-height: 44px; }
  .catalog-layout .store-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .catalog-layout .store-product-card { border-radius: 16px; }
  .catalog-layout .product-open { padding: 10px; gap: 12px; }
  .catalog-layout .product-card-image { border-radius: 14px; }
  .catalog-layout .store-pager button { min-width: 44px; min-height: 44px; }
  .catalog-compact .buyer-tools { grid-template-columns: minmax(0,1fr) 44px auto auto; gap: 4px 6px; }
  .catalog-compact .buyer-brand .brand-logo { width: min(104px,100%); }
  .catalog-compact .buyer-brand [data-buyer-store-name] { display: none; }
  .catalog-compact .compact-search-trigger { grid-column: 2; grid-row: 1; width: 44px; min-height: 44px; }
  .catalog-compact .buyer-tools > .buyer-cart { grid-column: 3; }
  .catalog-compact .buyer-tools > .language-nav { grid-column: 4; }
  .catalog-compact .buyer-tools > .buyer-links { grid-row: 2; }
}

.buyer-account-overview { max-width: 720px; padding: clamp(18px,3vw,32px); border: 1px solid var(--shop-line); border-radius: 17px; }
.buyer-account-overview header { display: flex; align-items: center; gap: 14px; }
.buyer-account-overview h1 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.buyer-account-overview p { margin: 3px 0 0; color: var(--shop-muted); font-size: 14px; }
.buyer-account-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: #e9eff9; color: var(--shop-blue); font-weight: 650;
}
.buyer-account-overview dl {
  display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 12px 28px;
  margin: 18px 0 0; padding-block-start: 18px; border-block-start: 1px solid var(--shop-line); font-size: 14px;
}
.buyer-account-overview dt { color: var(--shop-muted); }
.buyer-account-overview dd { margin: 0; overflow-wrap: anywhere; }
.buyer-recent-orders { max-width: 720px; margin-block-start: 28px; }
.buyer-recent-orders header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.buyer-recent-orders h2 { margin: 0; font-size: 18px; }
.buyer-recent-orders header a { display: inline-flex; align-items: center; min-height: 44px; color: var(--shop-blue); font-size: 13px; }
.buyer-recent-orders > p { padding-block: 14px; border-block-start: 1px solid var(--shop-line); color: var(--shop-muted); }
.buyer-order-foot a, .buyer-bag-head a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px;
  border: 1px solid var(--shop-line); border-radius: 12px; color: var(--shop-blue);
}
.buyer-order-foot a:hover, .buyer-bag-head a:hover { background: var(--shop-selected); }
.buyer-bag-head, .buyer-order-head, .buyer-order-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.buyer-bag-head h1, .buyer-orders h1 { margin-block: 0 12px; color: var(--shop-ink); }
.buyer-bag-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,320px); gap: 24px; align-items: start; margin-top: 16px; }
.buyer-bag-lines { min-width: 0; }
.buyer-bag-select { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--shop-muted); }
.buyer-bag :is(input[type=checkbox]) { min-width: 18px; min-height: 18px; accent-color: var(--shop-blue); }
.buyer-bag-item {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 14px;
  min-width: 0; padding: 16px 12px; border-top: 1px solid var(--shop-line);
}
.buyer-bag-info { min-width: 0; }
.buyer-bag-product { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--shop-ink); overflow-wrap: anywhere; }
.buyer-bag-product img { width: 68px; height: 68px; border-radius: 10px; object-fit: contain; background: var(--shop-paper); }
.buyer-bag-info p, .buyer-bag-hint { margin: 4px 0; font-size: 13px; color: var(--shop-muted); overflow-wrap: anywhere; }
.buyer-bag-hint:empty { display: none; }
.buyer-bag-quantity { margin: 0; padding: 0; border: 0; }
.buyer-bag-stepper { display: grid; grid-template-columns: 44px 56px 44px; gap: 4px; align-items: center; }
.buyer-bag-stepper > label { margin: 0; }
.buyer-bag-stepper input { width: 100%; min-height: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.buyer-bag .buyer-bag-quantity button { margin: 0; font-size: 13px; }
.buyer-bag .buyer-bag-stepper button, .buyer-bag [data-cart-remove] {
  border: 1px solid var(--shop-line); border-radius: 10px; background: #fff; color: var(--shop-ink);
}
.buyer-bag .buyer-bag-stepper button { width: 44px; height: 44px; padding: 0; font-size: 19px; }
.buyer-bag .buyer-bag-stepper button:disabled { opacity: .45; cursor: default; }
.buyer-bag [data-cart-remove] { justify-self: start; min-height: 40px; color: var(--shop-muted); }
.buyer-bag-remove button + button { margin-inline-start: 8px; }
.buyer-bag-item > :is([data-commerce-message],[data-cart-reload]) { grid-column: 1/-1; order: 10; }
.buyer-bag-summary { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--shop-line); border-radius: 16px; background: var(--shop-paper); }
.buyer-bag-summary h2, .buyer-bag-summary p { margin: 0; }
.buyer-bag-summary output { font-size: 24px; font-weight: 650; }
.buyer-bag-summary output, [data-cart-line-subtotal] { font-variant-numeric: tabular-nums; }
.buyer-bag-summary > button:disabled { opacity: .56; cursor: default; }
.buyer-bag-checkout { margin: 0; }
.buyer-transaction-empty { padding: 24px; border: 1px dashed var(--shop-line); border-radius: 14px; color: var(--shop-muted); }
.buyer-transaction-empty p { margin: 0 0 8px; }
.buyer-transaction-empty a { color: var(--shop-blue); }
.buyer-order-list { display: grid; gap: 12px; }
.buyer-order-head h2 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.buyer-order-status { color: var(--shop-blue); background: var(--shop-selected); border-radius: 10px; padding: 5px 8px; font-size: 13px; }
.buyer-order-preview { margin: 8px 0; padding-inline-start: 18px; color: var(--shop-muted); }
.buyer-order-foot { border-top: 1px solid var(--shop-line); padding-top: 10px; margin-top: 10px; }
.buyer-order-summary {
  display: grid;
  grid-template-columns: minmax(0,2fr) repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 12px 20px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.buyer-order-summary dt { color: var(--shop-muted); font-size: 13px; }
.buyer-order-summary dd { margin: 4px 0 0; }
.buyer-order-number {
  display: block;
  direction: ltr;
  unicode-bidi: isolate;
  user-select: text;
  -webkit-user-select: text;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .buyer-order-number { text-align: end; }
.buyer-order-summary .buyer-order-status { display: inline-block; }
.buyer-order-test { display: block; margin-block-start: 4px; color: var(--shop-muted); }
.buyer-order-amount-group dd { color: var(--shop-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.buyer-order-number-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-block-start: 6px; }
.buyer-orders .buyer-order-summary .buyer-order-copy {
  min-height: 44px; margin: 0; padding: 6px 10px;
  border-color: var(--shop-line); border-radius: 10px; background: #fff; color: var(--shop-blue); font-size: 13px;
}
.buyer-orders .buyer-order-copy:hover { background: var(--shop-selected); }
.buyer-order-copy-feedback { color: var(--shop-muted); font-size: 13px; }
.buyer-orders details[data-order-id] { border: 1px solid var(--shop-line); border-radius: 14px; padding: 16px; overflow-wrap: anywhere; }
.buyer-orders details[data-order-id] > summary { color: var(--shop-ink); font-weight: 650; }
.buyer-order-facts { color: var(--shop-muted); }
.buyer-order-lines { list-style: none; padding: 0; margin: 12px 0; }
.buyer-order-lines li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px 14px; padding: 10px 0; border-top: 1px solid #d8e1ef; }
.buyer-order-address { padding-block: 12px; border-top: 1px solid #d8e1ef; overflow-wrap: anywhere; }
.buyer-order-address h3 { margin: 0 0 8px; }
.buyer-order-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
@media (max-width: 760px) {
  .buyer-bag-columns { grid-template-columns: 1fr; gap: 12px; }
  .buyer-bag-item { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; }
  .buyer-bag-quantity { grid-column: 2/-1; grid-row: 2; }
  .buyer-bag [data-cart-remove] { min-height: 44px; }
  [data-cart-line-subtotal] { grid-column: 3; grid-row: 1; }
  .buyer-order-head { align-items: flex-start; flex-wrap: wrap; }
  .buyer-order-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .buyer-order-number-group { grid-column: 1/-1; }
  .buyer-order-lines li { grid-template-columns: minmax(0,1fr) auto; }
  .buyer-order-lines li strong { grid-column: 1/-1; }
}

.buyer-language-menu bdi, .buyer-header [data-buyer-store-name] { min-width: 0; overflow-wrap: anywhere; }
html[dir="rtl"] body[data-surface="buyer"] {
  font-family: "Noto Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  line-height: 1.65;
}
html[dir="rtl"] body[data-surface="buyer"] :is(h1,h2,h3,.store-edition,.eyebrow) { letter-spacing: 0; }
html[dir="rtl"] body[data-surface="buyer"] :is(h1,h2,h3) { line-height: 1.4; }
html[dir="rtl"] body[data-surface="buyer"] :is(.catalog-search button, .catalog-card-action span, [data-page-direction]) {
  direction: ltr;
  transform: scaleX(-1);
}
html[dir="rtl"] body[data-surface="buyer"] .catalog-search::after { inset-inline-start: 12px; }
html[dir="rtl"] body[data-surface="buyer"] .buyer-directional-icon {
  transform: scaleX(-1);
  transform-box: view-box;
  transform-origin: center;
}
html[dir="rtl"] body[data-surface="buyer"] :is(.sku-note, [data-cart-subtotal], [data-cart-line-subtotal], .product-card-bottom strong, .detail-price) {
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] body[data-surface="buyer"] :is(.buyer-bag-quantity input, input[name="username"], input[name="password"], input[name="country"], input[name="postalCode"], input[name="regionCode"]) {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] body[data-surface="buyer"] :is(input[name="username"], input[name="password"], input[name="country"], input[name="postalCode"], input[name="regionCode"]) { text-align: end; }

.product-card-bottom strong small { margin-inline-start: 4px; font-size: .72em; font-weight: 500; }
.detail-layout { align-items: start; }
.detail-gallery--with-media { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; align-items: start; }
.detail-gallery--with-media .detail-main-image { grid-column: 2; grid-row: 1; }
.detail-thumbnails { grid-column: 1; grid-row: 1/3; display: grid; gap: 8px; margin: 0; }
.detail-thumbnails [data-buyer-thumb] { width: 72px; height: 72px; border: 1px solid var(--shop-line); border-radius: 12px; padding: 3px; overflow: hidden; background: #fff; }
.detail-thumbnails [data-buyer-thumb][aria-pressed=true] { border-color: var(--shop-blue); box-shadow: 0 0 0 2px var(--shop-blue) inset; }
.detail-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--shop-paper); border-radius: 8px; }
.detail-media-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.detail-gallery-caption { grid-column: 2; margin: 0; color: var(--shop-muted); font-size: 12px; text-align: center; }
.detail-image-dialog { max-width: min(920px,calc(100% - 24px)); max-height: calc(100% - 24px); padding: 12px; background: #fff; border: 1px solid var(--shop-line); border-radius: 16px; }
.detail-image-dialog::backdrop { background: #15234b99; }
.detail-image-dialog > button { display: block; margin-inline-start: auto; margin-bottom: 8px; min-height: 44px; }
.detail-image-dialog > img { display: block; max-width: 100%; max-height: calc(100dvh - 96px); object-fit: contain; }
.detail-copy { align-self: start; padding-block-start: 14px; }
.detail-copy h1 { font-size: clamp(25px,3vw,34px); }
.detail-store-caption { color: var(--shop-muted); margin: 0 0 12px; font-size: 13px; }
.detail-copy .detail-price { color: var(--shop-ink); font-size: 30px; margin-block: 20px; }
.detail-copy :is(.sku-options,.detail-quantity) { border: 0; border-top: 1px solid var(--shop-line); padding: 10px 0 14px; min-width: 0; }
.detail-copy :is(.sku-options,.detail-quantity) legend { padding: 0 6px 0 0; font-size: 12px; color: var(--shop-muted); }
.detail-quantity-stepper { display: grid; grid-template-columns: 42px 56px 42px; width: max-content; border: 1px solid var(--shop-line); border-radius: 8px; overflow: hidden; direction: ltr; }
.detail-quantity-stepper button,.detail-quantity-stepper input { width: 100%; min-height: 44px; padding: 0; margin: 0; background: #fff; border: 0; color: var(--shop-ink); text-align: center; font: inherit; outline-offset: -3px; }
.detail-quantity-stepper button { cursor: pointer; }
.detail-quantity-stepper input { appearance: textfield; font-variant-numeric: tabular-nums; }
.detail-quantity-stepper input::-webkit-inner-spin-button { appearance: none; }
.detail-quantity-stepper button:disabled { opacity: .48; cursor: default; }
.detail-buy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.detail-buy-actions > button { flex: 1 1 190px; min-height: 44px; padding: 10px 20px; color: white; background: var(--shop-blue); border: 0; border-radius: 999px; font-weight: 650; cursor: pointer; }
.detail-buy-actions > button:disabled { opacity: .55; cursor: default; }
.detail-buy-actions .detail-cart-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 8px 14px; }
.buyer-bag-head { padding-block: 4px 16px; border-bottom: 1px solid var(--shop-line); }
.buyer-bag-head h1 { margin: 0; font-size: 19px; }
.buyer-bag-columns { grid-template-columns: minmax(0,1fr) minmax(260px,34%); margin-top: 22px; }
.buyer-bag-summary { padding: 22px; gap: 12px; }
.buyer-bag-summary h2 { font-size: 18px; }
.buyer-bag-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--shop-line); }
.buyer-bag-empty { color: var(--shop-ink); margin: 0; padding: 8px 0; }
.buyer-bag-summary > button:disabled { background: var(--shop-blue); color: #fff; border-radius: 999px; min-height: 44px; }

@media(max-width: 800px) {
  .detail-gallery--with-media { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .detail-gallery--with-media .detail-main-image { grid-column: 1; grid-row: 1; }
  .detail-gallery-caption { grid-column: 1; grid-row: 2; }
  .detail-thumbnails { grid-column: 1; grid-row: 3; grid-template-columns: repeat(auto-fit, minmax(44px,60px)); justify-content: center; }
  .detail-thumbnails [data-buyer-thumb] { width: 56px; height: 56px; }
  .detail-copy { padding-block-start: 0; }
  .buyer-bag-columns { grid-template-columns: 1fr; gap: 20px; }
  .buyer-bag-summary { padding: 16px; }
}

.buyer-language-menu[dir="ltr"] a, .buyer-language-menu .buyer-language-copy { text-align: left; }
.buyer-language-menu .buyer-language-copy { justify-items: start; }
