/*
 * Nana Kids — approved Pebble visual recovery layer.
 *
 * Authority:
 * - historical V8.35 PDP parity (PR #116)
 * - historical V8.35 Shop parity (PR #117)
 * - user-approved Nana V8.35 references
 *
 * IMPORTANT: visual-only layer. It must not own cart, filters, variants,
 * wishlist, stock, Fit, REST, checkout or WooCommerce state.
 */

:root {
  --nana-pebble-ink: #101010;
  --nana-pebble-muted: #626262;
  --nana-pebble-line: #dedede;
  --nana-pebble-soft: #f2f3f3;
  --nana-pebble-white: #ffffff;
  --nana-pebble-radius: 18px;
  --nana-pebble-pill: 999px;
  --nana-pebble-page: 1440px;
}

/* ========================================================================== */
/* PDP — restore the approved V8.35 / Pebble composition                     */
/* ========================================================================== */

body.single-product.nana-clean-theme,
body.single-product.nana-commerce-page {
  background: var(--nana-pebble-white);
}

.nana-product-page {
  margin: 0;
  padding: 40px 0 100px;
  background: var(--nana-pebble-white);
  color: var(--nana-pebble-ink);
  font-family: var(--nana-font-display, "Bricolage Grotesque", Arial, sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.nana-product-page > .wrap {
  width: min(calc(100% - 48px), var(--nana-pebble-page));
  margin-inline: auto;
}

.nana-product-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(430px, .92fr);
  gap: clamp(48px, 4vw, 76px);
  align-items: start;
}

.nana-product-page__gallery {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 14px;
  min-width: 0;
  align-items: start;
}

.nana-product-page__hero-image {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #edf0f2;
}

.nana-product-page__hero-image img,
.nana-product-page__image-placeholder {
  display: block;
  width: 100%;
  min-height: min(720px, 70vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #edf0f2;
}

.nana-product-page__thumbnails {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 102px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
  scrollbar-width: thin;
}

.nana-product-page__thumbnail {
  width: 118px;
  min-width: 0;
}

.nana-product-page__thumbnail button {
  position: relative;
  display: block;
  width: 118px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #edf0f2;
  cursor: pointer;
}

.nana-product-page__thumbnail button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1.5px solid transparent;
  border-radius: inherit;
}

.nana-product-page__thumbnail button[aria-current="true"] {
  border: 0;
  outline: 0;
}

.nana-product-page__thumbnail button[aria-current="true"]::after {
  border-color: var(--nana-pebble-ink);
}

.nana-product-page__thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.3,1,.3,1);
}

.nana-product-page__thumbnail button:hover img {
  transform: scale(1.035);
}

.nana-product-page__summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 0;
  min-width: 0;
  align-self: start;
}

