/*
Theme Name: K20shop
Theme URI: https://kutia.net
Author: Kutia Software Company
Author URI: https://kutia.net
Description: Custom Theme
License URI: LICENSE
Text Domain: k20
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cardo", serif;
    
}

body {
    font-family: "Cardo", serif;
    background: #fff;
    color: #000;
    line-height: 1.4;
}



.header {
    padding: 40px 0 104px;
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 33px;
}

.nav-left {
    display: flex;
    gap: 42px;
    flex-wrap: wrap;
}

.nav-right {
    display: flex;
    gap: 42px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
    font-family: "Cardo", serif;
    position: relative;

}
.nav-item:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 6px;
    width: 93%;
    height: 100%;
    background: #FFFB00;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}


.nav-item.active:after ,
.nav-item:hover:after {
    opacity: 1;
}
.logo {
    position: absolute;
    left: 50%;
    top: 58px;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 21px;
    z-index: 2;
}

.logo-full {
    width: 100px;
    height: 42px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 3px;
}

.dropdown-arrow {
    width: 24px;
    height: 24px;
    transform: rotate(0deg);
}

.hero {
    width: 100%;
    height: 660px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 660px;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.hero-text {
    position: absolute;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}

.hero-text.top-center {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-text.bottom-center {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-text.left-vertical {
    left: 0px;
    top: 48px;
    transform: rotate(-90deg);
    transform-origin: center;
}

.hero-text.left-vertical-bottom {
    bottom: 58px;
    left: 0px;
    top: auto;
    transform: rotate(-90deg);
    transform-origin: center;
}
.hero-text.right-vertical {
    right: 0px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
}
.hero-text.right-vertical {
    top: 64px;
}


.hero-text.right-vertical-bottom {
    bottom: 58px;
    right: 0px;
    top: auto;
    transform: rotate(-90deg);
    transform-origin: center;
}

.main-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 160px;
}
.content-section--related{
    margin-top: 200px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #DEDEDE;
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 10px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}
.view-all svg{
    transition: all 0.3s ease;
}

.view-all:hover svg {
    transform: translateX(5px);
}

.view-all-text {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: center;
    text-transform: uppercase;

}

.arrow-icon {
    width: 14px;
    height: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: 20px;
}

.product-card {
    width: 100%;
    height: 454px;
    background: #F2F2F2;
    position: relative;
    justify-self: center;
    transition: all 0.3s ease;
}
.product-card:hover .product-cta{
    background: #FFFB00;
}
.product-card:hover .cta-text,
.product-card:hover .cta-price,
.product-card:hover .cta-price-strike {
    color: #000;
    font-family: "Inter", sans-serif;
}


.product-image-container {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-image {
    width: 172px;
    height: 220px;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 38px;
    left: 71px;
    background: #FFFB00;
    padding: 2px 6px 2px 5px;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    font-family: "Inter", sans-serif;
}

.product-content {
    padding: 0 10px 0px;
    height: 136px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.product-title {
    text-align: center;
}

.product-title h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-title h3 a {
    color: #000;
    text-decoration: none;
}

.product-author {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.product-cta {
    width: 100%;
    background: #000;
    padding: 12px;
    height: 36px;
    display: flex;
    position: absolute;
    bottom: 10px;
    width: calc(100% - 20px);
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    cursor: pointer;
    font-family: "Inter", sans-serif;

}

.product-cta:hover {
    background: #FFFB00;
}

.product-cta:hover .cta-text,
.product-cta:hover .cta-price,
.product-cta:hover .cta-price-strike {
    color: #000;
}

.cta-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-family: "Inter", sans-serif;
}

.cta-price {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    font-family: "Inter", sans-serif;

}

.cta-price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: "Inter", sans-serif;

}

.product-cta.sale .cta-price-strike {
    font-size: 12px;
    font-weight: 400;
    color: #D25151;
    font-family: "Inter", sans-serif;

    text-decoration: line-through;
}

.footer {
    background: #000;
    padding: 40px;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    /* background: #FFFB00; */

    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    font-family: 
}

.footer-brand-info h3 {
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.63px;
    margin-bottom: 8px;
    font-family: "Inter", sans-serif;
}

.footer-brand-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Inter", sans-serif;

}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-link {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}
.footer-link:hover{
    color: #FFFB00;
}


