/*
Theme Name: BluBliss 2
Author: blu-bliss.com
Description: Redesign für blu-bliss.com vom Oktober 2026
Text Domain: blubliss
Domain Path: /languages
Version: 1.0.0
*/

/* Allgemeines */
body,
html {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    font: normal 16px/normal Trebuchet MS;
    line-height: 1.3;
    z-index: 0;
    background-color: #f7f7f7;
    color: #212529;
}

.content {
    position: relative;
    margin: 0 auto;
    max-width: 1366px;
    border: 0px solid;
    padding: 0 15px;
}

.back-link-container {
    clear: both;
    margin-top: 40px;
}

.back-link {
    color: #23527c;
    text-decoration: none;
}

.top-container-small .content,
#top-container-small .content {
    font-size: 2rem; /* 32px */
    color: #23527c;
}

#main-container {
    margin-top: 25px;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* 26.02.2023: Ab hier erneute Übernahme von Styles */
#image-full-size-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    text-align: center;
    display: none;
    z-index: 2;
}

#image-full-size-container img {
    max-height: 100vh;
    max-width: 100%;
}

#image-text {
    position: absolute;
    bottom: 32px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0 10px;
}

#close-full-size-image,
#prev-arrow,
#next-arrow {
    position: absolute;
    font-size: 48px;
    color: white;
    cursor: pointer;
}

#close-full-size-image {
    top: 0;
    right: 10px;
}

#prev-arrow {
    left: 10px;
}

#next-arrow {
    right: 10px;
}

/* --- */

.video-preview.post-locked {
    border: 1px solid #448cde;
}

.video-preview.post-locked > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 250px;
    cursor: pointer;
}

@media (max-width: 575px) {
    .video-preview.post-locked > div {
        min-height: 168px;
    }
}

.video-preview.post-locked i {
    font-size: 3rem; /* 48px */
    color: #e8dddd;
}

.blurred-video-thumb {
    position: absolute;
    filter: brightness(.7);
    top: 0;
    left: 0;
    height: 100% !important;
}

.post-preview {
    position: relative;
}
  
.post-preview-content-image.new::after {
    content: '';
    width: 70px;
    height: 70px;
    position: absolute;
    right: -20px;
    top: -20px;
    background-image: url('/wp-content/themes/blubliss/img/star.png');
    background-repeat: no-repeat;
    background-size: contain;  
    z-index: 1;
}

.post-preview-content {
    padding: 0 15px 0 15px;
    margin-top: -10px;
    text-align: justify;
    hyphens: auto;
}

.post-preview-content-image {
    padding: 0;
}

.post-preview-content-image img {
    width: 100%;
    max-height: calc(100vh - 100px);
    object-fit: cover;
    cursor: pointer;
}

.post-preview-content-image video {
    width: 100%;
}

.image-preview-title,
.image-preview-caption {
    display: none;
}

