/**
 * Product detail page
 */

.page-product {
  --product-sticky-top: 1.25rem;
  --home-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --home-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --home-primary: #589fdc;
  --home-primary-deep: #3a7db5;
  --home-primary-glow: rgba(88, 159, 220, 0.22);
  --home-secondary: #d6534e;
  --home-ink: #0f1c2e;
  --home-muted: #5f6d82;
  --home-cream: #fafbfd;
  --home-white: #ffffff;
  --home-line: rgba(15, 28, 46, 0.08);
  --home-radius: 1.125rem;
  --home-shadow: 0 20px 50px rgba(15, 28, 46, 0.1);
}

body.page-product,
body.page-product .product {
  font-family: var(--home-body);
  color: var(--home-ink);
  background: var(--home-cream);
}

body.page-product .site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--home-line);
}

body.page-product .site-nav__link,
body.page-product .site-nav__trigger,
body.page-product .site-nav__cta,
body.page-product .site-nav__submenu-link,
body.page-product .site-header__cta,
body.page-product .site-header__account,
body.page-product .site-header__cart {
  font-family: var(--home-body);
}

.page-product .site-main {
  padding-bottom: 2rem;
}

.product {
  padding: 1.5rem 0 3rem;
}

/* Breadcrumb */
.product__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--home-muted);
}

.product__breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.product__breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--home-line);
  flex-shrink: 0;
}

.product__breadcrumb a {
  color: var(--home-muted);
  text-decoration: none;
}

.product__breadcrumb a:hover {
  color: var(--home-primary-deep);
}

.product__back {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-primary-deep);
  text-decoration: none;
  transition: color 0.15s ease;
}

.product__back:hover {
  color: var(--home-secondary);
}

.product__back span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero layout */
.product__hero {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.product__hero-panel {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem 0;
}

.product__hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  z-index: 0;
  border-radius: 1.75rem;
  background:
    radial-gradient(
      ellipse 55% 70% at 18% 42%,
      rgba(88, 159, 220, 0.14),
      transparent 72%
    ),
    radial-gradient(
      ellipse 45% 55% at 88% 18%,
      rgba(214, 83, 78, 0.08),
      transparent 68%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(250, 251, 253, 0.55) 100%
    );
  pointer-events: none;
}

.product__media,
.product__summary {
  position: relative;
  z-index: 1;
}

.product__media {
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
}

.product__gallery {
  width: 100%;
}

.product__gallery-main {
  position: relative;
  aspect-ratio: 1;
  max-height: 20rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.08);
}

.product__gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 20rem;
  object-fit: contain;
  padding: 1rem;
}

.product__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--home-secondary), #c44540);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(214, 83, 78, 0.28);
}

.product__badge--sale {
  background: linear-gradient(
    135deg,
    var(--home-primary),
    var(--home-primary-deep)
  );
  box-shadow: 0 6px 16px rgba(88, 159, 220, 0.28);
}

.product__gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.product__gallery-thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.65rem;
  background: var(--home-white);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product__gallery-thumb.is-active,
.product__gallery-thumb:hover {
  border-color: var(--home-primary);
  box-shadow: 0 4px 12px rgba(88, 159, 220, 0.15);
}

.product__gallery-thumb img {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
}

/* Summary column */
.product__summary {
  display: grid;
  gap: 1.35rem;
}

.product__intro {
  display: grid;
  gap: 0.65rem;
}

.product__eyebrow {
  margin: 0;
}

.product__cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--home-primary-deep);
  background: rgba(88, 159, 220, 0.1);
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

a.product__cat-pill:hover {
  color: #fff;
  background: var(--home-primary-deep);
}

.product__title {
  margin: 0;
  font-family: var(--home-display);
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.product__headline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.product__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.product__rating .stars {
  color: #f0b429;
  letter-spacing: 0.05em;
}

.product__rating-text {
  font-size: 0.8125rem;
  color: var(--home-muted);
}

.product__rating-sep {
  margin-inline: 0.15rem;
  opacity: 0.5;
}

.product__short-desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--home-muted);
}

.product__purchase {
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
}

