body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1; /* Ana içeriğin mevcut tüm boş alanı doldurmasını sağlar */
}

/* #region TOP NAVIGATION */
#top {
    background: #ffffff;
    padding: 6px 0;
    font-size: 0.75rem;
}

#top .container {
    position: relative;
}

#top .list-inline {
    margin: 0;
    padding: 0;
}

#top .list-inline-item {
    margin: 0;
}

#top .list-inline-item:not(:last-child) {
    margin-right: 2rem;
}

#top .list-inline-item a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

#top .list-inline-item a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #FF8C42, #FF6B35);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#top .list-inline-item a:hover {
    color: #FF8C42;
    background: rgba(255, 140, 66, 0.08);
    transform: translateY(-1px);
}

#top .list-inline-item a:hover::before {
    width: 100%;
}

/* Mobile Top Navigation */
@media (max-width: 991px) {
    #top {
        display: none;
        padding: 4px 0;
        font-size: 0.7rem;
    }
    
    #top .list-inline-item:not(:last-child) {
        margin-right: 1.2rem;
    }
    
    #top .list-inline-item a {
        padding: 2px 4px;
    }
}
/* #endregion */

/* #region SEARCH BAR */
.ha-search-form {
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #f5f5f5;
    border: 1.5px solid transparent;
    border-radius: 6px;
    padding: 4px 8px;
    transition: all 0.25s ease;
}

.ha-search-form:focus-within {
    background-color: #fff;
    border-color: #f27a1a;
    box-shadow: 0 1px 4px rgba(242, 122, 26, 0.2);
}

.ha-search-input {
    flex: 1;
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #333;
    background: transparent;
    border: none;
    outline: none;
}

.ha-search-input::placeholder {
    color: #999;
}

.ha-search-btn {
    background: none;
    border: none;
    color: #f27a1a;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ha-search-btn:hover {
    color: #d9690a;
    transform: scale(1.05);
}

.ha-search-btn:active {
    transform: scale(0.95);
}

/* Mobile Search */
@media (max-width: 1198px) {
    .ha-search-form {
        max-width: 100%;
        font-size: 0.8rem;
        margin: 0 auto;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 991px) {
    .ha-search-col {
        order: 3;
        width: 100%;
        margin-top: .5rem;
        flex-grow: 1;
    }
}
/* #endregion */

/* #region ACCOUNT DROPDOWN */
.ha-account-dropdown {
    position: relative;
}

.ha-account-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 999;
}

.ha-account-dropdown:hover .ha-dropdown-menu {
    display: block;
    margin-top: 0px;
    animation: ha-fadeInUp 0.3s ease-out;
}

/* Toggle Button Styles */
.ha-account-dropdown .ha-dropdown-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    /*min-width: 160px;*/
}

.ha-account-dropdown .ha-dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.1), transparent);
    transition: left 0.6s ease;
}

.ha-account-dropdown .ha-dropdown-toggle:hover::before {
    left: 100%;
}

.ha-account-dropdown .ha-dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Not Logged State */
.ha-account-dropdown .ha-not-logged {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
    border: 2px solid #e8ecf0;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.1);
}

