:root {
    --bg-color: #f4efea;
    --text-main: #1a1a1a;
    --text-muted: #6b7280;
    --accent: #111111;
    --card-bg: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: transparent;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.header-right {
    justify-content: flex-end;
}

.header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-width: 0;
    max-width: 100%;
}

.header-logo-img {
    height: 80px;
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.header-logo:hover .header-logo-img {
    opacity: 0.85;
}

.header-icon {
    font-size: 24px;
    color: #111;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-icon:hover {
    opacity: 0.6;
}

.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .site-header {
        padding: 12px 15px !important;
    }

    .header-left {
        flex: 0 0 auto !important;
        width: 32px !important;
        gap: 0 !important;
    }

    .header-right {
        flex: 0 0 auto !important;
        width: 32px !important;
        gap: 0 !important;
    }

    .header-logo {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .header-logo-img {
        height: 58px !important;
        max-height: 62px !important;
        max-width: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }

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

    
    .header-left .header-icon,
    .header-right .header-icon {
        display: none;
    }

    
    .header-left .header-icon:nth-child(1) {
        display: block;
        
    }
}


.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    gap: 4px;
}

.nav-item i {
    font-size: 24px;
}

.nav-item.active {
    color: #b57b70;
    
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
}


.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 2001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
}

.sidebar-logo-img {
    height: 26px;
    max-height: 26px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sidebar-close {
    background: #eae5e0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-main);
    transition: background 0.2s;
}

.sidebar-close:hover {
    background: #e0d8d0;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 25px 20px;
    scrollbar-width: none;
}

.sidebar-content::-webkit-scrollbar {
    display: none;
}

.sidebar-btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent);
    color: #fff;
    padding: 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 12px;
    transition: background 0.2s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active-item {
    background-color: #f2ebe5;
}

.sidebar-menu a i {
    font-size: 20px;
    color: var(--text-muted);
}

.badge-new {
    background-color: #ebdcd6;
    color: #a87970;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: auto;
}

.sidebar-divider {
    border: none;
    border-top: 1px solid #eae5e0;
    margin: 15px 0;
}

.sidebar-footer {
    padding: 20px 25px;
}

.sidebar-btn-n {
    background: #333;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-btn-n:hover {
    background: #111;
}


.search-overlay {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    transition: top 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-overlay.open {
    top: 0;
}

.search-overlay-form {
    width: 100%;
    max-width: 800px;
}

.search-overlay-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #111;
    padding: 8px 0;
}

.search-overlay-icon {
    font-size: 24px;
    color: #111;
    margin-right: 15px;
}

.search-overlay-input {
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-main);
    width: 100%;
    outline: none;
}

.search-overlay-input::placeholder {
    color: #b0a8a0;
}

.search-overlay-close {
    position: absolute;
    right: 40px;
    font-size: 28px;
    cursor: pointer;
    color: #111;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay-close:hover {
    opacity: 0.6;
}


.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 229, 224, 0.9);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    display: none; 
    align-items: center;
    gap: 20px;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFade {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-icon {
    font-size: 28px;
    color: #b57b70;
    margin-top: 2px;
}

.cookie-text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-main);
    font-weight: 500;
}

.cookie-btn {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: #333;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 80px; 
        left: 20px;
        right: 20px;
        max-width: none;
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-btn {
        text-align: center;
    }
}


.site-footer {
    background: #121212;
    color: #e0e0e0;
    padding: 60px 40px 20px;
    margin-top: auto; 
    font-family: 'Montserrat', sans-serif;
}

.footer-top-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    min-width: 200px;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
    max-width: 100%;
}

.footer-logo-img {
    height: 42px;
    max-height: 42px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 0.85;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: #888;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1c1c1c;
    border-radius: 50%;
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #ffffff;
    color: #121212;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

.footer-contact-item i {
    color: #666;
    font-size: 16px;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    color: #666;
    font-size: 12px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal a {
    color: #666;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #a0a0a0;
}


@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px calc(130px + env(safe-area-inset-bottom));
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 20px;
    }
    .footer-legal {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }
}


.floating-support-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-support-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(181, 123, 112, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .floating-support-btn {
        bottom: calc(80px + env(safe-area-inset-bottom));
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}

.sidebar-socials {
    padding: 25px 25px 35px;
    background-color: #262626;
    margin-top: auto;
}

.socials-title {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.socials-grid {
    display: flex;
    gap: 12px;
}

.social-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: transform 0.2s, background-color 0.2s;
}

.social-item:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
