/* assets/css/style.css */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.product-card .card-img-top {
    transition: transform 0.3s;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
}

/* Filtre sidebar scroll */
.sidebar-scroll {
    max-height: 250px;
    overflow-y: auto;
}

/* Responsive düzeltmeler */
@media (max-width: 768px) {
    .carousel-caption {
        display: none !important;
    }
    
    .product-card .card-title {
        font-size: 14px;
    }
    
    .navbar-nav {
        padding-bottom: 10px;
    }
}

/* Loading spinner */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* assets/css/style.css - sonuna ekleyin */

/* Toast mesajı animasyonu */
.toast {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Sepet badge animasyonu */
#cartCount {
    transition: transform 0.2s;
}

#cartCount.badge-pulse {
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Hemen Sat butonu özel stilleri */
.btn-hemen-sat {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    border: none;
    border-radius: 50px;
    padding: 6px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hemen-sat:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #b02a37 0%, #8b1a24 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-hemen-sat:active {
    transform: translateY(0);
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .btn-hemen-sat {
        padding: 4px 12px;
        font-size: 12px;
    }
    .btn-hemen-sat i {
        font-size: 10px;
    }
}


.message-icon {
    position: relative;
}

.message-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.mini-product-card{
    overflow:hidden;
    border-radius:14px;
    background:#fff;
}

.mini-product-image-wrap{
    position:relative;
}

.mini-product-image{
    width:100%;
    height:220px;
    object-fit:cover;
}

.mini-fav-btn{
    position:absolute;
    right:10px;
    bottom:10px;
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.mini-fav-btn.active{
    color:#ff2d7a;
}

.mini-card-badges-left{
    position:absolute;
    left:8px;
    top:8px;
}

.mini-card-badges-right{
    position:absolute;
    right:8px;
    top:8px;
    display:flex;
    gap:5px;
}

.mini-badge{
    font-size:12px;
    font-weight:700;
    padding:5px 8px;
    border-radius:6px;
    color:#fff;
}

.mini-badge-cargo{
    background:#099f5a;
}

.mini-badge-new{
    background:#0d6efd;
}

.mini-badge-premium{
    background:#ffc107;
    color:#111;
}

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

.mini-product-title{
    display:block;
    color:#111;
    font-weight:700;
    text-decoration:none;
    min-height:38px;
}

.mini-product-meta{
    color:#6c757d;
    font-size:14px;
    margin-top:4px;
}

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

.mini-product-price{
    color:#0d6efd;
    font-size:20px;
    font-weight:800;
}

.mini-old-price{
    color:#999;
    text-decoration:line-through;
    font-size:13px;
}

.mini-detail-btn{
    border:1px solid #0d6efd;
    color:#0d6efd;
    border-radius:999px;
    padding:4px 12px;
    font-size:13px;
    text-decoration:none;
}

.mini-seller-line{
    margin-top:10px;
    color:#6c757d;
    font-size:13px;
}

.mobile-body{
    background:#fff;
    padding-bottom:90px;
}

.mobile-topbar{
    height:60px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    z-index:999;
}

.mobile-logo{
    text-decoration:none;
    color:#111;
    font-size:22px;
    font-weight:800;
}

.mobile-top-icons{
    display:flex;
    gap:18px;
}

.mobile-top-icons a{
    color:#111;
    font-size:21px;
}



/* ÜRÜN DETAY SAYFASI */
.product-detail-page {
    background: #fff;
}

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

.product-main-image {
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 15px;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.product-thumbs img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    padding: 3px;
    background: #fff;
}

.product-thumbs img.active {
    border-color: #0d6efd;
}

.product-info-box {
    padding-top: 25px;
}

.product-category-name {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-detail-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 10px;
}

.product-condition {
    font-size: 15px;
    margin-bottom: 8px;
}

.free-shipping-badge {
    display: inline-block;
    background: #e9f8ef;
    color: #198754;
    padding: 7px 13px;
    border-radius: 999px;
    font-weight: 600;
    margin: 8px 0;
}

.buyer-protection-box {
    background: #eef6ff;
    border-radius: 14px;
    padding: 16px;
    margin-top: 18px;
}

.buyer-protection-box h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.buyer-protection-box p {
    margin: 0;
    font-size: 14px;
}

.seller-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8f9fa;
    border-radius: 14px;
    padding: 16px;
}

