.shop-brand-logo {
  height: clamp(40px, var(--nav-h) * 0.45, 52px) !important;
}

:root {
  --shop-canvas: #ffffff;
  --shop-canvas-raised: #ffffff;
  --shop-surface: #f5f5f5;
  --shop-surface-muted: #fafafa;
  --shop-ink: #111111;
  --shop-ink-soft: #555555;
  --shop-ink-faint: #767676;
  --shop-line: #e6e6e6;
  --shop-line-strong: #d4d4d4;
  --shop-canvas-rgb: 255, 255, 255;
  --shop-ink-rgb: 17, 17, 17;
  --shop-control-bg: #ffffff;
  --shop-skeleton-highlight: #ededed;
}

[data-shop-layout-header="marketplace"] {
  --shop-accent: #ffffff;
  --shop-accent-rgb: 255, 255, 255;
  --shop-on-accent: #111111;
  border-bottom: 1px solid var(--shop-line);
}

.shop-footer[data-shop-layout-footer="sitemap"] {
  border-top: 1px solid var(--shop-line);
}

.shop-header[data-shop-layout-header="marketplace"]
  .shop-hd-mkt
  .shop-header-search.shop-field-combo {
  border: 1px solid var(--shop-line-strong);
}

@media (max-width: 768px) {
  .shop-header[data-nav-phone-layout="centered"]
    .shop-header-inner
    .shop-brand-logo {
    max-width: min(130px, 100%);
  }
}
@media (max-width: 768px) {
  .shop-header[data-nav-phone-layout="centered"]
    .shop-header-inner
    .shop-brand {
    margin: 20px;
  }
}

@media (min-width: 769px) {
  .shop-header[data-nav-rows="single_row"] .shop-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .shop-header[data-nav-rows="single_row"] .shop-header-inner > .shop-brand {
    grid-column: 1;
    justify-self: start;
  }
  .shop-header[data-nav-rows="single_row"] .shop-header-inner > .shop-nav {
    grid-column: 2;
    justify-self: center;
  }
  .shop-header[data-nav-rows="single_row"] .shop-header-inner > .shop-header-actions {
    grid-column: 3;
    justify-self: end;
  }
}

/* Add icon: a square button that slides in when the card is hovered or focused (mouse screens only; touch keeps it shown). */
.shop-product-card[data-card-action="add_icon"] .shop-card-addicon-btn {
  border-radius: 0;
  background: var(--shop-ink);
  color: var(--shop-canvas);
}
@media (hover: hover) and (pointer: fine) {
  .shop-product-card[data-card-action="add_icon"] .shop-card-addicon {
    opacity: 0;
    transform: translateX(14px);
    pointer-events: none;
    transition: opacity var(--shop-transition), transform var(--shop-transition);
  }
  .shop-product-card[data-card-action="add_icon"]:hover .shop-card-addicon,
  .shop-product-card[data-card-action="add_icon"]:focus-within .shop-card-addicon {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .shop-product-card[data-card-action="add_icon"] .shop-card-addicon {
    transform: none;
  }
}
