/* =====================================================
   Patinaj Hobi Dünyası - Ana Site CSS
   Renk Paleti: Logo uyumlu (kırmızı-siyah-beyaz)
   ===================================================== */

:root {
    --primary: #B71C1C;
    --primary-hover: #8E1515;
    --primary-light: #FFEBEE;
    --heading: #212121;
    --text: #424242;
    --text-light: #757575;
    --border: #E0E0E0;
    --bg: #FFFFFF;
    --bg-alt: #FAFAFA;
    --success: #2E7D32;
    --warning: #F57C00;
    --danger: #C62828;
    --footer-bg: #1A1A1A;
    --footer-text: #BDBDBD;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
    --max-width: 1200px;
    --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* =====================================================
   HEADER / NAVİGASYON
   ===================================================== */
.site-header {
    background: var(--bg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.header-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav a {
    padding: 8px 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
}

.cart-link:hover {
    background: var(--primary-hover);
    color: #fff !important;
}

.cart-count {
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger menü */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--heading);
    padding: 4px;
}

/* =====================================================
   HERO / BANNER
   ===================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #D32F2F 50%, #E53935 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    font-size: 16px;
    padding: 14px 32px;
}

/* =====================================================
   KATEGORİ KARTLARI
   ===================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}

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

.category-card .cat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 18px;
    color: var(--heading);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
   ÜRÜN KARTLARI
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card-img {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 oran */
    overflow: hidden;
    background: var(--bg-alt);
}

.product-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-img .no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.badge-out-of-stock {
    background: var(--danger);
    color: #fff;
}

.badge-featured {
    background: var(--warning);
    color: #fff;
}

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

.product-card-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-card-body h3 {
    font-size: 16px;
    color: var(--heading);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-body h3 a {
    color: var(--heading);
}
.product-card-body h3 a:hover {
    color: var(--primary);
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-card-footer {
    padding: 0 16px 16px;
}

/* =====================================================
   ÜRÜN DETAY SAYFASI
   ===================================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.product-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 1;
}

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

/* Ürün Galeri */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 1;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color 0.2s ease;
}

.gallery-thumb:hover {
    border-color: var(--text-light);
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-info h1 {
    font-size: 28px;
    color: var(--heading);
    margin-bottom: 8px;
}

.product-detail-sku {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.stock-in {
    background: #E8F5E9;
    color: var(--success);
}

.stock-low {
    background: #FFF3E0;
    color: var(--warning);
}

.stock-out {
    background: #FFEBEE;
    color: var(--danger);
}

.product-detail-desc {
    margin-bottom: 24px;
}

.product-detail-desc h3 {
    font-size: 16px;
    color: var(--heading);
    margin-bottom: 8px;
}

.product-detail-desc p {
    color: var(--text);
    line-height: 1.8;
    white-space: pre-line;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.quantity-selector label {
    font-weight: 600;
    font-size: 14px;
    color: var(--heading);
}

.quantity-selector input {
    width: 70px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    text-align: center;
    font-family: inherit;
}

.quantity-selector input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Varyant Butonları */
.variant-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.variant-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.variant-btn small {
    font-size: 11px;
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}
.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* =====================================================
   BUTONLAR
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-disabled {
    background: var(--border);
    color: var(--text-light);
    cursor: not-allowed;
}
.btn-disabled:hover {
    background: var(--border);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: var(--bg-alt);
    color: var(--primary-hover);
}

/* =====================================================
   SEPET SAYFASI
   ===================================================== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table thead th {
    background: var(--bg-alt);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product-info img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-product-name {
    font-weight: 600;
    color: var(--heading);
}

.cart-quantity-input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    text-align: center;
    font-family: inherit;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background var(--transition);
}
.cart-remove-btn:hover {
    background: #FFEBEE;
}

.cart-summary {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-top: 24px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.cart-summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--heading);
}

.cart-summary-row.total .price {
    color: var(--primary);
}

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

.cart-empty h2 {
    font-size: 22px;
    color: var(--heading);
    margin-bottom: 12px;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* =====================================================
   CHECKOUT / ÖDEME FORMU
   ===================================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    padding: 40px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    transition: border-color var(--transition);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* =====================================================
   SİPARİŞ TAKİP
   ===================================================== */
.track-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.track-result {
    max-width: 700px;
    margin: 0 auto;
}

.track-status-bar {
    display: flex;
    justify-content: space-between;
    margin: 32px 0;
    position: relative;
}

.track-status-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
}

.track-step {
    position: relative;
    text-align: center;
    z-index: 1;
    flex: 1;
}

.track-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    border: 3px solid var(--bg);
}

.track-step.completed .track-step-dot {
    background: var(--success);
    color: #fff;
}

.track-step.active .track-step-dot {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.2);
}

.track-step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.track-step.completed .track-step-label,
.track-step.active .track-step-label {
    color: var(--heading);
    font-weight: 600;
}

/* =====================================================
   SİPARİŞ BAŞARI SAYFASI
   ===================================================== */
.order-success {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.order-success .success-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.order-success h1 {
    font-size: 28px;
    color: var(--heading);
    margin-bottom: 12px;
}

.order-success p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.order-success .order-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0 32px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: var(--radius);
}

/* =====================================================
   ALERT
   ===================================================== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #E8F5E9;
    color: var(--success);
    border: 1px solid #A5D6A7;
}

.alert-error {
    background: #FFEBEE;
    color: var(--danger);
    border: 1px solid #EF9A9A;
}

.alert-warning {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFCC80;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--footer-text);
    font-size: 14px;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* =====================================================
   HEADER ARAMA KUTUSU
   ===================================================== */
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.header-search:focus-within {
    border-color: var(--primary);
}

.header-search input {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    width: 180px;
    outline: none;
}

.header-search button {
    background: none;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-light);
    transition: color var(--transition);
}

.header-search button:hover {
    color: var(--primary);
}

/* =====================================================
   FAVORİ İKONU (HEADER)
   ===================================================== */
.nav-fav-link {
    font-size: 20px;
    color: var(--text-light) !important;
    padding: 8px 10px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-fav-link:hover,
.nav-fav-link.active {
    color: var(--danger) !important;
    background: var(--primary-light);
}

/* =====================================================
   FAVORİ BUTONU (ÜRÜN KARTLARINDA)
   ===================================================== */
.product-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--text-light);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-fav-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.product-fav-btn.favorited {
    color: var(--danger);
}

/* =====================================================
   WHATSAPP FLOATING BUTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1DA851;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* =====================================================
   KVKK ÇEREZ BİLDİRİMİ
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-accept-btn {
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition);
}

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

.cookie-reject-btn {
    padding: 8px 20px;
    background: transparent;
    color: var(--footer-text);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
}

.cookie-reject-btn:hover {
    border-color: #fff;
    color: #fff;
}

/* =====================================================
   SAYFALAMA (PAGİNATİON)
   ===================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
    border: 1px solid var(--border);
    color: var(--text);
}

.pagination a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .disabled {
    color: var(--border);
    cursor: not-allowed;
    pointer-events: none;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }

    .header-nav.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .header-search {
        width: 100%;
        order: 10;
    }

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

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .section {
        padding: 40px 0;
    }

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

    .cart-table thead {
        display: none;
    }

    .cart-table tbody td {
        display: block;
        padding: 8px 16px;
        text-align: right;
    }

    .cart-table tbody td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: var(--heading);
    }

    .cart-table tbody tr {
        border-bottom: 2px solid var(--border);
        padding: 8px 0;
    }

    .cart-product-info {
        justify-content: flex-end;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .track-status-bar {
        flex-direction: column;
        gap: 16px;
    }

    .track-status-bar::before {
        display: none;
    }

    .track-step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .track-step-dot {
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }
}

/* =====================================================
   Auth Sayfaları (Giriş / Kayıt / Şifre Sıfırlama)
   ===================================================== */
.auth-form-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 32px;
}

