/* Editorial homepages only (DE/EN/TR). Layered after home-editorial.css and the
   other site styles. No inline styles. */

/* 1. One palette: navy, copper and gold instead of a separate royal blue. */
:root {
  --lc-blue: #a5633d;
  --lc-blue-dark: #8a502c;
  --home-gold: #f2d88c;
  --home-gold-deep: #d7b76a;
  --home-navy: #0e213d;
}
.home-hero {
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 183, 106, 0.14), transparent 31%),
    radial-gradient(circle at 100% 100%, rgba(182, 123, 77, 0.07), transparent 40%),
    var(--lc-paper);
}
.hero-slogan-brand {
  background: linear-gradient(135deg, #10284c, #173a66);
}
.branch-choice:hover,
.loyalty-register-branches input:checked + span {
  background-color: rgba(182, 123, 77, 0.08);
}

/* 2. One primary button colour, shared with the gift-card pages. */
.button-primary {
  color: var(--home-navy);
  background: linear-gradient(135deg, var(--home-gold), var(--home-gold-deep));
  box-shadow: 0 12px 28px rgba(198, 154, 61, 0.26);
}
.button-primary:hover {
  background: linear-gradient(135deg, #f6e1a0, #dcc07a);
}
.button-primary:focus-visible,
.branch-choice:focus-visible {
  outline: 3px solid var(--lc-copper);
  outline-offset: 3px;
}

/* 3. Hero: the branch hint sits under the picker, the CTA follows the choice. */
.selected-branch-note {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 0.8rem;
}
.selected-branch-note::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lc-copper-soft);
}
.hero-offer + .hero-loyalty-card { margin-top: 14px; }
.hero-media figcaption { max-width: 280px; }

/* 4. Receipt lookup: compact bar, form opens on demand. */
.receipt-toggle {
  flex: none;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.86rem;
}
.receipt-lookup.is-collapsed .receipt-lookup-panel,
.receipt-lookup.is-collapsed .receipt-lookup-note { display: none; }
.receipt-lookup.is-collapsed { padding-bottom: 14px; }
.receipt-lookup.is-collapsed .receipt-lookup-copy { align-items: center; }
.receipt-lookup.is-collapsed .receipt-lookup-actions { margin-top: 12px; }
.receipt-lookup-panel { display: block; }

/* 5. Three steps with icons instead of a text-only strip. */
.home-steps .trust-point {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 16px 22px;
}
.home-steps .trust-point-icon {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  color: var(--lc-copper);
  background: rgba(182, 123, 77, 0.12);
}
.home-steps .trust-point strong,
.home-steps .trust-point span { grid-column: 2; }
.home-steps .trust-point:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--lc-copper);
  background: var(--lc-paper);
  font-size: 0.8rem;
  transform: translateY(-50%);
}

/* 6. Service cards with line icons. */
.service-card { position: relative; }
.service-card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  color: var(--lc-copper);
}
.service-card-stain .service-card-icon { color: var(--lc-copper-soft); }

/* 7. Gift-card band. */
.home-gift-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(22px, 3.4vw, 40px);
  border: 1px solid rgba(215, 183, 106, 0.34);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 216, 140, 0.18), transparent 38%),
    linear-gradient(120deg, #0b1b32, #173a66);
  box-shadow: 0 22px 54px rgba(14, 33, 61, 0.18);
}
.home-gift-band__media {
  display: block;
  transform: rotate(-2deg);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.32));
}
.home-gift-band__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
}
.home-gift-band .section-kicker { margin: 0 0 8px; color: var(--home-gold); }
.home-gift-band__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--home-navy);
  background: linear-gradient(135deg, var(--home-gold), var(--home-gold-deep));
  font-size: 0.8rem;
  font-weight: 800;
}
.home-gift-band h2 {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-family: var(--lc-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.04;
}
.home-gift-band p:not(.section-kicker) {
  max-width: 54ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}
.home-gift-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 20px;
}
.home-gift-band__link {
  padding: 8px 0;
  color: #f3d995;
  font-weight: 750;
  text-underline-offset: 3px;
}
.home-gift-band__link:focus-visible { outline: 3px solid var(--home-gold); outline-offset: 3px; }

/* 8. Proof mosaic: the press photo keeps its caption. */
.proof-mosaic .proof-press { position: relative; }
.proof-mosaic .proof-press figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #fff;
  background: rgba(16, 27, 43, 0.72);
  font-size: 0.72rem;
  line-height: 1.35;
  backdrop-filter: blur(6px);
}

/* 9. LeoCan band: the headline comes from the API, keep it short. */
[data-leocan-home-teaser] [data-leocan-teaser-title] {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
[data-leocan-home-teaser] [data-leocan-teaser-summary] {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* The compact consent bar now lives in the shared consent stylesheet/script. */

@media (max-width: 900px) {
  .home-gift-band { grid-template-columns: 1fr; }
  .home-gift-band__media { width: min(360px, 100%); margin: 0 auto 4px; }
}
@media (max-width: 860px) {
  .home-steps .trust-point:not(:last-child)::after { display: none; }
}
@media (max-width: 620px) {
  .receipt-lookup.is-collapsed .receipt-lookup-copy { flex-wrap: wrap; align-items: flex-start; gap: 10px; }
  .receipt-toggle { width: 100%; }
  .service-card-icon { top: 16px; right: 16px; width: 26px; height: 26px; }
  .home-gift-band { border-radius: 20px; }
  .home-gift-band__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-gift-band__media { transform: none; }
}
@media (forced-colors: active) {
  .home-steps .trust-point-icon,
  .service-card-icon { color: CanvasText; background: none; }
  .home-gift-band { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
}
