/*
Theme Name: Rokta
Theme URI: https://www.einfalt.fo
Description: Einfalt ecommece theme
Author: Einfalt
Author URI: https://www.einfalt.fo
Template: twentytwentyfive
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: einfalt-rokta
*/


/* Add your custom CSS here */
/* Comprehensive mobile menu styling override */
.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item .mobile-menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item .mobile-menu-item-row > a {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 1rem 0 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark-blue);
    text-decoration: none;
    transition: all .3s ease;
}

.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item .mobile-menu-item-row > a:hover {
    color: var(--color-orange);
}

.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item.is-current-page > .mobile-menu-item-row > a,
.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item.is-ancestor > .mobile-menu-item-row > a {
    color: var(--color-orange);
}

.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item .sub-menu li .mobile-menu-item-row > a {
    padding: 0.75rem 0 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-dark-blue);
}

.einfalt-mobile-menu-container .mobile-menu-items .dropdown-menu-item .sub-menu li .mobile-menu-item-row > a:hover {
    color: var(--color-orange);
    background-color: rgba(var(--color-orange-rgb), 0.1);
}

.einfalt-mobile-menu-container .mobile-menu-items .mobile-submenu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 100% !important;
    min-height: 48px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--color-dark-blue) !important;
    padding: 0 !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.einfalt-mobile-menu-container .mobile-menu-items .mobile-submenu-toggle:hover {
    color: var(--color-orange) !important;
}

.einfalt-mobile-menu-container .mobile-menu-items .is-menu-active > .mobile-menu-item-row > .mobile-submenu-toggle svg {
    transform: rotate(180deg) !important;
}

.einfalt-mobile-menu-container .mobile-menu-items .is-menu-active > .mobile-menu-item-row > a,
.einfalt-mobile-menu-container .mobile-menu-items .is-menu-active > .mobile-menu-item-row > .mobile-submenu-toggle {
    color: var(--color-orange) !important;
}

/* Footer layout fallbacks for PHP templates where Gutenberg misses injecting container flex CSS */
.site-footer-main-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}
.site-footer-brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    max-width: 380px;
}


.site-footer-nav-wrap {
    display: flex;
    flex-direction: row;
    gap: 80px;
    flex-wrap: wrap;
}
.site-footer-block-wrap .wp-block-navigation {
    display: flex;
    flex-direction: column;
}
.site-footer-block-wrap .wp-block-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.site-footer-bottom-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer-bottom-row .wp-block-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

@media (max-width: 768px) {
    .site-footer-nav-wrap {
        gap: 40px;
    }
}


