/* ─────────────────────────────────────────
   LDD Reviews Widget  –  brand Le Due Dimore
   ───────────────────────────────────────── */

:root {
  --ldd-sand:        #CB9C73;
  --ldd-sand-light:  #D4B896;
  --ldd-sand-dark:   #A87A52;
  --ldd-green:       #6A8F70;
  --ldd-green-light: #8FAF95;
  --ldd-text:        #1A1817;
  --ldd-text-mid:    #5A5A5A;
  --ldd-text-light:  #8A8A8A;
  --ldd-white:       #FAF8F5;
  --ldd-cream:       #F2EDE6;
  --ldd-border:      rgba(203,156,115,.20);
}

/* ── SECTION ───────────────────────────── */
.ldd-reviews {
  padding: 72px 24px;
  background: var(--ldd-cream);
  font-family: inherit;
}

/* ── HEADER ────────────────────────────── */
.ldd-reviews__header {
  text-align: center;
  margin-bottom: 40px;
}
.ldd-reviews__eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ldd-sand);
  margin: 0 0 10px;
}
.ldd-reviews__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--ldd-text);
  margin: 0;
  line-height: 1.2;
}

/* ── RATING BADGE ──────────────────────── */
.ldd-reviews__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.ldd-badge__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ldd-badge__score {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--ldd-text);
  line-height: 1;
}
.ldd-badge__stars {
  display: flex;
  gap: 3px;
}
.ldd-badge__right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--ldd-border);
  text-decoration: none;
  border-radius: 6px;
  padding: 6px 10px 6px 20px;
  transition: background .15s;
}
.ldd-badge__right:hover {
  background: rgba(203,156,115,.08);
}
.ldd-badge__glogo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.ldd-badge__label {
  font-size: 13px;
  color: var(--ldd-text-mid);
  line-height: 1.4;
}

/* ── STARS ─────────────────────────────── */
.ldd-star {
  width: 16px;
  height: 16px;
  fill: var(--ldd-border);
}
.ldd-star--full {
  fill: var(--ldd-sand);
}
.ldd-badge__stars .ldd-star {
  width: 20px;
  height: 20px;
}

/* ── CAROUSEL ──────────────────────────── */
.ldd-carousel {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.ldd-carousel__track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: stretch;
}

/* ── REVIEW CARD ───────────────────────── */
.ldd-review-card {
  background: var(--ldd-white);
  border: 1px solid var(--ldd-border);
  border-radius: 12px;
  padding: 28px 28px 24px;
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(26,24,23,.04);
  transition: box-shadow .2s;
}
.ldd-review-card:hover {
  box-shadow: 0 6px 24px rgba(26,24,23,.08);
}

.ldd-review-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ldd-review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ldd-sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ldd-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ldd-avatar__initials {
  font-size: 16px;
  font-weight: 600;
  color: var(--ldd-white);
  font-family: 'Montserrat', sans-serif;
}
.ldd-review-card__meta {
  flex: 1;
  min-width: 0;
}
.ldd-review-card__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--ldd-text);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ldd-review-card__author a {
  color: inherit;
  text-decoration: none;
}
.ldd-review-card__author a:hover {
  color: var(--ldd-sand);
}
.ldd-review-card__date {
  font-size: 12px;
  color: var(--ldd-text-light);
  margin: 0;
}
.ldd-review-card__stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.ldd-review-card__stars .ldd-star {
  width: 14px;
  height: 14px;
}
.ldd-review-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ldd-text-mid);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── NAVIGATION ─────────────────────────── */
.ldd-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.ldd-carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ldd-border);
  background: var(--ldd-white);
  color: var(--ldd-text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.ldd-carousel__btn:hover:not(:disabled) {
  background: var(--ldd-sand);
  border-color: var(--ldd-sand);
  color: var(--ldd-white);
}
.ldd-carousel__btn:disabled {
  opacity: .35;
  cursor: default;
}
.ldd-carousel__btn svg {
  width: 18px;
  height: 18px;
}
.ldd-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ldd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ldd-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.ldd-dot--active {
  background: var(--ldd-sand);
  width: 22px;
  border-radius: 4px;
}

/* ── CTA LINK ──────────────────────────── */
.ldd-reviews__cta {
  text-align: center;
  margin-top: 40px;
}
.ldd-reviews__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ldd-text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--ldd-border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.ldd-reviews__link:hover {
  color: var(--ldd-sand);
  border-color: var(--ldd-sand);
}
.ldd-reviews__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 860px) {
  .ldd-review-card {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 560px) {
  .ldd-reviews {
    padding: 48px 16px;
  }
  .ldd-review-card {
    flex: 0 0 calc(100% - 0px);
  }
  .ldd-badge__right {
    display: none;
  }
}
