/* SAM STYLING */

#hidden {
    display: none;
}

/* ========== COLORS ========== */
/* in colours.css */

/* ========== FONTS ========== */
@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Hairline.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

body,
html {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ========== HEADER ========== */
/* Logo */
#top .logo.avia-svg-logo svg {
    height: 42px;
    width: auto;
    max-width: 100%;
}

#top .logo.avia-svg-logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo.avia-svg-logo svg .st0 {
    display: block;
    height: 100%;
    width: auto;
}

/* Mobile adjustments */
@media only screen and (max-width: 767px) {
    #top .logo.avia-svg-logo svg {
        height: 60px;
        width: 90%;
        min-width: 200px;
    }
}

/* ========== MAIN MENU DESKTOP ========== */
.av-main-nav > li > a {
    font-family: opensanscondensed, Helvetica, Arial, sans-serif;
    display: block;
    padding: 0 13px;
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
    transition:
        background-color 0.4s ease-in-out,
        color 0.4s ease-in-out,
        border-color 0.4s ease-in-out;
}

/* ========== MAIN MENU CONDITIONAL STYLING ========== */
/* Hide logged-in items by default */
.menulogged-in {
    display: none;
}

/* Show logged-out items by default */
.menulogged-out {
    display: inline-block;
}

/* Display only if the user is logged in */
body.logged-in .menulogged-in {
    display: inline-block;
}

body.logged-in .menulogged-out {
    display: none;
}

/* Hide .menucart-full items by default */
.menucart-full {
    display: none;
}

/* Show .menucart-full items only when the cart is visible */
html.html_visible_cart .menucart-full {
    display: inline-block !important;
}

/* Mobile-specific rules for menu visibility */
@media (max-width: 768px) {
    .responsive #top .av-main-nav li.menulogged-out:not(.av-active-burger-items) {
        display: none;
    }

    body.logged-in .menulogged-in,
    html.html_visible_cart .menucart-full,
    body:not(.logged-in) .menulogged-out {
        display: inline;
    }
}

/* ========== MOBILE BURGER MENU ========== */

/* Responsive font size, max 20px */
#av-burger-menu-ul a .avia-menu-text {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem); /* 1.25rem = 20px */
    line-height: 1.4;
}

/* Tighter spacing between items */
#av-burger-menu-ul > li {
    margin: 0.4rem 0;
    padding: 0.2rem 1rem;
}

/* Link block padding and alignment */
.html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
    padding: 16px 16px;
    line-height: 1.3;
    display: block;
    text-align: left;
    text-decoration: none;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay li.menulogged-in a,
.html_av-overlay-side #top #wrap_all .av-burger-overlay li.menulogged-out a {
    display: block;
    text-align: right;
    color: aqua !important;
}

/* Top and bottom spacing for menu container */
.av-burger-overlay-inner #av-burger-menu-ul {
    padding: 80px 0 40px 0 !important;
}

/* Shrink bullet and arrow spacing */
#av-burger-menu-ul .avia-bullet,
#av-burger-menu-ul .avia-menu-fx {
    transform: scale(0.85);
    margin-left: 0.4rem;
}

/* Hover effect on desktop */
@media (hover: hover) {
    #av-burger-menu-ul a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }
}

/* Tap feedback on mobile */
#av-burger-menu-ul a:active {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: background-color 0.1s ease;
}

/* ========== BODY ========== */
.content {
    padding-top: 0;
}

#medintro {
    margin-top: -53px !important;
}

.current-menu-item > a {
    border-bottom: 2px solid var(--menu-active-border) !important;
}

.header_color .avia-menu-fx {
    background-color: var(--menu-active-border) !important;
}

#top #wrap_all .header_color .cart_dropdown_first .cart_dropdown_link.avia-svg-icon svg:first-child,
#top .header_color .avia_cart_buttons .avia-svg-icon svg:first-child {
    fill: var(--menu-icon-color) !important;
}