.nana-product-page__eyebrow,
.nana-product-page__section-eyebrow,
.nana-product-page__fit-eyebrow {
  margin: 0 0 12px;
  color: var(--nana-pebble-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
}

.nana-product-page__title {
  max-width: 15ch;
  margin: 0;
  color: #000;
  font-family: inherit;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.nana-product-page__rating {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  margin-top: 15px;
  color: var(--nana-pebble-muted);
  font-size: 13px;
  text-decoration: none;
}

.nana-product-page__rating > span {
  color: #111;
  letter-spacing: .08em;
}

.nana-product-page__price {
  margin: 18px 0 0;
  color: #000;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
}

.nana-product-page__price del {
  margin-right: 8px;
  color: rgba(0,0,0,.43);
  font-size: 15px;
  font-weight: 500;
}

.nana-product-page__price ins {
  color: #000;
  text-decoration: none;
}

.nana-product-page__short-desc {
  max-width: 540px;
  margin: 24px 0 5px;
  color: rgba(0,0,0,.64);
  font-size: 16px;
  line-height: 1.55;
}

.nana-product-page__stock-low {
  margin: 20px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f6f6f6;
  color: #202020;
  font-size: 13px;
  font-weight: 650;
}

.nana-product-page__cart-form {
  display: grid;
  gap: 0;
  margin-top: 20px;
  padding-top: 0;
}

.nana-product-page__variations {
  display: grid;
  gap: 16px;
}

.nana-product-page__variation {
  display: grid;
  gap: 10px;
}

.nana-product-page__variation > label {
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.nana-product-page__variation select,
.nana-product-page__stock-alert-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d4d4d4;
  border-radius: var(--nana-pebble-pill);
  padding: 0 17px;
  background: #fff;
  color: #111;
  font-family: inherit;
}

.nana-product-page__variation-reset {
  justify-self: start;
  margin-top: 8px;
  color: var(--nana-pebble-muted);
  font-size: 12px;
  text-underline-offset: 4px;
}

.nana-product-page__purchase-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  margin-top: 18px;
  align-items: stretch;
}

.nana-product-page__qty,
.nana-product-page__qty .quantity {
  height: 50px;
}

.nana-product-page__qty input.qty {
  width: 100%;
  min-height: 50px;
  height: 50px;
  border: 0;
  border-radius: var(--nana-pebble-pill);
  background: #f3f3f3;
  color: #111;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
}

.nana-product-page__add-to-cart,
.nana-product-page button.single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: var(--nana-pebble-pill) !important;
  padding: 0 24px;
  background: #050505 !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.nana-product-page__add-to-cart:hover:not(:disabled),
.nana-product-page__add-to-cart:focus-visible:not(:disabled),
.nana-product-page button.single_add_to_cart_button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #050505 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.nana-product-page__add-to-cart:disabled,
.nana-product-page__add-to-cart.disabled,
.nana-product-page button.single_add_to_cart_button:disabled {
  background: #d6d6d6 !important;
  color: #777 !important;
  opacity: .72;
  cursor: not-allowed;
}

.nana-product-page__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.nana-product-page__wishlist-toggle {
  min-height: 46px;
  border: 1px solid #d6d6d6;
  border-radius: var(--nana-pebble-pill);
  padding: 0 18px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-weight: 650;
}

.nana-product-page__wishlist-toggle:hover {
  border-color: #111;
}

.nana-product-page__wishlist-toggle[aria-pressed="true"] {
  border-color: #111;
  background: #111;
  color: #fff;
}

.nana-product-page__fit,
.nana-product-page__stock-alert {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  font-family: inherit;
}

.nana-product-page__fit {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #f3f3f3;
  color: #111;
}

.nana-product-page__fit .nana-product-page__fit-eyebrow {
  color: #5d5d5d;
}

.nana-product-page__fit h2,
.nana-product-page__stock-alert h2 {
  margin: 0 0 5px;
  color: #111;
  font-family: inherit;
  font-size: 19px;
  letter-spacing: -.02em;
}

.nana-product-page__fit p,
.nana-product-page__stock-alert p {
  margin: 0;
  color: var(--nana-pebble-muted);
  line-height: 1.45;
}

.nana-product-page__fit-cta,
.nana-product-page__stock-alert-form button {
  min-height: 44px;
  border: 0;
  border-radius: var(--nana-pebble-pill);
  padding: 0 18px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
}

.nana-product-page__stock-alert {
  border: 1px solid var(--nana-pebble-line);
  background: #fff;
}

.nana-product-page__stock-alert-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}

.nana-product-page__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,.11);
  border-bottom: 1px solid rgba(0,0,0,.11);
  list-style: none;
}

.nana-product-page__trust li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  color: #111;
  font-size: 12px;
  text-align: center;
}

.nana-product-page__trust span {
  color: var(--nana-pebble-muted);
}

.nana-product-page__details {
  display: grid;
  gap: 70px;
  margin-top: 100px;
}

.nana-product-page__details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 70px;
  align-items: start;
}

.nana-product-page__description,
.nana-product-page__specifications,
.nana-product-page__reviews {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.nana-product-page__details h2,
.nana-product-page__reviews h2,
.nana-product-page__related h2 {
  margin: 0 0 24px;
  color: #111;
  font-family: inherit;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.nana-product-page__description {
  color: var(--nana-pebble-muted);
  font-size: 16px;
  line-height: 1.65;
}

.nana-product-page__specifications {
  border-top: 1px solid rgba(0,0,0,.11);
}

.nana-product-page__specifications dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.11);
}

.nana-product-page__specifications dt {
  color: #111;
  font-weight: 700;
}

