/* ── Reset & Base ────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Segoe UI',system-ui,sans-serif;background:#f5f5f5;color:#222;font-size:15px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
input,select,textarea,button{font-family:inherit;font-size:inherit}

/* ── Layout ──────────────────────────────────────────────── */
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.row{display:flex;flex-wrap:wrap;gap:16px}
.col-sidebar{width:220px;flex-shrink:0}
.col-main{flex:1;min-width:0}
@media (max-width: 767px) {

    .container{
        padding-left:10px !important;
        padding-right:10px !important;
    }

}
/* ── Top Banner ──────────────────────────────────────────── */
.top-banner{background:#1a1a6e;color:#fff;text-align:center;padding:10px;font-size:14px}
.top-banner span{color:#e91e8c;font-weight:700;font-size:16px}

/* ── Header ──────────────────────────────────────────────── */
.header{background:#fff;border-bottom:1px solid #e0e0e0;padding:12px 0;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.header-inner{display:flex;align-items:center;gap:16px}
.logo{font-size:26px;font-weight:800;color:#1a2dbd}
.logo span{color:#e91e8c}
.search-bar{flex:1;display:flex;border:2px solid #e0e0e0;border-radius:8px;overflow:hidden}
.search-bar input{flex:1;border:none;outline:none;padding:10px 14px}
.search-bar button{background:#1a2dbd;color:#fff;border:none;padding:0 18px;cursor:pointer}
.header-actions{display:flex;gap:10px;align-items:center}
.btn-login{border:1px solid #ccc;background:#fff;color:#333;padding:8px 12px;border-radius:8px;cursor:pointer}
.btn-cart{background:#e91e8c;color:#fff;padding:8px 16px;border-radius:8px;cursor:pointer;position:relative}
.cart-badge{background:#fff;color:#e91e8c;border-radius:50%;font-size:11px;font-weight:700;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;margin-left:4px}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb{padding:10px 0;font-size:13px;color:#666}
.breadcrumb a{color:#1a2dbd}
.breadcrumb span{margin:0 6px}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar{background:#fff;border-radius:10px;padding:16px;border:1px solid #e8e8e8}
.sidebar h3{font-size:14px;font-weight:700;margin-bottom:12px;border-bottom:2px solid #1a2dbd;padding-bottom:6px}
.filter-item{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13px;cursor:pointer}
.filter-item input[type=checkbox]{accent-color:#e91e8c;width:16px;height:16px}

/* ── Product Grid ────────────────────────────────────────── */
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:900px){.products-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.products-grid{grid-template-columns:1fr}}

/* ── Product Card ────────────────────────────────────────── */
.product-card{background:#fff;border-radius:12px;border:1px solid #e8e8e8;overflow:hidden;transition:box-shadow .2s;position:relative}
.product-card:hover{box-shadow:0 6px 24px rgba(0,0,0,.12)}
.product-card .badges{position:absolute;top:8px;left:8px;display:flex;flex-direction:column;gap:4px}
.badge-discount{background:linear-gradient(135deg,#7b2ff7,#e91e8c);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:4px}
.badge-free-ship{background:#e91e8c;color:#fff;font-size:10px;padding:2px 6px;border-radius:4px}
.favorite-btn{position:absolute;top:8px;right:8px;background:#fff;border:1px solid #e0e0e0;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;color:#bbb;transition:color .2s}
.favorite-btn:hover{color:#e91e8c}
.product-card-img{height:180px;display:flex;align-items:center;justify-content:center;padding:12px;background:#fafafa}
.product-card-img img{max-height:160px;object-fit:contain}
.product-card-body{padding:12px}
.product-card-name{font-size:13px;color:#333;margin-bottom:8px;min-height:40px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-old-price{font-size:12px;color:#999;text-decoration:line-through}
.product-card-price{font-size:17px;font-weight:800;color:#e91e8c;margin:2px 0 10px}
.btn-add-cart{width:100%;background:#e91e8c;color:#fff;border:none;padding:10px;border-radius:8px;font-weight:600;cursor:pointer;transition:background .2s}
.btn-add-cart:hover{background:#c4186f}

/* ── Buttons ─────────────────────────────────────────────── */
.btn{display:inline-block;padding:10px 22px;border-radius:8px;border:none;cursor:pointer;font-weight:600;font-size:14px;transition:opacity .2s}
.btn:hover{opacity:.88}
.btn-primary{background:#1a2dbd;color:#fff}
.btn-pink{background:#e91e8c;color:#fff}
.btn-outline{background:#fff;color:#1a2dbd;border:2px solid #1a2dbd}
.btn-success{background:#28a745;color:#fff}
.btn-danger{background:#dc3545;color:#fff}
.btn-warning{background:#ffc107;color:#333}
.btn-sm{padding:6px 14px;font-size:13px}
.btn-block{display:block;width:100%;text-align:center}

/* ── Forms ───────────────────────────────────────────────── */
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:5px;color:#444}
.form-control{width:100%;border:1.5px solid #ddd;border-radius:8px;padding:10px 12px;outline:none;transition:border-color .2s}
.form-control:focus{border-color:#1a2dbd}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}

/* ── Cards / Boxes ───────────────────────────────────────── */
.card{background:#fff;border-radius:12px;border:1px solid #e8e8e8;padding:20px;margin-bottom:16px}
.card h2{font-size:18px;margin-bottom:16px;color:#1a2dbd}
.card h3{font-size:15px;margin-bottom:12px}

/* ── Payment Methods ─────────────────────────────────────── */
.payment-option{border:2px solid #e0e0e0;border-radius:10px;padding:16px;cursor:pointer;transition:border-color .2s;margin-bottom:12px}
.payment-option.active{border-color:#1a2dbd;background:#f0f4ff}
.payment-option-header{display:flex;align-items:center;gap:12px;font-weight:700}
.payment-icon{font-size:24px}

/* ── Order Summary ───────────────────────────────────────── */
.order-summary{background:#fff;border-radius:12px;border:1px solid #e8e8e8;padding:20px;position:sticky;top:80px}
.summary-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:14px}
.summary-total{display:flex;justify-content:space-between;padding:12px 0;font-weight:800;font-size:18px;color:#e91e8c}

/* ── Badges ──────────────────────────────────────────────── */
.badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600}
.badge-success{background:#d4edda;color:#155724}
.badge-warning{background:#fff3cd;color:#856404}
.badge-danger{background:#f8d7da;color:#721c24}
.badge-info{background:#d1ecf1;color:#0c5460}
.badge-primary{background:#cce5ff;color:#004085}
.badge-dark{background:#d6d8d9;color:#1b1e21}
.badge-secondary{background:#e2e3e5;color:#383d41}

/* ── Tables ──────────────────────────────────────────────── */
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #e8e8e8}
th{background:#f8f8f8;font-weight:700;color:#555}
tr:hover td{background:#fafafa}

/* ── Alerts ──────────────────────────────────────────────── */
.alert{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:14px}
.alert-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}
.alert-danger{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}
.alert-info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}
.alert-warning{background:#fff3cd;color:#856404;border:1px solid #ffeeba}

/* ── IBAN Box ────────────────────────────────────────────── */
.iban-box{background:#f0f4ff;border:2px solid #1a2dbd;border-radius:10px;padding:20px}
.iban-box .iban-num{font-size:20px;font-weight:800;letter-spacing:2px;color:#1a2dbd;margin:8px 0}
.iban-box .order-code{font-size:16px;font-weight:700;color:#e91e8c}

/* ── Pending / Status Pages ──────────────────────────────── */
.status-page{text-align:center;padding:60px 20px}
.status-icon{font-size:72px;margin-bottom:16px}
.status-page h1{font-size:28px;margin-bottom:10px}
.status-page p{color:#666;max-width:500px;margin:0 auto 24px}

/* ── Admin Layout ────────────────────────────────────────── */
.admin-body{display:flex;min-height:100vh}
.admin-sidebar{width:220px;background:#1a1a6e;color:#fff;flex-shrink:0;padding:20px 0}
.admin-sidebar .brand{padding:0 20px 20px;font-size:20px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.15)}
.admin-sidebar .brand span{color:#e91e8c}
.admin-nav a{display:flex;align-items:center;gap:10px;padding:12px 20px;color:rgba(255,255,255,.8);font-size:14px;transition:background .2s}
.admin-nav a:hover,.admin-nav a.active{background:rgba(255,255,255,.12);color:#fff}
.admin-content{flex:1;overflow:auto}
.admin-topbar{background:#fff;padding:14px 24px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}
.admin-topbar h1{font-size:18px;font-weight:700}
.admin-main{padding:24px}

/* ── Stats Cards ─────────────────────────────────────────── */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,1fr)}}
.stat-card{background:#fff;border-radius:12px;padding:20px;border:1px solid #e8e8e8}
.stat-card .stat-val{font-size:28px;font-weight:800;color:#1a2dbd}
.stat-card .stat-lbl{font-size:13px;color:#888;margin-top:4px}
.stat-card .stat-icon{font-size:32px;float:right;opacity:.2}

/* ── Live Log Panel ──────────────────────────────────────── */
.log-panel{background:#0d1117;border-radius:10px;padding:16px;height:420px;overflow-y:auto;font-family:'Courier New',monospace;font-size:13px}
.log-entry{padding:3px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.log-entry .log-time{color:#6e7681}
.log-entry .log-type-order{color:#58a6ff}
.log-entry .log-type-payment{color:#3fb950}
.log-entry .log-type-admin{color:#d2a8ff}
.log-entry .log-type-error{color:#ff7b72}
.log-entry .log-type-system{color:#e3b341}
.log-msg{color:#e6edf3}

/* ── Receipt Preview ─────────────────────────────────────── */
.receipt-thumb{max-height:200px;border-radius:8px;border:1px solid #ddd;cursor:pointer}
.receipt-thumb:hover{opacity:.85}

/* ── Footer ──────────────────────────────────────────────── */
.footer{background:#1a1a6e;color:rgba(255,255,255,.7);text-align:center;padding:20px;font-size:13px;margin-top:40px}
/* ── Mobil Header Buton Düzeni ───────────────────────────── */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f5f5f5;
  color: #222;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.col-sidebar {
  width: 220px;
  flex-shrink: 0;
}

.col-main {
  flex: 1;
  min-width: 0;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: #1a1a6e;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

.top-banner span {
  color: #e91e8c;
  font-weight: 500;
  font-size: 16px;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: #1a2dbd;
}

.logo span {
  color: #e91e8c;
}

.search-bar {
  flex: 1;
  display: flex;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
}

.search-bar button {
  background: #1a2dbd;
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-login {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-cart {
  background: #e91e8c;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.cart-badge {
  background: #fff;
  color: #e91e8c;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 10px 0;
  font-size: 13px;
  color: #666;
}

.breadcrumb a {
  color: #1a2dbd;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e8e8e8;
}

.sidebar h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 2px solid #1a2dbd;
  padding-bottom: 6px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  cursor: pointer;
}

.filter-item input[type="checkbox"] {
  accent-color: #e91e8c;
  width: 16px;
  height: 16px;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== PRODUCT CARD ===== */
.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.product-card .badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-discount {
  background: linear-gradient(135deg, #7b2ff7, #e91e8c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-free-ship {
  background: #e91e8c;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #bbb;
  transition: color 0.2s;
}

.favorite-btn:hover {
  color: #e91e8c;
}

.product-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fafafa;
}

.product-card-img img {
  max-height: 160px;
  object-fit: contain;
}

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

.product-card-name {
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
  min-height: 40px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-old-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

.product-card-price {
  font-size: 17px;
  font-weight: 800;
  color: #e91e8c;
  margin: 2px 0 10px;
}

.btn-add-cart {
  width: 100%;
  background: #e91e8c;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-add-cart:hover {
  background: #c4186f;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.88;
}

.btn-primary {
  background: #1a2dbd;
  color: #fff;
}

.btn-pink {
  background: #e91e8c;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #1a2dbd;
  border: 2px solid #1a2dbd;
}

.btn-success {
  background: #28a745;
  color: #fff;
}

.btn-danger {
  background: #dc3545;
  color: #fff;
}

.btn-warning {
  background: #ffc107;
  color: #333;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 16px;
}

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

.form-control {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: #1a2dbd;
}

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

/* ===== CARDS / BOXES ===== */
.card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 20px;
  margin-bottom: 16px;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #1a2dbd;
}

.card h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

/* ===== ORDER SUMMARY ===== */
.order-summary {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 20px;
  position: sticky;
  top: 80px;
  margin-left: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-weight: 800;
  font-size: 18px;
  color: #e91e8c;
  border-top: 1px solid #e8e8e8;
  margin-top: 8px;
}

/* Sipariş Özeti Başlığı (Açılabilir/Kapanabilir) */
.order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 12px;
}

.order-summary-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.summary-toggle-icon {
  font-size: 20px;
  color: #1a2dbd;
  transition: transform 0.3s;
}

.summary-toggle-icon.rotated {
  transform: rotate(180deg);
}

/* ===== MOBILE ORDER SUMMARY BOTTOM BAR ===== */
.mobile-order-summary {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-order-summary-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-order-summary-total {
  display: flex;
  flex-direction: column;
}

.mobile-order-summary-total span:first-child {
  font-size: 12px;
  color: #666;
}

.mobile-order-summary-total span:last-child {
  font-size: 18px;
  font-weight: 700;
  color: #e91e8c;
}

/* Pazarama Mobil Sepet Barı */
.pazarama-mobile-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.pazarama-mobile-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.pazarama-mobile-cart-left {
  display: flex;
  flex-direction: column;
}

.pazarama-mobile-cart-title {
  font-size: 14px;
  color: #222;
  font-weight: 600;
}

.pazarama-mobile-cart-price {
  font-size: 18px;
  font-weight: 700;
  color: #e91e8c;
  margin-top: 4px;
}

.pazarama-mobile-cart-right {
  display: flex;
  align-items: center;
}

.pazarama-mobile-cart-toggle {
  font-size: 20px;
  color: #1a2dbd;
}

.pazarama-mobile-cart-content {
  display: none;
  padding: 12px 16px;
  background: #fff;
}

.pazarama-mobile-cart-details {
  margin-bottom: 12px;
}

.pazarama-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.pazarama-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}

.pazarama-mobile-cart-button {
  display: block;
  background: #e91e8c;
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
}

@media (max-width: 767px) {
  .pazarama-mobile-cart-bar {
    display: block;
  }

  .container {
    padding-bottom: 150px !important;
  }
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.product-detail-gallery {
  flex: 0 0 400px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-gallery img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.product-detail-content {
  flex: 1;
}

.product-detail-header {
  margin-bottom: 20px;
}

.product-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.product-detail-price-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-detail-old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.product-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: #e91e8c;
}

.product-features {
  background: #f0f4ff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.product-features span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1a2dbd;
}

.product-description-section {
  margin-bottom: 20px;
}

.product-description-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 16px;
  margin-bottom: 12px;
}

.product-description-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.product-description-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

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

.quantity-selector label {
  font-size: 14px;
  font-weight: 600;
}

.quantity-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.quantity-input-group button {
  padding: 8px 12px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
}

.quantity-input-group input {
  width: 50px;
  border: none;
  text-align: center;
  padding: 8px;
  outline: none;
}

.btn-add-to-cart {
  width: 100%;
  padding: 14px;
  background: #e91e8c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-add-to-cart:hover {
  background: #c4186f;
}

/* ===== INSTALLMENT SECTION ===== */
.installment-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 16px;
  margin-bottom: 20px;
}

.installment-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 10px;
}

.installment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.installment-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.installment-option:last-child {
  border-bottom: none;
}

.installment-option span:first-child {
  font-size: 14px;
  color: #666;
}

.installment-option span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: #1a2dbd;
}

/* ===== WARRANTY SECTION ===== */
.warranty-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 16px;
  margin-bottom: 20px;
}

.warranty-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.warranty-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.warranty-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.warranty-option input[type="radio"] {
  margin: 0;
  accent-color: #e91e8c;
}

.warranty-option label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 12px;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-bar form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-bottom-bar .btn-cart {
  position: relative;
}

.mobile-bottom-bar .cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: #e91e8c;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .row {
    flex-direction: column !important;
  }

  .row > div:first-child {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .row > div:last-child {
    flex: none !important;
    width: 100% !important;
  }

  .order-summary {
    position: static !important;
    margin-left: 0 !important;
    margin-top: 20px !important;
  }
}

@media (max-width: 767px) {
  .mobile-bottom-bar {
    display: block;
  }

  .mobile-order-summary {
    display: block;
  }

  .container {
    padding-bottom: 80px !important;
  }

  .row > div:last-child > div {
    padding: 16px !important;
  }

  .row > div:last-child > div > div {
    font-size: 14px !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 6px;
  }

  .logo {
    font-size: 20px;
  }

  .search-bar input {
    padding: 8px 8px;
    font-size: 12px;
  }

  .search-bar button {
    padding: 0 10px;
    font-size: 13px;
  }

  .btn-login,
  .btn-cart {
    padding: 7px 7px;
    font-size: 11px;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 390px) {
  .btn-login {
    font-size: 0;
    padding: 8px 9px;
  }

  .btn-login::before {
    content: "👤";
    font-size: 15px;
  }

  .btn-cart {
    font-size: 0;
    padding: 8px 9px;
  }

  .btn-cart::before {
    content: "🛒";
    font-size: 15px;
  }

  .cart-badge {
    font-size: 10px;
    margin-left: 4px;
  }
}
/* Tek Sütunlu Sepet Ürün Kartları */
.pazarama-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pazarama-cart-item-vertical {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pazarama-cart-item-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #fafafa;
  border-radius: 8px;
}

.pazarama-cart-item-image img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.pazarama-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pazarama-cart-item-name {
  font-weight: 600;
  font-size: 15px;
  color: #222;
  line-height: 1.3;
}

.pazarama-cart-item-price {
  color: #e91e8c;
  font-weight: 700;
  font-size: 16px;
}

.pazarama-cart-item-quantity {
  display: flex;
  justify-content: flex-start;
}

.pazarama-quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.pazarama-quantity-btn {
  padding: 8px 12px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
}

.pazarama-quantity-value {
  padding: 8px 14px;
  font-weight: 600;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  min-width: 40px;
  text-align: center;
}

.pazarama-cart-item-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
}

.pazarama-cart-item-total span:first-child {
  font-size: 14px;
  color: #666;
}

.pazarama-cart-item-total-price {
  font-weight: 700;
  font-size: 16px;
  color: #e91e8c;
}

.pazarama-cart-item-remove {
  display: flex;
  justify-content: flex-start;
}

.pazarama-remove-btn {
  background: none;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Pazarama Tarzı Mobil Sepet Barı */
.pazarama-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.pazarama-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.pazarama-cart-left {
  display: flex;
  flex-direction: column;
}

.pazarama-cart-title {
  font-size: 14px;
  color: #222;
  font-weight: 600;
  margin-bottom: 4px;
}

.pazarama-cart-price-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pazarama-cart-price {
  font-size: 18px;
  font-weight: 700;
  color: #e91e8c;
}

.pazarama-cart-toggle {
  font-size: 16px;
  color: #1a2dbd;
  cursor: pointer;
}

.pazarama-cart-button {
  background: #e91e8c;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pazarama-cart-details {
  display: none;
  padding: 0 16px 12px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.pazarama-cart-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.pazarama-cart-detail-total {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .pazarama-cart-bar {
    display: block;
  }

  .container {
    padding-bottom: 120px !important;
  }

  .pazarama-cart-item-vertical {
    padding: 12px;
  }

  .pazarama-cart-item-image img {
    max-width: 100px;
    max-height: 100px;
  }

  .pazarama-quantity-selector {
    width: 100%;
    max-width: 140px;
  }

  .pazarama-quantity-btn {
    padding: 6px 10px;
    font-size: 14px;
  }

  .pazarama-quantity-value {
    padding: 6px 10px;
    font-size: 14px;
  }
}