@charset "UTF-8";
:root {
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:#22213c;
  background:#f7f7fc;
  font-synthesis:none;
  --ink:#22213c;
  --blue:#2723b7;
  --muted:#6c6b81;
  --line:#e6e5f0;
  --accent:#fff;
  --accent-hover:#f2f4f8;
  --accent-ink:#241e50;
  --paper:#fff;
  --lavender:#efedff
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer;
  color:inherit
}

button:disabled {
  cursor:wait;
  opacity:.6
}

a {
  color:inherit
}

button,input,select,textarea {
  outline-offset:4px
}

:focus-visible {
  outline:3px solid #6b57eb
}

h1,h2,h3,p {
  margin:0
}

button,select,input {
  min-height:46px
}

[hidden] {
  display:none!important
}

.app-shell {
  max-width:1260px;
  margin:auto;
  padding:0 42px;
  padding-bottom:calc(24px + env(safe-area-inset-bottom));
}

.app-shell:has(.app-nav:not([hidden])) {
  padding-bottom:calc(86px + env(safe-area-inset-bottom));
}

.app-nav {
  position:fixed;
  z-index:5;
  bottom:0;
  left:0;
  right:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  justify-content:center;
  gap:4px;
  padding:6px max(10px,calc((100vw - 540px)/2)) calc(6px + env(safe-area-inset-bottom));
  background:var(--paper);
  border-top:1px solid var(--line);
  box-shadow:0 -4px 20px #2621550a;
}

.app-nav-item {
  position:relative;
  display:grid;
  justify-items:center;
  gap:2px;
  min-height:54px;
  padding:4px 2px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

.nav-icon {
  display:grid;
  place-items:center;
  width:40px;
  height:30px;
  border-radius:11px;
}

.nav-icon .app-icon {
  width:21px;
  height:21px;
}

.app-nav-item.active,
.app-nav-item:hover {
  color:var(--blue);
}

.app-nav-item.active .nav-icon,
.app-nav-item:hover .nav-icon {
  background:var(--lavender);
}

.app-nav-item small {
  position:absolute;
  inset-block-start:1px;
  inset-inline-start:calc(50% + 10px);
  min-width:16px;
  padding:1px 4px;
  border-radius:10px;
  background:var(--blue);
  color:#fff;
  font-size:10px;
}

.catalog-filter-panel {
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
}

.catalog-filter-panel > summary {
  cursor:pointer;
  font-weight:700;
}

.catalog-filter-panel > summary::marker {
  color:var(--blue);
}

.catalog-filter-fields {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:end;
  gap:14px;
  margin-top:14px;
}

.catalog-filter-fields > .filter-field {
  display:grid;
  align-items:stretch;
  gap:6px;
}

.catalog-filter-fields > .filter-field label {
  margin:0;
  font-size:12px;
  font-weight:600;
}

.catalog-filter-fields select,
.catalog-filter-fields input,
.saved-baskets-form input,
#favorites-search {
  width:100%;
  min-height:44px;
  border:1px solid var(--line);
  border-radius:8px;
  padding:8px 11px;
  background:var(--paper);
  color:inherit;
  font:inherit;
}

.catalog-filter-fields select,
.catalog-filter-fields input {
  min-width:0;
  padding-inline:11px;
  font-size:14px;
}

.catalog-filter-fields select {
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
  font-weight:600;
}

.catalog-filter-actions {
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.direct-purchase {
  margin-top:18px;
}

.direct-purchase p {
  color:var(--muted);
  margin:10px 0 0;
}

.personal-view {
  min-height:45vh;
  margin-top:24px;
}

#favorites-search {
  max-width:400px;
  margin-top:10px;
}

.profile-plan {
  max-width:530px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
}

.profile-plan h3,
.profile-plan p {
  margin:0 0 12px;
}

