/* ==========================================================================
   lavie-home.ch  ·  Landingpage "Geschenkgutscheine"
   Alle Selektoren sind unter .lv-gs gekapselt (Wrapper-Group der Seite),
   damit keine andere Seite beeinflusst wird und die Regeln spezifisch genug
   sind, um Theme-Defaults (Buttons, Textausrichtung) zu ueberschreiben.
   Ablage: Theme-Stylesheet (n0_lv) oder Customizer > Zusaetzliches CSS.
   Fuer die Editor-Ansicht zusaetzlich add_editor_style() nutzen.
   ========================================================================== */

/* ---------- Hero-Band ---------- */
.lv-gs .lv-gs-hero {
  padding-top: 0;
  padding-bottom: 0;
}
.lv-gs .lv-gs-hero .wp-block-columns {
  align-items: stretch;
}

/* Bild fuellt die rechte Spalte komplett (oben/unten buendig zum Band) */
.lv-gs .lv-gs-media {
  display: flex;
  flex-direction: column;
}
.lv-gs .lv-gs-media .wp-block-image {
  flex: 1;
  display: flex;
  margin: 0;
}
.lv-gs .lv-gs-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* ---------- Typografie Hero ---------- */
.lv-gs .lv-gs-text {
  text-align: left;
}
.lv-gs .lv-gs-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c5248;
}
.lv-gs .lv-gs-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  text-wrap: balance;
}
.lv-gs .lv-gs-lead {
  margin: 0;
  max-width: 44ch;
  font-size: 19px;
  line-height: 1.45;
}

/* ---------- Vorteile: Gruppe = Icon + Text ----------------------------------
   Jede Vorteils-Gruppe traegt zwei Klassen, z. B.
   "lv-gs-usp lv-gs-usp--mail". Das Icon kommt aus ::before,
   im Editor liegt nur der Textabsatz in der Gruppe.
   -------------------------------------------------------------------------- */
.lv-gs .lv-gs-usp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.lv-gs .lv-gs-usp p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5c5248;
  max-width: 22ch;
}

/* ---------- Icons (SVG-Maske aus dem Kundenentwurf) ------------------------
   Varianten: .lv-gs-usp--mail  --heart  --leaf
              .lv-gs-card-head--truck  --download
   Farbe = background-color, Groesse = width/height.
   -------------------------------------------------------------------------- */
.lv-gs .lv-gs-usp::before,
.lv-gs .lv-gs-card-head::before {
  content: "";
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  background-color: #000;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.lv-gs .lv-gs-usp--mail::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22m3%206%209%206.5L21%206%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22m3%206%209%206.5L21%206%22%2F%3E%3C%2Fsvg%3E");
}
.lv-gs .lv-gs-usp--heart::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7.5-4.6-7.5-9.4A4.1%204.1%200%200%201%2012%208.2a4.1%204.1%200%200%201%207.5%202.4C19.5%2015.4%2012%2020%2012%2020Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7.5-4.6-7.5-9.4A4.1%204.1%200%200%201%2012%208.2a4.1%204.1%200%200%201%207.5%202.4C19.5%2015.4%2012%2020%2012%2020Z%22%2F%3E%3C%2Fsvg%3E");
}
.lv-gs .lv-gs-usp--leaf::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021c0-6%202.5-10.5%208-13-.5%207-4%2011-8%2013Z%22%2F%3E%3Cpath%20d%3D%22M12%2021C8.5%2019%205.5%2015.5%204%209c5%201%207%205.5%208%2012Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021c0-6%202.5-10.5%208-13-.5%207-4%2011-8%2013Z%22%2F%3E%3Cpath%20d%3D%22M12%2021C8.5%2019%205.5%2015.5%204%209c5%201%207%205.5%208%2012Z%22%2F%3E%3C%2Fsvg%3E");
}
.lv-gs .lv-gs-card-head--truck::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2.5%207h11v9h-11z%22%2F%3E%3Cpath%20d%3D%22M13.5%2010.5H18l3%203V16h-7.5z%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2217.5%22%20r%3D%221.8%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2.5%207h11v9h-11z%22%2F%3E%3Cpath%20d%3D%22M13.5%2010.5H18l3%203V16h-7.5z%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2217.5%22%20r%3D%221.8%22%2F%3E%3C%2Fsvg%3E");
}
.lv-gs .lv-gs-card-head--download::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5v11%22%2F%3E%3Cpath%20d%3D%22m7.5%2010.5%204.5%204.5%204.5-4.5%22%2F%3E%3Cpath%20d%3D%22M4.5%2019.5h15%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5v11%22%2F%3E%3Cpath%20d%3D%22m7.5%2010.5%204.5%204.5%204.5-4.5%22%2F%3E%3Cpath%20d%3D%22M4.5%2019.5h15%22%2F%3E%3C%2Fsvg%3E");
}