.header_color .container_wrap_meta {
    background-color: var(--meta-border-opacity) !important;
}

footer .container_wrap {
    border-top: 1px solid var(--footer-border-color) !important;
}

/* Spinner */
.infinite-spinner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

/* Remove the ::after pseudo-element since you're using .css-spinner div */
.infinite-spinner::after {
    display: none !important;
}

/* Style the actual .css-spinner div element - PROPERLY CENTERED */
.infinite-spinner .css-spinner {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto; /* This centers it horizontally */
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--cat1-color); /* Using your lazy solution! */
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    box-sizing: border-box;
    /* Remove the problematic positioning */
    position: static; /* Changed from relative */
    left: auto;      /* Remove left positioning */
    transform: none; /* Remove transform */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* SEARCH FORM */
.search-form {
    max-width: 100%;
    margin: 0 auto 2rem;
    text-align: center;
}

.search-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.search-bar-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Ensures both items match height */
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-form input[type="search"] {
    flex-grow: 1;
    min-width: 250px;
    max-width: 500px;
    padding: 0 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    background: #f6f4f1;
    height: 48px;
    /* Set a fixed height */
    line-height: 48px;
}

.search-form button {
    height: 48px;
    /* Match input height */
    padding: 0 1.5rem;
    font-size: 1rem;
    background-color: var(--button-color) !important;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    line-height: 1;
}

.search-form button:hover {
    filter: brightness(0.9);
}

/* === Home > Slider === */
.slide-content::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    z-index: 1;
}

.slide-content .spotlight-inner {
    position: relative;
    z-index: 2;
}
.slide-content::before,
.category-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(3px);
    z-index: 1;
}
.slide-content .spotlight-inner,
.category-title-overlay {
    position: relative;
    z-index: 2;
}

/* === Home > Main Categories Grid === */
.main-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-block {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.category-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 0;
}

.category-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 1;
}

.category-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    z-index: 2;
}
@media (max-width: 768px) {
    .main-categories {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    .category-block {
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

/* === Home > Newsletter Signup === */

div.newsletter-block {
    display: flex;
    justify-content: center; /* centers child horizontally */
}
.newsletter-signup.grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
}

.blurred-bg {
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    position: relative;
}
@media (max-width: 768px) {
    .newsletter-signup.grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto;
    }

    .newsletter-signup .text-block {
        order: 1;
    }

    .newsletter-signup .form-block {
        order: 2;
    }
}

/* === Home > Newsletter as tilted letter on paper === */
body.page-template-page-home section.newsletter-signup {
    background-color: #f6f4f0;
    background-image: linear-gradient(178deg, rgba(255, 255, 255, 1) 19%, transparent 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 1) 3%, transparent 100%),
        linear-gradient(358deg, rgba(102, 102, 102, 0.5) 3%, transparent 40%);
    background-blend-mode: soft-light;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    border: 1px solid #fff;
    padding: 10px 30px;
}