.profile-settings-header {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.profile-settings-header h2 {
  font-size:21px;
}

.profile-settings-price strong {
  color:var(--blue);
  font-size:27px;
}

.subscription-settings-data {
  margin:14px 0;
}

.subscription-settings-data div {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:10px;
  padding:10px 0;
  border-top:1px solid var(--line);
  font-size:13px;
}

.subscription-settings-data dd {
  margin:0;
  text-align:right;
  font-weight:650;
}

#settings-cancel-note,
#settings-status:not(:empty) {
  margin:10px 0 0;
  font-size:13px;
}

#settings-status:empty {
  margin:0;
}

.detail-sku {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:0 10px;
  font-size:12px;
  line-height:1.3;
}

.detail-sku > .sku {
  margin:0;
  font:inherit;
}

.detail-sku .text-button {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0;
  font-size:inherit;
  line-height:inherit;
}

.saved-baskets {
  max-width:640px;
  margin-top:20px;
}

.saved-baskets h3 {
  margin:0 0 8px;
}

.saved-baskets-form {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.saved-baskets-form input {
  flex:1 1 230px;
  min-width:0;
}

.saved-baskets-list {
  list-style:none;
  padding:0;
  margin:0;
}

.saved-baskets-list li {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px;
  padding:8px 0;
  border-top:1px solid var(--line);
}

.header {
  height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

.button.admin-trigger {
  flex-shrink:0;
  padding-inline:12px;
  white-space:nowrap;
}

.wordmark {
  font-size:31px;
  font-weight:850;
  letter-spacing:-1.7px;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--blue)
}

.wordmark-dot {
  margin-left:-10px
}

.brand-icon {
  width:37px;
  height:39px;
  background:var(--blue);
  color:var(--accent);
  display:grid;
  place-items:center;
  border-radius:12px 12px 12px 3px;
  font-size:29px;
  letter-spacing:-2px;
  padding-right:2px;
  transform:rotate(-7deg)
}

.market-label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--muted)
}

.market-badge {
  font-weight:750;
  font-size:10px;
  color:var(--blue);
  background:var(--lavender);
  border-radius:6px;
  padding:6px
}

.intro {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:26px;
  background:#211697;
  min-height:316px;
  color:white;
  display:flex;
  align-items:center
}

.hero-art {
  position:absolute;
  width:70%;
  height:100%;
  right:0;
  top:0;
  object-fit:cover;
  object-position:right center;
  z-index:-2
}

.intro::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#211697 0%,#211697 28%,#211697c9 44%,#21169700 66%)
}

.intro-content {
  padding:31px 38px;
  width:65%;
  position:relative
}



h1 {
  font-size:43px;
  line-height:1.08;
  letter-spacing:-1.8px;
  font-weight:750
}

.hero-wb {
  color:#cf76ff;
}

.hero-yandex {
  color:#ffcb42;
}

.intro-copy {
  font-size:13px;
  line-height:1.55;
  color:#dfd9ff;
  margin-top:14px
}

.view-tabs {
  display:flex;
  gap:28px;
  border-bottom:1px solid var(--line);
  margin:24px 0 20px
}

.tab {
  border:0;
  border-bottom:3px solid transparent;
  background:transparent;
  padding:10px 2px 15px;
  font-weight:650;
  font-size:14px;
  display:flex;
  gap:24px;
  align-items:center;
  color:var(--muted)
}

.tab span {
  font-size:20px;
  line-height:1
}

.tab.active {
  border-color:var(--blue);
  color:var(--blue)
}

.tab:not(.active):hover {
  color:var(--blue)
}

.search-form {
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--paper);
  padding:7px 7px 7px 18px;
  border:1px solid #d8d6e9;
  border-radius:14px;
  box-shadow:0 2px 5px #2723b704
}

.search-icon {
  font-size:31px;
  line-height:1;
  color:var(--blue)
}

.search-form input {
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  padding:0 5px;
  font-size:14px;
  color:var(--ink)
}

.search-form input::placeholder {
  color:#7d7a93
}

.search-form input:focus {
  outline:none
}

.search-form:focus-within {
  outline:2px solid #7568d9;
  outline-offset:2px
}