.nana-product-page__specifications dd {
  color: var(--nana-pebble-muted);
}

.nana-product-page__reviews {
  padding-top: 4px;
}

.nana-product-page__reviews-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nana-product-page__review {
  gap: 14px;
  padding: 24px;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  background: #fff;
}

.nana-product-page__review-rating {
  color: #111;
}

.nana-product-page__related {
  margin-top: 100px;
  padding-top: 78px;
  border-top: 1px solid #e5e5e5;
}

.nana-product-page__related .products,
.nana-product-page__related ul.products {
  margin-top: 28px;
}

.nana-product-page__related .products li.product a img,
.nana-product-page__related ul.products li.product a img {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: #eef1f2;
}

.nana-product-page button:focus-visible,
.nana-product-page select:focus-visible,
.nana-product-page input:focus-visible,
.nana-product-page a:focus-visible {
  outline-color: #111;
}

/* ========================================================================== */
/* SHOP — restore measured Pebble collection hierarchy                        */
/* ========================================================================== */

body.post-type-archive-product.nana-clean-theme,
body.tax-product_cat.nana-clean-theme,
body.tax-product_tag.nana-clean-theme {
  background: #fff;
}

.nana-shop-archive {
  --shop-pad: clamp(16px, 3.48vw, 50px);
  margin: 0;
  padding: clamp(112px, 9vw, 142px) 0 86px;
  background: #fff;
  color: #101010;
  font-family: var(--nana-font-display, "Bricolage Grotesque", Arial, sans-serif);
}

.nana-shop-archive > .wrap {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--shop-pad);
}

.nana-shop-archive__header {
  display: grid;
  gap: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  border: 0;
}

.nana-shop-archive__eyebrow {
  display: none;
}

.nana-shop-archive__title {
  max-width: none;
  margin: 0;
  color: #111;
  font-family: inherit;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.nana-shop-archive__kicker {
  max-width: 790px;
  margin: 19px 0 38px;
  color: #454545;
  font-size: 15px;
  line-height: 1.58;
}

.nana-shop-archive__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 23px;
  min-height: 50px;
  margin: 0;
  padding: 0 0 23px;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  background: #fff;
  align-items: center;
}

.nana-shop-archive__filter-toggle,
.nana-shop-archive__sort-submit,
.nana-shop-archive__filter-submit {
  min-height: 50px;
  border: 1px solid #d6d6d6;
  border-radius: var(--nana-pebble-pill);
  padding: 0 17px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.nana-shop-archive__filter-toggle:hover,
.nana-shop-archive__sort-submit:hover {
  border-color: #111;
  background: #fff;
  color: #111;
}

.nana-shop-archive__filter-submit {
  border-color: #111;
  background: #111;
  color: #fff;
}

.nana-shop-archive__filter-submit:hover {
  background: #252525;
  color: #fff;
}

.nana-shop-archive__sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nana-shop-archive__sort-label,
.nana-shop-archive__count {
  color: #484848;
  font-size: 15px;
}

.nana-shop-archive__sort-label {
  color: #111;
  font-weight: 650;
}

.nana-shop-archive__sort select {
  width: 196px;
  max-width: 100%;
  min-height: 50px;
  border: 1px solid #d4d4d4;
  border-radius: var(--nana-pebble-pill);
  padding: 0 42px 0 17px;
  background-color: #fff;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
}

.nana-shop-archive__active-filters {
  gap: 8px;
  padding-top: 14px;
}

.nana-shop-archive__active-filter,
.nana-shop-archive__active-clear {
  min-height: 34px;
  border: 1px solid #ddd;
  border-radius: var(--nana-pebble-pill);
  background: #fff;
  color: #333;
}

.nana-shop-archive__body {
  display: grid;
  grid-template-columns: 295px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: 23px;
}

.nana-shop-archive__filters {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  scrollbar-width: thin;
}

@media (min-width: 1024px) {
  .nana-shop-archive__filters[hidden] {
    display: block !important;
  }

  .nana-shop-archive__filter-close {
    display: none !important;
  }
}

.nana-shop-archive__filter-group {
  margin: 0 0 25px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--nana-pebble-line);
}

