:root {
    --primary-green: #028e65;
    --soft-green: rgba(2, 142, 101, 0.08);
    --border-color: rgba(0, 0, 0, 0.08);
    --bg-light: #f8faf9;
    --text-dark: #1a202c;
    --text-muted: #718096;
}

/* New Product Badge */
.card-badge-stack {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* New Product Badge - Original Green Style restored */
.badge-new-product {
    background: #028E65;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.badge-new-product i {
    font-size: 0.7rem;
    color: #fff;
}

/* =================================================================
   ALTERNATİF KIRMIZI/TURUNCU GRADYAN ROZET (Gerektiğinde yorumdan çıkarın)
   =================================================================
.badge-new-product-alt {
    background: linear-gradient(135deg, #ff3b30 0%, #ff9500 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px 14px 14px 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(255, 59, 48, 0.35);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border-left: 3px solid #ffffff;
}
   ================================================================= */

/* Ürün Fiyatları - Rozet İle Aynı Yeşil Renk (#028E65) & Daha Büyük Font */
.product-price,
.shop-product-card .h5,
.current-price {
    color: #028E65 !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
}

.product-price small,
.shop-product-card .h5 small,
.current-price small {
    color: #028E65 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

/* Global Header & Navigation Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    color: #4a5568 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 12px !important;
    border-radius: 50px;
    /* Oval shape */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 2px;
    white-space: nowrap;
}

@media (min-width: 1400px) {
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 8px 16px !important;
    }
}

/* Remove default Bootstrap underline or shadow if any */
.navbar-nav .nav-link:after {
    display: none !important;
}

/* Hover Effect: Soft Green Background */
.navbar-nav .nav-link:hover {
    background-color: rgba(2, 142, 101, 0.05);
    color: #028e65 !important;
}

/* Active State: Premium Green Pill Background */
.navbar-nav .nav-link.active {
    background-color: #028e65 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 142, 101, 0.2);
}

.navbar-nav .nav-link.active i {
    color: #ffffff !important;
    opacity: 1 !important;
}

.text-primary-custom {
    color: #028e65 !important;
}

.text-primary-green {
    color: var(--primary-green) !important;
}

.btn-primary-custom {
    background-color: #028e65 !important;
    border-color: #028e65 !important;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #026b4d !important;
    border-color: #026b4d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 142, 101, 0.2);
}

/* Dropdown Customization (No more blue) */
.dropdown-menu {
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
    background-color: var(--soft-green) !important;
    color: var(--primary-green) !important;
}

.dropdown-item.text-danger:hover {
    background-color: #fff5f5 !important;
    color: #c53030 !important;
}

.dropdown-item i {
    color: var(--text-muted);
}

.dropdown-item.text-danger:hover i {
    color: #c53030 !important;
}

.dropdown-item:hover i {
    color: var(--primary-green);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 12px 20px !important;
    }

    .navbar-nav .nav-link.active {
        box-shadow: none;
    }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    body {
        padding-bottom: calc(58px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: #fff;
        border-top: 1px solid #eef0f2;
        box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.07);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav-item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 2px;
        color: #8a94a6;
        text-decoration: none;
        font-size: 0.66rem;
        font-weight: 600;
        text-align: center;
        line-height: 1.1;
        transition: color 0.15s ease;
    }

    .mobile-bottom-nav-item i {
        font-size: 1.2rem;
        line-height: 1;
    }

    .mobile-bottom-nav-item.active {
        color: var(--primary-green);
    }

    .mobile-bottom-nav-item:hover {
        color: var(--primary-green);
    }
}

/* Zorunlu alan yıldızı (giriş, kayıt ve diğer formlar) */
.req {
    color: #e53e3e;
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 0;
    position: relative;
    top: 3px;
    margin-left: 2px;
}

/* Şifre gücü barı (kayıt, ayarlar, şifre sıfırlama) */
.pwd-strength-wrap {
    margin-top: 6px;
}

.pwd-strength-track {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #e8e8e8;
    overflow: hidden;
}

.pwd-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.pwd-strength-label {
    display: block;
    margin-top: 3px;
    font-weight: 600;
    font-size: 0.75rem;
}
