@font-face {
  font-family: Roboto;
  src: url('/assets/fonts/Roboto.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1b2e25;
  --muted: #59675e;
  --line: #dfe8e1;
  --surface: #fff;
  --bg: #f6f8f6;
  --accent: #157347;
  --accent-hover: #0f5c38;
  --pale: #e8f5ed;
  --success: #157347;
  --radius: 8px;
  font: 14px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
}

button,input,select,textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color: transparent;
}

button,a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  line-height: var(--heading-line-height,1.2);
  letter-spacing: var(--heading-tracking,-.025em);
}

h1 {
  font-size: var(--page-heading,clamp(30px,3.5vw,46px));
}

h2 {
  font-size: var(--section-heading,20px);
  font-weight: var(--heading-weight,700);
}

h3 {
  font-size: var(--text-subheading,20px);
  font-weight: var(--heading-weight,700);
}

p {
  margin-bottom: 14px;
}

small {
  font-size: var(--text-small,12px);
}

.container {
  width: min(var(--content-width,1600px),calc(100% - 40px));
  margin: 0 auto;
}

.page-content {
  min-height: 60vh;
  padding-top: 16px;
  padding-bottom: 24px;
}

.view-home .page-content {
  padding-top: 20px;
}

.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  color: var(--accent);
  margin-bottom: 12px;
}

.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: 12px;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.announcement {
  background: var(--announcement-bg,#ffeadc);
  font-size: var(--text-small,12px);
  font-weight: 500;
}

.announcement .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  gap: 12px;
}

.announcement span,.announcement a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement .icon {
  width: 15px;
  height: 15px;
}

/* Shared brand palette; storefront and admin keep their own layout tokens. */
.store-page,.admin-page {
  --ink: #1b2e25;
  --muted: #59675e;
  --line: #dfe8e1;
  --bg: #f6f8f6;
  --accent: #157347;
  --accent-hover: #0f5c38;
  --pale: #e8f5ed;
  --success: #157347;
  --soft-surface: #f1f7f3;
  --selected-surface: #e8f5ed;
  --accent-border: #a4c6b1;
  --field-border: #c7d8cc;
  --field-focus: #157347;
  --subtle-border: #e8efea;
  --focus-ring: #427a58;
  --sale-bg: #f1d36f;
  --sale-ink: #4d3d0b;
  --placeholder-ink: #59675e;
  --placeholder-bg: #edf3ee;
  --announcement-bg: #eaf5ee;
  --tile-shadow: #17382d0a;
  color: var(--ink);
  background: var(--bg);
}

.store-page {
  --content-width: 1280px;
  --section-heading: 18px;
  --text-body: 14px;
  --text-secondary: 13px;
  --text-small: 12px;
  --text-control: 14px;
  --text-subheading: 16px;
  --text-title: 20px;
  --text-total: 24px;
  --text-price: 28px;
  --heading-weight: 600;
  --heading-line-height: 1.35;
  --heading-tracking: -.015em;
  --label-weight: 500;
  --action-weight: 600;
  --link-weight: 500;
  --check-weight: 400;
  --price-weight: 700;
  --card-padding: 16px;
  --card-radius: 8px;
  --control-height: 44px;
  --control-padding: 10px 16px;
  --page-heading: clamp(24px,3vw,32px);
  font-family: Roboto,Arial,sans-serif;
  font-size: var(--text-body);
  color: var(--ink);
  background: var(--bg);
}

.store-header {
  background: white;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.view-payment .header-content { display: flex; }

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.6px;
}

.brand>.icon {
  width: 33px;
  height: 33px;
}