.newsletter-signup {
    background: white;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    transform: rotate(-2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    gap: 40px;
    transition: transform 0.3s ease;
}
.newsletter-signup:hover {
    transform: rotate(-0.8deg);
}

/* Adjust heading */
.newsletter-signup h2 {
    margin-top: 0;
    font-size: 2em;
    font-weight: 600;
}

/* Form layout cleanup */
.newsletter-signup .inf-main_4b5739d494ab72c2a54540e67fc1c856 {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Input styling */
.newsletter-signup input[type="text"],
.newsletter-signup input[type="email"] {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    width: 100%;
}

/* Submit button style */
.newsletter-signup .inf-submit input[type="submit"] {
    background-color: var(--cat1-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.newsletter-signup .inf-submit input[type="submit"]:hover {
    background-color: color-mix(in srgb, var(--cat1-color) 80%, black);
}

/* RGPD styling */
.newsletter-signup .inf-rgpd {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.newsletter-signup .inf-rgpd a {
    color: #333 !important;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .newsletter-signup {
        width: 90%;
        transform: none;
        padding: 20px 0 0;
        gap: 20px;
        transition: transform 0.3s ease;
    }
    .newsletter-signup:hover {
        transform: none;
    }
}
/* === Home > Blog === */
.blog-grid.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Same Size Blog Images */
.blog-grid .thumbnail_container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}
.blog-grid .thumbnail_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .recent-posts .blog-grid.columns-3 {
        grid-template-columns: 1fr !important;
    }
    .blog-grid .thumbnail_container {
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0f0f0;
    }
}

/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4 {
    font-weight: 200;
}

h1.page-title {
    font-weight: 100;
    text-align: center;
}

.wpb_text_column p {
    line-height: 1.8;
}

#top .title_container .main-title {
    font-size: 34px;
}

/* Enable hyphenation for supported languages (e.g., English, German, French) */
html[lang="en-US"] .txtjustify,
html[lang="de-DE"] .txtjustify,
html[lang="fr"] .txtjustify,
html[lang="es"] .txtjustify,
html[lang="pt"] .txtjustify,
html[lang="pt-BR"] .txtjustify {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphenate-limit-lines: 2;
    hyphenate-limit-zone: 8%;
}

/* Disable hyphenation for languages that don't require it */
html[lang="hi"] .txtjustify,
/* Hindi */
html[lang="zh"] .txtjustify,
/* Chinese */
html[lang="ja"] .txtjustify,
/* Japanese */
html[lang="ar"] .txtjustify {
    /* Arabic */
    text-align: inherit;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
}
@media (max-width: 768px) {
    h1,
    h2,
    h3,
    h4 {
        font-weight: 300;
    }

    h1.page-title {
        font-weight: 200;
        text-align: center;
    }
}

/* ========== HIDE ELEMENTS ========== */
/* HIDE FEATURED IMAGE FROM PAGE */
.entry-content-header .page-thumb {
    display: none;
}

/* HIDE PAGE TITLES */
.woocommerce-account .title_container,
.woocommerce-cart .title_container,
.woocommerce-checkout .title_container,
.single-product .entry-title {
    display: none;
}

.woocommerce-account .content,
.woocommerce-cart .content,
.woocommerce-checkout .content {
    padding-top: 50px;
}

/* HIDE SECOND COUPON LIST */
#generated_coupon_data_container {
    display: none;
}

/* HIDE PRODUCT META */
.single-product .product_meta {
    display: none;
}

/* HIDE THE QUANTITY FIELD ON PRODUCT PAGES */
.woocommerce div.quantity {
    display: none;
}

/* HIDE SUGGESTED PRODUCTS IN CART */
.woocommerce-cart .wt-related-products,
.woocommerce-checkout .wt-related-products,
.woocommerce-cart .cross-sells,
.woocommerce-checkout .cross-sells {
    display: none !important;
}

/* HIDE UPDATE CART BUTTON */
.woocommerce-cart button[name="update_cart"] {
    display: none !important;
}

/* HIDE HOURS MINUTES IN COUPON DATEPICKER  */
.ui_tpicker_hour_label,
.ui_tpicker_hour,
.ui_tpicker_minute_label,
.ui_tpicker_minute {
    display: none;
}

.additional-text {
    margin-bottom: 24px;
}

.wpfooterbar {
    display: none !important;
}

/* ========== IMAGES ========== */
/* IMAGES ON TOP ON MOBILE PEOPLE PAGE */
.col-imgright .wpb_column h3,
.col-imgright .wpb_column p {
    /* text-align: right !important; */
}

.col-imgright .vc_icon_element {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .col-imgright .wpb_column:nth-child(1) {
        order: 2;
        /* TEXT COLUMN */
    }

    .col-imgright .wpb_column:nth-child(2) {
        order: 1;
        /* IMAGE COLUMN */
    }

    .col-imgright .wpb_column h3,
    .col-imgright .wpb_column p {
        /* text-align: left !important; */
    }
}

