/* ========== BOHEMART CHECKOUT (Xtensions-native classes) ========== */
#xcheckout { font-family: Arial, Helvetica, sans-serif; background: #f5f5f5; min-height: 80vh; padding-bottom: 40px; }

/* Step Bar - Circle Design */
.xstep-bar { background: transparent; padding: 20px 0 5px; }
.xsteps { display: flex; align-items: center; justify-content: center; max-width: 520px; margin: 0 auto; }
.xstep { display: flex; flex-direction: column; align-items: center; cursor: default; position: relative; }
.xstep-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #e0e0e0; color: #999; border: 3px solid #e0e0e0; transition: all .3s; }
.xstep.active .xstep-circle { background: #ab0000; color: #fff; border-color: #ab0000; box-shadow: 0 3px 10px rgba(171,0,0,.35); }
.xstep.complete .xstep-circle { background: #ab0000; color: #fff; border-color: #ab0000; cursor: pointer; }
.xstep.complete .xstep-circle i:before { content: "\f00c"; }
.xstep.locked .xstep-circle { background: #f0f0f0; color: #bbb; border-color: #e0e0e0; }
.xstep-label { font-size: 11px; color: #999; margin-top: 6px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.xstep.active .xstep-label { color: #ab0000; }
.xstep.complete .xstep-label { color: #333; cursor: pointer; }
.xstep-line { flex: 1; height: 3px; background: #e0e0e0; margin: 0 8px; margin-bottom: 22px; max-width: 100px; transition: background .3s; }
.xstep-line.done { background: #ab0000; }



/* Loader */
.xloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.7); z-index: 9999; display: none; }
.xloader-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #ab0000; }

/* Panel */
.xpanel { padding: 0; }

/* Login Card - Xtensions data-content-account */
.data-content-account { background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 5px #ddd; margin-top: 20px; }
.login-tabs { margin: 0; border-bottom: 2px solid #ddd; }
.login-tabs li { display: table-cell; float: none; text-align: center; }
.login-tabs li a { border: none !important; border-radius: 0 !important; padding: 14px 10px; color: #888; font-size: 14px; cursor: pointer; background: transparent !important; }
.login-tabs li.active a { color: #ab0000; font-weight: 700; border-bottom: 3px solid #ab0000 !important; margin-bottom: -2px; }
.tab-content { padding: 20px; }
.xtab { display: none; }
.xtab.active { display: block; }

/* Material Inputs (Xtensions makefields) */
.group { position: relative; margin-bottom: 24px; }
.group .inputMaterial { width: 100%; padding: 14px 10px 6px; border: none; border-bottom: 2px solid #ddd; background: transparent; font-size: 14px; outline: none; transition: border-color .2s; border-radius: 0; box-sizing: border-box; }
.group .inputMaterial:focus { border-bottom-color: #ab0000; }
.group label { position: absolute; top: 12px; left: 10px; font-size: 14px; color: #999; pointer-events: none; transition: all .2s; }
.group.focused label, .group.filled label { top: 0; font-size: 10px; color: #ab0000; }
.group .required::after { content: " *"; color: #c00; }
.group.has-error .inputMaterial { border-bottom-color: #c00; }
.group.has-error label { color: #c00; }
.group-half { width: 49%; float: left; }
.group-half.group-right { float: right; }

/* Checkbox (Xtensions) */
.checkbox.is_checkbox label { cursor: pointer; font-size: 13px; color: #555; }
.checkbox.is_checkbox .input-checkbox { accent-color: #ab0000; margin-right: 6px; }
.info-back-checkout { margin: 15px 0; padding: 10px; background: #fff; border: 1px solid #ddd; border-radius: 4px; }

/* Buttons */
.btn-success { background-color: #ab0000 !important; border-color: #910000 !important; color: #fff !important; font-weight: 700; text-transform: uppercase; }
.btn-success:hover, .btn-success:focus { background-color: #910000 !important; box-shadow: 0 1px 5px #ddd; }
.width100 { width: 100%; }

/* Error */
.xerror { color: #c00; font-size: 12px; display: block; margin-top: 2px; }
.has-error .inputMaterial, .has-error input, .has-error select { border-color: #c00 !important; }

/* Panel Address (Xtensions) */
.panel-address { background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 5px #ddd; overflow: hidden; }
.panel-address-heading { font-size: 14px; padding: 10px 15px; color: #333; background: #f1f1f1; border-bottom: 1px solid #ddd; font-weight: 600; }
.panel-address-heading .fa { color: #ab0000; }
.panel-address-body { padding: 15px; }

/* Container Panel (shipping/comment - Xtensions) */
.container_panel { margin-top: 0; box-shadow: 0 1px 5px #ddd; border-radius: 4px; background: #fff; }
.container_panel .heading { font-size: 14px; padding: 10px; color: #333; background: #f1f1f1; border: 1px solid #ddd; border-bottom: 0; border-top-left-radius: 4px; border-top-right-radius: 4px; font-weight: 600; }
.container_panel .heading .fa { color: #ab0000; margin-right: 4px; }
.container_panel .shipping-table { border: 1px solid #ddd; border-radius: 0 0 4px 4px; max-height: 140px; overflow-y: auto; }
.container_panel .shipping-table .radio { margin: 0; padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.container_panel .shipping-table .radio:last-child { border-bottom: none; }
.container_panel .shipping-table label { cursor: pointer; font-size: 13px; font-weight: 400; }
.container_panel .shipping-table input[type=radio] { accent-color: #ab0000; margin-right: 8px; }
.container_panel textarea { border: 1px solid #ddd; border-radius: 0 0 4px 4px; border-top: 0; resize: none; padding: 10px; font-size: 13px; width: 100%; box-sizing: border-box; }
.container_panel textarea:focus { outline: none; border-color: #ab0000; }

/* Progress bar continue button (Xtensions) */
.progress-continue { height: 44px; border-radius: 4px; margin-bottom: 0; background: #eee; overflow: hidden; }
.progress-continue .progress-bar-success { background-color: #ab0000; line-height: 44px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; transition: background .2s; }
.progress-continue .progress-bar-success:hover { background-color: #910000; }
.progress-continue .progress-bar-success span { color: #fff; }

/* Sidebar border (Xtensions lborder) */
.lborder { border-left: 1px solid #d9d9d9; }

/* Cart Sidebar (Xtensions xcart) */
.xcart-panel { background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 5px #ddd; overflow: hidden; margin-top: 15px; }
.xcart-header { background: #f1f1f1; border-bottom: 1px solid #ddd; padding: 10px 14px; font-size: 13px; font-weight: 700; color: #333; }
.xcart-header .fa { color: #ab0000; margin-right: 4px; }
.xcart-products { padding: 0; }
.xcart-item { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.xcart-item:last-child { border-bottom: none; }
.xcart-img { width: 55px; height: 55px; flex-shrink: 0; }
.xcart-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; border: 1px solid #eee; }
.xcart-info { flex: 1; min-width: 0; }
.xcart-name { font-size: 12px; font-weight: 600; color: #333; line-height: 1.3; margin-bottom: 2px; }
.xcart-qty { font-size: 11px; color: #888; }
.xcart-total { font-size: 13px; color: #ab0000; font-weight: 700; }
.xcart-totals { border-top: 2px solid #e8e8e8; padding: 8px 14px; }
.xcart-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; color: #555; }
.xcart-grand { font-weight: 700; color: #333; font-size: 14px; border-top: 1px solid #ddd; padding-top: 6px; margin-top: 4px; }

/* Payment Page (Xtensions) */
#paymentPage .panel-group { margin-top: 10px; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 5px #ddd; background: #fff; }

/* OpenCart AJAX form overrides */
#payment-address-form .form-group, #shipping-address-form .form-group { margin-bottom: 14px; }
#payment-address-form .control-label, #shipping-address-form .control-label { font-size: 12px; color: #ab0000; font-weight: 600; }
#payment-address-form .form-control, #shipping-address-form .form-control { border: none; border-bottom: 2px solid #ddd; border-radius: 0; box-shadow: none; font-size: 14px; padding: 8px 4px; }
#payment-address-form .form-control:focus, #shipping-address-form .form-control:focus { border-bottom-color: #ab0000; box-shadow: none; }
#payment-address-form input[type=radio], #shipping-address-form input[type=radio] { accent-color: #ab0000; }
#payment-address-form .buttons, #shipping-address-form .buttons { display: none; }
#payment-address-form .radio label, #shipping-address-form .radio label { cursor: pointer; }

.margintop20 { margin-top: 20px; }
.equal { display: flex; flex-wrap: wrap; }

@media (max-width: 768px) {
  .nav-wizard { flex-direction: column; }
  .nav-wizard li a { border-radius: 0 !important; }
  .group-half { width: 100%; float: none; }
  .lborder { border-left: none; border-top: 1px solid #d9d9d9; margin-top: 20px; padding-top: 15px; }
  .equal { display: block; }
}
/* CVC Panel (Coupon/Voucher - like Xtensions xcvc) */
.xcvc-panel { padding: 10px 14px; border-top: 1px solid #e8e8e8; background: #fafafa; }
.xcvc-row { margin-bottom: 8px; }
.xcvc-row:last-of-type { margin-bottom: 4px; }
.xcvc-input-wrap { display: flex; gap: 0; }
.xcvc-input { flex: 1; border: 1px solid #ddd; border-right: none; border-radius: 3px 0 0 3px; padding: 8px 10px; font-size: 12px; outline: none; }
.xcvc-input:focus { border-color: #ab0000; }
.xcvc-btn { background: #ab0000; color: #fff; border: 1px solid #ab0000; border-radius: 0 3px 3px 0; padding: 8px 12px; cursor: pointer; font-size: 12px; transition: background .2s; }
.xcvc-btn:hover { background: #910000; }
.xcvc-error { color: #c00; font-size: 11px; margin-top: 4px; }
.xcvc-success { color: #2a7d2a; font-size: 11px; margin-top: 4px; }

/* Detailed totals */
.xcart-totals { border-top: 2px solid #e0e0e0; padding: 10px 14px; background: #fff; }
.xcart-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; color: #555; }
.xcart-shipping { color: #666; }
.xcart-shipping span:last-child { color: #333; }
.xcart-discount { color: #2a7d2a; }
.xcart-discount span:last-child { color: #2a7d2a; font-weight: 600; }
.xcart-tax { color: #888; font-size: 11px; }
.xcart-grand { font-weight: 700; color: #333; font-size: 15px; border-top: 2px solid #ab0000; padding-top: 8px; margin-top: 6px; }
.xcart-grand span:last-child { color: #ab0000; font-size: 16px; }
/* Slim buttons */
.xbtn-slim { padding: 10px 28px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border-radius: 4px; }
.xbtn-slim .fa { margin-left: 4px; }
.xbtn-confirm { padding: 12px 36px; font-size: 14px; }
/* Hide duplicate elements from payment templates */
#payment-info-top .buttons { display: none !important; }
#payment-info-top h2 { display: none; }
#confirm-page .buttons { display: none !important; }


/* === Payment confirm area === */
#payment-confirm-area .buttons { display: none !important; }
#payment-confirm-area h2 { font-size: 14px; font-weight: 700; color: #ab0000; margin: 0 0 10px; border-bottom: 1px solid #eee; padding-bottom: 8px; }
#payment-confirm-area .well { font-size: 12px; background: #fafafa; border: 1px solid #eee; margin-bottom: 10px; }
#payment-confirm-area .table { font-size: 12px; margin-top: 10px; }
#payment-confirm-area .table thead td { background: #f5f5f5; font-size: 12px; font-weight: 600; }

/* === VQMod mesafeli sözleşme scroll frames === */
#payment-confirm-area div[style*="overflow: auto"] {
  max-height: 200px !important;
  overflow-y: auto !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background: #f9f9f9 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  padding: 10px !important;
}
#payment-confirm-area div[style*="overflow: auto"]::-webkit-scrollbar { width: 8px; }
#payment-confirm-area div[style*="overflow: auto"]::-webkit-scrollbar-thumb { background: #bbb; border-radius: 4px; }
#payment-confirm-area div[style*="overflow: auto"]::-webkit-scrollbar-track { background: #f0f0f0; }
#payment-confirm-area center { margin: 15px 0 5px; }
#payment-confirm-area center font strong { color: #333; font-size: 14px !important; }

/* === Responsive: sepetim sidebar === */
@media (max-width: 991px) {
  .xpanel .col-md-9 { width: 100%; }
  .xpanel .col-md-3.lborder { width: 100%; border-left: none; border-top: 1px solid #eee; margin-top: 15px; padding-top: 15px; }
}
@media (max-width: 768px) {
  .xcart-panel { margin-bottom: 15px; }
  .xcart-products { max-height: 200px; }
  .xstep-bar { flex-wrap: nowrap; overflow-x: auto; }
  .xstep-line { min-width: 20px; }
  #payment-confirm-area div[style*="overflow: auto"] { max-height: 150px !important; }
  .xpanel .col-md-3.lborder { position: static !important; }
}
/* Mesafeli agree links */
.mesafeli-link { color: #ab0000; text-decoration: underline; font-weight: 600; }
.mesafeli-link:hover { color: #8a0000; }

/* Sipariş notu - kargo ile aynı boy */
#order-comment { font-size: 13px; border: 1px solid #ddd; border-radius: 4px; }
#order-comment:focus { border-color: #ab0000; box-shadow: 0 0 0 2px rgba(171,0,0,0.08); }
.container_panel { }

/* Checkout footer info - compact */
.checkout-footer-info { margin-top: 25px; padding: 12px 0; border-top: 1px solid #eee; }
.footer-info-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.footer-links a { font-size: 11px; color: #999; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #ab0000; text-decoration: underline; }
.footer-sep { color: #ddd; font-size: 10px; margin: 0 2px; }
.footer-badges { display: flex; align-items: center; gap: 10px; }
.ssl-badge { font-size: 11px; color: #5a9e3f; font-weight: 600; white-space: nowrap; }
.ssl-badge i { margin-right: 3px; }
.pay-icon { height: 24px; width: auto; opacity: 0.7; }
.pay-fa { font-size: 28px; color: #666; }
@media (max-width: 768px) {
  .footer-info-row { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-badges { justify-content: center; }
}/* Cart sidebar quantity controls */
.xcart-qty-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0; }
.xcart-qty-controls { display: flex; align-items: center; gap: 6px; }
.xcart-qty-btn { width: 24px; height: 24px; border: 1px solid #ddd; background: #fff; border-radius: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #666; transition: all 0.2s; }
.xcart-qty-btn:hover { border-color: #ab0000; color: #ab0000; }
.xcart-qty-num { min-width: 20px; text-align: center; font-size: 12px; font-weight: 600; }
.xcart-price { font-size: 11px; color: #666; }
.xcart-remove { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: none; background: none; color: #999; cursor: pointer; opacity: 0.5; transition: opacity 0.2s; }
.xcart-remove:hover { opacity: 1; color: #d9534f; }
.xcart-item { position: relative; }