/* opt-one:base-reset */

/* Default styles for all elements */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Form controls don't inherit fonts by default — the browser's own stylesheet
   sets them (Chrome computes Arial). Inherit so they follow the site font. */
button, input, optgroup, select, textarea {
  font: inherit;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

picture img {
  display: block;
}

/* Layout */

.section {
  padding: var(--space-xl) 0;
  scroll-margin-top: 120px;
}

.section-surface {
  background: var(--color-surface);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.section-title {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-inverse);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-outline {
  background: transparent;
  color: var(--color-brand);
}

.button-light {
  border-color: var(--color-inverse);
  background: var(--color-inverse);
  color: var(--color-brand);
}

.button-outline-light {
  border-color: var(--color-inverse);
  background: transparent;
  color: var(--color-inverse);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    border-color: var(--color-brand-dark);
    background: var(--color-brand-dark);
    color: var(--color-inverse);
  }

  .button-outline:hover {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: var(--color-inverse);
  }

  .button-light:hover {
    border-color: var(--color-inverse);
    background: transparent;
    color: var(--color-inverse);
  }

  .button-outline-light:hover {
    border-color: var(--color-inverse);
    background: var(--color-inverse);
    color: var(--color-brand);
  }
}

/* Keyboard focus: white inner ring + dark outer ring stays visible on any background */
:focus-visible {
  outline: 2px solid var(--color-inverse);
  outline-offset: 0;
  box-shadow: 0 0 0 4px var(--color-ink);
}

/* Header */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--color-ink);
  color: var(--color-inverse);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
}

.announcement-bar {
  padding: 8px var(--gutter);
  background: var(--color-brand);
  color: var(--color-inverse);
  text-align: center;
}

.announcement-text {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "logo nav";
  align-items: center;
  gap: var(--space-md);
  max-width: var(--container);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* The logo canvas has empty space at the bottom (where the tagline sits in the tagline version);
   the box is shorter than the image so that space is trimmed in the header */
.header-logo {
  grid-area: logo;
  display: block;
  height: 54px;
  overflow: hidden;
  line-height: 0;
}

.header-logo-image {
  display: block;
  width: auto;
  height: 70px;
}

.header-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 32px;
}

