/* ============================================
   ALTINKAYA MATBAA - E-Ticaret Stilleri
   BASKI ADAM Tarzı Profesyonel Tasarım
   ============================================ */

/* ============================================
   Header E-Ticaret Eklentileri
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
    height: 100%;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 360px;
    margin-right: 10px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    margin-left: 10px;
}

.header-search input {
    width: 100%;
    padding: 10px 48px 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header-search input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.15);
}

.header-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    background: var(--secondary-dark);
    transform: translateY(-50%) scale(1.1);
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin: 0;
}

.header-icon-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Teklif Al Butonu - Header */
.btn-teklif-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.3);
    white-space: nowrap;
    height: 44px;
    margin: 0 !important;
    line-height: 1;
    align-self: center;
}

.btn-teklif-header i {
    font-size: 14px;
}

.btn-teklif-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 150, 62, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 991px) {
    .btn-teklif-header span {
        display: none;
    }
    .btn-teklif-header {
        padding: 0;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
}

/* ===== Teklif Modal Stilleri (Moved from header.php) ===== */
.teklif-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,20,40,0.7);
    backdrop-filter: blur(6px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.teklif-modal-overlay.active { display: flex; }

.teklif-modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
    from { transform: scale(0.9) translateY(20px); opacity:0; }
    to   { transform: scale(1) translateY(0); opacity:1; }
}

.teklif-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10;
    color: #333;
}
.teklif-close:hover { background: rgba(220,0,0,0.1); color: #dc2626; }

.teklif-left {
    background: linear-gradient(160deg, #0f2044 0%, #1a3a73 100%);
    border-radius: 20px 0 0 20px;
    padding: 40px 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.teklif-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.teklif-brand img { width: 36px; height: 36px; border-radius: 8px; }
.teklif-brand span { font-weight: 800; font-size: 15px; color: #fff; }
.teklif-title { font-size: 24px; font-weight: 800; line-height: 1.25; color: #fff; margin: 0; }
.teklif-subtitle { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.65; }

.teklif-features { display:flex; flex-direction:column; gap:10px; margin-top:4px; }
.teklif-feature { display:flex; align-items:center; gap:10px; font-size:13px; color:rgba(255,255,255,0.9); }
.teklif-feature i { color:#adc7ff; font-size:13px; flex-shrink:0; }
.teklif-contact { margin-top: auto; }
.teklif-wa-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    justify-content: center;
    transition: 0.2s;
}
.teklif-wa-btn:hover { background: #1da851; color:#fff; }

.teklif-right { padding: 36px 32px; }

.teklif-service-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
}
.teklif-service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 4px;
    background: #f5f7ff;
    border: 2px solid #e8ecff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    transition: 0.2s;
    font-family: inherit;
}
.teklif-service-btn i { font-size: 18px; color: #8395c0; }
.teklif-service-btn.selected, .teklif-service-btn:hover {
    background: #e8f0fe;
    border-color: #1a56db;
    color: #1a56db;
}
.teklif-service-btn.selected i, .teklif-service-btn:hover i { color: #1a56db; }

.teklif-form-group { margin-bottom: 14px; }
.teklif-form-group label { display:block; font-size:13px; font-weight:600; color:#444; margin-bottom:6px; }
.teklif-form-group input,
.teklif-form-group select,
.teklif-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dde3f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fafafe;
    transition: 0.2s;
    box-sizing: border-box;
}
.teklif-form-group input:focus,
.teklif-form-group select:focus,
.teklif-form-group textarea:focus {
    outline: none;
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.teklif-form-group textarea { resize: vertical; }

.teklif-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0f2044, #1a56db);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s;
    font-family: inherit;
    margin-top: 4px;
}
.teklif-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,86,219,0.35); }

@media (max-width: 700px) {
    .teklif-modal-box { grid-template-columns: 1fr; max-height: 95vh; }
    .teklif-left { border-radius: 20px 20px 0 0; padding: 28px 24px; }
    .teklif-right { padding: 24px; }
    .teklif-service-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 480px) {
    .teklif-service-grid { grid-template-columns: repeat(2,1fr); }
    .teklif-left { padding: 20px 16px; }
    .teklif-right { padding: 16px; }

    /* Teklif butonunu çok küçük ekranlarda gizle: hamburger için yer aç */
    .btn-teklif-header {
        display: none !important;
    }

    /* Site adı daha da kısa */
    .site-name {
        max-width: 80px;
    }
}

.header-icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--error);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.user-menu-dropdown {
    position: relative;
}

.user-menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
    margin-top: 8px;
}

.user-menu-content.active {
    display: block;
}

.user-menu-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.user-menu-content a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.user-menu-content a i {
    width: 16px;
    text-align: center;
    color: var(--gray-400);
}

.user-menu-content hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 0;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--gray-300);
}