.button {
  border:1px solid transparent;
  border-radius:10px;
  font-weight:650;
  font-size:13px;
  padding:12px 24px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  line-height:1.4;
  min-height:46px
}

.button.primary {
  background:var(--blue);
  color:white
}

.button.primary:hover {
  background:#3730d0
}

.button.secondary {
  background:var(--paper);
  border-color:#d8d5ef;
  color:var(--blue)
}

.button.secondary:hover {
  background:var(--lavender)
}

.filters {
  display:flex;
  gap:24px;
  margin-top:10px;
  justify-content:space-between
}

.filter-field {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0
}

.filter-field label {
  font-size:11px;
  color:var(--muted)
}

.filters .filter-field select {
  border:0;
  background:transparent;
  color:var(--ink);
  padding-right:8px;
  font-size:12px;
  max-width:100%;
  font-weight:600
}

.section-heading {
  margin:22px 0 16px
}

.section-heading h2 {
  font-size:27px;
  letter-spacing:-1px;
  font-weight:750
}

.muted {
  color:var(--muted);
  font-size:13px;
  line-height:1.6
}

.product-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px
}

.product-card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  transition:box-shadow .2s,transform .2s,border-color .2s
}

.product-card:hover {
  border-color:#c9c1f4;
  box-shadow:0 9px 26px #2920680c;
  transform:translateY(-3px)
}

.product-media {
  position:relative;
  aspect-ratio:1/1.08;
  background:#f1f0f8;
  overflow:hidden;
  isolation:isolate;
  display:grid;
  place-items:center
}

.product-image {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  position:absolute;
  inset:0;
  background:#fff
}

.product-card .product-image {
  object-fit:cover;
}

.product-marketplace,
.discount {
  position:absolute;
  left:12px;
  z-index:1;
}

.product-marketplace {
  top:8px;
  left:8px;
  display:inline-grid;
  place-items:center;
  min-height:24px;
  max-width:calc(100% - 24px);
  border:1px solid color-mix(in srgb,currentColor 18%,transparent);
  border-radius:999px;
  padding-inline:9px;
  font-size:11px;
  font-weight:750;
  line-height:1;
  box-shadow:0 1px 4px #22213c14;
}

.product-marketplace.marketplace-wb > span {
  transform:translateY(1px);
}

.discount {
  bottom:12px;
  background:#d4f909;
  color:var(--accent-ink);
  border-radius:9px;
  padding:8px 10px;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.7px;
  display:flex;
  align-items:center;
  gap:5px;
  box-shadow:0 2px 8px #2621550a
}

.discount .app-icon {
  flex:none;
  width:18px;
  height:18px;
}

.image-fallback {
  padding:22px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  color:#77718f;
  gap:8px;
  font-size:11px
}

.fallback-mark {
  display:grid;
  place-items:center;
  width:61px;
  height:68px;
  border:1px solid #d5d0e8;
  background:#e8e4f4;
  border-radius:15px 15px 15px 4px;
  font-size:39px;
  font-weight:750;
  letter-spacing:-3px;
  padding-right:6px;
  transform:rotate(-8deg);
  color:#a49bbf;
  margin-bottom:7px
}

.image-fallback small {
  font-size:9px;
  color:#77718f
}

.card-body {
  padding:16px;
  flex:1;
  display:flex;
  flex-direction:column
}

.brand-name {
  font-size:10px;
  font-weight:750;
  color:var(--blue);
  letter-spacing:.7px;
  text-transform:uppercase;
  overflow-wrap:anywhere;
  margin-bottom:5px
}

.sku {
  font-size:10px;
  color:var(--muted);
  margin-bottom:8px
}

.product-card h3 {
  font-size:14px;
  line-height:1.45;
  font-weight:600;
  margin-bottom:16px;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden
}

.card-expiry {
  font-size:10px;
  line-height:1.5;
  color:var(--muted);
  margin-top:auto;
  margin-bottom:12px
}

