/*
Theme Name: HiNext Creator Storefront
Theme URI: https://hinext.cc/
Author: Wuhan Uhang Network Technology Co., Ltd.
Author URI: https://hinext.cc/
Description: A mobile-first WooCommerce storefront template for a single creator. The default presentation is a clearly labelled demonstration store.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: hinext-creator-storefront
*/

:root {
  --ink: #071716;
  --ink-2: #102523;
  --paper: #f7f4ec;
  --paper-2: #eee9dd;
  --white: #ffffff;
  --lime: #c8ff5a;
  --sun: #f4b844;
  --aqua: #7ee4dc;
  --muted: #5e6b67;
  --line: rgba(7, 23, 22, 0.14);
  --shadow: 0 22px 60px rgba(7, 23, 22, 0.12);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --content: min(1180px, calc(100vw - 2rem));
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
.button,
.btn {
  min-height: 3rem;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0.5rem;
}

.container {
  width: var(--content);
  margin-inline: auto;
}

.demo-ribbon {
  background: var(--lime);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 23, 22, 0.94);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand__mark {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__name {
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand__byline {
  margin-top: 0.32rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle__lines::before {
  transform: translateY(-0.38rem);
}

.nav-toggle__lines::after {
  transform: translateY(0.27rem);
}

.primary-nav {
  position: absolute;
  inset: 100% 0 auto;
  display: none;
  padding: 0.75rem 1rem 1.2rem;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  width: var(--content);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 0.8rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  text-decoration: none;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.7rem;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.7rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.cart-count {
  min-width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
}

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

.hero::after {
  position: absolute;
  inset: auto -18vw -40vw auto;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(126, 228, 220, 0.18);
  border-radius: 50%;
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 9vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero__lede {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
  color: var(--white);
}

.btn--lime {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.btn--lime:hover {
  background: #d5ff80;
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(200, 255, 90, 0.18);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.hero__note {
  margin: 1.05rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.creator-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 255, 90, 0.34), transparent 30%),
    radial-gradient(circle at 82% 25%, rgba(126, 228, 220, 0.24), transparent 34%),
    linear-gradient(145deg, #173f3b, #0a1f1d 70%);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}

.creator-card.has-image {
  background-position: center;
  background-size: cover;
}

.creator-card.has-image::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 23, 22, 0.9) 100%);
  content: "";
}

.creator-card__monogram {
  position: absolute;
  inset: 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--radius-lg) - 0.45rem);
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: clamp(10rem, 45vw, 17rem);
  line-height: 1;
}

.creator-card__meta {
  position: absolute;
  z-index: 1;
  inset: auto 1.35rem 1.35rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.creator-card__label {
  display: block;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.creator-card__name {
  margin: 0.3rem 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.creator-card__badge {
  max-width: 8rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
  backdrop-filter: blur(10px);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip__inner {
  display: grid;
}

.trust-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.trust-item:last-child {
  border-bottom: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 0.92rem;
}

.trust-item span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--white {
  background: var(--white);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0;
  color: #3e655f;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-copy {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--dark .section-kicker {
  color: var(--aqua);
}

.section--dark .section-copy {
  color: rgba(255, 255, 255, 0.64);
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(126, 228, 220, 0.22), rgba(244, 184, 68, 0.2)),
    var(--paper-2);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(7, 23, 22, 0.42);
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.status-pill {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__body {
  padding: 1.2rem;
}

.product-card__category {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.product-card__title a {
  text-decoration: none;
}

.product-card__reason {
  min-height: 3.2rem;
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.product-card__price,
.product-card .price {
  font-weight: 850;
}

.product-card__link {
  font-size: 0.88rem;
  font-weight: 850;
}

.values-grid {
  display: grid;
  gap: 1rem;
}

.value-card {
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.value-card__number {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.value-card h3 {
  margin: 2.6rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.assistant-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.assistant-panel__intro,
.assistant-panel__chat {
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.assistant-panel__intro {
  background: var(--sun);
}

.assistant-panel__intro h2 {
  max-width: 11ch;
  margin: 0.8rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.assistant-panel__intro p {
  margin: 0;
  max-width: 30rem;
}

.assistant-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.65rem;
  border: 1px solid rgba(7, 23, 22, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-status::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.assistant-message {
  max-width: 34rem;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.25rem 1rem 1rem 1rem;
  background: var(--paper);
}

.assistant-message strong,
.assistant-message span {
  display: block;
}

.assistant-message strong {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assistant-message span {
  color: var(--muted);
}

.question-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.question-chip {
  min-height: 2.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.question-chip:hover,
.question-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.assistant-disclaimer {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.fulfilment-grid {
  display: grid;
  gap: 1rem;
}

.fulfilment-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.fulfilment-card__status {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #73500d;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fulfilment-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.fulfilment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.2rem;
  right: 0.25rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: var(--font-body);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 48rem;
  margin: -0.35rem 0 1.35rem;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--lime);
}

.final-cta::after {
  position: absolute;
  top: -6rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(7, 23, 22, 0.18);
  border-radius: 50%;
  content: "";
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.final-cta p {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 1rem 0 1.5rem;
}

.site-footer {
  padding: 3rem 0 6rem;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.footer-copy,
.footer-legal {
  color: rgba(255, 255, 255, 0.58);
}

.footer-copy {
  max-width: 30rem;
  margin: 0.65rem 0 0;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.mobile-dock {
  position: fixed;
  z-index: 90;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(7, 23, 22, 0.96);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.mobile-dock a {
  min-height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-dock a:hover,
.mobile-dock a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.mobile-dock a.is-primary {
  background: var(--lime);
  color: var(--ink);
}

/* WooCommerce pages */
.content-shell,
.woo-shell {
  width: var(--content);
  min-height: 60vh;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5rem) 6rem;
}

.entry-card {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.entry-card + .entry-card {
  margin-top: 1.25rem;
}

.entry-card__image {
  display: block;
  margin: calc(clamp(1.4rem, 4vw, 3rem) * -1) calc(clamp(1.4rem, 4vw, 3rem) * -1) 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.entry-card__title {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.entry-card__title a {
  text-decoration: none;
}

.entry-card__content > :first-child {
  margin-top: 0;
}

.entry-card__content > :last-child {
  margin-bottom: 0;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--ink);
}

.woocommerce-products-header__title,
.woocommerce div.product .product_title,
.woocommerce .cart_totals h2,
.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 0 0 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 0 1rem;
  background: var(--paper-2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin-inline: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.woocommerce ul.products li.product .price {
  color: var(--ink);
  font-weight: 850;
}

.woocommerce ul.products li.product .button {
  min-height: 2.7rem;
  margin-top: 0.45rem;
  font-size: 0.8rem;
}

.woocommerce span.onsale {
  min-width: 0;
  min-height: 0;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  line-height: 1.2;
}

.woocommerce table.shop_table,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .cart-collaterals .cart_totals {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select {
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--white);
  padding: 0.7rem 0.8rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--aqua);
  background: var(--white);
}

.demo-checkout-notice {
  padding: 1rem;
  border: 1px solid #d8aa4f;
  border-radius: var(--radius-sm);
  background: #fff4d7;
  color: #664405;
}

@media (min-width: 42rem) {
  .trust-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item {
    padding: 1.1rem 1.35rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .trust-item:first-child {
    padding-left: 0;
  }

  .trust-item:last-child {
    border-right: 0;
  }

  .product-grid,
  .values-grid,
  .fulfilment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card__reason {
    min-height: 4.8rem;
  }

  .assistant-panel {
    grid-template-columns: 0.85fr 1.15fr;
  }

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

@media (min-width: 58rem) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .primary-nav ul {
    width: auto;
    display: flex;
    align-items: center;
    gap: 1.65rem;
  }

  .primary-nav a {
    padding: 0.7rem 0;
    font-size: 0.9rem;
  }

  .primary-nav a:hover {
    color: var(--lime);
  }

  .header-actions {
    display: flex;
  }

  .hero__inner {
    min-height: 41rem;
    grid-template-columns: 1.1fr 0.75fr;
    align-items: center;
  }

  .creator-card {
    min-height: 34rem;
  }

  .section-head {
    grid-template-columns: 1fr 0.75fr;
    align-items: end;
  }

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

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

  .mobile-dock {
    display: none;
  }

  .site-footer {
    padding-bottom: 3rem;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

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