/* ============================================
   Ürün Kataloğu
   ============================================ */
.products-page {
    margin-top: var(--header-total-height);
    min-height: calc(100vh - var(--header-total-height));
    background: var(--gray-50);
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 30px 0 60px;
}

/* Filtre Paneli */
.filter-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-total-height) + 20px);
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

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

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-group label:hover {
    color: var(--primary);
}

.filter-group input[type="checkbox"] {
    accent-color: var(--secondary);
    width: 16px;
    height: 16px;
}

.filter-group .count {
    margin-left: auto;
    font-size: 12px;
    color: var(--gray-400);
}

/* Ürün Grid */
.products-content {
    min-width: 0;
}

.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.products-count {
    font-size: 14px;
    color: var(--gray-500);
}

.products-sort select {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
}

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

/* Ürün Kartı */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--error);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 1;
}

.product-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover .product-card-actions {
    opacity: 1;
}

.product-card-actions button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-600);
    font-size: 14px;
}

.product-card-actions button:hover {
    background: var(--secondary);
    color: var(--white);
}

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

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

.product-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.product-card-title a:hover {
    color: var(--secondary);
}

.product-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    flex: 1;
    line-height: 1.5;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

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

.product-card-price .currency {
    font-size: 13px;
    font-weight: 500;
}

.product-card-price .from {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 400;
    display: block;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

/* Sayfalama */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.pagination a:hover {
    background: var(--gray-50);
    border-color: var(--secondary);
    color: var(--secondary);
}

.pagination .active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* ============================================
   Ürün Detay Sayfası
   ============================================ */
.product-detail-page {
    margin-top: var(--header-total-height);
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-total-height));
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 0 60px;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-total-height) + 20px);
    height: fit-content;
}

.product-main-image {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: var(--secondary);
}

.product-info {
    padding: 10px 0;
}

.product-info-category {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-info-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-info-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.product-info-price .currency {
    font-size: 20px;
}

.product-info-price .from-text {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 400;
}

/* Ürün Seçenekleri */
.product-options {
    margin-bottom: 24px;
}

.product-option-group {
    margin-bottom: 16px;
}

.product-option-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.product-option-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--gray-700);
    transition: var(--transition);
    appearance: none;
    background: var(--white) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center/12px;
}

.product-option-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

/* Adet seçici */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
}

.quantity-selector label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-right: 16px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.quantity-selector button:first-of-type {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.quantity-selector button:last-of-type {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quantity-selector button:hover {
    background: var(--gray-50);
    border-color: var(--secondary);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    border: 2px solid var(--gray-200);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--gray-800);
}

.quantity-selector input:focus {
    outline: none;
}

.product-add-to-cart {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-cart-large {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cart-large:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-wishlist {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
    color: var(--gray-400);
}

.btn-wishlist:hover {
    border-color: var(--error);
    color: var(--error);
}

/* Ürün Detay Bilgileri */
.product-specs {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.product-specs h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.product-specs td:first-child {
    font-weight: 600;
    color: var(--gray-700);
    width: 40%;
}

.product-specs td:last-child {
    color: var(--gray-600);
}

/* ============================================
   Sepet Sayfası
   ============================================ */
.cart-page {
    margin-top: var(--header-total-height);
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-total-height));
    padding: 30px 0 60px;
}

.cart-page h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-100);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.cart-item-info .item-options {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
    color: var(--gray-600);
}

.cart-item-quantity button:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.cart-item-quantity button:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.cart-item-quantity input {
    width: 48px;
    height: 32px;
    border: 1px solid var(--gray-200);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
}

.cart-item-price {
    text-align: right;
    min-width: 100px;
}

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

.cart-item-price .remove-btn {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-price .remove-btn:hover {
    color: var(--error);
}

/* Sepet Özeti */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-total-height) + 20px);
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-600);
}

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

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    text-decoration: none;
}

