    @font-face {
    font-family: 'eurostile';
    font-style: normal;
    font-weight: bold;
    src: local('Eurostile Bold'), url('eurostile-bold.woff') format('woff');
    }

    @font-face {
    font-family: 'Eurostile Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Eurostile Regular'), url('eurostile.woff') format('woff');
    }

    @font-face {
    font-family: 'EuroStyle Normal';
    font-style: normal;
    font-weight: normal;
    src: local('EuroStyle Normal'), url('EuroStyle Normal.woff') format('woff');
    }
    
/* Typography System */
        :root {
            --primary-color: #0066cc;
            --secondary-color: #003d7a;
            --accent-color: #c10101;
            --text-primary: #2c3e50;
            --text-secondary: #546e7a;
            --bg-light: #f8f9fa;
            --border-color: #dee2e6;
            
            
        }
        
        .bg-dark {
            background-color: #000 !important;
          }

        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            --bs-heading-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --bs-heading-font-size:  14px;
            --bs-heading-line-height: 1.6;
            --bs-heading-color: var(--text-primary);
            --bs-heading-background-color: #ffffff;
        }
        
        /* Typography Hierarchy */
        h1 {
           --bs-heading-font-size:  2.5rem;
            -bs-heading-font-weight: 700;
            -bs-heading-line-height: 1.2;
            -bs-heading-margin-bottom: 1.5rem;
            -bs-heading-color: var(--secondary-color);
        }
        
        h2 {
           --bs-heading-font-size:  2rem;
            -bs-heading-font-weight: 600;
            -bs-heading-line-height: 1.3;
            -bs-heading-margin-bottom: 1.25rem;
            -bs-heading-color: var(--text-primary);
        }
        
        h3 {
            --bs-heading-font-size:  1.5rem;
            -bs-heading-font-weight: 600;
            -bs-heading-line-height: 1.4;
            -bs-heading-margin-bottom: 1rem;
            -bs-heading-color: var(--text-primary);
        }
        
        h4 {
            --bs-heading-font-size: 1.25em;
            -bs-heading-font-weight: 600;
            -bs-heading-line-height: 1.4;
            -bs-heading-margin-bottom: 0.875rem;
        }
        
        h5 {
            -bs-heading-font-size: 1.125rem;
            -bs-heading-font-weight: 600;
            -bs-heading-line-height: 1.4;
            -bs-heading-margin-bottom: 0.75rem;
        }
        
        h6 {
            -bs-heading-font-size: 0.8rem;
            -bs-heading-font-weight: 600;
            -bs-heading-line-height: 1.4;
            -bs-heading-margin-bottom: 0.625rem;
        }
        .h6 {    font-size: 0.8rem;}
        
        p {
            -bs-heading-margin-bottom: 1rem;
            -bs-heading-color: var(--text-secondary);
        }
        
        .justified{
            text-align: justify;
        }
        
        a {
            color: var(--primary-color);
            text-decoration: none;
            -bs-heading-transition: color 0.3s ease;
        }
        
        a:hover {
            color: var(--accent-color);
        }
        
        /* Header Styles */
        .top-bar {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            color: white;
            padding: 0.75rem 0;
            font-size: 0.9rem;
        }
        
        .top-bar a {
            color: white;
            margin: 0 0.5rem;
        }
        
        .top-bar a:hover {
            color: var(--accent-color);
        }
        
        .main-header {
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .logo-section {
            /* padding: 1rem 0; */
        }
        
        .logo-text , .logo-text a  {
            font-size: 3rem;
            font-weight: 800;
            /* color: var(--secondary-color); */
            color: #00027a;
            font-family: eurostile;
            font-style: italic;
        }
        
        .logo-text .highlight {
            color: var(--accent-color);
        }
        
        .tagline {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-top: 0.25rem;
        }
        
        .ani30 {
            font-family:eurostile; font-size:1.5rem; font-weight:bolder; font-style:italic; text-align: center;
        }
        
        .main-nav {
            background: var(--bg-light);
            border-top: 1px solid var(--border-color);
        }
        
        .main-nav .nav-link {
            color: var(--text-primary);
            font-weight: 500;
            padding: 1rem 1.25rem;
            transition: all 0.3s ease;
        }
        
        .main-nav .nav-link:hover {
            background: white;
            color: var(--primary-color);
        }
        
        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 0;
            border-radius: 4px;
            font-size: 1.25rem;
            cursor: pointer;
            width: 45px;
            height: 45px;
            line-height: 45px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .mobile-menu-btn:hover {
            background: var(--secondary-color);
        }
        
        .mobile-menu-btn.active {
            background: var(--accent-color);
        }
        
        .mobile-menu-btn i {
            line-height: inherit;
        }
        
        /* Mobile Navigation Dropdown */
        .mobile-nav-dropdown {
            display: none;
            background: white;
            border-top: 1px solid var(--border-color);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            animation: slideDown 0.3s ease;
        }
        
        .mobile-nav-dropdown.active {
            display: block;
        }
        
        #collapseOneBody{
            padding: 0px !important;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .mobile-nav-dropdown .nav-link {
            display: block;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border-color);
            color: var(--text-primary);
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .mobile-nav-dropdown .nav-link:hover,
        .mobile-nav-dropdown .nav-link.active {
            background: var(--bg-light);
            color: var(--primary-color);
            padding-left: 1.75rem;
        }
        
        .mobile-nav-dropdown .nav-link i {
            width: 20px;
            margin-right: 0.75rem;
        }
        
        .mobile-contact-section {
            background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
            padding: 1.25rem;
            border-top: 2px solid var(--primary-color);
        }
        
        .mobile-contact-section h6 {
            color: var(--primary-color);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .mobile-contact-section a {
            display: block;
            padding: 0.5rem 0;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .mobile-contact-section a:hover {
            color: var(--primary-color);
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, rgba(0, 61, 122, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%),
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23f8f9fa" width="1200" height="400"/></svg>');
            color: white;
            padding: 3rem 0;
            margin-bottom: -2rem; /* 2rem; */
        }
        
        .hero-section h1 {
            color: white;
            font-size: 2.25rem;
        }
        
        .hero-section p {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
        }
        
        /* Product Categories */
        .category-link {
            display: inline-block;
            padding: 0.375rem 0.75rem;
            margin: 0.25rem;
            background: var(--bg-light);
            border-radius: 4px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .category-link:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
        
        /* Sidebar */
        .sidebar {
            background: var(--bg-light);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .sidebar h3 {
            font-size: 1.25rem;
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .sidebar-section {
            margin-bottom: 2rem;
        }
        
        .sidebar ul {
            list-style: none;
            padding: 0;
        }
        
        .sidebar li {
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .sidebar li:last-child {
            border-bottom: none;
        }
        
        /* Accordion Customization */
        .accordion-item {
            border: none;
            border-bottom: 1px solid var(--border-color);
        }
        
        .accordion-button {
            background: transparent;
            color: var(--text-primary);
            font-size: 0.9rem;
            padding: 0.75rem 0.5rem;
            font-weight: 500;
        }
        
        .accordion-button:not(.collapsed) {
            background: transparent;
            color: var(--primary-color);
            box-shadow: none;
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border-color: transparent;
        }
        
        .accordion-button::after {
            width: 1rem;
            height: 1rem;
        }
        
        .accordion-body ul li {
            padding: 0.35rem 0;
            border: none;
        }
        
        .accordion-body ul li a {
            color: var(--text-secondary);
            font-size: 0.875rem;
        }
        
        .accordion-body ul li a:hover {
            color: var(--primary-color);
            padding-left: 0.25rem;
            transition: all 0.2s ease;
        }
        
        /* Product Highlights */
        .product-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .product-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-4px);
        }
        
        .product-card h4 {
            color: var(--primary-color);
            font-size: 1.125rem;
        }
        
        .btn-primary {
            background: var(--primary-color);
            border: none;
            padding: 0.625rem 1.5rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
        }
        
        /* News Section */
        .news-item {
            padding: 1rem;
            border-left: 3px solid var(--primary-color);
            background: var(--bg-light);
            margin-bottom: 1rem;
            border-radius: 4px;
        }
        
        .news-date {
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-weight: 500;
        }
        
        /* Footer */
        .main-footer {
            background: var(--secondary-color);
            color: white;
            padding: 3rem 0 1rem;
            /* margin-top: 4rem; */
        }
        
        .footer-section {
            /* margin-bottom: 2rem; */
        }
        
        .footer-section h5 {
            color: white;
            font-size: 1.125rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .footer-section p,
        .footer-section a {
            color: rgba(255,255,255,0.85);
            font-size: 0.9rem;
        }
        
        .footer-section a:hover {
            color: var(--accent-color);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 1.5rem;
            /* margin-top: 2rem; */
            text-align: center;
            color: rgba(255,255,255,0.7);
            font-size: 0.875rem;
        }
        
        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            margin: 0 0.25rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }
        
        /* Search Box */
        .search-box {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
        }
        
        .form-control, .form-select {
            border-radius: 4px;
            border: 1px solid var(--border-color);
            padding: 0.625rem;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
        }
        
        /* Alert/Notice */
        .notice-banner {
            background: linear-gradient(135deg, #fff3cd 0%, #fff9e6 100%);
            border-left: 4px solid #ffc107;
            padding: 1.25rem;
            margin-bottom: 1.3rem;
            margin-top: 1.3rem;
            border-radius: 4px;
        }
        
        .notice-banner strong {
            color: #856404;
        }
        
        .form-group {
            margin-top: 10px;
        }
        
        .producer_menu_img{
            max-width:130px;
            width:129px;
            max-height:35px;
            min-height:30px;
            margin:6px 3px 6px 3px;
        }
        .producer_menu_img_hover{
            width:130px;
            max-height:37px;
        }        
        #buton-prod{
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 0px;            
        }

        #accordionProducatori{
            padding-left: 0px !important;
        }
        
        .containerRow{
            background-color: whitesmoke;
            opacity: 95%;
            margin: 30px 0px 30px 0px;
            padding: 30px;
            border-radius: 5px;    
        }        
        
        /* Responsive */
        @media (max-width: 991px) {
            .producer_menu_img{
                max-width:112px;
                width:100px;
                max-height:38px;
                min-height:24px;
            }            
        .producer_menu_img_hover{
            width:112px;
        }        
            
            /* Hide desktop navigation */
            .main-nav {
                display: none !important;
            }
            
            /* Show mobile menu button */
            .mobile-menu-btn {
                display: inline-block !important;
            }
            
            /* Adjust logo section */
            .logo-section {
                padding: 1rem 0;
            }
            .logo-text, .logo-text a
            {            
                font-size: 2rem ;
            }

            .tagline {
                font-size: 0.8rem;
            }
            .ani30 {
                font-size:0.9rem;
                text-align: left;
            }            
            
            /* Hero section */
            .hero-section {
                padding: 2rem 0;
            }
            
            .hero-section h1 {
                font-size: 1.75rem;
            }
            
            .hero-section p {
                font-size: 1rem;
            }
            
            /* Top bar responsive */
            .top-bar {
                font-size: 0.8rem;
            }
            
            .top-bar .col-md-6:last-child {
                text-align: left !important;
                margin-top: 0.5rem;
            }
            
            /* Product cards */
            .product-card .row {
                flex-direction: column;
            }
            
            .product-card .col-md-3,
            .product-card .col-md-9 {
                max-width: 100%;
            }
            
            /* Footer responsive */
            .footer-section {
                margin-bottom: 2rem;
            }
            
            .footer-bottom {
                text-align: center;
            }
            .containerRow{
                background-color: whitesmoke;
                opacity: 95%;
                margin: 5px 0px 5px 0px;
                padding: 5px;
                border-radius: 5px;    
            }                 
        }
        
        @media (max-width: 768px) {
            h1 { font-size: 1.75rem; }
            h2 { font-size: 1.5rem; }
            h3 { font-size: 1.25rem; }
            
            .category-link {
                font-size: 0.85rem;
                padding: 0.25rem 0.5rem;
            }
            
            /* Stack sidebar below main content on mobile */
            .col-lg-8, .col-lg-4 {
                order: 1;
            }
            
            /* Compact buttons */
            .btn {
                font-size: 0.7rem;
                padding: 0.5rem 1rem;
            }
            
            /* Sidebar adjustments */
            .sidebar {
                padding: 1rem;
            }
            
            .accordion-button {
                font-size: 0.85rem;
                padding: 0.65rem 0.5rem;
            }
            .containerRow{
                background-color: whitesmoke;
                opacity: 95%;
                margin: 5px 0px 5px 0px;
                padding: 5px;
                border-radius: 5px;    
            }    
            .producer_menu_img{
                max-width:102px;
                width:98px;
                max-height:36px;
                min-height:24px;
            }            
            .producer_menu_img_hover{
                width:102px;
            }              
        }
        
        @media (max-width: 576px) {
            .top-bar {
                text-align: center;
            }
            
            .top-bar .col-md-6 {
                display: block;
                margin-bottom: 0.25rem;
            }
            
            .top-bar i {
                margin: 0 0.25rem;
            }
            
            .logo-section .col-8,
            .logo-section .col-4 {
                text-align: center;
            }
            
            .logo-section .col-4 {
                margin-top: 1rem;
            }
            
            .notice-banner {
                padding: 1rem;
                font-size: 0.9rem;
            }
            
            h1 { font-size: 1.5rem; }
            h2 { font-size: 1.25rem; }
            
            #accordionProducatori{
                padding-left: 15px !important;
            }
            .containerRow{
                background-color: whitesmoke;
                opacity: 95%;
                margin: 5px 0px 5px 0px;
                padding: 5px;
                border-radius: 5px;    
            }  
            .producer_menu_img{
                max-width:100px;
                width:96px;
                max-height:36px;
                min-height:24px;
            }            
            .producer_menu_img_hover{
                width:100px;
            }                 
        }
        
        
.zoom-hover {
overflow: hidden;
}

.zoom-hover img {
transition: transform 0.3s ease;
}

.zoom-hover:hover img {
transform: scale(1.1);
}


.box-overlay {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
     opacity: 0.5999;;
    transition: opacity 0.3s ease;
}

.box-overlay .overlay {
    opacity: 1
}

.overlay-text a {
    color: red !important;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}
.stock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    padding: 10px;
    height: 100%;
    transition: all 0.2s ease;
}

.stock-item img {
    max-width: 100%;
   
    
    object-fit: contain;
}

.stock-item:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}





     #alertbox {
        position: absolute;
        width: 560px;
        z-index: 999999;
        bottom: 0;
    }
    
     #alertbox_int.fixed {
        position: fixed;
        bottom: 0;
    }
    #alertbox_int {
        left: 0 !important;
        right: 0 !important;
        background-color: #f1f1f1;
        opacity: 0.9;
        position: fixed;
        bottom: 0;
        z-index: 999999;
        width: 97% !important;
        margin: 0 auto;
        border: 1px solid #e9e9e9;
        border-radius: 3px;
        display: block;
    }
    
    #alert {
        float: left;
        margin: 10px 10px 0 10px;
    }
    
    #alertbox_int .message {
        text-align: center;
        /* width: 430px; */
        color: #000;
        text-transform: none;
        padding: 3px;
        overflow: hidden;
        display: inline;
        float: left;
        margin: auto;
    }
    
    #alertbox_int .message .message_int {
        float: left;
        margin-top: 8px;
        margin-bottom: 5px;
        left: 103px;
    }
    
    .close {
        margin: 10px 10px;
        /* float: right; */
        cursor: pointer;
        top: 0px;
        position: absolute;
        right: 0px;        
    }    
    
    
    @media screen and (max-width: 600px) {
    #alertbox_int {
        left: 0 !important;
        right: 0 !important;
        background-color: #f1f1f1;
        opacity: 0.9;
        position: fixed;
        bottom: 0;
        z-index: 999999;
        width: 100% !important;
        margin: 0 auto;
        border: 1px solid #e9e9e9;
        border-radius: 3px;
        position: fixed;
        display: block;
    }
    
