/*
 * Sections, one group per block or pattern of the theme, so a rule never reaches across
 * two sections. Carried over from the prototype (prototype/design); where a section is
 * now built from core blocks, its selectors follow the core markup.
 */

/* adaro/header ------------------------------------------------------------------- */

.site-header-slot {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 50;
}

.site-header {
  position: relative;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: var(--header-h);
}

/* A box of the wordmark's own size for the lamp behind it: an inline link is a line box. */
.site-header__logo {
  display: inline-flex;
  --lamp-inset: -35% -12%;
}

.site-header__logo img {
  width: auto;
  height: 42px;
}

.site-nav {
  margin-inline: auto;
}

.site-nav ul {
  display: flex;
  gap: var(--space-xs);
}

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}

/* A line drawn under the word instead of a grey pill behind it; the current page keeps
   it, in the brand blue: the only blue in the bar besides the contact button. */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"]::after {
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(1);
}

.site-nav__extra {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-header__phone {
  margin-right: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-decoration: none;
}

.icon-btn:hover {
  box-shadow: inset 0 0 0 1px var(--c-line);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-action);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.contact-pop {
  position: relative;
}

.contact-pop__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  padding: var(--space-xs);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.contact-pop__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.contact-pop__panel a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.contact-pop__panel a:hover {
  background: var(--c-surface);
}

.contact-pop__panel svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-pop__panel a:hover svg {
  color: var(--c-action);
  box-shadow: inset 0 0 0 1px var(--c-action);
}

.contact-pop__panel strong {
  display: block;
  font-size: var(--fs-sm);
}

.contact-pop__panel small {
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.contact-pop__hours {
  padding: 8px 10px 6px;
  border-top: 1px solid var(--c-line);
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.menu-toggle {
  display: none;
}

@media (max-width: 960px) {
  .site-header__phone {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  /* The menu leaves the flow at this width, and its auto margins go with it — without
     this everything after the logo bunches up against it and the right half of the bar
     stays empty. Set on the group, so the burger travels with the rest of it. */
  .site-header__actions {
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)) 0 auto 0;
    margin: 0;
    padding: var(--space-md) var(--gutter) var(--space-xl);
    border-bottom: 1px solid var(--c-line);
    background: var(--c-bg);
    box-shadow: var(--shadow-pop);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-lg);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--c-action);
  }

  .site-nav__extra {
    display: block;
    padding-top: var(--space-lg);
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 68px;
  }

  .site-header__bar {
    gap: var(--space-xs);
  }

  /* Anchored to the button, the panel ran 75px off the left edge at 400px: the button
     is not the last item in the bar. Pin it to the viewport under the header instead. */
  .contact-pop__panel {
    position: fixed;
    top: calc(var(--header-h) + 4px);
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
  }

  .site-header__logo img {
    height: 30px;
  }

  .site-header__contact .btn-label {
    display: none;
  }

  .site-header__contact.btn {
    width: 44px;
    padding: 0;
  }
}

/* adaro/hero-search --------------------------------------------------------------- */

.hero {
  padding-top: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
}

/* The whole slider lags behind the page as it scrolls (--hero-progress, see .slide__visual)
   and fades, sliding under the glass search card, which lies above it (.agent, z-index 2) on
   an opaque ground; .hero's overflow cuts it below. Its own layer keeps the glow inside, so
   the pictures still multiply against the glow and no white rectangle shows. */
.slider {
  position: relative;
  transform: translate3d(0, calc(var(--hero-progress, 0) * 30%), 0);
  opacity: calc(1 - var(--hero-progress, 0) * 0.6);
  will-change: transform, opacity;
}

.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-xl);
  min-height: clamp(380px, 42vw, 520px);
  scroll-snap-align: start;
}

/* The nearest layer: it moves and fades with the slider as a whole. */
.slide__text {
  display: grid;
  gap: var(--space-md);
  align-content: center;
  padding-bottom: 72px;
}

.slide__title {
  max-width: 14ch;
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.slide__title em {
  font-style: normal;
  color: var(--c-brand);
}

.slide__lead {
  max-width: 44ch;
  font-size: var(--fs-lg);
  color: var(--c-ink-soft);
}

.slide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

/* A soft glow of the brand blue behind the product, with no shape of its own: the contour of
   the mirror silhouette that stood here was chosen against on 23.10.2026, and a filled
   silhouette read as clip art in the prototype. multiply makes the white studio background
   of the frame vanish into the page, so no rectangle of photo shows and the glow shows
   around the glass.

   The first screen is a parallax driven by --hero-progress, 0 at the top and 1 once most of
   the first screen has scrolled away (hero-parallax.js): the slider as a whole lags behind
   the page and fades (.slider), and inside it the glow lags most and the picture less, for
   depth. Without the script, or with reduced motion asked for, it stays 0 and nothing moves. */
.slide__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 490 / 463;
  justify-self: end;
}

