.wrap { width: calc(100% - 24px); }
h1, h2, h3 { letter-spacing: normal; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.55rem, 6.7vw, 2.15rem); }
h2 { font-size: 1.2rem; }

.top-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  min-height: 0;
  gap: 4px 12px;
  padding-block: 6px 9px;
}
.top .logo { justify-self: start; }
.top .logo img { height: 44px; }
.global-search { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; }
.global-search input { background: var(--cream); padding-inline-end: 3rem; min-height: 44px; }
.global-search .icon-button { min-height: 44px; }
.quick { gap: 6px; }
.quick a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 4px;
  padding-inline: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.quick b { min-width: 20px; height: 20px; }
.nav .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 0;
  overflow: visible;
}
.nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  text-align: center;
  font-size: clamp(.8rem, 3.5vw, .96rem);
}
.nav .nav-category { display: none; }
.nav-admin { grid-column: 1/-1; margin: 0; border-top: 1px solid var(--line); }

.hero {
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  min-height: 0;
  margin-top: 10px;
  border-radius: 13px;
}
.hero-copy { padding: 12px; gap: 5px; }
.hero-copy h1 { font-size: clamp(1.37rem, 6vw, 2.4rem); line-height: 1.28; letter-spacing: normal; }
.hero-copy h1 br, .hero-copy > p:not(.hero-label), .hero-actions .outline { display: none; }
.hero-label { font-size: clamp(.75rem, 3.35vw, 1rem); line-height: 1.6; }
.hero-visual { min-height: 0; }
.hero-visual img { object-position: 50% 52%; }
.hero-actions { margin-top: 2px; }
.hero-actions .button { padding-inline: 12px; font-size: .9rem; }
.hero-copy > .text-link { display: flex; align-items: center; min-height: 44px; font-size: .84rem; }
.hero-copy > .text-link[hidden] { display: none; }
.home-tools { margin: 10px 0; padding: 9px; }
.home-tools .section-head { margin-bottom: 6px; }
.home-tools .pills, .category-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.home-tools .pill, .category-strip a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 4px;
  text-align: center;
  font-size: clamp(.77rem, 3.3vw, .95rem);
  line-height: 1.35;
}
.category-strip { margin: 0 0 17px; }
.category-flourish { display: none; }
.listing { margin-bottom: 1.7rem; }
.section-head { margin-bottom: .65rem; gap: .55rem; }
.section-head .text-link { font-size: .87rem; }
.pill { display: inline-flex; align-items: center; min-height: 44px; }
.page-head { margin-block: .9rem .65rem; flex-wrap: wrap; gap: .3rem .7rem; }

.shop-layout, .product-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.catalog-filters { padding: 0 .7rem; }
.catalog-filters > summary { align-content: center; min-height: 44px; }
.catalog-filters[open] > summary { border-bottom: 1px solid var(--line); }
.catalog-filters .filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; padding-bottom: .7rem; }
.catalog-filters .fields-two { grid-column: 1/-1; grid-template-columns: repeat(2,minmax(0,1fr)); }
.catalog-filters label { font-size: .9rem; }
.catalog-filters .text-link { display: grid; align-items: center; }
.cards, .shop-layout .cards { gap: 8px; }
.card-info { padding: 8px; gap: .2rem; overflow-wrap: anywhere; }
.card-info h3 { font-size: .97rem; line-height: 1.45; }
.card-info .secondary, .card-info .brand-label { font-size: .83rem; }
.card-info .price { line-height: 1.5; }
.card-info .price del { display: block; }
.card-photo .tag { top: 5px; inset-inline-start: 5px; min-height: 23px; font-size: .78rem; }
.empty-photo span { font-size: .91rem; }

.breadcrumb { margin: .55rem 0; font-size: .85rem; overflow-wrap: anywhere; }
.product-photo { width: min(100%, 250px); margin-inline: auto; aspect-ratio: 1.3; }
.product-gallery { justify-content: center; }
.product-gallery a { width: 52px; height: 52px; }
.product-info { padding-block: 0; overflow-wrap: anywhere; }
.product-title .latin { text-align: right; }
.buy-box { gap: .45rem; }
.buy-box .inline-form { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); width: 100%; }
.details { margin-block: .9rem 1.5rem; }
.brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; overflow-wrap: anywhere; }

.compare-pickers { grid-template-columns: minmax(0, 1fr); margin-block: .65rem; }
.compare-pickers .panel { padding: .7rem; }
.compare-search details summary { min-height: 44px; align-content: center; color: var(--clay-deep); font-weight: 700; }
.compare-pair th, .compare-pair td { padding: .33rem; }
.compare-pair .compare-photo { margin-inline: auto; }
.compare-pair { font-size: .88rem; line-height: 1.55; }
.compare-current, .compare-options { overflow-wrap: anywhere; }

input:not([type=checkbox]), select, textarea { font-size: 16px; }
input:not([type=checkbox]), select { min-height: 44px; }
.narrow { margin-block: .9rem 1.7rem; }
.narrow h1 { margin-bottom: .65rem; }
.footer { margin-top: 1.65rem; padding-block: .85rem; }
.footer .wrap { display: grid; gap: .4rem; }
.footer .wrap > div { justify-content: start; gap: .7rem; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