.nana-shop-archive__filter-group legend {
  margin-bottom: 15px;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nana-shop-archive__filter-list {
  display: grid;
  gap: 10px;
}

.nana-shop-archive__filter-list label {
  min-height: 34px;
  gap: 10px;
  padding: 2px 0;
  border-radius: 0;
  color: #484848;
  font-size: 15px;
}

.nana-shop-archive__filter-list label:hover,
.nana-shop-archive__filter-list label:focus-within {
  background: transparent;
  color: #111;
}

.nana-shop-archive__filter-list input[type="radio"],
.nana-shop-archive__filter-list input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #111;
}

.nana-shop-archive__filter-list--sizes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.nana-shop-archive__filter-list--sizes label {
  justify-content: center;
  min-height: 42px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
}

.nana-shop-archive__price-range {
  gap: 10px;
}

.nana-shop-archive__price-range input {
  min-height: 48px;
  border: 0;
  border-radius: var(--nana-pebble-pill);
  padding: 0 15px;
  background: #f1f1f1;
  color: #111;
  font-family: inherit;
}

.nana-shop-archive__filter-actions {
  gap: 8px;
}

.nana-shop-archive__filter-clear {
  min-height: 44px;
  border: 1px solid #d6d6d6;
  border-radius: var(--nana-pebble-pill);
  background: #fff;
}

.nana-shop-archive__results {
  min-width: 0;
  gap: 24px;
}

.nana-shop-archive__results ul.products,
.nana-shop-archive ul.products,
.nana-shop-archive.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 29px;
  row-gap: 38px;
  width: 100%;
  margin: 0;
}

.nana-shop-archive ul.products li.product,
.nana-shop-archive.woocommerce ul.products li.product {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

.nana-shop-archive ul.products li.product a img,
.nana-shop-archive.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  margin: 0 0 16px;
  border-radius: var(--nana-pebble-radius);
  background: #f0f3f4;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.65,.3,1);
}

.nana-shop-archive ul.products li.product:hover a img {
  transform: scale(1.018);
}

.nana-shop-archive ul.products li.product .woocommerce-loop-product__title,
.nana-shop-archive ul.products li.product h2,
.nana-shop-archive ul.products li.product h3 {
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.nana-shop-archive ul.products li.product .price {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 6px;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
}

.nana-shop-archive ul.products li.product .price del {
  color: #696969;
  font-weight: 500;
}

.nana-shop-archive ul.products li.product .price ins {
  color: #c52c20;
  text-decoration: none;
}

.nana-shop-archive ul.products li.product .button {
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid #d8d8d8;
  border-radius: var(--nana-pebble-pill);
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 650;
}

.nana-shop-archive ul.products li.product .button:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

.nana-shop-archive .onsale,
.nana-shop-archive.woocommerce span.onsale {
  top: 10px;
  left: 10px;
  min-width: 46px;
  min-height: 29px;
  padding: 0 10px;
  border-radius: var(--nana-pebble-pill);
  background: #d92f1f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 29px;
}

.nana-shop-archive__pagination {
  justify-content: center;
  margin-top: 64px;
}

.nana-shop-archive__pagination .nav-links {
  gap: 25px;
}

.nana-shop-archive__pagination .page-numbers {
  min-width: 22px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 15px;
}

.nana-shop-archive__pagination .page-numbers.current {
  border: 0;
  background: transparent;
  color: #111;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 7px;
}

/* ========================================================================== */
/* Responsive recovery                                                        */
/* ========================================================================== */

@media (max-width: 1250px) and (min-width: 1024px) {
  .nana-product-page__hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(390px, .9fr);
    gap: 42px;
  }

  .nana-product-page__gallery {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .nana-product-page__thumbnail,
  .nana-product-page__thumbnail button {
    width: 96px;
  }

  .nana-shop-archive__body {
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 28px;
  }

  .nana-shop-archive__results ul.products,
  .nana-shop-archive ul.products {
    column-gap: 18px;
  }
}

@media (max-width: 1023px) {
  .nana-product-page {
    padding-top: 28px;
  }

  .nana-product-page > .wrap {
    width: min(calc(100% - 32px), 900px);
  }

  .nana-product-page__hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nana-product-page__gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nana-product-page__hero-image {
    order: 1;
    width: 100%;
  }

  .nana-product-page__hero-image img,
  .nana-product-page__image-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .nana-product-page__thumbnails {
    order: 2;
    position: static;
    display: flex;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    padding: 0 0 4px;
    scroll-snap-type: x proximity;
  }

  .nana-product-page__thumbnail,
  .nana-product-page__thumbnail button {
    flex: 0 0 82px;
    width: 82px;
  }

  .nana-product-page__thumbnail {
    scroll-snap-align: start;
  }

  .nana-product-page__summary {
    position: static;
  }

  .nana-product-page__title {
    font-size: clamp(32px, 7vw, 46px);
  }

  .nana-product-page__details-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .nana-product-page__reviews-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nana-shop-archive {
    padding-top: 102px;
  }

  .nana-shop-archive__body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nana-shop-archive__filters[hidden] {
    display: none !important;
  }

  .nana-shop-archive__results ul.products,
  .nana-shop-archive ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 12px;
  }
}