.slide__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  /* The slider's track clips whatever leaves the slide: the glow ends well inside its box,
     so drifting down it fades out before it reaches the edge, instead of being cut flat. */
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--c-brand) 50%, transparent),
    color-mix(in srgb, var(--c-brand) 21%, transparent) 45%,
    transparent 76%
  );
  /* The farthest layer of the parallax: it lags behind the page most and fades away. */
  opacity: calc(1 - var(--hero-progress, 0));
  transform: translate3d(0, calc(var(--hero-progress, 0) * 20%), 0);
  will-change: opacity, transform;
}

/* The middle layer: the picture lags half as much as the glow and draws back a little. The
   shift is its own height's, so a phone's small picture moves as little and stays inside the
   slide, which the track clips. The transform stays on the <img> itself: on its parent it
   would isolate the multiply, and the photo's white rectangle would show. */
.slide__visual img {
  position: relative;
  grid-area: 1 / 1;
  width: 88%;
  mix-blend-mode: multiply;
  transform: translateX(-4%) translateY(calc(var(--hero-progress, 0) * 12%)) scale(calc(1 - var(--hero-progress, 0) * 0.04));
}

/* A frame with a grey studio background cannot vanish into the page, so it is shown as
   what it is: a photo with a plain corner, not cut to a blob. */
.slide__visual--masked::before {
  display: none;
}

.slide__visual--masked img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  mix-blend-mode: normal;
  transform: none;
}

.slide.is-active .slide__visual img {
  animation: slide-in 0.8s var(--ease) both;
}

@keyframes slide-in {
  from {
    opacity: 0;
    translate: 24px 0;
  }
}

.slider__controls {
  position: absolute;
  left: 0;
  bottom: 12px;
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.slider.is-enhanced .slider__controls {
  display: flex;
}

.slider__dots {
  display: flex;
  gap: 6px;
}

.slider__dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}

.slider__dot::before {
  content: "";
  position: absolute;
  inset: 12px 2px;
  border-radius: 2px;
  background: var(--c-line);
  transition: background-color 0.3s var(--ease);
}

.slider__dot[aria-current="true"]::before {
  background: var(--c-action);
}

.slider__arrows {
  display: flex;
  gap: 4px;
}

.slider__arrows .icon-btn {
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease);
}

.slider__arrows .icon-btn:hover {
  border-color: var(--c-ink);
  box-shadow: none;
}

.agent {
  position: relative;
  z-index: 2;
  margin-top: var(--space-lg);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
}

.agent__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.agent__avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--c-line);
  position: relative;
}

.agent__avatar::after {
  content: "";
  position: absolute;
  inset: 8px 7px 8px 9px;
  background: var(--c-brand);
  -webkit-mask: var(--shape-mirror) center / contain no-repeat;
  mask: var(--shape-mirror) center / contain no-repeat;
}

.agent__head strong {
  display: block;
  font-size: var(--fs-md);
}

