/* Interliving Lieblingsstücke Campaign Styles
 * Served at: /sofa/assets/campaign.css
 */

/* ==========================================================================
       CSS Variables - Responsive Design System
       ========================================================================== */
    :root {
      /* Greys */
      --grey-950: #303030;
      --grey-800: #4A545B;
      --grey-600: #798490;
      --grey-200: #EEEEEE;
      --grey-100: #F9F9F9;
      --grey-50: #F7F7F7;
      --grey-border: #CED4DA;

      /* Accents */
      --accent-accent3: #D16253;
      --sage-green: #939E83;
      --star-gold: #FBBC04;
      --bg-warm: #E4DDD1;

      /* Base */
      --white: #FFFFFF;
      --secondary-text: #4B4B4B;

      /* ==========================================================================
         Responsive Layout Variables
         ========================================================================== */
      --container-max: 1400px;
      --content-max: 1400px;
      --container-padding: clamp(20px, 3vw, 48px);
      /* Padding for boxed sections (with backgrounds) - always maintains padding */
      --boxed-padding: clamp(20px, 3vw, 48px);

      /* ==========================================================================
         Fluid Typography Scale (clamp: min, preferred, max)
         Minimums optimized for 393px mobile design reference
         ========================================================================== */
      /* Hero headline: 48px -> 56px */
      --font-hero: clamp(48px, 4vw + 24px, 56px);

      /* Section headlines: 38px -> 48px */
      --font-h1: clamp(38px, 3vw + 16px, 48px);

      /* Subheadings: 24px -> 28px */
      --font-h3: clamp(24px, 1.5vw + 12px, 28px);

      /* Body text: 16px -> 18px */
      --font-body: clamp(16px, 0.5vw + 12px, 18px);

      /* Small text: 14px */
      --font-small: 14px;

      /* Button text: 15px -> 16px */
      --font-button: clamp(15px, 0.25vw + 12px, 16px);

      /* Disclaimer text: 11px -> 12px */
      --font-disclaimer: clamp(11px, 0.25vw + 8px, 12px);

      /* ==========================================================================
         Fluid Spacing Scale
         Minimums optimized for 393px mobile design reference
         ========================================================================== */
      /* Section padding: 48px -> 80px */
      --space-section: clamp(48px, 5vw, 80px);

      /* XXL gap: 48px -> 80px */
      --space-xxl: clamp(48px, 5vw, 80px);

      /* XL gap: 36px -> 64px */
      --space-xl: clamp(36px, 4vw, 64px);

      /* Large gap: 28px -> 48px */
      --space-lg: clamp(28px, 3vw, 48px);

      /* Medium gap: 20px -> 32px */
      --space-md: clamp(20px, 2vw, 32px);

      /* Small gap: 10px -> 16px */
      --space-sm: clamp(10px, 1vw, 16px);

      /* XS gap: 6px -> 8px */
      --space-xs: clamp(6px, 0.5vw, 8px);
    }

    /* Remove container padding at larger viewports to allow full 1400px content */
    @media (min-width: 1440px) {
      :root {
        --container-padding: 0;
      }
    }

    /* ==========================================================================
       Reset & Base Styles
       ========================================================================== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      font-family: 'Ubuntu', sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      font-family: 'Ubuntu', sans-serif;
      background-color: var(--white);
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      overflow-x: hidden;
    }

    /* Remove body max-width at larger viewports so boxed sections can extend edge-to-edge */
    @media (min-width: 1440px) {
      body {
        max-width: none;
      }
    }

    .container-main {
      padding-bottom: 0;
    }

    .mobile-container {
      padding-bottom: 0;
    }

    /* ==========================================================================
       Responsive Container Utility
       ========================================================================== */
    .responsive-container {
      width: 100%;
      max-width: var(--content-max);
      margin: 0 auto;
      padding-left: var(--container-padding);
      padding-right: var(--container-padding);
    }

    /* ==========================================================================
       Headline Breaking Point Control
       ========================================================================== */
    /* Viewport-specific line breaks for intentional headline breaks */

    /* Mobile-only breaks: visible <768px */
    .break-mobile {
      display: inline;
    }

    /* Tablet-only breaks: visible 768px-1199px */
    .break-tablet {
      display: none;
    }

    @media (min-width: 768px) {
      .break-mobile {
        display: none;
      }
      .break-tablet {
        display: inline;
      }
    }

    @media (min-width: 1200px) {
      .break-tablet {
        display: none;
      }
    }


    /* ==========================================================================
       Section 01: Hero
       ========================================================================== */
    .section-hero {
      width: 100%;
      min-height: clamp(600px, 80vh, 900px);
      background-color: var(--white);
      display: flex;
      flex-direction: column;
    }

    .section-hero .hero-content {
      padding: var(--space-lg) var(--boxed-padding) 0;
      flex: 0 0 auto;
      max-width: var(--container-max);
      margin: 0 auto;
      width: 100%;
    }

    @media (min-width: 1440px) {
      .section-hero .hero-content {
        padding-left: 0;
        padding-right: 0;
      }
    }

    .section-hero .hero-headline {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-hero);
      font-weight: 500;
      line-height: 110%;
      letter-spacing: -0.02em;
      color: var(--grey-950);
      margin-bottom: var(--space-sm);
    }

    .section-hero .hero-body {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 150%;
      color: var(--grey-800);
      margin-bottom: var(--space-lg);
      max-width: min(100%, 800px);
      overflow-wrap: break-word;
    }

    .section-hero .cta-row {
      display: flex;
      align-items: flex-start;
      gap: 0;
      flex-wrap: wrap;
    }

    .section-hero .cta-button {
      display: inline-flex;
      min-width: clamp(200px, 50vw, 280px);
      height: clamp(52px, 6vw, 56px);
      padding: 0 var(--space-md);
      justify-content: center;
      align-items: center;
      gap: var(--space-sm);
      background-color: var(--grey-950);
      border: 1.5px solid var(--grey-950);
      border-radius: 0;
      color: #FFFFFF;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-button);
      font-weight: 500;
      line-height: 150%;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      box-sizing: border-box;
    }

    .section-hero .price-badge {
      width: clamp(105px, 15vw, 120px);
      height: clamp(105px, 15vw, 120px);
      position: relative;
      flex-shrink: 0;
      margin-top: clamp(-20px, -2vw, -10px);
      margin-left: auto;
      margin-right: calc(3vw - 20px);
      top: clamp(10px, 2vw, 20px);
      z-index: 10;
    }

    .section-hero .price-badge img {
      width: 100%;
      height: 100%;
      display: block;
    }

    .section-hero .price-badge-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      align-items: end;
    }

    .section-hero .price-badge .label {
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(12px, 1.5vw, 14px);
      font-weight: 500;
      line-height: 90%;
      letter-spacing: -0.24px;
    }

    .section-hero .price-badge .price {
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(27px, 4vw, 32px);
      font-weight: 500;
      line-height: 90%;
      letter-spacing: -0.538px;
    }

    .section-hero .hero-video-container {
      flex: 1;
      min-height: clamp(280px, 40vw, 500px);
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      overflow: hidden;
      position: relative;
    }

    .section-hero .hero-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }

    /* Hero videos - hidden by default, shown based on category + viewport */
    .section-hero .hero-video {
      display: none;
    }

    /* Mobile viewport: show mobile videos for active category */
    body[data-active-category="sofa"] .hero-video--mobile[data-category="sofa"],
    body[data-active-category="bett"] .hero-video--mobile[data-category="bett"],
    body[data-active-category="kueche"] .hero-video--mobile[data-category="kueche"] {
      display: block;
    }

    /* Tablet viewport */
    @media (min-width: 600px) {
      body[data-active-category="sofa"] .hero-video--mobile[data-category="sofa"],
      body[data-active-category="bett"] .hero-video--mobile[data-category="bett"],
      body[data-active-category="kueche"] .hero-video--mobile[data-category="kueche"] {
        display: none;
      }
      body[data-active-category="sofa"] .hero-video--tablet[data-category="sofa"],
      body[data-active-category="bett"] .hero-video--tablet[data-category="bett"],
      body[data-active-category="kueche"] .hero-video--tablet[data-category="kueche"] {
        display: block;
      }
    }

    /* Desktop viewport */
    @media (min-width: 1024px) {
      body[data-active-category="sofa"] .hero-video--tablet[data-category="sofa"],
      body[data-active-category="bett"] .hero-video--tablet[data-category="bett"],
      body[data-active-category="kueche"] .hero-video--tablet[data-category="kueche"] {
        display: none;
      }
      body[data-active-category="sofa"] .hero-video--desktop[data-category="sofa"],
      body[data-active-category="bett"] .hero-video--desktop[data-category="bett"],
      body[data-active-category="kueche"] .hero-video--desktop[data-category="kueche"] {
        display: block;
      }
    }

    /* Legacy image support */
    .section-hero .hero-image-container {
      flex: 1;
      min-height: clamp(280px, 40vw, 500px);
      width: 100%;
      overflow: hidden;
    }

    .section-hero .hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }

    /* ==========================================================================
       Section 02: USP Category Bar
       ========================================================================== */
    .section-usp-bar {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      background: var(--grey-50);
      padding: var(--space-md) var(--boxed-padding);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0;
    }

    .section-usp-bar .badge-container {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      max-width: 600px;
      width: 100%;
    }

    .section-usp-bar .badge-item {
      flex: 1;
      max-width: clamp(100px, 20vw, 150px);
    }

    .section-usp-bar .badge-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* CTA Section (repositioned button) */
    .cta-section {
      width: 100%;
      padding: var(--space-lg) var(--container-padding);
      display: flex;
      justify-content: center;
      background: var(--white);
    }

    .cta-button--main {
      display: flex;
      width: 100%;
      max-width: 400px;
      justify-content: center;
      align-items: center;
      gap: var(--space-xs);
      padding: 14px 28px;
      /* border-radius: 50px; */
      background: var(--grey-950);
      color: var(--white);
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 500;
      text-decoration: none;
      transition: background 0.2s ease;
      text-align: center;
    }

    .cta-button--main:hover {
      background: #1a1a1a;
    }

    /* Product Details Section */
    .section-product-details {
      width: 100%;
      padding: var(--space-section) var(--container-padding) 0;
      background: var(--white);
    }

    .product-details-content {
      max-width: var(--content-max);
      margin: 0 auto;
    }

    .product-details-block {
      display: none;
    }

    .product-details-headline {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h1);
      font-weight: 500;
      line-height: 120%;
      letter-spacing: -0.02em;
      color: var(--grey-950);
      margin-bottom: var(--space-xl);
    }

    .product-details-sections {
      display: flex;
      flex-direction: column;
      gap: var(--space-xl);
    }

    .details-section {
      /* padding-bottom: var(--space-lg);
      border-bottom: 1px solid var(--grey-border); */
    }

    .details-section:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .details-section h3 {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h3);
      font-weight: 500;
      color: var(--grey-950);
      margin-bottom: var(--space-md);
    }

    .details-section p {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      line-height: 1.6;
      color: var(--grey-700);
      margin-bottom: var(--space-sm);
    }

    .details-section ul {
      margin: 0;
      padding-left: var(--space-md);
    }

    .details-section li {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      line-height: 1.6;
      color: var(--grey-700);
      margin-bottom: var(--space-xs);
    }

    .product-details-closing {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      line-height: 1.6;
      color: var(--grey-950);
      margin-top: var(--space-md);
    }

    @media (min-width: 768px) {
      .product-details-sections {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
      }

      /* Each details section is a row with image + text */
      .details-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
        align-items: center;
        border-bottom: none;
        padding-bottom: 0;
      }

      .details-section-image {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 4px;
      }

      .details-section-content {
        display: flex;
        flex-direction: column;
      }

      /* Alternate layout: even items have image on right */
      .details-section:nth-child(even) {
        direction: rtl;
      }

      .details-section:nth-child(even) > * {
        direction: ltr;
      }
    }

    /* Hide images on mobile */
    @media (max-width: 767px) {
      .details-section-image {
        display: none;
      }
    }

    /* ==========================================================================
       Section 03: Jeden Tag Zuhause
       ========================================================================== */
    .section-jeden-tag {
      display: flex;
      width: 100%;
      padding: var(--space-section) var(--container-padding);
      flex-direction: column;
      align-items: center;
      background: var(--white);
    }

    .section-jeden-tag .content-wrapper {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
      max-width: var(--content-max);
    }

    .section-jeden-tag .headline {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h1);
      font-weight: 500;
      line-height: 120%;
      letter-spacing: -0.02em;
      color: var(--grey-950);
      margin-bottom: var(--space-sm);
    }

    .section-jeden-tag .description {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 150%;
      color: var(--grey-800);
      margin-bottom: var(--space-lg);
      max-width: 800px;
    }

    .section-jeden-tag .lifestyle-image {
      width: 100%;
      max-width: 600px;
      aspect-ratio: 1 / 1;
      border-radius: 0;
      object-fit: cover;
      margin-bottom: var(--space-md);
    }

    .section-jeden-tag .usp-features {
      width: 100%;
    }

    .section-jeden-tag .usp-item {
      padding: var(--space-lg) 0;
      border-top: 1px solid var(--grey-border);
    }

    .section-jeden-tag .usp-item:first-child {
      border-top: none;
      padding-top: 0;
    }

    .section-jeden-tag .usp-item:last-child {
      padding-bottom: var(--space-lg);
    }

    .section-jeden-tag .usp-item h3 {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h3);
      font-weight: 500;
      line-height: 140%;
      letter-spacing: -0.01em;
      color: var(--grey-950);
      margin-bottom: var(--space-sm);
    }

    .section-jeden-tag .usp-item h3:last-child {
      margin-bottom: 0;
    }

    .section-jeden-tag .usp-item p {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 150%;
      color: var(--grey-800);
      margin-bottom: 0;
    }

    /* Mobile accordion behavior */
    @media (max-width: 767px) {
      .section-jeden-tag .usp-item {
        cursor: pointer;
      }

      .section-jeden-tag .usp-item h3 {
        margin-bottom: 0;
      }

      .section-jeden-tag .usp-item .usp-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 300ms ease-in-out;
      }

      .section-jeden-tag .usp-item.is-open .usp-content {
        grid-template-rows: 1fr;
      }

      .section-jeden-tag .usp-item .usp-content-inner {
        overflow: hidden;
        min-height: 0;
      }

      .section-jeden-tag .usp-item .usp-content p {
        padding-top: var(--space-sm);
      }

      /* Mobile image carousel */
      .section-jeden-tag .usp-image-container {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: var(--space-md);
      }

      .section-jeden-tag .usp-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 300ms ease-in-out;
      }

      .section-jeden-tag .usp-image.is-active {
        opacity: 1;
      }

      /* Hide the old single image on mobile */
      .section-jeden-tag .lifestyle-image {
        display: none;
      }

      /* Hide individual item images on mobile (using container instead) */
      .section-jeden-tag .usp-item-image {
        display: none;
      }

      /* Hide usp-text wrapper styling on mobile */
      .section-jeden-tag .usp-text {
        display: contents;
      }
    }

    /* Tablet+ layout */
    @media (min-width: 768px) {
      .section-jeden-tag .content-wrapper {
        display: block;
        max-width: var(--content-max);
      }

      .section-jeden-tag .headline {
        margin-bottom: var(--space-sm);
      }

      .section-jeden-tag .description {
        margin-bottom: var(--space-lg);
      }

      /* Hide mobile image container on desktop */
      .section-jeden-tag .usp-image-container {
        display: none;
      }

      /* Hide old single lifestyle image */
      .section-jeden-tag .lifestyle-image {
        display: none;
      }

      /* 3-column grid on desktop */
      .section-jeden-tag .usp-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
      }

      /* Each USP item is a card with image on top, text below */
      .section-jeden-tag .usp-item {
        display: flex;
        flex-direction: column;
        padding: 0;
        border-top: none;
      }

      .section-jeden-tag .usp-item .usp-item-image {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin-bottom: var(--space-md);
      }

      .section-jeden-tag .usp-item .usp-text {
        display: flex;
        flex-direction: column;
      }

      .section-jeden-tag .usp-item h3 {
        margin-bottom: var(--space-sm);
      }

      /* Content always visible on desktop */
      .section-jeden-tag .usp-item .usp-content {
        max-height: none;
        overflow: visible;
      }

      .section-jeden-tag .usp-item .usp-content p {
        padding-top: 0;
      }
    }

    /* Product Details Accordion */
    .product-details-accordion {
      margin-top: var(--space-xl);
      width: 100%;
    }

    .product-accordion-content {
      display: none;
      border-top: 1px solid var(--grey-200);
    }

    .accordion-toggle {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: var(--space-md) 0;
      background: none;
      border: none;
      cursor: pointer;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body-lg);
      font-weight: 500;
      color: var(--grey-950);
      text-align: left;
    }

    .accordion-toggle:hover {
      color: var(--grey-700);
    }

    .accordion-icon {
      transition: transform 0.3s ease;
      flex-shrink: 0;
      margin-left: var(--space-sm);
    }

    .accordion-toggle[aria-expanded="true"] .accordion-icon {
      transform: rotate(180deg);
    }

    .accordion-panel {
      display: none;
      padding: 0 0 var(--space-lg) 0;
    }

    .accordion-toggle[aria-expanded="true"] + .accordion-panel {
      display: block;
    }

    .accordion-section {
      margin-bottom: var(--space-md);
    }

    .accordion-section:last-child {
      margin-bottom: 0;
    }

    .accordion-section h4 {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 600;
      color: var(--grey-950);
      margin-bottom: var(--space-xs);
    }

    .accordion-section p {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body-sm);
      line-height: 1.6;
      color: var(--grey-700);
      margin-bottom: var(--space-sm);
    }

    .accordion-section ul {
      margin: 0 0 var(--space-sm) 0;
      padding-left: var(--space-md);
    }

    .accordion-section li {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body-sm);
      line-height: 1.6;
      color: var(--grey-700);
      margin-bottom: var(--space-xs);
    }

    .accordion-closing {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      color: var(--grey-950);
      margin-top: var(--space-md);
    }

    @media (min-width: 768px) {
      .product-details-accordion {
        max-width: min(100%, 800px);
        margin-left: auto;
        margin-right: auto;
      }
    }

    /* ==========================================================================
       Section 04: Lieblingsstuecke
       ========================================================================== */
    .section-lieblingsstuecke {
      width: 100%;
      background: var(--grey-100);
      overflow: hidden;
      padding: var(--space-section) var(--boxed-padding);
    }

    .section-lieblingsstuecke .content-wrapper {
      max-width: var(--content-max);
      margin: 0 auto var(--space-lg);
    }

    .section-lieblingsstuecke .section-title {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h1);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: -0.02em;
      color: var(--grey-950);
      margin-bottom: var(--space-sm);
    }

    .section-lieblingsstuecke .section-subtitle {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 1.5;
      color: var(--grey-800);
      max-width: min(100%, 800px);
      overflow-wrap: break-word;
    }

    /* Horizontal swipeable product carousel */
    .section-lieblingsstuecke .product-grid {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
      /* margin-bottom: var(--space-lg); */
    }

    .section-lieblingsstuecke .product-grid::-webkit-scrollbar {
      display: none;
    }

    .section-lieblingsstuecke .product-card {
      flex: 0 0 auto;
      width: calc(100vw - 2 * var(--container-padding) - 48px);
      max-width: 320px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      scroll-snap-align: start;
    }

    .section-lieblingsstuecke .product-media {
      width: 100%;
      aspect-ratio: 292 / 254;
      overflow: hidden;
      margin-bottom: var(--space-sm);
      border-radius: 0;
    }

    .section-lieblingsstuecke .product-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .section-lieblingsstuecke .product-title {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 500;
      line-height: 1.4;
      color: var(--grey-950);
      margin-bottom: var(--space-xs);
    }

    .section-lieblingsstuecke .product-description {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-small);
      font-weight: 400;
      line-height: 1.5;
      color: var(--grey-800);
      margin-bottom: var(--space-sm);
      /* Override Shopware defaults */
      height: auto;
      margin-top: 0;
      overflow: visible;
      text-overflow: unset;
      display: block;
      -webkit-line-clamp: unset;
      -webkit-box-orient: unset;
    }

    .section-lieblingsstuecke .product-price-row {
      display: flex;
      align-items: baseline;
      gap: var(--space-sm);
      flex-wrap: wrap;
    }

    .section-lieblingsstuecke .product-price {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 700;
      line-height: 1.5;
      color: var(--grey-950);
      white-space: nowrap;
    }

    .section-lieblingsstuecke .product-vat {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-disclaimer);
      font-weight: 400;
      line-height: 1.5;
      color: var(--grey-600);
      text-decoration: underline;
      white-space: nowrap;
    }

    .section-lieblingsstuecke .cta-button {
      display: flex;
      width: 100%;
      max-width: var(--content-max);
      height: clamp(52px, 6vw, 56px);
      margin: 0 auto;
      justify-content: center;
      align-items: center;
      gap: var(--space-sm);
      border: 1.5px solid var(--grey-950);
      border-radius: 0;
      background: var(--grey-950);
      color: var(--white);
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-button);
      font-weight: 500;
      line-height: 1.5;
      text-decoration: none;
      cursor: pointer;
    }

    /* When both cards fit side by side, show them in a row */
    @media (min-width: 706px) {
      .section-lieblingsstuecke .product-grid {
        justify-content: center;
        overflow-x: visible;
        scroll-snap-type: none;
        max-width: var(--content-max);
        margin-left: auto;
        margin-right: auto;
        gap: var(--space-md);
      }

      .section-lieblingsstuecke .product-card {
        width: auto;
        flex: 1;
        max-width: none; /* Let cards grow to fill container */
      }
    }

    /* ==========================================================================
       Section 05: Store Finder
       ========================================================================== */
    .section-store-finder {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: var(--space-section) var(--container-padding);
      background: var(--white);
    }

    .section-store-finder .store-cards-container {
      width: 100%;
      max-width: 1400px;
      display: flex;
      flex-direction: column;
      gap: var(--space-lg);
    }

    .section-store-finder .store-card {
      width: 100%;
      background: var(--sage-green);
      border-radius: 0;
      display: grid;
      grid-template-columns: 1fr;
      padding: var(--space-lg);
      gap: 0;
    }

    /* Desktop: two-column layout for contact + map */
    @media (min-width: 768px) {
      .section-store-finder .store-cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: var(--space-lg);
      }

      .section-store-finder .store-card {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-lg);
      }

      .section-store-finder .dealer-info-box {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
        height: fit-content;
      }

      .section-store-finder .map-container {
        grid-column: 2;
        grid-row: 1 / 3;
        margin-bottom: 0;
        aspect-ratio: auto;
        height: 100%;
        min-height: 250px;
      }

      .section-store-finder .cta-button {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        max-width: none;
        margin: 0;
      }
    }


    .section-store-finder .dealer-info-box {
      width: 100%;
      background: transparent;
      border-radius: 0;
      padding: 0;
      margin-bottom: var(--space-lg);
    }

    .section-store-finder .dealer-content {
      display: flex;
      flex-direction: column;
    }

    .section-store-finder .dealer-name {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h3);
      font-weight: 500;
      line-height: 1.3;
      color: var(--grey-950);
      margin: 0 0 var(--space-md) 0;
    }

    .section-store-finder .dealer-details-row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-sm);
      margin: 0 0 var(--space-md) 0;
    }

    .section-store-finder .dealer-address {
      font-family: 'Ubuntu', sans-serif;
      font-style: normal;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 1.6;
      color: var(--grey-950);
      margin-bottom: 0;
    }

    .section-store-finder .dealer-address .street,
    .section-store-finder .dealer-address .city {
      display: block;
    }

    .section-store-finder .dealer-hours {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 1.6;
      color: var(--grey-950);
    }

    .section-store-finder .hours-line {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 4px;
    }

    .section-store-finder .hours-icon {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      color: var(--grey-950);
    }

    .section-store-finder .hours-status {
      display: inline;
      color: var(--grey-950);
    }

    .section-store-finder .hours-range {
      display: block;
    }

    .section-store-finder .hours-label {
      font-weight: 500;
      color: var(--grey-950);
    }

    .section-store-finder .hours-compact {
      display: block;
      margin-top: 2px;
      line-height: 1.6;
      color: var(--grey-950);
    }

    .section-store-finder .dealer-rating {
      display: flex;
      align-items: center;
      gap: 4px;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      color: var(--grey-950);
      margin-bottom: 4px;
      flex-wrap: wrap;
    }

    .section-store-finder .rating-value {
      margin-right: 4px;
    }

    .section-store-finder .stars {
      display: flex;
      gap: 0;
      color: var(--star-gold);
    }

    .section-store-finder .star {
      width: 16px;
      height: 16px;
    }

    .section-store-finder .rating-count {
      margin-left: 4px;
    }

    .section-store-finder .dealer-type {
      display: block;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 1.4;
      color: var(--grey-950);
    }

    .section-store-finder .map-container {
      width: 100%;
      aspect-ratio: 305 / 265;
      border-radius: 0;
      overflow: hidden;
      margin-bottom: var(--space-lg);
    }

    .section-store-finder .map-link {
      display: block;
      width: 100%;
      height: 100%;
    }

    .section-store-finder .map-image,
    .section-store-finder .map-iframe {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
    }

    .section-store-finder .cta-button {
      display: flex;
      width: 100%;
      height: clamp(52px, 6vw, 56px);
      padding: var(--space-md) var(--space-lg);
      justify-content: center;
      align-items: center;
      gap: var(--space-sm);
      border: 1.5px solid var(--grey-950);
      border-radius: 0;
      background: var(--grey-950);
      color: var(--white);
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-button);
      font-weight: 500;
      line-height: 1.5;
      text-decoration: none;
      cursor: pointer;
    }

    /* ==========================================================================
       Section 07: FAQ
       ========================================================================== */
    .section-faq {
      display: flex;
      width: 100%;
      padding: var(--space-section) var(--boxed-padding);
      flex-direction: column;
      align-items: center;
      gap: var(--space-lg);
      background: var(--grey-50);
    }

    .section-faq .faq-header {
      width: 100%;
      max-width: var(--content-max);
    }

    .section-faq .section-title {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h1);
      font-weight: 500;
      line-height: 120%;
      letter-spacing: -0.02em;
      color: var(--grey-950);
      margin: 0 0 var(--space-sm) 0;
    }

    .section-faq .section-subtitle {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 150%;
      color: var(--grey-800);
      margin: 0;
      max-width: min(100%, 800px);
      overflow-wrap: break-word;
    }

    .section-faq .faq-list {
      width: 100%;
      max-width: var(--content-max);
      display: flex;
      flex-direction: column;
    }

    .section-faq .faq-item {
      display: flex;
      flex-direction: column;
      background: var(--grey-200);
      border-top: 1px solid var(--grey-border);
    }

    .section-faq .faq-item:first-child {
      border-top: none;
    }

    .section-faq .faq-item[open] {
      background: var(--grey-200);
    }

    .section-faq .faq-question {
      display: flex;
      padding: var(--space-md) var(--space-sm) var(--space-md) var(--space-md);
      align-items: center;
      gap: var(--space-md);
      cursor: pointer;
      list-style: none;
    }

    .section-faq .faq-question::-webkit-details-marker {
      display: none;
    }

    .section-faq .question-text {
      flex: 1;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 500;
      line-height: 150%;
      color: var(--grey-950);
    }

    .section-faq .faq-chevron {
      width: clamp(24px, 4vw, 32px);
      height: clamp(24px, 4vw, 32px);
      flex-shrink: 0;
      transition: transform 300ms ease-in-out;
    }

    .section-faq .faq-item.is-open .faq-chevron {
      transform: rotate(180deg);
    }

    /* Animated FAQ answer using grid - JS controls inline styles for animation */
    .section-faq .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 300ms ease-in-out;
      background: var(--grey-100);
    }

    .section-faq .faq-answer-inner {
      overflow: hidden;
      min-height: 0;
    }

    .section-faq .faq-answer p {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 150%;
      color: var(--grey-800);
      margin: 0;
      padding: var(--space-md);
    }

    .section-faq .faq-contact {
      width: 100%;
      max-width: var(--content-max);
    }

    .section-faq .contact-heading {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h3);
      font-weight: 500;
      line-height: 140%;
      letter-spacing: -0.01em;
      color: var(--grey-950);
      margin: 0 0 var(--space-sm) 0;
    }

    .section-faq .contact-text {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 150%;
      color: var(--grey-800);
      margin: 0 0 var(--space-lg) 0;
    }

    .section-faq .cta-button {
      display: flex;
      width: 100%;
      max-width: 400px;
      height: clamp(52px, 6vw, 56px);
      padding: var(--space-md) var(--space-lg);
      justify-content: center;
      align-items: center;
      gap: var(--space-sm);
      border: 1.5px solid var(--grey-950);
      border-radius: 0;
      background: var(--grey-950);
      color: #FFFFFF;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-button);
      font-weight: 500;
      line-height: 150%;
      text-decoration: none;
      cursor: pointer;
    }

    .section-faq .cta-button:hover {
      background: #1a1a1a;
    }

    .section-faq .phone-icon {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    /* ==========================================================================
       Section 08: Category Teaser
       ========================================================================== */
    .section-category-teaser {
      width: 100%;
      background: var(--bg-warm);
      padding: var(--space-section) var(--boxed-padding);
      overflow: hidden;
    }

    .section-category-teaser .content-wrapper {
      max-width: var(--content-max);
      margin: 0 auto;
    }

    .section-category-teaser .section-title {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-h1);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: -0.02em;
      color: var(--grey-950);
      margin-bottom: var(--space-sm);
    }

    .section-category-teaser .section-subtitle {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-body);
      font-weight: 400;
      line-height: 1.5;
      color: var(--grey-800);
      margin-bottom: var(--space-lg);
      max-width: min(100%, 800px);
      overflow-wrap: break-word;
    }

    /* Horizontal swipeable carousel */
    .section-category-teaser .category-carousel {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE/Edge */
      /* No negative margins - respect section padding for proper left margin */
      margin-bottom: var(--space-lg);
    }

    .section-category-teaser .category-carousel::-webkit-scrollbar {
      display: none; /* Chrome/Safari */
    }

    .section-category-teaser .category-tile {
      flex: 0 0 auto;
      width: calc(100vw - 2 * var(--container-padding) - 48px); /* Available width minus peek space */
      max-height: 400px;
      max-width: calc(400px * 160 / 200); /* Maintain aspect ratio at max-height */
      position: relative;
      overflow: hidden;
      display: block;
      text-decoration: none;
      aspect-ratio: 160 / 200;
      scroll-snap-align: start;
    }

    .section-category-teaser .category-tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .section-category-teaser .category-label {
      position: absolute;
      bottom: var(--space-md);
      left: 50%;
      transform: translateX(-50%);
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(24px, 0.5vw + 12px, 18px);
      font-weight: 500;
      line-height: 1;
      letter-spacing: -0.01em;
      color: #FFFFFF;
      z-index: 1;
      white-space: nowrap;
    }

    .section-category-teaser .cta-button {
      display: flex;
      width: 100%;
      max-width: 400px;
      height: clamp(52px, 6vw, 56px);
      margin: 0 auto;
      justify-content: center;
      align-items: center;
      gap: var(--space-sm);
      border: 1.5px solid var(--grey-950);
      border-radius: 0;
      background: var(--grey-950);
      color: #FFFFFF;
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-button);
      font-weight: 500;
      line-height: 1.5;
      text-decoration: none;
      cursor: pointer;
    }

    /* Desktop: show all tiles in a row, aligned with content-wrapper */
    @media (min-width: 768px) {
      .section-category-teaser .category-carousel {
        justify-content: flex-start;
        overflow-x: visible;
        scroll-snap-type: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        max-width: var(--content-max);
      }

      .section-category-teaser .category-tile {
        width: auto;
        flex: 1;
      }

      .section-category-teaser .category-label {
        font-size: var(--font-body);
      }
    }

    /* ==========================================================================
       Section 09: Legal Disclaimers
       ========================================================================== */
    .section-disclaimers {
      width: 100%;
      padding: var(--space-lg) var(--boxed-padding) var(--space-section);
      background: var(--grey-100);
    }

    .section-disclaimers .disclaimer-content {
      width: 100%;
      max-width: var(--content-max);
      margin: 0 auto;
    }

    .section-disclaimers .disclaimer-text {
      font-family: 'Ubuntu', sans-serif;
      font-size: var(--font-disclaimer);
      font-weight: 400;
      line-height: 160%;
      color: var(--grey-600);
      margin: 0 0 var(--space-sm) 0;
    }

    .section-disclaimers .disclaimer-text:last-child {
      margin-bottom: 0;
    }

    .section-disclaimers .disclaimer-text a {
      color: var(--grey-600);
      text-decoration: underline;
    }

    .section-disclaimers .disclaimer-text a:hover {
      color: var(--grey-800);
    }

    /* ==========================================================================
       Product Card Links (Lieblingsstuecke)
       ========================================================================== */
    .section-lieblingsstuecke a.product-card {
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .section-lieblingsstuecke a.product-card:hover {
      opacity: 0.9;
    }

    /* ==========================================================================
       Preview Toggle Bar (shown with ?preview=true query param)
       ========================================================================== */
    .preview-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: #1a1a1a;
      padding: 12px 20px;
      display: none; /* Hidden by default, shown with ?preview query param */
      width: 100%;
      max-width: 100vw;
      overflow: hidden;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: 'Ubuntu', sans-serif;
      box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    }

    .preview-bar.is-visible {
      display: inline-flex;
    }

    .preview-bar__label {
      color: #888;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-right: 8px;
    }

    .preview-bar__btn {
      padding: 8px 20px;
      border: 1px solid #444;
      background: transparent;
      color: #ccc;
      font-family: 'Ubuntu', sans-serif;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 150ms ease;
      border-radius: 4px;
    }

    .preview-bar__btn:hover {
      background: #333;
      border-color: #666;
      color: #fff;
    }

    .preview-bar__btn.is-active {
      background: var(--sage-green);
      border-color: var(--sage-green);
      color: #fff;
    }

    .preview-bar__separator {
      width: 1px;
      height: 24px;
      background: #444;
      margin: 0 12px;
    }

    .preview-bar__select {
      padding: 8px 32px 8px 12px;
      border: 1px solid #444;
      background: #2a2a2a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ccc' d='M6 8L2 4h8z'/%3E%3C/svg%3E") no-repeat right 10px center;
      color: #ccc;
      font-family: 'Ubuntu', sans-serif;
      font-size: 14px;
      border-radius: 4px;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      min-width: 200px;
    }

    .preview-bar__select:hover {
      background-color: #333;
      border-color: #666;
    }

    .preview-bar__select:focus {
      outline: none;
      border-color: var(--sage-green);
    }

    .preview-bar__select option.is-unavailable {
      color: #666;
      font-style: italic;
    }

    .preview-bar__btn.is-disabled {
      opacity: 0.4;
      cursor: not-allowed;
      pointer-events: none;
    }

    /* Dealer select wrapper with navigation buttons */
    .dealer-select-wrapper {
      display: flex;
      align-items: stretch;
      gap: 0;
    }

    .dealer-select-wrapper .preview-bar__select {
      border-radius: 4px 0 0 4px;
    }

    .dealer-nav__btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      padding: 0;
      border: 1px solid #444;
      border-left: none;
      background: transparent;
      color: #ccc;
      cursor: pointer;
      border-radius: 0;
      transition: all 0.15s ease;
    }

    .dealer-nav__btn:last-child {
      border-radius: 0 4px 4px 0;
    }

    .dealer-nav__btn:hover {
      background: #333;
      border-color: #666;
      color: #fff;
    }

    .dealer-nav__btn:active {
      background: #444;
    }

    .dealer-nav__btn svg {
      flex-shrink: 0;
    }

    /* Hide elements not for current category */
    [data-category]:not([data-category=""]) {
      display: none;
    }

    body[data-active-category="sofa"] [data-category="sofa"]:not(.hero-video):not(.product-grid):not(.cta-button),
    body[data-active-category="bett"] [data-category="bett"]:not(.hero-video):not(.product-grid):not(.cta-button),
    body[data-active-category="kueche"] [data-category="kueche"]:not(.hero-video):not(.product-grid):not(.cta-button) {
      display: block;
    }

    /* For inline elements */
    body[data-active-category="sofa"] span[data-category="sofa"],
    body[data-active-category="bett"] span[data-category="bett"],
    body[data-active-category="kueche"] span[data-category="kueche"] {
      display: inline;
    }

    /* For flex elements (product-grid carousel) */
    body[data-active-category="sofa"] .product-grid[data-category="sofa"],
    body[data-active-category="bett"] .product-grid[data-category="bett"],
    body[data-active-category="kueche"] .product-grid[data-category="kueche"] {
      display: flex;
    }

    /* For inline-flex elements (cta-button in hero) */
    body[data-active-category="sofa"] .cta-button[data-category="sofa"],
    body[data-active-category="bett"] .cta-button[data-category="bett"],
    body[data-active-category="kueche"] .cta-button[data-category="kueche"] {
      display: inline-flex;
    }

    /* ==========================================================================
       Header Logo Styles (Dealer Co-branding)
       ========================================================================== */

    .header-logo-main {
      text-align: left !important;
    }
    /* Override theme's arbitrary max-width constraints */
    .header-main .header-logo-main-img {
      max-width: 100% !important;
      max-height: 66px !important;
    }
    .header-logo-picture {
      max-width: none !important;
      min-width: 0 !important;
      margin-left: 0 !important;
      flex-shrink: 0 !important;
    }
    .header-logo-picture img {
      max-height: clamp(70px, 12vw, 110px) !important;
      width: auto !important;
      height: auto !important;
      transition: max-height 0.3s ease !important;
    }
    .dealer-logo-added {
      max-height: 66px !important;
      width: auto !important;
      height: auto !important;
      margin-left: 8px !important;
      transition: all 0.3s ease !important;
      flex-shrink: 1 !important;
      flex-grow: 1;
      object-fit: contain;
      object-position: left;
    }
    .logo-wrapper-flex {
      align-items: center !important;
    }
    /* Desktop (992px+): Force logo column to have enough space */
    @media (min-width: 992px) {
      .header-logo-col {
        min-width: 350px !important;
        flex: 0 0 auto !important;
      }
    }

    .header-main.sticky .header-logo-main-img {
      max-height: 55px !important;
    }
    
    /* Scrolled/sticky state - shrink logos (desktop/tablet only) */
    @media (min-width: 768px) {
      .header-main.sticky .dealer-logo-added {
        max-height: 66px !important;
      }
      .header-main .header-logo-main-img {
        max-height: 66px !important;
      }
      .header-main.sticky .header-logo-picture img {
        max-height: 66px !important;
      }
      .header-main.sticky .dealer-logo-added {
        max-height: 66px !important;
      }
    }
    /* Tablet/small desktop (768px - 1199px): ensure good logo sizes */
    @media (min-width: 768px) and (max-width: 1199px) {
      .header-logo-picture img {
        max-height: 90px !important;
      }
      .dealer-logo-added {
        max-height: 66px !important;
        margin-left: 8px !important;
      }
      .header-main.sticky .header-logo-picture img {
        max-height: 66px !important;
      }
      .header-main.sticky .dealer-logo-added {
        max-height: 66px !important;
      }
    }
    /* Mobile (below 768px): ensure logos are readable - no shrink on scroll */
    @media (max-width: 767px) {
      .header-logo-picture img {
        max-height: 50px !important;
        max-width: 100% !important;
      }
      .dealer-logo-added {
        max-height: 66px !important;
        max-width: 100% !important;
        margin-left: 8px !important;
      }

      .header-main.sticky .dealer-logo-added {
        max-height: 50px !important;
      }
    }

    /* Hide top right menu due to unpredictable dealer logo sizes */
    @media (max-width: 991px) {
      .header-main .top-container {
        display: none;
      }
    }