.product__price-block {
  display: grid;
  gap: 0.35rem;
}

.product__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.product__price {
  font-family: var(--home-body);
  font-size: clamp(1.75rem, 3.5vw, 2.125rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--home-ink);
}

.product__price--sale {
  color: var(--home-secondary);
}

.product__price-old {
  font-family: var(--home-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--home-muted);
  text-decoration: line-through;
}

.product__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.product__stock-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(26, 122, 74, 0.15);
}

.product__stock--in {
  color: #1a7a4a;
}

.product__stock--out {
  color: var(--home-secondary);
}

.product__stock--out .product__stock-dot {
  box-shadow: 0 0 0 3px rgba(214, 83, 78, 0.15);
}

.product__sku {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-muted);
  opacity: 0.75;
}

.product__cart {
  display: grid;
  gap: 0.65rem;
}

.product__cart-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 0.65rem;
}

.product__qty {
  display: grid;
  gap: 0.35rem;
}

.product__qty-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.product__qty-control {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(15, 28, 46, 0.08);
}

.product__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 1rem;
  color: var(--home-ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.product__qty-btn:hover {
  background: rgba(88, 159, 220, 0.12);
}

.product__qty-input {
  width: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
  -moz-appearance: textfield;
}

.product__qty-input::-webkit-outer-spin-button,
.product__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product__add-btn {
  min-height: 3rem;
  padding-inline: 1.75rem;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.product__wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(15, 28, 46, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--home-muted);
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.product__wishlist-btn:hover,
.product__wishlist-btn:focus-visible {
  color: var(--home-secondary, #d6534e);
  border-color: rgba(214, 83, 78, 0.28);
  background: rgba(214, 83, 78, 0.06);
}

.product__wishlist-btn.is-active {
  color: var(--home-secondary, #d6534e);
  border-color: rgba(214, 83, 78, 0.35);
  background: rgba(214, 83, 78, 0.1);
}

.product__wishlist-btn.is-active .product__wishlist-icon path {
  fill: currentColor;
}

.product__wishlist-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.product__wishlist-icon {
  display: block;
}

.product__cart-msg {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.product__cart-msg.has-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.85rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
}

.product__cart-msg.is-success {
  color: var(--home-primary-deep);
  background: rgba(88, 159, 220, 0.1);
  box-shadow: inset 0 0 0 1px rgba(88, 159, 220, 0.2);
}

.product__cart-msg.is-success::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--v2-violet, #8b6fd4) 0%,
    var(--home-primary, #589fdc) 55%,
    var(--v2-teal, #18b5a4) 100%
  );
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}

.product__cart-msg-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.product__cart-msg-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.product__cart-msg-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--home-muted);
}

.product__cart-msg-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product__cart-msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.product__cart-msg-btn--ghost {
  color: var(--home-primary-deep);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(88, 159, 220, 0.28);
}

.product__cart-msg-btn--ghost:hover {
  background: rgba(88, 159, 220, 0.06);
}

.product__cart-msg-btn--primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--v2-violet, #8b6fd4) 0%,
    var(--home-primary, #589fdc) 55%,
    var(--v2-teal, #18b5a4) 100%
  );
  box-shadow: 0 8px 20px rgba(88, 159, 220, 0.28);
}

.product__cart-msg-btn--primary:hover {
  filter: brightness(1.04);
}

.product__cart-msg.is-error {
  color: #8b1f2d;
  background: #fdecef;
  box-shadow: inset 0 0 0 1px rgba(139, 31, 45, 0.14);
}

.product-cart-toast {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 1200;
  max-width: 22rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.product-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-cart-toast.has-actions.is-visible {
  pointer-events: auto;
}

.product-cart-toast__panel {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(88, 159, 220, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--home-ink);
  box-shadow: 0 16px 40px rgba(15, 28, 46, 0.16);
  backdrop-filter: blur(10px);
}

.product-cart-toast__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.product-cart-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--v2-violet, #8b6fd4) 0%,
    var(--home-primary, #589fdc) 55%,
    var(--v2-teal, #18b5a4) 100%
  );
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(88, 159, 220, 0.28);
}

.product-cart-toast__icon::before {
  content: "✓";
}

.product-cart-toast__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.product-cart-toast__lead {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--home-ink);
}

.product-cart-toast__meta {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--home-muted);
}

.product-cart-toast__actions {
  display: grid;
  gap: 0.5rem;
}

.product-cart-toast__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.product-cart-toast__link--ghost {
  color: var(--home-primary-deep);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(88, 159, 220, 0.28);
}

.product-cart-toast__link--ghost:hover {
  background: rgba(88, 159, 220, 0.06);
}

.product-cart-toast__link--primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--v2-violet, #8b6fd4) 0%,
    var(--home-primary, #589fdc) 55%,
    var(--v2-teal, #18b5a4) 100%
  );
  box-shadow: 0 10px 24px rgba(88, 159, 220, 0.3);
}

.product-cart-toast__link--primary:hover {
  filter: brightness(1.04);
}

.product-cart-toast.is-error .product-cart-toast__panel {
  border-color: rgba(214, 83, 78, 0.22);
}

.product-cart-toast.is-error .product-cart-toast__icon {
  background: #d6534e;
  box-shadow: 0 8px 18px rgba(214, 83, 78, 0.24);
}

.product-cart-toast.is-error .product-cart-toast__icon::before {
  content: "!";
}

.product-cart-toast.is-error .product-cart-toast__lead {
  color: #8b1f2d;
}

body.page-product.has-product-sticky .product-cart-toast {
  bottom: calc(
    var(--product-sticky-height, 5.5rem) + 0.75rem +
      env(safe-area-inset-bottom, 0px)
  );
}

.product-cart-toast:not(.has-actions) {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--home-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.14);
  border: 1px solid var(--home-line);
}