/* ========== W O O C O M M E R C E ========== */
/* ========== KEYWORD CATEGORY CLOUD ========== */
.keyword-cloud,
.category-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Keyword base style */
.keyword,
.category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 400;
    line-height: 1.2;
    padding: 0.3em 0.6em;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
    font-size: inherit;
    margin: 0.15em;
}

/* Responsive font sizes set inline, but we can tweak spacing */
.keyword {
    margin: calc(0.15em + 0.1vw);
}

/* Ensure links are centred and spacing behaves */
.keyword a,
.category a {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
    padding: 0.2em 0.4em;
}

.category a.current {
    font-weight: 500;
}

.category a.other {
    opacity: 0.8;
}

/* Product Archive, Category, Search */
div .products.columns-2 .product,
div .products.columns-3 .product,
div .products.columns-4 .product {
    margin: 0;
}

ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    padding: 0;
}

ul.products.columns-2 li.product {
    width: calc((100% - 2rem) / 2);
    /* 1 gap of 2rem */
}

ul.products.columns-3 li.product {
    width: calc((100% - 4rem) / 3);
    /* 2 gaps of 2rem = 4rem total */
}

@media (max-width: 768px) {
    ul.products li.product {
        width: 100% !important;
    }
}

.inner_product,
div .products .product a,
div .products .product a img {
    border: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

header.products-heading {
    margin: 2rem 0;
}

.products-heading h2 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    font-weight: 100 !important;
    text-align: center;
}

/* === Spotlight Product Wrapper === */
.spotlight-product {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
    overflow: hidden;
}

/* Fake parallax */
.spotlight-product {
    background-attachment: fixed;
}

/* Background */
.spotlight-product::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    backdrop-filter: var(--blur-effect, blur(5px));
    background: rgba(255, 255, 255, 0.15) url("/wp-content/themes/adriana25/img/pixel-overlay.png");
    z-index: 0;
}

.spotlight-product.no-blur::before {
    backdrop-filter: none !important;
}

/* === Spotlight Inner Content === */
.spotlight-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
}

/* === Spotlight Image === */
.spotlight-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 380px;
    max-height: 344px; /* ADD THIS - adjust the value to match your image size */
    overflow: visible;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
    will-change: transform;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); /* Move shadow here */
}

.spotlight-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    vertical-align: top; /* Prevent stray whitespace */
}
.spotlight-image-wrapper a {
    display: block;
    line-height: 0; /* Avoid space below images */
}

.spotlight-image-wrapper span.image-overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    pointer-events: none;
}

.spotlight-image-wrapper:hover {
    transform: rotate(0deg);
}

/* === Spotlight Text === */
.spotlight-text {
    flex: 1 1 400px;
    background: #33333366;
    padding: 2rem;
    border-radius: 6px;
    text-align: left;
}

.main_color .spotlight-text h2,
.spotlight-text h2 {
    color: #fff;
    margin-top: 0;
    font-size: 1.8rem;
}

.spotlight-excerpt,
.spotlight-excerpt a {
    color: #fff !important;
    font-size: 1rem;
    line-height: 1.6;
}

.spotlight-excerpt em {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}

/* === Spotlight Button === */
.spotlight-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
}

.spotlight-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background-color: var(--button-color);
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.spotlight-button:hover {
    filter: brightness(0.9);
}

/* === Mobile Adjustments === */
@media (max-width: 768px) {
    .spotlight-product {
        margin-left: 0;
        padding: 2rem 1rem;
    }

    .spotlight-inner {
        flex-direction: column;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .spotlight-inner {
        flex-direction: column;
        align-items: center;
    }

    .spotlight-image {
        transform: none;
    }

    .spotlight-text {
        width: 100%;
    }
}

/* Product */
.spotlight-product {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
    overflow: hidden;
    z-index: 0;
}
/* End Spotlight */

/* ---- Spotlight Slider ---- */
/* Product Wrapper */
.spotlight-product {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
    overflow: hidden;
    z-index: 0;
}

/* Spotlight Slider */
.spotlight-slider {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

/* Global overlay */
.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15) url("/wp-content/themes/adriana25/img/pixel-overlay.png");
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* Swiper arrows & pagination */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}
.spotlight-text {
    background: #33333366;
    padding: 2rem;
    border-radius: 6px;
    text-align: left;
    width: 60%; /* 20% margin on desktop */
    margin: 0 auto 3rem auto;
    max-width: 800px;
    transition: all 0.3s ease;
}