.card-button {
  background:var(--lavender);
  color:var(--blue);
  border:1px solid transparent;
  border-radius:9px;
  text-align:left;
  padding:10px 12px;
  width:100%;
  font-size:12px;
  font-weight:650;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}

.card-button:hover {
  background:var(--blue);
  color:white
}

.card-button span {
  font-size:20px;
  line-height:1
}

.more-wrap {
  text-align:center;
  margin-top:28px
}

.more-wrap .button {
  min-width:215px
}

.more-wrap:has(.button[hidden]) {
  display:none
}

.subscription-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  margin-top:28px;
  padding:clamp(20px,4vw,36px);
  border-radius:22px;
  color:white;
  background:radial-gradient(ellipse at top right,#4b42ce,transparent 65%),#211697
}

.subscription-tag {
  display:inline-block;
  border:1px solid #ffffff59;
  border-radius:30px;
  padding:5px 11px;
  font-size:12px;
  font-weight:650
}

.subscription-info h2 {
  margin:11px 0 7px;
  font-size:clamp(23px,4vw,32px);
  letter-spacing:-.03em;
  line-height:1.15
}

.subscription-info p {
  color:#eeebff;
  font-size:14px;
  line-height:1.55
}

.subscription-action {
  display:grid;
  gap:8px;
  flex:none
}

.subscription-price strong {
  color:var(--accent);
  font-size:29px;
  letter-spacing:-.03em
}

.subscription-price span {
  color:#eeebff;
  font-size:13px
}

.subscription-price del,.checkout-price del {
  margin-left:5px;
  white-space:nowrap;
  font-size:13px
}

.subscription-price del {
  color:#eeebff
}

.subscription-marketplaces {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
  list-style:none;
  padding-inline-start:0
}

.subscription-marketplaces li {
  padding:4px 8px;
  border-radius:6px;
  font-size:12px;
  font-weight:700
}

.marketplace-wb {
  background:#a32076;
  color:#fff
}

.marketplace-ozon {
  background:#1554d1;
  color:#fff
}

.marketplace-yandex {
  background:#ffcf3e;
  color:#2d2105
}

.marketplace-ozon small {
  margin-left:2px;
  font-size:10px;
  font-weight:600
}

.subscription-button {
  width:100%;
  margin-top:3px;
  color:var(--accent-ink);
  background:var(--accent)
}

.subscription-button:hover {
  background:var(--accent-hover)
}

.subscription-banner :focus-visible {
  outline-color:white
}

.text-button {
  padding:0 3px;
  border:0;
  color:var(--blue);
  background:transparent;
  font-weight:650;
  text-decoration:underline;
  text-underline-offset:3px
}

.status {
  padding:32px 24px;
  border:1px dashed #c8c0e5;
  background:#f1effb;
  border-radius:14px;
  margin:20px 0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
  text-align:center
}

.status .button {
  margin-top:14px
}

.status p+p {
  margin-top:8px
}

.footer {
  display:flex;
  align-items:center;
  gap:28px;
  border-top:1px solid var(--line);
  padding:28px 0;
  margin-top:48px
}

.footer-brand {
  font-weight:800;
  font-size:25px;
  letter-spacing:-1px;
  color:var(--accent-ink)
}

.footer p,.timezone {
  font-size:11px;
  line-height:1.7;
  color:var(--muted)
}

.timezone {
  margin-left:auto;
  white-space:nowrap
}

.lookup-heading {
  padding:10px 0 23px
}

.lookup-heading h2 {
  font-size:29px;
  letter-spacing:-1px;
  margin-bottom:10px
}

.lookup-heading .muted {
  max-width:580px
}

#lookup-form {
  padding:23px;
  background:white;
  border:1px solid var(--line);
  border-radius:18px
}

#lookup-form>label {
  font-size:13px;
  font-weight:650;
  display:block;
  margin-bottom:10px
}

textarea {
  width:100%;
  border:1px solid #d8d3eb;
  background:#faf9fe;
  color:var(--ink);
  padding:16px;
  border-radius:12px;
  line-height:1.8;
  resize:vertical;
  min-height:168px;
  font-size:14px
}

