body,
button, .button,
input, textarea, select {
  font-family: var(--font-body, system-ui, sans-serif) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading, Georgia, serif) !important;
}

.button, button, input, textarea, select, fieldset {
  margin-bottom: 0;
}

/* ==========================================================================
   Site-wide top-bar marquee (replaces Flatsome's default top bar)
   ========================================================================== */

@keyframes sonify-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.site-marquee--top {
  background-color: var(--color-text);
  color: var(--color-bg);
  overflow: hidden;
  padding: 0.5rem 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.site-marquee--top__track {
  display: flex;
  align-items: center;
  gap: 0 0.25rem;
}

/* 2+ messages: single line, scrolling. */
.site-marquee--top--scroll .site-marquee--top__track {
  width: max-content;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: sonify-marquee-scroll 30s linear infinite;
}
/* 1 message: static, centered, no scroll. */
.site-marquee--top--static .site-marquee--top__track {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  animation: none;
}

.site-marquee--top__item {
  white-space: nowrap;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-marquee--top__separator {
  padding: 0 0.5rem;
  opacity: 0.5;
  font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  /* No motion: stack/wrap and center instead of scrolling. */
  .site-marquee--top--scroll .site-marquee--top__track {
    animation: none;
    flex-wrap: wrap;
    white-space: normal;
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PDP owns its AJAX status. Product cards retain WooCommerce's native,
   keyboard-accessible "View cart" success link.
   ========================================================================== */
.sonify-pdp__ctas .added_to_cart,
.sonify-pdp__sticky-cart .added_to_cart { display: none !important; }

/* Larger base type for readability (Flatsome default was 15px) */
html { font-size: 16px; }
body { font-size: 1rem; line-height: 1.7; }

/* WooCommerce block cart/checkout buttons — readable brand styling
   (default WC/Flatsome rendered dark text on a grey button). */
.wc-block-components-button.contained,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-proceed-to-checkout .wc-block-components-button {
  background-color: #1e1b1a !important;
  border-color: #1e1b1a !important;
  color: #fff !important;
}
.wc-block-components-button.contained .wc-block-components-button__text,
.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  color: #fff !important;
}
.wc-block-components-button.contained:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-proceed-to-checkout .wc-block-components-button:hover {
  background-color: var(--color-accent-dark) !important;
  border-color: var(--color-accent-dark) !important;
}

/* Policy / info pages — centered readable container + page title */
.sonify-info-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
}
.sonify-info-page__title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #e5e0d8;
}
.sonify-info-page__body h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
}
.sonify-info-page__body p,
.sonify-info-page__body li {
  line-height: 1.75;
}
.sonify-info-page__body ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.solsneaker-contact-note { color: var(--color-muted); font-style: italic; }

/* Remove all social-share UI across the site (PDP strip removed at source;
   this covers Flatsome blog/[share] output). Footer follow icons are
   .social-icons (no .share-icons) and are intentionally untouched. */
.share-icons,
.share-row,
.sonify-pdp__social {
  display: none !important;
}

/* Also remove Flatsome's social FOLLOW icons (mobile off-canvas menu, header,
   footer). .header-social-icons = the menu <li>; .follow-icons = the icon row.
   Social-login buttons (.social-login) are a different element and stay. */
.header-social-icons,
.follow-icons,
.social-icons.follow-icons {
  display: none !important;
}

/* ==========================================================================
   SolSneaker surface: shop archive and product page
   ========================================================================== */
body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-text); }

.sonify-shop-banner { background: #141414; border-radius: var(--radius-xl); margin: 1.25rem var(--storefront-gutter) 0; }
.sonify-shop-banner__title { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.sonify-shop-archive { background: var(--color-bg); }
.sonify-shop-archive .products.row { align-items: stretch; }

.sonify-pdp { background: var(--color-bg); }
.sonify-pdp__above-fold { padding-top: 1rem; }
.sonify-pdp__summary h1 { font-weight: 700; letter-spacing: -0.02em; }
.sonify-pdp__eyebrow,
.sonify-pdp__section-heading > span,
.sonify-pdp__section-heading > div > span { color: var(--color-accent); }
.sonify-pdp__ctas button,
.sonify-pdp__sticky-add { border-radius: var(--radius-pill); }
.sonify-pdp__add-to-cart { background: var(--color-text) !important; border-color: var(--color-text) !important; }
.sonify-pdp__buy-now { background: var(--color-accent) !important; border-color: var(--color-accent) !important; }
.sonify-pdp__spec-card { border-radius: var(--radius-large); background: var(--color-tile); border: 0; }
.sonify-pdp__empty,
.sonify-pdp__review-empty { border-radius: var(--radius-large); background: var(--color-tile); }
.sonify-pdp__valueprops { background: #141414; border-radius: var(--radius-xl); }
.sonify-pdp .woocommerce-product-gallery,
.sonify-pdp [class*="gallery"] img { border-radius: var(--radius-large); }
