/* === TRENDYOL STİLLİ TRIDBENCH TASARIMI === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* === GENEL AYARLAR & RENKLER === */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-orange: #ff7700;
    --dark-orange: #e06600;
    --green-bg: #2d8659;
    --border-color: #e6e6e6;
    --bg-color: #f5f5f5;
    --text-color: #333;
    --card-bg-color: #ffffff;
    --header-bg-color: #ffffff;
    --header-text-color: #111;
    --link-color: #ff7700;
    --subtle-text-color: #666;
    --button-green-bg: #2d8659;
    --button-red-bg: #e60000;
}
body { background-color: var(--bg-color); color: var(--text-color); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* === BUTON STİLLERİ === */
.btn-primary, .button, .order-button, .action-button, .nav-button {
    display: inline-block; padding: 10px 20px; border: none; border-radius: 4px;
    color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none;
    text-align: center; cursor: pointer; transition: background 0.2s, opacity 0.2s;
    background: var(--primary-orange);
}
.btn-primary:hover, .button:hover, .order-button:hover, .action-button:hover, .nav-button:hover {
    background: var(--dark-orange); opacity: 1;
}
.order-button { width: 100%; background: var(--button-green-bg); }
.order-button:hover { background: #246b47; }
.button-red { background: var(--button-red-bg) !important; }
.hidden { display: none !important; }

/* === TOP BAR === */
.top-bar { background: #fff; border-bottom: 1px solid var(--border-color); font-size: 11px; padding: 6px 0; }
.top-bar-content { display: flex; justify-content: flex-end; gap: 15px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.top-bar a { color: var(--primary-orange); font-weight: bold; }

/* === HEADER === */
.site-header, .main-header { background: #fff; padding: 12px 0; border-bottom: 1px solid var(--border-color); position: relative; z-index: 1001; }
.header-container, .header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 15px; gap: 20px; }
.logo a, .logo { font-size: 28px; font-weight: 900; letter-spacing: -1px; color: #111; text-decoration: none; }
.logo span, .logo .accent { color: var(--primary-orange); }
.site-logo-svg { overflow: visible; display: block; }

/* === SEARCH BAR === */
.search-bar { display: flex; flex: 0 1 500px; }
.search-bar input { width: 100%; padding: 10px 14px; border: 1px solid #ccc; border-right: none; outline: none; font-size: 13px; border-radius: 4px 0 0 4px; }
.search-bar button { background: var(--primary-orange); color: #fff; border: none; padding: 0 18px; cursor: pointer; border-radius: 0 4px 4px 0; font-size: 14px; }
.search-bar button:hover { background: var(--dark-orange); }

/* === CART BOX === */
.cart-box, .cart-link { display: flex; align-items: center; gap: 8px; color: #666; font-size: 13px; white-space: nowrap; }
.cart-icon { font-size: 22px; }
.cart-details { display: flex; flex-direction: column; font-size: 11px; line-height: 1.3; }
.cart-details strong { color: var(--primary-orange); }
.notification-badge { background: #e41e3f; color: #fff; padding: 2px 7px; border-radius: 10px; font-size: 11px; font-weight: 700; margin-left: 4px; }

/* === NAV === */
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a { text-decoration: none; color: var(--subtle-text-color); font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: 0.2s; font-size: 13px; }
.main-nav a:hover { color: var(--primary-orange); background: #fff5ee; }
#theme-toggle-btn { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--subtle-text-color); padding: 5px; }
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-nav-toggle .icon-bar { display: block; width: 22px; height: 2px; background: #333; margin: 4px 0; transition: 0.3s; }

/* === PAGE CONTAINER === */
.page-container { max-width: 1200px; margin: 0 auto; padding: 20px 20px 60px 20px; min-height: 500px; box-sizing: border-box; }
.content { background: var(--card-bg-color); padding: 30px 40px; border-radius: 8px; margin-top: 30px; border: 1px solid var(--border-color); }

/* === TY CARD (ORTAK KART) === */
.ty-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); border: 1px solid var(--border-color); padding: 20px; }

/* === BREADCRUMB === */
.breadcrumb { font-size: 12px; color: #666; margin-bottom: 15px; }
.breadcrumb a { color: #333; }
.breadcrumb a:hover { color: var(--primary-orange); text-decoration: underline; }

/* === ANA SAYFA HERO === */
.hero-section { display: grid; grid-template-columns: 240px 1fr 240px; gap: 20px; margin-top: 20px; }
.category-sidebar { background: #fff; border: 1px solid var(--border-color); border-radius: 4px; }
.cat-header { background: var(--primary-orange); color: #fff; padding: 12px 15px; font-size: 13px; font-weight: bold; border-radius: 4px 4px 0 0; }
.cat-list li { border-bottom: 1px solid #f0f0f0; }
.cat-list a { display: flex; justify-content: space-between; padding: 10px 15px; font-size: 12px; color: #555; transition: 0.2s; }
.cat-list a:hover { color: var(--primary-orange); background: #fcfcfc; }
.main-slider { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 30px; min-height: 300px; }
.slider-content .badge { background: #e60000; font-size: 11px; padding: 3px 8px; border-radius: 2px; display: inline-block; margin-bottom: 10px; }
.slider-content h2 { font-size: 26px; margin: 15px 0; letter-spacing: 1px; line-height: 1.3; }
.slider-content p { font-size: 14px; opacity: 0.85; margin-bottom: 20px; }
.ty-card.featured-side { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ty-card.featured-side img { width: 100%; border-radius: 4px; margin-bottom: 10px; }
.ty-card.featured-side h5 { font-size: 12px; margin: 10px 0 5px; color: #333; }
.ty-card.featured-side .price { font-size: 14px; font-weight: bold; color: var(--primary-orange); }

/* === SECTION TITLE === */
.section-title { font-size: 13px; font-weight: 700; border-bottom: 2px solid var(--primary-orange); display: inline-block; padding-bottom: 4px; margin: 30px 0 15px; text-transform: uppercase; color: #333; }

/* === ÜRÜN KARTLARI === */
.product-grid, .product-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.product-card { background: #fff; border: 1px solid var(--border-color); padding: 10px; text-align: center; border-radius: 4px; transition: 0.2s; position: relative; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-color: var(--primary-orange); }
.product-card img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 8px; border-radius: 4px; }
.product-card h3, .product-card h6 { font-size: 12px; margin-bottom: 4px; color: #333; line-height: 1.4; }
.product-card .description { font-size: 11px; color: var(--subtle-text-color); flex-grow: 1; }
.product-card .price { font-size: 14px; font-weight: bold; color: var(--primary-orange); margin-top: auto; padding-top: 5px; }
.product-card .normal-price { font-size: 14px; font-weight: bold; color: var(--primary-orange); }
.discount-badge { position: absolute; top: 8px; left: 8px; background: var(--button-red-bg); color: #fff; padding: 3px 8px; font-size: 11px; font-weight: 700; border-radius: 3px; z-index: 1; }
.original-price { text-decoration: line-through; color: #999; font-size: 12px; }
.discounted-price { color: var(--button-red-bg); font-weight: 700; }
.price-container { display: flex; align-items: baseline; gap: 8px; justify-content: center; margin-bottom: 8px; flex-wrap: wrap; }
.product-footer { padding: 8px 0 0; margin-top: auto; }
.product-title-link { text-decoration: none; color: inherit; transition: color 0.2s; font-weight: 600; }
.product-title-link:hover { color: var(--primary-orange); }
.product-content { padding: 5px 0; flex-grow: 1; display: flex; flex-direction: column; }
.out-of-stock { opacity: 0.7; }

/* === SLIDER === */
.hero-slider { width: 100%; height: 300px; margin: 20px auto 0; border-radius: 4px; overflow: hidden; }
.hero-slider .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #fff; }
.hero-slider .swiper-pagination-bullet-active { background: var(--primary-orange); }

/* === ÜRÜN DETAY === */
.product-detail-grid { display: grid; grid-template-columns: 450px 1fr 300px; gap: 20px; align-items: start; }
.gallery-main img { width: 100%; height: 500px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-color); margin-bottom: 10px; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs img { width: 60px; height: 80px; object-fit: cover; border: 1px solid var(--border-color); border-radius: 4px; cursor: pointer; }
.gallery-thumbs img:hover { border-color: var(--primary-orange); }
.product-info h1 { font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.product-brand a { color: #333; font-weight: bold; text-decoration: underline; font-size: 14px; }
.product-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #666; margin: 10px 0 20px; }
.product-rating .stars { color: #f39c12; font-size: 14px; }
.price-box { margin: 20px 0; }
.old-price { font-size: 16px; color: #999; text-decoration: line-through; display: block; }
.new-price { font-size: 28px; color: var(--primary-orange); font-weight: bold; }
.action-buttons { display: flex; gap: 10px; margin-top: 20px; }
.btn-add-cart { flex: 1; background: var(--primary-orange); color: #fff; font-size: 16px; font-weight: bold; border: none; border-radius: 6px; padding: 15px; cursor: pointer; }
.btn-add-cart:hover { background: var(--dark-orange); }
.btn-favorite { background: #fff; border: 1px solid var(--border-color); color: #666; border-radius: 6px; width: 50px; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.seller-box { font-size: 13px; }
.seller-name { font-size: 14px; font-weight: bold; display: flex; justify-content: space-between; margin-bottom: 15px; }
.seller-score { background: var(--green-bg); color: #fff; padding: 2px 6px; border-radius: 4px; }
.seller-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #555; }
.seller-features i { color: var(--green-bg); font-size: 16px; }

/* === SEPET === */
.cart-layout, .cart-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.cart-header { font-size: 20px; font-weight: bold; margin-bottom: 20px; }
.cart-seller-header { padding: 15px 20px; border-bottom: 1px solid var(--border-color); font-size: 13px; background: #fafafa; border-radius: 6px 6px 0 0; }
.cart-item { display: flex; align-items: center; padding: 20px; gap: 20px; border-bottom: 1px solid var(--border-color); }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border: 1px solid var(--border-color); border-radius: 4px; }
.cart-item-details { flex: 1; }
.cart-item-title { font-size: 14px; margin-bottom: 5px; }
.qty-stepper { display: flex; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; }
.qty-stepper button { background: #fafafa; border: none; padding: 8px 12px; cursor: pointer; }
.qty-stepper input { width: 40px; text-align: center; border: none; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); font-weight: bold; }
.cart-item-price { font-size: 16px; font-weight: bold; color: var(--primary-orange); }
.cart-summary { position: sticky; top: 20px; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; color: #666; margin-bottom: 10px; }
.summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: bold; margin: 15px 0; border-top: 1px solid var(--border-color); padding-top: 15px; }
.cart-items { background: #fff; border: 1px solid var(--border-color); border-radius: 6px; }
.cart-product-cell { display: flex; align-items: center; gap: 15px; }
.cart-product-cell img { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; }
.empty-cart-message { text-align: center; padding: 30px; background: #fff; border: 1px solid var(--border-color); border-radius: 6px; }
.proceed-checkout-button, .proceed-payment-button { background: var(--button-green-bg); color: #fff; padding: 15px; text-align: center; display: block; text-decoration: none; border-radius: 6px; font-weight: 700; font-size: 1em; width: 100%; margin-top: 15px; }
.remove-link { color: var(--button-red-bg); text-decoration: none; font-weight: 600; cursor: pointer; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; }
.summary-row.total { font-weight: bold; font-size: 1.2em; padding-top: 15px; }

/* === FORM SAYFALARI (GİRİŞ/KAYIT/BAYİ) === */
.auth-wrapper { max-width: 450px; margin: 40px auto; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--border-color); border-radius: 6px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--border-color); }
.auth-tab { flex: 1; text-align: center; padding: 15px; font-size: 16px; font-weight: bold; color: #999; cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; }
.auth-tab.active { color: var(--primary-orange); border-bottom-color: var(--primary-orange); }
.auth-tab:hover { color: var(--primary-orange); }
.form-input, .form-group input, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; margin-bottom: 15px; outline: none;
    background: #fff; color: #333; transition: border-color 0.2s; box-sizing: border-box;
}
.form-input:focus, .form-group input:focus, .form-group textarea:focus { border-color: var(--primary-orange); }
.form-group { margin-bottom: 12px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: bold; color: #555; }
.form-group button { width: 100%; padding: 14px; background: var(--primary-orange); color: #fff; font-size: 16px; font-weight: bold; border: none; border-radius: 6px; cursor: pointer; }
.form-group button:hover { background: var(--dark-orange); }
.form-container { max-width: 500px; margin: 40px auto; background: #fff; padding: 30px 40px; border-radius: 8px; border: 1px solid var(--border-color); }
.b2b-wrapper { max-width: 800px; margin: 0 auto; }
.form-section-title { font-size: 16px; color: var(--primary-orange); font-weight: bold; margin: 20px 0 15px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-footer { margin-top: 20px; font-size: 14px; text-align: center; }
.form-footer a { color: var(--primary-orange); font-weight: 600; }

/* === TABLO === */
table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 20px; font-size: 14px; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--border-color); text-align: left; }
thead th { background: #fafafa; font-weight: 600; color: var(--subtle-text-color); border-bottom: 2px solid var(--border-color); }
tbody tr:hover { background: #fcfcfc; }
tr:last-child td { border-bottom: none; }

/* === KONTROL PANELİ / ADMİN === */
.admin-layout, .profile-layout { display: flex; gap: 30px; align-items: flex-start; }
.admin-sidebar, .profile-nav { flex: 1; max-width: 220px; }
.admin-sidebar ul, .profile-nav ul { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; position: sticky; top: 90px; }
.admin-sidebar a, .profile-nav a { display: block; padding: 12px 15px; text-decoration: none; color: var(--subtle-text-color); font-weight: 600; font-size: 13px; border-bottom: 1px solid #f0f0f0; transition: 0.2s; }
.admin-sidebar a:hover, .profile-nav a:hover, .admin-sidebar a.active, .profile-nav a.active { background: var(--primary-orange); color: #fff; }
.admin-content, .profile-content { flex: 3; }

/* === MESAJ === */
.message { padding: 12px 15px; border-radius: 6px; margin-bottom: 15px; font-size: 14px; }
.message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.message.info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* === FOOTER === */
.site-footer, .footer { background: #fff; border-top: 1px solid var(--border-color); padding-top: 30px; font-size: 12px; margin-top: 40px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding-bottom: 20px; max-width: 1200px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }
.footer-col h5, .footer-section h4 { font-size: 13px; margin-bottom: 12px; color: #333; }
.footer-col ul li, .footer-section.links li { margin-bottom: 8px; }
.footer-col ul li a, .footer-section.links a { color: #666; font-size: 12px; transition: color 0.2s; }
.footer-col ul li a:hover, .footer-section.links a:hover { color: var(--primary-orange); }
.footer-section.about p { font-size: 12px; color: #666; line-height: 1.6; }
.social-links { display: flex; gap: 10px; margin-top: 12px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #f5f5f5; color: #666; border-radius: 50%; font-size: 16px; transition: 0.2s; }
.social-links a:hover { background: var(--primary-orange); color: #fff; }
.footer-logo-img { max-height: 40px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #f0f0f0; padding: 15px 0; text-align: center; color: #999; font-size: 12px; }
.footer-email-input { width: 100%; padding: 10px; border-radius: 4px; border: 1px solid var(--border-color); font-size: 12px; box-sizing: border-box; margin-bottom: 8px; }
.footer-submit-btn { width: 100%; padding: 10px; border: none; border-radius: 4px; background: var(--primary-orange); color: #fff; font-weight: 600; cursor: pointer; font-size: 12px; }

/* === CHECKOUT === */
.checkout-layout { display: flex; gap: 40px; }
.checkout-form-container { flex: 2; }
.checkout-summary-container { flex: 1; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 20px; position: sticky; top: 50px; }
.checkout-summary-container h3 { margin-top: 0; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.summary-item { display: flex; align-items: center; gap: 15px; margin: 15px 0; }
.summary-item img { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; }
.checkout-form fieldset { border: 1px solid var(--border-color); border-radius: 6px; padding: 10px 20px 20px; margin-bottom: 25px; }
.checkout-form legend { font-weight: 600; padding: 0 10px; }
.agreement-box, .checkbox-group { display: flex; align-items: center; gap: 12px; padding: 5px; border-radius: 4px; background: var(--bg-color); }
.agreement-box label, .checkbox-group label { margin-bottom: 0; font-size: 0.9em; cursor: pointer; }
.discount-row { color: var(--button-green-bg); font-weight: bold; }

/* === FİLTRE === */
.filter-sidebar { background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 15px; }
.filter-sidebar h4 { font-size: 13px; margin-bottom: 10px; color: #333; }
.filter-group { margin-bottom: 15px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #555; cursor: pointer; margin-bottom: 6px; }
.filter-group input[type="checkbox"] { accent-color: var(--primary-orange); }

/* === YORUMLAR === */
.reviews-section { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.review-card { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
.review-author { font-weight: 600; }
.review-date { font-size: 0.9em; color: var(--subtle-text-color); }
.review-rating .star { font-size: 1.1em; color: #ccc; }
.review-rating .star.filled { color: #f39c12; }
.star-rating { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.star-rating .stars { display: inline-block; direction: rtl; }
.star-rating .stars label { font-size: 1.6em; color: #ccc; cursor: pointer; padding: 0 1px; transition: color 0.2s; }
.star-rating .stars input:checked ~ label, .star-rating .stars label:hover, .star-rating .stars label:hover ~ label { color: #f39c12; }

/* === ÜRÜN DETAY (ESKI UYUMLULUK) === */
.product-view-layout { display: flex; gap: 40px; }
.product-gallery { flex: 1; }
.main-image-container { border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; margin-bottom: 15px; }
.main-image-container img { width: 100%; height: 100%; display: block; object-fit: cover; }
.thumbnail-container { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbnail-image { width: 80px; height: 80px; object-fit: cover; border: 2px solid var(--border-color); border-radius: 6px; cursor: pointer; transition: border-color 0.2s; }
.thumbnail-image:hover, .thumbnail-image.active { border-color: var(--primary-orange); }
.product-details { flex: 1; }
.product-description { line-height: 1.6; color: var(--subtle-text-color); }
.price-container-view { margin: 20px 0; padding: 15px; background: var(--bg-color); border-radius: 6px; display: flex; align-items: center; gap: 20px; }
.price-container-view .original-price { font-size: 1.2em; text-decoration: line-through; color: var(--subtle-text-color); }
.price-container-view .discounted-price { font-size: 2em; font-weight: 600; color: var(--primary-orange); }
.product-image-container { width: 100%; background: var(--bg-color); }
.product-image-container img { width: 100%; height: 100%; object-fit: cover; }
.normal-price { font-size: 14px; font-weight: bold; color: var(--primary-orange); }
.stock-info { padding: 8px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; display: inline-block; margin-top: 10px; }
.stock-info.in { background: #d4edda; color: #155724; }
.stock-info.out { background: #f8d7da; color: #721c24; }
.social-share-buttons { display: flex; gap: 10px; margin-top: 15px; }
.social-share-buttons a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-color); display: flex; align-items: center; justify-content: center; color: var(--subtle-text-color); transition: 0.2s; }
.social-share-buttons a:hover { background: var(--primary-orange); color: #fff; }
.product-rating-summary { display: flex; align-items: center; gap: 10px; margin: 10px 0 15px 0; }
.stars-display .star { font-size: 1.1em; color: #ccc; }
.stars-display .star.filled { color: #f39c12; }
.review-count-text { font-size: 0.9em; color: var(--subtle-text-color); }
.existing-reviews { padding: 10px 0; }
.review-comment { margin-top: 10px; line-height: 1.5; }
.review-form-container { background: var(--bg-color); padding: 25px; border-radius: 6px; margin-bottom: 40px; }

/* === MAĞAZA (ESKI UYUMLULUK) === */
.store-layout { display: flex; gap: 30px; }
.store-sidebar { flex: 1; max-width: 260px; }
.store-sidebar .filter-sidebar { position: sticky; top: 90px; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { border-bottom: 1px solid #f0f0f0; }
.category-list a { display: flex; justify-content: space-between; padding: 10px 15px; font-size: 13px; color: #555; transition: 0.2s; }
.category-list a:hover { color: var(--primary-orange); background: #fcfcfc; }
.category-list .count { font-size: 12px; color: var(--subtle-text-color); }
.store-main { flex: 3; }
.store-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.store-toolbar select { padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 13px; }
.stock-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.7); color: #fff; padding: 4px 8px; border-radius: 6px; font-size: .75em; }
.description { font-size: 12px; color: var(--subtle-text-color); line-height: 1.4; }
.add-to-cart-form { display: inline; }

/* === SİPARİŞLER (ESKI UYUMLULUK) === */
.order-card { background: var(--card-bg-color); border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.order-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: var(--bg-color); border-bottom: 1px solid var(--border-color); flex-wrap: wrap; gap: 10px; }
.order-id { font-weight: 700; font-size: 14px; }
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-badge.pending { background: #fff3cd; color: #856404; }
.status-badge.completed { background: #d4edda; color: #155724; }
.status-badge.shipped { background: #cce5ff; color: #004085; }
.status-badge.cancelled { background: #f8d7da; color: #721c24; }
.order-grid { padding: 15px 20px; }
.tracking-box { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 15px; margin: 10px 20px 20px; }

/* === PROFİL (ESKI UYUMLULUK) === */
.profile-tab-link { display: block; padding: 12px 15px; text-decoration: none; color: var(--subtle-text-color); font-weight: 600; border-radius: 6px; margin-bottom: 5px; border: 1px solid transparent; transition: 0.2s; }
.profile-tab-link.active, .profile-tab-link:hover { background: var(--bg-color); color: var(--text-color); border-color: var(--border-color); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease-in-out; }
.form-divider { border: none; border-top: 1px solid var(--border-color); margin: 20px 0; }
.address-col { flex: 1; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* === BUTON VARYANTLARI (ESKI UYUMLULUK) === */
.button-success { background: var(--button-green-bg) !important; }
.button-blue { background: #007bff !important; }
.button-full-width { width: 100%; box-sizing: border-box; }
.button-primary { background: var(--primary-orange) !important; }
.hint { font-size: 0.85em; color: var(--subtle-text-color); display: block; margin-top: 4px; }
.label-container { display: flex; justify-content: space-between; align-items: center; }
.forgot-password-link { font-size: 13px; color: var(--primary-orange); font-weight: 600; }
.shipping-free { color: var(--button-green-bg); font-weight: 600; }
.coupon-container { margin-top: 20px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.dealer-code-container { margin-top: 15px; }

/* === FAQ === */
.faq-container { max-width: 850px; margin: 40px auto; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; background: var(--card-bg-color); border: none; padding: 20px 25px; font-size: 1.1em; font-weight: 600; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-color); transition: background 0.2s; }
.faq-question:hover { background: var(--bg-color); }
.faq-question.active { color: var(--primary-orange); }
.faq-icon { font-size: 1em; color: var(--subtle-text-color); transition: transform 0.3s; }
.faq-question.active .faq-icon { transform: rotate(180deg); color: var(--primary-orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; background: var(--bg-color); }
.faq-answer-content { padding: 25px; border-top: 1px solid var(--border-color); line-height: 1.7; font-size: 1em; color: var(--subtle-text-color); }

/* === NASIL ÇALIŞIR === */
.how-it-works-hero { text-align: center; padding: 40px 0; }
.how-it-works-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--border-color); }
.how-it-works-section:nth-child(even) .how-it-works-image { order: 2; }
.how-it-works-image { text-align: center; }
.how-it-works-image i { font-size: 6em; color: var(--primary-orange); opacity: 0.8; }
.how-it-works-text .step-number { display: inline-block; background: var(--primary-orange); color: #fff; padding: 5px 12px; font-weight: 600; border-radius: 20px; margin-bottom: 15px; font-size: 0.9em; }
.how-it-works-text h2 { font-size: 1.8em; margin-top: 0; margin-bottom: 15px; }
.how-it-works-text p { font-size: 1em; line-height: 1.7; color: var(--subtle-text-color); }
.how-it-works-last-section { border-bottom: none; }

/* === DARK MODE === */
body.dark-mode {
    --bg-color: #18191a;
    --text-color: #e4e6eb;
    --card-bg-color: #242526;
    --header-bg-color: #242526;
    --header-text-color: #e4e6eb;
    --border-color: #3a3b3c;
    --primary-orange: #ff9933;
    --link-color: #ff9933;
    --subtle-text-color: #b0b3b8;
}
body.dark-mode .top-bar, body.dark-mode .site-header, body.dark-mode .main-header { background: #242526; }
body.dark-mode .search-bar input { background: #3a3b3c; color: #e4e6eb; border-color: #3a3b3c; }
body.dark-mode .category-sidebar, body.dark-mode .ty-card, body.dark-mode .product-card { background: #242526; }
body.dark-mode .cat-list a { color: #b0b3b8; }
body.dark-mode .cat-list a:hover { color: var(--primary-orange); background: #3a3b3c; }
body.dark-mode .footer, body.dark-mode .site-footer { background: #18191a; border-top-color: #3a3b3c; }
body.dark-mode .footer-bottom { border-top-color: #3a3b3c; }
body.dark-mode table { border-color: #3a3b3c; }
body.dark-mode thead th { background: #242526; }
body.dark-mode .admin-sidebar ul, body.dark-mode .profile-nav ul { background: #242526; border-color: #3a3b3c; }
body.dark-mode .admin-sidebar a, body.dark-mode .profile-nav a { color: #b0b3b8; border-bottom-color: #3a3b3c; }
body.dark-mode .cart-item { border-bottom-color: #3a3b3c; }

/* === MOBİL UYUMLULUK === */
@media (max-width: 992px) {
    .hero-section, .product-detail-grid, .cart-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .admin-layout, .profile-layout, .checkout-layout { flex-direction: column; }
    .admin-sidebar, .profile-nav { max-width: 100%; border-right: none; padding-right: 0; margin-bottom: 20px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-container, .header-content { flex-wrap: wrap; }
    .search-bar { order: 3; flex: 1 1 100%; margin-top: 10px; }
    .main-nav { display: none; flex-direction: column; width: 100%; background: #fff; border-top: 1px solid var(--border-color); padding: 10px 0; }
    .main-nav.is-open { display: flex; }
    .mobile-nav-toggle { display: block; }
    .product-grid, .product-row { grid-template-columns: repeat(2, 1fr); }
    .hero-section { grid-template-columns: 1fr; }
    .category-sidebar { display: none; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .form-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .product-grid, .product-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card { padding: 6px; }
    .product-card img { height: 130px; }
    .cart-item { flex-wrap: wrap; gap: 10px; padding: 12px; }
}
