:root {
  --llsr-ink: #351014;
  --llsr-wine: #98245c;
  --llsr-rose: #e997bc;
  --llsr-gold: #d6a928;
  --llsr-cream: #fbf6f2;
  --llsr-line: #ead9dc;
}

.llsr-templates[hidden] { display: none !important; }

.llsr-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 8px;
  color: #69565a !important;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none !important;
}
.llsr-product-badge > span { color: var(--llsr-gold); font-size: 18px; letter-spacing: 2px; }
.llsr-product-badge strong { color: var(--llsr-ink); font-size: 14px; }
.llsr-product-badge small { padding-left: 9px; border-left: 1px solid var(--llsr-line); font-size: 12px; }

.llsr-showcase {
  width: min(1180px, calc(100% - 48px));
  margin: clamp(48px, 6vw, 82px) auto;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--llsr-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 5%, rgba(233,151,188,.24), transparent 28%),
    linear-gradient(145deg, #fff 0%, var(--llsr-cream) 100%);
  box-shadow: 0 22px 60px rgba(53,16,20,.08);
  box-sizing: border-box;
}
.llsr-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.llsr-heading > div:first-child > span {
  color: var(--llsr-wine);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.llsr-heading h2 {
  margin: 7px 0 0;
  color: var(--llsr-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 500;
  line-height: 1;
}
.llsr-summary { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.llsr-summary > strong { color: var(--llsr-ink); font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.llsr-summary span { display: grid; }
.llsr-summary b { color: var(--llsr-gold); font-size: 17px; letter-spacing: 2px; }
.llsr-summary small { color: #79666a; font-size: 11px; }
.llsr-viewport { position: relative; }
.llsr-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.llsr-track::-webkit-scrollbar { display: none; }
.llsr-card {
  display: flex;
  flex: 0 0 calc((100% - 32px) / 3);
  flex-direction: column;
  min-height: 270px;
  padding: 27px;
  border: 1px solid #eddee0;
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(53,16,20,.06);
  scroll-snap-align: start;
  box-sizing: border-box;
  transition: transform .22s ease, box-shadow .22s ease;
}
.llsr-card:hover { transform: translateY(-5px); box-shadow: 0 17px 34px rgba(53,16,20,.11); }
.llsr-card-stars { color: var(--llsr-gold); font-size: 18px; letter-spacing: 3px; }
.llsr-card blockquote {
  flex: 1;
  margin: 19px 0 24px;
  color: #503b40;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.58;
}
.llsr-card footer { display: flex; align-items: center; gap: 11px; }
.llsr-card footer > span:last-child { display: grid; }
.llsr-card footer strong { color: var(--llsr-ink); font-size: 13px; }
.llsr-card footer small { color: #8b777b; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.llsr-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--llsr-wine), var(--llsr-rose));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.llsr-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(53,16,20,.14);
  border-radius: 50%;
  background: var(--llsr-ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(53,16,20,.2);
  font: 400 34px/1 Georgia, serif;
}
.llsr-arrow:hover { background: var(--llsr-wine); }
.llsr-prev { left: -25px; }
.llsr-next { right: -25px; }
.llsr-dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.llsr-dots i { width: 7px; height: 7px; border-radius: 50%; background: #dbc9cd; }
.llsr-dots i.is-active { width: 22px; border-radius: 20px; background: var(--llsr-wine); }
.llsr-disclosure { margin: 15px 0 0; color: #927f83; font-size: 10px; text-align: center; }
.llsr-product { margin-bottom: 62px; }
.llsr-collection { margin-top: 60px; }

/* Product information belongs beside the gallery and buying controls. */
.llsr-essentials {
  margin: 13px 0 4px;
  border-top: 1px solid var(--llsr-line);
}
.llsr-essentials details { border-bottom: 1px solid var(--llsr-line); }
.llsr-essentials summary {
  position: relative;
  padding: 14px 30px 14px 0;
  color: var(--llsr-ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.llsr-essentials summary::-webkit-details-marker { display: none; }
.llsr-essentials summary::after {
  content: '+';
  position: absolute;
  right: 3px;
  color: var(--llsr-wine);
  font-size: 17px;
  font-weight: 500;
}
.llsr-essentials details[open] summary::after { content: '−'; }
.llsr-essential-copy {
  padding: 0 8px 15px 0;
  color: #69565a;
  font-size: 12px;
  line-height: 1.55;
}
.llsr-essential-copy p:last-child,
.llsr-essential-copy ul:last-child { margin-bottom: 0; }
.llsr-essential-copy ul { margin: 0; padding-left: 19px; }

/* Live product results inside the existing premium search dialog. */
.llsp-search-dialog form { position: relative; }
.llsr-live-results {
  display: none;
  max-height: min(520px, 58vh);
  margin-top: 12px;
  overflow-y: auto;
  border: 1px solid var(--llsr-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(53,16,20,.15);
}
.llsr-live-results.is-open { display: block; }
.llsr-search-result {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0e5e7;
  color: var(--llsr-ink) !important;
  text-decoration: none !important;
}
.llsr-search-result:last-child { border-bottom: 0; }
.llsr-search-result:hover { background: #fcf5f8; }
.llsr-search-result img {
  display: block;
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 7px;
  background: var(--llsr-cream);
}
.llsr-search-result span { display: grid; gap: 4px; min-width: 0; }
.llsr-search-result strong { font-size: 13px; line-height: 1.28; }
.llsr-search-result small { color: var(--llsr-wine); font-size: 12px; font-weight: 750; }
.llsr-search-status { margin: 0; padding: 18px; color: #78666a; font-size: 13px; text-align: center; }

/* Classic and block carts: consistent 2:3 thumbnails with no letterboxing. */
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail a {
  display: block;
  width: 92px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 9px;
  background: var(--llsr-cream);
}
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img,
body.woocommerce-cart .wc-block-cart-item__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}
body.woocommerce-cart .wc-block-cart-item__image {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 9px;
  background: var(--llsr-cream);
}

@media (max-width: 767px) {
  .llsr-product-badge { flex-wrap: wrap; gap: 6px 8px; }
  .llsr-product-badge > span { font-size: 17px; }
  .llsr-product-badge small { font-size: 11px; }
  .llsr-showcase {
    width: calc(100% - 24px);
    margin: 42px auto;
    padding: 30px 20px 27px;
    border-radius: 18px;
  }
  .llsr-heading { display: block; margin-bottom: 23px; text-align: center; }
  .llsr-heading h2 { font-size: 36px; }
  .llsr-summary { justify-content: center; margin-top: 18px; }
  .llsr-summary > strong { font-size: 35px; }
  .llsr-summary b { font-size: 16px; }
  .llsr-card { flex-basis: 100%; min-height: 285px; padding: 25px 23px; }
  .llsr-card blockquote { font-size: 17px; }
  .llsr-arrow { width: 46px; height: 46px; }
  .llsr-prev { left: -15px; }
  .llsr-next { right: -15px; }
  .llsr-essentials summary { padding-block: 15px; font-size: 13px; }
  .llsr-essential-copy { font-size: 13px; }
  .llsp-search-dialog { width: calc(100% - 24px); max-width: none; padding: 22px 15px; }
  .llsr-live-results { max-height: 62vh; }
  .llsr-search-result { grid-template-columns: 54px minmax(0,1fr); }
  .llsr-search-result img { width: 54px; height: 72px; }
  body.woocommerce-cart .woocommerce-cart-form .product-thumbnail a { width: 76px; }
}