.product-cart-toast.is-error:not(.has-actions) {
  color: #8b1f2d;
  background: #fdecef;
  border-color: rgba(214, 83, 78, 0.18);
}

.product__add-btn.is-added,
.product-sticky__cta.is-added {
  background: var(--home-primary-deep);
  border-color: var(--home-primary-deep);
}

.product__add-btn.is-added,
.product-sticky__cta.is-added {
  position: relative;
  color: transparent;
}

.product__add-btn.is-added::after,
.product-sticky__cta.is-added::after {
  content: "Added ✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--home-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Perk links */
.product__perks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding-top: 0.35rem;
}

.product__perk {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--home-muted);
  transition: color 0.15s ease;
}

.product__perk + .product__perk::before {
  content: "·";
  margin-right: 0.85rem;
  color: rgba(15, 28, 46, 0.22);
  font-weight: 400;
}

.product__perk:hover {
  color: var(--home-primary-deep);
}

.product__perk--spin:hover {
  color: var(--home-secondary);
}

.product__perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-primary-deep);
}

.product__perk--spin .product__perk-icon {
  color: var(--home-secondary);
}

.product__perk-label {
  white-space: nowrap;
}

/* Specs accordion — lives in summary column */
.product__summary .product__spec-accordion {
  margin-top: 0.25rem;
}

.product__spec-accordion {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.04);
}

.product__spec-item {
  border-bottom: 1px solid var(--home-line);
}

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

.product__spec-item[open] {
  background: rgba(88, 159, 220, 0.08);
  box-shadow: inset 0 3px 0 var(--home-primary);
}

.product__spec-item[open] .product__spec-trigger {
  color: var(--home-primary-deep);
}

.product__spec-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-ink);
  cursor: pointer;
  list-style: none;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.product__spec-trigger:hover {
  color: var(--home-primary-deep);
}

.product__spec-trigger::-webkit-details-marker {
  display: none;
}

.product__spec-chevron {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--home-muted);
  border-bottom: 2px solid var(--home-muted);
  transform: rotate(45deg);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.35s ease;
}