.lookup-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:14px
}

.lookup-summary {
  border-left:3px solid var(--blue);
  padding:3px 0 3px 18px;
  margin:26px 0;
  font-size:13px;
  line-height:1.7;
  overflow-wrap:anywhere
}

.lookup-summary p+p {
  margin-top:9px
}

.lookup-summary details {
  margin-top:10px
}

.lookup-summary summary {
  cursor:pointer;
  min-height:36px
}

dialog {
  border:1px solid #e2ddf5;
  background:var(--paper);
  color:var(--ink);
  border-radius:23px;
  padding:24px;
  width:calc(100% - 32px);
  max-width:600px;
  max-height:88vh;
  max-height:88dvh;
  box-shadow:0 24px 100px #140d4d45
}

dialog::backdrop {
  background:#17123889;
  backdrop-filter:blur(5px)
}

body:has(dialog[open]) {
  overflow:hidden
}

#subscription-dialog {
  max-width:460px;
  overflow-y:auto
}

#subscription-dialog h2 {
  font-size:23px
}

#admin-access-dialog {
  max-width:440px;
}

#admin-access-dialog h2 {
  font-size:23px;
}

.admin-access-form,
.admin-user-picker {
  display:grid;
  gap:8px;
  margin-top:16px;
}

.admin-user-picker h3 {
  font-size:16px;
}

.admin-access-form {
  padding-top:10px;
  border-top:1px solid var(--line);
}

.admin-access-form label {
  margin-top:6px;
  font-weight:650;
}

.admin-access-form input,
.admin-user-picker input {
  min-width:0;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
  color:var(--ink);
  font-size:16px;
}

.admin-user-list {
  display:grid;
  gap:6px;
  max-height:min(28dvh, 220px);
  overflow:auto;
  list-style:none;
  margin:0;
  padding:2px;
}

.admin-user-list:empty {
  display:none;
}

.admin-user {
  display:grid;
  gap:3px;
  width:100%;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  color:var(--ink);
  text-align:left;
  overflow-wrap:anywhere;
}

.admin-user .muted {
  font-size:12px;
}

.admin-access-form .primary {
  margin-top:8px;
}

.admin-access-status {
  overflow-wrap:anywhere;
}

.checkout-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px
}

.checkout-plan {
  margin:16px 0;
  padding:14px 16px;
  border-radius:16px;
  background:var(--lavender)
}

.checkout-plan p {
  font-size:13px;
  line-height:1.5
}

.checkout-price strong {
  font-size:32px;
  letter-spacing:-.05em;
  color:var(--blue)
}

.checkout-price span {
  margin-left:4px;
  color:var(--muted)
}

.checkout-price del {
  color:var(--muted)
}

.checkout-payment {
  display:grid;
  gap:12px
}

.checkout-fields {
  display:grid;
  gap:6px;
  font-size:13px
}

.checkout-fields input {
  width:100%;
  min-height:44px;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--lavender);
  font-size:16px
}

.checkout-fields label:not(:first-child) {
  margin-top:4px
}

.checkout-agreement {
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  align-items:start;
  gap:9px;
  min-height:28px;
  font-size:13px;
  line-height:1.5;
  cursor:pointer
}

.checkout-agreement input {
  min-height:0;
  width:18px;
  height:18px;
  margin:1px 0 0;
  accent-color:var(--blue)
}

.checkout-agreement a {
  color:var(--blue);
  text-underline-offset:2px
}

.checkout-note {
  color:var(--muted);
  font-size:12px;
  line-height:1.5
}

.subscription-examples {
  margin-bottom:18px;
  border-block:1px solid var(--line)
}

.subscription-examples summary {
  padding:12px 0;
  color:var(--blue);
  font-weight:700;
  cursor:pointer
}

.subscription-example-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px
}

.subscription-example {
  min-width:0;
  overflow:hidden;
  margin-bottom:12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper)
}

