/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #000;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid #d92d2d;
    flex-wrap: wrap;
    gap: 10px;
}
.agreement-group {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.agreement-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.agreement-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  position: relative;
  top: 0;
}

.agreement-label span {
  font-size: 14px;
  line-height: 1.4;
}
.agreement-modal {
  display: none; /* Başta gizli */
  position: fixed;
  z-index: 9999; /* Üstte dursun */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* Arka plan yarı saydam siyah */
}


.agreement-content {
  background: #fff;
  width: 80%;
  max-width: 800px;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.agreement-content .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}


.logo, .mke {
    border: 2px solid #d92d2d;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #d92d2d;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.logo img, .mke img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
}

.logo:hover, .mke:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(217, 45, 45, 0.3);
}

.logo small {
    font-size: 10px;
    position: absolute;
    bottom: 5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 4px;
    border-radius: 3px;
}

.brand {
    text-align: center;
    flex: 1;
}

.brand h1 {
    margin: 0;
    color: #d92d2d;
    font-size: clamp(1.2rem, 4vw, 2rem);
}

.brand small {
    display: block;
    color: #333;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

/* Banner */
.banner {
  width: 100%;
  height: calc(100vw / 4);
  background: url('../../img/anadolusilahgorsel.png') center center no-repeat;
  background-size: contain;
  background-color: #000;
  border-bottom: 2px solid #d92d2d;
}

/* Bayilik Bar */
.bayilik-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #d92d2d;
    padding: 8px 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.bayilik-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bayilik-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bayilik-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bayilik-logo:hover {
    box-shadow: 0 4px 10px rgba(217, 45, 45, 0.3);
    transform: scale(1.08);
}

.bayilik-text {
    font-weight: bold;
    font-size: clamp(0.8rem, 3vw, 1rem);
    color: #333;
}

.bayilik-right {
    font-weight: bold;
    color: #333;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
}

.bayilik-right strong {
    color: #d92d2d;
}

/* Navigation */
nav {
    text-align: center;
    padding: 10px;
    border-bottom: 2px solid #d92d2d;
}

nav span {
    background: #d92d2d;
    color: #fff;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 6px;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav span:hover {
    background: #b92525;
    transform: translateY(-2px);
}

/* Main Container */
.main-container {
    display: flex;
    min-height: 60vh;
}

/* Left Sidebar */
.left-sidebar {
    width: 300px;
    border-right: 2px solid #d92d2d;
    padding: 20px;
    background: #f9f9f9;
}

/* Kategori Listesi Düzeni */
.category-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-buttons li {
    margin-bottom: 8px; /* Butonlar arası boşluk */
}

/* BUTON TASARIMI */
.category-btn {
    width: 100%;
    display: flex;             /* İkon ve yazıyı ortalamak için */
    align-items: center;       /* Dikey ortalama */
    padding: 12px 15px;        /* İç boşluk */
    
    /* İSTEDİĞİN RENK AYARLARI */
    background-color: #d92d2d; /* Default: BEYAZ Arkaplan */
    color: #ffffff;            /* Default: KIRMIZI Yazı */
    
    border: 1px solid #e0e0e0; /* Çok hafif gri çerçeve (şık durur) */
    border-radius: 8px;        /* Kenarları yuvarlatma */
    cursor: pointer;
    font-weight: 700;          /* Yazı kalınlığı */
    font-size: 0.95rem;
    text-align: left;
    
    /* Animasyon Geçişi */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* İkon Ayarı */
.category-btn .category-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    object-fit: contain;
}

/* HOVER (ÜZERİNE GELİNCE) EFEKTİ */
.category-btn:hover {
    transform: scale(1.04);
    border-color: #d92d2d;               /* Çerçeve de kırmızı olsun (opsiyonel) */
    z-index: 10;                         /* Büyüdüğünde diğerlerinin üstüne çıksın */
    position: relative;
}

.category-btn.active {
    background: #d92d2d;
    color: #fff;
}

.category-btn .number {
    background: #d92d2d;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    margin-right: 10px;
    font-size: 12px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.category-btn.active .number {
    background: #fff;
    color: #d92d2d;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 20px;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.content-area.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-area h2,
.content-area h3 {
    color: #d92d2d;
    border-bottom: 2px solid #d92d2d;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

/* Product List */
.product-list {
    list-style: none;
    padding: 0;
}

.product-list li {
    padding: 12px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 6px;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-list li:hover {
    background: #f0f0f0;
    border-color: #d92d2d;
    transform: translateX(5px);
}

.cards-under-item {
    display: none;
    padding: 15px 10px 5px 10px;
}

/* Product Cards */
.product-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.product-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.product-card .thumb {
    position: relative;
    height: 140px;
    background: linear-gradient(180deg, #333, #777);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #b92525;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
}

.product-card .body {
    padding: 12px;
}

.product-card .brand {
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: bold;
}

.product-card .title {
    color: #b92525;
    font-weight: 800;
    margin: 6px 0 10px;
    line-height: 1.3;
    font-size: 14px;
}

.product-card .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 6px 0 10px;
}

.product-card .tag {
    background: #f1f1f1;
    color: #333;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 11px;
}

.product-card .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card .price {
    color: #b92525;
    font-weight: 900;
    font-size: 18px;
}

.product-card .stock {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.product-card .stock.in {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.product-card .stock.out {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.product-card .actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.product-card .add-btn {
    background: #d92d2d;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
}

.product-card .add-btn:hover {
    background: #b92525;
}

.product-card .add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Slider */
.slider {
    position: relative;
    max-width: 100%;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.slider-container {
    position: relative;
    height: 420px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
    filter: brightness(0.85);
}

.slider-slide:hover img {
    transform: scale(1.02);
    filter: brightness(1);
}

.slider-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.8) 100%);
}

.slider-slide .slide-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

.slider-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slider-slide .slide-title {
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.slider-slide .slide-desc {
    font-size: clamp(1rem, 3vw, 1.3rem);
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    width: 55px;
    height: 55px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-nav:hover {
    background: rgba(217, 45, 45, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(217, 45, 45, 0.4);
    border-color: rgba(217, 45, 45, 0.8);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.slider-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.slider-dot:hover {
    background: #999;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-dot.active {
    background: #d92d2d;
    transform: scale(1.4);
    box-shadow: 0 6px 16px rgba(217, 45, 45, 0.4);
}

.slider-dot.active::after {
    border-color: rgba(217, 45, 45, 0.3);
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #d92d2d, #ff4757);
    transition: width 0.1s ease;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 -2px 8px rgba(217, 45, 45, 0.3);
}

.slider-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-play-pause {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(217, 45, 45, 0.9);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slider-play-pause:hover {
    background: #d92d2d;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(217, 45, 45, 0.5);
}

.slider-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
    padding: 0 20px;
}

.slider-thumb {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-thumb:hover,
.slider-thumb.active {
    opacity: 1;
    border-color: #d92d2d;
    transform: scale(1.1);
}

/* Alert Messages */
.alert {
    padding: 12px;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: bold;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d92d2d;
    box-shadow: 0 0 0 2px rgba(217, 45, 45, 0.2);
}

.submit-btn {
    background: #d92d2d;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.submit-btn:hover {
    background: #b92525;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217, 45, 45, 0.3);
}

/* Cart Table */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cart-table th,
.cart-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    background: #d92d2d;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.qty-btn:hover {
    background: #b92525;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.remove-btn:hover {
    background: #c82333;
}

/* Contact Form */
.contact-form {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-notice {
    background: #e3f2fd;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    background: #1976d2;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.security-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.security-code {
    background: #d92d2d;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.security-code:hover {
    background: #b92525;
    transform: scale(1.05);
}

.security-input {
    max-width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.form-section {
    margin: 25px 0 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.form-section h4 {
    margin: 0;
    color: #d92d2d;
}

.inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.inline > * {
    flex: 1;
}

/* Login Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.overlay.active {
    display: flex;
}

.login-modal {
    background: #fff;
    border-radius: 12px;
    width: min(92vw, 480px);
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    text-align: center;
}

.login-modal h4 {
    margin: 0 0 8px;
    color: #d92d2d;
    font-size: 20px;
}

.login-modal p {
    margin: 0 0 16px;
    color: #444;
}

.login-modal .actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.login-modal .btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.login-modal .btn-primary {
    background: #d92d2d;
    color: #fff;
    border-color: #d92d2d;
}

.login-modal .btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.login-modal .countdown {
    position: absolute;
    left: 12px;
    bottom: 10px;
    font-size: 12px;
    color: #666;
}

/* Welcome Content */
.welcome-content {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 10px;
    margin: 20px 0;
}

.welcome-content h3 {
    color: #d92d2d;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
}

.welcome-content p {
    color: #666;
    font-size: clamp(1rem, 3vw, 1.1rem);
    line-height: 1.6;
    margin: 15px auto;
}

/* Contact Info */
.contact-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.contact-info h3 {
    color: #d92d2d;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 900 !important;
    font-size: 40px;
    font-family: 'Arial Black', 'Arial', sans-serif;
}


.contact-info p {
    margin: 10px 0;
    color: #666;
}

.contact-info strong {
    color: #d92d2d;
}

.info-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.info-text {
    flex: 2;
    min-width: 300px;
}

.info-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-image {
    flex: 1;
    min-width: 250px;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    border-top: 2px solid #d92d2d;
    margin-top: 20px;
}

footer h4 {
    color: #d92d2d;
    margin-bottom: 10px;
}

footer table {
    width: 100%;
    border-collapse: collapse;
}

footer table td {
    border: 1px solid #d92d2d;
    padding: 8px;
    text-align: center;
    transition: background-color 0.2s ease;
}

footer table td:hover {
    background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        justify-content: center;
        text-align: center;
    }
    
    .logo, .mke {
        width: 60px;
        height: 60px;
    }
    
    .logo img, .mke img {
        width: 60px;
        height: 60px;
    }
    
    .banner {
        height: calc(100vw / 4);
    }
    
    .bayilik-bar {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .main-container {
        flex-direction: column;
    }
    
    .left-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #d92d2d;
    }
    
    .category-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .security-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .login-modal {
        width: min(94vw, 420px);
        padding: 18px;
    }
    
    .login-modal .actions {
        flex-direction: column;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .slider-indicators {
        gap: 8px;
        padding: 15px;
    }
    
    .slider-thumbnails {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .logo, .mke {
        width: 50px;
        height: 50px;
    }
    
    .logo img, .mke img {
        width: 50px;
        height: 50px;
    }
    
    .bayilik-logo {
        width: 40px;
        height: 40px;
    }
    
    .banner {
        height: calc(100vw / 4);
    }
    
    .category-buttons {
        grid-template-columns: 1fr;
    }
    
    .product-cards {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .login-modal {
        width: 94vw;
        padding: 16px;
    }
    
    .slider-container {
        height: 200px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-counter {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .slider-play-pause {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-thumbnails {
        display: none;
    }
    
}
.alert {
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: bold;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