.ha-account-dropdown .ha-not-logged:hover,
.ha-account-dropdown .ha-not-logged[aria-expanded="true"] {
    border-color: #FF8C42;
    color: #FF8C42;
    background: linear-gradient(135deg, #fff8f3 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.25);
    transform: translateY(-2px);
}

/* Icons */
.ha-account-dropdown .ha-icon-user {
    margin-right: 12px;
    font-size: 1.4em;
    background: linear-gradient(45deg, #FF8C42, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 140, 66, 0.3));
}

.ha-account-dropdown .ha-icon-caret {
    margin-left: auto;
    font-size: 0.8em;
    transition: transform 0.3s ease;
    color: #6c757d;
}

.ha-account-dropdown:hover .ha-icon-caret {
    transform: rotate(180deg);
    color: #FF8C42;
}

/* Toggle Content */
.ha-account-dropdown .ha-toggle-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
    white-space: normal;
}

.ha-account-dropdown .ha-toggle-main-text {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 2px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ha-account-dropdown .ha-toggle-sub-text {
    font-size: 0.75em;
    font-weight: 500;
    color: #6c757d;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.ha-account-dropdown .ha-not-logged:hover .ha-toggle-sub-text,
.ha-account-dropdown .ha-not-logged[aria-expanded="true"] .ha-toggle-sub-text {
    color: #FF8C42;
    opacity: 1;
}

/* Dropdown Menu */
.ha-dropdown-menu {
    border-radius: 16px;
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 220px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(10px);
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    margin-left: -110px;
    transform: translateY(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.ha-account-dropdown:hover .ha-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Menu Items */
.ha-dropdown-menu .ha-menu-item {
    padding: 12px 20px;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.ha-dropdown-menu .ha-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #FF8C42, #FF6B35);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.ha-dropdown-menu .ha-menu-item:hover::before {
    transform: scaleY(1);
}

.ha-dropdown-menu .ha-menu-item:hover,
.ha-dropdown-menu .ha-menu-item:focus {
    background: linear-gradient(135deg, #fff8f3 0%, #f8f9fa 100%);
    color: #FF8C42;
    padding-left: 24px;
}

/* Login/Register Buttons */
.ha-dropdown-menu .ha-login-btn,
.ha-dropdown-menu .ha-register-btn {
    font-weight: 600;
    text-align: center;
    margin: 4px 16px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ha-dropdown-menu .ha-login-btn {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.ha-dropdown-menu .ha-login-btn:hover {
    background: linear-gradient(135deg, #E67A3B 0%, #e55a2b 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.ha-dropdown-menu .ha-register-btn {
    border: 2px solid #FF8C42;
    color: #FF8C42;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
    box-shadow: 0 2px 10px rgba(255, 140, 66, 0.1);
}

.ha-dropdown-menu .ha-register-btn:hover {
    background: linear-gradient(135deg, #fff8f3 0%, #ffffff 100%);
    color: #FF8C42;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.2);
}

.ha-divider {
    margin: 8px 16px;
    border-top: 1px solid rgba(108, 117, 125, 0.2);
    background: linear-gradient(90deg, transparent, rgba(108, 117, 125, 0.2), transparent);
    height: 1px;
    border: none;
}

/* Animations */
@keyframes ha-fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Account Dropdown */
@media (max-width: 1198px) {
    .ha-actions,
    .ha-wishlist,
    .ha-cart-wrapper {
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }

    .ha-toggle-content {
        font-size: 0.9em;
    }

    .ha-actions .ha-dropdown-toggle {
        padding: 6px 8px;
        min-width: auto;
        white-space: nowrap;
    }
}
/* #endregion */

/* #region LOGO & LAYOUT */
.ha-logo img.ha-logo-img {
    max-height: 64px;
    width: auto;
    display: block;
}

.ha-left {
    display: flex;
    align-items: center;
}

.ha-search-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Mobile Logo & Layout */
@media (max-width: 991px) {
    .ha-logo img.ha-logo-img {
        max-height: 48px;
    }

    .ha-left {
        margin-top: 0.4rem;
        text-align: center !important;
        justify-content: center !important;
    }

    #logo {
        text-align: left;
    }
}
/* #endregion */

/* #region WISHLIST & CART */
.ha-wishlist-button {
    color: #495057 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    min-width: 100px !important;
    justify-content: center !important;
}

.ha-wishlist-button:hover {
    color: #FF8C42 !important;
    transform: translateY(-1px) !important;
}

.ha-wishlist-button:active {
    transform: translateY(0) !important;
}

.ha-wishlist-button .fa-heart {
    font-size: 1.1em !important;
}

.ha-cart-wrapper {
    display: flex;
    align-items: center;
}

.ha-cart {
    display: flex;
    align-items: center;
}

.ha-cart-button {
    color: #495057 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    min-width: 100px !important;
    justify-content: center !important;
}

.ha-cart-button:hover {
    color: #FF8C42 !important;
    transform: translateY(-1px) !important;
}

.ha-cart-button:active {
    transform: translateY(0) !important;
}

.ha-cart-button .fa-cart-shopping {
    font-size: 1.1em !important;
}

.ha-cart-button .ha-cart-badge {
    background-color: #FF8C42 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 2px 8px !important;
    font-size: 0.75em !important;
    font-weight: 600 !important;
    min-width: 20px !important;
}

/* region Mobile menu */
.ha-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 8px 0;
}

.ha-mobile-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ha-mobile-menu .list-inline-item {
    margin: 0;
    flex: 1;
    text-align: center;
}

.ha-mobile-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.ha-mobile-menu a:hover,
.ha-mobile-menu a:active {
    color: #FF6600;
    background-color: rgba(255, 102, 0, 0.05);
}

.ha-mobile-menu i {
    font-size: 20px;
    margin-bottom: 2px;
}

.ha-mobile-menu span {
    font-size: 11px;
    font-weight: 500;
}

/* Sepet badge stili */
.ha-mobile-cart .ha-cart-badge {
    position: absolute;
    top: 4px;
    right: 50%;
    transform: translateX(12px);
    background-color: #FF6600 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 2px 6px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    min-width: 18px !important;
}

.ha-mobile-cart {
    position: relative;
}

/* Mobil menüde sepet butonu özel stiller */
.ha-mobile-cart .ha-cart-button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px !important;
    text-decoration: none;
    color: #6c757d !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: auto !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.ha-mobile-cart .ha-cart-button:hover {
    color: #FF6600 !important;
    background-color: rgba(255, 102, 0, 0.05) !important;
}

.ha-mobile-cart .ha-cart-button i {
    font-size: 20px !important;
    margin-bottom: 2px;
    margin-right: 0 !important;
}

.ha-mobile-cart .ha-cart-text {
    font-size: 11px !important;
    font-weight: 500 !important;
}

.ha-mobile-cart .ha-cart-badge {
    position: absolute !important;
    top: 2px !important;
    right: 50% !important;
    transform: translateX(14px) !important;
}

/* #endregion */

/* Mobile Wishlist & Cart */
@media (max-width: 1198px) {
    .ha-wishlist-button span {
        font-size: 0.9em;
    }

    .ha-cart-button {
        font-size: inherit;
        display: block !important;
        line-height: 1.1;
    }
}

@media (max-width: 991px) {
    .ha-wishlist {
        display: none !important;
    }

    .ha-cart-wrapper {
        text-align: right;
    }

    .ha-cart-button {
        padding: unset !important;
        padding-top: 0.4rem !important;
        min-width: unset !important;
        font-size: unset !important;
        line-height: unset !important;
        font-weight: 500 !important;
    }
}
/* #endregion */

/* #region MOBILE BOTTOM NAVIGATION */
@media (max-width: 991px) {
    .ha-right {
        display: none;
    }
    
    body {
        padding-bottom: 70px; /* Mobil menü için boşluk */
    }
}
/* #endregion */

/* #region Category Menu */

.ha-menu-container {
    width: 100%;
}

/* Hide mobile-only elements by default; enabled inside mobile media query */
.ha-mobile-bar,
.ha-mobile-panel {
    display: none;
}
.ha-menu-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}
.ha-menu-nav {
    position: relative;
}
.ha-menu-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center; /* ortala: menü öğelerini yatayda merkeze hizala */
}
.ha-menu-item {
    position: relative;
}
.ha-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Modern hover efekti */
.ha-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    z-index: -1;
}

.ha-menu-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.ha-menu-link:hover::before {
    opacity: 1;
}

.ha-menu-item:hover > .ha-menu-link,
.ha-menu-item.ha-active > .ha-menu-link {
    color: #ffffff;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.ha-menu-item.ha-active > .ha-menu-link::before {
    opacity: 1;
}

.ha-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%; /* dropdown'u üst öğe ortasına hizala */
    min-width: 240px;
    display: none;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 16px;
    z-index: 1000;
    transform-origin: center top;
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.96); /* translateX -50% ile ortala */
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.1);
}
.ha-menu-item.ha-active > .ha-menu-dropdown,
.ha-menu-item:hover > .ha-menu-dropdown {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.ha-dropdown-inner { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
}
.ha-dropdown-column { 
    min-width: auto; 
}
.ha-dropdown-list { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}
.ha-dropdown-item { 
    display: block; 
    padding: 10px 14px; 
    color: #2c3e50; 
    text-decoration: none; 
    border-radius: 10px; 
    font-weight: 500; 
    font-size: 0.95rem; 
    line-height: 1.4;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ha-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #FF8C42, #FF6B35);
    transition: height 0.25s ease;
    border-radius: 0 3px 3px 0;
}

.ha-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    color: #FF6B35;
    transform: translateX(6px);
    padding-left: 18px;
}

.ha-dropdown-item:hover::before {
    height: 70%;
}

.ha-view-all { 
    padding-top: 12px; 
    border-top: 2px solid rgba(255, 140, 66, 0.15); 
    margin-top: 12px; 
}
.ha-view-all-link { 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    text-decoration: none; 
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.ha-view-all-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.ha-view-all-link::after {
    content: '→';
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.ha-view-all-link:hover::after {
    transform: translateX(4px);
}

/* Mobile behaviour: turn into full-screen sliding panel from left */
@media (max-width: 991px) {
    /* Hide the desktop horizontal menu on small screens; use mobile panel instead */
    .ha-menu-list {
        display: none;
    }

    /* Mobile toggle bar */
    .ha-mobile-bar {
        display: flex;
        justify-content: flex-start;
        padding: 8px 12px;
    }
    .ha-mobile-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: transparent;
        border: none;
        cursor: pointer;
        font-weight: 600;
        color: #111;
    }
    .ha-burger {
        width: 22px;
        height: 14px;
        display: inline-block;
        position: relative;
    }
    .ha-burger::before, .ha-burger::after, .ha-burger span {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background: #111;
    }
    .ha-burger::before { top: 0; }
    .ha-burger::after { bottom: 0; }
    .ha-burger span { top: 50%; transform: translateY(-50%); }

    /* Mobile sliding panel */
    .ha-mobile-panel {
        display: block; /* ensure panel exists on small screens (global default is none) */
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        background: #fff;
        box-shadow: 4px 0 30px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        z-index: 1100;
        padding: 16px 16px 24px 16px;
        padding-top: 56px; /* leave space for close button/header */
        overflow-y: auto;
    }
    body.ha-mobile-open .ha-mobile-panel {
        display: block;
        transform: translateX(0);
    }
    .ha-mobile-panel-close {
        background: transparent;
        border: none;
        font-size: 20px;
        cursor: pointer;
        margin-bottom: 6px;
        position: absolute;
        right: 12px;
        top: 12px;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* mobile list reset */
    .ha-mobile-list,
    .ha-mobile-sublist {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    /* make each mobile row a flex container so toggle sits at the far right */
    .ha-mobile-item {
        display: block; /* DEĞİŞTİ: flex yerine block yapıldı */
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding: 0; /* DEĞİŞTİ: padding kaldırıldı */
        position: relative;
        font-size: 0.97rem;
    }
    .ha-mobile-link-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 6px;
        gap: 8px;
    }
    .ha-mobile-link {
        text-decoration: none;
        color: #111;
        font-weight: 600;
        flex: 1; /* Linkin kalan alanı alması için */
    }
    .ha-mobile-item-toggle {
        position: static; /* no absolute positioning - sits in flex layout */
        margin-left: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 14px;
        line-height: 1;
        padding: 0;
        flex-shrink: 0; /* DEĞİŞTİ: flex: 0 0 auto yerine flex-shrink: 0 */
    }
    /* sublist hidden by default, shown when .open; make it full-width below the row */
    .ha-mobile-sublist {
        display: none;
        width: 100%; /* YENİ: tam genişlik */
        margin: 0; /* DEĞİŞTİ: margin sıfırlandı */
        padding: 12px 0 8px 16px; /* DEĞİŞTİ: üstten padding artırıldı */
        box-sizing: border-box;
        background-color: transparent; /* DEĞİŞTİ: arka plan kaldırıldı */
        border-top: 1px solid rgba(0,0,0,0.08); /* YENİ: üstte ayırıcı çizgi */
    }
    .ha-mobile-sublist.open {
        display: block;
    }
    .ha-mobile-subitem {
        display: block;
        padding: 10px 12px; /* DEĞİŞTİ: padding artırıldı */
        color: #555;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.92rem; /* YENİ: biraz daha küçük font */
        border-radius: 6px; /* YENİ */
        margin-bottom: 4px; /* YENİ */
        transition: background-color 0.2s ease, padding-left 0.2s ease; /* YENİ */
    }
    .ha-mobile-subitem:hover {
        background-color: rgba(255, 102, 0, 0.05); /* YENİ: hover efekti */
        padding-left: 16px; /* YENİ: hover'da hafif kayma */
        color: #FF6600; /* YENİ */
    }
    /* rotate arrow when sublist host has class */
    .ha-sub-open > .ha-mobile-item-toggle {
        transform: rotate(90deg);
        color: #333;
    }


    .ha-menu-item {
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .ha-menu-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 14px 12px;
        background: transparent;
        color: #333;
    }

    /* remove chevron markers on mobile */
    .ha-menu-link::after { display: none; }

    .ha-menu-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        padding: 18px;
        display: none;
        transform: translateX(-100%);
        opacity: 1; /* opacity controlled by transform for better performance */
        border-radius: 0;
        box-shadow: 4px 0 30px rgba(0,0,0,0.18);
        overflow-y: auto;
        background: #fff;
        z-index: 1100;
    }

    .ha-menu-item.ha-active > .ha-menu-dropdown {
        display: block;
        transform: translateX(0);
    }

    .ha-mobile-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: transparent;
        border: 1px solid rgba(0,0,0,0.06);
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        color: #444;
        margin-bottom: 10px;
    }

    .ha-dropdown-inner { flex-direction: column; gap:12px; }
    .ha-dropdown-column { min-width: auto; }

    /* Dim overlay when a panel is open */
    .ha-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 900;
    }
    .ha-menu-overlay.ha-visible {
        opacity: 1;
        visibility: visible;
    }
}