.auth-title {
    font-size: 26px;
    color: var(--heading);
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 28px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* =====================================================
   Hesabım Sayfası — Nav Account Dropdown
   ===================================================== */
.nav-account-dropdown {
    position: relative;
    display: inline-block;
}

.nav-account-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

.nav-account-link:hover {
    color: var(--primary);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 1000;
    padding: 8px 0;
}

.nav-account-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: background var(--transition);
}

.nav-dropdown-menu a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.nav-dropdown-menu a:last-child {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 12px;
    color: var(--danger);
}

/* =====================================================
   Hesabım Sayfası — Tab Sistemi
   ===================================================== */
.account-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
    overflow-x: auto;
}

.account-tab {
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all var(--transition);
}

.account-tab:hover {
    color: var(--heading);
}

.account-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.account-section {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px;
}

.account-section h2 {
    font-size: 20px;
    color: var(--heading);
    margin-bottom: 20px;
}

/* Adres kartları */
.address-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    transition: border-color var(--transition);
}

.address-card.default {
    border-color: var(--primary);
    background: var(--primary-light);
}

.address-card-title {
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-card-title .badge-default {
    font-size: 11px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.address-card-body {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.address-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.address-card-actions a,
.address-card-actions button {
    font-size: 13px;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.address-card-actions a:hover,
.address-card-actions button:hover {
    color: var(--primary);
}

/* Sipariş tablosu (account) */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    background: var(--bg-alt);
    padding: 10px 16px;
    text-align: left;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.orders-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.orders-table tr:hover td {
    background: var(--bg-alt);
}

@media (max-width: 768px) {
    .auth-form-wrapper {
        padding: 28px 20px;
        box-shadow: none;
        border: 1px solid var(--border);
    }

    .account-tabs {
        gap: 0;
    }

    .account-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .account-section {
        padding: 20px 16px;
    }

    .nav-dropdown-menu {
        position: fixed;
        top: auto;
        right: 16px;
        left: 16px;
    }

    .orders-table {
        font-size: 13px;
    }

    .orders-table th,
    .orders-table td {
        padding: 8px 10px;
    }
}

/* =====================================================
   İLETİŞİM SAYFASI
   ===================================================== */
.contact-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-hero {
    text-align: center;
    margin-bottom: 40px;
}

.contact-hero h1 {
    font-size: 32px;
    color: var(--heading);
    margin-bottom: 8px;
}

.contact-hero p {
    color: var(--text-light);
    font-size: 16px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    line-height: 1;
}

.contact-card h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-card p {
    color: var(--heading);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.contact-card a {
    color: var(--heading);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary);
}

/* Sosyal Medya Bölümü */
.contact-social {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    padding: 28px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-social h3 {
    font-size: 18px;
    color: var(--heading);
    margin: 0;
}

.contact-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
}

.social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.social-whatsapp { background: #25D366; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-facebook { background: #1877F2; }

/* Harita Bölümü */
.contact-map {
    margin-bottom: 40px;
}

.contact-map h3 {
    font-size: 18px;
    color: var(--heading);
    margin-bottom: 16px;
}

.contact-map-wrapper {
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-social {
        flex-direction: column;
        text-align: center;
    }

    .contact-map-wrapper iframe {
        height: 280px;
    }

    .contact-hero h1 {
        font-size: 26px;
    }
}

/* =====================================================
   TESLİMAT YÖNTEMİ SEÇİCİ
   ===================================================== */
.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.delivery-option:hover {
    border-color: var(--primary);
}

.delivery-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-option-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.delivery-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.delivery-option-text strong {
    font-size: 14px;
    color: var(--heading);
}

.delivery-option-text small {
    font-size: 12px;
    color: var(--text-light);
}

.pickup-info-box {
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .delivery-options {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Mobil Checkout & UX İyileştirmeleri
   ===================================================== */

/* Mobil dokunma hedefi: minimum 48px yükseklik */
@media (max-width: 768px) {
    /* Form inputları */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        min-height: 48px;
        font-size: 16px; /* iOS zoom engelleme */
    }

    /* Butonlar */
    .btn-lg, .btn-block {
        min-height: 48px;
        font-size: 16px;
    }

    /* Checkout sticky panel mobilde sticky olmasın */
    .cart-summary {
        position: static !important;
    }

    /* Sipariş tablosu: kart görünümü */
    .orders-table thead {
        display: none;
    }
    .orders-table tbody tr {
        display: block;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 12px;
        padding: 12px 16px;
        background: var(--bg);
    }
    .orders-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 0;
        border: none;
    }
    .orders-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--heading);
        font-size: 13px;
    }

    /* Hesap sekmeleri: yatay scroll */
    .account-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .account-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Kategori grid mobilde 2 sütun */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    /* Kategori grid küçük ekranda tek sütun */
    .categories-grid {
        grid-template-columns: 1fr !important;
    }

    /* Breadcrumb küçült */
    .breadcrumb {
        font-size: 12px;
    }

    /* Header actions (sepet, favori) */
    .header-actions {
        gap: 8px;
    }
    .header-actions .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}
