/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ── Self-hosted fonts ── */
@font-face {
    font-family: 'Fredoka';
    src: url('./fonts/fredoka-v17-hebrew_latin-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
 
@font-face {
    font-family: 'Fredoka';
    src: url('./fonts/fredoka-v17-hebrew_latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
 
@font-face {
    font-family: 'Heebo';
    src: url('./fonts/heebo-v28-hebrew-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
 
@font-face {
    font-family: 'Heebo';
    src: url('./fonts/heebo-v28-hebrew-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.home .wd-footer {
    margin-top: 0 !important;
}

.home .main-page-wrapper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.wd-footer > .container {
    max-width: 100% !important;
    padding-inline: 0 !important;
}

.floating-whatsapp-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.floating-whatsapp-btn:hover,
.floating-whatsapp-btn:focus-visible {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    outline: none;
}

.otiot-sidebar-title {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 28px;
    padding: 18px 20px 12px;
    text-align: right;
    border-bottom: 2px solid rgba(193, 154, 84, 0.3);
    margin-bottom: 4px;
}

.wd-side-menu .wd-nav > li > a,
.wd-mobile-nav .wd-nav > li > a,
.mobile-nav .wd-nav > li > a {
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px;
}

.wd-side-menu .wd-nav > li > a .nav-link-text,
.wd-mobile-nav .wd-nav > li > a .nav-link-text,
.mobile-nav .wd-nav > li > a .nav-link-text {
    font-family: 'Fredoka', sans-serif !important;
    font-size: 22px !important;
}
 
.wd-side-menu .wd-nav .wd-nav-img,
.wd-mobile-nav .wd-nav .wd-nav-img,
.mobile-nav .wd-nav-img {
    width: 60px !important;
    height: 60px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    margin-inline-end: 10px;
}
 
.wd-nav > li > a,
.wd-nav > li > a {
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 400;
    font-size: 24px;
    gap: 4px;
}

.wd-cookies-popup {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.wd-cookies-popup .cookies-buttons .cookies-accept-btn {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 8px 24px !important;
    min-height: auto !important;
}

.wd-cookies-popup .wd-cookies-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
}

.wd-cookies-popup .cookies-info-text {
    flex-grow: 1 !important;
    margin: 0 !important;
    text-align: center !important;
}

.wd-cookies-popup .cookies-info-text h4 {
    font-size: 22px !important; 
    text-align: center !important;
    margin: 0 !important;
    display: block !important;
    line-height: 1.4 !important;
}

.wd-cookies-popup .cookies-buttons {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.whb-header-bottom .wd-nav-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.whb-header-bottom .wd-nav-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.whb-header-bottom .wd-nav-secondary > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    position: relative;
    text-decoration: none !important;
}
 
.whb-header-bottom .wd-nav-secondary .wd-nav-img {
    width: 100px !important;
    height: 100px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                filter 0.4s ease;
}
 
.whb-header-bottom .wd-nav-secondary > li:hover .wd-nav-img {
    transform: translateY(-4px) scale(1.08);
    filter: blur(2.5px) brightness(0.6);
}
 
.whb-header-bottom .wd-nav-secondary .nav-link-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 2;
}
 
.whb-header-bottom .wd-nav-secondary > li:hover .nav-link-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
 
.whb-header-bottom .wd-nav-secondary.wd-style-separated > li > a {
    border: none !important;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 10px !important;
    }
    .wd-footer {
        padding-bottom: 55px !important;
    }
    .floating-whatsapp-btn {
        width: 36px;
        height: 36px;
        bottom: 70px;
        right: 10px;
    }
    .floating-whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }
	.wd-cookies-popup .wd-cookies-inner {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 15px !important;
    }
    .wd-cookies-popup .cookies-info-text,
    .wd-cookies-popup .cookies-info-text h4 {
        text-align: center !important;
        font-size: 16px !important;
    }
    .wd-side-hidden .menu-item.item-level-0 {
        border-bottom: none;
    }
    .wd-side-hidden .menu-item.item-level-0 > .woodmart-nav-link {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
}
