.header_top {
    padding: 15px 0;
}

:root {
    --radius: 12px;
    --radius-xl: 24px;
    --bg: #f4f4f5;
    --surface: rgba(0, 0, 0, 0.04);
    --surface-hover: rgba(0, 0, 0, 0.08);
    --border: rgba(0, 0, 0, 0.1);
    --text: #18181b;
    --text-muted: #71717a;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --credit-negative: #ea580c;
    --credit-positive: #16a34a;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.search-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 0.3s ease;

    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}


.search-modal-overlay.is-open .search-modal-content {
    transform: scale(1);
}

.search-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.search-modal-header .search-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.search-modal-header .search-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-modal-header input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-modal-header input::placeholder {
    color: var(--text-muted);
}

.search-modal-header input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-results {
    overflow-y: auto;
    padding: 12px;
    max-height: 360px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
}

.search-result-item:hover {
    background: var(--surface-hover);
    transform: translateX(2px);
}

.search-result-item .thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--surface);
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-item .thumb-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.search-no-results {
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.state-selected .create-actions .btn-secondary.search-only {
    display: inline-flex;
}


.state-empty .create-actions .btn-secondary.search-only {
    display: inline-flex;
}


.mobileMenu i {
    display: flex;
}

.headerAreaLogo img {
    width: 65%;
    margin-left: 10px;
}

.headerGorsel img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media only screen and (max-width: 767px) {
    .headerActionButton > a {
        width: 40px;
        height: 40px;
    }

    .headerActionButton i {
        font-size: 20px;
        display: flex;
    }

    .headerGorsel img {
        width: 100%;
        height: auto;
    }
}

.swal2-confirm.swal2-styled {
    background: var(--main-color) !important;
}


.header_top {
    font-family: "Montserrat", sans-serif;
}

.header_search {
    outline: none;
    border: none;
    background: none;
    box-shadow: none;
    font-size: 17px;
    display: flex;
    align-items: center;
    transition: .3s ease-in-out;
    color: #29235C;

}

.header_search i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 15px;
}

.header_search span {
    margin-left: 10px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--main-color);
    color: #ffffff;
    padding: 7px 0;
    display: flex;
}

.header_search:hover {
    color: var(--main-color);
    transition: .3s ease-in-out;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    /* Animasyon ismi, süresi, lineer ilerleme ve sonsuz döngü */
    animation: scroll-left 20s linear infinite;
}

.marquee-item {
    padding: 0 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 300;
    text-transform: capitalize;
}

/* Hover effect: Pause animation when mouse is over */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Scroll Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* İçerik iki katı olduğu için yarısında başa döner */
    }
}

.drc_header_nav {
    gap: 15px;
    font-family: sans-serif;
}

.drc_nav_item {
    position: relative;
    cursor: pointer;
}

.drc_nav_trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

/* İkon Çemberleri */
.drc_icon_circle {
    width: 40px;
    height: 40px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    position: relative;
    transition: .2s;
}

.drc_icon_circle svg {
    width: 20px;
    height: 20px;
}

.drc_nav_item:hover .drc_icon_circle {
    background: #eee;
    color: #000;
}

/* Metinler */
.drc_nav_info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.drc_main_text {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.drc_sub_text {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* Rozet (Badge) */
.drc_count_badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Dropdown */
.drc_dropdown_box {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 9999;
    overflow: hidden;
}

.drc_user_dropdown:hover .drc_dropdown_box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Listesi */
.drc_drop_list {
    list-style: none;
    margin: 0;
    padding: 0 0;
}

.drc_drop_list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #444;
    font-size: 14px;
    transition: .2s;
}

.drc_drop_list li:hover {
    background: #f8f9fa;
    color: #007bff;
}

.drc_drop_icon {
    width: 16px;
    height: 16px;
}

.drc_drop_divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

.drc_logout:hover {
    background: #fff5f5 !important;
    color: #dc3545 !important;
}

/* Katalog Link Ayarı */
.drc_nav_link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Mobil Görünüm (768px altı) */
@media (max-width: 768px) {
    /* 1. Yazı içeren alanları gizle */
    .drc_nav_info {
        display: none !important;
    }

    /* 2. Menü öğeleri arasındaki boşluğu ayarla */
    .drc_header_nav {
        gap: 10px;
    }

    /* 3. İkon çemberlerini biraz küçültmek istersen (opsiyonel) */
    .drc_icon_circle {
        width: 36px;
        height: 36px;
    }

    /* 4. Dropdown'ın mobilde ekran dışına taşmaması için hizalama */
    .drc_dropdown_box {
        left: auto;
        right: 0;
        transform: translateY(10px);
        width: 160px;
    }

    .drc_user_dropdown:hover .drc_dropdown_box {
        transform: translateY(0);
    }

    .header_search span {
        display: none;
    }

    .header_search {
        padding: 0;
    }

    .header_top .mobile--menu i {
        margin-right: 15px;
    }

    .header_top .header_search i, .header_top .mobile--menu i {
        font-size: 25px;
        line-height: 24px;
        display: flex;
        align-items: center;
    }

    .drc_icon_circle {
        background: none;
    }

    .drc_icon_circle svg {
        width: 25px;
        height: 25px;
    }

    .drc_header_nav {
        gap: 0;
    }

    .header_logo img {
        width: 100% !important;
    }

}

.drc-header-nav {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative; /* Mega menü bu kapsayıcıyı baz alacak */
    z-index: 1000;
}

.drc-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 5px;
}

