/* Fonts */
@font-face {
    font-family: 'ivar-display';
    src: url('fonts/IvarDisplayCondensed-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ivar';
    src: url('fonts/IvarText-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'readex';
    src: url('fonts/ReadexPro-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* =====================================================
   FORCE FIX – WooCommerce Notices (CSS ONLY)
   ===================================================== */

/* 1️⃣ FORCE show only ONE notice (hide duplicates) */
.woocommerce-message:not(:first-of-type),
.woocommerce-error:not(:first-of-type),
.woocommerce-info:not(:first-of-type) {
    display: none !important;
}

/* 2️⃣ Reset WooCommerce broken pseudo-elements */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
    content: none !important;
}

/* 3️⃣ Clean notice box */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative;
    padding: 1em 3em 1em 1.5em !important;
    margin: 0 0 1.5em !important;
    background: #f6f5f8;
    color: #515151;
    border-top: 3px solid #8fae1b;
    line-height: 1.6;
}

/* 4️⃣ Re-add icon correctly (RTL friendly) */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    content: "\e028";
    font-family: WooCommerce;
    position: absolute;
    top: 50%;
    right: 1em; /* RTL */
    transform: translateY(-50%);
    color: #8fae1b;
    font-size: 18px;
}

/* 5️⃣ Button alignment (RTL) */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: left;
    margin-top: 0.5em;
}

/* 6️⃣ Mobile fix */
@media (max-width: 768px) {
    .woocommerce-info, .woocommerce-error, .woocommerce-message {
        display: grid;
    }
    .woocommerce .woocommerce-message .button {
        margin:10px 0;
        text-align: center;
    }
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        text-align: center;
        padding: 1em 2.5em 1em 1.5em !important;
        font-size: 15px;
    }

    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        float: none;
        display: inline-block;
    }
}


.wp-block-woocommerce-checkout {
    font-size: 18px;
    font-weight: 500 !important;
    border: 1px solid;
    padding: 10px 10px 4px;
    border-radius: 5px;
    background: #ffe1b5;
    border: 1px solid #360b0aa6;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
    color:#ffe1b5;
}

.in-stock {
    display: none !important;
}
.menu-list li a {
    color:#ffe1b5 !important;
}

.wc-block-components-title.wc-block-components-title,
.wc-block-components-address-card address .wc-block-components-address-card__address-section,
.wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__label,
.wc-block-checkout__terms.wc-block-checkout__terms--with-separator span,
.wc-block-components-totals-item span,
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button,
.wc-block-components-totals-coupon .wc-block-components-panel__button,
.wc-block-components-radio-control-accordion-content,
.wc-block-components-checkbox .wc-block-components-checkbox__label, .wc-block-components-checkbox>span,
.wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices,
.wc-block-components-order-summary .wc-block-components-order-summary-item__description p,
.wc-block-components-product-name,
.wc-block-components-checkout-step__description,
.wc-block-components-formatted-money-amount,
.wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    color:#360B0A;
}

/* Basics */
* {
    margin: 0;
    padding: 0;
    color: inherit;
    list-style: none;
    box-sizing: border-box;
}

/* Links - remove underline by default */
a {
    text-decoration: none;
}

/* =====================================================
   WordPress Content Formatting
   Preserves bold, italic, underline, lists, blockquotes
   etc. from the WordPress editor (the_content)
   ===================================================== */
.content strong,
.content b,
.post-content strong,
.post-content b,
.services-contents strong,
.services-contents b {
    font-weight: bold;
}

.content em,
.content i:not([class]),
.post-content em,
.post-content i:not([class]),
.services-contents em,
.services-contents i:not([class]) {
    font-style: italic;
}

.content u,
.post-content u,
.services-contents u {
    text-decoration: underline;
}

.content s,
.content del,
.post-content s,
.post-content del,
.services-contents s,
.services-contents del {
    text-decoration: line-through;
}

.content ul,
.post-content ul,
.services-contents ul {
    list-style: disc;
    padding-inline-start: 1.5em;
    margin: 1em 0;
}

.content ol,
.post-content ol,
.services-contents ol {
    list-style: decimal;
    padding-inline-start: 1.5em;
    margin: 1em 0;
}

.content li,
.post-content li,
.services-contents li {
    list-style: inherit;
    margin-bottom: 0.3em;
}

