:root {
  --nk-primary: #c4837a;
  --nk-primary-dark: #a86b63;
  --nk-secondary: #e8c4bf;
  --nk-accent: #c9a96e;
  --nk-text: #2d1f1e;
  --nk-text-muted: #9a7b79;
  --nk-bg: #fdf6f5;
  --nk-bg-surface: #ffffff;
  --nk-border: #f0ddd9;
  --nk-radius: 24px;
  --nk-font-heading: "Cormorant Garamond", Georgia, serif;
  --nk-font-body: "Nunito Sans", system-ui, sans-serif;
  --nk-container-width: 1200px;
}

body {
  background: var(--nk-bg);
  color: var(--nk-text);
  font-family: var(--nk-font-body);
}

.nk-cosmetics-shell {
  max-width: var(--nk-container-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.nk-cosmetics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.nk-cosmetics-card {
  overflow: hidden;
  background: var(--nk-bg-surface);
  border: 1px solid rgba(240, 221, 217, 0.9);
  border-radius: var(--nk-radius);
  box-shadow: 0 16px 34px rgba(196, 131, 122, 0.08);
}

.nk-cosmetics-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at top, rgba(232, 196, 191, 0.7), #fff 60%);
}

.nk-cosmetics-card__media img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.nk-cosmetics-card__body {
  padding: 20px;
}

.nk-cosmetics-card__title {
  margin: 0 0 10px;
  font-family: var(--nk-font-heading);
  font-size: 28px;
}

.nk-cosmetics-card__title a {
  color: var(--nk-text);
  text-decoration: none;
}

.nk-cosmetics-card__price {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
}

.nk-cosmetics-card__badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.14);
  color: #9c6a24;
  font-size: 12px;
}

.nk-cosmetics-shades {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nk-cosmetics-shade {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid transparent;
  position: relative;
}

.nk-cosmetics-shade.is-active {
  border-color: var(--nk-primary);
}

.nk-cosmetics-accordion {
  overflow: hidden;
  border: 1px solid var(--nk-border);
  border-radius: 22px;
  background: #fff;
}

.nk-cosmetics-accordion details + details {
  border-top: 1px solid var(--nk-border);
}

.nk-cosmetics-accordion summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.nk-cosmetics-accordion__body {
  padding: 0 20px 18px;
  color: var(--nk-text-muted);
  line-height: 1.8;
}

.nk-cosmetics-before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--nk-radius);
  min-height: 420px;
  background: linear-gradient(90deg, rgba(232, 196, 191, 0.48), rgba(255, 255, 255, 0.9));
}

.nk-cosmetics-before-after__panel {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.nk-cosmetics-before-after__panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nk-furniture-room-scene {
  width: 100%;
}

.nk-furniture-room-scene__main img {
  width: 100%;
  object-fit: contain;
}

.nk-furniture-room-scene__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.nk-furniture-room-scene__thumb {
  width: 72px;
  height: 72px;
  cursor: pointer;
  border: 1px solid var(--nk-border);
  border-radius: 18px;
  overflow: hidden;
}

.nk-furniture-room-scene__thumb.is-active {
  border-color: var(--nk-primary);
}

.nk-furniture-room-scene__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nk-cosmetics-before-after__panel--after {
  clip-path: inset(0 0 0 48%);
}

.nk-cosmetics-before-after__label {
  position: absolute;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 31, 30, 0.72);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nk-cosmetics-before-after__label--before {
  left: 18px;
}

.nk-cosmetics-before-after__label--after {
  right: 18px;
}

.nk-cosmetics-before-after__slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  width: 2px;
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
  .nk-cosmetics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nk-cosmetics-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nk-cosmetics-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Sticky ATC Bar (shared component) --- */
.nk-fashion-sticky-atc {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--nk-surface, #fff);
  border-top: 1px solid var(--nk-border, #e5e7eb);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}

.nk-fashion-sticky-atc.is-visible {
  display: flex;
}

.nk-fashion-sticky-atc__name {
  font-weight: 600;
  font-size: 15px;
}

.nk-fashion-sticky-atc__price {
  color: var(--nk-primary, #18181b);
  font-size: 15px;
}