.product__spec-item[open] .product__spec-chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.product__spec-item > .product__spec-body {
  display: grid !important;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__spec-item[open] .product__spec-body {
  grid-template-rows: 1fr;
}

.product__spec-body-inner {
  overflow: hidden;
  padding: 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--home-muted);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__spec-item[open] .product__spec-body-inner {
  padding: 0 1rem 1rem;
}

.product__spec-body-inner strong {
  color: var(--home-ink);
}

/* Sections */
.product__section-title {
  margin: 0 0 1rem;
  font-family: var(--home-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.product__description,
.product__specs,
.product__faqs,
.product__reviews,
.product__related {
  margin-bottom: 2rem;
}

.product__description-shell {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
}

.product__description-content {
  line-height: 1.7;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__description-content h2,
.product__description-content h3 {
  font-family: var(--home-display);
  line-height: 1.25;
}

.product__description-content a {
  color: var(--home-primary-deep);
}

.product__description-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: calc(var(--home-radius) - 2px);
}

.product__description-shell.is-collapsible:not(.is-expanded)
  .product__description-content {
  max-height: var(--product-description-collapsed, 14rem);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - 8.5rem),
    rgba(0, 0, 0, 0.72) calc(100% - 6.5rem),
    rgba(0, 0, 0, 0.38) calc(100% - 4rem),
    rgba(0, 0, 0, 0.12) calc(100% - 2rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - 8.5rem),
    rgba(0, 0, 0, 0.72) calc(100% - 6.5rem),
    rgba(0, 0, 0, 0.38) calc(100% - 4rem),
    rgba(0, 0, 0, 0.12) calc(100% - 2rem),
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.product__description-shell.is-expanded .product__description-content {
  -webkit-mask-image: none;
  mask-image: none;
}

.product__description-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5rem;
  border-radius: 0 0 var(--home-radius) var(--home-radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 28%,
    rgba(255, 255, 255, 0.72) 52%,
    rgba(255, 255, 255, 0.94) 74%,
    #fff 100%
  );
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.product__description-shell.is-collapsible:not(.is-expanded)
  .product__description-fade {
  opacity: 1;
  visibility: visible;
}

.product__description-toggle {
  position: relative;
  z-index: 2;
  display: none;
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-primary-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  transition: color 0.15s ease;
}

.product__description-toggle:hover {
  color: var(--home-secondary);
}

.product__description-shell.is-collapsible .product__description-toggle {
  display: block;
}

.product__description-shell.is-collapsible:not(.is-expanded) {
  padding-bottom: 2.75rem;
}

.product__description-shell.is-collapsible:not(.is-expanded)
  .product__description-toggle {
  position: absolute;
  left: 1.5rem;
  bottom: 0.9rem;
  margin: 0;
}

/* FAQs */
.product__faqs {
  margin-top: 0.5rem;
}

.product__faqs-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.product__faqs-main {
  min-width: 0;
}

.product__faqs-head {
  margin-bottom: 1.25rem;
}

.product__faqs-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-secondary);
}

.product__faqs-title {
  margin: 0 0 0.45rem;
  font-family: var(--home-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.product__faqs-intro {
  margin: 0;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.product__faq-accordion {
  overflow: hidden;
  border-radius: var(--home-radius);
  background: var(--home-white);
  box-shadow:
    0 1px 0 rgba(15, 28, 46, 0.04),
    0 12px 36px rgba(15, 28, 46, 0.06);
}

.product__faq-item {
  border-bottom: 1px solid rgba(15, 28, 46, 0.06);
}

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

.product__faq-item[open] {
  background: linear-gradient(
    90deg,
    rgba(88, 159, 220, 0.1) 0%,
    rgba(88, 159, 220, 0.03) 100%
  );
}

.product__faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

.product__faq-trigger:hover {
  color: var(--home-primary-deep);
}

.product__faq-trigger::-webkit-details-marker {
  display: none;
}

.product__faq-question {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--home-ink);
  transition: color 0.25s ease;
}

.product__faq-item[open] .product__faq-question {
  color: var(--home-primary-deep);
}

.product__faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(88, 159, 220, 0.1);
  transition:
    background 0.3s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__faq-toggle::before,
.product__faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.65rem;
  height: 2px;
  border-radius: 1px;
  background: var(--home-primary-deep);
  transform: translate(-50%, -50%);
  transition:
    background 0.3s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.product__faq-item[open] .product__faq-toggle {
  background: var(--home-primary);
  transform: rotate(180deg);
}

.product__faq-item[open] .product__faq-toggle::before,
.product__faq-item[open] .product__faq-toggle::after {
  background: #fff;
}

.product__faq-item[open] .product__faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.product__faq-item > .product__faq-body {
  display: block !important;
  height: 0;
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__faq-body-inner {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--home-muted);
}

.product__faq-body-inner p {
  margin: 0 0 0.65rem;
}

.product__faq-body-inner p:last-child {
  margin-bottom: 0;
}

.product__faq-body-inner a {
  color: var(--home-primary-deep);
}

.product__faqs-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--home-muted);
}

.product__faqs-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--home-primary-deep);
  transition: color 0.15s ease;
}