.agent__head span {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.agent__form {
  display: flex;
  gap: var(--space-xs);
  padding: 6px;
  border: 1.5px solid var(--c-line);
  border-radius: calc(var(--radius-md) + 2px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.agent__form:focus-within {
  border-color: var(--c-action);
  box-shadow: 0 0 0 4px var(--c-action-tint);
}

.agent__form input {
  flex: 1;
  min-width: 0;
  padding: 0 var(--space-md);
  border: 0;
  background: transparent;
  font-size: var(--fs-lg);
  outline: none;
}

.agent__form input::placeholder {
  color: var(--c-muted);
}

.agent__form input::-webkit-search-cancel-button {
  cursor: pointer;
}

.agent__examples {
  margin-top: var(--space-sm);
}

.agent__panel {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-line);
}

.agent__line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.agent__answer,
.agent__thinking {
  padding-top: 4px;
  font-size: var(--fs-md);
  font-weight: 500;
}

.agent__thinking {
  color: var(--c-muted);
}

.agent__dots::after {
  content: "";
  animation: dots 1.2s steps(4) infinite;
}

@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

.agent__results {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}

.agent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

@media (max-width: 820px) {
  .slide {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    min-height: 0;
    align-content: start;
  }

  /* Smaller than the desktop art so the search box starts higher on a phone. */
  .slide__visual {
    grid-row: 1;
    max-width: 220px;
    justify-self: center;
  }

  .slide__text {
    padding-bottom: 64px;
  }

  .slide__title {
    max-width: none;
  }

  .agent__form .btn-label {
    display: none;
  }

  .agent__form .btn {
    width: 48px;
    padding: 0;
  }

  .agent__form input {
    font-size: var(--fs-md);
    padding: 0 var(--space-xs);
  }
}

@media (max-width: 560px) {
  .agent__examples .chip:nth-child(n + 3) {
    display: none;
  }

  .agent__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* adaro/brand-strip --------------------------------------------------------------- */

.brands {
  padding-block: var(--space-2xl) 0;
}

.brands__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  margin-bottom: var(--space-md);
}

.brands__list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-block: 1px solid var(--c-line);
}

.brands__list a {
  display: grid;
  place-items: center;
  height: 88px;
  text-decoration: none;
  transition: box-shadow 0.2s var(--ease);
  /* The cell's width sizes a name below: one font size for every viewport broke SSANGYONG in
     two on a phone and left CHERY small on a desktop. */
  container-type: inline-size;
  /* Wider than the cursor's ring over a link, which otherwise frames the light like a disc. */
  --lamp-inset: 4% 8%;
}

/* A brand's logo in its own colours, shown grey until pointed at. One box for every shape —
   a round badge and a wide word fit it whole. Multiply lets the white square of a JPG from
   the old site sink into the page (and into the lamp behind it) instead of standing on it. */
.brands__list img {
  width: min(84px, 84%);
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), filter 0.2s var(--ease);
}

/* A make whose brand has no logo shows its name in the logo's ink, opacity and weight:
   muted grey small caps read as a second, lesser kind of tile. Two words wrap at the space;
   a word is never cut. */
.brands__name {
  max-width: calc(100% - 4px);
  font-size: clamp(0.75rem, 14cqi, 1rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--c-ink);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.brands__list a:hover {
  box-shadow: inset 0 0 0 1px var(--c-ink);
}

.brands__list a:hover :is(img, .brands__name),
.brands__list a:focus-visible :is(img, .brands__name) {
  opacity: 1;
  transform: scale(1.08);
}

.brands__list a:hover img,
.brands__list a:focus-visible img {
  filter: none;
}

@media (max-width: 960px) {
  .brands__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .brands__list li:nth-child(-n + 6) {
    border-bottom: 1px solid var(--c-line);
  }
}

@media (max-width: 480px) {
  .brands__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .brands__list li:nth-child(-n + 6) {
    border-bottom: 0;
  }

  .brands__list li:nth-child(-n + 8) {
    border-bottom: 1px solid var(--c-line);
  }

  .brands__list a {
    height: 72px;
  }
}

/* adaro/benefits ------------------------------------------------------------------ */

.benefits__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.benefits__list > * {
  display: grid;
  align-content: start;
  gap: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-ink);
}

.benefits__list > :first-child {
  border-top: 2px solid var(--c-brand);
  padding-top: calc(var(--space-md) - 1px);
}

.benefits__value {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.benefits__label {
  color: var(--c-ink-soft);
  font-size: var(--fs-sm);
}

@media (max-width: 820px) {
  .benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--space-md);
  }
}

/* adaro/faq ----------------------------------------------------------------------- */

.faq {
  background: var(--c-surface);
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  display: grid;
  gap: var(--space-md);
}

.faq__intro h2 {
  font-size: var(--fs-2xl);
}

.faq__intro p {
  color: var(--c-ink-soft);
}

.faq__list {
  border-top: 1px solid var(--c-line);
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 22px 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: transform 0.25s var(--ease), box-shadow 0.2s var(--ease);
}

.faq__item summary:hover::after,
.faq__item[open] summary::after {
  box-shadow: inset 0 0 0 1px var(--c-ink);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item > :not(summary) {
  max-width: 68ch;
  color: var(--c-ink-soft);
}

.faq__item > :not(summary) + :not(summary) {
  margin-top: var(--space-sm);
}

.faq__item > :last-child:not(summary) {
  padding-bottom: var(--space-lg);
}

.faq__item ul,
.faq__item ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
}

.faq__item strong {
  color: var(--c-ink);
}

.faq__note {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

@media (max-width: 820px) {
  .faq__layout {
    grid-template-columns: 1fr;
  }

  .faq__intro {
    position: static;
  }

  .faq__item summary {
    font-size: var(--fs-md);
  }
}

/* adaro/cta ----------------------------------------------------------------------- */

.cta__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-xl);
  overflow: hidden;
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--c-ink);
  color: var(--c-on-dark);
}