/* Ende der erneuten Übernahme */
.booking-button {
    display: inline-block;
    border-radius: 25px;
    background-image: linear-gradient(to bottom, #f0c14b 0%, #f6dda0 100%);
    padding: 7px 20px;
    border: 2px solid white;
    color: #031022 !important;
    text-transform: uppercase;
    font-size: 1.375rem; /* 22px */
    font-weight: normal;
    cursor: pointer;
}

@media (max-width: 575px) {
    .booking-button {
        font-size: 1rem; /* 16px */
    }
}

.booking-arrow-right {
    display: inline-block;
    width: 20px;
}

.booking-arrow-right i {
    animation-name: anim-booking-arrow-right;
    animation-duration: 1.5s;
    /* animation-fill-mode: forwards; */
    animation-iteration-count: infinite;
}

@keyframes anim-booking-arrow-right {
    from {
        margin-left: 0;
    }
    
    50% {
        margin-left: 7px;
    }
    
    to {
        margin-left: 0;
    }
}

/* 03.09.2023: Geschichten */
.container-story {
    margin: 0 auto;
    text-align: justify;
    max-width: 768px;
    box-shadow: 0px 7px 5px rgba(0,0,0,0.4);
    position: relative;
    border: 1px solid #c1b6b3;
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 50px;
    background-color: white;
}

/* Footer */
footer {
    margin-top: 75px;
    padding: 0 15px;
}

.footer-header {
    font-size: 2rem;
    color: #23527c;
}

.footer-menus ul {
    list-style-type: none;
    list-style-position: outside;
    padding: 0;
    column-count: 3;
}

@media (max-width: 575px) {
    footer {
        margin-top: 25px;
    }

    .footer-menus ul {
        column-count: 2;
    }
}

.footer-menus li {
    margin-bottom: 5px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 8px;
}

.footer-menus li a {
    font-size: 0.8rem; /* 12.8px */
    color: #797979;
    text-decoration: none;
}

.copyright {
    font-size: 0.6875rem; /* 11px */
    color: #23527c;
}

/* WooCommerce */
.woocommerce-MyAccount-navigation {
    width: 17.6470588235%;
    margin-right: 5.8823529412%;
}

@media (min-width: 768px) {
    .col-full {
        max-width: 66.4989378333em;
        margin-left: auto;
        margin-right: auto;
        padding: 0 2.617924em;
        box-sizing: content-box;
    }
}

.hentry .entry-content .woocommerce-MyAccount-navigation ul {
    margin-left: 0;
    /* border-top: 1px solid rgba(0, 0, 0, .05); */
  }

.woocommerce-MyAccount-navigation ul {
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    list-style-type: none;
    border-bottom: 1px solid rgba(0, 0, 0, .05);;
    height: 33px;
    margin-top: 15px;
}

.woocommerce-MyAccount-navigation a {
    text-decoration: none;
}

.woocommerce-Input,
.woocommerce-input-wrapper input,
.woocommerce-form-login input {
    line-height: 2.3 !important;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 6px;
    padding-left: 5px;
    padding-top: 3px;
}

.woocommerce-form-row label,
.woocommerce-form-row span em {
    font-size: 12px;
}

.woocommerce-EditAccountForm fieldset {
    margin-top: 25px;
    border: 1px solid rgba(0, 0, 0, .3);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    font-size: 16px;
}

form.woocommerce-ordering {
    display: none;
}

ul.products img {
    border: 1px solid rgba(0, 0, 0, .3);
}

.woocommerce-message {
    border-top-color: #c09084;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #c09084;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .single_add_to_cart_button:hover {
    background-color: #c09084;
    opacity: .8;
}

.single_add_to_cart_button {
    font-size:95%;
    margin:0;
    line-height:1;
    cursor:pointer;
    position:relative;
    text-decoration:none;
    overflow:visible;
    padding:.618em 1em;
    font-weight:700;
    border-radius:3px;
    left:auto;
    color:#515151;
    background-color:#ebe9eb;
    border:0;
    display:inline-block;
    background-image:none;
    box-shadow:none;
    text-shadow:none
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background-color: transparent;
}

@media (max-width: 767px) {
    .packages-listing ul.products span {
        font-size: 14px;
    }
}

ul.products img {
    cursor: pointer;
}

th.product-quantity,
td.product-quantity {
    display: none;
}

/* Angaben wie "1x" nach Paketname im Check-out und auf der Bestätigungsseite danach ausblenden */
#order_review .product-quantity,
.woocommerce-order-details .product-quantity,
.woocommerce-cart-form .product-quantity {
    display: none !important;
}

/* Rechnungsadresse in Check-out-Bestätigung ausblenden */
.woocommerce-order .woocommerce-customer-details {
    display: none;
}

/* "Dein Paket" auf Warenkorb-Seite "geschwungen" darstellen */
.handwriting {
    font-family: 'Brush Script MT';
}

h1.handwriting {
    font-size: 42px;
}

/* Button "Warenkorb aktualisieren" verstecken */
.woocommerce-cart-form__contents tbody tr:last-of-type {
    display: none !important;
}

/* Zusätzliche Listung von Zwischensumme und Gesamtsumme im Warenkorb ausblenden (es soll ohnehin nur ein Paket möglich sein) */

/* Farbfestlegung für Sprechblasen-Box "Direkte Banküberweisung" (oder vermutlich auch andere Zahlungsarten, wenn sie hinzugefügt werden) */
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: #ebc7c7;
    color: black;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #ebc7c7;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}

/* Vorname und Nachname aus Formular "Mein Konto -> Konto-Details" entfernen */
.woocommerce-EditAccountForm > p:first-of-type,
.woocommerce-EditAccountForm > p:nth-of-type(2) {
    display: none;
}

/* Ansicht für Menü und Inhalt bei  "Mein Konto" optimieren */
.account-page .woocommerce {
    display: flex;
    justify-content: space-between;
}

.woocommerce-MyAccount-navigation {
    width: 140px;
}

.woocommerce-MyAccount-content {
    width: calc(100% - 155px);
}

@media (max-width: 479px) {
    .account-page .woocommerce {
        flex-wrap: wrap;
    }

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100%;
    }
}

/* Schriftgröße für den Namen eines Pakets (Produkts) auf der Listungsseite festlegen */
h2.woocommerce-loop-product__title {
    font-size: 24px !important;
}

