body, .form-control { font-size: 16px !important; }
hr { width: 100%; }

header { 
    background: #2d2d2d; 
    position: relative;
    z-index: 1000;
}
.header-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    color: inherit;
    gap: 12px;
}
.header-brand:hover .logo-text {
    color: #ffffff;
}
.logo-text {
    font-size: 16.5px;
    color: #e2e8f0;
    line-height: 1.25;
    transition: color 0.2s ease;
}
main { flex: 1 0 auto; }
footer { flex: 0 0 auto; }
footer a { text-decoration: none; color: #2A2F5B; transition: .3s; }
footer a:hover { text-decoration: none; color: #ff9900; transition: .3s; }
footer .phone { font-size: 18px; margin-bottom: 6px; }
footer .phone:hover { color: #2A2F5B; }
option .placeholder { font-style: italic; color: #999; }

.wrapper { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh;
    overflow-x: hidden;
}

.logo { height: 48px; width: auto; object-fit: contain; }

.card { border-radius: 12px; }
.form-control { border-radius: 6px; }

/* Desktop Navigation */
.shop-btn {
    margin: 0 .2rem;
    padding: 7px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.shop-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    text-shadow: none;
}
.shop-btn.btn-shop-highlight {
    background: rgba(255, 218, 0, 0.14);
    color: #ffda00 !important;
    border: 1px solid rgba(255, 218, 0, 0.4);
    font-weight: 600;
    box-shadow: none;
}
.shop-btn.btn-shop-highlight:hover {
    background: #ffda00;
    color: #1e2035 !important;
    border-color: #ffda00;
    box-shadow: 0 2px 10px rgba(255, 218, 0, 0.3);
    text-shadow: none;
}
.shop-btn.btn-shop-highlight:active {
    background: #e6c400;
    border-color: #e6c400;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    outline: none !important;
    transition: background-color 0.2s;
}
.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.1);
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Drawer Menu (Smooth Open & Close) */
.mobile-menu-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #242424;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.24s ease, 
                transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-drawer.is-open {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #e2e8f0 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 4px;
}
.mobile-nav-link:active, .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffda00 !important;
    text-shadow: none;
}
.mobile-nav-link svg {
    stroke: #ffda00;
    flex-shrink: 0;
}
.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0 12px;
}
.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 218, 0, 0.12);
    border: 1px solid rgba(255, 218, 0, 0.25);
    border-radius: 8px;
    color: #ffda00 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
}

/* Footer Styling */
.documents label, .contacts label, .socials label {
    font-weight: 700;
    font-size: 16px !important;
    padding-bottom: 0.6rem;
    color: #1e2035;
}
.documents label a { color: #1e2035 !important; }
.documents a, .contacts a {
    padding: 3px 0;
    font-size: 14.5px;
}
.socials { min-width: 250px; }
.socials a {
    display: inline-flex;
    align-items: center;
    background-color: #f1f3f9;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 4px 14px 4px 4px;
    color: #2A2F5B !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
}
.socials a:hover {
    background-color: #e5e7f2;
    transform: translateY(-1px);
}
.socials img {
    background-color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    width: 32px;
    height: 32px;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.copyright {
    font-size: 13px;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6;
}



/* Mobile Media Queries */
@media (max-width: 768px) {
    .logo { height: 40px; }
    .header-brand {
        gap: 10px;
        max-width: calc(100% - 145px);
    }
    .logo-text {
        font-size: 12.5px;
        line-height: 1.2;
        color: #e2e8f0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .shop-btn { padding: 6px 12px; font-size: 13px; }
    footer {
        padding-top: 1.5rem;
    }
    footer .documents, footer .contacts, footer .socials {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .copyright {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .socials a {
        width: 48%;
    }
}

@media (max-width: 380px) {
    .logo { height: 35px; }
    .header-brand {
        gap: 7px;
        max-width: calc(100% - 130px);
    }
    .logo-text {
        font-size: 11px;
        line-height: 1.15;
    }
}

@media (max-width: 480px) {
    .socials a {
        width: 100%;
        margin-bottom: 6px;
    }
    .socials .d-flex {
        flex-direction: column;
    }
    .socials .d-flex a {
        margin-right: 0 !important;
    }
}