.spotlight-text h2 {
    color: #fff;
    margin-top: 0;
    font-size: 1.8rem;
    word-break: break-word;
    line-height: 1.4;
}

.spotlight-excerpt,
.spotlight-excerpt a {
    color: #fff !important;
    font-size: 1rem;
    line-height: 1.6;
}

.spotlight-excerpt em {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}

/* === Spotlight Button === */
.spotlight-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background-color: var(--button-color);
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.spotlight-button:hover {
    filter: brightness(0.9);
}

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
    .spotlight-text {
        width: 80%; /* 10% margin on tablet */
    }
}

@media (max-width: 768px) {
    .spotlight-slider {
        width: 100%;
        height: 350px;
    }

    .spotlight-inner {
        flex-direction: column;
        padding: 0 1rem;
        align-items: center;
    }

    .spotlight-product {
        padding: 2rem 1rem;
    }

    .spotlight-text {
        width: 100%;
        max-height: 170px;
        margin-bottom: 0;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.5);
        padding: 1.5rem;
    }

    .spotlight-text h2 {
        margin-top: 0;
        font-size: clamp(1.1rem, 4vw, 1.8rem); /* min: 1.1rem, ideal: 4% of width, max: 1.8rem */
        word-break: break-word;
        line-height: 1.4;
    }

    .spotlight-excerpt {
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: hidden !important;
    }

    .swiper-slide {
        height: 350px !important;
    }

    .swiper-slide .slide-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* End Spotlight Slider */

/* Mini Cart Button */
.avia_cart_buttons {
    opacity: 0.6;
}
/* Single Product Page */
form.cart .button {
    float: none;
    /* Remove the floating behavior */
    display: block;
    /* Ensure it behaves as a block element */
}

.product-keywords {
    display: block;
    margin-top: 50px;
    font-size: 12px;
    color: #555;
}

.product .woocommerce-tabs {
    display: none;
}

/* Base Badge Styles */
.onsale,
.new-badge,
.live-badge,
.extra-badge {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    width: 80px;
    height: 80px;
    line-height: 1.2;
    padding: 10px;
    position: absolute;
    top: -15px;
    right: 60px;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: rotate(-4deg);
    transform-origin: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: normal;
    word-break: break-word;
}

/* favoriten_query */
.columns-3 .new-badge,
.columns-3 .live-badge,
.columns-3 .extra-badge {
    top: 10px;
    right: -10px;
}

.premiere-badge {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    padding: 6px 12px;
    position: absolute;
    top: 0;
    right: 60px;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    transform: rotate(6deg);
    transform-origin: center;
}

#top .onsale {
    width: 60px;
    height: 60px;
    transform: rotate(6deg);
    border-radius: 50%;
    top: -50px;
}