.btn-checkout:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.cart-empty i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.cart-empty h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.cart-empty p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ============================================
   Giriş / Kayıt Sayfası
   ============================================ */
.auth-page {
    margin-top: var(--header-total-height);
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-total-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.auth-container h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 8px;
}

.auth-container .auth-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 32px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

.form-group .error-text {
    font-size: 12px;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

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

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.btn-auth:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

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

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.auth-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================
   Checkout Sayfası
   ============================================ */
.checkout-page {
    margin-top: var(--header-total-height);
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-total-height));
    padding: 30px 0 60px;
}

.checkout-page h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.checkout-order-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-total-height) + 20px);
}

.checkout-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.checkout-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

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

.checkout-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.checkout-item-info p {
    font-size: 12px;
    color: var(--gray-500);
}

.checkout-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
}

/* ============================================
   Hesabım Sayfası
   ============================================ */
.account-page {
    margin-top: var(--header-total-height);
    background: var(--gray-50);
    min-height: calc(100vh - var(--header-total-height));
    padding: 30px 0 60px;
}

.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.account-sidebar-user {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.account-sidebar-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--secondary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.account-sidebar-user h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}

.account-sidebar-user p {
    font-size: 13px;
    color: var(--gray-500);
}

.account-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.account-sidebar-menu a:hover,
.account-sidebar-menu a.active {
    background: var(--gray-50);
    color: var(--primary);
}

.account-sidebar-menu a i {
    width: 16px;
    text-align: center;
    color: var(--gray-400);
}

.account-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.account-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

/* Sipariş Tablosu */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-100);
}

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

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.completed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

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

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

    .product-gallery {
        position: relative;
        top: 0;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }
}

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

    .filter-panel {
        position: relative;
        top: 0;
    }

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

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .cart-item-quantity,
    .cart-item-price {
        grid-column: 2;
    }

    .header-search {
        display: none;
    }

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

    .auth-container {
        padding: 24px;
    }
}

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

    .product-info-title {
        font-size: 22px;
    }

    .product-info-price {
        font-size: 26px;
    }
}

/* ===== SERVICE PRODUCT PAGE ===== */
.service-product-page {
    padding: 32px 0 60px;
    margin-top: var(--header-total-height, 124px);
    background: #f8f9fa;
    min-height: 80vh;
}

.service-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

.service-breadcrumb a {
    color: var(--primary, #1a56db);
    text-decoration: none;
}

.service-breadcrumb a:hover { text-decoration: underline; }
.service-breadcrumb span { margin: 0 6px; }

.service-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.service-main-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    margin-bottom: 12px;
    cursor: zoom-in;
    transition: transform .3s;
}

.service-main-img:hover { transform: scale(1.01); }

.service-thumb-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s, opacity .2s;
    opacity: .75;
}