.brand>img:not(.icon) {
  max-width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand small {
  display: block;
  letter-spacing: .12em;
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  background: var(--soft-surface,#fafafd);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 0 0 12px;
}

.header-search .icon {
  width: 20px;
  height: 20px;
  opacity: .55;
}

.header-search input {
  border: 0;
  background: transparent;
  padding: 8px 0;
  width: 100%;
  min-width: 0;
  outline-offset: 3px;
}

.header-search button {
  margin: 0;
  align-self: stretch;
  padding: 9px 18px;
  border-radius: 0 7px 7px 0;
  background: var(--selected-surface,#f1f0f7);
  color: var(--muted);
  border-color: transparent;
  font-size: 13px;
}

.catalog-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 10px 15px;
  min-height: 44px;
  background: #ffcc00;
  font-weight: 500;
}

.catalog-button .icon {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-actions>a {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 4px;
  font-size: 11px;
}

.header-actions .icon {
  width: 24px;
  height: 24px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: 0;
  background: var(--accent);
  color: white;
  font-size: 9px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
}

.button,button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: white;
  border-radius: var(--card-radius,9px);
  padding: var(--control-padding,12px 19px);
  font-weight: var(--action-weight,650);
  line-height: 1.25;
  min-height: var(--control-height,43px);
  transition: background .16s,border-color .16s,box-shadow .16s;
}

.button:hover,button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button .icon,button>.icon {
  filter: brightness(0) invert(1);
  width: 19px;
  height: 19px;
}

.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.secondary:hover {
  background: var(--pale);
  border-color: var(--accent-border,#cbb8e0);
}

.secondary .icon,.plain .icon {
  filter: none;
}

.plain {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px;
  text-decoration: underline;
}

.plain:hover {
  background: transparent;
  color: var(--accent);
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: var(--link-weight,550);
  font-size: 13px;
}

.textlink .icon {
  width: 17px;
  height: 17px;
}

a:hover .prodname,.prodname:hover {
  color: var(--accent);
}

.sectionline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.sectionline>div>h2 {
  margin-top: 4px;
}

.sectionline .eyebrow {
  margin: 0;
  font-size: 9px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: var(--text-small,12px);
  margin: 5px 0 14px;
}

.breadcrumb .icon {
  width: 14px;
  height: 14px;
}

.breadcrumb span {
  color: var(--ink);
}

.discovery {
  display: grid;
  grid-template-columns: 192px minmax(0,1fr);
  gap: 13px;
}

.category-menu {
  background: white;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.category-menu h2 {
  font-size: var(--text-body,15px);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 8px;
}

.category-menu h2 .icon {
  width: 20px;
  height: 20px;
}

.category-menu nav>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  font-size: 13px;
  font-weight: 400;
  border-top: 1px solid var(--subtle-border,#f5f3f7);
}

.category-menu nav>a:hover {
  background: var(--selected-surface,#faf7ff);
  color: var(--accent);
}

.category-menu nav>a>span {
  flex: 1;
}

.category-menu nav small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}

.category-menu nav .icon {
  width: 15px;
  height: 15px;
}

.category-menu nav .category-all {
  background: var(--selected-surface,#faf7ff);
}



.catalog-section {
  padding: 8px 0 18px;
}

.catalog-heading {
  margin-bottom: 16px;
}




.catalog-heading .muted {
  font-size: var(--text-small,12px);
}

.preview-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--placeholder-ink,#675a77);
  background: var(--placeholder-bg,#efebf4);
  border-radius: 8px;
  font-size: 11px;
  padding: 10px 12px;
  line-height: 1.5;
}

.preview-note .icon {
  width: 16px;
  height: 16px;
  opacity: .65;
}











.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.pagination:empty {
  display: none;
}

.tiles,.recent-products {
  --tile-columns: 7;
  --tile-gap: 12px;
  --tile-media-size: 160px;
  --tile-name-size: 14px;
  --tile-price-size: 18px;
  --tile-body-gap: 4px;
  --tile-body-padding: 8px 10px;
  --tile-photo-padding: 10px 10px 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(var(--tile-columns),minmax(0,1fr));
  gap: var(--tile-gap);
}

.tile {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .18s,box-shadow .18s;
  min-width: 0;
}

.tile:hover {
  border-color: var(--accent-border,#d6c3ea);
  box-shadow: 0 4px 22px var(--tile-shadow,#3b146609);
}

.tilephoto {
  position: relative;
  display: block;
  background: white;
  padding: var(--tile-photo-padding);
}

.tile-sale { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 6px; background: var(--sale-bg,#ffce00); color: var(--sale-ink,#151326); font-size: var(--text-small,12px); line-height: 1.4; font-weight: 600; }

.tilephoto>img,.tilephoto>.product-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: var(--tile-media-size);
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.tilephoto>.placeholder { width: 100%; max-width: var(--tile-media-size); margin-inline: auto; aspect-ratio: 1; min-height: 0; padding: 10px; text-align: center; }

.tilebody {
  display: flex;
  flex-direction: column;
  gap: var(--tile-body-gap);
  padding: var(--tile-body-padding);
  flex: 1;
}

.tile-unit {
  color: var(--muted);
  font-size: var(--text-small,12px);
  line-height: 1.5;
  min-height: 3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.tilebody>.prodname { order: -1; min-height: 2.8em; font-size: var(--tile-name-size); font-weight: 500; line-height: 1.4; }
.tile-rating { font-size: 13px; line-height: 1.4; }
.tile-rating>span { color: #efad00; font-size: 16px; line-height: 1; vertical-align: -1px; }
.tile-rating small { color: var(--muted); }

.prodname {
  font-size: var(--text-body,14px);
  font-weight: 400;
  line-height: 1.42;
  display: block;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stock {
  color: var(--success);
  font-size: var(--text-small,12px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stock::before {
  content: '';
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

.unavailable {
  color: var(--muted);
}

.tileprice {
  font-size: var(--tile-price-size,18px);
  font-weight: var(--price-weight,750);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.tilebody form {
  margin: 0;
}

.tilebody button,:is(.tilebody,.tile-actions)>.button {
  width: 100%;
  border-radius: 22px;
  font-size: var(--text-body,14px);
  min-height: 44px;
  padding: 9px 6px;
  margin: 0;
  overflow-wrap: anywhere;
}

.tilebody form>button {
  margin: 0;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  color: var(--muted);
  font-size: var(--text-small,12px);
  background: var(--soft-surface,#fafafd);
  border: 0;
  flex-direction: column;
  gap: 12px;
}
.placeholder>.icon { width: 36px; height: 36px; opacity: .55; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 24px;
  gap: 24px;
}

.benefits>div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
}

.benefits .icon {
  width: 30px;
  height: 30px;
  opacity: .75;
}

.benefits b {
  display: block;
  font-size: 13px;
  font-weight: 650;
}

.benefits small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.store-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-grid>div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 11px;
}

.footer-grid p {
  color: var(--muted);
  font-size: var(--text-small,12px);
  line-height: 1.7;
  margin: 0;
  max-width: 270px;
}

.footer-grid b {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-grid a:not(.brand) {
  font-size: var(--text-small,12px);
}

.footer-grid .brand {
  font-size: 22px;
}

.footer-grid small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}

.footer-grid .icon {
  width: 15px;
  height: 15px;
}

label {
  display: grid;
  gap: 7px;
  font-size: var(--text-small,12px);
  font-weight: var(--label-weight,550);
  margin: 15px 0;
}

input,select,textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--field-border,#ddd8e5);
  background: white;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  min-height: 42px;
}

.store-page :is(input,select,textarea) {
  font-size: var(--text-control);
  font-weight: 400;
  line-height: 1.5;
}

input:focus,select:focus,textarea:focus {
  border-color: var(--field-focus,#ae7bd8);
}

input[type=checkbox] {
  accent-color: var(--accent);
  width: 16px;
  min-height: 16px;
  height: 16px;
  flex-shrink: 0;
}

input[type=file] {
  padding: 9px;
  background: var(--soft-surface,#faf9fc);
  font-size: 11px;
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small,12px);
  font-weight: var(--check-weight,450);
}

.box,.search,.narrative {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-padding,25px);
  margin: 18px 0;
}

.box>h2,.narrative>h2 {
  margin-bottom: 16px;
}

.box>h1 {
  margin-bottom: 20px;
}

.box p,.narrative p {
  line-height: 1.7;
}

.search {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}

.search label {
  flex: 1 1 130px;
  margin: 0;
}

.search button {
  font-size: var(--text-small,12px);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inline,.listrow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.pills a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  font-size: var(--text-small,12px);
}

.pills [aria-current] {
  background: var(--accent);
  color: white;
}

.back {
  display: inline-flex;
  color: var(--muted);
  font-size: var(--text-small,12px);
  margin: 4px 0 20px;
}

.narrow {
  max-width: 460px;
  margin: 45px auto 75px;
  padding: var(--card-padding,35px);
}

.narrow>small {
  display: block;
  letter-spacing: .1em;
  color: var(--accent);
  font-size: 10px;
  margin-bottom: 12px;
}

.narrow h1 {
  font-size: var(--page-heading,31px);
  margin-bottom: 14px;
}

.narrow button {
  width: 100%;
  margin-top: 12px;
}

.narrow .muted {
  font-size: 13px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff5e8;
  border: 1px solid #efd8b7;
  color: #7e581e;
  padding: 14px;
  border-radius: 10px;
  margin: 15px 0;
  font-size: 13px;
}

.error-notice {
  background: #fff0f1;
  color: #a13542;
  border-color: #f0d1d4;
}

.empty-state {
  text-align: center;
  padding: 65px 20px;
  border: 1px dashed var(--accent-border,#d9d1e3);
  border-radius: 14px;
}

.empty-state>.icon {
  width: 40px;
  height: 40px;
  opacity: .4;
  margin-bottom: 15px;
}

.empty-state h3 {
  margin-bottom: 9px;
}

.empty-state p {
  color: var(--muted);
  font-size: 13px;
}

.empty-state .button {
  font-size: var(--text-small,12px);
}


.summary {
  align-self: start;
}

.listrow {
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-small,12px);
}

form>button {
  margin: 10px 0 0;
}

summary {
  cursor: pointer;
}

code {
  overflow-wrap: anywhere;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid var(--focus-ring,#caa2ef);
  outline-offset: 3px;
}

@media(max-width:1180px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-content {
    gap: 20px;
  }
  .brand {
    font-size: 20px;
  }
  .tiles,.recent-products { --tile-columns: 6; }
  .discovery {
    grid-template-columns: 192px minmax(0,1fr);
  }
}

@media(max-width:1100px) {
  .tiles,.recent-products { --tile-columns: 5; }
}

@media(max-width:900px) {
  .header-content {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px 0;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
  }
  .header-actions {
    margin-left: auto;
  }
  .announcement {
    font-size: 10px;
  }
  .discovery {
    grid-template-columns: 190px minmax(0,1fr);
    gap: 14px;
  }
  .category-menu nav>a {
    padding: 10px;
  }
  .category-menu h2 {
    margin-left: 14px;
    font-size: 13px;
  }

  .tiles,.recent-products { --tile-columns: 4; }
  .footer-grid {
    gap: 30px;
  }
  .benefits {
    gap: 15px;
  }
  .benefits b {
    font-size: 11px;
  }
  .benefits small {
    font-size: 10px;
  }
}

@media(max-width:760px) {
  .tiles,.recent-products { --tile-columns: 3; --tile-gap: 10px; }
}

@media(max-width:600px) {
  .catalog-button { display: none; }
  html {
    scroll-padding-top: 150px;
  }
  .container {
    width: calc(100% - 28px);
  }
  .page-content {
    padding-top: 16px;
  }
  .announcement .container {
    min-height: 31px;
  }
  .announcement span {
    font-size: 9px;
    gap: 5px;
  }
  .announcement a {
    font-size: 9px;
    gap: 4px;
  }
  .announcement .icon {
    width: 12px;
    height: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .brand>.icon {
    width: 28px;
    height: 28px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-content {
    padding: 13px 0;
    gap: 14px;
  }
  .header-search {
    min-height: 45px;
    padding-left: 12px;
  }
  .header-search input {
    font-size: 16px;
  }
  .header-search button {
    padding: 9px 16px;
    min-height: 33px;
  }
  .header-actions {
    gap: 17px;
  }
  .header-actions>a {
    font-size: 9px;
    gap: 3px;
  }
  .header-actions .icon {
    width: 22px;
    height: 22px;
  }
  .discovery {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .category-menu {
    order: 2;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .category-menu h2,.category-all {
    display: none!important;
  }
  .category-menu nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .category-menu nav>a {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    padding: 10px 12px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11px;
  }
  .category-menu nav>a small,.category-menu nav>a>.icon {
    display: none;
  }
  .sectionline {
    gap: 10px;
    margin-bottom: 17px;
  }
  h2,.discovery-picks h2 {
    font-size: var(--section-heading,21px);
  }
  .sectionline .textlink {
    font-size: var(--text-small,12px);
  }
  .catalog-heading .muted {
    font-size: var(--text-small,12px);
  }
  .preview-note {
    font-size: var(--text-small,12px);
    align-items: start;
    padding: 9px;
    gap: 6px;
  }
  .preview-note .icon {
    width: 14px;
    height: 14px;
  }


  .toolbar-category {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
    max-width: none;
  }






  .tiles,.recent-products { --tile-columns: 2; }
  .benefits {
    grid-template-columns: 1fr;
    padding: 25px 0;
    gap: 21px;
    margin-top: 14px;
  }
  .benefits>div {
    justify-content: start;
    padding-left: 12px;
  }
  .benefits b {
    font-size: var(--text-small,12px);
  }
  .benefits small {
    font-size: 10px;
  }
  .benefits .icon {
    width: 27px;
    height: 27px;
  }
  .store-footer {
    padding: 30px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
  }
  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid .brand {
    font-size: 21px;
  }
  .footer-grid b {
    font-size: var(--text-small,12px);
  }
  .footer-grid a:not(.brand),.footer-grid p {
    font-size: 11px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 5px;
    margin: 0 0 17px;
  }
  .breadcrumb .icon {
    width: 12px;
    height: 12px;
  }

  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .box,.search,.narrative {
    padding: var(--card-padding,19px);
  }
  .narrow {
    padding: var(--card-padding,25px);
    margin: 25px auto 40px;
  }
  .narrow h1 {
    font-size: var(--page-heading,28px);
  }

  .search {
    gap: 10px;
  }
  h1 {
    font-size: var(--page-heading,29px);
  }
  .intro {
    margin-bottom: 20px;
  }
  .intro>small {
    display: block;
    color: var(--accent);
    font-size: 10px;
    letter-spacing: .1em;
    margin-bottom: 10px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition: none!important;
  }
}

.brand > span {
  display: block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prodname, .product-identity b {
  overflow-wrap: anywhere;
}
.footer-grid .brand {
  white-space: normal;
}
@media (max-width: 600px) {
  .brand > span {
    max-width: 155px;
  }
}

@media (max-width: 360px) {
  .header-content {
    gap: 10px;
  }
  .brand {
    font-size: 18px;
  }
  .header-actions {
    gap: 12px;
  }
}

.quick-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-total strong { font-size: 24px; white-space: nowrap; }
.view-checkout .intro>p { color: var(--muted); margin-top: 14px; }

.old-price { display: inline-block; color: var(--muted); font-size: 13px; font-weight: 400; text-decoration: line-through; }
.old-price[hidden] { display: none; }
.tile-price-group { display: flex; flex-direction: column; justify-content: end; margin-top: auto; padding-top: 4px; min-height: calc(4px + 1.2 * 13px + 1.3 * var(--tile-price-size,18px)); }
.tile-price-group .tileprice { display: block; }
.tile-price-group .old-price { display: block; line-height: 1.2; }

.tile-actions { display: flex; align-items: center; gap: 6px; }
.tile-actions>.button,.tile-actions>form:first-child { flex: 1; min-width: 0; }
.tile-actions>form { margin: 0; }
.tile-actions>form:first-child>button { width: 100%; }
.tile-actions .tile-cart { width: 44px; min-height: 44px; height: 44px; padding: 10px; border-radius: 50%; }

.tile-actions>.button { justify-content: center; text-align: center; white-space: normal; padding-inline: 8px; }
.tilephoto>.product-video { pointer-events: none; }
.payment-page h1 { font-size: 26px; }
.payment-page .textlink { display: block; margin-top: 20px; }

@media(max-width:760px) {
 .store-page { --text-control: 16px; }
 .tiles,.recent-products { --tile-media-size: 132px; --tile-name-size: 13px; --tile-price-size: 17px; --tile-body-gap: 3px; --tile-body-padding: 8px; --tile-photo-padding: 8px 8px 0; }
 .tile-actions { gap: 5px; }
 .tilebody button,:is(.tilebody,.tile-actions)>.button { font-size: 13px; line-height: 1.2; padding: 5px; }
}

.gift-breakdown { display:grid; gap:3px; margin:8px 0; font-size:13px; line-height:1.5; color:var(--muted); }
.gift-breakdown b { color:var(--accent); }