.header-nav-link {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* Dropdown menus (Scrubs, Beyond Scrubs): open on hover with a mouse, and on
   click or tap everywhere (the click part is the script in Site settings → body code) */
.nav-menu {
  position: relative;
}

.nav-menu-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.nav-menu-chevron {
  display: block;
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-chevron {
  transform: rotate(180deg);
}

/* The panel starts right under the toggle; its top padding bridges the gap so
   the mouse can travel down to the links without the menu closing */
.nav-menu-panel {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 70;
  min-width: 240px;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

/* The last menu (About Us) opens leftward so it stays on screen */
.nav-menu-panel-end {
  right: -16px;
  left: auto;
}

.nav-menu-toggle[aria-expanded="true"] + .nav-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.nav-menu-list {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.12);
}

.nav-menu-link {
  padding: 10px 16px;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* Phone menu button: the mark spins a full turn as the menu opens, and back as it closes.
   Hidden on wider screens, where the menu items show in the bar */
.menu-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle-mark {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark {
  transform: rotate(360deg);
}

.menu-toggle-mark-image {
  display: block;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle-mark {
    transition: none;
  }
}

/* Floating store-hours circle (bottom right). Text and the open/closed state
   are filled in by the script in Site settings → body code */
.hours-badge {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 120px;
  height: 120px;
}

.hours-badge-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 14px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.25);
  color: var(--color-inverse);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hours-badge-dot {
  width: 8px;
  height: 8px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--color-light);
}

.hours-badge[data-status="open"] .hours-badge-dot {
  background: #5eead4;
  box-shadow: 0 0 0 3px rgb(94 234 212 / 0.3);
}

.hours-badge-status {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
}

.hours-badge-detail {
  font-size: var(--text-xs);
  line-height: 1.3;
}

/* The close button only appears once the script is running, since it needs it */
.hours-badge-close {
  position: absolute;
  top: 2px;
  right: 2px;
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-inverse);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.hours-badge[data-ready] .hours-badge-close {
  display: grid;
}

/* With the script running, the circle fades in once the visitor scrolls past the banner */
.hours-badge[data-ready] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.hours-badge[data-ready][data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header-nav-link:hover {
    border-bottom-color: var(--color-brand);
    color: var(--color-brand);
  }

  .nav-menu:hover .nav-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-menu:hover .nav-menu-toggle {
    color: var(--color-brand);
  }

  .nav-menu:hover .nav-menu-chevron {
    transform: rotate(180deg);
  }

  .nav-menu-link:hover {
    background: var(--color-surface);
    color: var(--color-brand);
  }

  .hours-badge-link:hover {
    background: var(--color-brand-dark);
  }
}

/* Trust bar: dark strip under the menu */

.trust-bar {
  background: var(--color-ink);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px var(--space-lg);
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
}

.trust-item {
  margin: 0;
  color: rgb(232 237 242 / 0.7);
  font-size: var(--text-sm);
}

.trust-item-strong {
  color: var(--color-light);
  font-weight: 500;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-inverse);
  background: var(--color-ink);
}

.hero-slides {
  display: block;
}

/* The photo (.hero-media) is positioned against the slide itself, so it
   fills the full banner height even when this slide's text is shorter */
.hero-slide-content {
  display: flex;
  align-items: flex-end;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
}

.hero-controls {
  position: absolute;
  right: var(--gutter);
  bottom: var(--space-lg);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 50%;
  background: transparent;
  color: var(--color-inverse);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-arrow-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Bullets are generated by the slider. The dot is 8px; padding makes the tap target 24px */
.hero-pagination .slider-bullet {
  display: block;
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  padding: 8px;
  border-radius: 50%;
  background-color: rgb(255 255 255 / 0.45);
  background-clip: content-box;
  cursor: pointer;
}

/* Slides that are faded out can't be reached with the keyboard */
.hero-slide {
  position: relative;
  height: auto;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.8s;
}

.hero-slide.slide-active {
  visibility: visible;
  transition-delay: 0s;
}

.hero-slides:not(:defined) .hero-slide:first-child {
  visibility: visible;
}

/* Pause / play toggle: show the icon for the action the button will take */
.slider-pause[aria-pressed="true"] .pause-icon,
.slider-pause[aria-pressed="false"] .play-icon {
  display: none;
}

.hero-pagination .slider-bullet.slider-bullet-active {
  background-color: var(--color-inverse);
}

@media (hover: hover) and (pointer: fine) {
  .hero-arrow:hover {
    background: var(--color-inverse);
    color: var(--color-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides,
  .promo-slides {
    --swiper-wrapper-transition-timing-function: step-end;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.25) 45%, rgb(0 0 0 / 0) 70%),
    linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xl) var(--gutter);
}

.hero-eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  margin: 0 0 var(--space-sm);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 520px;
  margin: 0 0 var(--space-md);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Shop by category */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.category-card {
  display: block;
  color: inherit;
  text-decoration: none;
  scroll-margin-top: 140px;
}

.category-media {
  height: auto;
  aspect-ratio: 3 / 4;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-surface);
}

.category-image {
  transition: transform 0.4s ease;
}

.category-title {
  display: block;
  margin-bottom: 4px;
  font-size: var(--text-base);
  font-weight: 500;
}

.category-text {
  display: block;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover .category-image {
    transform: scale(1.03);
  }
}

/* Color fills for the Popular Colors swatches */

.swatch-navy {
  background: var(--swatch-navy);
}

.swatch-royal-blue {
  background: var(--swatch-royal-blue);
}

.swatch-black {
  background: var(--swatch-black);
}

.swatch-pewter {
  background: var(--swatch-pewter);
}

.swatch-hunter-green {
  background: var(--swatch-hunter-green);
}

.swatch-caribbean-blue {
  background: var(--swatch-caribbean-blue);
}

.swatch-wine {
  background: var(--swatch-wine);
}

.swatch-dusty-mauve {
  background: var(--swatch-dusty-mauve);
}

/* Promo banners */

.promo-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-surface);
}