.cta__card::after {
  content: "";
  position: absolute;
  /* Mostly off the card: only the upper arc shows, under the buttons. Higher up the
     hairline ran behind the buttons and read as a stray stroke. */
  right: -140px;
  bottom: -350px;
  width: 480px;
  aspect-ratio: 490 / 463;
  background: var(--c-brand);
  -webkit-mask: var(--shape-mirror-line) center / contain no-repeat;
  mask: var(--shape-mirror-line) center / contain no-repeat;
}

.cta__card h2 {
  font-size: var(--fs-2xl);
  color: #fff;
}

.cta__card p {
  max-width: 48ch;
  margin-top: var(--space-sm);
  color: var(--c-on-dark-muted);
}

.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cta__actions .btn--ghost {
  border-color: rgb(255 255 255 / 0.3);
  background: transparent;
  color: #fff;
}

.cta__actions .btn--ghost:hover {
  border-color: #fff;
}

@media (max-width: 820px) {
  .cta__card {
    grid-template-columns: 1fr;
  }

  .cta__card::after {
    width: 260px;
    right: -90px;
    bottom: -90px;
    opacity: 0.6;
  }
}

/* adaro/footer -------------------------------------------------------------------- */

.site-footer {
  margin-top: var(--space-2xl);
  padding-block: var(--space-2xl) var(--space-xl);
  background: var(--c-ink);
  color: var(--c-on-dark-muted);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.site-footer__brand img {
  width: auto;
  height: 40px;
}

.site-footer__tagline {
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}

.site-footer h2 {
  margin-bottom: var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__big {
  color: var(--c-on-dark);
  font-weight: 600;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--fs-xs);
}

@media (max-width: 820px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Back to the top: the wordmark's blue, the arrow white on it (3.43:1, enough for a symbol,
   WCAG 1.4.11). Pointing at it changes nothing, as asked; the keyboard still sees its focus.
   Under the phone's filter panel (60) and the header (50), which it must not cover. */
.to-top {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgb(35 31 32 / 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* adaro/page-head (shop, product, contacts) --------------------------------------- */

.page-head {
  padding-block: var(--space-xl) var(--space-lg);
}

.page-head h1 {
  margin-top: var(--space-sm);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--c-line);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--c-ink);
}

/* adaro/shop ---------------------------------------------------------------------- */

.shop {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  padding-bottom: var(--space-2xl);
}

.shop__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.shop__count {
  font-weight: 600;
  color: var(--c-muted);
}

.shop__toolbar-actions {
  display: flex;
  gap: var(--space-xs);
}

.select {
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    right 12px center / 16px no-repeat;
  font-size: var(--fs-sm);
  font-weight: 500;
  appearance: none;
  width: 100%;
}

.select:disabled {
  color: var(--c-muted);
  background-color: var(--c-surface);
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.filters form {
  display: grid;
  gap: var(--space-lg);
}

.filters__head {
  display: none;
}

.filters fieldset {
  display: grid;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  border: 0;
}

.filters legend,
.filters__label {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.segmented span {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.segmented input:checked + span {
  background: var(--c-bg);
  color: var(--c-ink);
  box-shadow: 0 1px 3px rgb(35 31 32 / 0.14);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--c-action);
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}

.switch input {
  appearance: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 999px;
  background: var(--c-line);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(35 31 32 / 0.25);
  transition: transform 0.2s var(--ease);
}

.switch input:checked {
  background: var(--c-action);
}

.switch input:checked::after {
  transform: translateX(18px);
}

.filters__reset {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filters__reset:hover {
  color: var(--c-ink);
}

.filters-toggle {
  display: none;
}

.filters-toggle [data-filters-count]:not(:empty) {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-action);
  color: #fff;
  font-size: 11px;
}

.shop__empty {
  display: grid;
  justify-items: start;
  gap: var(--space-md);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--c-surface);
}

.filters__backdrop {
  display: none;
}

@media (max-width: 900px) {
  .shop {
    grid-template-columns: 1fr;
  }

  .filters-toggle {
    display: inline-flex;
  }

  .filters {
    position: fixed;
    inset: 0;
    z-index: 60;
    top: 0;
    visibility: hidden;
  }

  .filters.is-open {
    visibility: visible;
  }

  .filters__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgb(35 31 32 / 0.4);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
  }

  .filters form {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(88vw, 360px);
    overflow-y: auto;
    align-content: start;
    padding: var(--space-md) var(--gutter) var(--space-xl);
    background: var(--c-bg);
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
  }

  .filters.is-open .filters__backdrop {
    opacity: 1;
  }

  .filters.is-open form {
    transform: none;
  }

  .filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: var(--fs-lg);
  }
}

/* adaro/product ------------------------------------------------------------------- */

