/* Compact Navigation Styles */

/* Reduce overall navigation height */
.mf-nav-container {
    padding: 0 !important;
}

/* Make navigation items more compact */
.mf-nav-item > a,
.mf-nav-list > li > a {
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Reduce logo size */
#logo img {
    max-height: 40px !important;
    width: auto;
}

#logo {
    padding: 5px 0 !important;
}

/* Compact header sections */
.mf-header-top {
    padding: 5px 0 !important;
    font-size: 12px;
}

.mf-header-main {
    padding: 10px 15px !important;
}

/* Reduce search bar height */
#search input {
    height: 32px !important;
    font-size: 13px !important;
    padding: 5px 10px !important;
}

#search .btn-search {
    height: 32px !important;
    padding: 5px 10px !important;
}

/* Compact dropdown menu */
.mf-nav-list > li > .dropdown-menu {
    top: 100% !important;
    padding: 15px 0 !important;
}

.mf-nav-list > li > .dropdown-menu > ul > li {
    padding: 15px 15px !important;
}

.mf-nav-list .dropdown-menu li a {
    padding: 5px 10px !important;
    font-size: 13px !important;
}

/* Adjust mega menu headers */
.mf-nav-list .dropdown-menu > ul > li > a:first-child,
.mf-nav-list .dropdown-menu .dropdown-header {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    padding: 5px 10px !important;
}

/* Compact subcategory items */
.mf-nav-list .dropdown-menu .column-menu > li {
    margin-bottom: 0 !important;
}

.mf-nav-list .dropdown-menu ul ul a {
    font-size: 12px !important;
    padding: 3px 10px 3px 20px !important;
}

/* Reduce spacing between menu sections */
.mf-nav-list .dropdown-menu .dropdown-submenu {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}

/* Compact cart button */
#cart-total {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

/* Reduce header top links spacing */
#top-links a {
    padding: 5px 8px !important;
    font-size: 12px !important;
}

/* Compact account dropdown */
#top-links .dropdown-menu {
    min-width: 140px !important;
}

#top-links .dropdown-menu a {
    padding: 5px 10px !important;
    font-size: 12px !important;
}

/* Reduce overall header height */
#header {
    padding: 0 !important;
}

.navbar {
    min-height: auto !important;
    margin-bottom: 0 !important;
}

/* Adjust main navigation background */
#menu {
    border-top-width: 2px !important;
}

#menu .navbar {
    padding: 0 !important;
    min-height: auto !important;
}

/* Fix navigation alignment */
.mf-nav-list {
    margin: 0 !important;
    align-items: center;
}

/* Ensure home button stays compact */
.mf-nav-item.home a {
    padding: 8px 15px !important;
}

/* Responsive adjustments for tablets */
@media (max-width: 991px) and (min-width: 768px) {
    .mf-nav-item > a,
    .mf-nav-list > li > a {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
}

/* Mobile menu stays unchanged */
@media (max-width: 767px) {
    .mobile-menu-container {
        /* Keep original mobile menu styling */
    }
}

/* Transition effects for smooth resizing */
.mf-nav-item > a,
.mf-nav-list > li > a,
#logo img,
#search input,
.mf-nav-list .dropdown-menu {
    transition: all 0.2s ease-in-out;
}

/* Hover effects remain visible */
.mf-nav-item > a:hover,
.mf-nav-list > li > a:hover {
    background: #2563eb;
    color: white;
}

/* Ensure text remains readable */
.mf-nav-list > li > a {
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Compact breadcrumb */
.breadcrumb {
    padding: 5px 0 !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
}

.breadcrumb > li {
    font-size: 12px !important;
}

/* Reduce white space above content */
.centralbox {
    padding-top: 15px !important;
}

/* Sticky navigation adjustments */
.navbar-fixed-top {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1030;
}

body.has-fixed-nav {
    padding-top: 45px; /* Reduced from default */
}

/* ===== Information & Contact Page Design ===== */

#information-information .page-header,
#information-contact .page-header,
#information-sitemap .page-header,
#information-news .page-header {
    margin-bottom: 5px;
}

#information-information .page-header h1::after,
#information-contact .page-header h1::after,
#information-sitemap .page-header h1::after,
#information-news .page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e8a33d;
    margin: 18px auto 0;
    border-radius: 2px;
}