/* Tablet adjustments */
@media (max-width: 923px) {
    .new-badge,
    .live-badge,
    .extra-badge {
        font-size: 18px;
        width: 100px;
        height: 100px;
        padding: 5px;
        top: 120px;
        right: 200px;
    }

    .columns-3 .new-badge,
    .columns-3 .live-badge,
    .columns-3 .extra-badge {
        font-size: 12px;
        width: 70px;
        height: 70px;
        top: 10px;
        right: -10px;
    }

    .premiere-badge {
        transform: rotate(0deg);
        font-size: 18px;
        padding: 10px 20px;
        top: 100px;
        right: 80px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .new-badge,
    .live-badge,
    .extra-badge {
        width: 80px;
        height: 80px;
        font-size: 14px;
        top: 20px;
        right: 150px;
    }

    .columns-3 .new-badge,
    .columns-3 .live-badge,
    .columns-3 .extra-badge {
        font-size: 20px;
        width: 120px;
        height: 120px;
        top: 10px;
        right: -10px;
    }

    .premiere-badge {
        font-size: 14px;
        padding: 6px 12px;
        top: 200px;
        right: 150px;
    }
}

/* Small mobiles */
@media (max-width: 480px) {
    .new-badge,
    .live-badge,
    .extra-badge {
        font-size: 12px;
        width: 60px;
        height: 60px;
        padding: 4px;
        top: 15px;
        right: 20px;
    }

    .columns-3 .new-badge,
    .columns-3 .live-badge,
    .columns-3 .extra-badge {
        font-size: 12px;
        width: 70px;
        height: 70px;
        top: 10px;
        right: -10px;
    }

    .premiere-badge {
        font-size: 12px;
        padding: 5px 10px;
        top: 175px;
        right: 20px;
    }
}

/* Hide Sorting on Archive */
.archive.woocommerce-page .product-sorting {
    display: none;
}

#top div .widget_shopping_cart .woocommerce-mini-cart__buttons .button {
    display: block;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
}

#top div .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout {
    margin-bottom: 0;
}

.single-product .single-product-main-image .woocommerce-product-gallery__trigger,
.single-product .single-product-main-image .avia-wc-30-product-gallery-lightbox {
    display: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    text-align: left;
}

/* STYLE CUSTOM SUBTITLE */
.custom-subtitle,
.category-link {
    font-size: 13px;
    line-height: 15px;
    margin-top: 0;
    color: #333;
}

/* CHECKOUT */
/* Hide asterisks on checkout fields */
.woocommerce form .form-row abbr.required {
    display: none !important;
}

/* Hide the customer notes section */
.woocommerce-additional-fields {
    display: none !important;
}

/* Smart coupons datepicker */
.ui-datepicker .ui-datepicker-header.ui-widget-header {
    background: #fcfaf6 !important;
}

.wc-sc-toggle-check-input:checked ~ .wc-sc-toggle-check-text {
    background: #f3f0ec !important;
    color: #a19890 !important;
}

.wc-sc-toggle-check-text {
    background: #a19890 !important;
    color: #fff !important;
}

.woocommerce-privacy-policy-text {
    font-size: 13px;
}

/* Initially hide the address, city, zip etc. fields */
/* Initially hide address fields */
.woocommerce-billing-fields #billing_address_1_field,
.woocommerce-billing-fields #billing_city_field,
.woocommerce-billing-fields #billing_postcode_field,
.woocommerce-billing-fields #billing_vat_number_field,
.woocommerce-billing-fields .location_confirmation {
    display: none;
    transition: all 0.3s ease;
}

/* Show fields when the toggle is active */
.woocommerce-billing-fields #billing_address_1_field.visible,
.woocommerce-billing-fields #billing_city_field.visible,
.woocommerce-billing-fields #billing_postcode_field.visible,
.woocommerce-billing-fields #billing_vat_number_field.visible,
.woocommerce-billing-fields .location_confirmation.visible {
    display: block;
}

#invoice_request_checkbox {
    margin-bottom: 20px;
}

#invoice_request_checkbox label {
    font-size: 14px;
}

#invoice_request_field label {
    font-weight: 200 !important;
}

#top label span,
#top legend span {
    font-size: 16px;
}

#top #payment .terms {
    text-align: left;
    padding: 0;
}

.return-to-shop {
    display: none;
}

/* Target WooCommerce default pagination container */
.woocommerce nav.woocommerce-pagination,
.navigation.pagination {
    text-align: center;
    margin-top: 2em;
}

/* Container holding the links */
.woocommerce nav.woocommerce-pagination .nav-links,
.navigation.pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
}