/* End Category Menu */

/* #endregion */






/* #region Footer */
.ha-payment-section {
    text-align: center; /* İçeriği ortalar */
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #3a3a3a;
}

.ha-payment-section h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0; /* Alt boşluğu artırıldı, üst ve yan boşluklar sıfırlandı */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ha-payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Logolar arası boşluk */
    flex-wrap: wrap; /* Mobilde logoların alt satıra inmesini sağlar */
}

.ha-payment-logos img {
    height: 25px; /* Logoların yüksekliği */
    width: auto;
    filter: grayscale(1) opacity(0.6); /* Logoları daha soluk ve tasarıma uygun yapar */
    transition: all 0.3s ease;
}

.ha-payment-logos img:hover {
    filter: none; /* Üzerine gelince orijinal renklere döner */
    transform: scale(1.1);
}


.ha-footer {
    background-color: #1c1c1c; /* Koyu arka plan */
    color: #b0b0b0; /* Genel metin rengi */
    padding: 60px 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.ha-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ha-footer-top {
    border-bottom: none; 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    margin-bottom: 0;
    border-bottom: 1px solid #3a3a3a;
}

.ha-footer-col h5 {
    color: #ffffff; /* Başlık rengi */
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase; /* Başlıkları büyük harf yapar */
    letter-spacing: 0.5px;
}

.ha-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ha-footer-links li {
    margin-bottom: 12px;
}

.ha-footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.ha-footer-links a:hover {
    color: #ffffff; /* Linklerin üzerine gelince renk değişimi */
    padding-left: 5px; /* Hafif bir kayma efekti */
}

/* Mobil uygulama ikonları için özel stiller */
.ha-app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.ha-app-badges img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.ha-app-badges img:hover {
    opacity: 1;
}


.ha-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Mobil için satıra sığmazsa alt satıra atar */
    gap: 20px;
}

.ha-copyright {
    font-size: 13px;
}

.ha-social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    margin-left: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ha-social-icons a:hover {
    background-color: #007bff; /* Örnek bir hover rengi */
    transform: translateY(-2px); /* İkonun yukarı kalkma efekti */
}

@media (max-width: 768px) {
    .ha-footer-top {
        /* Tablette 2 sütunlu yapı */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ha-footer-top {
        grid-template-columns: 1fr;
    }

    .ha-footer-bottom {
        flex-direction: column; /* Alt bölümdeki elemanları alt alta dizer */
        text-align: center;
    }

    .ha-social-icons {
        margin-top: 10px;
    }
}
/* #endregion */

/* #region Not Found */
.ha-error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh; /* Sayfanın dikeyde ortalanması için minimum yükseklik */
    padding: 40px 20px;
    position: relative;
    overflow: hidden; /* Arka plandaki büyük yazı taşarsa gizler */
    background-color: #f8f9fa; /* Hafif kırık beyaz bir arka plan */
}

.ha-error-container {
    position: relative; /* Arka plan yazısının üzerinde kalması için */
    z-index: 2;
    max-width: 600px;
}

/* Arka plandaki dev "404" yazısı */
.ha-error-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 280px; /* Çok büyük bir font boyutu */
    font-weight: 900; /* En kalın font ağırlığı */
    color: rgba(0, 0, 0, 0.04); /* Çok soluk bir renk */
    z-index: 1;
    user-select: none; /* Yazının seçilememesini sağlar */
}

