@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

@font-face {
    font-family: 'Optimistic Text VF';
    src: url('../Font/Optimistic_TextVF_A_Wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #2b2b2b;
    --secondary-color: #f8f9fa;
    --accent-color: #e9ecef;
    --text-color: #333;
    --border-color: #ddd;
}

.video-js {
    width: 100% !important;
    height: 100% !important;
    padding-top: 0 !important;
    background-color: transparent !important;
}

.dropdown-toggle,
.dropdown-item {
    text-decoration: none !important;
}

.dropdown-menu {
    background-color: #6e6e6e !important;
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 16px;
    /* font-family: 'Open Sans', sans-serif; */
    font-weight: 400;
}

/* For the toggle element */
.toggle.toggle-primary {
    --toggle-primary-color: #6e6e6e;
}

/* If you need to override specific parts */
.toggle.toggle-primary .toggle-label {
    background-color: #6e6e6e;
}

.toggle.toggle-primary input:checked+.toggle-label {
    background-color: #6e6e6e;
    border-color: #6e6e6e;
}

/* For the simple toggle variant */
.toggle-simple .toggle-label:after {
    background-color: #6e6e6e;
}

.toggle.toggle-primary.toggle-simple[data-plugin-toggle] .toggle-label {
    background-color: #6e6e6e !important;
    border-color: #6e6e6e !important;
}

/* Hover states for main nav */
#mainNav .nav-link:not(.active):hover,
#mainNav .dropdown-toggle:not(.active):hover {
    color: #ffffff !important;
    background-color: #6e6e6e !important;
}

/* Reset state when not hovering */
#mainNav .nav-link:not(.active),
#mainNav .dropdown-toggle:not(.active) {
    background-color: transparent !important;
    transition: background-color 0.3s ease;
}

/* Dropdown items hover */
.dropdown-menu .dropdown-item:hover {
    color: #ffffff !important;
    background-color: #8e8e8e !important;
}


.video-js .vjs-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.container.specialists {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.product-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.category-name {
    display: inline-block;
    background-color: #daf6ed;
    color: #2b2b2b;
    font-size: 1.5em;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-left: 4px solid #c3ddd5;
    font-family: 'El Messiri', 'san serif';
    font-weight: 700;
}

.product-name {
    font-size: 2.2em;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-family: 'El Messiri', 'san serif';
    font-weight: 700;
}

.product-category {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #6e6e6e;
    font-weight: 500;
    font-family: 'Optimistic Text VF';
}

.product-function {
    font-size: 1.2em;
    color: #6e6e6e;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Optimistic Text VF';
    margin-bottom: 15px;
}

.product-ideal {
    background-color: #6e6e6e;
    color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

h1 {
    font-weight: 800;
}

h2 {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-top: 30px;
}

h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'El Messiri', 'san serif';
}

.mechanism-section {
    margin-bottom: 20px;
}

.mechanism-title {
    margin-top: 15px;
    color: var(--primary-color);
    font-family: 'El Messiri', 'san serif';
    font-weight: 700;
    font-size: 1.5em;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    color: #6e6e6e;
    font-weight: 500;
    font-family: 'Optimistic Text VF';
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.benefit-item {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #6e6e6e;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.protocol-item {
    background-color: var(--accent-color);
    padding: 15px;
    border-radius: 5px;
}

.protocol-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.advantages-list {
    margin: 20px 0;
}

.advantage-item {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.advantage-item:before {
    content: "✓";
    color: #6e6e6e;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px #6e6e6e;
}

.ingredients-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.ingredients-table th,
.ingredients-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.ingredients-table th {
    background-color: #6e6e6e;
    color: white;
    font-weight: 500;
    position: sticky;
    top: 0;
}

.ingredients-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.ingredients-table tr:hover {
    background-color: #f1f5ff;
}

@media (max-width: 768px) {
    .container.specialists {
        padding: 10px;
    }

    .table-container {
        border: 1px solid #e0e0e0;
    }

    .ingredients-table {
        min-width: 100%;
    }

    .ingredients-table th {
        font-size: 0.9em;
        padding: 10px 8px;
    }

    .ingredients-table td {
        font-size: 0.95em;
        padding: 12px 8px;
    }

    .benefits-list,
    .protocol-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .ingredients-table th,
    .ingredients-table td {
        padding: 10px 5px;
    }
}

@media (min-width: 992px) {
    #language-toggle {
        margin-top: -8px;
    }
}

.product-image-container {
    padding: 20px;
    border-radius: 8px;
}

.product-image-container img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-image-container {
        padding: 10px;
    }

    .product-image-container img {
        width: 100%;
    }
}

.logo {
    display: block;
    height: auto;
    transition: opacity 0.3s ease;
}

.logo-desktop {
    width: 200px;
    display: block;
}

.desktop-video {
    display: block;
}

.logo-mobile {
    width: 150px;
    display: none;
}

.mobile-video {
    display: none !important;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .desktop-video {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .mobile-video {
        display: block !important;
    }
}

.owl-item {
    height: 750px !important;
}

@media (max-width: 768px) {
    .owl-item {
        height: 245px !important;
    }
}