@media (max-width: 700px) {
  .nana-product-page {
    padding: 18px 0 76px;
  }

  .nana-product-page > .wrap {
    width: calc(100% - 32px);
  }

  .nana-product-page__hero {
    gap: 26px;
  }

  .nana-product-page__hero-image {
    border-radius: 16px;
  }

  .nana-product-page__thumbnail,
  .nana-product-page__thumbnail button {
    flex-basis: 72px;
    width: 72px;
  }

  .nana-product-page__title {
    max-width: none;
    font-size: 32px;
    letter-spacing: -.035em;
  }

  .nana-product-page__short-desc {
    margin-top: 18px;
    font-size: 15px;
  }

  .nana-product-page__purchase-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .nana-product-page__fit {
    grid-template-columns: 1fr;
  }

  .nana-product-page__fit-cta {
    justify-self: start;
  }

  .nana-product-page__trust {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nana-product-page__trust li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ededed;
    text-align: left;
  }

  .nana-product-page__trust li:last-child {
    border-bottom: 0;
  }

  .nana-product-page__details {
    gap: 54px;
    margin-top: 68px;
  }

  .nana-product-page__details h2,
  .nana-product-page__reviews h2,
  .nana-product-page__related h2 {
    font-size: 30px;
  }

  .nana-product-page__reviews-list {
    grid-template-columns: 1fr;
  }

  .nana-product-page__related {
    margin-top: 70px;
    padding-top: 52px;
  }

  .nana-shop-archive {
    --shop-pad: 16px;
    padding-top: 102px;
    padding-bottom: 64px;
  }

  .nana-shop-archive__title {
    font-size: 30px;
    letter-spacing: -.025em;
  }

  .nana-shop-archive__kicker {
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.48;
  }

  .nana-shop-archive__controls {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-bottom: 16px;
  }

  .nana-shop-archive__filter-toggle {
    justify-self: start;
    min-height: 46px;
  }

  .nana-shop-archive__count {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
  }

  .nana-shop-archive__sort {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .nana-shop-archive__sort select {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .nana-shop-archive__results ul.products,
  .nana-shop-archive ul.products,
  .nana-shop-archive.woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 10px;
  }

  .nana-shop-archive ul.products li.product a img,
  .nana-shop-archive.woocommerce ul.products li.product a img {
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .nana-shop-archive ul.products li.product .woocommerce-loop-product__title,
  .nana-shop-archive ul.products li.product h2,
  .nana-shop-archive ul.products li.product h3,
  .nana-shop-archive ul.products li.product .price {
    font-size: 14px;
  }

  .nana-shop-archive ul.products li.product .button {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .nana-shop-archive__pagination {
    margin-top: 48px;
  }
}

@media (max-width: 420px) {
  .nana-product-page > .wrap {
    width: calc(100% - 24px);
  }

  .nana-product-page__purchase-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
  }

  .nana-product-page__secondary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nana-shop-archive__controls {
    gap: 10px;
  }

  .nana-shop-archive__filter-toggle {
    padding-inline: 14px;
    font-size: 13px;
  }

  .nana-shop-archive__count {
    font-size: 13px;
  }

  .nana-shop-archive__sort-label {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nana-product-page *,
  .nana-shop-archive * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