.ha-error-container h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #343a40;
}

.ha-error-container p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ha-error-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #ff8533; /* Ana Eylem Rengi */
    border-radius: 50px; /* Yuvarlak kenarlı modern buton */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 133, 51, 0.3); /* Turuncu gölge */
}

.ha-error-button:hover {
    background-color: #e66e00; /* Daha koyu turuncu hover rengi */
    transform: translateY(-3px); /* Butona hafif bir kalkma efekti */
    box-shadow: 0 6px 20px rgba(230, 110, 0, 0.4); /* Hover'da daha belirgin turuncu gölge */
}

@media (max-width: 768px) {
    .ha-error-code {
        font-size: 180px;
    }
    .ha-error-container h1 {
        font-size: 36px;
    }
    .ha-error-container p {
        font-size: 16px;
    }
}
/* #endregion */

/* #region Breadcrumb */
.ha-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 20px 0; /* Üst ve altta boşluk bırakır */
    padding: 0;
    font-size: 13px; /* Daha küçük ve zarif bir font boyutu */
}

.ha-breadcrumb li {
    display: flex;
    align-items: center;
}

/* Breadcrumb linklerinin stili */
.ha-breadcrumb a {
    color: #555; /* Nötr bir link rengi */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px; /* İkon ve yazı arası boşluk */
    transition: color 0.2s ease;
}

/* Linklerin üzerine gelince marka renginiz (turuncu) */
.ha-breadcrumb a:hover {
    color: #FF6600; /* Turuncu hover rengi */
}

/* Anasayfa ikonu için stil */
.ha-breadcrumb-home-icon {
    flex-shrink: 0;
}

/* Aktif/mevcut sayfanın stili (Marka renginizde) */
.ha-breadcrumb .ha-breadcrumb-current {
    color: #FF6600; /* Turuncu aktif sayfa rengi */
    font-weight: 500;
}

/* Linkler arasına ayırıcı (chevron) ekliyoruz */
.ha-breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 10px;
    color: #ccc; /* Çok soluk ve dikkat çekmeyen bir ayırıcı rengi */
    font-size: 16px;
}
/* #endregion */

/* #region Login */

/* Sayfa Arka Planı ve Ortalama */
.ha-login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    /* background-color: #f0f2f5; */ /* DEĞİŞTİ: İsteğiniz üzerine arka plan rengi kaldırıldı. */
    min-height: 80vh;
}

/* Giriş Formunun Ana Kartı */
.ha-login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

/* Kartın Başlık Bölümü */
.ha-login-header {
    text-align: center;
    margin-bottom: 30px;
}
.ha-login-icon {
    font-size: 48px;
    color: #FF6600; /* DEĞİŞTİ: Renk turuncu oldu. */
    margin-bottom: 15px;
}
.ha-login-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}
.ha-login-header p {
    color: #6c757d;
    font-size: 15px;
}

/* Form Alanları */
.ha-form-group {
    position: relative;
    margin-bottom: 20px;
}
.ha-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}
.ha-form-input {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 45px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}
.ha-form-input:focus {
    outline: none;
    border-color: #FF6600; /* DEĞİŞTİ: Renk turuncu oldu. */
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15); /* DEĞİŞTİ: Renk turuncu oldu. */
}

/* İKON HİZALAMA DÜZELTMESİ */
.ha-input-icon {
    position: absolute;
    left: 15px;
    bottom: 0; /* DEĞİŞTİ: 'top' yerine 'bottom' kullanıldı. */
    height: 48px; /* DEĞİŞTİ: Input yüksekliği ile aynı yapıldı. */
    display: flex; /* YENİ: Dikey hizalama için eklendi. */
    align-items: center; /* YENİ: Dikey hizalama için eklendi. */
    color: #adb5bd;
    font-size: 18px;
    transition: color 0.2s ease-in-out;
}
.ha-form-input:focus + .ha-input-icon {
    color: #FF6600; /* DEĞİŞTİ: Renk turuncu oldu. */
}

/* Form Seçenekleri (Beni Hatırla / Şifremi Unuttum) */
.ha-form-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}
.ha-forgot-password {
    color: #FF6600; /* DEĞİŞTİ: Renk turuncu oldu. */
    text-decoration: none;
    font-weight: 500;
}
.ha-forgot-password:hover {
    text-decoration: underline;
}

/* Giriş Butonu */
.ha-button-primary {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #FF6600; /* DEĞİŞTİ: Renk turuncu oldu. */
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.ha-button-primary:hover {
    background: #E65A00; /* DEĞİŞTİ: Turuncunun koyu tonu. */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3); /* DEĞİŞTİ: Renk turuncu oldu. */
}

/* Alttaki Kayıt Ol Linki */
.ha-signup-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 15px;
    color: #6c757d;
}
.ha-signup-link a {
    color: #FF6600; /* DEĞİŞTİ: Renk turuncu oldu. */
    font-weight: 600;
    text-decoration: none;
}
.ha-signup-link a:hover {
    text-decoration: underline;
}
/* #endregion */

/* #region Register */

/* Genel Sayfa ve Kart Yapısı */
.ha-register-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.ha-register-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px; /* Kayıt formu daha geniş olabilir */
}

.ha-register-header {
    text-align: center;
    margin-bottom: 30px;
}
.ha-register-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}
.ha-register-header p {
    color: #6c757d;
    font-size: 15px;
}
.ha-register-header p a {
    color: #FF6600;
    font-weight: 500;
}

/* Form Gruplama (Fieldset & Legend) */
.ha-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.ha-legend {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

/* İki Sütunlu Grid (Ad-Soyad gibi) */
.ha-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Switch (Aç/Kapa Butonları) */
.ha-form-switch {
    display: flex;
    align-items: center;
    padding-left: 0; /* Bootstrap'in varsayılan padding'ini sıfırla */
}
.ha-form-switch .form-check-input {
    margin-left: 0;
    margin-right: 10px;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-color: #ccc;
}
.ha-form-switch .form-check-input:checked {
    background-color: #FF6600; /* Turuncu aktif renk */
    border-color: #FF6600;
}
.ha-form-switch .form-check-label {
    cursor: pointer;
}

/* Hata Mesajları */
.ha-invalid-feedback {
    display: block; /* Hata mesajını göstermek için */
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

/* Formun Son Bölümü (Sözleşme ve Buton) */
.ha-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Elemanları sağa yasla */
    gap: 20px;
}

.ha-form-agree {
    align-self: stretch; /* Sözleşme metnini tam genişlik yap */
    text-align: right;
}

/* Giriş Yap Linki */
.ha-login-link {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: #6c757d;
}
.ha-login-link a {
    color: #FF6600;
    font-weight: 600;
    text-decoration: none;
}
.ha-login-link a:hover {
    text-decoration: underline;
}

.ha-input-icon-r {
    position: absolute;
    left: 15px;
    bottom: 0.3rem; /* DEĞİŞTİ: 'top' yerine 'bottom' kullanıldı. */
    height: 48px; /* DEĞİŞTİ: Input yüksekliği ile aynı yapıldı. */
    display: flex; /* YENİ: Dikey hizalama için eklendi. */
    align-items: center; /* YENİ: Dikey hizalama için eklendi. */
    color: #adb5bd;
    font-size: 18px;
    transition: color 0.2s ease-in-out;
}

/* Mobil için Grid'i tek sütuna düşür */
@media (max-width: 576px) {
    .ha-form-grid {
        grid-template-columns: 1fr;
    }
    .ha-register-card {
        padding: 25px;
    }
}
/* #endregion */

/* #region Success */
.ha-success-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    min-height: 70vh; /* Sayfanın dikeyde ortalanması için */
}