.service-thumb:hover,
.service-thumb.active {
    border-color: var(--primary, #1a56db);
    opacity: 1;
}

.service-category-badge {
    display: inline-block;
    background: #e8f0fe;
    color: var(--primary, #1a56db);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.service-product-title {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
    line-height: 1.2;
}

.service-product-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.service-rating-row .stars { color: #f59e0b; }

.service-price-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border: 2px solid #c7d7fc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.service-price-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.service-price-main {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary, #1a56db);
    line-height: 1;
}

.service-price-note {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.service-options { margin-bottom: 24px; }

.service-option-row { margin-bottom: 16px; }

.service-option-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.service-option-row select,
.service-option-row input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color .2s;
}

.service-option-row select:focus,
.service-option-row input[type="number"]:focus {
    outline: none;
    border-color: var(--primary, #1a56db);
}

.service-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.service-qty-row label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-control button {
    width: 40px;
    height: 44px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s;
    color: #333;
}

.qty-control button:hover { background: #e0e0e0; }

.qty-control input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: inherit;
}

.qty-control input:focus { outline: none; }

.service-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-service-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--primary, #1a56db);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: inherit;
    text-decoration: none;
}

.btn-service-primary:hover {
    background: #1347c0;
    transform: translateY(-1px);
}

.btn-service-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
    text-decoration: none;
}

.btn-service-whatsapp:hover { background: #1db954; }

.btn-service-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    color: var(--primary, #1a56db);
    border: 2px solid var(--primary, #1a56db);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    text-decoration: none;
}

.btn-service-outline:hover {
    background: var(--primary, #1a56db);
    color: #fff;
}

.service-trust-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.service-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.service-trust-item i {
    color: var(--primary, #1a56db);
    font-size: 14px;
}

.service-detail-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.service-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
    font-family: inherit;
}

.service-tab:hover { color: var(--primary, #1a56db); }

.service-tab.active {
    color: var(--primary, #1a56db);
    border-bottom-color: var(--primary, #1a56db);
}

.service-tab-content { display: none; }
.service-tab-content.active { display: block; }

.service-tab-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.service-tab-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-tab-content ul {
    list-style: none;
    padding: 0;
}

.service-tab-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-tab-content ul li:last-child { border-bottom: none; }

.service-tab-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary, #1a56db);
    font-size: 12px;
}

.sizes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sizes-table th {
    background: #f0f4ff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #e0e0e0;
}

.sizes-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

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

.service-gallery-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.service-gallery-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a2e;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.service-gallery-grid .gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.service-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.service-gallery-grid .gallery-item:hover img { transform: scale(1.08); }

.service-gallery-grid .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,86,219,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    color: #fff;
    font-size: 24px;
}

.service-gallery-grid .gallery-item:hover .gallery-overlay { opacity: 1; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.related-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    padding: 16px;
    border: 2px solid #f0f0f0;
    transition: border-color .2s, box-shadow .2s;
    display: block;
}

.related-card:hover {
    border-color: var(--primary, #1a56db);
    box-shadow: 0 4px 16px rgba(26,86,219,.1);
}

.related-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.related-card span {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: block;
}

/* ============================================
   Hızlı Bilgi Kutusu (service.php için)
   ============================================ */
.service-quick-info {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.service-quick-info-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.service-quick-info-title i { color: #1a56db; margin-right: 6px; }

.service-quick-info-list { display: flex; flex-direction: column; gap: 10px; }

.service-quick-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
}

.service-quick-info-item i { width: 16px; flex-shrink: 0; }

/* ============================================
   Select (service.php için)
   ============================================ */
.service-select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color .2s;
    appearance: auto;
}

.service-select:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26,86,219,.08);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: #f9f9fb;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    transition: background .2s;
}

.faq-q:hover { background: #f0f4ff; }

.faq-icon {
    flex-shrink: 0;
    color: #1a56db;
    transition: transform .3s;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    background: #fff;
}

.faq-item.open .faq-a { display: block; }

/* ============================================
   İlçe Etiketleri
   ============================================ */
.district-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.district-tag {
    font-size: 12px;
    background: #fff;
    color: #444;
    padding: 5px 13px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #ddd;
    white-space: nowrap;
    transition: all .2s;
}

.district-tag:hover {
    background: #f0f4ff;
    border-color: #1a56db;
    color: #1a56db;
}

.district-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.district-text-grid h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.district-text-grid p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   Teklif Formu
   ============================================ */
.quote-form { max-width: 600px; }

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

.form-field { margin-bottom: 16px; }
.form-field:last-of-type { margin-bottom: 0; }

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26,86,219,.08);
}

/* ============================================
   Lightbox (service.php sınıflı)
   ============================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.32); }

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,.32); }

/* ============================================
   SEO içerik alanı
   ============================================ */
.seo-content-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.seo-content-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .service-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-gallery-col {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .header-search {
        max-width: 280px;
    }

    .district-text-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   RESPONSIVE — Mobil (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    /* ── Header ─────────────────────────────── */
    .header-search {
        display: none; /* Mobilde arama gizle, hamburger açar */
    }

    .header-actions {
        gap: 4px;
    }

    /* Header araçları arasındaki boşluğu küçült ki hamburger ekranda kalsın */
    .header-tools {
        gap: 4px;
        margin-left: 0;
    }

    /* Site adını mobilde sınırla: hamburger için yer aç */
    .site-name {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Logo küçült */
    .logo {
        height: 30px;
    }

    .header-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    /* ── Ürün sayfası genel ─────────────────── */
    .service-product-page {
        margin-top: var(--header-total-height, 124px);
    }

    .service-product-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-gallery-col {
        max-width: 100%;
    }

    .service-main-img {
        border-radius: 10px;
        width: 100%;
        height: auto;
        max-height: 340px;
        object-fit: cover;
    }

    .service-thumb-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin-top: 8px;
    }

    .service-thumb {
        height: 60px;
        border-radius: 6px;
    }

    /* ── Ürün başlık & fiyat ────────────────── */
    .service-product-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .service-product-subtitle {
        font-size: 14px;
    }

    .service-price-main {
        font-size: 26px;
    }

    .service-price-box {
        padding: 16px;
    }

    /* ── CTA butonları — tek sütun ──────────── */
    .service-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-service-primary,
    .btn-service-whatsapp,
    .btn-service-outline {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 16px;
    }

    /* ── Güven satırı — 2 sütun ─────────────── */
    .service-trust-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .service-trust-item {
        font-size: 11px;
        padding: 10px 8px;
    }

    /* ── Seçenekler ─────────────────────────── */
    .service-options {
        gap: 12px;
    }

    .service-option-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .service-option-label {
        font-size: 13px;
    }

    /* ── Sekmeler — yatay scroll ─────────────── */
    .service-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
        padding-bottom: 2px;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .service-tabs::-webkit-scrollbar { display: none; }

    .service-tab {
        flex-shrink: 0;
        font-size: 13px;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .service-detail-section,
    .service-gallery-section {
        padding: 20px 16px;
        border-radius: 12px;
        margin-top: 12px;
    }

    /* ── Tablo — yatay scroll ────────────────── */
    .sizes-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sizes-table th,
    .sizes-table td {
        padding: 10px 12px;
    }

    /* ── İlçe grid ──────────────────────────── */
    .district-text-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .district-tags {
        gap: 6px;
    }

    .district-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* ── Teklif formu ────────────────────────── */
    .quote-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* ── Galeri grid ─────────────────────────── */
    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Breadcrumb ─────────────────────────── */
    .service-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 4px;
    }

    /* ── Related grid ────────────────────────── */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Hızlı bilgi ─────────────────────────── */
    .service-quick-info {
        padding: 16px;
    }

    /* ── Lightbox butonları ─────────────────── */
    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ============================================
   RESPONSIVE — Küçük Mobil (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .service-product-title {
        font-size: 20px;
    }

    .service-price-main {
        font-size: 24px;
    }

    .service-category-badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    .service-rating-row {
        font-size: 13px;
    }

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

    .service-trust-item {
        font-size: 10px;
        padding: 8px 6px;
        gap: 4px;
    }

    .service-thumb-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-thumb {
        height: 52px;
    }

    .service-tabs {
        gap: 2px;
    }

    .service-tab {
        font-size: 12px;
        padding: 8px 12px;
    }

    .service-detail-section,
    .service-gallery-section {
        padding: 16px 12px;
    }

    .btn-service-primary,
    .btn-service-whatsapp,
    .btn-service-outline {
        font-size: 14px;
        padding: 13px 14px;
    }

    .district-tags {
        gap: 5px;
    }

    .district-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    .faq-q {
        font-size: 14px;
        padding: 14px 16px;
    }

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

    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

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


/* ─── Fiyat Alınız Stili ─────────────────────────────────────── */
.price-on-request {
    color: #e53e3e;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
}
.product-card-price .price-on-request {
    font-size: 15px;
}