/* Not ".product": WooCommerce puts the product's own post classes, "product" among them, on
   the body of a block theme, and the grid below took over the whole page. */
.product-single {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

/* The description under the photos, the right column beside both. Its extra height goes to
   the second row: in two auto rows it was shared out and opened a gap under the photos. */
.product-single:has(> .product__about) {
  grid-template-areas:
    "gallery info"
    "about info";
  grid-template-rows: auto 1fr;
}

/* Named only together with the areas: a name the grid lacks would push the item into an
   implicit column of its own. */
.product-single:has(> .product__about) > .gallery {
  grid-area: gallery;
}

.product-single:has(> .product__about) > .product__info {
  grid-area: info;
}

.product__about {
  grid-area: about;
  display: grid;
  gap: var(--space-sm);
  max-width: 68ch;
}

.product__about-title {
  font-size: var(--fs-lg);
}

.product__text,
.product__lead {
  color: var(--c-ink-soft);
}

.product__text {
  line-height: 1.65;
}

.product__text > * + *,
.product__lead > * + * {
  margin-top: var(--space-sm);
}

.gallery__main {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}

.gallery__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.gallery__thumbs button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  transition: border-color 0.2s var(--ease);
}

.gallery__thumbs button:hover {
  border-color: var(--c-muted);
}

.gallery__thumbs button[aria-current="true"] {
  border-color: var(--c-action);
}

.gallery__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product__info {
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  display: grid;
  gap: var(--space-md);
}

.product__info h1 {
  font-size: var(--fs-2xl);
}

.product__sku {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.product__buy {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
}

.product__price {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.product__facts {
  display: grid;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.product__facts li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product__facts li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 13px;
  background: var(--c-brand);
  -webkit-mask: var(--shape-mirror) center / contain no-repeat;
  mask: var(--shape-mirror) center / contain no-repeat;
}

.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: var(--fs-sm);
}

.specs dt,
.specs dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
}

.specs dt {
  padding-right: var(--space-lg);
  color: var(--c-muted);
}

.specs dd {
  font-weight: 600;
  text-align: right;
}

@media (max-width: 900px) {
  .product-single {
    grid-template-columns: 1fr;
  }

  .product-single:has(> .product__about) {
    grid-template-areas:
      "gallery"
      "info"
      "about";
    grid-template-rows: none;
  }

  .product__info {
    position: static;
  }
}

@media (max-width: 400px) {
  .product__buttons {
    grid-template-columns: 1fr;
  }
}

/* adaro/contacts ------------------------------------------------------------------ */

/* The words beside the map, the map as tall as the words and no lower than its own minimum. */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
  padding-bottom: var(--space-xl);
}

.contacts__list {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--c-line);
}

/* The note under the pickup address: the second line of its row, quieter. */
.contacts__note {
  color: var(--c-ink-soft);
}

.contacts__row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--space-md);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--c-line);
}

.contacts__row dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding-top: 4px;
}

.contacts__row dd {
  display: grid;
  gap: 6px;
}

.contacts__big {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contacts__big:hover {
  color: var(--c-action);
}

/* No map: the words take the width. */
.contacts--single {
  grid-template-columns: minmax(0, 1fr);
}

.contacts__place {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--space-sm);
  justify-items: start;
}

.contacts__map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}

.contacts__route {
  display: grid;
  gap: var(--space-xs);
  padding: 0;
  counter-reset: route;
  list-style: none;
  font-size: var(--fs-sm);
}

.contacts__route li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: var(--space-sm);
  counter-increment: route;
}

.contacts__route li::before {
  content: counter(route);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  /* The page is white here: a white circle would not show. */
  background: var(--c-surface);
  font-weight: 700;
  font-size: var(--fs-xs);
}

/* adaro/about ---------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  padding-bottom: var(--space-xl);
}

/* No facade: the text alone, at a reading width. */
.about--single {
  grid-template-columns: minmax(0, 1fr);
}

/* The facade at 4:3 whatever shape the admin's picture has. */
.about__photo {
  margin: 0;
}

.about__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about__text {
  max-width: 62ch;
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--c-ink-soft);
}

.about__text > * + * {
  margin-top: var(--space-md);
}

.legal {
  padding-block: var(--space-xl) 0;
}

.legal details {
  border-top: 1px solid var(--c-line);
  padding-top: var(--space-md);
}

.legal summary {
  font-weight: 600;
  cursor: pointer;
}

.legal dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px var(--space-lg);
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
}

.legal dt {
  color: var(--c-muted);
}

@media (max-width: 900px) {
  .contacts,
  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contacts__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal dd {
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