/* ---------- Abschnittstitel ---------- */
.lv-gs .lv-gs-heading {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.2;
}

/* ---------- Karten ---------- */
.lv-gs .lv-gs-cards .wp-block-column {
  display: flex;
}
.lv-gs .lv-gs-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.lv-gs .lv-gs-card .wp-block-image,
.lv-gs .lv-gs-card figure {
  margin: 0;
}
.lv-gs .lv-gs-card img {
  width: 100%;
  display: block;
}
.lv-gs .lv-gs-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.lv-gs .lv-gs-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  text-align: left;
}
.lv-gs .lv-gs-card-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.lv-gs .lv-gs-card-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5c5248;
}
.lv-gs .lv-gs-card .wp-block-buttons {
  margin-top: auto;
  padding-top: 14px;
  justify-content: flex-start;
}

/* ---------- Button: Outline statt schwarzem Theme-Button ----------
   Das Theme setzt schwarzen Hintergrund, 25.6px und ein ">"-::before.
   Die drei Klassen hier sind spezifischer und heben das auf.            */
.lv-gs .lv-gs-btn .wp-block-button__link {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 17px;
  line-height: 1.1;
  padding: 9px 24px 11px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.lv-gs .lv-gs-btn .wp-block-button__link::before {
  content: none;
  display: none;
}
.lv-gs .lv-gs-btn .wp-block-button__link:hover,
.lv-gs .lv-gs-btn .wp-block-button__link:focus-visible {
  background-color: #000;
  color: #fff;
}
.lv-gs .lv-gs-btn .wp-block-button__link:focus-visible {
  outline: 2px solid #2a2a2a;
  outline-offset: 3px;
}

/* ---------- Mobile: WP stapelt Spalten ab 781px ---------- */
@media (max-width: 781px) {
  .lv-gs .lv-gs-media {
    order: -1;
  }
  .lv-gs .lv-gs-media img {
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .lv-gs .lv-gs-cards .wp-block-column {
    display: block;
  }
  .lv-gs .lv-gs-usp p {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lv-gs .lv-gs-btn .wp-block-button__link {
    transition: none;
  }
}

/* --------------- Gift sets --------------- */
/* Grid: 4 columns → 2 columns on tablets/mobile */
.lv-gs .lv-gs-products {
  gap: 2.5rem 1rem;
}
@media (max-width: 1024px) {
  .lv-gs .lv-gs-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0.75rem;
  }
}

/* Card */
.lv-gs .lv-gs-product > * {
  margin-top: 0;
  margin-bottom: 0;
}
.lv-gs .lv-gs-product-img {
  margin-bottom: 0.75rem !important;
  overflow: hidden;
  background: #f0ede8;
}
.lv-gs .lv-gs-product-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.lv-gs .lv-gs-product:hover .lv-gs-product-img img {
  transform: scale(1.03);
}

/* Text */
.lv-gs .lv-gs-product-title,
.lv-gs .lv-gs-product-price,
.lv-gs .lv-gs-product-meta {
  font-size: 0.95rem;
  line-height: 1.5;
}
.lv-gs .lv-gs-product-title a {
  color: inherit;
  text-decoration: none;
}
.lv-gs .lv-gs-product-title a:hover {
  text-decoration: underline;
}
.lv-gs .lv-gs-product-meta {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Product Name: bold */
.lv-gs .lv-gs-products .wp-block-post-title,
.lv-gs .lv-gs-products .wp-block-post-title a {
  font-family: itc-american-typewriter, serif;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  text-align: left;
  margin-bottom: 0 !important;
}

/* Price: Left-aligned + Small + europa */
.lv-gs .lv-gs-products .wc-block-components-product-price,
.lv-gs .lv-gs-products .wc-block-components-product-price * {
  font-family: europa, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
/* .lv-gs .lv-gs-products .wc-block-components-product-price {
  margin-top: 0.25rem !important;
} */