/* Page links (a + span) */
.woocommerce nav.woocommerce-pagination .page-numbers,
.navigation.pagination .page-numbers {
    display: inline-block;
    padding: 0.5em 1em;
    background: var(--cat1-opacity, #eee);
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s ease-in-out;
}

/* Hover for page links */
.woocommerce nav.woocommerce-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
    background: #ddd;
}

/* Current page */
.woocommerce nav.woocommerce-pagination .current,
.navigation.pagination .current {
    background: var(--cat1-color, #333);
    color: #fff;
    font-weight: bold;
}

/* Dots */
.woocommerce nav.woocommerce-pagination .dots,
.navigation.pagination .dots {
    cursor: default;
    background: transparent;
    color: #666;
}

/* Newsletter Checkbox on Checkout */
.newsletter-subscribe {
    margin-bottom: 20px;
}


/* MY ACCOUNT PAGE */
/* Hide the shipping address section on the My Account > Addresses page */
.u-column2.col-2.woocommerce-Address {
    display: none;
}

/* ============ CF7 FORM STYLES ============ */

/* Input Fields */
#top .wpcf7 input[type="text"],
#top .wpcf7 input[type="email"] {
    margin-bottom: 0;
}

#top .wpcf7 .wpcf7-list-item {
    display: inline-block;
    margin: 0 !important;
}

/* Labels and Legends */
#top .wpcf7 label span,
#top .wpcf7 legend span {
    font-weight: normal;
    font-size: 13px !important;
    color: #444;
}

#top .wpcf7 span.wpcf7-list-item-label {
    font-weight: normal;
    font-size: 16px !important;
    color: #444;
}

/* Submit Button */
#top .wpcf7 .wpcf7-submit {
    margin: 20px 0;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 16px !important;
}

/* Placeholder Text */
.wpcf7-form-control::placeholder {
    color: #333 !important;
    opacity: 1;
}

/* Input Field Text */
.wpcf7-form-control {
    color: #000 !important;
}

/* Error Styling */
.wpcf7-form-control.wpcf7-not-valid {
    position: relative;
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: -58px;
    left: 7px;
    color: #c32830;
    font-size: 14px;
    width: 300px;
}

/* Response Output */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #ebe8e8;
    border: none;
    color: #666;
    border-radius: 3px;
    margin: 0;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #0073aa;
    color: #fff;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #c32830;
    color: #fff;
}

.wpcf7 form.spam .wpcf7-response-output {
    background-color: #f56e28;
    color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #ffb900;
    color: #fff;
}

/* Hide Form After Sent */
.wpcf7-form.sent p {
    display: none;
}

/* Align Error Messages */
.wpcf7-form-control-wrap {
    position: relative;
}

/* ========== MESSAGES STYLES ========== */
/* Success */
ul.woocommerce-message {
    border: none;
    list-style: none;
    margin: 0 0 23px 0;
    padding: 15px;
    background-color: #d2f2fd;
    color: #20c0f6;
    display: flex;
    align-items: center;
}

.woocommerce-message li .button,
.woocommerce-message li a.button {
    margin-left: auto;
    background-color: #20c0f6;
    color: #fff;
}

/* Error */
ul.woocommerce-error {
    border: none;
    list-style: none;
    margin: 0 0 23px 0;
    padding: 15px;
    background-color: #f0dcdb;
    color: #941210;
    display: flex;
    align-items: center;
}

.woocommerce-error li .button,
.woocommerce-error li a.button {
    margin-left: auto;
    background-color: #c32830;
    color: #fff;
}

/* Info */
ul.woocommerce-info {
    border: none;
    list-style: none;
    margin: 0 0 23px 0;
    padding: 15px;
    background-color: #fcfaf6;
    color: #a19890;
    display: flex;
    align-items: center;
}

.woocommerce-info li .button,
.woocommerce-info li a.button {
    margin-left: auto;
    background-color: #605450;
    color: #fff;
}

/* ========== VIDEO PREVIEW STYLES ========== */

/* Container for the video and the placeholder */
.youtube-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    transition: aspect-ratio 0.3s ease;
}