/* Başarı mesajının ana kartı */
.ha-success-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
    max-width: 550px;
}

/* Büyük başarı ikonu */
.ha-success-icon-wrapper {
    margin-bottom: 25px;
}

.ha-success-icon-wrapper .fa-circle-check {
    font-size: 72px;
    color: #28a745; /* Başarı rengi: Yeşil */
}

/* Başlık */
.ha-success-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Mesaj metni */
.ha-success-message {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Butonun olduğu alan */
.ha-success-actions {
    margin-top: 20px;
}

/* Bu buton stili daha önce tanımlandıysa tekrar eklemenize gerek yok */
.ha-button-primary {
    display: inline-block;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    background: #FF6600; /* Temanızın turuncu rengi */
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.ha-button-primary:hover {
    background: #E65A00; /* Turuncunun koyu tonu */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}
/* #endregion */

/* #region Forgotten */
.ha-forgot-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    min-height: 70vh;
}

/* Ana Kart */
.ha-forgot-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

/* Kart Başlığı */
.ha-forgot-header {
    margin-bottom: 30px;
}

.ha-forgot-icon {
    font-size: 48px;
    color: #FF6600; /* Turuncu ana renk */
    margin-bottom: 15px;
}

.ha-forgot-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.ha-forgot-header p {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

/* Geri Dön Linki */
.ha-back-link {
    margin-top: 25px;
}

.ha-back-link a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* İkon ve yazı arası boşluk */
}

.ha-back-link a:hover {
    color: #FF6600;
}
/* #endregion */

/* #region Alerts */
.ha-alert {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    border-left: 5px solid; /* Renk şeridi için */
    position: relative;
}

/* İkon stili */
.ha-alert-icon {
    font-size: 22px;
    margin-right: 15px;
}

/* Mesaj metni */
.ha-alert-message {
    flex-grow: 1; /* Mesajın kalan alanı doldurmasını sağlar */
    color: #495057;
    font-weight: 500;
}

/* Kapatma butonu */
.ha-alert-close {
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.7;
    transition: all 0.2s ease;
}
.ha-alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Başarı (Success) durumu */
.ha-alert-success {
    border-left-color: #28a745; /* Yeşil şerit */
}
.ha-alert-success .ha-alert-icon {
    color: #28a745;
}

/* Hata/Uyarı (Danger) durumu */
.ha-alert-danger {
    border-left-color: #dc3545; /* Kırmızı şerit */
}
.ha-alert-danger .ha-alert-icon {
    color: #dc3545;
}
/* #endregion */

/* #region Reset Password */

.ha-auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    min-height: 70vh;
}

/* Temel Kart stili */
.ha-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* Şifre sıfırlama kartına özel genişlik */
.ha-reset-card {
    max-width: 450px;
}

/* Kart Başlığı */
.ha-header {
    text-align: center;
    margin-bottom: 30px;
}
.ha-header__icon {
    font-size: 48px;
    color: #FF6600;
    margin-bottom: 15px;
}
.ha-header__title {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 10px 0;
}
.ha-header__text {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Form Elemanları */
.ha-form-group {
    position: relative;
    margin-bottom: 20px;
}
.ha-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}
.ha-form-input {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 45px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}
.ha-form-input:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
}
.ha-input-icon {
    position: absolute;
    left: 15px;
    bottom: 0;
    height: 48px;
    display: flex;
    align-items: center;
    color: #adb5bd;
    font-size: 18px;
    pointer-events: none;
}
.ha-form-input:focus + .ha-input-icon {
    color: #FF6600;
}
.ha-invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}/*
.ha-input-icon.fa-lock {
    position: relative;
    top: -1px;
}*/

/* Butonlar */
.ha-form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ha-button {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    display: inline-block;
}
.ha-button--primary {
    background: #FF6600;
    color: white;
    border-color: #FF6600;
}
.ha-button--primary:hover {
    background: #E65A00;
    border-color: #E65A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}
.ha-button--secondary {
    background: #f8f9fa;
    color: #343a40;
    border-color: #ced4da;
}
.ha-button--secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* #endregion */

/* #region Account */

.ha-account-page {
    padding: 30px 0;
}

/* Sayfa içeriğini ortalamak için (eğer genel bir .container sınıfınız yoksa) */
.ha-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Sayfa başlığı ve Çıkış Yap butonu */
.ha-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.ha-account-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}
.ha-logout-button {
    background-color: #fbebeb;
    color: #dc3545;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #f3d4d7;
    transition: all 0.2s ease;
}
.ha-logout-button:hover {
    background-color: #dc3545;
    color: #fff;
}

/* İkonlu Hızlı Erişim Menüsü */
.ha-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Esnek kolon yapısı */
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}
.ha-quick-actions__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 13px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.ha-quick-actions__item:hover {
    background-color: #f8f9fa;
}
.ha-quick-actions__icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff7f2; /* Turuncu arka plan */
    border-radius: 50%;
    font-size: 22px;
    color: #FF6600; /* Turuncu ikon rengi */
}

/* Hesap Ayarları Menüsü */
.ha-account-menu {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.ha-account-menu__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.ha-account-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ha-account-menu__list li:not(:last-child) {
    border-bottom: 1px solid #f1f3f5;
}
.ha-account-menu__list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10px;
    text-decoration: none;
    color: #343a40;
    transition: background-color 0.2s ease;
    border-radius: 6px;
}
.ha-account-menu__list a:hover {
    background-color: #f8f9fa;
}
.ha-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}
.ha-menu-link i {
    color: #888;
    font-size: 16px;
    width: 20px; /* İkonların hizalı durması için */
    text-align: center;
}
.ha-account-menu__list .fa-chevron-right {
    color: #adb5bd;
    font-size: 12px;
}
/* #endregion */

/* #region Orders */
.ha-order-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Kartlar arası boşluk */
}

/* Tek bir sipariş kartı */
.ha-order-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden; /* Köşelerin düzgün görünmesi için */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ha-order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Kart Başlığı (Sipariş No ve Tarih) */
.ha-order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}
.ha-order-card__id strong {
    color: #343a40;
}
.ha-order-card__date {
    color: #6c757d;
}

/* Kart Gövdesi (Detaylar) */
.ha-order-card__body {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Mobil için esnek yapı */
    align-items: center;
    gap: 20px;
}

