* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

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

/* Top Bar */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    font-size: 11px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.top-bar a {
    color: #0056b3;
    text-decoration: none;
    padding: 0 8px;
    border-right: 1px solid #ddd;
}

.top-bar a:last-child {
    border-right: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-bar a.red {
    color: #e74c3c;
}

/* Main Header */
.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.main-header .container {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo img {
    height: 30px;
}

.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 60px 10px 15px;
    border: 1px solid #d0d0d0;
    border-radius: 22px;
    font-size: 14px;
    color: #333;
}

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

.search-box button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #0066CC;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #0052A3;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.header-link:hover {
    background: #f5f5f5;
}

.header-link i {
    color: #0066CC;
    font-size: 18px;
}

.header-link span {
    font-weight: 500;
}

.cart-wrapper {
    position: relative;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d0d0d0;
    padding: 8px 15px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    padding-right: 35px;
}

.cart-btn:hover {
    border-color: #0066CC;
    background: #f9f9f9;
}

.cart-btn i {
    color: #0066CC;
    font-size: 22px;
}

.cart-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.cart-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 12px;
}

/* Blue Navigation */
.blue-nav {
    background: #0066CC;
    color: #fff;
    padding: 0;
}

.blue-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 50px;
}

.nav-left {
    display: flex;
    align-items: stretch;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(0,0,0,0.1);
}

.nav-item i {
    font-size: 16px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-left: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
}

.nav-info-item i {
    font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    background: #f9f9f9;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
}

.breadcrumb a {
    color: #0066CC;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 8px;
    color: #999;
}

.breadcrumb span {
    color: #666;
}

/* Main Content */
.main-content {
    padding: 20px 0 0;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #0066CC;
    color: #fff;
    border-radius: 8px;
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 20px;
    overflow: hidden;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.sidebar-header {
    background: #0052A3;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    line-height: 1.3;
}

.sidebar-count {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.filter-section {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    color: #fff;
}

.filter-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filter-item:hover {
    opacity: 0.8;
}

.filter-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #fff;
    background: #fff;
    accent-color: #0066CC;
    border-radius: 3px;
}

.filter-label {
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    flex: 1;
}

/* Products */
.products-container {
    flex: 1;
}

.sort-bar {
    background: none;
    padding: 0 0 15px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sort-dropdown {
    padding: 7px 30px 7px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #0066CC;
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 12px;
    background: #fff;
}

.product-badge {
    background: #FDB813;
    color: #000;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    font-weight: 400;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #0066CC;
    margin-bottom: 10px;
}

.btn-add-cart {
    background: #0066CC;
    color: #fff;
    border: none;
    padding: 9px;
    width: 100%;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-add-cart:hover {
    background: #0052A3;
    transform: scale(1.02);
}

/* Modal */
#sepetNotify {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.modal-content {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    max-width: 450px;
    width: calc(100% - 2rem);
    pointer-events: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0.6;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-secondary {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
}

.modal-btn-secondary:hover {
    background: #e8e8e8;
}

.modal-btn-primary {
    background: #0066CC;
    border: none;
    color: #fff;
}

.modal-btn-primary:hover {
    background: #0052A3;
}

/* Footer */
.footer {
    background: #2d5da9;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: none;
    overflow-x: hidden;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-social a i {
    font-size: 16px;
}

.footer-app p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.app-badge:hover {
    background: #333;
    transform: translateX(3px);
}

.app-badge i {
    font-size: 18px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Mobile Styles */
.mobile-header, .mobile-search, .mobile-nav, .bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .top-bar, .main-header, .blue-nav, .breadcrumb {
        display: none;
    }
    
    .mobile-header {
        display: block;
        background: #fff;
        padding: 12px 15px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .menu-icon {
        font-size: 24px;
        color: #333;
        cursor: pointer;
    }
    
    .mobile-header .logo img {
        height: 28px;
    }
    
    .header-icons {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .notif-icon {
        font-size: 20px;
        color: #666;
        cursor: pointer;
    }
    
    .siparis-btn {
        background: #0066CC;
        color: #fff;
        border: none;
        padding: 7px 15px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
    }
    
    .mobile-search {
        display: block;
        background: #fff;
        padding: 10px 15px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-search form {
        display: flex;
        gap: 8px;
    }
    
    .mobile-search input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #d0d0d0;
        border-radius: 20px;
        font-size: 14px;
    }
    
    .mobile-search button {
        background: #0066CC;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 14px;
    }
    
    .mobile-nav {
        display: block;
        background: #0066CC;
        color: #fff;
        padding: 10px 15px;
    }
    
    .mobile-nav-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .product-count {
        font-size: 14px;
        font-weight: 600;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .sort-btn, .filter-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        cursor: pointer;
        padding: 6px 10px;
        border-radius: 4px;
        background: rgba(255,255,255,0.15);
        font-weight: 500;
    }
    
    .sort-btn i, .filter-btn i {
        font-size: 13px;
    }
    
    .sidebar {
        display: none;
    }
    
    .products-container {
        padding: 10px 10px 80px;
    }
    
    .sort-bar {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    
    .product-image {
        height: 150px;
        padding: 10px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .product-title {
        font-size: 11px;
        height: 32px;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    .product-price {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .btn-add-cart {
        padding: 8px;
        font-size: 11px;
        border-radius: 18px;
        font-weight: 700;
    }
    
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        z-index: 1000;
        padding: 8px 0;
        align-items: center;
        justify-content: space-around;
    }
    
    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: #666;
        text-decoration: none;
        font-size: 10px;
        padding: 4px 0;
    }
    
    .bottom-nav-item i {
        font-size: 22px;
    }
    
    .bottom-nav-item.active {
        color: #0066CC;
    }
    
    .bottom-nav-item.active i {
        color: #0066CC;
    }
    
    .bottom-nav-cart {
        position: relative;
        flex: 0 0 auto;
        background: linear-gradient(135deg, #0066CC 0%, #0052FF 100%);
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 16px rgba(0,102,204,0.4);
        margin-top: -30px;
        border: 4px solid #fff;
    }
    
    .bottom-nav-cart i {
        color: #fff;
        font-size: 26px;
    }
    
    .bottom-nav-cart .cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
        color: #fff;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        border: 3px solid #fff;
        box-shadow: 0 2px 8px rgba(255, 68, 68, 0.6);
      
        z-index: 10;
    }
    
    @keyframes bounceIn {
        0% { transform: scale(0); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }
    
    @keyframes pulse {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 0 2px 8px rgba(255, 68, 68, 0.6);
        }
        50% { 
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(255, 68, 68, 0.8);
        }
    }
    
    .footer {
        margin-top: 20px;
        padding: 30px 15px 80px;
        overflow-x: hidden;
    }
    
    .footer .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-column h4 {
        font-size: 13px;
    }
    
    .footer-column ul li a {
        font-size: 12px;
    }
    
    .footer-app p {
        font-size: 12px;
    }
    
    .app-badge {
        font-size: 11px;
        padding: 7px 12px;
    }
}

@media (min-width: 769px) {
    .mobile-header, .mobile-search, .mobile-nav, .bottom-nav {
        display: none !important;
    }
}
