/**
 * RW - The Shop the look : front styles.
 * Consumes Hummingbird/Bootstrap CSS variables, falling back to La Good'as tokens.
 */
.rwths-look {
  --rwths-accent: var(--bs-primary, #c08428);
  --rwths-accent-soft: #fbf2dc;
  --rwths-cream: #faf6ee;
  --rwths-ink: var(--bs-dark, #14110d);
  --rwths-muted: var(--bs-secondary-color, #8a8175);
  --rwths-line: var(--bs-border-color, #e8e1d3);
  --rwths-radius: var(--bs-border-radius-xl, 1.25rem);
  --rwths-radius-sm: var(--bs-border-radius, 0.75rem);

  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}

@media (max-width: 767.98px) {
  .rwths-look { grid-template-columns: 1fr; }
}

/* ---- Media + hotspots ---- */
.rwths-look__media {
  position: relative;
  border-radius: var(--rwths-radius);
  overflow: hidden;
  min-height: 240px;
}

.rwths-look__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rwths-look__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.rwths-look__pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rwths-ink);
  box-shadow: 0 0 0 3px #fff;
}

.rwths-look__pin:hover,
.rwths-look__pin.is-active {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 0.85);
}

/* ---- Panel ---- */
.rwths-look__panel {
  background: var(--rwths-cream);
  border-radius: var(--rwths-radius);
  padding: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
    max-width: calc(100vw - 20px);
}

.rwths-look__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rwths-muted);
  margin-bottom: 1rem;
}

.rwths-look__subtitle {
  color: var(--rwths-muted);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.rwths-look__products {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rwths-look__product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border-radius: var(--rwths-radius-sm);
  padding: 0.6rem;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.rwths-look__product.is-active {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.rwths-look__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: var(--bs-border-radius, 0.5rem);
  overflow: hidden;
}

.rwths-look__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rwths-look__info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.rwths-look__brand {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--rwths-muted);
}

.rwths-look__name {
  color: var(--rwths-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rwths-look__name:hover { text-decoration: underline; }

.rwths-look__price {
  color: var(--rwths-accent);
  font-weight: 700;
}

.rwths-look__price-old {
  color: var(--rwths-muted);
  font-weight: 400;
  margin-left: 0.4rem;
  font-size: 0.85em;
}

.rwths-look__add {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--rwths-ink);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.rwths-look__add:hover { background: var(--rwths-accent); transform: scale(1.05); }
.rwths-look__add.is-loading { opacity: 0.6; pointer-events: none; }

.rwths-look__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.5rem 0 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rwths-line);
  color: var(--rwths-muted);
}

.rwths-look__total-amount {
  color: var(--rwths-accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.rwths-look__addall {
  width: 100%;
  border-radius: var(--bs-border-radius-pill, 999px);
  font-weight: 600;
  padding-block: 0.75rem;
}
