.product-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--blush);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.product-brand {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
}

.product-price {
  font-weight: 700;
}

.product-price .compare {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-inline-start: 0.35rem;
  font-size: var(--text-sm);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--rose);
  font-size: var(--text-xs);
}

.stars span {
  color: var(--muted);
  margin-inline-start: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
}

.badge-new {
  background: var(--rose);
}

.badge-limited {
  background: #7c2d12;
}

.badge-bestseller {
  background: var(--ink);
}

.card-badges {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 2;
}

.wish-btn {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  cursor: pointer;
}

.wish-btn.is-active {
  color: var(--rose);
}

.wish-btn.is-active svg {
  fill: var(--rose);
}

.quick-add {
  margin-top: var(--space-2);
}

.category-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 12rem;
  display: block;
  box-shadow: var(--shadow-md);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.45s var(--ease);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card span {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: var(--space-4);
  background: linear-gradient(transparent, rgba(26, 18, 20, 0.72));
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  z-index: 1;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--white);
}

.chip-ink {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink-soft);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.swatch {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.swatch.is-selected {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

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

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

.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
}

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

.accordion details[open] summary {
  color: var(--rose);
}

.accordion .acc-body {
  padding-bottom: 1rem;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--white);
}

.qty button {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.qty input {
  width: 2.5rem;
  text-align: center;
  border: 0;
  background: transparent;
}

.cart-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 4.5rem;
  height: 5.4rem;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.cart-line h4 {
  font-size: var(--text-base);
  margin: 0 0 0.2rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  min-width: 18rem;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.mosaic a {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: block;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.mosaic a:hover img {
  transform: scale(1.05);
}

.look-band {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .look-band {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.look-band figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 18rem;
}

.look-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.look-band figcaption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: var(--space-5);
  color: var(--white);
  background: linear-gradient(transparent, rgba(26, 18, 20, 0.7));
  z-index: 1;
}

.step-cards {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .step-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.step-card-body {
  padding: var(--space-5);
}

.step-num {
  color: var(--rose);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 16rem);
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-snap-type: x mandatory;
}

.strip > * {
  scroll-snap-align: start;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}

.filter-bar select,
.filter-bar input {
  min-width: 8rem;
}

.checkout-steps {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.checkout-steps .step {
  flex: 1;
  min-width: 7rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
}

.checkout-steps .step.is-active,
.checkout-steps .step.is-done {
  border-color: var(--rose);
  color: var(--ink);
}

.checkout-steps .step.is-active {
  background: var(--blush);
}

.panel {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  border: 1px solid var(--line);
}

.summary-box {
  background: var(--blush);
  border-radius: var(--radius-2xl);
  padding: var(--space-5);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.summary-row.total {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