.promo-banner-dark {
  background: var(--color-brand);
  color: var(--color-inverse);
}

.promo-media {
  height: auto;
  min-height: 480px;
}

.promo-slides {
  display: block;
  width: 100%;
  overflow: hidden;
}

.promo-slide-content {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.promo-slide-media {
  position: absolute;
  inset: 0;
}

.promo-pause {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(15 23 42 / 0.6);
  color: var(--color-inverse);
  cursor: pointer;
}

.promo-pause-icon {
  display: block;
  width: 14px;
  height: 14px;
}

/* Until the slider script has loaded, show only the first slide */
.hero-slides:not(:defined) .hero-slide:not(:first-child),
.promo-slides:not(:defined) .promo-slide:not(:first-child) {
  display: none;
}

.promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-xl) var(--space-lg);
}

.promo-eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.promo-title {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.promo-text {
  max-width: 460px;
  margin: 0 0 var(--space-sm);
  font-size: var(--text-base);
  line-height: 1.6;
}

.promo-list {
  margin: 0 0 var(--space-md);
  padding-left: 20px;
  font-size: var(--text-base);
  line-height: 1.8;
}

/* Testimonials */

.review-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px var(--space-md);
}

.review-button {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.testimonial-stars {
  margin: 0;
  color: var(--color-brand);
  font-size: var(--text-base);
  letter-spacing: 3px;
}

.testimonial-title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 500;
}

.testimonial-quote {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.testimonial-quote::before {
  content: "“";
}

.testimonial-quote::after {
  content: "”";
}

.testimonial-author {
  margin: auto 0 0;
  font-size: var(--text-sm);
  font-weight: 500;
}

.testimonial-author::before {
  content: "— ";
}

/* Only three reviews show; the page script shuffles them on every visit */
.testimonial-card:nth-child(n + 4) {
  display: none;
}

/* Popular colors */

.color-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--space-md) var(--space-sm);
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.color-swatch {
  width: 88px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgb(0 0 0 / 0.1);
  border-radius: 50%;
}

.color-name {
  font-size: var(--text-sm);
}

/* Visit / in-store */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.visit-media {
  height: auto;
  aspect-ratio: 4 / 3;
}