#information-information .information-page .mainborder {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px 30px;
    line-height: 1.7;
}

#information-information .information-page .mainborder > div {
    font-size: 14px;
}

/* --- News List --- */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
    color: #333;
    transition: background 0.15s;
}

.news-item:first-child {
    border-top: 1px solid #f0f0f0;
}

.news-item:hover {
    background: #faf6f0;
}

.news-item-content {
    flex: 1;
    min-width: 0;
}

.news-item-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item:hover .news-item-title {
    color: #e8a33d;
}

.news-item-date {
    font-size: 12px;
    color: #999;
}

.news-item-date i {
    margin-right: 4px;
}

.news-item-arrow {
    color: #ccc;
    font-size: 12px;
    margin-left: 15px;
    transition: color 0.15s, transform 0.15s;
}

.news-item:hover .news-item-arrow {
    color: #e8a33d;
    transform: translateX(3px);
}

.news-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 13px;
}

.news-pagination-info {
    color: #999;
}

/* --- Contact: WhatsApp Cards --- */
.contact-whatsapp-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 650px;
    margin: 20px auto 30px;
    flex-wrap: wrap;
}

.contact-whatsapp-card {
    flex: 0 1 260px;
    text-align: center;
    padding: 20px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-whatsapp-card:hover {
    border-color: #25d366;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.15);
}

.contact-whatsapp-card a {
    text-decoration: none;
    color: #333;
    display: block;
}

.contact-whatsapp-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-whatsapp-icons .fa-whatsapp {
    font-size: 44px;
    color: #25d366;
}

.contact-whatsapp-icons img {
    max-height: 48px;
}

.contact-whatsapp-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-whatsapp-card span {
    display: block;
    font-size: 12px;
    color: #888;
}

/* --- Contact: Legend / Section Headings --- */
#information-contact legend {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* --- Contact: Address Card --- */
.contact-address-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    background: #fcfcfc;
}

.contact-address-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-address-header img {
    max-width: 120px;
    height: auto;
    border-radius: 6px;
}

.contact-address-info {
    flex: 1;
}

.contact-address-header strong {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
    color: #222;
}

.contact-address-header address {
    font-style: normal;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-address-phone {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: right;
}

.contact-address-phone > i {
    font-size: 20px;
    color: #e8a33d;
    margin-top: 2px;
}

.contact-address-phone strong {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-address-phone span {
    display: block;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.contact-map-link {
    display: inline-block;
    padding: 6px 14px;
    background: #3b82f6;
    color: #fff !important;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.contact-map-link:hover {
    background: #2563eb;
}

.contact-address-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-detail-item > i {
    font-size: 20px;
    color: #e8a33d;
    margin-top: 2px;
    min-width: 22px;
    text-align: center;
}

.contact-detail-item strong {
    display: block;
    font-size: 13px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 3px;
}

.contact-detail-item span {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .contact-address-header {
        flex-direction: column;
        text-align: center;
    }
    .contact-address-phone {
        text-align: center;
        justify-content: center;
    }
    .contact-address-details {
        grid-template-columns: 1fr;
    }
}

/* --- Contact: Modern Form --- */
.contact-form-modern {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-modern .form-group {
    margin-bottom: 18px;
}

.contact-form-modern label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.contact-form-modern .form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.contact-form-modern .form-control:focus {
    border-color: #e8a33d;
    box-shadow: 0 0 0 2px rgba(232, 163, 61, 0.15);
    outline: none;
}

.contact-form-modern .buttons {
    text-align: center;
    margin-top: 20px;
}

.contact-datenschutz {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-submit-btn {
    background: #e8a33d !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 40px !important;
    font-size: 15px !important;
    font-weight: 600;
    border-radius: 6px !important;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}

.contact-submit-btn:hover {
    background: #d4922e !important;
    color: #fff !important;
}

/* Ultra compact mode for very small screens */
@media (max-height: 600px) {
    .mf-nav-item > a,
    .mf-nav-list > li > a {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
    
    #logo img {
        max-height: 30px !important;
    }
    
    .mf-header-top {
        display: none !important;
    }
}