:root {
  color-scheme: light;
  --page: #fff8f7;
  --surface: #ffffff;
  --surface-soft: #fff1ef;
  --ink: #0d0d0f;
  --muted: #66666f;
  --subtle: #8d8084;
  --line: rgba(13, 13, 15, 0.12);
  --line-strong: rgba(13, 13, 15, 0.24);
  --blush: #f7c7c8;
  --blush-deep: #c84445;
  --mint: #dcefe7;
  --blue: #a9d8e7;
  --green: #28845f;
  --badge-color: #a9d8e7;
  --shadow: 0 18px 38px rgba(44, 27, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.cart-drawer-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fff 0, #fff8f7 42%, #f7fbfc 100%);
}

.app[data-embed="true"] {
  min-height: auto;
}

.storefront {
  margin: 0 auto;
  max-width: 1240px;
  padding-top: 12px;
}

.promo-strip {
  align-items: center;
  background: var(--blush);
  color: var(--ink);
  display: flex;
  font-size: 12px;
  font-weight: 760;
  gap: 18px;
  justify-content: center;
  min-height: 36px;
  overflow: hidden;
  padding: 8px 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-strip span:nth-child(n + 2) {
  display: none;
}

.store-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 0 16px;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: 6px;
  height: 44px;
  justify-content: center;
  justify-self: start;
  padding: 0;
  width: 44px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 1.5px;
  width: 20px;
}

.store-header__brand {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.store-header__cart {
  align-items: end;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 1px;
  min-width: 62px;
  padding: 0;
  text-align: right;
}

.store-header__cart.is-bumped {
  animation: cart-bump 360ms ease;
}

.store-header__cart span,
.panel-heading span,
.cart-totals p {
  color: var(--muted);
  font-size: 12px;
}

.store-header__cart strong {
  font-size: 15px;
  font-weight: 860;
}

.cart-backdrop {
  background: rgba(13, 13, 15, 0.42);
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 55;
}

.cart-backdrop.is-visible {
  opacity: 1;
}

.media-showcase {
  background: #fff;
  display: grid;
  gap: 0;
  padding: 0;
}

.media-showcase figure {
  margin: 0;
}

.media-showcase img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-showcase__hero {
  aspect-ratio: 1 / 1.06;
  background: #f7f7f8;
  overflow: hidden;
  position: relative;
}

.media-showcase__hero img {
  object-position: 50% 42%;
}

.media-showcase__hero--product img {
  object-fit: contain;
  padding: 28px;
}

.media-badge {
  background: var(--blush);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  left: 16px;
  letter-spacing: 0;
  padding: 7px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 16px;
  z-index: 1;
}

.media-showcase__rail {
  display: none;
  gap: 8px;
  grid-auto-columns: minmax(74px, 22%);
  grid-auto-flow: column;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
}

.media-showcase__rail figure {
  aspect-ratio: 1 / 1;
  background: #f7f7f8;
  border: 1px solid var(--line);
  overflow: hidden;
  scroll-snap-align: start;
}

.media-thumb {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  height: 100%;
  padding: 0;
  width: 100%;
}

.media-thumb[aria-current="true"] {
  box-shadow: inset 0 0 0 3px var(--ink);
}

.media-thumb:focus-visible {
  outline: 3px solid var(--blush-deep);
  outline-offset: -3px;
}

.media-showcase__rail .media-thumb img {
  object-fit: contain;
  padding: 6px;
}

.product-intro {
  background: #fff;
  display: grid;
  gap: 10px;
  padding: 14px 16px 12px;
}

.rating-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 7px;
}

.rating-row__stars {
  color: var(--blush-deep);
  font-size: 15px;
  letter-spacing: 1px;
}

.product-intro h1 {
  font-size: clamp(29px, 8.2vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.status-pill {
  align-items: center;
  background: var(--surface-soft);
  border-radius: 999px;
  color: var(--blush-deep);
  display: inline-flex;
  font-size: 13px;
  font-weight: 840;
  gap: 8px;
  justify-self: start;
  min-height: 32px;
  padding: 7px 12px;
}

.status-pill span {
  background: var(--blush-deep);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.benefit-list {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 2px 0 8px;
}

.benefit-list li {
  color: #222126;
  font-size: 14px;
  line-height: 1.32;
  padding-left: 31px;
  position: relative;
}

.hero-cta {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

.benefit-list li::before {
  background: var(--blush);
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.benefit-list li::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 8px;
  left: 7px;
  position: absolute;
  top: 4px;
  transform: rotate(45deg);
  width: 5px;
}

.shop-grid {
  display: grid;
  gap: 10px;
  padding: 8px 0 18px;
}

.builder-panel,
.cart-panel {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.cart-panel,
.builder-panel {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}

.cart-panel.is-open {
  align-content: start;
  border: 0;
  bottom: 0;
  box-shadow: -18px 0 46px rgba(13, 13, 15, 0.2);
  display: grid;
  gap: 14px;
  max-width: 430px;
  overflow-y: auto;
  padding: 18px;
  position: fixed;
  right: 0;
  top: 0;
  width: min(100vw, 430px);
  z-index: 60;
}

.builder-panel {
  order: 1;
}

.cart-panel {
  order: 3;
}

.panel-heading {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
}

.cart-close {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font-size: 24px;
  font-weight: 760;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.cart-panel.is-open .cart-close {
  display: flex;
}

.panel-heading h2,
.builder-panel__top h1,
.builder-panel__top h2 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0;
}

.eyebrow,
.label {
  color: var(--blush-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.builder-panel__top {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.price-pill {
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  justify-self: start;
  min-width: 74px;
  padding: 9px 13px;
  text-align: center;
}

.builder-layout {
  display: grid;
  gap: 12px;
}

.preview-shell {
  min-width: 0;
  order: -1;
}

.preview-stage {
  align-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 22% 18%, rgba(247, 199, 200, 0.8), transparent 29%),
    radial-gradient(circle at 88% 82%, rgba(220, 239, 231, 0.9), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fff9e9 100%);
  display: grid;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
}

.badge-svg {
  max-height: 86%;
  width: min(70vw, 330px);
}

#badge-body {
  fill: var(--badge-color);
}

#badge-label {
  fill: #fff;
  font-family: "Arial Black", "Liberation Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.badge-charm {
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.builder-controls,
.product-list,
.cart-list {
  display: grid;
  gap: 8px;
}

.control-group {
  display: grid;
  gap: 7px;
}

.optional-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 0;
}

.optional-group summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  min-height: 46px;
  padding: 0 12px;
}

.optional-group summary::-webkit-details-marker {
  display: none;
}

.optional-group summary span {
  color: var(--blush-deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.optional-group summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.optional-group summary::after {
  color: var(--ink);
  content: "+";
  font-size: 18px;
  font-weight: 900;
  margin-left: 10px;
}

.optional-group[open] summary {
  border-bottom: 1px solid var(--line);
}

.optional-group[open] summary::after {
  content: "-";
}

.input {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  min-height: 48px;
  outline: none;
  padding: 12px;
  width: 100%;
}

.input:focus,
.quantity-input:focus {
  border-color: var(--blush-deep);
  box-shadow: 0 0 0 3px rgba(247, 199, 200, 0.55);
}

.meta-row {
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: space-between;
}

.product-option,
.size-option,
.swatch,
.charm-option {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.product-option {
  display: grid;
  gap: 6px;
  padding: 11px;
}

.product-option[aria-checked="true"],
.size-option[aria-checked="true"] {
  background: var(--surface-soft);
  border-color: var(--blush-deep);
  box-shadow: inset 3px 0 0 var(--blush-deep);
}

.product-option__top {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.product-option__name {
  font-weight: 850;
  line-height: 1.18;
}

.product-option__description,
.size-option__meta,
.swatch__label,
.cart-item__meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
}

.product-option__description {
  display: none;
}

.size-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.charm-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 10px;
}

.charm-option {
  align-items: center;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-height: 58px;
  padding: 7px 5px;
  text-align: center;
}

.charm-option[aria-checked="true"] {
  background: var(--surface-soft);
  border-color: var(--blush-deep);
  box-shadow: inset 0 -3px 0 var(--blush-deep);
}

.charm-option__icon,
.charm-option__none {
  align-items: center;
  display: grid;
  height: 25px;
  justify-items: center;
  width: 25px;
}

.charm-option__icon img {
  display: block;
  filter: brightness(0);
  height: 23px;
  object-fit: contain;
  width: 23px;
}

.charm-option__none {
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
}

.charm-option__none::after {
  background: var(--line-strong);
  content: "";
  height: 2px;
  position: absolute;
  transform: rotate(-38deg);
  width: 27px;
}

.charm-option__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.size-option {
  display: grid;
  gap: 5px;
  min-height: 68px;
  padding: 10px;
}

.size-option__name {
  font-size: 13px;
  font-weight: 820;
  line-height: 1.14;
}

.swatches {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swatch {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-height: 58px;
  padding: 7px;
  text-align: center;
}

.swatch[aria-checked="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--ink);
}

.swatch__chip {
  aspect-ratio: 3.1 / 1;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  width: 100%;
}

.specs {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: none;
  margin: 2px 0;
  padding: 6px 0;
}

.specs div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 8px 0;
}

.specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.specs dd {
  font-size: 13px;
  font-weight: 760;
  margin: 0;
  text-align: right;
}

.quantity-row {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
}

.icon-btn,
.mini-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.icon-btn {
  min-height: 46px;
}

.quantity-row__value {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  min-width: 0;
  padding: 0 10px;
}

.quantity-row__value span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.quantity-input {
  border: 0;
  color: var(--ink);
  min-height: 44px;
  outline: none;
  text-align: right;
  width: 100%;
}

.actions {
  background: rgba(255, 255, 255, 0.94);
  bottom: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin: 2px -16px -16px;
  padding: 12px 16px 14px;
  position: sticky;
  z-index: 5;
}

.actions .btn--secondary {
  display: none;
}

.btn {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  min-height: 48px;
  padding: 11px 12px;
  text-transform: uppercase;
}

.btn:hover:not(:disabled) {
  background: #26262c;
  border-color: #26262c;
}

.btn.is-added {
  animation: add-confirm 520ms ease;
  background: var(--green);
  border-color: var(--green);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
}

.btn--checkout {
  background: var(--green);
  border-color: var(--green);
  width: 100%;
}

.cart-empty {
  background: #f8f8f9;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  padding: 14px;
}

.cart-empty[hidden] {
  display: none;
}

.cart-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 10px;
}

.cart-item__swatch {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  min-height: 100%;
}

.cart-item__body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.cart-item__top {
  align-items: start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.cart-item__top strong,
.cart-item__top span {
  font-size: 13px;
  line-height: 1.2;
}

.cart-item__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-item__actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  min-width: 42px;
  text-align: center;
}

.mini-btn {
  font-size: 12px;
  min-height: 30px;
  min-width: 30px;
  padding: 5px 8px;
}

.mini-btn--remove {
  color: #9b2c2c;
  margin-left: auto;
}

.cart-totals {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.cart-totals div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-totals span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.cart-totals strong {
  font-size: 22px;
}

.cart-totals p,
.checkout-status {
  line-height: 1.35;
  margin: 0;
}

.checkout-status {
  color: var(--muted);
  font-size: 13px;
  min-height: 18px;
}

.inspiration-section {
  background: #ffc0c2;
  border-top: 1px solid rgba(200, 68, 69, 0.14);
  display: grid;
  gap: 20px;
  overflow: hidden;
  padding: 28px 0 30px;
}

.inspiration-heading {
  display: grid;
  gap: 8px;
  margin: 0 auto;
  max-width: 720px;
  padding: 0 18px;
  text-align: center;
}

.inspiration-heading h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.inspiration-heading p {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
}

.inspiration-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 16px 4px;
  scroll-padding: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.inspiration-scroll::-webkit-scrollbar {
  display: none;
}

.inspiration-card {
  aspect-ratio: 4 / 5;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(89, 39, 45, 0.16);
  flex: 0 0 min(68vw, 240px);
  margin: 0;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
}

.inspiration-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  width: 100%;
}

.inspiration-card__caption {
  background: linear-gradient(180deg, rgba(13, 13, 15, 0) 0%, rgba(13, 13, 15, 0.72) 100%);
  bottom: 0;
  color: #fff;
  display: grid;
  gap: 2px;
  left: 0;
  padding: 56px 14px 14px;
  position: absolute;
  right: 0;
}

.inspiration-card__caption strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.inspiration-card__caption span {
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
}

.testimonials-section {
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #fff1ef 100%);
  border-bottom: 12px solid var(--blush);
  border-top: 1px solid rgba(247, 199, 200, 0.8);
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: 36px 0 32px;
}

.testimonials-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
}

.testimonials-heading h2 {
  font-size: clamp(24px, 4.8vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.testimonials-heading h2 span {
  color: #f5a1a8;
}

.testimonials-score {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.testimonials-score span {
  color: var(--blush-deep);
  letter-spacing: 1px;
}

.testimonials-score strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.testimonial-list {
  display: grid;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.testimonial-row {
  display: flex;
  gap: 28px;
  min-width: max-content;
  padding: 0 28px;
}

.testimonial-row--offset {
  transform: translateX(-112px);
}

.testimonial-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(247, 199, 200, 0.72);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(200, 68, 69, 0.18);
  display: flex;
  flex: 0 0 clamp(270px, 26vw, 340px);
  gap: 14px;
  min-height: 112px;
  padding: 18px 24px 18px 28px;
}

.testimonial-avatar {
  align-items: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.65), transparent 38%),
    var(--avatar-bg, var(--blush));
  border: 2px solid #fff;
  border-radius: 50%;
  color: rgba(13, 13, 15, 0.62);
  display: grid;
  flex: 0 0 52px;
  font-size: 16px;
  font-weight: 900;
  height: 52px;
  place-items: center;
  position: relative;
  text-transform: uppercase;
  width: 52px;
}

.testimonial-avatar span {
  align-items: center;
  background: #ffa9b0;
  border-radius: 50%;
  bottom: -1px;
  color: #fff;
  display: flex;
  font-size: 10px;
  font-weight: 900;
  height: 23px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -9px;
  width: 23px;
}

.testimonial-card p {
  color: #4c474b;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
  margin: 0;
}

.testimonials-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  gap: 16px;
  padding: 18px 16px 24px;
}

.testimonials-heading {
  align-items: stretch;
  display: grid;
  gap: 10px;
  justify-content: stretch;
  padding: 0;
  text-align: left;
}

.testimonials-heading h2 {
  font-size: 26px;
  line-height: 1.05;
}

.testimonials-score {
  align-items: start;
  display: grid;
  gap: 4px;
}

.testimonials-score span,
.testimonial-card__stars {
  color: var(--blush-deep);
  letter-spacing: 1px;
}

.testimonial-list {
  gap: 12px;
  overflow: visible;
  width: auto;
}

.testimonial-card {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  display: block;
  flex: initial;
  gap: 0;
  min-height: 188px;
  overflow: hidden;
  padding: 0;
}

.testimonial-card__copy {
  align-content: center;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
}

.testimonial-card__stars {
  font-size: 12px;
}

.testimonial-card h3 {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0;
}

.testimonial-card p {
  color: #202024;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.36;
}

.testimonial-card small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.34;
}

.cart-toast {
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(13, 13, 15, 0.24);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  left: 50%;
  max-width: calc(100vw - 32px);
  opacity: 0;
  padding: 12px 18px;
  pointer-events: none;
  position: fixed;
  text-align: center;
  text-transform: uppercase;
  top: 84px;
  transform: translate(-50%, -14px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
  z-index: 50;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes add-confirm {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(0.96);
  }
  74% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@media (min-width: 700px) {
  .promo-strip span:nth-child(n + 2) {
    display: inline;
  }

  .store-header {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    min-height: 72px;
  }

  .store-header__brand {
    font-size: 18px;
  }

  .media-showcase,
  .shop-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .media-showcase {
    gap: 10px;
  }

  .media-showcase__rail {
    display: grid;
  }

  .builder-panel,
  .cart-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .product-option__description {
    display: block;
  }

  .specs {
    display: grid;
  }

  .actions {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .actions .btn--secondary {
    display: block;
  }

  .preview-stage {
    border-radius: 8px;
  }

  .media-showcase__hero,
  .media-showcase__rail figure {
    border-radius: 8px;
  }

  .inspiration-section {
    margin-left: 24px;
    margin-right: 24px;
    padding: 34px 0 36px;
  }

  .inspiration-heading h2 {
    font-size: 30px;
  }

  .inspiration-heading p {
    font-size: 15px;
  }

  .inspiration-scroll {
    gap: 18px;
    padding-left: 28px;
    padding-right: 28px;
    scroll-padding: 28px;
  }

  .inspiration-card {
    flex-basis: 232px;
  }

  .testimonials-section {
    margin-left: 24px;
    margin-right: 24px;
    padding: 20px;
  }

  .testimonials-heading {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 980px) {
  .app {
    padding-bottom: 32px;
  }

  .storefront {
    display: block;
    padding-top: 24px;
  }

  .media-showcase {
    background: transparent;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    padding: 0 24px 18px;
  }

  .media-showcase__hero {
    aspect-ratio: 4 / 3;
    max-height: 460px;
  }

  .media-showcase__hero img {
    object-position: 50% 42%;
  }

  .media-showcase__rail {
    gap: 12px;
    grid-auto-columns: initial;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .media-showcase__rail figure {
    aspect-ratio: 1 / 1;
  }

  .shop-grid {
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    padding: 0 24px 32px;
  }

  .inspiration-section,
  .testimonials-section {
    grid-column: 1 / -1;
    margin: 0 24px;
  }

  .testimonial-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inspiration-scroll {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 980px;
    overflow: visible;
    padding-bottom: 0;
    width: 100%;
  }

  .inspiration-card {
    flex-basis: auto;
  }

  .builder-panel {
    grid-column: 1 / -1;
    order: 1;
  }

  .cart-panel {
    grid-column: 1 / -1;
    order: 3;
    position: static;
  }

  .builder-layout {
    grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  }

  .preview-shell {
    order: 0;
  }

  .preview-stage {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .badge-svg {
    width: min(100%, 300px);
  }

  .actions {
    grid-template-columns: 0.8fr 1.2fr;
    margin: 0;
    padding: 0;
    position: static;
  }
}

@media (max-width: 430px) {
  .store-header {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 0 12px;
  }

  .store-header__brand {
    font-size: 16px;
  }

  .store-header__cart {
    min-width: 62px;
  }

  .rating-row {
    font-size: 13px;
  }

  .product-intro h1 {
    font-size: 29px;
  }

  .charm-list {
    grid-template-columns: 1fr;
  }

  .size-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .charm-option {
    grid-template-columns: 34px minmax(0, 1fr);
    justify-items: start;
    min-height: 48px;
    text-align: left;
  }
}
