/*
 * chrome.css — V2 anasayfanın ihtiyaç duyduğu eski tema parçaları.
 * Tam style.min.css (~146 KiB) yerine yalnızca paylaşılan chrome stilleri.
 * Kaynak: style.css (root renkleri, body, site-heading, blog-item, header-top, navbar, theme-btn, product, cookie)
 */

/* ===== style.css :root + body ===== */
:root {
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Inter', sans-serif;
    --theme-color: #005D5B;
    --theme-color2: #005D5B;
    --theme-color-light: #edfeee;
    --theme-color-gradient: #0A7A78;
    --theme-color-deep: #003634;
    --theme-bg-light: #F6F6F6;
    --theme-bg-box: #F7F7F7;
    --body-text-color: #5C6B7C;
    --color-white: #ffffff;
    --color-dark: #160E4B;
    --color-green: #15D4C9;
    --color-blue: #0049D0;
    --color-skyblue: #00BFFF;
    --color-yellow: #FBA707;
    --color-gray: #ECECEC;
    --color-red: #F05454;
    --box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
    --box-shadow2: 0 0 15px rgba(0, 0, 0, 0.17);
    --transition: all .5s ease-in-out;
    --transition2: all .3s ease-in-out;
    --border-info-color: rgba(0, 0, 0, 0.08);
    --border-info-color2: rgba(0, 0, 0, 0.05);
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

* {
    scroll-behavior: inherit !important;
}

html,
body {
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-style: normal;
    font-size: 16px;
    font-weight: normal;
    color: var(--body-text-color, #5C6B7C);
    line-height: 1.8;
    /* style.css body'ye arka plan vermez; tarayıcı/bootstrap varsayılanı beyazdır.
       .bg-gray sınıfı HTML'de var ama style.css'te tanımlı değil — gri zemin yanlışlıkla eklenmişti. */
    background: var(--color-white, #fff);
}

body.bg-gray {
    background: var(--color-white, #fff);
}

a {
    color: var(--color-dark, #160E4B);
    display: inline-block;
}

a,
a:active,
a:focus,
a:hover {
    outline: none;
    transition: all 0.3s ease-out 0s;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark, #160E4B);
    margin: 0;
    font-weight: 600;
    font-family: var(--heading-font);
    line-height: 1.2;
}

p { margin: 0; }

img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease-out 0s;
}

.main {
    position: relative;
}

/* ===== style.css site-heading / blog kartları (beyaz arka plan) ===== */
.site-heading {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.site-title-tagline {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--theme-color);
    position: relative;
    margin-bottom: 5px;
    display: inline-block;
}

.site-title {
    font-weight: 700;
    font-size: 34px;
    color: var(--color-dark);
    margin-top: 4px;
}

.site-title span {
    color: var(--theme-color);
}

.site-heading p {
    margin-top: 15px;
}

.site-heading-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.site-heading-inline .site-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    position: relative;
}

.site-heading-inline .site-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background: var(--theme-bg-box);
    border-radius: 0 50px 50px 0;
    width: 80%;
    height: 100%;
    z-index: -1;
}

.site-heading-inline .site-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 20%;
    border-bottom: 3px solid var(--theme-color2);
    z-index: -1;
}

.site-heading-inline .site-title img {
    width: 32px;
}

.site-heading-inline a {
    font-weight: 500;
    color: var(--body-text-color);
}

.site-heading-inline a:hover {
    color: var(--theme-color);
}

@media all and (max-width: 767px) {
    .site-heading-inline .site-title {
        font-size: 19px;
    }

    .site-heading-inline .site-title img {
        width: 28px;
    }

    .site-heading-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.item-tab .nav-link {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-dark);
    padding: 0;
    margin-right: 20px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.item-tab .nav-item:last-child .nav-link {
    margin-right: 0;
}

.item-tab .nav-link.active {
    color: var(--theme-color);
    background: transparent;
    border-bottom-color: var(--theme-color);
}

.blog-area {
    position: relative;
}

.blog-item {
    background: var(--color-white);
    border: 1px solid var(--border-info-color);
    padding: 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.blog-item-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.blog-item-img img {
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

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

.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.blog-item-info p {
    margin-bottom: 16px;
}

.blog-item-info .theme-btn {
    margin-top: 10px;
}

.blog-item-info h4 a {
    color: var(--color-dark);
}

.blog-item-info h4 a:hover {
    color: var(--theme-color);
}

.bg-white {
    background-color: var(--color-white) !important;
}

/* ===== style.css header-top + navbar (V1 chrome; V2 de logo/toggle/offcanvas için gerekli) ===== */
.header-top {
    position: relative;
    padding: 8px 0 10px;
    background: var(--theme-bg-box, #F7F7F7);
    z-index: 9100;
}

html.navbar-fixed .header-top {
    z-index: 1;
}

.header-top-list li {
    display: inline-block;
    color: var(--color-white, #fff);
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 13px 0 6px;
}

.header-top-list li:last-child {
    border-right: none;
    padding-right: 0;
}

.header-top-list li:first-child {
    padding-left: 0;
}

.header-top-list li a {
    color: var(--color-dark, #160E4B);
}

.header-top-list li a:hover {
    color: var(--theme-color);
}

.header-top-list li i {
    color: var(--theme-color);
    margin-right: 5px;
}

.header-top-right {
    float: right;
}

.header-top-right .dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 10px;
    min-width: 80px;
    z-index: 9200;
}

.header-top-right .dropdown-item {
    color: var(--color-dark, #160E4B);
    border-radius: 10px;
    text-align: center;
}

.header-top-right .dropdown-item:hover {
    background: var(--theme-color);
    color: var(--color-white, #fff);
}

.header-top-social a {
    margin-left: 10px;
}

.header-top-social span {
    color: var(--color-dark, #160E4B);
}

.header-top-list li .header-top-social a i {
    margin-right: 0;
    transition: var(--transition);
}

.header-top-social a:hover i {
    color: var(--color-dark, #160E4B);
}

@media all and (max-width: 991px) {
    .header-top-list li {
        border-right: none;
    }

    .header-top-left .header-top-list li.help {
        display: none;
    }

    .header-top-right .header-top-list li {
        padding-right: 0;
    }

    .header-top .dropdown-toggle::after {
        float: unset;
    }

    .header-top-social span {
        display: none;
    }
}

@media all and (max-width: 767px) {
    .header-top {
        text-align: center;
    }

    .header-top-right {
        float: unset;
    }

    .header-top-social {
        display: none;
    }
}

.main-navigation {
    position: relative;
    z-index: 1050;
    background: var(--color-white, #fff);
}

.navbar {
    background: var(--color-white, #fff);
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--border-info-color, rgba(0, 0, 0, 0.08));
    z-index: 1050;
    position: relative;
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-white, #fff) !important;
    box-shadow: var(--box-shadow2);
    animation: portal-nav-slide-down 0.7s;
    z-index: 1050;
}

.navbar.fixed-top .v2-subnav {
    background: var(--color-white, #fff);
}

.navbar .dropdown-menu {
    z-index: 1060;
}

@keyframes portal-nav-slide-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

.navbar .navbar-brand .logo-display { display: block; }
.navbar .navbar-brand .logo-scrolled { display: none; }
.navbar.fixed-top .navbar-brand .logo-display { display: none; }
.navbar.fixed-top .navbar-brand .logo-scrolled { display: block; }

.navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-mobile-icon {
    display: inline-block;
    width: inherit;
    height: inherit;
}

.navbar-brand {
    margin-right: 0;
}

.navbar-brand img {
    width: 230px;
    max-width: 100%;
    height: auto;
}

.navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    vertical-align: baseline;
    font-family: "Font Awesome 6 Pro";
    content: "\f107";
    font-weight: 600;
    border: none;
    font-size: 14px;
}

@media all and (min-width: 992px) and (max-width: 1199px) {
    .navbar-brand img {
        width: 120px;
    }
}

@media all and (min-width: 992px) {
    .navbar .nav-item .nav-link {
        position: relative;
        margin-right: 25px;
        padding: 28px 0;
        font-size: 16px;
        font-weight: 500;
        color: var(--color-dark, #160E4B);
        text-transform: capitalize;
    }

    .navbar .nav-item:last-child .nav-link {
        margin-right: 0 !important;
    }

    .navbar.fixed-top .nav-item .nav-link {
        color: var(--color-dark, #160E4B);
        padding: 22px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        margin-top: 0;
        border: none;
        left: -15px;
        border-radius: 15px;
        padding: 15px 12px;
        background: var(--color-white, #fff);
        width: 220px;
        box-shadow: var(--box-shadow);
    }

    .navbar .nav-item .dropdown-menu .dropdown-item {
        font-size: 16px;
        font-weight: 400;
        color: var(--color-dark, #160E4B);
        position: relative;
        overflow: hidden;
        text-transform: capitalize;
        transition: var(--transition);
    }

    .navbar .nav-item .dropdown-menu .dropdown-item:hover {
        background: transparent;
        color: var(--theme-color);
        padding-left: 22px;
    }

    .navbar .nav-item .nav-link.active,
    .navbar .nav-item:hover .nav-link {
        color: var(--theme-color);
    }

    .navbar.fixed-top .nav-item .nav-link.active,
    .navbar.fixed-top .nav-item:hover .nav-link {
        color: var(--theme-color);
    }

    .navbar .nav-item:hover .dropdown-menu {
        transition: .3s;
        opacity: 1;
        visibility: visible;
        top: 100%;
        transform: rotateX(0deg);
    }

    .navbar .dropdown-menu-end {
        right: 0;
        left: auto;
    }

    .navbar .dropdown-menu.fade-down {
        top: 80%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .dropdown-menu.fade-up {
        top: 140%;
    }

    .nav-right {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .nav-right-link {
        position: relative;
        font-size: 16px;
        color: var(--color-dark, #160E4B);
        font-weight: 500;
    }

    .nav-right-link:hover {
        transition: var(--transition);
        color: var(--theme-color) !important;
    }

    .navbar.fixed-top .nav-right-link {
        color: var(--color-dark, #160E4B);
    }

    .navbar.fixed-top .nav-right-link:hover {
        color: var(--theme-color) !important;
    }

    .nav-right-list li {
        display: inline-block;
    }
}

@media all and (min-width: 1199px) and (max-width: 1399px) {
    .navbar .nav-item .nav-link {
        margin-right: 15px !important;
    }

    .navbar.fixed-top .navbar-brand img {
        width: 130px;
    }

    .nav-right {
        margin-left: 15px !important;
    }

    .navbar.fixed-top .nav-right {
        gap: 12px;
    }
}

@media all and (max-width: 1199px) {
    .navbar .nav-right-btn {
        display: none;
    }
}

@media all and (min-width: 992px) and (max-width: 1199px) {
    .navbar .nav-item .nav-link {
        margin-right: 15px;
        font-size: 16px;
    }
}

.mobile-menu-right {
    display: none;
}

@media all and (max-width: 991px) {
    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
        background: var(--color-white, #fff);
    }

    .navbar-brand img {
        width: 130px;
    }

    .navbar .offcanvas {
        width: 300px;
    }

    .navbar .offcanvas-header .btn-close {
        box-shadow: none;
    }

    .navbar .offcanvas-brand {
        width: 150px;
        display: inline-block;
    }

    .navbar .offcanvas-brand img {
        width: 150px;
        max-width: 100%;
        height: auto;
    }

    .navbar .dropdown-toggle::after {
        float: right;
        margin-top: 2px;
    }

    .navbar .nav-item .nav-link {
        color: var(--color-dark, #160E4B);
        font-weight: 500;
        margin-right: 0;
        transition: var(--transition);
    }

    .navbar .nav-item .nav-link:hover {
        color: var(--theme-color) !important;
    }

    .navbar-toggler {
        padding: 0;
        border: none;
        width: auto;
        height: auto;
        background: transparent;
    }

    .navbar-toggler span {
        display: block;
        width: 22px;
        height: 0;
        border: 0;
        border-bottom: 3px solid var(--theme-color, #0F3467);
        border-radius: 50px;
        margin-top: 5px;
        background: transparent;
    }

    .navbar-toggler span:first-child {
        margin-top: 0;
    }

    .navbar-toggler span:nth-child(2) {
        width: 15px;
    }

    .mobile-menu-right,
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-right .nav-right-link {
        background: transparent;
        border: none;
        font-size: 20px;
        color: var(--theme-color);
        text-align: center;
        padding: 0;
        position: relative;
    }

    .mobile-menu-right .nav-right-link span {
        position: absolute;
        width: 18px;
        height: 18px;
        line-height: 18px;
        color: var(--color-white, #fff);
        background: var(--theme-color);
        border-radius: 50px;
        font-size: 12px;
        right: -10px;
        top: -5px;
    }

    .navbar .dropdown-menu {
        border-radius: 15px;
        border: 1px solid var(--border-info-color, rgba(0, 0, 0, 0.08));
    }

    .nav-right {
        display: none;
    }
}

/* ===== style.css theme-btn ===== */
.theme-btn {
    position: relative;
    font-size: 16px;
    background: var(--theme-color);
    color: var(--color-white, #fff);
    padding: 10px 20px;
    display: inline-block;
    vertical-align: middle;
    text-transform: capitalize;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 0;
}

.theme-btn::before {
    content: "";
    height: 300px;
    width: 300px;
    background: var(--color-dark, #160E4B);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) scale(0);
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.theme-btn:hover {
    color: var(--color-white, #fff);
}

.theme-btn:hover::before {
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.theme-btn i { margin-left: 5px; }
.theme-btn span { margin-right: 5px; }

.theme-btn2 {
    background: var(--theme-color2);
    color: var(--color-white, #fff);
}

.theme-btn2:hover {
    color: var(--color-white, #fff);
}

/* ===== style.css scroll-top ===== */
#scroll-top {
    position: fixed;
    bottom: -20px;
    right: 30px;
    z-index: 99;
    font-size: 20px;
    border: none;
    outline: none;
    border-radius: 50px;
    color: var(--color-white, #fff);
    background-color: var(--theme-color);
    cursor: pointer;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    box-shadow: var(--box-shadow2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

#scroll-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

@media all and (min-width: 768px) and (max-width: 1199px) {
    #scroll-top.active { bottom: 100px; }
}

/* ===== style.css search-popup ===== */
.search-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    margin-top: -540px;
    transform: translateY(-100%);
    background-color: rgba(0, 0, 0, .95);
    transition: all 1500ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
}

.search-active .search-popup {
    transform: translateY(0%);
    margin-top: 0;
}

.search-popup .close-search {
    position: absolute;
    left: 0;
    right: 0;
    top: 75%;
    border: none;
    margin: -200px auto 0;
    border-radius: 50px;
    text-align: center;
    background: var(--theme-color);
    width: 50px;
    height: 50px;
    color: var(--color-white, #fff);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
}

.search-popup .close-search span { transition: var(--transition); }
.search-popup .close-search:hover span { transform: rotate(180deg); }

.search-active .search-popup .close-search {
    visibility: visible;
    opacity: 1;
    top: 50%;
    transition-delay: 1500ms;
}

.search-popup form {
    position: absolute;
    max-width: 700px;
    top: 50%;
    left: 15px;
    right: 15px;
    margin: -35px auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 300ms ease;
}

.search-active .search-popup form {
    transform: scaleX(1);
    transition-delay: 1200ms;
}

.search-popup .form-group {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.search-popup .form-control {
    position: relative;
    width: 100%;
    height: 70px;
    outline: none;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid var(--color-white, #fff);
    background-color: transparent;
    color: var(--color-white, #fff);
    font-size: 20px !important;
    padding: 0 70px 0 20px;
    transition: all 500ms ease;
}

.search-popup .form-control::placeholder {
    color: var(--color-white, #fff);
    font-size: 15px;
}

.search-popup .form-group button {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 50px;
    background: transparent;
    text-align: center;
    font-size: 30px;
    color: var(--color-white, #fff);
    height: 50px;
    width: 50px;
    border: none;
    cursor: pointer;
    transition: all 500ms ease;
}

.search-popup .form-group button:hover {
    color: var(--theme-color);
}

/* ===== style.css site-heading-inline ===== */
.site-heading-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
}

.site-title {
    position: relative;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark, #160E4B);
}

/* ===== style.css product card (firma listesi design-1) ===== */
.product-item {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-img {
    position: relative;
    background: var(--theme-bg-box, #F7F7F7);
    padding: 5px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: border 0.3s ease-in-out;
}

.product-img:hover {
    border: 1px solid var(--theme-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-img img {
    object-fit: cover;
    border-radius: 12px;
}

.product-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px;
}

.product-img:hover::after {
    opacity: 0;
}

.product-logo,
.product-logo2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 3px solid var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

.product-logo {
    width: 200px;
    height: 200px;
}

.product-logo2 {
    width: 150px;
    height: 150px;
}

.product-logo img,
.product-logo2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media screen and (max-width: 767px) {
    .product-logo,
    .product-logo2 {
        width: 150px;
        height: 150px;
    }
}

.product-action-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
    pointer-events: none;
}

.product-item:hover .product-action-wrap {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.product-action a,
.product-action .product-action-btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--theme-color);
    color: var(--color-white, #fff);
    text-align: center;
    border-radius: 50%;
    margin: 0 3px;
    display: inline-block;
    pointer-events: auto;
}

.product-action a:hover,
.product-action .product-action-btn:hover {
    background: var(--theme-color);
    color: var(--color-white, #fff);
}

/* ===== style.css Cookie Preferences (bar + sheet modal) ===== */
.cookie-consent-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: min(720px, calc(100vw - 24px));
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 231, 255, 0.8);
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: none;
}

.cookie-consent-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.cookie-consent-text {
    color: #4b5563;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    border-radius: 12px;
    border: 1px solid #d7deea;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn:hover {
    border-color: var(--theme-color, #0f766e);
    color: var(--theme-color, #0f766e);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.12);
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--theme-color, #0f766e) 0%, var(--theme-color-gradient, #0d9488) 100%);
    border-color: var(--theme-color, #0f766e);
    color: #fff;
}

.cookie-btn-primary:hover {
    filter: brightness(1.06);
    border-color: var(--theme-color, #0f766e);
    color: #fff;
}

.cookie-manage-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
    display: none;
}

.cookie-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 32, 0.52);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.cookie-sheet-overlay.active {
    display: flex;
}

.cookie-sheet {
    width: 100%;
    max-width: 680px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(2, 8, 23, 0.28);
    overflow: hidden;
}

.cookie-sheet-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #edf1f7;
}

.cookie-sheet-body {
    padding: 16px 20px;
}

.cookie-pref-item {
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.cookie-pref-item h6 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.cookie-pref-item p {
    margin-bottom: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-switch {
    width: 46px;
    height: 26px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.cookie-switch::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 3px;
    top: 3px;
    transition: transform .2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch:checked {
    background: var(--theme-color, #0f766e);
}

.cookie-switch:checked::after {
    transform: translateX(20px);
}

.cookie-switch:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cookie-sheet-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 20px 20px;
    border-top: 1px solid #edf1f7;
}

.cookie-policy-link {
    color: var(--theme-color, #0f766e);
    text-decoration: underline;
    font-size: 14px;
    margin-right: 12px;
}

/* Cookie modal — modern + theme */
body .cookie-sheet-modern .cookie-pref-item {
    position: relative;
    overflow: hidden;
    background: var(--theme-bg-box, #F7F7F7);
    border-color: var(--color-gray, #ECECEC);
}

body .cookie-sheet-modern .cookie-pref-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #d1d5db;
}

body .cookie-sheet-modern .cookie-pref-item--required::before {
    background: color-mix(in srgb, var(--theme-color, #0f766e) 35%, #fff);
}

body .cookie-sheet-modern .cookie-pref-item--analytics::before {
    background: var(--theme-color, #0f766e);
}

body .cookie-sheet-modern .cookie-pref-item--preferences::before {
    background: var(--theme-color-gradient, #0A7A78);
}

body .cookie-sheet-modern .cookie-sheet-header,
body .cookie-sheet-modern .cookie-sheet-footer {
    border-color: var(--color-gray, #ECECEC);
}

body .cookie-sheet-modern .cookie-sheet-header h5,
body .cookie-sheet-modern .cookie-pref-item h6 {
    color: var(--color-dark, #160E4B);
}

body .cookie-sheet-modern .cookie-sheet-header p,
body .cookie-sheet-modern .cookie-pref-item p {
    color: var(--body-text-color, #5C6B7C);
}

body .cookie-sheet-modern .cookie-sheet-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

body .cookie-sheet-modern .cookie-btn-soft {
    background: var(--theme-bg-box, #F7F7F7);
    border: 1px solid var(--color-gray, #ECECEC);
    color: var(--color-dark, #160E4B);
}

body .cookie-sheet-modern .cookie-btn-soft:hover {
    border-color: var(--theme-color, #0f766e);
    color: var(--theme-color, #0f766e);
}

body .cookie-sheet-modern .cookie-btn-outline {
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--theme-color, #0f766e) 40%, #fff);
    color: var(--theme-color, #0f766e);
}

body .cookie-sheet-modern .cookie-btn-outline:hover {
    background: color-mix(in srgb, var(--theme-color, #0f766e) 6%, #fff);
    border-color: var(--theme-color, #0f766e);
}

body .cookie-sheet-modern .cookie-btn-primary {
    background: linear-gradient(135deg, var(--theme-color, #0f766e) 0%, var(--theme-color-gradient, #0A7A78) 100%);
    border-color: var(--theme-color, #0f766e);
    color: #fff;
}

body .cookie-sheet-modern .cookie-btn-primary:hover {
    filter: brightness(1.08);
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-consent-bar {
        width: calc(100vw - 16px);
        bottom: 10px;
        padding: 16px;
        border-radius: 14px;
    }

    .cookie-consent-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .cookie-consent-text {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .cookie-sheet-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .cookie-sheet {
        max-width: 100%;
        border-radius: 18px 18px 0 0;
    }

    body .cookie-sheet-modern .cookie-sheet-footer {
        grid-template-columns: 1fr;
    }

    body .cookie-sheet-modern .cookie-btn {
        width: 100%;
    }
}
