/* SAM STYLING */

#hidden {
    display: none;
}

/* ========== HEADER ========== */
#top #header.header-scrolled .logo,
#top #header.header-scrolled .logo a {
    padding: 3px;
}

body .logo {
    fill: #FFF;
}

.logo,
.logo a {
    padding: 10px;
}
@media only screen and (max-width: 767px) {
  .av-logo-container .logo svg {
    height: 10vw !important;
    max-height: 60px !important;
  }
}

/* ========== MAIN MENU DESKTOP ========== */
.av-main-nav > li > a {
    display: block;
    padding: 0 13px;
    font-weight: 500;
    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;
}

.menu-item .avia-menu-text {
    text-transform: uppercase;
}

/* Main menu text white on homepage, excluding dropdowns and active items */
.home .main_menu > div > ul > li > a {
    color: #FFF !important;
}

/* Set only the first menu item to white, leaving dropdowns unaffected */
.home .main_menu > div > ul > li:first-child > a {
    color: #FFF !important;
}

/* Remove white color from dropdowns, active items, and parent menu items */
.home .main_menu .sub-menu li a,
.home .main_menu ul li.current-menu-item > a,
.home .main_menu ul li.current-menu-parent > a {
    color: inherit !important;
}

/* Set only the current WPML language in the main menu to white */
.home .wpml-ls-current-language > a .wpml-ls-native {
    color: #FFF !important;
}

/* Ensure WPML dropdown items retain their default color */
.home .wpml-ls-item a .wpml-ls-native {
    color: inherit !important;
}

.avia-menu-text .wpml-ls-native {
    color: #999999;
}

/* Specific colors for WPML dropdown items */
.home .wpml-ls-item.wpml-ls-item-en .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-es .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-fr .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-ar .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-zh-hans .wpml-ls-native {
    color: #999999 !important;
}

/* Revert to default colors when header is scrolled */
#top #header.header-scrolled .main_menu > div > ul > li > a,
#top #header.header-scrolled .wpml-ls-current-language > a .wpml-ls-native,
#top #header.header-scrolled .main_menu .sub-menu li a {
    color: #999999 !important;
}

#top #header.header-scrolled .main_menu ul li.current-menu-item > a,
#top #header.header-scrolled .main_menu ul li.current-menu-parent > a {
    color: inherit !important;

}

/* ========== 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;
    }
}

/* ========== MENU MOBILE ========== */
.html_av-overlay-side-classic #top .av-burger-overlay li li .avia-bullet,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: var(--enfold-header-color-color) !important;
}

#av-burger-menu-ul .wpml-ls-item a {
    color: #666 !important;
    font-size: 12px;
}

.bold span.avia-menu-text {
    font-weight: 700;
}

.bold a .avia-menu-text {
    font-weight: 700 !important;
}

/* ========== BODY ========== */

#main, 
.avia-msie-8 .av_header_sticky_disabled#header {
    background-color: var(--enfold-body-color-bg) !important;
}

.content {
    padding-top: 0;
}

html body[class*="page-id-"] ::selection,
html body[class*="page-id-"] *::selection {
    background-color: #c32830 !important;
    color: #FFFFFF !important;
}

html body[class*="page-id-"] ::-moz-selection,
html body[class*="page-id-"] *::-moz-selection {
    background-color: #c32830 !important;
    color: #FFFFFF !important;
}

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

blockquote {
    border-style: solid;
    border-width: 1px;
    padding: 16px;
    margin-bottom: 0;
    margin-right: 0;
    font-size: 12px;
    line-height: 1em;
    width: 30%;
    min-width: 250px;
}


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

h1,
h2,
h3,
h4 {
    font-weight: 300 !important;
}

.wpb_text_column p {
    line-height: 1.8;
}

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


/* ========== 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 {
    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; */
    }
}

/* NEWSLETTER */

/* === 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: start; 
    margin: 3rem 0;
}
.newsletter-signup img {
    max-width: 180px;
    vertical-align: top;
    display: inline-block;
}
.newsletter-signup .text-block {
    display: flex;
    align-items: flex-start;
}
.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 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 h4 {
    margin: 10px 0 20px 0;
    font-size: 2em;
    font-weight: 600;
}

/* Form layout cleanup */
.newsletter-signup .inf-main {
    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: #feb502;
    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, #feb502 90%, 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;
    }
}

/* ========== W O O C O M M E R C E ========== */
.inner_product,
div .products .product a,
div .products .product a img {
    border: none;
}
/* 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;
}

/* 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;
}

/* CATEGORIES */

/* Default Category Styles */
body {
    --cat1-color: #fcfaf6; 
    --cat1-opacity: #fcfaf6; 
}

/* Main menu text white on homepage, excluding dropdowns and active items */
.home .main_menu > div > ul > li > a {
    color: #FFF !important;
}

/* Set only the first menu item to white, leaving dropdowns unaffected */
.home .main_menu > div > ul > li:first-child > a {
    color: #FFF !important;
}

/* Remove white color from dropdowns, active items, and parent menu items */
.home .main_menu .sub-menu li a,
.home .main_menu ul li.current-menu-item > a,
.home .main_menu ul li.current-menu-parent > a {
    color: inherit !important;
}

/* Set only the current WPML language in the main menu to white */
.home .wpml-ls-current-language > a .wpml-ls-native {
    color: #FFF !important;
}

/* Ensure WPML dropdown items retain their default color */
.home .wpml-ls-item a .wpml-ls-native {
    color: inherit !important;
}

/* Specific colors for WPML dropdown items */
.home .wpml-ls-item.wpml-ls-item-en .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-es .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-fr .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-ar .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-zh-hans .wpml-ls-native {
    color: #999999 !important;
}

/* Revert to default colors when header is scrolled */
#top #header.header-scrolled .main_menu > div > ul > li > a,
#top #header.header-scrolled .wpml-ls-current-language > a .wpml-ls-native,
#top #header.header-scrolled .main_menu .sub-menu li a,
#top #header.header-scrolled .main_menu ul li.current-menu-item > a,
#top #header.header-scrolled .main_menu ul li.current-menu-parent > a {
    color: inherit !important;
}

/* General styles */
.main_color {
    background-color: var(--cat1-opacity) !important;
    color: #333 !important;
}

.logo .cls-1 {
    fill: var(--cat1-color) !important;
}

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

.header_color .wpml-ls-item.current-menu-item .avia-menu-fx {
    background: none !important;
    border: none !important;
}

.main_color p {
    color: #333 !important; /* Fallback text color */
}

/* Text and Selection Styling */
::selection {
    background-color: var(--cat1-color) !important;
    color: var(--enfold-main-color-bg);
}

/* Common Elements Styling */
.woocommerce-loop-product__title,
.avia-menu-text,
.av-hamburger-inner,
.av-hamburger-inner::before,
.av-hamburger-inner::after,
.footer_color a,
.footer_color strong {
    color: var(--cat1-color) !important;
}

.footer_color .button {
    color: var(--cat1-color) !important;
    background: var(--cat1-opacity);
    border: 2px solid var(--cat1-color) !important;
}

/* Hamburger Menu Styling */
.av-hamburger-box strong,
.av-hamburger--spin:hover .av-hamburger-inner {
    color: var(--cat1-color) !important;
    background-color: var(--cat1-color) !important;
}

/* 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;
}

/* 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;
}

/* ========== 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 ========== */

#footer {
    padding: 0;
}
/* 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 */
}