/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --success: #2ecc71;
    --danger: #e74c3c;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: #f5f5f5;
    line-height: 1.6;
}

.container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    color: #333;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.logo img {
    transition: all 0.3s;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

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

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 400px;
    font-size: 15px;
    background: white;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cart-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Banner Slider */
/* Main Layout */
.main-wrapper {
    padding: 20px 0;
}

/* Kampanya Bandı */
.campaign-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.campaign-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: center;
}

.campaign-highlight {
    color: white;
}

.campaign-highlight h3 {
    font-size: 22px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.campaign-highlight p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.featured-products-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    transition: opacity 0.3s ease;
}

.featured-products-slider::-webkit-scrollbar {
    display: none;
}

.featured-product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    min-width: 200px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-product-card:hover {
    transform: translateY(-5px);
}

.featured-product-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.featured-product-card .name {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-product-card .price {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b35;
}

.content-full {
    width: 100%;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Sidebar Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

.sidebar-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

.category-tree {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-item {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #555;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.category-item:hover {
    background: var(--light);
    color: var(--primary);
}

.category-item.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.category-item.has-children {
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2px;
    border-radius: 0;
    padding-bottom: 12px;
}

.category-item.has-children:hover {
    background: var(--light);
    color: var(--primary);
}

/* Ana kategori açıkken çizgi rengini değiştir */
.category-item.has-children.expanded {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.category-item .arrow {
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 16px;
    flex-shrink: 0;
}

.category-item.has-children.expanded .arrow {
    transform: rotate(90deg);
}

.category-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.category-children.show {
    max-height: 5000px !important;
}

/* Ana kategori (level-1) - belirgin başlık */
.category-item.level-1 {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    padding: 11px 10px;
    border-bottom: 2px solid #e8e8e8;
    border-radius: 0;
    margin-bottom: 0;
    background: #f8f9ff;
    border-left: 4px solid transparent;
}

.category-item.level-1:hover {
    background: #eef1ff;
    color: var(--primary);
    border-left-color: var(--primary);
}

.category-item.level-1.expanded {
    background: #eef1ff;
    color: var(--primary);
    border-left-color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Alt kategori (level-2) - sol çizgi ile girinti */
.cat-level-1 {
    border-left: 3px solid #e0e5ff;
    margin-left: 12px;
    margin-bottom: 4px;
    background: #fdfdff;
}

.category-item.level-2 {
    font-size: 13px;
    font-weight: 500;
    color: #444;
    padding: 8px 8px 8px 14px;
    border-radius: 0;
    border-bottom: 1px dashed #eee;
}

.category-item.level-2:hover {
    background: #f0f4ff;
    color: var(--primary);
}

.category-item.level-2.has-children {
    font-weight: 600;
}

.category-item.level-2.expanded {
    color: var(--primary);
    background: #f0f4ff;
}

/* Marka (level-3) - daha içeride, ince */
.cat-level-2 {
    border-left: 2px solid #c8d0f8;
    margin-left: 10px;
    background: #fff;
}

.category-item.level-3 {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    padding: 6px 6px 6px 12px;
    border-radius: 0;
    border-bottom: 1px solid #f5f5f5;
}

.category-item.level-3:hover {
    background: #f0f4ff;
    color: var(--primary);
}

.category-item.level-3.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.mobile-category-btn {
    display: none;
    width: 100%;
    padding: 15px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Products Section */
.products-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    width: 100%;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light);
}

.products-header h2 {
    font-size: 24px;
    color: var(--dark);
}

.products-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    min-height: 400px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #fafafa;
    padding: 15px;
}

.product-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-price {
    border-top: 1px solid var(--light);
    padding-top: 12px;
    margin-top: auto;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.price-label {
    font-size: 11px;
    color: #999;
}

.price-usd {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.price-tl {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--border);
}

.stock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

.stock-ok {
    background: #d4edda;
    color: #155724;
}

.stock-low {
    background: #fff3cd;
    color: #856404;
}

.stock-out {
    background: #f8d7da;
    color: #721c24;
}

/* Loading */
.loading-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    border: 4px solid var(--light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Load More */
.load-more-container {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--light);
    color: var(--dark);
}

.modal-body {
    padding: 30px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid var(--light);
}

/* Product Detail Modal */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-gallery {
    position: sticky;
    top: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
}

.product-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-info .product-brand {
    font-size: 14px;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 20px 0;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.product-specs {
    margin: 20px 0;
}

.product-specs h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.spec-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
}

.spec-label {
    font-weight: 600;
    color: #666;
}

.spec-value {
    color: var(--dark);
}

.detail-price {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Cart Modal */
/* .cart-modal-content — artık slide panel kullanılıyor */
.cart-modal-content { max-width: 600px; }

/* .cart-items padding — panel içinde override ediliyor */
.cart-items {
    max-height: none;
    overflow-y: auto;
    padding: 0;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--light);
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 8px;
    padding: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 13px;
    color: #666;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.qty-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.cart-item-remove {
    background: var(--danger);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--light);
}

.cart-total {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.total-row.main-total {
    border-top: 2px solid var(--light);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--danger);
    background: #fff5f5;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Toast */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--dark);
    color: white;
    padding: 13px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    animation: toastSlideIn 0.3s ease;
    max-width: 280px;
    font-size: 14px;
}

.toast.show {
    display: block;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

@keyframes toastSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        z-index: 200;
        transition: left 0.3s;
        border-radius: 0;
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .mobile-category-btn {
        display: block;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar input {
        width: 100%;
    }

    .banner-slider {
        height: 250px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image {
        height: 150px;
    }

    .product-body {
        padding: 12px;
    }

    .product-name {
        font-size: 13px;
    }

    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
    }

    .spec-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .detail-actions {
        flex-direction: column;
    }

    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   WHATSAPP FLOATING BUTTON
   =========================== */

.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Ana buton */
.whatsapp-fab {
    width: 60px;
    height: 60px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Nabız animasyonu */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0%   { transform: scale(1); opacity: 0.8; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Popup kutu */
.whatsapp-popup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 300px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;
}

.whatsapp-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Popup header */
.whatsapp-popup-header {
    background: #075E54;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    background: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    background: #25D366;
    border-radius: 50%;
    border: 2px solid #075E54;
}

.whatsapp-popup-info {
    flex: 1;
}

.whatsapp-popup-name {
    color: white;
    font-weight: 700;
    font-size: 15px;
}

.whatsapp-popup-status {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin-top: 2px;
}

.whatsapp-popup-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.whatsapp-popup-close:hover {
    color: white;
}

/* Popup body - mesaj balonu */
.whatsapp-popup-body {
    padding: 16px;
    background: #ECE5DD;
}

.whatsapp-bubble {
    background: white;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    max-width: 240px;
}

/* WhatsApp'ta Yaz butonu */
.whatsapp-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 14px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
}

.whatsapp-popup-btn:hover {
    background: #1ebe5a;
    color: white;
}

/* Mobil */
@media (max-width: 480px) {
    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-popup {
        width: 270px;
    }

    .whatsapp-fab {
        width: 54px;
        height: 54px;
    }
}

/* Ürün kartı WhatsApp butonu */
.btn-whatsapp {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    background: #25D366;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    padding: 0;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    transform: scale(1.1);
    color: white;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
    background: #1a1f2e;
    color: #ccc;
    margin-top: 60px;
}

.footer-top {
    padding: 50px 0 40px;
    border-bottom: 1px solid #2d3348;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
    gap: 40px;
}

.footer-col {}

/* Logo & Açıklama */
.footer-logo-area {
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #9aa3b8;
    margin-bottom: 20px;
}

/* Sosyal Medya */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: #2d3348;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Başlıklar */
.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

/* Hızlı Linkler */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #9aa3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #667eea;
    padding-left: 4px;
}

/* İletişim */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #9aa3b8;
}

.contact-icon {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact a {
    color: #9aa3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #667eea;
}

/* Havale Bilgileri */
.footer-bank {
    background: #232840;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #2d3348;
}

.footer-bank h5 {
    font-size: 13px;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bank-row {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.bank-row span {
    color: #6b7494;
    font-size: 11px;
    margin-bottom: 2px;
}

.bank-row strong {
    color: #d0d5e8;
    font-weight: 600;
}

.iban-text {
    cursor: pointer;
    color: #a8b4ff !important;
    font-family: monospace;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.iban-text:hover {
    color: #667eea !important;
}

/* ETBİS */
.etbis-area {
    margin-bottom: 20px;
}

.etbis-qr-box {
    background: #232840;
    border: 2px dashed #3a4060;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s;
}

.etbis-qr-box:hover {
    border-color: #667eea;
}

.qr-placeholder {
    margin-bottom: 8px;
    opacity: 0.5;
}

.etbis-label {
    color: #9aa3b8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.etbis-sublabel {
    color: #6b7494;
    font-size: 11px;
    font-style: italic;
}

/* Güven Rozetleri */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.trust-badge {
    background: #232840;
    border: 1px solid #2d3348;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11px;
    color: #9aa3b8;
    text-align: center;
    transition: all 0.2s;
}

.trust-badge:hover {
    border-color: #667eea;
    color: #a8b4ff;
}

/* Footer Alt Bar */
.footer-bottom {
    padding: 18px 0;
    background: #141822;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-content p {
    font-size: 12px;
    color: #6b7494;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #6b7494;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #667eea;
}

/* Yasal Modal */
.legal-modal-content {
    max-width: 700px;
}

.legal-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #2c3e50;
}

/* Footer Responsive */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        grid-template-columns: 1fr 1fr;
    }
}

/* Yasal Modal - Genişletilmiş */
.legal-modal-content {
    max-width: 760px;
}

.legal-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin: 22px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.legal-content strong {
    color: #2c3e50;
}

/* Sidebar header - başlık kaldırıldı, sadece mobil toggle kalır */
.sidebar-header {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
    min-height: 0;
}

/* Masaüstünde toggle butonu gizli, header boşluk bırakmasın */
@media (min-width: 1025px) {
    .sidebar-header {
        display: none;
    }
}

/* Kampanya bandı başlık stili */
.campaign-highlight h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.campaign-highlight p {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===========================
   DUYURU BANDI
   =========================== */
.announcement-bar {
    background: #2c3e50;
    color: #ccc;
    text-align: center;
    padding: 8px 20px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.announcement-bar a {
    color: #a8b4ff;
    text-decoration: none;
}
.announcement-bar a:hover { color: white; }
.ann-divider { opacity: 0.3; }
@media (max-width: 600px) {
    .ann-divider { display: none; }
    .announcement-bar { flex-direction: column; gap: 4px; padding: 8px; }
}

/* ===========================
   BREADCRUMB
   =========================== */
.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 20px;
}
.bc-home {
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
}
.bc-home:hover { text-decoration: underline; }
.bc-sep { color: #ccc; margin: 0 2px; }
.bc-item { color: #555; font-weight: 500; }
.bc-path:empty + .products-header,
.breadcrumb:has(.bc-path:empty) { margin-top: 0; }

/* ===========================
   SIRALAMА SEÇİCİ
   =========================== */
.sort-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    cursor: pointer;
    color: #555;
}
.sort-select:focus { outline: none; border-color: var(--primary); }

/* ===========================
   ÜRÜN ROZETLERİ
   =========================== */
.product-card {
    position: relative;
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    pointer-events: none;
}
.badge-hot {
    background: #e74c3c;
    color: white;
}
.badge-new {
    background: #27ae60;
    color: white;
}

/* ===========================
   BREADCRUMB - tıklanabilir
   =========================== */
.bc-link {
    cursor: pointer;
    color: var(--primary) !important;
}
.bc-link:hover { text-decoration: underline; }
.bc-current { color: #333 !important; font-weight: 600; }

/* ===========================
   SON GÖRÜNTÜLENEn ÜRÜNLER
   =========================== */
.recently-viewed-section {
    background: white;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.recently-viewed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recently-viewed-header h3 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
}

.rv-clear {
    background: none;
    border: 1px solid #ddd;
    color: #999;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.rv-clear:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.recently-viewed-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.recently-viewed-grid::-webkit-scrollbar {
    height: 4px;
}

.recently-viewed-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.recently-viewed-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.rv-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 0 175px;
    scroll-snap-align: start;
}

.rv-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(102,126,234,0.15);
    transform: translateY(-2px);
}

.rv-card img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    background: white;
    padding: 10px;
}

.rv-info {
    padding: 10px;
}

.rv-brand {
    font-size: 10px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.rv-name {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    min-height: 34px;
}

.rv-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}



/* ===========================
   ÜRÜN KARŞILAŞTIRMA
   =========================== */
.btn-compare {
    width: 100%;
    margin-top: 6px;
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-compare:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-compare.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Karşılaştırma Çubuğu */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    z-index: 150;
    box-shadow: 0 -4px 20px rgba(255,107,53,0.4);
    display: none;
}
.compare-bar.show {
    display: block;
}
.compare-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.compare-slots {
    display: flex;
    gap: 10px;
    flex: 1;
}
.compare-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    max-width: 200px;
}
.compare-slot img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 2px;
    flex-shrink: 0;
}
.compare-slot span {
    flex: 1;
    line-height: 1.3;
}
.compare-slot-remove {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
    flex-shrink: 0;
}
.compare-slot-remove:hover { color: #ff6b35; background: white; border-radius: 50%; }
.compare-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.btn-compare-now {
    padding: 10px 24px;
    background: white;
    color: #ff6b35;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-compare-now:hover { background: #f0f0f0; }
.btn-compare-clear {
    padding: 10px 16px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-compare-clear:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* Karşılaştırma Tablosu */
.compare-modal-content {
    max-width: 1000px;
}
.compare-table-wrap {
    overflow-x: auto;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.compare-table th {
    padding: 15px 12px;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    vertical-align: top;
}
.compare-table th:first-child {
    text-align: left;
    background: #f8f9fa;
}
.compare-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    vertical-align: middle;
}
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #555;
    background: #f8f9fa;
}
.compare-row-highlight td {
    background: #fafbff !important;
}
.compare-row-highlight td:first-child {
    background: #f0f2ff !important;
}

@media (max-width: 768px) {
    .compare-bar-inner { flex-direction: column; align-items: flex-start; }
    .compare-slots { flex-wrap: wrap; }
}

/* ===========================
   ÜRÜNLER ARASI REKLAM ALANI
   =========================== */
.promo-banner {
    grid-column: 1 / -1;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 110px;
}
.promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.3);
}
.promo-banner.orange {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    box-shadow: none;
}
.promo-banner.orange:hover {
    box-shadow: 0 8px 24px rgba(255,107,53,0.3);
}
.promo-banner.dark {
    background: linear-gradient(135deg, #2c3e50 0%, #3d5166 100%);
}
.promo-banner.dark:hover {
    box-shadow: 0 8px 24px rgba(44,62,80,0.3);
}
.promo-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.promo-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.promo-cta {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}
.promo-banner.orange .promo-cta { color: #ff6b35; }
.promo-banner.dark .promo-cta { color: #2c3e50; }
.promo-cta:hover { transform: scale(1.05); }

@media (max-width: 600px) {
    .promo-banner { flex-direction: column; text-align: center; padding: 20px; }
}

/* ===========================
/* ===========================
   MEGA MENU
   =========================== */
.mega-nav {
    background: #1a2535;
    position: sticky;
    top: 85px;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mega-nav-bar {
    display: flex;
    align-items: flex-start;
}

/* Tüm Ürünler butonu - her zaman görünür */
.mega-all-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0 20px;
    min-height: 46px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    align-self: stretch;
    transition: background 0.2s;
}
.mega-all-btn:hover { background: #5568d3; }
.mega-all-icon { font-size: 18px; }

/* Kategoriler - wrap olabilir, yükseklik otomatik */
.mega-categories {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding: 3px 0;
}

.mega-cat-item {
    color: rgba(255,255,255,0.82);
    padding: 8px 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    border-bottom: 2px solid transparent;
    user-select: none;
}
.mega-cat-item:hover,
.mega-cat-item.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-bottom-color: #ff6b35;
}
.mega-cat-icon { font-size: 14px; }
.mega-cat-name { font-size: 12.5px; }

/* Dropdown paneli */
.mega-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    z-index: 200;
    border-top: 3px solid #667eea;
    max-height: 70vh;
    overflow-y: auto;
}
.mega-dropdown.show { display: block; }

.mega-dropdown-inner {
    padding: 16px 20px 20px;
}

.mega-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}
.mega-dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mega-dropdown-icon { font-size: 20px; }
.mega-dropdown-title strong {
    font-size: 16px;
    color: #1a2535;
}
.mega-dropdown-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mega-see-all {
    background: #667eea;
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.mega-see-all:hover { background: #5568d3; }
.mega-close-btn {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}
.mega-close-btn:hover { background: #e0e0e0; color: #333; }

.mega-dropdown-cols {
    display: grid;
    gap: 0 24px;
}
.mega-dropdown-col { display: flex; flex-direction: column; }
.mega-sub-item {
    padding: 6px 10px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s;
    line-height: 1.4;
}
.mega-sub-item:hover {
    background: #f0f2ff;
    color: #667eea;
    padding-left: 16px;
}

/* Sidebar artık yok */
.sidebar { display: none !important; }
.mobile-category-btn { display: none !important; }

/* Ürün grid daha geniş */
.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

/* Mobil */
@media (max-width: 1024px) {
    .mega-nav { top: 0; position: relative; }
    .mega-categories { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .mega-categories::-webkit-scrollbar { display: none; }
    .mega-dropdown-cols { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .mega-cat-name { display: none; }
    .mega-cat-icon { font-size: 18px; }
    .mega-dropdown-cols { grid-template-columns: 1fr !important; }
}

/* ===========================
   MEGA MENU SVG İKONLAR
   =========================== */
.mega-cat-icon svg,
.mega-dropdown-icon svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.mega-cat-item .mega-cat-icon {
    display: flex;
    align-items: center;
    opacity: 0.85;
}
.mega-cat-item:hover .mega-cat-icon,
.mega-cat-item.active .mega-cat-icon {
    opacity: 1;
}

/* ===========================
   3'LÜ REKLAM KARTLARI
   =========================== */
.promo-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 4px 0;
}

.promo-card {
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 130px;
    position: relative;
    overflow: hidden;
}
.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.06);
    opacity: 0;
    transition: opacity 0.2s;
}
.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.promo-card:hover::after { opacity: 1; }

.promo-card-img {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.promo-card-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 4px;
}

.promo-card-text {
    flex: 1;
    min-width: 0;
}
.promo-card-title {
    font-size: 15px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    line-height: 1.2;
}
.promo-card-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 10px;
    line-height: 1.4;
}
.promo-card-cta {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}
.promo-card:hover .promo-card-cta {
    background: rgba(255,255,255,0.35);
}

/* Eski promo-banner'ı gizle (artık kullanmıyoruz) */
.promo-banner { display: none !important; }

@media (max-width: 900px) {
    .promo-row { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1200px) {
    .promo-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GÜVEN BANDI
   ============================================================ */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0;
}
.trust-items {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.trust-items::-webkit-scrollbar { display: none; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 12.5px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
    border-right: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: #f8f8ff; color: var(--primary); }
.trust-item svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    color: var(--primary);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-section {
    background: #111;
    padding: 16px 0 0;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 12px;
    align-items: stretch;
}
.hero-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
}
.hero-slides { width: 100%; height: 100%; }
.hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    padding: 40px 48px;
    align-items: center;
    justify-content: space-between;
    animation: heroFadeIn 0.5s ease;
}
.hero-slide.active { display: flex; }
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.hero-text { flex: 1; z-index: 2; }
.hero-badge-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-text h2 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}
.hero-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}
.hero-btn {
    background: #fff;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.hero-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.hero-img-box {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 8px;
    opacity: 0.9;
}
/* Dots */
.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}
/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 38px; height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    line-height: 1;
}
.hero-arrow:hover { background: rgba(255,255,255,0.35); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
/* Mini Bannerlar */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-mini {
    flex: 1;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    position: relative;
}
.hero-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hero-mini-img {
    width: 70px; height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.hero-mini-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.hero-mini-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #fff;
}
.hero-mini-label {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
}
.hero-mini-text strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.hero-mini-cta {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 500;
}

/* ============================================================
   ARAMA DROPDOWN
   ============================================================ */
.search-bar {
    position: relative;
}
.search-icon-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: #aaa;
    pointer-events: none;
}
.search-bar input {
    padding-left: 40px !important;
    padding-right: 36px !important;
}
.search-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ddd;
    border: none;
    border-radius: 50%;
    width: 20px; height: 20px;
    font-size: 11px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    color: #666;
    line-height: 1;
}
.search-clear-btn:hover { background: #bbb; }
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    z-index: 500;
    max-height: 420px;
    overflow-y: auto;
    display: none;
}
.search-dropdown.show { display: block; }
.sd-section-title {
    padding: 8px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #f0f0f0;
}
.sd-section-title:first-child { border-top: none; }
.sd-section-title small { font-weight: 400; text-transform: none; }
.sd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.15s;
}
.sd-item:hover { background: #f5f5ff; }
.sd-cat {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.sd-cat svg { color: var(--primary); flex-shrink: 0; }
.sd-product img {
    width: 44px; height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8f8f8;
    padding: 4px;
    flex-shrink: 0;
}
.sd-no-img {
    width: 44px; height: 44px;
    background: #f0f0f0;
    border-radius: 6px;
    flex-shrink: 0;
}
.sd-info { flex: 1; min-width: 0; }
.sd-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-name mark {
    background: #fff3cd;
    color: #333;
    border-radius: 2px;
    padding: 0 1px;
}
.sd-meta { font-size: 11.5px; color: #888; margin-top: 2px; }
.sd-empty { padding: 20px; text-align: center; color: #aaa; font-size: 13px; }

/* ============================================================
   SIFIR STOK KART GRİLEŞME
   ============================================================ */
.product-card.out-of-stock {
    opacity: 0.55;
    filter: grayscale(40%);
}
.product-card.out-of-stock:hover {
    transform: none;
    box-shadow: var(--shadow);
    border-color: var(--border);
    opacity: 0.65;
}

/* ============================================================
   ROZET İYİLEŞTİRME
   ============================================================ */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.badge-fire {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,69,0,0.4);
}
.badge-low {
    background: linear-gradient(135deg, #f7931e, #f5a623);
    color: #fff;
}
.badge-new {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(102,126,234,0.4);
}
.badge-hot {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    color: #fff;
}

/* ============================================================
   HERO RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-side { flex-direction: row; }
    .hero-mini { flex: 1; }
    .hero-text h2 { font-size: 22px; }
    .hero-img-box { width: 130px; height: 130px; }
}
@media (max-width: 600px) {
    .hero-slide { padding: 24px 20px; }
    .hero-img-box { display: none; }
    .trust-item { padding: 10px 12px; font-size: 11px; }
    .search-bar input { width: 100%; }
}


/* ============================================================
   MOBİL DRAWER MENÜ
   ============================================================ */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    backdrop-filter: blur(2px);
}
.mob-overlay.show { display: block; }

.mob-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.18);
}
.mob-drawer.show { transform: translateX(0); }

.mob-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.mob-drawer-header button {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 6px;
    padding: 6px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-drawer-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.mob-drawer-search svg { color: #aaa; flex-shrink: 0; }
.mob-drawer-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

.mob-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.mob-drawer-body::-webkit-scrollbar { width: 4px; }
.mob-drawer-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Ana kategori */
.mob-cat-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}
.mob-cat-main:hover { background: #f8f8ff; }
.mob-cat-main-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex: 1; /* Tüm satırı kapla — sağ taraf da tıklanabilir */
    min-width: 0;
}
.mob-cat-main-left .icon { font-size: 16px; }
.mob-cat-arrow {
    font-size: 16px;
    color: #aaa;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.mob-cat-main.open .mob-cat-arrow { transform: rotate(90deg); }

/* Alt kategoriler */
.mob-cat-subs {
    display: none;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.mob-cat-subs.show { display: block; }
.mob-cat-sub {
    display: block;
    padding: 10px 18px 10px 44px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s, color 0.1s;
}
.mob-cat-sub:last-child { border-bottom: none; }
.mob-cat-sub:hover { background: #eff2ff; color: var(--primary); }

/* Tüm ürünler butonu */
.mob-all-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    border-bottom: 2px solid #eee;
    background: #f8f9ff;
    transition: background 0.15s;
}
.mob-all-btn:hover { background: #eff2ff; }

/* ============================================================
   BOTTOM NAVIGATION BAR
   ============================================================ */
.bottom-nav {
    display: none; /* sadece mobilde göster */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 800;
    grid-template-columns: repeat(4, 1fr);
}
.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 0;
    position: relative;
}
.bn-item svg { transition: transform 0.2s; }
.bn-item:active svg { transform: scale(0.88); }
.bn-item.bn-active { color: var(--primary); }
.bn-item.bn-active svg { stroke: var(--primary); }
.bn-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 18px);
    background: #e74c3c;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
}

@media (max-width: 768px) {
    /* Bottom nav aktif */
    .bottom-nav { display: grid; }

    /* Sayfanın altına padding — bottom nav'ı kapsasın */
    body { padding-bottom: 60px; }

    /* Header arama çubuğunu mobilde daralt */
    .search-bar input { width: 100%; min-width: 0; }
    .header-content { flex-wrap: wrap; gap: 8px; }
    .header-right { flex: 1; }
    .search-bar { flex: 1; }

    /* Mega nav'ı mobilde gizle — drawer var */
    .mega-nav { display: none; }

    /* Hero banner mobil */
    .hero-section { padding: 10px 0 0; }
    .hero-layout { grid-template-columns: 1fr; gap: 8px; }
    .hero-side { flex-direction: row; gap: 8px; }
    .hero-mini { flex: 1; padding: 12px; }
    .hero-main { min-height: 220px; }
    .hero-text h2 { font-size: 20px; }
    .hero-text p { font-size: 12px; margin-bottom: 14px; }
    .hero-img-box { width: 100px; height: 100px; }
    .hero-slide { padding: 24px 20px; }
    .hero-btn { padding: 10px 18px; font-size: 13px; }

    /* Güven bandı mobil — 3'lü ızgara */
    .trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
    .trust-item { border-right: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; justify-content: center; font-size: 10.5px; padding: 8px 4px; }
    .trust-item span { display: none; } /* Mobilde sadece ikon */
    .trust-item svg { width: 18px; height: 18px; }

    /* WhatsApp butonu bottom-nav yüksekliğini aşsın */
    .whatsapp-container { bottom: 70px; }

    /* Kampanya bandı mobilde daha küçük */
    .campaign-banner { padding: 12px 0; }
    .campaign-content { grid-template-columns: 1fr; gap: 10px; }
    .campaign-highlight { display: none; }
    .featured-product-card { min-width: 140px; }
    .featured-product-card img { height: 80px; }
}

@media (max-width: 480px) {
    .hero-img-box { display: none; }
    .hero-text h2 { font-size: 18px; }
    .hero-side { display: none; } /* Çok küçük ekranda mini banner'ı gizle */
    .trust-item svg { width: 16px; height: 16px; }
}


/* Drawer açıkken WhatsApp'ı gizle */
body.drawer-open .whatsapp-container,
body.cart-open .whatsapp-container { display: none !important; }

/* ============================================================
   ÜRÜN KARTI — FİYAT HİYERARŞİSİ + HIZLI İNCELE
   ============================================================ */

/* Görsel sarmalayıcı */
.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

/* Hızlı incele overlay */
.product-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(102, 126, 234, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
    cursor: pointer;
}
.product-card:hover .product-img-overlay {
    opacity: 1;
    background: rgba(102, 126, 234, 0.18);
}
.quick-look-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transform: translateY(8px);
    transition: transform 0.25s ease;
    white-space: nowrap;
}
.product-card:hover .quick-look-btn {
    transform: translateY(0);
}
/* Stokta yok — overlay farklı renk */
.product-card.out-of-stock:hover .product-img-overlay {
    background: rgba(150,150,150,0.18);
}
.product-card.out-of-stock:hover .quick-look-btn {
    color: #888;
}

/* Fiyat hiyerarşisi */
.product-price {
    border-top: 1px solid var(--light);
    padding-top: 10px;
    margin-top: auto;
}
.price-excl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.price-excl-label {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.price-excl-val {
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
    text-decoration: line-through;
}
.price-incl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-incl-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.price-incl-val {
    font-size: 20px;
    color: #2ecc71;
    font-weight: 700;
    line-height: 1;
}

/* Mobilde hızlı incele gizle (dokunmatik ekranda hover çalışmaz) */
@media (max-width: 768px) {
    .product-img-overlay { display: none; }
}


/* ============================================================
   MİNİ SEPET — SLIDE-IN PANEL
   ============================================================ */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1100;
    backdrop-filter: blur(2px);
}
.cart-overlay.show { display: block; }

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 1101;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 32px rgba(0,0,0,0.14);
}
.cart-panel.show { transform: translateX(0); }