.visit-title {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.visit-text {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.visit-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.visit-label {
  margin: 0 0 8px;
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.visit-label-spaced {
  margin-top: var(--space-md);
}

.visit-value {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.7;
}

.visit-phone {
  color: var(--color-text);
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

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

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */

.site-footer {
  padding: var(--space-xl) 0 var(--space-md);
  background: var(--color-ink);
  color: var(--color-inverse);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
  line-height: 0;
}

.footer-logo-image {
  display: block;
  width: 220px;
  height: auto;
}

.footer-tagline {
  max-width: 320px;
  margin: 0;
  color: rgb(255 255 255 / 0.7);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer-heading {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-link {
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-sm);
  text-decoration: none;
}

/* Underlined so it reads as a link among the address lines */
.footer-directions {
  color: var(--color-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-text {
  margin: 0;
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  max-width: var(--container);
  margin: var(--space-lg) auto 0;
  padding: var(--space-md) var(--gutter) 0;
  border-top: 1px solid rgb(255 255 255 / 0.15);
}

.footer-copyright {
  margin: 0;
  color: rgb(255 255 255 / 0.6);
  font-size: var(--text-xs);
}

@media (hover: hover) and (pointer: fine) {
  .footer-link:hover {
    color: var(--color-inverse);
    text-decoration: underline;
  }
}

/* Department pages */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-surface);
}

/* Background photo, screened way back so the text stays readable */
.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(248 250 252 / 0.95) 0%, rgb(248 250 252 / 0.9) 50%, rgb(248 250 252 / 0.78) 100%);
}

.page-hero-image {
  object-position: center 30%;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-eyebrow {
  margin: 0 0 var(--space-sm);
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.page-hero-title {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-hero-text {
  max-width: 640px;
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.6;
}

.brand-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.brand-jump-link {
  padding: 8px 18px;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.brand-section {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 140px;
}

.brand-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.brand-name {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-intro {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.line-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.line-brand {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.line-name {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 500;
}

.line-description {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.line-colors-label {
  margin: 8px 0 0;
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.line-colors {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.line-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--color-brand);
  font-size: var(--text-sm);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* No manufacturer link set on the item: hide the link */
.line-link:not([href]),
.line-link[href=""],
.line-link[href="#"] {
  display: none;
}

.info-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-brand);
  color: var(--color-inverse);
}

.info-note-title {
  margin: 0 0 8px;
  font-size: var(--text-xl);
  font-weight: 500;
}

.info-note-text {
  max-width: 560px;
  margin: 0;
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* Accessories: photo tiles per category */
.accessory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-md);
}

.accessory-card {
  margin: 0;
}

.accessory-media {
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--color-surface);
}

.accessory-title {
  margin: 0 0 6px;
  font-size: var(--text-lg);
  font-weight: 500;
}

.accessory-text {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Workwear: hide a type section until it has lines, and show the
   “coming soon” note only while the whole page is still empty */
.workwear-section:not(:has(.line-card)) {
  display: none;
}

main:has(.workwear-section .line-card) .workwear-empty {
  display: none;
}

.coming-soon {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-title {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.coming-soon-text {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* Brands we carry (home) */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.brand-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 170px;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.brand-tile-name {
  display: flex;
  align-items: center;
  min-height: 56px;
  color: #6f6f6f;
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.brand-tile-media {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
}

/* Logos sit in muted gray and turn full color on hover */
.brand-tile-logo {
  width: 100%;
  max-width: 200px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Thin script logos (SassyBadge): larger and darker so they hold up next to the wordmarks */
.brand-tile-logo-script {
  height: 56px;
  filter: grayscale(1) brightness(0.55) contrast(1.4);
  opacity: 1;
}

/* Logos with a tagline built into the right side (Edwards): show only the wordmark */
.brand-tile-logo-crop {
  width: 150px;
  object-fit: cover;
  object-position: left center;
}

/* Logos printed white on a solid color block (Outside the Box): flipped to dark lines on white */
.brand-tile-logo-block {
  height: 56px;
  filter: grayscale(1) invert(1) brightness(1.7);
  mix-blend-mode: multiply;
}

/* Wordmarks centered in a tall white canvas (Sport-Tek): enlarged and trimmed to the lettering */
.brand-tile-logo-wide {
  width: 190px;
  max-width: none;
  height: 106px;
  margin-block: -25px;
  margin-left: -5px;
  filter: grayscale(1) brightness(0.7);
  mix-blend-mode: multiply;
}

/* Logo files with wide white margins (Gloves in a Bottle): enlarged so the mark matches the others */
.brand-tile-logo-padded {
  width: 110px;
  height: 92px;
  margin-block: -18px;
  margin-left: -9px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.brand-tile-meta {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

@media (hover: hover) and (pointer: fine) {
  .brand-jump-link:hover {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: var(--color-inverse);
  }

  .brand-tile:hover {
    border-color: var(--color-brand);
  }

  .brand-tile:hover .brand-tile-logo {
    filter: none;
    opacity: 1;
  }

  .brand-tile:hover .brand-tile-name {
    color: var(--color-ink);
  }
}

/* 404 page */

.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-text);
  padding: var(--space-md);
}

.page-404-code {
  font-size: 96px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.04em;
  color: var(--color-ink);
}

.page-404-title {
  font-size: var(--text-xl);
  font-weight: 500;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.page-404-message {
  font-size: 18px;
  color: var(--color-muted);
  margin: 0 0 28px;
}

.page-404-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-inverse);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
}

/* Photo strip at the top of a Beyond Scrubs section (Underscrubs) */
.workwear-banner {
  height: 360px;
  margin-bottom: var(--space-md);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-light);
}

/* Sale pop-up (in the Site Header component). The script in Site settings → body code
   opens it a few seconds after arrival, once a day, until the date in data-promo-end */
.promo-popup {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-inverse);
  box-shadow: 0 24px 60px rgb(15 23 42 / 0.35);
  overscroll-behavior: contain;
}

.promo-popup[open] {
  animation: contact-dialog-in 0.25s ease-out;
}

.promo-popup::backdrop {
  background: rgb(15 23 42 / 0.6);
}

.promo-popup-inner {
  position: relative;
  padding: var(--space-lg) var(--space-lg) 40px;
  text-align: center;
}

.promo-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-inverse);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.promo-popup-close-icon {
  display: block;
}

.promo-popup-eyebrow {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 0.8);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.promo-popup-title {
  margin: 0 0 var(--space-sm);
  color: var(--color-inverse);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.promo-popup-text {
  margin: 0 auto var(--space-md);
  max-width: 360px;
  color: rgb(255 255 255 / 0.9);
  font-size: var(--text-base);
  line-height: 1.6;
}

.promo-popup-button {
  display: inline-block;
}

html:has(.promo-popup[open]) {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .promo-popup-close:hover {
    background: rgb(255 255 255 / 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-popup[open] {
    animation: none;
  }
}

/* Bags feature on the Accessories page */

.bags-header {
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.bags-eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.bags-title {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bags-text {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.bags-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.bags-media {
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-light);
}

/* Our Story page */

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-xl);
  align-items: start;
  max-width: 1200px;
}

/* The photo stays in view while the story scrolls past it */
.story-figure {
  position: sticky;
  top: 140px;
  margin: 0;
}

.story-media {
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius);
}

.story-image {
  object-position: center top;
}

.story-caption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.story-content {
  min-width: 0;
}

.story-body p {
  margin: 0 0 1.25em;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.75;
}

.story-body p:first-child {
  color: var(--color-ink);
  font-size: 22px;
  line-height: 1.6;
}

.story-signature {
  margin: var(--space-md) 0 0;
  color: var(--color-brand);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 500;
}

/* Contact Us: the /contactus page, and the popup that shows the same form on
   every other page (opened by the script in Site settings → body code) */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-xl);
  align-items: start;
}

.contact-eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.contact-title {
  margin: 0 0 var(--space-sm);
  color: var(--color-ink);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-text {
  margin: 0 0 var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.contact-details {
  display: grid;
  gap: var(--space-md);
  max-width: 360px;
}

.contact-directions {
  margin: 8px 0 0;
}

.contact-panel {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.contact-panel-title {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-panel-text {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px var(--space-md);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-label {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
}

.contact-required {
  color: var(--color-brand);
}

.contact-optional {
  color: var(--color-muted);
  font-weight: 400;
}

.contact-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #94a3b8;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease;
}

.contact-input:focus {
  border-color: var(--color-brand);
}

.contact-select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2364748b'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

/* Spam trap: hidden from people, filled in only by bots */
.contact-botcheck {
  display: none;
}

.contact-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid #b42318;
  background: #fef3f2;
  color: #912018;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-error-link {
  color: inherit;
  font-weight: 500;
}

.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px var(--space-md);
}

.contact-submit {
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-privacy {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.contact-success {
  padding: var(--space-md) 0;
}

.contact-success-title {
  margin: 0 0 12px;
  color: var(--color-ink);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-success-title:focus {
  outline: none;
}

.contact-success-text {
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.contact-success-link {
  color: var(--color-text);
  font-weight: 500;
}

.contact-success-signature {
  margin: 0 0 var(--space-md);
  color: var(--color-ink);
  font-size: var(--text-base);
  font-style: italic;
}

/* The popup */
.contact-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 24px 60px rgb(15 23 42 / 0.3);
  overscroll-behavior: contain;
}

.contact-dialog[open] {
  animation: contact-dialog-in 0.2s ease-out;
}

.contact-dialog::backdrop {
  background: rgb(15 23 42 / 0.6);
}

.contact-dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-dialog-close-icon {
  display: block;
}

.contact-panel-dialog {
  padding: var(--space-lg);
  border: 0;
}

/* Keep the page behind the popup from scrolling */
html:has(.contact-dialog[open]) {
  overflow: hidden;
}

@keyframes contact-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .contact-dialog-close:hover {
    background: var(--color-light);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open] {
    animation: none;
  }
}

/* Footer social links */

.footer-social {
  margin-top: var(--space-md);
}

.footer-social-title {
  margin: 0 0 var(--space-xs);
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-sm);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  color: rgb(255 255 255 / 0.85);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer-social-icon svg {
  display: block;
}

.footer-social-handle {
  color: rgb(255 255 255 / 0.75);
  font-size: var(--text-sm);
}

@media (hover: hover) and (pointer: fine) {
  .footer-social-link:hover {
    border-color: var(--color-inverse);
    color: var(--color-inverse);
  }
}

/* Tablet */

@media (max-width: 991px) {
  .section {
    padding: 64px 0;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .story-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    max-width: 760px;
  }

  .story-figure {
    position: static;
    max-width: 420px;
  }

  .workwear-banner {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .header-nav {
    justify-content: flex-start;
  }

  .header-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav";
    row-gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-slide-content {
    min-height: 520px;
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .color-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .line-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accessory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* The visit section is one column at tablet, so its details keep two columns */
  .visit-details {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-title {
    font-size: var(--text-2xl);
  }

  .testimonial-grid,
  .promo-banner,
  .visit {
    grid-template-columns: 1fr;
  }

  .promo-media {
    min-height: 360px;
  }

  .promo-slide-content {
    min-height: 360px;
  }

  .visit {
    gap: var(--space-lg);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile landscape */

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  /* Phone menu: logo and MENU button share the bar; the menu drops open below */
  .header-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo toggle"
      "nav nav";
    row-gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    border-top: 1px solid var(--color-border);
  }

  .menu-toggle[aria-expanded="true"] ~ .header-nav {
    display: flex;
  }

  /* Keep the floating hours circle off the open menu */
  .site-header:has(.menu-toggle[aria-expanded="true"]) .hours-badge {
    display: none;
  }

  .header-nav-link,
  .nav-menu-toggle {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-base);
  }

  .nav-menu-toggle {
    justify-content: space-between;
  }

  .nav-menu-panel {
    position: static;
    display: none;
    min-width: 0;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-menu-toggle[aria-expanded="true"] + .nav-menu-panel {
    display: block;
  }

  .nav-menu-list {
    padding: 4px 0 8px;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-menu-link {
    padding: 10px 16px;
    font-size: var(--text-base);
  }

  .contact-title {
    font-size: 32px;
  }

  .story-body p {
    font-size: 17px;
  }

  .promo-popup-inner {
    padding: 56px var(--space-md) var(--space-lg);
  }

  .promo-popup-title {
    font-size: 32px;
  }

  /* Bags: a swipeable row on phones instead of three tall photos stacked */
  .bags-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
  }

  .bags-media {
    scroll-snap-align: start;
  }

  .story-body p:first-child {
    font-size: 19px;
  }

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel {
    padding: var(--space-md);
  }

  .contact-panel-dialog {
    padding: var(--space-lg) 20px var(--space-md);
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-content {
    padding-bottom: 112px;
  }

  .hero-controls {
    right: auto;
    left: var(--gutter);
    bottom: 32px;
  }

  .promo-content {
    padding: var(--space-lg) var(--space-md);
  }

  .promo-title,
  .visit-title {
    font-size: var(--text-xl);
  }

  .color-swatch {
    width: 64px;
  }

  .visit-details {
    grid-template-columns: 1fr;
  }

  .line-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-title {
    font-size: 34px;
  }

  .brand-name,
  .coming-soon-title {
    font-size: var(--text-xl);
  }

  .brand-header,
  .info-note,
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-note {
    padding: var(--space-lg) var(--space-md);
  }
}

/* Mobile portrait */

@media (max-width: 479px) {
  .hours-badge {
    width: 100px;
    height: 100px;
  }

  .hours-badge-status {
    font-size: var(--text-xs);
  }

  .hours-badge-detail {
    font-size: 11px;
  }

  .header-nav {
    column-gap: 20px;
  }

  .header-logo {
    height: 43px;
  }

  .header-logo-image {
    height: 56px;
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .accessory-grid {
    grid-template-columns: 1fr;
  }

  .brand-tile {
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
:where(picture:not([class]):not([style])){display:contents}