/* Initially, the aspect ratio is 1:1 for the placeholder */
.youtube-video-wrapper.placeholder-active {
    aspect-ratio: 1 / 1;
}

/* Switch to 16:9 when the video is playing */
.youtube-video-wrapper.video-playing {
    aspect-ratio: 16 / 9;
}

/* Hide the iframe initially */
.youtube-iframe1,
.youtube-iframe2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    border: none;
}

/* Circular placeholder */
.youtube-placeholder-container1,
.youtube-placeholder-container2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-placeholder-container1 img,
.youtube-placeholder-container2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ========== PEOPLE PAGE ========== */
/* General hoverbox styling */
.vc-hoverbox-wrapper.vc-hoverbox-shape--round .vc-hoverbox-back,
.vc-hoverbox-wrapper.vc-hoverbox-shape--round .vc-hoverbox-front {
    border-radius: 50% !important;
    /* Ensures round images */
    overflow: hidden;
    /* Prevents content from spilling outside the circle */
    aspect-ratio: 1;
    /* Forces a square aspect ratio to prevent oval shapes */
    max-width: 250px;
}

/* Add bottom margin on all devices */
.vc-hoverbox-wrapper.vc-hoverbox-shape--round {
    margin-bottom: 24px;
    /* Adjust bottom spacing */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .vc-hoverbox-wrapper.vc-hoverbox-shape--round .vc-hoverbox-back,
    .vc-hoverbox-wrapper.vc-hoverbox-shape--round .vc-hoverbox-front {
        width: 100%;
        /* Ensures it scales correctly on mobile */
        height: auto;
        /* Maintains aspect ratio */
        max-width: 250px;
        /* Adjust to fit smaller screens */
        margin: 0 auto;
        /* Centers the images */
    }
}

/* LIST PRODUCTS ON PEOPLE PAGE */
#people .custom-product-list {
    list-style: none;
    padding: 0;
}

#people .custom-product-list span {
    margin-left: 10px;
}

#people .custom-product-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#people .custom-product-item a {
    display: flex;
    align-items: center;
}

#people .custom-product-title {
    margin-left: 10px;
    /* Keeps the title spaced from the image */
    line-height: 1;
    /* Ensures proper alignment */
}

/* ========== SHORTEN SEARCH RESULT TEXT  ========== */
.search-results .entry-content > p:first-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Approximation for 50 words */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results .entry-content > p:not(:first-of-type) {
    display: none;
}

/* ========== FOOTER ========== */
/* remove stupid cookie settings tab */
.cmplz-manage-consent {
    display: none;
}

/* beautify newsletter sign up form in footer */
.widget_text form.inf-form div h4,
.widget_text form.inf-form div span {
    display: none;
}

.widget_text form.inf-form label {
    font-weight: 400 !important;
}

.widget_text form.inf-form .inf-submit {
    text-align: left;
}

/* Reset the default font-based icon */
/* Disable transition for the main anchor */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a,
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a {
    transition: none;
}

/* General styles for custom social icons */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a::before,
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("https://theta-music.com/wp-content/themes/theta-child/custom-icons/theta_social_icons.png")
        no-repeat;
    background-size: 122px 60px;
    /* Adjust for @2x sprite dimensions */
    vertical-align: middle;
    border-radius: 50%;
    /* Makes the icon round */
    transition: none;
    /* Disable transition for background-position */
}

/* Default state - Bluesky */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a::before {
    background-position: 0 0;
}

/* Hover state - Bluesky */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a:hover::before {
    background-position: 0 -30px;
    /* Move to the hover state in the sprite */
}

/* Default state - Insight Timer */
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a::before {
    background-position: -33px 0;
}

/* Hover state - Insight Timer */
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a:hover::before {
    background-position: -33px -33px;
}

/* Ensure proper alignment and padding around the icons */
.socket_color .social_bookmarks li {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /* Matches the icon shape */
    text-align: center;
    line-height: 30px;
    /* Center the icon vertically */
}