/* Header */
.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
}
.cart-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
}
.cart-panel-count {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}
.cart-panel-close {
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cart-panel-close:hover { background: #ffe5e5; color: #e74c3c; }

/* Ürün listesi */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 4px; }

/* Boş sepet */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 260px;
    color: #ccc;
    font-size: 15px;
    text-align: center;
    padding: 40px 20px;
}
.empty-cart p { color: #bbb; font-size: 15px; }
.empty-cart-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.empty-cart-btn:hover { background: var(--primary-dark); }

/* Sepet öğesi */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    align-items: flex-start;
    transition: background 0.15s;
}
.cart-item:hover { background: #fafafa; }
.cart-item-image {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 6px;
    flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-price {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.cart-item-price strong {
    color: #2ecc71;
    font-size: 14px;
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qty-btn {
    width: 26px;
    height: 26px;
    border: 1.5px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}
.qty-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.qty-value { min-width: 28px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-item-remove {
    background: none;
    border: none;
    color: #ddd;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.cart-item-remove:hover { color: #e74c3c; }

/* Footer */
.cart-footer {
    border-top: 2px solid #f0f0f0;
    flex-shrink: 0;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
}
.cart-footer::-webkit-scrollbar { width: 4px; }
.cart-footer::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 4px; }

.cart-totals {
    padding: 16px 20px 12px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
    color: #666;
}
.cart-total-main {
    border-top: 1px solid #e8e8e8;
    margin-top: 8px;
    padding-top: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
}
.cart-total-main strong { color: var(--primary); font-size: 18px; }

/* Form */
.cart-form-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    padding: 16px 20px 8px;
}
.cart-footer .form-group { padding: 0 20px; margin-bottom: 10px; }
.cart-footer .form-group input,
.cart-footer .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.2s;
    font-family: inherit;
}
.cart-footer .form-group input:focus,
.cart-footer .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.cart-footer .checkout-btn {
    margin: 10px 20px 20px;
    width: calc(100% - 40px);
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-footer .checkout-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.cart-footer .checkout-btn:disabled { background: #ccc; transform: none; cursor: not-allowed; }

/* Mobil tam ekran */
@media (max-width: 480px) {
    .cart-panel { width: 100vw; }
}


/* ============================================================
   ÜRÜN DETAY — BENZERÜRÜNler
   ============================================================ */
.similar-section {
    border-top: 2px solid #f5f5f5;
    padding: 24px 30px 30px;
    background: #fafafa;
}
.similar-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}
.similar-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}
.similar-sub {
    font-size: 12px;
    color: #aaa;
}

/* Yatay kaydırma */
.similar-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.similar-scroll::-webkit-scrollbar { height: 4px; }
.similar-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Benzer ürün kartı */
.similar-card {
    flex-shrink: 0;
    width: 150px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}
.similar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.similar-img-wrap {
    background: #f8f8f8;
    padding: 10px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.similar-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.similar-body {
    padding: 10px;
}
.similar-brand {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.similar-name {
    font-size: 12px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 31px;
    margin-bottom: 6px;
}
.similar-price {
    font-size: 13px;
    font-weight: 700;
    color: #2ecc71;
}

@media (max-width: 768px) {
    .similar-section { padding: 20px 16px; }
    .similar-card { width: 130px; }
    .similar-img-wrap { height: 90px; }
}

/* ============================================================
   FİLTRE ÇUBUĞU
   ============================================================ */
.filter-bar {
    background: #f8f9ff;
    border: 1px solid #e8ecff;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}
.filter-bar-inner {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 14px 18px;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.filter-price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-price-inputs input {
    width: 90px;
    padding: 7px 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    font-size: 13px;
    color: #333;
    transition: border-color 0.2s;
    background: #fff;
}
.filter-price-inputs input:focus {
    outline: none;
    border-color: var(--primary);
}
.filter-price-sep {
    color: #bbb;
    font-size: 14px;
}
.filter-select-sm {
    padding: 7px 28px 7px 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    font-size: 13px;
    color: #333;
    background: #fff;
    cursor: pointer;
    min-width: 140px;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
.filter-select-sm:focus {
    outline: none;
    border-color: var(--primary);
}
.filter-group-reset {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}
.filter-result-count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}
.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #fff0f0;
    color: #e74c3c;
    border: 1.5px solid #ffd5d5;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-reset-btn:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

@media (max-width: 768px) {
    .filter-bar-inner { gap: 12px; padding: 12px 14px; }
    .filter-price-inputs input { width: 72px; }
    .filter-select-sm { min-width: 120px; }
    .filter-group-reset { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* ============================================================
   FOOTER ÖDEME & KARGO LOGOLARI BANDI
   ============================================================ */
.footer-logos-bar {
    background: #1a1a2e;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}
.footer-logos-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-logos-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-logos-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.footer-logos-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.payment-logo {
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.payment-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.footer-logos-divider {
    width: 1px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-logos-inner { gap: 20px; }
    .footer-logos-divider { display: none; }
    .footer-logos-group { width: 100%; }
    .footer-logos-row { gap: 6px; }
}
