﻿/* =============================================
   HEADER DESKTOP — Ranita Market
============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: #111827;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
    overflow: hidden;
    max-width: 100vw;
}

.site-logo {
    font-size: 18px;
    font-weight: 800;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.site-header nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s;
}

    .site-header nav a:hover {
        opacity: 1;
    }

.cart-link {
    background: #10b981;
    color: white !important;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    width: 160px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.site-footer {
    padding: 30px;
    background: #06142b;
    color: white;
    text-align: center;
}

    .site-footer a {
        color: #10b981;
        margin: 0 10px;
        font-weight: 700;
        text-decoration: none;
    }

/* =============================================
   HEADER MOBILE — 1 ligne compacte
============================================= */
.mob-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #111827;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 54px;
}

.mob-header-logo {
    font-size: 15px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.mob-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 6px 10px;
    gap: 6px;
    min-width: 0;
}

    .mob-search svg {
        flex-shrink: 0;
        color: rgba(255,255,255,0.4);
    }

    .mob-search input {
        background: none;
        border: none;
        outline: none;
        color: white;
        font-size: 12px;
        width: 100%;
        min-width: 0;
    }

        .mob-search input::placeholder {
            color: rgba(255,255,255,0.35);
        }

.mob-icon-btn {
    position: relative;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
}

    .mob-icon-btn svg {
        width: 18px;
        height: 18px;
    }

.mob-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #10b981;
    color: white;
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width:768px) {
    .site-header {
        display: none !important;
    }

    .mob-header {
        display: flex !important;
    }



    .product-page {
        margin-top: 60px !important;
        padding: 0 12px !important;
    }

    .product-description-full {
        padding: 0 12px !important;
    }
}