.subscription-example .product-media {
  aspect-ratio:1;
  border-radius:0
}

.subscription-example .image-fallback {
  padding:4px;
  gap:0
}

.subscription-example .fallback-mark,.subscription-example .image-fallback small {
  display:none
}

.subscription-example-discount {
  display:inline-block;
  margin:4px 5px;
  color:var(--blue);
  font-size:11px;
  font-weight:750
}

.subscription-example h3 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0 5px 7px;
  font-size:11px;
  line-height:1.3
}

.dialog-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px
}

.eyebrow {
  font-size:10px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:1.7px;
  color:var(--blue)
}

.icon-button {
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:var(--lavender);
  color:var(--blue);
  border-radius:50%;
  width:44px;
  height:44px;
  min-height:44px
}

.icon-button .app-icon {
  width:22px;
  height:22px;
}

.detail-product {
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  align-items:center;
  gap:24px;
}

.detail-media {
  border:1px solid var(--line);
  border-radius:13px;
  aspect-ratio:1/1.12;
}

.detail-information {
  display:grid;
  gap:10px;
  min-width:0;
}

.detail-metadata {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}

.detail-marketplace {
  border-radius:999px;
  padding:5px 10px;
  font-size:11px;
  font-weight:750;
}

.detail-brand {
  font-size:11px;
  color:var(--muted);
  font-weight:700;
}

.detail-title {
  font-size:24px;
  letter-spacing:-.5px;
  line-height:1.22;
  overflow-wrap:anywhere
}

.detail-information .collection-detail-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0;
}

.detail-information .collection-button {
  min-width:0;
  min-height:44px;
  padding:8px;
  gap:6px;
  white-space:normal;
  font-size:12px;
  line-height:1.3;
}

.product-price {
  display:grid;
  gap:3px;
  font-variant-numeric:tabular-nums;
}

.price-amounts {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:2px 8px;
}

.price-main { font-size:22px; line-height:1.15; }
.price-previous { color:var(--muted); font-size:13px; }
.price-caption { color:var(--muted); font-size:11px; }
.card-price { margin-top:9px; }
.card-price .price-main { font-size:19px; }
.detail-price .price-main { font-size:28px; }
.offer-price { margin-bottom:12px; }

.detail-intro {
  font-size:12px;
  color:var(--muted);
  line-height:1.7;
  margin:20px 0
}

.offer-list {
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:20px
}

.offer {
  position:relative;
  border:1px solid #ded8f2;
  border-radius:14px;
  padding:17px;
  background:#faf9ff;
}

.offer-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:12px
}

.offer-discount {
  font-weight:800;
  font-size:19px;
  letter-spacing:-.25px;
  color:var(--blue)
}

.offer-state {
  font-size:11px;
  color:#356247;
}

.code-row {
  display:flex;
  gap:8px;
  align-items:center;
  min-height:58px;
  background:#eeeaff;
  border:1px solid #ded6fb;
  border-radius:11px;
  padding:5px 5px 5px 12px;
}

.code-mask {
  flex:1;
  min-width:0;
  overflow:hidden;
  color:#7666b5;
  font-size:16px;
  letter-spacing:3px;
}

.code-row code {
  font-size:19px;
  letter-spacing:1px;
  overflow-wrap:anywhere;
  min-width:0;
  flex:1;
  color:#312a66
}

.copy-button,
.code-reveal {
  min-height:44px;
  font-size:12px;
  background:var(--blue);
  color:white;
  border:0;
  border-radius:7px;
  padding:10px 12px;
  flex-shrink:0
}

.copy-button:hover,
.code-reveal:hover {
  background:#4035ca
}

.offer p {
  font-size:11px;
  line-height:1.6;
  margin-top:10px;
  color:var(--muted)
}

.offer-product-link {
  width:100%;
  margin-top:12px
}

.product-link {
  width:100%;
  margin-top:16px;
}