.content blockquote,
.post-content blockquote,
.services-contents blockquote {
    border-inline-start: 4px solid var(--light-color);
    padding: 0.8em 1.2em;
    margin: 1em 0;
    font-style: italic;
    opacity: 0.85;
}

.content a,
.post-content a,
.services-contents a {
    text-decoration: underline;
    color: var(--light-color);
}

.content a:hover,
.post-content a:hover,
.services-contents a:hover {
    opacity: 0.8;
}

.content img,
.post-content img,
.services-contents img {
    max-width: 100%;
    height: auto;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
.services-contents h1, .services-contents h2, .services-contents h3, .services-contents h4, .services-contents h5, .services-contents h6 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

/* HTML */
html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

.clients {
    & .splide {
        direction: ltr;
    }
}

/* Variables */
:root {
    --white-color: #ECE0CA;
    --main-color: #360B0A;
    --light-color: #D0944B;
    --dark-color: #1C0205;
    --white-color-opacity: rgba(236, 224, 202, 0.3);
    --gradient-dark: linear-gradient(90deg, var(--main-color), var(--light-color));
    --gradient-light: linear-gradient(90deg, var(--white-color), var(--light-color));
    --single-podcast-gradient: linear-gradient(180deg, #2C1514 0%, #301813 45.68%, #693A01 100%);
}

/* Body */
body {
    position: relative;
    background-color: var(--main-color);

    .active {
        border-bottom: 1px solid var(--white-color);
    }
}

main {
    overflow-x: clip;
}

/* Short Class */
.d-none {
    display: none !important
}

.d-flex {
    display: flex !important
}

.align-items-center {
    align-items: center !important
}

.justify-content-center {
    justify-content: center !important
}

.justify-content-between {
    justify-content: space-between !important
}

.d-grid {
    display: grid !important
}

.d-block {
    display: block !important
}

.ps-fixed {
    position: fixed !important
}

.ps-relative {
    position: relative !important
}

.ps-absolute {
    position: absolute !important
}

.me-1 {
    margin-inline-end: 1rem !important
}

.me-2 {
    margin-inline-end: 2rem !important
}

.me-3 {
    margin-inline-end: 3rem !important
}

.me-4 {
    margin-inline-end: 4rem !important
}

.me-5 {
    margin-inline-end: 5rem !important
}

.me-6 {
    margin-inline-end: 6rem !important
}

.ms-1 {
    margin-inline-start: 1rem !important
}

.ms-2 {
    margin-inline-start: 2rem !important
}

.ms-3 {
    margin-inline-start: 3rem !important
}

.ms-4 {
    margin-inline-start: 4rem !important
}

.ms-5 {
    margin-inline-start: 5rem !important
}

.ms-6 {
    margin-inline-start: 6rem !important
}

.mb-1 {
    margin-bottom: 1rem !important
}

.mb-2 {
    margin-bottom: 2rem !important
}

.mb-3 {
    margin-bottom: 3rem !important
}

.mb-4 {
    margin-bottom: 4rem !important
}

.mb-5 {
    margin-bottom: 5rem !important
}

.mb-6 {
    margin-bottom: 6rem !important
}

.mt-1 {
    margin-top: 1rem !important
}

.mt-2 {
    margin-top: 2rem !important
}

.mt-3 {
    margin-top: 3rem !important
}

.mt-4 {
    margin-top: 4rem !important
}

.mt-5 {
    margin-top: 5rem !important
}

.mt-6 {
    margin-top: 6rem !important
}



/* Typography */
h1 {
    font-size: 135px;
    line-height: 115px;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'ivar-display', serif;

    @media (max-width: 768px) {
        font-size: 50px;
        line-height: 45px;
    }
}

h2 {
    font-size: 90px;
    line-height: 100px;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'ivar-display', serif;

    @media (max-width: 768px) {
        font-size: 45px;
        line-height: 45px;
        text-transform: none;
    }
}

h3 {
    font-size: 60px;
    line-height: 60px;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'ivar-display', serif;

    @media (max-width: 768px) {
        font-size: 35px;
        line-height: 35px;
    }
}

h4 {
    font-size: 50px;
    line-height: 50px;
    font-weight: normal;
    font-family: 'ivar-display', serif;

    @media (max-width: 768px) {
        font-size: 18px;
        line-height: 18px;
    }
}

h5 {
    font-size: 45px;
    line-height: 50px;
    font-weight: normal;
    font-family: 'ivar', serif;

    @media (max-width: 768px) {
        font-size: 20px;
        line-height: 25px;
    }
}

h6 {
    font-size: 20px;
    line-height: 25px;
    font-weight: normal;
    font-family: 'ivar', serif;

    @media (max-width: 768px) {
        font-size: 15px;
        line-height: 20px;
    }
}

p {
    font-size: 15px;
    line-height: 20px;
    font-weight: normal;
    font-family: 'ivar', serif;
}

.text-center {
    text-align: center !important;
}

/* Button */
.btn-md  {
    cursor: pointer;
    font-size: 12px;
    border-radius: 0;
    line-height: 12px;
    padding: 15px 26px;
    text-transform: uppercase;
    color: var(--white-color);
    font-family: 'readex', serif;
    background-color: transparent;
    border: 1px solid var(--light-color);

    &.light {
        text-transform: none;
        color: var(--dark-color);
        border-color: var(--dark-color);

        &:hover {
            color: var(--white-color);
            background-color: var(--dark-color);
        }
    }

    &:hover {
        color: var(--dark-color);
        background-color: var(--light-color);
    }
}

.btn-lg  {
    cursor: pointer;
    font-size: 16px;
    border-radius: 0;
    line-height: 16px;
    padding: 25px 20px;
    color: var(--white-color);
    font-family: 'readex', serif;
    background-color: transparent;
    border: 1px solid var(--white-color);

    &.light {
        text-transform: uppercase;
        color: var(--white-color);
        border-color: var(--dark-color);
        background-color: var(--dark-color);

        &:hover {
            color: var(--dark-color);
            border-color: var(--light-color);
            background-color: var(--light-color);
        }
    }

    &:hover {
        color: var(--dark-color);
        background-color: var(--white-color);
    }
}

/* Header */
.header {
    z-index: 99;
    width: 100%;
    display: flex;
    padding: 20px 25px;
    position: absolute;
    text-align: center;
    justify-content: space-between;

    @media (max-width: 768px) {
        display: none;
    }

    & img {
        left: 50%;
        width: 95px;
        cursor: pointer;
        position: absolute;
        transform: translateX(-50%);

        &:hover {
            content: url('logo/logo_main.png');
        }

        @media (max-width: 1200px) {
            width: 75px;
        }
    }

    & .navigate {
        gap: 160px;
        display: flex;
        align-items: center;

        @media (max-width: 1200px) {
            gap: 45px;
        }

        & ul {
            gap: 79px;
            display: flex;
            align-items: center;

            @media (max-width: 1200px) {
                gap: 30px;
            }

            & a {
                font-size: 12px;
                color: var(--white-color);
                text-transform: uppercase;
                font-family: 'readex', serif;

                &:hover {
                    color: var(--light-color);
                }
            }
        }

        & p {
            font-size: 12px;
            color: var(--white-color);
            text-transform: uppercase;
            font-family: 'readex', serif;

            & span {
                cursor: pointer;

                &.active {
                    border-bottom: 1px solid var(--white-color);
                }

                &:hover {
                    color: var(--light-color);
                }
            }
        }
    }
}

/* Mobile Header */
.mobile-header {
    z-index: 99;
    width: 100%;
    display: none;
    padding: 15px;
    position: absolute;
    text-align: center;
    justify-content: space-between;

    @media (max-width: 768px) {
        display: flex;
    }

    & img {
        z-index: 2;
        width: 60px;
        cursor: pointer;
    }

    & .navigate {
        gap: 5px;
        z-index: 2;
        display: flex;
        height: fit-content;
        align-items: center;

        & .btn {
            cursor: pointer;
            font-size: 12px;
            border-radius: 3px;
            padding: 2px 8px 3px;
            text-transform: uppercase;
            font-family: 'readex', serif;

            &.cart-btn {
                color: var(--white-color);
                background-color: transparent;
                border: 1px solid var(--white-color);
            }

            &.lang-btn {
                color: var(--dark-color);
                background-color: var(--light-color);
                border: 1px solid var(--light-color);
            }

            &.menu-btn {
                color: var(--dark-color);
                background-color: var(--white-color);
                border: 1px solid var(--white-color);
            }
        }
    }

    & .mobile-list {
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100vh;
        display: none;
        overflow: auto;
        text-align: start;
        position: absolute;
        padding: 127px 15px 0;
        color: var(--white-color);
        background-color: var(--dark-color);

        & .divider {
            width: 100%;
            height: 1px;
            opacity: 0.1;
            background-color: var(--white-color);
        }

        & .menu-list {
            gap: 11px;
            display: flex;
            margin-bottom: 80px;
            flex-direction: column;

            & a {
                font-size: 22px;
                text-transform: uppercase;
                font-family: 'readex', serif;

                &:hover {
                    color: var(--light-color);
                }
            }
        }

        & .sub-menu {
            gap: 20px;
            display: flex;
            margin: 15px 0;
            flex-direction: column;

            & p {
                opacity: 0.5;
                font-size: 12px;
                color: var(--white-color);
                text-transform: uppercase;
            }

            & ul {
                gap: 15px;
                display: flex;
                flex-direction: column;

                & a {
                    font-size: 12px;
                    color: var(--white-color);
                    text-transform: uppercase;
                    font-family: 'readex', serif;

                    &:hover {
                        color: var(--light-color);
                    }
                }
            }
        }
    }
}

/* Footer */
.footer {
    gap: 60px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: var(--white-color);

    @media (max-width: 768px) {
        display: none;
    }

    & .main_footer {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;

        & img {
            width: 100px;

            @media (max-width: 992px) {
                width: 70px;
            }
        }

        & .footer_lists {
            width: 670px;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;

            @media (max-width: 992px) {
                width: 500px;
            }

            & .list {
                gap: 15px;
                display: flex;
                flex-direction: column;

                & p {
                    opacity: 0.5;
                    font-size: 12px;
                    text-transform: uppercase;
                    font-family: 'readex', serif;
                }

                & ul {
                    gap: 7px;
                    display: flex;
                    margin-bottom: 15px;
                    flex-direction: column;

                    & a {
                        font-size: 12px;
                        text-transform: uppercase;
                        font-family: 'readex', serif;

                        &:hover {
                            color: var(--light-color);
                        }
                    }
                }
            }
        }
    }

    & .footer_bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;

        & .copyright {
            width: 670px;
            display: flex;
            align-items: center;
            justify-content: space-between;

            @media (max-width: 992px) {
                width: 500px;
            }
        }

        & p,
        & a {
            cursor: pointer;
            font-size: 12px;
            color: var(--white-color);
            text-transform: uppercase;
            font-family: 'readex', serif;

            &:hover {
                color: var(--light-color);
            }
        }
    }
}

/* Mobile Footer */
.mobile-footer {
    display: none;
    padding: 35px 15px 15px;
    color: var(--white-color);

    @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
    }

    & img {
        width: 60px;
        margin-bottom: 35px;
    }

    & .divider {
        width: 100%;
        height: 1px;
        opacity: 0.1;
        background-color: var(--white-color);
    }

    & .menu-list {
        gap: 7px;
        display: flex;
        margin-bottom: 30px;
        flex-direction: column;

        & a {
            font-size: 18px;
            text-transform: uppercase;
            font-family: 'readex', serif;

            &:hover {
                color: var(--light-color);
            }
        }
    }

    & .sub-menu {
        gap: 20px;
        display: flex;
        margin: 15px 0;
        flex-direction: column;

        & p {
            opacity: 0.5;
            font-size: 12px;
            color: var(--white-color);
            text-transform: uppercase;
        }

        & ul {
            gap: 15px;
            display: flex;
            flex-direction: column;

            & a {
                font-size: 12px;
                color: var(--white-color);
                text-transform: uppercase;
                font-family: 'readex', serif;

                &:hover {
                    color: var(--light-color);
                }
            }
        }
    }

    & .copyright {
        width: 100%;
        display: flex;
        margin-top: 35px;
        align-items: center;
        justify-content: space-between;

        & p,
        & a {
            gap: 5px;
            display: flex;
            cursor: pointer;
            font-size: 12px;
            align-items: center;
            color: var(--white-color);
            text-transform: uppercase;
            font-family: 'readex', serif;

            &:hover {
                color: var(--light-color);
            }
        }
    }
}