.product__faqs-link:hover {
  color: var(--home-secondary);
}

/* FAQ sidebar */
.product__faqs-aside {
  min-width: 0;
}

.product__faqs-card {
  overflow: hidden;
  border-radius: var(--home-radius);
  background: linear-gradient(160deg, #152536 0%, #1e3348 55%, #243f58 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(15, 28, 46, 0.14);
}

.product__faqs-card-body {
  padding: 1.35rem 1.25rem 1.35rem;
}

.product__faqs-card-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0a9a6;
}

.product__faqs-card-title {
  margin: 0 0 0.5rem;
  font-family: var(--home-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.product__faqs-card-text {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.product__faqs-card-reviews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

.product__faqs-card-reviews .stars {
  color: #f5c842;
}

.product__faqs-card-actions {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product__faqs-card-action {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.product__faqs-card-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.product__faqs-card-action--primary {
  color: #fff;
  background: var(--home-secondary);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(214, 83, 78, 0.28);
}

.product__faqs-card-action--primary:hover {
  background: #c44540;
}

.product__faqs-card-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.95;
}

/* Reviews */
.product__reviews-head {
  margin-bottom: 1.25rem;
}

.product__reviews-head--has-aside {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.product__reviews-head-main {
  min-width: 0;
}

.product__reviews-head-aside {
  min-width: 0;
}

.product__reviews-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-secondary);
}

.product__reviews-title {
  margin: 0 0 0.45rem;
  font-family: var(--home-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.product__reviews-intro {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.product__reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
  box-shadow: 0 8px 24px rgba(15, 28, 46, 0.05);
  text-align: right;
  box-sizing: border-box;
}

.product__reviews-rating-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.55rem;
  margin: 0;
  line-height: 1.2;
}

.product__reviews-rating-value {
  font-family: var(--home-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--home-ink);
}

.product__reviews-rating-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-muted);
}

.product__reviews-rating .stars {
  color: #e8a317;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
}

.product__reviews-rating-count {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-ink);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .product__reviews-rating {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    column-gap: 0.55rem;
    row-gap: 0.15rem;
  }

  .product__reviews-rating-score {
    flex-wrap: nowrap;
  }

  .product__reviews-rating-count {
    flex: 1 1 100%;
    text-align: right;
  }
}

@media (min-width: 900px) {
  .product__reviews-rating {
    flex-wrap: nowrap;
  }

  .product__reviews-rating-count {
    flex: 0 0 auto;
    margin-left: 0.15rem;
  }

  .product__reviews-rating-count::before {
    content: "·";
    margin-right: 0.55rem;
    color: #c5cdd8;
    font-weight: 700;
  }
}

.product__reviews-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.product__reviews-main {
  min-width: 0;
}

.product__review-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-review-card {
  padding: 1.15rem 1.2rem 1.05rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.04);
}

.product-review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-review-card__identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.product-review-card__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: hsl(var(--review-avatar-hue, 210) 42% 88%);
  color: hsl(var(--review-avatar-hue, 210) 38% 32%);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-review-card__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  font-style: normal;
  color: var(--home-ink);
  line-height: 1.3;
}

.product-review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #2f8f5b;
}

.product-review-card__meta {
  flex-shrink: 0;
  text-align: right;
}