.detail-instructions {
  margin-top:14px;
  border-top:1px solid var(--line);
  padding-top:12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.detail-instructions summary {
  color:var(--ink);
  cursor:pointer;
  font-weight:650;
}

.detail-instructions ol {
  margin:8px 0 0;
  padding-inline-start:21px;
}

.detail-related {
  display:grid;
  gap:10px;
  margin-top:18px;
}

.detail-related h3 { font-size:16px; }

.detail-related-items {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.detail-related-item {
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:7px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--paper);
  text-align:left;
}

.detail-related-item:hover { border-color:#c9c1f4; }

.detail-related-item .product-media {
  aspect-ratio:1;
  border-radius:6px;
}

.detail-related-item .fallback-mark { display:none; }
.detail-related-description { display:grid; gap:3px; min-width:0; overflow-wrap:anywhere; }
.detail-related-description small { color:var(--blue); font-size:11px; }
.detail-related-description strong { font-size:12px; line-height:1.3; }

.toast {
  position:fixed;
  bottom:calc(76px + env(safe-area-inset-bottom));
  left:50%;
  transform:translateX(-50%);
  background:#252044;
  color:white;
  border-radius:12px;
  padding:14px 20px;
  font-size:13px;
  z-index:10;
  box-shadow:0 8px 30px #17123830;
  max-width:calc(100% - 32px);
  text-align:center
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  background:white;
  padding:12px;
  z-index:20
}

.skip-link:focus {
  top:12px
}

.noscript {
  padding:30px
}

.skeleton {
  height:390px;
  background:linear-gradient(125deg,#eeebf7,#f4f2fa,#eeebf7);
  border-radius:18px;
  animation:pulse 1.4s ease-in-out infinite
}

@keyframes pulse {
  50% {
    opacity:.45
  }
}

@media(max-width:1000px) {
  .app-shell {
    padding-inline:28px
  }
  .product-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .intro-content {
    width:70%;
    padding:30px
  }
  h1 {
    font-size:39px
  }
  .hero-art {
    width:75%
  }
  .intro::after {
    background:linear-gradient(90deg,#211697 0%,#211697 25%,#211697cb 44%,#21169700 73%)
  }
}

@media(max-width:700px) {
  .subscription-banner {
    align-items:stretch;
    flex-direction:column;
    gap:18px
  }

  .app-shell {
    padding-inline:18px
  }
  .header {
    height:76px
  }
  .wordmark {
    font-size:28px
  }
  .brand-icon {
    width:32px;
    height:34px;
    font-size:26px
  }
  .market-label {
    font-size:10px;
    gap:5px
  }
  .market-badge {
    font-size:9px;
    padding:5px
  }
  .intro {
    min-height:265px;
    border-radius:20px
  }
  .intro-content {
    padding:24px;
    width:83%
  }
  .hero-art {
    width:90%;
    object-position:right center
  }
  .intro::after {
    background:linear-gradient(90deg,#211697 0%,#211697 27%,#211697dc 43%,#21169724 100%)
  }
  h1 {
    font-size:34px;
    letter-spacing:-1.4px
  }
  .intro-copy {
    font-size:12px;
    margin-top:12px
  }
  .view-tabs {
    margin:16px 0 16px;
    gap:23px
  }
  .tab {
    font-size:13px;
    padding-bottom:12px;
    gap:18px
  }
  .search-form input {
    font-size:13px
  }
  .search-form {
    padding-left:12px
  }
  .filters {
    gap:14px;
    margin-top:7px
  }
  .filters .filter-field {
    flex-direction:column;
    align-items:flex-start;
    gap:0
  }
  .filters .filter-field select {
    min-height:36px;
    padding-left:0;
    font-size:11px
  }
  .filters .filter-field:last-child {
    align-items:flex-end
  }
  .filters .filter-field label {
    font-size:10px;
    margin-top:5px
  }
  .section-heading {
    margin-top:16px
  }
  .section-heading h2 {
    font-size:24px
  }
  .product-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .card-body {
    padding:13px
  }
  .product-card h3 {
    font-size:13px
  }
  .footer {
    gap:18px
  }
  .timezone {
    display:none
  }
  .lookup-actions {
    align-items:stretch;
    flex-direction:column;
    gap:12px
  }
  .lookup-actions .muted {
    font-size:11px
  }
  .lookup-heading h2 {
    font-size:25px
  }
  #lookup-form {
    padding:17px
  }
}

@media(max-width:650px) {
  .catalog-filter-fields {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }

  .catalog-filter-actions > button {
    flex:1 1 100px;
  }

  .detail-product {
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }

  .detail-media { aspect-ratio:4/3; }
  .detail-title { font-size:21px; }
  .detail-related-items { grid-template-columns:minmax(0,1fr); }
}

@media(max-width:440px) {
  .app-shell {
    padding-inline:14px
  }
  .header {
    height:70px
  }
  .market-label {
    font-size:9px
  }
  .wordmark {
    font-size:26px
  }
  .intro {
    min-height:232px;
    border-radius:17px
  }
  .intro-content {
    padding:22px 18px;
    width:100%
  }
  .hero-art {
    width:100%;
    height:100%;
    object-position:right center;
    opacity:.86
  }
  .intro::after {
    background:linear-gradient(90deg,#211697 0%,#211697f2 27%,#211697b8 55%,#21169715 100%)
  }
  h1 {
    font-size:31px;
    letter-spacing:-1.25px;
    max-width:285px
  }
  .intro-copy {
    font-size:10px;
    max-width:220px;
    margin-top:11px
  }
  .view-tabs {
    margin:13px 0 14px;
    gap:22px
  }
  .tab {
    font-size:12px;
    gap:13px;
    padding:8px 0 11px
  }
  .tab span {
    font-size:18px
  }
  .search-form {
    gap:4px;
    padding:5px 5px 5px 10px;
    border-radius:11px
  }
  .search-form input {
    font-size:11px;
    padding:0 3px
  }
  .search-form .button {
    padding:10px 14px;
    font-size:11px;
    min-height:42px
  }
  .search-icon {
    font-size:25px
  }
  .filters {
    gap:8px
  }
  .section-heading h2 {
    font-size:22px
  }
  .product-grid {
    gap:10px
  }
  .product-card {
    border-radius:13px
  }
  .product-media {
    aspect-ratio:1/1.13
  }
  .product-marketplace {
    top:6px;
    left:6px;
    min-height:22px;
    padding-inline:5px;
    font-size:9px;
  }
  .discount {
    bottom:9px;
    left:9px;
    font-size:18px;
    padding:6px 8px;
    border-radius:7px;
    gap:4px
  }
  .discount .app-icon {
    width:16px;
    height:16px;
  }
  .card-body {
    padding:12px 10px
  }
  .brand-name {
    font-size:9px;
    margin-bottom:5px
  }
  .sku {
    font-size:8px;
    margin-bottom:7px
  }
  .product-card h3 {
    font-size:12px;
    line-height:1.45;
    margin-bottom:13px
  }
  .card-expiry {
    font-size:9px;
    margin-bottom:10px
  }
  .card-button {
    font-size:11px;
    padding:8px 9px;
    min-height:42px
  }
  .card-button span {
    font-size:18px
  }
  .footer {
    margin-top:33px;
    padding:24px 0;
    gap:18px
  }
  .footer-brand {
    font-size:21px
  }
  .footer p {
    font-size:9px
  }
  .detail-brand {
    font-size:10px
  }
  .detail-media .image-fallback {
    font-size:9px;
    padding:8px
  }
  .detail-media .image-fallback small {
    display:none
  }
  .detail-media .fallback-mark {
    width:38px;
    height:42px;
    font-size:26px;
    margin-bottom:2px
  }
  dialog {
    padding:18px;
    border-radius:19px
  }
  .offer {
    padding:13px
  }
  .code-row code {
    font-size:16px
  }
  .offer-state {
    font-size:9px
  }
  .copy-button,
  .code-reveal {
    padding:9px 10px;
    font-size:11px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
}
