
/*
 * ASSOS STORE – NOVAChild
 * Eigene Designanpassungen
 *
 * Diese Datei wird als letzte CSS-Datei geladen.
 */

/* ==========================================
   1. PRODUKTNAMEN
   ========================================== */

/* Unterstreichungen entfernen */
.product-wrapper a,
.product-wrapper a:hover,
.product-wrapper a:focus,
.productbox-title a,
.productbox-title a:hover,
.productbox-title a:focus {
    text-decoration: none !important;
}

/* Einheitliche Typografie */
.productbox-title,
.item-slider-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}


/* ==========================================
   2. PRODUKT-BADGES
   ========================================== */

/* Bezugspunkt für Badge-Positionierung */
.item-slider.productbox-image {
    position: relative;
}

/* Gemeinsame Gestaltung */
.item-slider.productbox-image .sc-sale-badge,
.item-slider.productbox-image .sc-new-badge {
    position: absolute;
    top: 0;
    z-index: 20;
    display: block;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 0;
    box-shadow: none;
}

/* Rabatt links oben */
.item-slider.productbox-image .sc-sale-badge {
    left: 0;
    right: auto;
    background-color: #d71920;
}

/* NEU rechts oben */
.item-slider.productbox-image .sc-new-badge {
    right: 0;
    left: auto;
    background-color: #16803c;
}


/* ==========================================
   3. BADGES IN PRODUKTLISTEN
   ========================================== */

/* SALE – Rot, ohne gefaltete Ecken */
.productbox-ribbon.ribbon-2 {
    background-color: #d71920 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Dekorative Ecken entfernen */
.productbox-ribbon.ribbon-2::before,
.productbox-ribbon.ribbon-2::after {
    display: none !important;
    content: none !important;
}

/* NEU – Grün, ohne gefaltete Ecken */
.productbox-ribbon.ribbon-3 {
    background-color: #16803c !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Dekorative Ecken entfernen */
.productbox-ribbon.ribbon-3::before,
.productbox-ribbon.ribbon-3::after {
    display: none !important;
    content: none !important;
}

/* ==========================================
   ENDE – ASSOS STORE DESIGNANPASSUNGEN
   ========================================== */

/* ASSOS STORE – Variationsauswahl hervorheben */

.choose-variations {
    background-color: #fff5db !important;
    color: #272727 !important;
    border: 1px solid #efd38b !important;
    border-left: 4px solid #e0a100 !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    padding: 14px 18px !important;
}

/* ==========================================
   ASSOS STORE – Footer mit drei Spalten
   ========================================== */

@media (min-width: 1200px) {

    #footer #footer-boxes > .col-lg-3 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }

}

/* ==========================================
   ASSOS STORE – Widerrufsbutton im Footer
   ========================================== */

/* Widerrufsbutton unter den drei Spalten zentrieren */
#footer .withdrawal-link-wrapper {
    display: flex !important;
    justify-content: center !important;
    margin-top: 32px !important;
    margin-bottom: 12px !important;
}

/* Breite des Button-Bereichs */
#footer .withdrawal-link-wrapper > * {
    flex: 0 1 300px !important;
    max-width: 300px !important;
    text-align: center;
}

/* Preishinweis ebenfalls zentrieren */
#footer .footnote-vat {
    text-align: center !important;
    margin-top: 8px;
}

/* Smartphone-Anpassung */
@media (max-width: 575.98px) {
    #footer .withdrawal-link-wrapper > * {
        flex: 0 1 100% !important;
        max-width: 100% !important;
    }
}

/* ASSOS STARTSEITE – KACHELABSTAENDE */

.assos-kachel-grid {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

/* Hauptspalten */
.assos-kachel-grid > [data-area-id] {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* Abstand unter Winterjacken */
.assos-kachel-grid
> [data-area-id="col-1"] > .banner {
    margin-bottom: 16px !important;
}

/* Inneres Grid */
.assos-kachel-grid
> [data-area-id="col-1"] > .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

/* Untere Kacheln */
.assos-kachel-grid
> [data-area-id="col-1"] > .row > [data-area-id] {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* ASSOS – Bündige Unterkanten Desktop */

@media (min-width: 992px) {

  .assos-kachel-grid {
    align-items: stretch;
  }

  /* Rechte Spalte auf die Höhe der linken bringen */
  .assos-kachel-grid > .opc-col[data-area-id="col-1"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Unteres Grid nutzt den verbleibenden Platz */
  .assos-kachel-grid > .opc-col[data-area-id="col-1"] > .row {
    flex: 1 1 0;
    min-height: 0;
    align-items: stretch;
  }

  /* Beide unteren Spalten gleich hoch */
  .assos-kachel-grid > .opc-col[data-area-id="col-1"]
  > .row > .opc-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Banner füllen die verfügbare Höhe */
  .assos-kachel-grid > .opc-col[data-area-id="col-1"]
  > .row > .opc-col > .banner {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
  }

  /* Bildfläche unabhängig vom Originalformat */
  .assos-kachel-grid > .opc-col[data-area-id="col-1"]
  > .row > .opc-col > .banner > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .assos-kachel-grid > .opc-col[data-area-id="col-1"]
  > .row > .opc-col > .banner > picture img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

}

/* ASSOS – Abstand zwischen mobilen Kacheln */
@media (max-width: 767.98px) {
  .assos-kachel-grid .assos-mobile-abstand {
    margin-top: 16px !important;
  }
}