.footer-link.highlight {
    color: #FFFB00;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-social-title {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 32px;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

/* Cart link styling */
.cart-link {
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-item{
        font-size: 13px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-item{
        font-size: 11px;
    }
    .nav-left{
        gap: 10px;
    }
    .nav-right{
        gap: 10px;
    }
    .logo{
        left: 47%;
    }
}




@media (max-width: 768px) {
        .nav-container {
            flex-direction: row;
            gap: 0;
            justify-content: space-between;
            align-items: center;
        }

        .nav-left {
            display: none;
        }

        .nav-right {
            gap: 20px;
            flex-wrap: nowrap;
            justify-content: flex-end;
        }

        .logo {
            position: relative;
            left: auto;
            top: auto;
            transform: none;
            order: 0;
            width: 80px;
            height: 80px;
        }

        .logo svg {
            width: 80px;
            height: 80px;
        }

        .nav-item {
            font-size: 12px;
            letter-spacing: 2px;
        }

        .language-selector {
            display: none;
        }

        .cart-link {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Show mobile menu elements on mobile */
        .mobile-menu-toggle {
            display: flex;
        }

        .mobile-menu-overlay {
            display: block;
        }

    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 400px;
        height: 100%;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-overlay.active .mobile-menu-content {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px 20px 20px;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: auto;
    }

    .mobile-nav-item {
        font-family: Cardo;
        font-weight: 700;
        font-size: 14px;
        line-height: 30px;
        letter-spacing: 7px;
        color: #000;
        text-transform: uppercase;
        position: relative;
        display: inline-flex;
        width: fit-content;
    }

    .mobile-nav-item:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 5px;
        width: calc(100% - 12px);
        height: 100%;
        background: #FFFB00;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    
    .mobile-nav-item.active:after{
        opacity: 1;
    }

    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .mobile-language-selector {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        padding: 0 0px !important;
    }
    .view-all-text{
        font-size: 12px;
    }
    .product-cta {
        position: relative;
        bottom: auto;
    }

    /* Mobile menu responsive adjustments */
    @media (max-width: 480px) {
        .mobile-menu-content {
            max-width: 100%;
        }


        .mobile-nav-item {
            font-size: 14px;
            letter-spacing: 1.5px;
            padding: 8px 0;
        }

        .mobile-menu-nav {
            gap: 15px;
        }
    }

    .hero {
        height: 400px;
    }

    .hero-text.left-vertical,
    .hero-text.right-vertical {
        display: none;
    }

    .section-header {
        flex-direction: row;
        gap: 20px;
        /* text-align: center; */
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .footer-content {
        flex-direction: column-reverse;
        gap: 90px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 15px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-right {
        gap: 15px;
    }

    .nav-item {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .logo svg {
        width: 70px;
        height: 70px;
    }

    .product-card {
        width: 100%;
        max-width: 100%;
    }

    .hero {
        height: 300px;
    }

    .section-title {
        font-size: 14px;
        letter-spacing: 5px;
    }
}

/* Visibility guards to ensure correct behavior across breakpoints */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) { 
    .mobile-menu-toggle {
        display: flex !important;
    }
    .mobile-menu-overlay {
        display: block !important;
    }
    .product-title h3 {
        font-size: 12px;
        line-height: normal;
        margin-bottom: 0;
    }
    .product-image-container{
        padding: 10px;
        height: 170px;
    }
    .product-image-container a{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .product-card{
        height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 10px;
    }
    .products-grid{
        gap: 10px;
    }
    .product-author{
        line-height: normal;
    }
    .product-content{
        height: auto;
        gap: 10px;
        padding: 0;
    }
    .product-cta{
        padding: 8px;
        width: calc(100% - 16px);
    }
    .cta-text{
        font-size: 11px;
    }
    .discount-badge{
        top: 18px;
        left: 29px;
        font-size: 12px;
    }
    .content-section{
        margin-bottom: 40px;
    }
    .footer-brand-info{
        display: none;
    }
    .footer-brand{
        width: 100%;
    }
    .footer-links{
        width: 100%;
    }
    .main-content{
        padding-bottom: 0;
    }
    .woocommerce ul.products{
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .products-grid .product-cta{
        width: calc(100% - 16px);
    }
    .woocommerce-orders-table .product-cta{
        width: 100%;
    }

}