.product-review-card__rating .stars {
  display: block;
  color: #e8a317;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.product-review-card__date {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  color: var(--home-muted);
}

.product-review-card__quote {
  position: relative;
  margin: 0;
  padding-left: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--home-ink);
}

.product-review-card__quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-family: var(--home-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--home-primary);
  opacity: 0.55;
}

.product__reviews-aside {
  min-width: 0;
}

.product__guarantee-panel--sidebar {
  grid-template-columns: 1fr;
  gap: 1.15rem;
  text-align: left;
  padding: 1.35rem 1.25rem;
}

.product__guarantee-panel--sidebar .product__guarantee-mark {
  margin-inline: 0;
  width: 4.5rem;
  height: 4.5rem;
}

.product__guarantee-panel--sidebar .product__guarantee-title {
  font-size: 1.35rem;
}

.product__guarantee-panel--sidebar .product__guarantee-reviews {
  justify-content: flex-start;
}

.product__guarantee-panel--sidebar .product__guarantee-actions {
  align-items: stretch;
}

.product__guarantee-panel--sidebar .btn--guarantee {
  width: 100%;
}

/* Guarantee band */
.product__guarantee {
  margin: 2rem 0;
}

.product__guarantee-panel {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 1.5rem;
  border-radius: var(--home-radius);
  background: linear-gradient(135deg, #152536 0%, #1e3348 52%, #243f58 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(15, 28, 46, 0.16);
  overflow: hidden;
  text-align: center;
}

.product__guarantee-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 100% 40%,
    rgba(214, 83, 78, 0.2),
    transparent 68%
  );
  pointer-events: none;
}

.product__guarantee-mark {
  position: relative;
  z-index: 1;
  width: 5rem;
  height: 5rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.product__guarantee-mark-ring {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(214, 83, 78, 0.42);
  border-radius: 50%;
}

.product__guarantee-mark-value {
  font-family: var(--home-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.product__guarantee-mark-label {
  max-width: 4.5rem;
  margin-top: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.82);
}

.product__guarantee-body {
  position: relative;
  z-index: 1;
}

.product__guarantee-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0a9a6;
}

.product__guarantee-title {
  margin: 0 0 0.5rem;
  font-family: var(--home-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.product__guarantee-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.product__guarantee-reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

.product__guarantee-reviews .stars {
  color: #f5c842;
}

.product__guarantee-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.page-product .btn--guarantee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: var(--home-secondary);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(214, 83, 78, 0.28);
}

.page-product .btn--guarantee:hover {
  transform: translateY(-1px);
}

.product__guarantee-policy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.product__guarantee-policy:hover {
  color: #fff;
}

/* Trust band (shared partial) */
.collection__trust {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.collection__trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collection__trust-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
}

.collection__trust-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--home-primary-deep);
  background: rgba(88, 159, 220, 0.12);
}

.collection__trust-label {
  margin: 0 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--home-ink);
}

.collection__trust-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--home-muted);
}

/* Related products */
.product__related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Buttons */
.page-product .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--home-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.page-product .btn--primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--home-primary) 0%,
    var(--home-primary-deep) 100%
  );
  box-shadow: 0 10px 24px var(--home-primary-glow);
}

.page-product .btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.page-product .btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Product cards in related rail */
.page-product .product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-white);
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

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

.page-product .product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #f4f7fb;
}

.page-product .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.page-product .product-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--home-secondary);
  border-radius: 999px;
}

.page-product .product-card__badge--sale {
  background: var(--home-primary-deep);
}

.page-product .product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  padding: 0.85rem;
}

.page-product .product-card__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

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

.page-product .product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-product .product-card__rating .stars {
  font-size: 0.75rem;
  color: #f5a623;
}

.page-product .product-card__review-count {
  font-size: 0.6875rem;
  color: var(--home-muted);
}

.page-product .product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: auto;
}

.page-product .product-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
}

.page-product .product-card__price--sale {
  color: var(--home-secondary);
}

.page-product .product-card__price-old {
  font-size: 0.8125rem;
  color: var(--home-muted);
  text-decoration: line-through;
}