.ha-order-card__detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ha-order-card__detail small {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
}
.ha-order-card__detail strong {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

/* Sipariş Durumu Etiketi */
.ha-order-status {
    background-color: #fff7f2;
    color: #FF6600;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
}

/* Sipariş Butonları Alanı */
.ha-order-card__actions {
    justify-self: end; /* Butonu grid içinde sağa yaslar */
    text-align: right;
}
.ha-order-card__actions .ha-button {
    padding: 10px 20px;
    font-size: 14px;
}

/* Sonuç Yok Mesajı */
.ha-no-results {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Sayfalama (Pagination) */
.ha-pagination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.ha-pagination .pagination {
    margin: 0;
}
.ha-pagination .page-item .page-link {
    color: #FF6600;
}
.ha-pagination .page-item.active .page-link {
    background-color: #FF6600;
    border-color: #FF6600;
    color: #fff;
}
.ha-pagination-results {
    color: #6c757d;
    font-size: 14px;
}
/* #endregion */

/* #region Order Details */
.ha-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.ha-page-header h1 {
    font-size: 28px;
    margin: 0;
}
.ha-page-header p {
    color: #6c757d;
    margin: 5px 0 0 0;
}

/* Sipariş Özet Kartı */
.ha-order-summary-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px; /* İnce ayırıcı çizgiler için */
    background-color: #e9ecef;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}
.ha-summary-item {
    background-color: #fff;
    padding: 20px;
}
.ha-summary-item label {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}
.ha-summary-item span {
    font-size: 15px;
    font-weight: 600;
}
.ha-order-status {
    font-weight: 700 !important;
    color: #FF6600;
}

/* Adres Kartları */
.ha-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.ha-address-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ha-address-card address {
    font-style: normal;
    line-height: 1.7;
    color: #495057;
}

/* Ürün Listesi Tablosu */
.ha-product-list-card h2 {
    font-size: 20px;
    padding: 20px 25px;
    margin: 0;
}
.ha-product-table {
    width: 100%;
    border-collapse: collapse;
}
.ha-product-table th, .ha-product-table td {
    padding: 15px 25px;
    text-align: left;
    border-bottom: 1px solid #f1f3f5;
}
.ha-product-table thead th {
    background-color: #f8f9fa;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
}
.ha-product-table tbody tr:last-child td {
    border-bottom: none;
}
.ha-product-info a {
    font-weight: 600;
    color: #212529;
    text-decoration: none;
}
.ha-product-info a:hover { color: #FF6600; }
.ha-product-info small {
    display: block;
    font-size: 13px;
    color: #6c757d;
}
.ha-product-table tfoot td {
    background-color: #f8f9fa;
}
.ha-product-table tfoot tr:last-child td {
    font-size: 18px;
}
.ha-button--small {
    padding: 6px 12px;
    font-size: 13px;
}
.mb-2 { margin-bottom: 0.5rem; }

/* Sipariş Geçmişi Zaman Çizelgesi */
.ha-order-history-card h2 {
    font-size: 20px;
    margin-bottom: 25px;
}
.ha-history-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #e9ecef;
}
.ha-history-item {
    position: relative;
    margin-bottom: 25px;
}
.ha-history-item:last-child {
    margin-bottom: 0;
}
.ha-history-icon {
    position: absolute;
    left: -43px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #FF6600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    font-size: 12px;
}
.ha-history-status {
    font-weight: 600;
    font-size: 16px;
}
.ha-history-date {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-top: 2px;
}
.ha-history-comment {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #495057;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
}
/* #endregion */

/* #region Edit Account */
.ha-card--form {
    max-width: 800px;
}

/* Form içindeki başlıklar */
.ha-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.ha-legend {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

/* İki sütunlu alanlar (Ad-Soyad, E-posta-Telefon vb.) */
.ha-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Form butonlarının olduğu alan */
.ha-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end; /* Butonu sağa yaslar */
}

/* Input'lardaki ikonları bu sayfada kullanmayacağımız için padding'i düzeltiyoruz */
.ha-card--form{
    padding: 0 15px; /* Sol padding'i sıfırla */
}

.ha-form-input-edit {
    width: 100%;
    height: 48px;
    padding: 0 3px 0 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}
.ha-form-input-edit:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
}

/* Mobil için Grid'i tek sütuna düşür */
@media (max-width: 768px) {
    .ha-form-grid {
        grid-template-columns: 1fr;
        gap: 0; /* Mobilde dikey form grupları arası boşluk yeterli */
    }
}
/* #endregion */

/* #region Change Password */
.ha-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.ha-legend {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

/* Form butonlarının olduğu alan */
.ha-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end; /* Butonu sağa yaslar */
}


/* #endregion */


/* #region Edit Address */
.ha-card--form {
    max-width: 800px;
    margin: 0 auto;
}

/* Form içindeki başlıklar */
.ha-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.ha-legend {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

.ha-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.ha-form-select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}
.ha-form-select:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
}

/* Radio Butonlar */
.ha-form-radios {
    display: flex;
    gap: 20px;
    padding-top: 10px;
}
.ha-form-radios label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
}
.ha-form-radios input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ced4da;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.ha-form-radios input[type="radio"]:checked {
    border: 6px solid #FF6600;
}

.ha-af {
    padding-left: 1rem !important;
}


/* Form butonlarının olduğu alan */
.ha-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

/* Mobil için Grid'i tek sütuna düşür */
@media (max-width: 768px) {
    .ha-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* #endregion */

/* #region Addresses */
/* --- ADRES DEFTERİ SAYFASI STİLLERİ --- */

/* Adres kartlarının grid yapısı */
.ha-address-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Tek bir adres kartı */
.ha-address-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-in-out;
}
.ha-address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #FF6600;
}

/* Adres metni */
.ha-address-card address {
    font-style: normal;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
    flex-grow: 1; /* Butonları en alta iter */
}

/* "Varsayılan" etiketi */
.ha-address-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #e9f7ef;
    color: #28a745;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Düzenle/Sil butonları */
