/* ============================================
   BEYAZESYAEVI.COM REVIZE – HEADER & NAV BUTONLARI
   ============================================ */

/* Header middle right — daha büyük ikon/metin */
.header-middle-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-middle-right .user-menu a,
.header-middle-right .header-favori a,
.header-middle-right .cart-menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px !important;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.header-middle-right .user-menu a i,
.header-middle-right .header-favori a i,
.header-middle-right .cart-menu a i {
    font-size: 24px !important;
}

.header-middle-right .cart-amount {
    font-size: 13px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #ff6a00;
    color: #fff;
    border-radius: 50%;
    padding: 0 6px;
}

/* Kategori dropdown menü — daha büyük kartlar */
#navigation .category-level-2 .menu_cs {
    padding: 10px 0;
}

#navigation .category-level-2 .menu_cs .col-3 img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
}

#navigation .category-level-2 .menu_cs .col-sm-9 span {
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.4;
}

#navigation .category-level-2 ul li {
    min-width: 260px;
    padding: 6px 0;
}

#navigation .category-level-2 .box_m {
    padding: 20px 0;
}

/* ============================================
   OFFCANVAS STİLLERİ (Sağdan Açılır Paneller)
   ============================================ */

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99990;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.offcanvas-backdrop.active {
    display: block;
    opacity: 1;
}

.offcanvas-panel {
    position: fixed;
    top: 0;
    width: 360px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.offcanvas-right {
    right: -400px;
}

.offcanvas-right.active {
    right: 0;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #ececec;
    background: #ffffff;
}

.offcanvas-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.offcanvas-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.offcanvas-close:hover {
    color: #ff6a00;
}

.offcanvas-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* ============================
   KULLANICI OFFCANVAS
   ============================ */
.offcanvas-user-name {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.offcanvas-user-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.offcanvas-user-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
}

.offcanvas-user-menu li:last-child {
    border-bottom: none;
}

.offcanvas-user-menu a {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.offcanvas-user-menu a:hover {
    color: #ff6a00;
}

.offcanvas-logout-form {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.offcanvas-logout-btn {
    width: 100%;
    padding: 12px;
    background: #f5f5f5;
    border: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.offcanvas-logout-btn:hover {
    background: #e8e8e8;
}

.offcanvas-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.offcanvas-auth-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: #ff6a00;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.offcanvas-auth-btn:hover {
    background: #e55e00;
    color: #fff;
}

.offcanvas-auth-btn--alt {
    background: #f5f5f5;
    color: #333;
}

.offcanvas-auth-btn--alt:hover {
    background: #e8e8e8;
    color: #333;
}

/* ============================
   SEPET OFFCANVAS
   ============================ */
.offcanvas-empty-message {
    color: #999;
    font-size: 14px;
    margin: 0 0 24px 0;
}

.offcanvas-empty-icon {
    text-align: center;
    padding: 30px 0;
    color: #ddd;
    font-size: 80px;
}

.offcanvas-cart-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.offcanvas-cart-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: #ff6a00;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.offcanvas-cart-btn:hover {
    background: #e55e00;
    color: #fff;
}

/* ============================
   MOBİL UYUMLULUK
   ============================ */
@media (max-width: 480px) {
    .offcanvas-panel {
        width: 100%;
        max-width: 100vw;
    }
}

/* ============================
   BODY KİLİTLEME (Offcanvas açıkken)
   ============================ */
body.offcanvas-open {
    overflow: hidden;
}