.page-product .product-card__stock {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--home-secondary);
}

@media (min-width: 768px) {
  body.page-product {
    --product-sticky-top: calc(var(--header-height, 4rem) + 1.25rem);
  }

  body.page-product:has(
      .site-top[data-has-announce] .site-announce:not(.is-dismissed)
    ) {
    --product-sticky-top: calc(var(--header-height, 4rem) + 3.375rem + 1rem);
  }

  .product__hero-panel {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2rem 1.5rem;
  }

  .product__hero-panel::before {
    inset: 0;
  }

  .product__media {
    position: sticky;
    top: var(--product-sticky-top);
    align-self: start;
    max-width: 20rem;
    margin-inline: 0;
  }

  .product__gallery-thumbs {
    justify-content: flex-start;
  }

  .product__gallery-main {
    max-height: 20rem;
  }

  .product__cart-row {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 1rem;
  }

  .product__perks {
    gap: 0.5rem 0;
  }

  .product__faqs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
    gap: 2rem;
  }

  .product__faqs-aside {
    position: sticky;
    top: var(--product-sticky-top);
  }

  .product__reviews-head--has-aside,
  .product__reviews-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
    gap: 2rem;
  }

  .product__reviews-aside {
    position: sticky;
    top: var(--product-sticky-top);
  }

  .product__guarantee-panel:not(.product__guarantee-panel--sidebar) {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    padding: 2rem;
  }

  .product__guarantee-mark {
    margin-inline: 0;
  }

  .product__guarantee-reviews {
    justify-content: flex-start;
  }

  .product__guarantee-actions {
    align-items: flex-end;
  }

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

  .product__related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product__faqs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    gap: 2.5rem;
  }

  .product__reviews-head--has-aside,
  .product__reviews-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    gap: 2.5rem;
  }

  .product__hero-panel {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 3rem;
    padding: 2.25rem 2rem;
  }

  .product__media {
    max-width: 22rem;
  }

  .product__gallery-main {
    max-height: 22rem;
  }

  .product__gallery-image {
    max-height: 22rem;
  }

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

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

  .page-product .product-card__title {
    font-size: 0.875rem;
  }
}

/* Sticky purchase bar */
.product-sticky {
  --product-sticky-height: 5.5rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 255;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(15, 28, 46, 0.08);
  box-shadow: 0 -12px 40px rgba(15, 28, 46, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.product-sticky__trust {
  grid-area: trust;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-sticky__trust::-webkit-scrollbar {
  display: none;
}

.product-sticky__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 28, 46, 0.08);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--home-muted);
  white-space: nowrap;
  text-decoration: none;
}

.product-sticky__trust-item--link {
  color: var(--home-primary-deep);
}

.product-sticky__trust-item--link:hover {
  background: rgba(88, 159, 220, 0.1);
  border-color: rgba(88, 159, 220, 0.2);
}

.product-sticky__trust-item--spin {
  color: var(--home-secondary);
}

.product-sticky__trust-item--spin:hover {
  background: rgba(214, 83, 78, 0.08);
  border-color: rgba(214, 83, 78, 0.18);
}

.product-sticky__trust-item--reviews .stars {
  color: #e8a317;
  font-size: 0.625rem;
  letter-spacing: 0;
}

.product-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-sticky__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "trust trust"
    "title actions";
  gap: 0.1rem 0.65rem;
  align-items: center;
  width: 100%;
  max-width: var(--container-max, 72rem);
  margin: 0 auto;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.product-sticky__thumb {
  display: none;
  grid-area: thumb;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--home-line);
  box-shadow: 0 4px 14px rgba(15, 28, 46, 0.06);
}

.product-sticky__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-sticky__title {
  grid-area: title;
  margin: 0;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--home-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
}

.product-sticky__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  align-self: center;
  height: 2.5rem;
}

.product-sticky__price-block {
  display: none;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  height: 2.5rem;
}

.product-sticky__price {
  font-family: var(--home-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--home-ink);
}

.product-sticky__price--sale {
  color: var(--home-secondary);
}