a.reset_variations::before{
    content: "\a";
    white-space: pre;
}

/* Styles für die Produktdetailseite */
select#laufzeit {
    height: 30px;
}

.single_variation {
    margin-bottom: 15px;
}

.woocommerce-variation-description {
    display: none;
}

/* Styles für die Produktlistungsseite */
li.product > ul {
    list-style-type: circle !important;
    margin-left: 15px !important;
}

li.product > ul li {
    list-style: inherit !important;
}

.woocommerce ul.products li.product strong {
    display: inherit;
}

.woocommerce-orders-table__cell a:nth-of-type(2) {
    margin-left: 5px;
}

.woocommerce ul.products li.product .price {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .woocommerce ul.products li.product .price {
        font-size: 18px;
    }
}

/* 04.09.2022: Shop-Seite */
li.product .price {
    hyphens: none;
    text-align: left;
}

/* 11.04.2023: In mobiler Ansicht auf der Shop-Seite nur zwei Produkte pro Zeile anzeigen. */
/* @media (max-width: 575px) {
    .woocommerce-page.columns-3 ul.products li.product, .woocommerce.columns-3 ul.products li.product {
        width: 45%;
    }
} */

/* 04.06.2023: Wieder einfügte Styles zur Formatierung der Tabelle unter "Account". */
#tbl-access-stats {
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px;
    margin-bottom: 15px;
}

#tbl-access-stats th,
#tbl-access-stats td {
    text-align: left;
    padding: 5px;
}

#tbl-access-stats th {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

@media (min-width: 768px) {
    #tbl-access-stats {
        width: 50%;
    }
}

.stock.in-stock {
    display: none;
}

/* 25.05.2026: Zwingt die WooCommerce-Galerie und die Summary wieder in ein zweispaltiges Grid und formatiert bestimmte Ausgaben neu */
.single-product .price {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
}

.single-product .product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4%;
}

.single-product .woocommerce-product-gallery {
    flex: 1 1 48% !important;
    max-width: 48% !important;
    opacity: 1 !important; /* Holt das Bild aus dem Opacity-0-Sumpf */
}

.single-product .summary.entry-summary {
    flex: 1 1 48% !important;
    max-width: 48% !important;
}

/* Bootstrap-ähnliches Styling für das Laufzeit-Dropdown */
#duration {
    display: block;
    width: 100%;
    max-width: 300px; /* Begrenzt die Breite, damit es auf großen Bildschirmen nicht unendlich lang wird */
    height: auto;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem; /* Großzügiges Padding für mehr Höhe und Abstand */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff; /* Textfarbe auf weiß/hell für deinen Darkmode gesetzt */
    background-color: #2c3034; /* Dunkler Hintergrund passend zum Theme */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Eleganter Bootstrap-Pfeil in Weiß */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #495057; /* Subtiler Rahmen */
    border-radius: 0.375rem; /* Bootstrap-typische leichte Abrundung */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none; /* Deaktiviert den hässlichen Standard-Browser-Pfeil */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Fokus-Zustand beim Anklicken */
#duration:focus {
    border-color: #f7a11b; /* Nutzt deine orangefarbene Theme-Highlight-Farbe beim Klicken */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(247, 161, 27, 0.25); /* Sanfter Glow-Effekt im Theme-Farbton */
}

/* Styling für die Optionen im Ausklappmenü */
#duration option {
    background-color: #212529; /* Verhindert, dass die Optionen im Browser weiß/unschön aufblenden */
    color: #fff;
    padding: 10px;
}

/* Wandelt die WooCommerce-Variations-Tabelle in ein sauberes Block-Layout um */
.variations, 
.variations tbody, 
.variations tr {
    display: block !important;
    width: 100% !important;
    border: none !important;
}

/* Positioniert die Tabellenzellen untereinander statt nebeneinander */
.variations td.label, 
.variations td.value {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: none !important;
}

/* Stylt das Label "Dauer", damit es sauber OBEN drüber steht */
.variations td.label label {
    display: block !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px; /* Abstand nach unten zum Drop-down */
}

/* Sorgt dafür, dass der "Auswahl zurücksetzen"-Link unter dem Drop-down Abstand hält */
.variations .reset_variations {
    display: inline-block !important;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #448cde;
    text-decoration: none;
}

.variations .reset_variations:hover {
    text-decoration: underline;
}

/* Repariert das Styling des ungestylten Buttons */
.single-product .single_add_to_cart_button {
    background-color: #c09084;
    color: #fff;
    padding: .618em 1em;
    border: none;
    cursor: pointer;
}

