/* FUFUZ brand layer: calm discovery, direct shopping, mobile first. */
:root {
  --fufuz-orange: #e95f2a;
  --fufuz-ink: #171717;
  --fufuz-muted: #6f6f6f;
  --fufuz-surface: #f7f5f1;
  --fufuz-line: rgba(23, 23, 23, 0.12);
  --fufuz-radius-sm: 12px;
  --fufuz-radius-md: 20px;
  --fufuz-radius-lg: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--fufuz-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button,
.button,
.shopline-element-buy-now {
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button,
.shopline-element-buy-now {
  min-height: 46px;
  padding-inline: 24px;
  border-radius: 999px;
}

.button:hover,
.shopline-element-buy-now:hover {
  transform: translateY(-1px);
}

:focus-visible {
  outline: 3px solid rgba(233, 95, 42, 0.42);
  outline-offset: 3px;
}

.announcement-bar {
  letter-spacing: 0.02em;
}

.header-section {
  border-block-end: 1px solid var(--fufuz-line);
}

.theme-sticky-header--sticky .header-section {
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.06);
}

.header__logo img {
  max-height: 46px;
  object-fit: contain;
}

.slideshow__group {
  max-width: 680px;
}

.slideshow__group h1,
.slideshow__group h2,
.slideshow__group .heading {
  max-width: 16ch;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.slideshow__group p {
  max-width: 52ch;
  color: inherit;
  text-wrap: balance;
}

.slideshow__image--desktop img,
.slideshow__image--mobile img {
  transform: scale(1.001);
}

.product-card,
.collection-card {
  overflow: hidden;
  border-radius: var(--fufuz-radius-md);
}

.product-card img,
.collection-card img {
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover img,
.collection-card:hover img {
  transform: scale(1.025);
}

.product-card__info {
  padding-block-start: 14px;
}

.product-card .button,
.quick-add__button {
  min-height: 42px;
}

.product-detail,
.main-product {
  --fufuz-product-gap: clamp(24px, 4vw, 64px);
}

.product-detail .button,
.main-product .button,
.main-product .shopline-element-buy-now {
  min-height: 52px;
  font-weight: 650;
}

.product-detail__media img,
.product-media img {
  border-radius: var(--fufuz-radius-md);
}

.footer {
  border-block-start: 1px solid var(--fufuz-line);
}

.footer a:hover {
  color: var(--fufuz-orange);
}

@media (max-width: 959px) {
  :root {
    --page-padding: 16px;
  }

  .header__logo img {
    max-height: 38px;
  }

  .slideshow__group {
    max-width: 100%;
  }

  .slideshow__group h1,
  .slideshow__group h2,
  .slideshow__group .heading {
    max-width: 13ch;
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.02;
  }

  .slideshow__group .button-group,
  .slideshow__group [class*="button-group"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .slideshow__group .button {
    width: 100%;
    min-height: 48px;
    padding-inline: 14px;
  }

  .product-detail__media img,
  .product-media img,
  .product-card,
  .collection-card {
    border-radius: var(--fufuz-radius-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