.seller-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
}

.seller-name {
    font-weight: 700;
}

.seller-city,
.seller-rating {
    color: #6c757d;
    font-size: 13px;
}

.premium-badge {
    background: #e8f1ff;
    color: #0d6efd;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
    margin-left: 6px;
}

.product-description-box {
    border-top: 1px solid #e9ecef;
    padding-top: 25px;
}

.product-description-box h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.product-description-box p {
    color: #444;
    line-height: 1.7;
}





/* =====================================================
   ÜRÜN DETAY SAYFASI - WEB
  2.sayfa içiniçin
===================================================== */

.product-detail-page .container {
    max-width: 1180px;
}

.product-detail-page .row {
    align-items: flex-start;
}

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

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 18px;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.product-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 9px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    padding: 3px;
    background: #fff;
}

.product-thumbs img.active {
    border-color: #0d6efd;
}

.product-info-box {
    padding-top: 28px;
}

.product-detail-price {
    font-size: 34px;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 14px;
}

.product-detail-title {
    font-size: 30px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.product-condition {
    font-size: 15px;
    color: #212529;
    margin-bottom: 18px;
}

.product-short-desc {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 18px;
}

.free-shipping-badge {
    display: inline-block;
    background: #198754;
    color: #fff;
    padding: 8px 15px;
    border-radius: 7px;
    font-weight: 700;
    margin-bottom: 18px;
}

.buyer-protection-box {
    background: #eef6ff;
    border-radius: 13px;
    padding: 18px 20px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.buyer-protection-box h5 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
}

.buyer-protection-box p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.protection-link {
    color: #0d6efd;
    font-weight: 700;
    white-space: nowrap;
}

.product-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.product-action-form {
    margin: 0;
}

.btn-buy,
.btn-offer {
    width: 100%;
    height: 48px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-buy {
    border: none;
    background: #0d6efd;
    color: white;
}

.btn-offer {
    border: 1px solid #d1d5db;
    background: white;
    color: #111827;
}

.seller-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8f9fa;
    padding: 18px;
    border-radius: 14px;
}

.seller-avatar {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    font-weight: 800;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-size: 16px;
    font-weight: 800;
}

.seller-stars {
    color: #f6b800;
    font-size: 14px;
}

.seller-comment {
    color: #374151;
    font-size: 13px;
}

.seller-city {
    color: #6b7280;
    font-size: 14px;
}

.seller-question-btn {
    border: 1px solid #0d6efd;
    background: white;
    color: #0d6efd;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    white-space: nowrap;
}

.product-description-box {
    width: 100%;
    margin-top: 45px;
    border-top: 1px solid #e5e7eb;
    padding-top: 25px;
}

/* Mobilde ürün detayı alt alta gelsin */
@media (max-width: 768px) {
    .product-main-image {
        height: 360px;
    }

    .product-gallery-box {
        position: static;
    }

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

    .buyer-protection-box,
    .seller-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .seller-question-btn {
        width: 100%;
    }
}



/* =====================================================
   ÜRÜN DETAY SAYFASI - WEB
   2.sayfa için
===================================================== */

/* =====================================================
   SEPET SAYFASI
   views/web/cart için özel tasarım
===================================================== */

.cart-page {
    max-width: 980px;
}

.cart-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 28px;
}

.seller-cart-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 28px;
}

.seller-head {
    padding: 18px 22px;
    border-bottom: 1px solid #eeeeee;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seller-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.cart-product-box {
    padding: 22px;
    position: relative;
}

.cart-product-image {
    width: 130px;
    height: 130px;
    min-width: 130px;
    object-fit: cover;
    border-radius: 10px;
    background: #f8f9fa;
}

.cart-product-title {
    display: block;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 8px;
}

.cart-product-price {
    color: #111;
    font-size: 18px;
    font-weight: 800;
}

