.catalog-sidebar {
  min-width: 0;
}
.catalog-categories {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
  padding: 16px;
}
.catalog-categories h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.4;
}
.catalog-categories a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 12px;
  border-radius: 6px;
  color: #193a2f;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}
.catalog-categories a:hover {
  background: #edf0e8;
}
.catalog-categories a[aria-current="page"] {
  color: #fff;
  background: #123b30;
}
.catalog-categories a:focus-visible {
  outline: 2px solid #967840;
  outline-offset: 1px;
}
@media (min-width: 931px) and (max-width: 1200px) {
  .retail-masthead .header-inner {
    column-gap: 10px;
  }
  .retail-masthead .nav a {
    padding-inline: 7px;
    white-space: nowrap;
  }
}
@media (max-width: 800px) {
  .catalog-categories a {
    min-height: 44px;
  }
}
/* Keep the links accessible when scripts cannot handle the menu toggle. */
@media (scripting: none) and (max-width: 930px) {
  .header #store-nav {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-block-start: 8px;
  }
  .header #store-nav a {
    justify-content: center;
    min-height: 40px;
  }
  .header button[data-menu] {
    display: none !important;
  }
}

/* Shared by the storefront, product pages and cart, including their bundled base styles. */
body .toast {
  --toast-gutter: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  position: fixed;
  top: max(24px, calc(env(safe-area-inset-top, 0px) + 12px));
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 1100;
  box-sizing: border-box;
  width: min(356px, calc(100% - var(--toast-gutter) - var(--toast-gutter)));
  max-width: none;
  min-height: 54px;
  margin: 0 auto;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  background: #f5f8fa;
  border: 1px solid #cbd6dd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgb(24 44 32 / 12%);
  color: #334b59;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: start;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
body .toast.show {
  opacity: 1;
  transform: translateY(0);
}
body .toast:has(> [data-tone="success"]) {
  background: #f0fbf2;
  border-color: #bde7c4;
  color: #226331;
}
body .toast:has(> [data-tone="warning"]) {
  background: #fff8e8;
  border-color: #ead397;
  color: #714b0c;
}
.toast > [data-tone] {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.toast .store-toast-icon {
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  height: 17px;
  border-radius: 50%;
  background: #955f12;
  color: white;
  font: bold 12px/1 system-ui, sans-serif;
}
.toast [data-tone="success"] .store-toast-icon { background: #348346; }
@media (max-width: 600px) {
  body .toast {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .toast, body .toast.show { transition: none; transform: none; }
}

.product-share-actions {
  --action-size: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.product-card > .product-share-actions {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
}
.product-share-actions > .icon-btn {
  position: static;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--action-size);
  height: var(--action-size);
  min-width: var(--action-size);
  min-height: var(--action-size);
  padding: 0;
  border: 1px solid #dedfd9;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgb(24 44 32 / 9%);
  color: #59645d;
  cursor: pointer;
}
.product-share-actions > .icon-btn .icon { width: 18px; height: 18px; }
.product-share-actions > .icon-btn:hover { color: #184536; border-color: #99b4a5; }
.product-share-actions > [data-favorite][aria-pressed="true"] { color: #966820; }
.product-share-actions > .icon-btn:focus-visible {
  outline: 2px solid #184536;
  outline-offset: 2px;
}
.purchase > .product-share-actions {
  flex: none;
  align-self: center;
}
.product-share-dialog {
  box-sizing: border-box;
  width: min(26rem, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line, #dedfd9);
  border-radius: 12px;
  color: #193a2f;
  background: #fff;
}
.product-share-dialog::backdrop { background: rgb(12 27 19 / 45%); }
.product-share-dialog form { display: grid; gap: 12px; }
.product-share-dialog h2, .product-share-dialog p { margin: 0; }
.product-share-dialog h2 { font-size: 1.25rem; }
.product-share-dialog label { display: grid; gap: 5px; font-size: .875rem; }
.product-share-dialog input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #a4b0a6;
  border-radius: 6px;
  font: inherit;
}
.product-share-dialog .btn { justify-self: end; }
@media (pointer: coarse) {
  .product-share-actions { --action-size: 44px; gap: 4px; }
}
@media print {
  .product-share-actions, .product-share-dialog { display: none !important; }
}