/* 2. Menü Öğe Türleri */
/* Standart Dropdown olanlar kendi altında açılmalı */
.drc-has-dropdown {
    position: relative;
}

/* Mega Menu olanlar kapsayıcı genişliğine yayılmalı */
.drc-has-mega {
    position: static;
}

/* 3. Ana Menü Linkleri */
.drc-menu-link {
    display: flex;
    align-items: center;
    padding: 22px 18px;
    color: #1e293b;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.drc-menu-link:hover {
    color: #2563eb;
}

/* Hover Alt Çizgi Efekti */
.drc-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.drc-menu-item:hover .drc-menu-link::after {
    width: 80%;
}

.drc-icon-arrow {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.drc-menu-item:hover .drc-icon-arrow {
    transform: rotate(180deg);
}

/* 4. Ortak Panel Özellikleri */
.drc-mega-menu,
.drc-dropdown-menu {
    position: absolute;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

/* Hover Gösterimi */
.drc-menu-item:hover .drc-mega-menu,
.drc-menu-item:hover .drc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 5. Standart Dropdown Özel Ayarlar */
.drc-dropdown-menu {
    left: 0; /* Kategorinin tam sol hizasından başlar */
    min-width: 220px;
    padding: 12px;
    border-radius: 0 0 12px 12px;
}

.drc-dropdown-menu li {
    list-style: none;
}

.drc-dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.drc-dropdown-menu li a:hover {
    background: #eff6ff;
    color: #2563eb;
    padding-left: 20px;
}

/* 6. Mega Menu Özel Ayarlar */
.drc-mega-menu {
    left: 0;
    right: 0;
    width: 100%; /* Navigasyon genişliğine tam yayılır */
    padding: 40px 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.drc-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto; /* İçeriği ortalar */
    padding: 0 20px;
}

.drc-mega-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 15px;
}

.drc-mega-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
    padding: 10px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.drc-mega-column:hover .drc-mega-img {
    transform: translateY(-4px);
    border-color: #2563eb;
    background: #ffffff;
}

.drc-mega-sub-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drc-mega-sub-list li a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.drc-mega-sub-list li a:hover {
    color: #2563eb;
    transform: translateX(5px);
}

/* 1. Sidebar Ana Panel */
.drc-cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Sayfa açılışında ekran dışında */
    width: 420px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 100001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    visibility: hidden; /* Sayfa açılışında beyaz ekranı/görünmeyi engeller */
}

.drc-cart-sidebar.is-active {
    right: 0;
    visibility: visible;
}

/* 2. Karartma Katmanı */
.drc-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5); /* Modern lacivert-siyah tonu */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drc-cart-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* 3. Header Tasarımı */
.drc-cart-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.drc-cart-title-group h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.drc-cart-count {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Kapatma Butonu ve Hover Efekti */
.drc-cart-close {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.drc-cart-close:hover {
    background-color: #f1f5f9;
    color: #ef4444;
}

/* 4. Ürün Listesi */
.drc-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.drc-cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f8fafc;
    transition: transform 0.2s ease;
}

.drc-item-img img {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    object-fit: cover;
    background: #f4f4f5;
    border: 1px solid #f1f5f9;
}

.drc-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.drc-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.4;
}

.drc-item-title:hover {
    color: #2563eb;
}

.drc-item-price {
    font-weight: 700;
    color: #2563eb;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.drc-item-remove {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    transition: color 0.2s;
}

.drc-item-remove:hover {
    color: #ef4444;
}

/* 5. Footer ve Özet Alanı */
.drc-cart-footer {
    padding: 24px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.drc-summary-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.drc-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.drc-grand-total {
    color: #0f172a;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0;
}

/* Butonlar */
.drc-cart-actions {
    display: grid;
}

.drc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.drc-btn-secondary {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.drc-btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
}

.drc-btn-primary:hover {
    color: #ffffff;
}

.drc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.drc-btn:active {
    transform: translateY(0);
}

/* 6. Mobil Uyumluluk */
@media (max-width: 480px) {
    .drc-cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .drc-cart-actions {
        grid-template-columns: 1fr; /* Mobilde butonlar alt alta */
    }

    .drc-cart-header {
        padding: 20px;
    }

    .drc-cart-body {
        padding: 20px;
    }

    .drc-cart-close {
        width: 44px;
        height: 44px;
    }

    /* Mobilde daha kolay dokunma */
}

/* Boş Sepet Tasarımı */
.drc-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 0 20px;
    animation: fadeIn 0.5s ease;
}

.drc-empty-icon {
    width: 100px;
    height: 100px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
}

.drc-cart-empty h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.drc-cart-empty p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 280px;
}

.drc-continue-shopping {
    width: auto;
    padding: 14px 30px;
    font-size: 0.9rem;
}

/* Basit giriş animasyonu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sepet boşken footer'daki toplamları ve butonları gizlemek istersen: */
.drc-cart-sidebar.is-empty .drc-cart-footer {
    display: none;
}

.videoSlider {
    padding: 20px 0;
}

.drc-video-container p{
    height: 100%;
}
.drc-video-container iframe{
    height: 100%;
    width: 100%;
}
.drc-video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 16; /* Dikey video formatı için ideal */
    background: #000;
    cursor: pointer;
}

.drc-swiper-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video üzerindeki oynat ikonu overlay */
.drc-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s;
    pointer-events: none; /* Tıklamayı videoya geçirir */
}

/* Video oynarken overlay'i gizle */
.drc-video-container.is-playing .drc-video-overlay {
    opacity: 0;
}