.remove-x {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.remove-x:hover {
    background: #dc3545;
    color: #fff;
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.summary-card {
    position: sticky;
    top: 100px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.09);
    overflow: hidden;
}

.summary-card .card-body {
    padding: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
}

.summary-divider {
    height: 1px;
    background: #eeeeee;
    margin: 18px -24px;
}

.buy-button {
    background: #008f12;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    padding: 14px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.buy-button:hover {
    background: #007e10;
    color: #fff;
}

@media (max-width: 768px) {
    .cart-product-image {
        width: 95px;
        height: 95px;
        min-width: 95px;
    }

    .summary-card {
        position: static;
        margin-top: 20px;
    }
}


/* =====================================================
   SEPET SAYFASI
   views/web/cart için özel tasarım
===================================================== */

/* =====================================================
   PAYMENT / ÖDEME SAYFASI
   views/web/payment
===================================================== */

.checkout-page {
    max-width: 1200px;
}

/* ÜST BAŞLIK */
.payment-logo {
    font-size: 28px;
    font-weight: 800;
    color: #2563eb;
}

.payment-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

/* ANA KART */
.checkout-panel {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

/* BLOKLAR */
.checkout-section {
    padding: 28px;
    border-bottom: 1px solid #f1f5f9;
}

.checkout-section:last-child {
    border-bottom: 0;
}

/* ÜRÜN */
.order-thumb {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

/* FİYAT SATIRLARI */
.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
    color: #374151;
}

.summary-total {
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid #e5e7eb;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

/* KORUMA BUTONU */
.protection-help-btn {
    border: none;
    background: transparent;
    color: #2563eb;
    margin-left: 6px;
    cursor: pointer;
}

/* ADRES ALANI */
.address-box {
    background: #fafafa;
}

/* ÖDEME YÖNTEMİ */
.payment-option {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 28px;
    transition: .2s;
    background: #fff;
}

.payment-option.selected {
    border-color: #2563eb;
    background: #f8fbff;
}

.payment-details {
    margin-top: 18px;
}

/* INPUT */
.card-input,
.form-control,
.form-select {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    box-shadow: none !important;
}

textarea.form-control {
    height: auto;
}

/* EFT KUTUSU */
.bank-info-box {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.bank-info-row {
    margin-bottom: 18px;
}

.bank-info-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.bank-info-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #111827;
    gap: 10px;
}

.copy-bank {
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.copy-bank:hover {
    background: #1d4ed8;
}

/* ÖDE BUTONU */
.pay-button-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pay-button {
    height: 54px;
    border: none;
    border-radius: 14px;
    padding: 0 40px;
    background: #16a34a;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition: .2s;
}

.pay-button:hover {
    background: #15803d;
}

.pay-price {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
}

/* MODAL */
.buyer-protection-modal .modal-content {
    border-radius: 22px;
    border: none;
    overflow: hidden;
}

.buyer-protection-modal .modal-body {
    padding: 34px;
}

.buyer-protection-logo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 24px;
}

.protection-feature-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.protection-feature-card h6 {
    font-weight: 700;
    margin-bottom: 6px;
}

.protection-feature-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.protection-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MOBİL */
@media (max-width: 768px) {

    .checkout-section {
        padding: 20px;
    }

    .payment-option {
        margin: 14px 20px;
    }

    .order-thumb {
        width: 75px;
        height: 75px;
    }

    .pay-button-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .pay-button {
        width: 100%;
    }

    .pay-price {
        text-align: center;
        width: 100%;
    }

    .summary-total {
        font-size: 20px;
    }
}


/* =====================================================
   PAYMENT / ÖDEME SAYFASI
   views/web/payment
===================================================== */
/* PAYMENT DETAY GİZLEME */

.payment-option .payment-details {
    display: none;
}

.payment-option.selected .payment-details {
    display: block;
}
/* PAYMENT DETAY GİZLEME */


/* =====================================================
   kargo paket
===================================================== */
.package-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.package-card {
    position: relative;
    border: 1px solid #e1e5ea;
    background: #fff;
    border-radius: 16px;
    padding: 14px 14px 14px 46px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    transition: .2s;
}

.package-card:hover,
.package-card.selected {
    border-color: #20c997;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.package-radio {
    position: absolute;
    left: 14px;
    top: 22px;
    width: 18px;
    height: 18px;
    border: 2px solid #c6ccd4;
    border-radius: 50%;
    background: #fff;
}

.package-card.selected .package-radio {
    border-color: #20c997;
    background: radial-gradient(circle, #20c997 45%, #fff 48%);
}

.package-content {
    display: flex;
    gap: 12px;
}

.package-image {
    width: 58px;
    height: 48px;
    border-radius: 10px;
    background: #fff3df;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.package-title {
    font-weight: 700;
    font-size: 15px;
}

.package-size {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.package-info p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #777;
    line-height: 1.35;
}

.package-price {
    white-space: nowrap;
    background: #f4f5f7;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 12px;
    color: #333;
}

.large-calc-box {
    border: 1px dashed #b8c2cc;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}
/* =====================================================
   kargo paket son
===================================================== */


/* =====================================================
   teklif css
===================================================== */
.header-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    color: #555;
    font-size: 20px;
    text-decoration: none;
}

.header-icon-link:hover {
    color: #198754;
}

.header-badge {
    position: absolute;
    top: -9px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.offer-icon {
    display: inline-block;
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
    animation: offerBadgePulse 1.5s infinite;
}

@keyframes offerBadgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, .6);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
/* =====================================================
   teklif css son
===================================================== */

/* =====================================================
   ödeme sayfası 
===================================================== */
.payment-page-title {
    text-align: center;
}

.payment-page-title h2 {
    font-size: 32px;
    font-weight: 700;
}

.payment-page-title p {
    font-size: 15px;
}

.secure-payment-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    color: #555;
    text-align: center;
}
/* =====================================================
   ödeme sayfası 
===================================================== */

/* =========================================================
   SORU - CEVAP SİSTEMİ
========================================================= */

.qa-card{
    border-bottom:1px solid #eee;
    padding:20px 0;
}

.qa-question{
    margin-bottom:15px;
}

.qa-answer{
    background:#f7f8fa;
    border-radius:12px;
    padding:15px;
}

.qa-badge{
    display:inline-block;
    padding:4px 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
    margin-bottom:10px;
}

.qa-badge.question{
    background:#6c757d;
    color:#fff;
}

.qa-badge.answer{
    background:#198754;
    color:#fff;
}

.qa-text{
    font-size:15px;
    line-height:1.6;
    color:#333;
}

.qa-date{
    margin-top:12px;
    font-size:12px;
    color:#999;
}
/* =========================================================
   SORU - CEVAP SİSTEMİ
========================================================= */

/* Header bildirim rozetleri */

.header-badge {
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.header-icon-link {
    color: #333;
    text-decoration: none;
    margin: 0 6px;
    font-size: 18px;
}

.icon-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
/* Header bildirim rozetleri */
.header-icon {
    color: #555;
    position: relative;
    display: inline-block;
    text-decoration: none;
    margin-right: 16px;
    transition: .2s;
}

.header-icon:hover {
    color: #198754;
}

.header-user-area{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:nowrap;
}

.header-profile-btn{
    width:34px;
    height:34px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#555;
    text-decoration:none;
    font-size:22px;
}

.header-profile-btn:hover{
    background:#f1f3f5;
    color:#198754;
}

.header-user-area{
    gap:18px;
}

.header-icon,
.header-icon-link{
    margin:0;
}

/* PROFİL SAYFASI */

.profile-page{
    max-width:1180px;
}

.profile-hero{
    display:flex;
    align-items:center;
    gap:28px;
    padding:30px 0;
}

.profile-avatar{
    width:150px;
    height:150px;
    border-radius:50%;
    background:#e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    color:#aaa;
    font-size:82px;
}

.profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.profile-info{
    flex:1;
}

.profile-info h3{
    font-size:20px;
    font-weight:800;
    margin-bottom:8px;
}

.profile-stars{
    color:#f59e0b;
    font-size:14px;
    margin-bottom:12px;
}

.profile-stars a{
    color:#6b7280;
    margin-left:8px;
    font-size:13px;
}

.profile-stats{
    display:flex;
    gap:14px;
    font-size:14px;
    margin-bottom:12px;
}

.profile-meta{
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:13px;
    color:#374151;
}

.profile-meta i{
    width:20px;
    color:#6b7280;
}

.profile-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.profile-tabs{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    border-bottom:1px solid #e5e7eb;
    margin-top:30px;
}

.profile-tabs a{
    text-align:center;
    padding:18px 10px;
    color:#555;
    text-decoration:none;
    font-weight:600;
    border-bottom:2px solid transparent;
}

.profile-tabs a.active{
    color:#111;
    border-bottom-color:#111;
}

.profile-empty{
    min-height:330px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.profile-empty-icon{
    width:70px;
    height:70px;
    border:1px solid #ddd;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:18px;
}

.profile-empty h4{
    font-weight:800;
    margin-bottom:8px;
}

.profile-empty p{
    color:#6b7280;
}

.profile-modal{
    border-radius:24px;
    overflow:hidden;
}

.profile-edit-avatar{
    width:150px;
    height:150px;
    border-radius:50%;
    background:#e5e7eb;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    color:#aaa;
    font-size:80px;
}

.profile-edit-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

@media(max-width:768px){
    .profile-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .profile-actions{
        width:100%;
    }

    .profile-actions .btn{
        flex:1;
    }

    .profile-tabs{
        grid-template-columns:repeat(2, 1fr);
    }
}

.header-profile-img{
    width:34px;
    height:34px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #f1f1f1;
}

.header-profile-btn{
    width:36px;
    height:36px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}


/* DROPDOWN PROFİL */

.dropdown-profile-top{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:18px 15px 12px;
}

.dropdown-avatar{
    width:64px;
    height:64px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #f3f4f6;
    margin-bottom:10px;
}

.dropdown-avatar.placeholder{
    background:#f1f3f5;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#999;
    font-size:26px;
}

.dropdown-profile-name{
    font-weight:700;
    font-size:15px;
    color:#111;
}
.dropdown-menu{
    min-width:230px;
}

/* =========================================
   ÜRÜN DETAY SATICI KUTUSU
========================================= */

.product-seller-box{
    display:flex;
    align-items:center;
    gap:14px;
    background:#f8f9fa;
    border-radius:14px;
    padding:14px;
    margin-top:18px;
}

.seller-avatar{
    flex-shrink:0;
}

.seller-avatar img,
.seller-avatar-placeholder{
    width:58px;
    height:58px;
    border-radius:50%;
    object-fit:cover;
}

.seller-avatar img{
    border:2px solid #fff;
}

.seller-avatar-placeholder{
    background:#e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#999;
    font-size:24px;
}

.seller-details{
    flex:1;
}

.seller-name{
    font-weight:700;
    font-size:15px;
    margin-bottom:4px;
}

.seller-rating{
    font-size:13px;
    color:#f59e0b;
    margin-bottom:4px;
}

.seller-rating span{
    color:#666;
    margin-left:4px;
}

.seller-meta{
    display:flex;
    flex-direction:column;
    gap:3px;
    font-size:12px;
    color:#666;
}

.seller-meta i{
    width:14px;
}


/* HEADER PROFİL RESMİ DÜZELTME */

.header-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #f1f1f1;
}

.header-profile-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #555;
    text-decoration: none;
    font-size: 22px;
}

.dropdown-menu {
    z-index: 99999;
}

.dropdown-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

/* ACCOUNT SETTINGS */

.account-settings-page {
    max-width: 1100px;
}

.settings-user-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.settings-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #999;
    font-size: 32px;
}

.settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-list {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.settings-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #f1f1f1;
    transition: .2s;
}

.settings-item:last-child {
    border-bottom: 0;
}

.settings-item:hover {
    background: #f8f9fa;
}

.settings-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eaf4ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-content {
    flex: 1;
}

.settings-content p {
    margin: 4px 0 0;
    color: #6c757d;
    font-size: 14px;
}

.settings-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-badge {
    font-size: 12px;
    color: #dc3545;
    font-weight: 700;
}

.settings-arrow {
    color: #adb5bd;
}

.settings-item.danger .settings-icon {
    background: #fff1f1;
    color: #dc3545;
}

.settings-item.danger strong {
    color: #dc3545;
}

@media(max-width: 768px) {
    .settings-item {
        padding: 16px;
    }

    .settings-content p {
        display: none;
    }
}

.header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
}


.header-icon {
    position: relative;
    font-size: 24px;
    color: #444;
    margin-left: 14px;
    transition: 0.2s;
}

.header-icon:hover {
    color: #0d6efd;
    transform: scale(1.12);
}

.header-badge {
    position: absolute;
    top: -6px;
    right: -8px;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    border-radius: 999px;

    background: #ff3b5c;
    color: #fff;

    font-size: 11px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #fff;

    box-shadow: 0 2px 8px rgba(255,59,92,.35);
}



/* ürün resmi için*/ 
.product-detail-main img,
.main-product-image,
.product-main-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}