.product-sticky__price-old {
  font-size: 0.8125rem;
  color: var(--home-muted);
  text-decoration: line-through;
}

.product-sticky__qty-control {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 0.1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 28, 46, 0.1);
}

.product-sticky__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 0.9375rem;
  color: var(--home-ink);
  cursor: pointer;
}

.product-sticky__qty-btn:hover {
  background: rgba(88, 159, 220, 0.1);
}

.product-sticky__qty-input {
  width: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  -moz-appearance: textfield;
}

.product-sticky__qty-input::-webkit-outer-spin-button,
.product-sticky__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-sticky__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.8rem;
  font-family: var(--home-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  line-height: 1;
}

.product-sticky__cta-label--long {
  display: none;
}

.product-sticky__cta-label--short {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.product-sticky__cta-plus {
  flex-shrink: 0;
  opacity: 0.95;
}

body.page-product.has-product-sticky {
  padding-bottom: calc(
    var(--product-sticky-height, 5.5rem) + env(safe-area-inset-bottom, 0px)
  );
}

@media (max-width: 767px) {
  .product__hero-panel {
    gap: 1.25rem;
    padding-top: 0.5rem;
  }

  .product__hero-panel::before {
    inset: 0;
    border-radius: 1.25rem;
  }

  .product__media {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .product__gallery-main {
    max-height: none;
  }

  .product__gallery-image {
    max-height: none;
  }

  .product__gallery-thumbs {
    justify-content: flex-start;
  }

  .product__back {
    display: inline-flex;
    max-width: 100%;
  }

  .product__breadcrumb {
    display: none;
  }

  .product__qty-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .product__perk--calc {
    display: none;
  }

  .product__reviews-main {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .product__review-list {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .product__review-list::-webkit-scrollbar {
    display: none;
  }

  .product-review-card {
    flex: 0 0 min(82vw, 18.5rem);
    scroll-snap-align: start;
  }

  .product__guarantee-panel--sidebar {
    text-align: center;
  }

  .product__guarantee-panel--sidebar .product__guarantee-mark {
    margin-inline: auto;
  }

  .product__guarantee-panel--sidebar .product__guarantee-reviews {
    justify-content: center;
  }

  .product__guarantee-panel--sidebar .product__guarantee-actions {
    align-items: center;
  }

  body.page-product {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  body.page-product.has-product-sticky {
    padding-bottom: calc(
      var(--product-sticky-height) + env(safe-area-inset-bottom, 0px)
    );
  }

  body.page-product .bottom-nav,
  body.page-product .shop-sheet {
    display: none !important;
  }

  .product-sticky {
    --product-sticky-height: 5.25rem;
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .product-sticky__inner {
    padding: 0.45rem 0.85rem;
    gap: 0.3rem 0.65rem;
  }

  .product-sticky__title {
    font-size: 0.8125rem;
  }

  .product-sticky__cta-icon {
    display: none;
  }

  .product-sticky__cta {
    min-width: 4.75rem;
    padding-inline: 0.7rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 640px) {
  .product-sticky {
    --product-sticky-height: 6.25rem;
  }

  .product-sticky__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb title actions"
      "thumb trust actions";
    gap: 0.1rem 1.25rem;
    align-items: center;
    padding-inline: 1.25rem;
  }

  .product-sticky__thumb {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    align-self: center;
  }

  .product-sticky__trust {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    align-self: start;
    margin-top: 0;
  }

  .product-sticky__price-block {
    display: inline-flex;
  }

  .product-sticky__title {
    font-size: 0.9375rem;
    -webkit-line-clamp: 1;
    align-self: end;
    padding-bottom: 0.05rem;
  }

  .product-sticky__actions {
    gap: 0.85rem;
    align-self: center;
  }

  .product-sticky__cta {
    height: 2.5rem;
    min-height: 2.5rem;
    padding-inline: 1.15rem;
    font-size: 0.8125rem;
  }

  .product-sticky__cta-icon {
    display: inline;
  }

  .product-sticky__cta-label--short {
    display: none;
  }

  .product-sticky__cta-label--long {
    display: inline;
  }
}