.containerRow{
    background-color: whitesmoke;
    opacity: 95%;
    margin: 5px 0px 5px 0px;
    padding: 5px;
    border-radius: 5px;    
}    
}


.disabled {
    cursor: not-allowed !important;
      opacity: 0.5; 
    color: lightgray !important;
}


.medal{
        position:absolute;
        display:block;
        z-index:9;
        top:-2px;
        right:24px;
        background-image:url(/images/medals.png);
        background-repeat:no-repeat;
       height:48px;
       width:46px; 
 }

 .silver{
	background-position:-1px 0;
 }
 
.gold{
	background-position:-47px 0;
 }
   
   
  .bronze{
	background-position:-94px 0;
 }
 
 
 
 .prod_img_div {
    height: 160px;                 /* aceeași înălțime pentru TOATE */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prod_img_div img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;           /* nu taie imaginea */
}

.casetacatbottom h4 {
    min-height: 40px;              /* rezervă spațiu fix */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;         /* max 2 rânduri */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.casetacattop {
    display: flex;
    flex-direction: column;
}
.prod_img_div {
    flex-shrink: 0;
}

.casetacatbottom {
    flex-shrink: 0;
}
.casetacattop {
    display: flex;
    flex-direction: column;
}

.casetacatbottom:last-child {
    margin-top: auto;
}
.casetacat {
    transition: transform .2s ease, box-shadow .2s ease;
}

.casetacat:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.pozeevcontent2 {
    width: 200px;
    height: 76px;
    overflow: hidden;
}

.well{
    border: 1px solid lightgray;
    border-radius: 5px;
    border-top-left-radius:0px;
}

.FilterSup{
    background-color: whitesmoke;
    margin-top: 1.3rem;
    border-radius: 5px;    
    margin-bottom:10px;
    opacity:95%;
}

#accordionItemProducatori{
    padding-bottom:5px;
}

.header-container {
    position: relative;
    width: 100%;
    /* overflow: hidden; */
}

   .back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    height: 100vh; /* Or your desired header height */
    z-index: -1; /* Sits behind content */
    object-fit: cover; /* Ensures video covers area without stretching */
    box-shadow: 0px 20px 30px 0px;
}

/* Optional: Improve text readability */
.content1 {
    position: relative;
    z-index: 1;
    color: white;
    /* add background tint if needed: background: rgba(0,0,0,0.4); */
    padding: 30px;
}
.content1 h1, .content1 h2, .content1 h3 {
    color: white;
    text-shadow: -1px -1px 0 darkblue, 1px -1px 0 #000, -1px 1px 0 darkblue, 1px 1px 0 #000;    
}

body {
    background-color: #303840;
}
.partner-card {
    max-width: 150px;
    min-width: 150px;
    width: 150px;
    padding: 5px;
    /* background: lightgray; */
    margin: .5rem;
    min-height: 170px;
    max-height: 170px;    
}
.partner-card-h-100{
    padding: 10px;
    font-size: small;    
}
/* Fereastra de cautare avansata - toate elementele mai mici (12px) */
#advanced_filters_section,
#advanced_filters_section * {
    font-size: 12px;
}