.ha-address-card__actions {
    display: flex;
    gap: 10px;
    border-top: 1px solid #f1f3f5;
    padding-top: 20px;
    margin-top: auto; /* Kendini en alta iter */
}
.ha-address-card__actions .ha-button {
    flex-grow: 1;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Sil butonu için özel kırmızı stil */
.ha-button--danger {
    background: #fbebeb;
    color: #dc3545;
    border-color: #f3d4d7;
}
.ha-button--danger:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Sayfalama ve sonuçlar için stiller */
.ha-pagination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.ha-pagination .pagination { margin: 0; }
.ha-pagination .page-item .page-link { color: #FF6600; }
.ha-pagination .page-item.active .page-link {
    background-color: #FF6600;
    border-color: #FF6600;
    color: #fff;
}
.ha-pagination-results { color: #6c757d; font-size: 14px; }
/* #endregion */


/* #region Newsletter */
.ha-card--newsletter {
    margin: 0 auto;
}

.ha-newsletter-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.ha-newsletter-label {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
    cursor: pointer;
}

.ha-newsletter-text p {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
}

/* Modern Aç/Kapa Butonu (Switch) Stilleri */
.ha-form-switch .form-check-input {
    width: 50px;
    height: 26px;
    border-radius: 25px;
    background-color: #e9ecef;
    border-color: #e9ecef;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23868e96'/%3e%3c/svg%3e");
    transition: all 0.2s ease-in-out;
}

.ha-form-switch .form-check-input:checked {
    background-color: #FF6600;
    border-color: #FF6600;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.ha-form-switch .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
    border-color: #FF6600;
}

/* Butonun olduğu alan */
.ha-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end; /* Butonu sağa yaslar */
}
/* #endregion */

/* #region whislist */
.ha-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ha-product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.ha-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.ha-product-card__image-link {
    display: block;
    background: #f8f9fa;
}
.ha-product-card__image {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Görselin orantısını korur */
    display: block;
}

.ha-product-card__content {
    padding: 20px;
    flex-grow: 1; /* Butonları en alta iter */
}

.ha-product-card__stock {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}
.ha-product-card__stock.in-stock {
    background: #e9f7ef;
    color: #28a745;
}
.ha-product-card__stock.out-of-stock {
    background: #fbebeb;
    color: #dc3545;
}

.ha-product-card__name {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}
.ha-product-card__name:hover {
    color: #FF6600;
}

.ha-product-card__model {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 15px;
}

.ha-product-card__price {
    font-size: 20px;
    font-weight: 700;
    color: #FF6600;
}
.ha-product-card__price--special {
    color: #FF6600;
}
.ha-product-card__price--old {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 15px;
    margin-left: 8px;
}

.ha-product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #f8f9fa;
    padding: 5px;
}
.ha-product-card__actions .ha-button {
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.ha-button--full-width {
    width: 100%;
}
/* #endregion */


/* #region Product Thumb */

.ha-product-thumb {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ha-product-thumb:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border-color: #d1d5db;
}

/* Ürün görseli */
.ha-product-thumb__image {
    position: relative;
    overflow: hidden;
    background: #f9fafb;
    padding-top: 100%; /* 1:1 aspect ratio */
}

.ha-product-thumb__image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ha-product-thumb__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ha-product-thumb:hover .ha-product-thumb__img {
    transform: scale(1.03);
}

/* İçerik alanı */
.ha-product-thumb__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ha-product-thumb__description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Ürün başlığı */
.ha-product-thumb__title {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.ha-product-thumb__title-link {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ha-product-thumb__title-link:hover {
    color: #2563eb;
}

/* Ürün açıklaması */
.ha-product-thumb__text {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

/* Fiyat alanı */
.ha-product-thumb__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.ha-product-thumb__price-new {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
}

.ha-product-thumb__price-old {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 400;
}

.ha-product-thumb__price-tax {
    color: #6b7280;
    font-size: 11px;
    margin-left: auto;
    font-weight: 400;
}

/* Yıldız derecelendirme */
.ha-product-thumb__rating {
    display: flex;
    gap: 1px;
    margin-top: 6px;
}

.ha-product-thumb__star {
    color: #fbbf24;
    font-size: 12px;
}

.ha-product-thumb__star--empty {
    color: #d1d5db;
}

.ha-product-thumb__star--filled i.fa-solid {
    color: #fbbf24;
}

/* Form ve butonlar */
.ha-product-thumb__form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.ha-product-thumb__actions {
    display: flex;
    gap: 6px;
}

.ha-product-thumb__btn {
    flex: 1;
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #374151;
}

.ha-product-thumb__btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Sepete ekle butonu */
.ha-product-thumb__btn--cart {
    background: #FF6B35;
    color: #ffffff;
    border-color: #FF8C42;
    font-weight: 500;
}

.ha-product-thumb__btn--cart:hover {
    background: #FF8C42;
    border-color: #FF6B35;
}

/* Favori butonu */
.ha-product-thumb__btn--wishlist {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.ha-product-thumb__btn--wishlist:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #ef4444;
}

/* Mobil uyumluluk */
@media (max-width: 576px) {
    .ha-product-thumb__content {
        padding: 14px;
    }
    
    .ha-product-thumb__title {
        font-size: 13px;
    }
    
    .ha-product-thumb__text {
        font-size: 11px;
    }
    
    .ha-product-thumb__price-new {
        font-size: 16px;
    }
    
    .ha-product-thumb__btn {
        height: 34px;
        font-size: 13px;
    }
}

/* #endregion */

/* #region Product Page */

/* Ana sayfa container */
.ha-product-page {
    padding: 0;
    background: #ffffff;
}

/* Ana ürün bölümü */
.ha-product-main {
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 15px;
    margin-bottom: 0;
    border: none;
}

/* Galeri bölümü */
.ha-product-gallery-col {
    position: relative;
    align-self: flex-start;
}

.ha-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ha-product-gallery__main-link {
    display: block;
    border-radius: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    transition: none;
}

.ha-product-gallery__main-link:hover {
    border-color: transparent;
    box-shadow: none;
}

.ha-product-gallery__main-img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.ha-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.ha-product-gallery__thumb-link {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: transparent;
    transition: all 0.2s ease;
}

.ha-product-gallery__thumb-link:hover {
    border-color: #d1d5db;
    box-shadow: none;
}

.ha-product-gallery__thumb-img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

/* Ürün detay bölümü */
.ha-product-details-col {
    display: flex;
    flex-direction: column;
}

.ha-product-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Meta bilgiler */
.ha-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0;
    padding: 8px 0;
    border-top: none;
}

.ha-product-meta__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.ha-product-meta__label {
    color: #6b7280;
    font-weight: 400;
}

.ha-product-meta__value {
    color: #111827;
    font-weight: 400;
}

.ha-product-meta__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.ha-product-meta__link:hover {
    color: #1d4ed8;
}

.ha-product-stock {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    color: #059669;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
}

/* Rating - Yıldız değerlendirme */
.ha-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.ha-product-rating__stars {
    display: flex;
    gap: 2px;
}

.ha-product-rating__star {
    font-size: 14px;
    color: #fbbf24;
}

.ha-product-rating__star--empty {
    color: #d1d5db;
}

.ha-product-rating__star--filled i.fa-solid {
    color: #fbbf24;
}

.ha-product-rating__links {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.ha-product-rating__link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.ha-product-rating__link:hover {
    color: #111827;
}

.ha-product-rating__separator {
    color: #d1d5db;
}

/* Fiyat bölümü */
.ha-product-price {
    background: transparent;
    padding: 12px 0;
    border-radius: 0;
    border: none;
    margin: 0;
}

.ha-product-price__current,
.ha-product-price__special {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.ha-product-price__original {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 6px;
    font-weight: 400;
}

.ha-product-price__tax {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    font-weight: 400;
}

.ha-product-price__points {
    font-size: 12px;
    color: #059669;
    font-weight: 400;
    margin-top: 6px;
}

/* İndirim tablosu */
.ha-product-discounts {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.ha-product-discounts__item {
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 4px;
    font-size: 12px;
    color: #111827;
    margin-bottom: 6px;
    border: 1px solid #e5e7eb;
    font-weight: 400;
}

/* Hızlı aksiyon butonları */
.ha-product-actions-form {
    margin: 10px 0 8px 0;
}

.ha-product-quick-actions {
    display: flex;
    gap: 8px;
}

.ha-product-quick-btn {
    flex: 1;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #374151 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    padding: 10px 16px !important;
}

.ha-product-quick-btn:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
}

.ha-product-quick-btn--wishlist:hover {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.ha-product-quick-btn--share:hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

.ha-product-quick-btn--compare:hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

/* Paylaşma Paneli */
.ha-share-panel {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ha-share-panel--open {
    max-height: 100px;
    opacity: 1;
    transform: translateX(0);
}

.ha-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.ha-share-whatsapp {
    color: #25D366;
}

.ha-share-whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.ha-share-facebook {
    color: #1877F2;
}

.ha-share-facebook:hover {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.ha-share-twitter {
    color: #1DA1F2;
}

.ha-share-twitter:hover {
    background: #1DA1F2;
    color: #ffffff;
    border-color: #1DA1F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.ha-share-telegram {
    color: #0088cc;
}

.ha-share-telegram:hover {
    background: #0088cc;
    color: #ffffff;
    border-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.ha-share-linkedin {
    color: #0A66C2;
}

.ha-share-linkedin:hover {
    background: #0A66C2;
    color: #ffffff;
    border-color: #0A66C2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.ha-share-copy {
    color: #6b7280;
}

.ha-share-copy:hover {
    background: #374151;
    color: #ffffff;
    border-color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3);
}

/* Form ve seçenekler */
.ha-product-form-wrapper {
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    margin-top: 10px;
}

.ha-product-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ha-product-options {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.ha-product-options__title {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.ha-product-options__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Abonelik */
.ha-product-subscription {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.ha-product-subscription__title {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.ha-product-subscription__select {
    border-radius: 6px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
    background: #ffffff;
    font-size: 14px;
}

.ha-product-subscription__select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Sepete ekle bölümü */
.ha-product-cart-wrapper {
    margin-top: 0;
}

.ha-quantity-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}

.ha-product-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ha-qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.ha-qty-btn:hover {
    background: #f9fafb;
    color: #111827;
}

.ha-qty-btn:active {
    background: #f3f4f6;
    transform: scale(0.95);
}

.ha-qty-minus {
    border-right: 1px solid #e5e7eb;
}

.ha-qty-plus {
    border-left: 1px solid #e5e7eb;
}

.ha-product-quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #111827;
    background: #ffffff;
}

.ha-product-quantity-input:focus {
    outline: none;
}

/* Mobil Sepete Ekle Butonu (Desktop'ta gizli) */
.ha-mobile-add-cart-wrapper {
    display: none;
}

.ha-product-minimum-alert {
    background: #fef3c7 !important;
    border: 1px solid #fbbf24 !important;
    color: #92400e !important;
    border-radius: 6px !important;
    margin-top: 14px !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
}

/* Sekmeler */
.ha-product-tabs {
    border-bottom: 1px solid #e5e7eb;
    margin-top: 40px;
    margin-bottom: 0;
    background: #ffffff;
}

.ha-product-tab {
    font-weight: 400;
    color: #6b7280;
    padding: 14px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.ha-product-tab:hover {
    color: #111827;
    border-bottom-color: #d1d5db;
}

.ha-product-tab.active {
    color: #111827;
    border-bottom-color: #2563eb;
    background: transparent;
    font-weight: 500;
}

.ha-product-tab-content {
    padding: 30px 0;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .ha-product-main {
        background: #ffffff;
        border-radius: 12px;
        margin-bottom: 15px;
        padding: 16px;
    }
    
    .ha-product-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
    }
    
    .ha-product-meta {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
        margin-bottom: 12px;
    }

    .ha-product-meta__item {
        font-size: 14px;
    }
    
    .ha-product-price {
        padding: 16px 0;
        border-radius: 8px;
    }
    
    .ha-product-price__current,
    .ha-product-price__special {
        font-size: 32px;
        font-weight: 800;
        background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .ha-product-price__original {
        font-size: 16px;
    }
    
    .ha-product-gallery-col {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        padding: 0 16px;
    }

    /* Mobil Adet Seçici - Şık Tasarım */
    .ha-quantity-label {
        font-size: 15px;
        font-weight: 600;
        color: #111827;
        margin-bottom: 12px;
    }

    .ha-product-quantity-selector {
        width: 100%;
        max-width: none;
        border-radius: 12px;
        border: 2px solid #e5e7eb;
        background: #f9fafb;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .ha-qty-btn {
        flex: 0 0 55px;
        height: 52px;
        font-size: 18px;
        background: #ffffff;
        color: #FF8C42;
        font-weight: 700;
    }

    .ha-qty-btn:active {
        background: #FFF5ED;
        transform: scale(0.95);
    }

    .ha-product-quantity-input {
        flex: 1;
        height: 52px;
        font-size: 20px;
        font-weight: 700;
        color: #111827;
        background: #ffffff;
    }

    /* Mobil Sepete Ekle Butonu - Şık Tasarım */
    .ha-mobile-add-cart-wrapper {
        display: block;
        margin-top: 20px;
        padding-bottom: 90px; /* Bottom navigation için boşluk */
    }

    .ha-mobile-add-cart-btn {
        width: 100%;
        padding: 16px 24px;
        background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(255, 140, 66, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .ha-mobile-add-cart-btn:active {
        transform: scale(0.97);
        box-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
    }

    .ha-mobile-add-cart-btn i {
        font-size: 19px;
    }
    
    .ha-product-tab {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .ha-product-tab-content {
        padding: 20px 16px;
    }
    
    .ha-product-options,
    .ha-product-subscription {
        padding: 16px;
    }

    /* Paylaşma paneli mobil */
    .ha-share-panel {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ha-share-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* #endregion */

/* #region Sticky Bottom Bar */

.ha-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    z-index: 999;
    border-top: 1px solid #e5e7eb;
}

/* Sticky bar aktifken body'ye padding ekle (sadece desktop) */
@media (min-width: 992px) {
    body.has-sticky-bar {
        padding-bottom: 100px;
    }
}

.ha-sticky-bar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ha-sticky-bar__left {
    flex-shrink: 0;
}

.ha-sticky-bar__price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ha-sticky-bar__price-current,
.ha-sticky-bar__price-special {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.ha-sticky-bar__price-original {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.ha-sticky-bar__center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ha-sticky-bar__shipping {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #059669;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    background: #f0fdf4;
    border-radius: 8px;
}

.ha-sticky-bar__shipping i {
    font-size: 18px;
}

.ha-sticky-bar__right {
    flex-shrink: 0;
}

.ha-sticky-bar__add-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.ha-sticky-bar__add-cart:hover {
    background: linear-gradient(135deg, #E67A3B 0%, #e55a2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.ha-sticky-bar__add-cart:active {
    transform: translateY(0);
}

.ha-sticky-bar__add-cart i {
    font-size: 18px;
}

/* Mobil Sticky Bar */
@media (max-width: 991px) {
    .ha-sticky-bar {
        display: none; /* Mobilde sticky bar'ı gizle - zaten bottom nav var */
    }
}

@media (max-width: 576px) {
    .ha-sticky-bar__shipping {
        font-size: 10px;
        padding: 5px 10px;
    }

    .ha-sticky-bar__shipping i {
        font-size: 14px;
    }
}
/* #endregion */