/* =====================================================================
   OpenCart uyumluluk katmanı
   Bootstrap CSS yüklenmez; OpenCart şablonlarının ve ödeme eklentilerinin
   kullandığı sınıflar burada HotLife görünümüyle karşılanır.
   hotlife.css'ten sonra yüklenir.
   ===================================================================== */

/* ---------- Bildirimler (#alert) ---------- */
#alert { position: fixed; top: 20px; right: 20px; z-index: 210; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
#alert .alert { pointer-events: auto; margin: 0; background: rgba(29, 21, 24, .97); box-shadow: var(--shadow); backdrop-filter: blur(12px); animation: toastIn .5s var(--ease); }
#alert .alert a, .alert a { color: var(--gold-1); text-decoration: underline; }
.alert { position: relative; }
.alert-dismissible { padding-right: 48px; }
.btn-close { position: absolute; top: 50%; right: 12px; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; opacity: .7; transition: opacity .2s, background .2s; }
.btn-close::before, .btn-close::after { content: ''; position: absolute; left: 7px; right: 7px; top: 13px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.btn-close::after { transform: rotate(-45deg); }
.btn-close:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.fade { transition: opacity .25s linear; }
.fade:not(.show) { opacity: 0; }

/* ---------- Yardımcı sınıflar ---------- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-inline-block { display: inline-block !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.gap-2 { gap: 8px !important; }
.h-100 { height: 100% !important; }
.border { border: 1px solid var(--line-soft) !important; background: var(--surface); }
.rounded { border-radius: var(--radius) !important; }
.p-3 { padding: 22px !important; }
.p-4 { padding: 28px !important; }
.pt-3 { padding-top: 16px !important; }
.text-end { text-align: right; }
.text-start { text-align: left; }
.text-center { text-align: center; }
.text-danger { color: var(--err) !important; }
.text-success { color: var(--ok) !important; }
.text-muted { color: var(--muted) !important; }
.text-light { color: #fff !important; }
.text-wrap { white-space: normal; }
.float-end { float: right; }
.float-start { float: left; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.me-2 { margin-right: 8px !important; }
.me-3 { margin-right: 16px !important; }
.p-0 { padding: 0 !important; }
.w-100 { width: 100% !important; }
.list-unstyled { list-style: none; padding: 0; margin: 0; }
.list-inline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.img-fluid { max-width: 100%; height: auto; }
.img-thumbnail { border-radius: 10px; border: 1px solid var(--line-soft); background: var(--surface); padding: 3px; }
.clearfix::after { content: ''; display: table; clear: both; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 24px 0; }
.price-new { color: var(--gold-1); font-weight: 600; }
.price-old { color: var(--muted); text-decoration: line-through; margin-left: 6px; font-size: .9em; }
.price-tax { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Izgara ---------- */
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding: 0 10px; }
.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.row-cols-1 > * { flex: 0 0 auto; width: 100%; }
@media (min-width: 576px) {
  .col-sm { flex: 1 0 0%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.3333%; }
  .offset-sm-2 { margin-left: 16.6667%; }
  .row-cols-sm-2 > * { flex: 0 0 auto; width: 50%; }
}
@media (min-width: 768px) {
  .col-md { flex: 1 0 0%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-md-3 > * { flex: 0 0 auto; width: 33.3333%; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .row-cols-lg-3 > * { flex: 0 0 auto; width: 33.3333%; }
  .row-cols-lg-4 > * { flex: 0 0 auto; width: 25%; }
}

/* ---------- Formlar ---------- */
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font: 600 22px/1.2 var(--serif); margin-bottom: 18px; padding: 0; width: 100%; }
.form-label, .col-form-label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 7px; }
.col-form-label { padding-top: 13px; }
.required > .form-label::after, .required > .col-form-label::after { content: ' *'; color: var(--pink); }
.form-control, .form-select {
  display: block; width: 100%; padding: 13px 15px; border-radius: 12px;
  background-color: var(--bg); border: 1px solid var(--line-soft); color: var(--text);
  outline: none; transition: border-color .25s, box-shadow .25s; font: inherit;
}
.form-select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d9ab4f' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.form-select option { background: var(--surface); color: var(--text); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 171, 79, .12); }
.form-control::placeholder { color: rgba(245, 237, 228, .35); }
.form-control[readonly] { opacity: .85; }
.form-control:disabled, .form-select:disabled { opacity: .55; }
textarea.form-control { min-height: 90px; resize: vertical; }
.form-text { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-control.is-invalid, .form-select.is-invalid, .is-invalid .form-control, .is-invalid .form-select { border-color: var(--err) !important; }
.invalid-feedback { display: none; color: var(--err); font-size: 12.5px; margin-top: 6px; }
.form-check { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; padding: 0; }
.form-check-inline { display: inline-flex; margin-right: 18px; }
.form-check-input { appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; display: grid; place-items: center; transition: all .25s; }
.form-check-input[type=radio] { border-radius: 50%; }
.form-check-input:checked { background: var(--grad-gold); border-color: var(--gold); }
.form-check-input[type=checkbox]:checked::after { content: ''; width: 10px; height: 6px; border: 2px solid #1c1206; border-top: 0; border-right: 0; transform: rotate(-45deg); margin-top: -2px; }
.form-check-input[type=radio]:checked::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1c1206; }
.form-check-input.is-invalid { border-color: var(--err); }
.form-check-label { cursor: pointer; font-size: 14px; }
.form-check-label a { color: var(--gold-1); text-decoration: underline; }
.form-switch, .form-check-reverse { flex-direction: row-reverse; justify-content: flex-end; }
.form-switch .form-check-input { position: relative; width: 40px; height: 22px; border-radius: 11px; display: block; }
.form-switch .form-check-input::after,
.form-switch .form-check-input[type=checkbox]:checked::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; margin: 0; border: 0; border-radius: 50%; background: var(--muted); transform: none; transition: transform .25s var(--ease), background .25s; }
.form-switch .form-check-input[type=checkbox]:checked::after { transform: translateX(18px); background: #1c1206; }
.input-group { display: flex; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { flex: 1 1 auto; width: 1%; min-width: 0; border-radius: 0; }
.input-group > :first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.input-group > :last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }
.input-group > .btn { border-radius: 0; }
.input-group > .btn:last-child { border-radius: 0 12px 12px 0; }
.input-group-text { display: flex; align-items: center; padding: 0 14px; background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ---------- OpenCart buton sınıfları ---------- */
.btn-primary { color: #1c1206; background: var(--grad-gold); background-size: 200% auto; box-shadow: 0 10px 30px rgba(217, 171, 79, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary:hover { background-position: right center; transform: translateY(-2px); }
.btn-light, .btn-secondary, .btn-default, .btn-outline-secondary, .btn-outline-primary { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-soft); }
.btn-light:hover, .btn-secondary:hover, .btn-default:hover, .btn-outline-secondary:hover, .btn-outline-primary:hover { border-color: var(--gold); color: var(--gold-1); }
.btn-danger { background: rgba(255, 77, 109, .12); color: #ffb3c1; border: 1px solid rgba(255, 77, 109, .35); }
.btn-warning { background: rgba(217, 171, 79, .15); color: var(--gold-1); border: 1px solid var(--line); }
.btn-success { background: #1fae5b; color: #fff; }
.btn-info { background: rgba(255, 255, 255, .08); border: 1px solid var(--line-soft); }
.btn-link { color: var(--gold-1); padding: 0; text-transform: none; letter-spacing: 0; text-decoration: underline; }
.btn-group { display: inline-flex; gap: 8px; }
.btn:disabled, .btn.disabled { opacity: .5; pointer-events: none; }
.btn .fa-solid, .btn .fa-regular { font-size: 14px; }

/* ---------- Tablolar ---------- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.table thead th, .table thead td { font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.table-bordered { border: 1px solid var(--line-soft); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.table-hover tbody tr:hover { background: rgba(217, 171, 79, .05); }
.table .text-end { text-align: right; }
.table .text-center { text-align: center; }
.table tfoot td { color: var(--muted); }

/* ---------- Kart, liste grubu ---------- */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.card-body { padding: 20px; }
.list-group { list-style: none; padding: 0; margin: 0 0 20px; border-radius: 16px; border: 1px solid var(--line-soft); overflow: hidden; }
.list-group-item { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface); transition: background .2s, color .2s; font-size: 14px; }
.list-group-item:last-child { border-bottom: 0; }
a.list-group-item:hover, .list-group-item.active { background: rgba(217, 171, 79, .08); color: var(--gold-1); }

/* ---------- Konum, sayfalama, sekmeler ---------- */
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; font-size: 12.5px; color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; margin-right: 8px; }
.breadcrumb a:hover { color: var(--gold-1); }
ul.pagination { list-style: none; padding: 0; margin: 0; }
.pagination .page-link { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-soft); font-weight: 600; font-size: 14px; transition: all .25s; }
.pagination .page-link:hover { border-color: var(--gold); color: var(--gold-1); }
.pagination .page-item.active .page-link { background: var(--grad-gold); color: #1c1206; border-color: transparent; }
.nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav-tabs { border-bottom: 1px solid var(--line-soft); margin-bottom: 20px; }
.nav-link { display: block; padding: 12px 18px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav-link.active, .nav-link:hover { color: var(--gold-1); border-bottom-color: var(--gold); }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }

/* ---------- Bootstrap modalı (sözleşme metinleri vb.) ---------- */
.modal { position: fixed; inset: 0; z-index: 1055; display: none; overflow-x: hidden; overflow-y: auto; outline: 0; padding: 16px; }
.modal-dialog { position: relative; width: auto; max-width: 760px; margin: 6vh auto; transform: translateY(-20px); transition: transform .3s var(--ease); }
.modal.show .modal-dialog { transform: none; }
.modal-content { background: linear-gradient(180deg, #1a1215, #0e0a0b); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.modal-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.modal-header .btn-close { position: relative; top: auto; right: auto; margin: 0; flex-shrink: 0; }
.modal-title { font: 600 22px/1.2 var(--serif); margin: 0; }
.modal-body { padding: 22px; max-height: 70vh; overflow-y: auto; color: rgba(245, 237, 228, .85); }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line-soft); }
.modal-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(5, 3, 4, .78); backdrop-filter: blur(6px); }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: 1; }
body.modal-open { overflow: hidden; }

/* ---------- Açılır menü ---------- */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; min-width: 210px; padding: 8px; margin: 6px 0 0; list-style: none; background: rgba(21, 16, 18, .98); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.dropdown-menu.show { display: block; }
.dropdown-menu-end, .dropdown-menu-right { right: 0; left: auto; }
.dropdown-item { display: block; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; white-space: nowrap; text-align: left; }
.dropdown-item:hover { background: rgba(217, 171, 79, .08); color: var(--gold-1); }
.dropdown-header { padding: 8px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* ---------- Özel şablonu olmayan OpenCart sayfaları ---------- */
#main > .container { padding-top: 40px; padding-bottom: 90px; }
#main > .container h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 24px; }
#main > .container h2 { font-size: 26px; }
#main > .container h3 { font-size: 21px; }
#main > .container #content a:not(.btn):not(.list-group-item):not(.dropdown-item):not(.nav-link):not(.page-link):not(.p-media):not(.p-cat) { color: var(--gold-1); }
#column-left, #column-right { flex: 0 0 280px; max-width: 280px; }
#content { min-width: 0; }
#product-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; margin: 0 0 30px; }
#product-list > * { width: auto; padding: 0; }
.rating .fa-stack { width: 1em; height: 1em; line-height: 1em; color: var(--gold); }

@media (max-width: 980px) {
  #column-left, #column-right { flex-basis: 100%; max-width: 100%; }
  #product-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  #product-list { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  #main > .container { padding-top: 28px; padding-bottom: 60px; }
}

/* =====================================================================
   HotLife: OpenCart akışları için ek bileşenler
   ===================================================================== */

/* Form alanı hataları (OpenCart JS #input-xxx'e is-invalid ekler) */
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select,
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: var(--err); }
.field .invalid-feedback { margin-top: 0; }
.field select { width: 100%; }

/* Liste sayfası */
.page-desc { max-width: 720px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.page-desc p:last-child { margin-bottom: 0; }
.shop-bar select { min-width: 220px; }
.shop-tools { display: flex; align-items: center; gap: 10px; }
.shop-tools .limit-select { min-width: 0; }

/* Ödeme sayfası */
.checkout-login { margin: -8px 0 18px; }
.checkout-login a { color: var(--gold-1); text-decoration: underline; }
.checkout-wait { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }
.checkout-comment { margin-top: 18px; }
.checkout-agree { margin-top: 16px; }
.invoice-box { margin-top: 16px; }
.invoice-fields { margin-top: 12px; }
.notify-box { margin-top: 16px; padding: 12px 14px 4px; border: 1px solid var(--line-soft); border-radius: 14px; }
.notify-title { margin: 0 0 2px; font-size: 13px; font-weight: 600; }
.notify-box .check { margin: 8px 0; }
.notify-box .check b { color: var(--text); font-weight: 600; }
.check.is-locked { cursor: default; }
.check.is-locked > span { opacity: .75; }
.checkout-hygiene { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; }
.checkout-hygiene .ic { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }
.checkout-hygiene a, .pd-perks a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.checkout-hint { margin-top: 10px !important; }
.form-card.is-done { border-color: rgba(60, 207, 142, .35); }
.form-card.is-done > h3 .step-dot { background: var(--ok); color: #06140d; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 20px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-soft); }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; padding: 10px 18px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all .3s var(--ease); }
.seg-opt input:checked + span { background: var(--grad-gold); color: #1c1206; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
#form-register > .check, #form-register > #password .check { margin: 4px 0 18px; }
#button-register { margin-top: 8px; }
.address-options { margin-bottom: 14px; }
.address-options .pay-box small { line-height: 1.5; }
#form-shipping-address { margin-top: 18px; }
.pay-opt { position: relative; }
.pay-box b { line-height: 1.35; }
.bank-note { margin: 14px 0 4px; padding: 16px; border-radius: 14px; border: 1px dashed var(--line); background: rgba(217, 171, 79, .05); font-size: 13px; }
.bank-note .bank-info { margin: 10px 0; padding: 12px; font-size: 13px; }
.bank-info.is-html { white-space: normal; }
#checkout-confirm .mini-cart.compact { max-height: 320px; overflow-y: auto; }
#checkout-payment { margin-top: 16px; }
#checkout-payment .btn { margin-top: 0; }

/* Sepet */
.cart-modules { margin-top: 10px; display: grid; gap: 14px; }
.cart-modules .card, .cart-modules .accordion-item { margin: 0; }
.cart-row .qty input { width: 44px; }

/* Giriş */
.login-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; max-width: 1000px; }
.login-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.login-side .btn { margin: 6px 0 16px; }
.login-guest { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.login-guest .ic { width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
@media (max-width: 860px) { .login-grid { grid-template-columns: 1fr; } }

/* Hesabım */
.account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* Dar ekranda uzun buton yazıları kartı taşırmasın */
.btn { max-width: 100%; }
.bank-card .btn, .btn-wa { white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 560px) {
  .btn-lg { white-space: normal; text-align: center; line-height: 1.3; }
}

/* Sipariş takibi ve teşekkür */
.timeline.timeline-4 { grid-template-columns: repeat(4, 1fr); }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.history li { padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--bg); border-radius: 0 12px 12px 0; }
.history small { display: block; color: var(--muted); font-size: 12px; }
.history p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.nf-tags { justify-content: center; }
.alert .ic { flex-shrink: 0; }

/* Ürün seçenekleri */
.opt span small { margin-left: 4px; font-weight: 500; color: var(--muted); }
.opt input[type=checkbox] + span { padding: 0 14px; }
.opt-group .invalid-feedback { margin-top: 8px; }
.opt-group.is-invalid .opt span { border-color: var(--err); }

@media (max-width: 680px) {
  .shop-bar { flex-wrap: wrap; }
  .shop-bar select { order: 3; flex: 1 1 100%; min-width: 0; }
  .shop-tools { order: 3; flex: 1 1 100%; min-width: 0; }
  .shop-tools select { flex: 1 1 0; width: 0; min-width: 0; text-overflow: ellipsis; }
  .shop-tools .limit-select { flex: 0 1 34%; }
  .seg { display: flex; }
  .seg-opt { flex: 1; text-align: center; }
  .seg-opt span { padding: 10px 8px; }
  .timeline.timeline-4 li { font-size: 10.5px; }
}

/* =====================================================================
   Customer reviews with photos (product page, home testimonials)
   ===================================================================== */
.rv-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rv-stars .ic { width: 15px; height: 15px; color: rgba(217, 171, 79, .35); }
.rv-stars .ic.on, .rv-bars .ic.on { color: var(--gold); fill: var(--gold); }
.rv-stars.big .ic { width: 20px; height: 20px; }
.pd-rating { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: 14px; color: var(--text); }
.pd-rating:hover b { color: var(--gold-1); }

.rv-layout { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.rv-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 18px; }
.rv-score { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.rv-score b { font: 600 54px/1 var(--serif); }
.rv-score small, .rv-empty { color: var(--muted); }
.rv-empty { margin: 0; text-align: center; }
.rv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-bars li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.rv-bars li span { display: inline-flex; align-items: center; gap: 3px; }
.rv-bars .ic { width: 12px; height: 12px; }
.rv-bars i { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.rv-bars s { display: block; height: 100%; border-radius: 6px; background: var(--grad-gold); }
.rv-bars small { text-align: right; }

.rv-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rv-gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.rv-gallery a, .rv-photos a { flex: 0 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); transition: border-color .25s, transform .25s var(--ease); }
.rv-gallery a:hover, .rv-photos a:hover { border-color: var(--gold); transform: translateY(-2px); }
.rv-gallery img { width: 92px; height: 92px; object-fit: cover; display: block; }
.rv-list { display: flex; flex-direction: column; gap: 14px; }
.rv-item { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: #1c1206; font-weight: 700; }
.rv-who { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.rv-who small { color: var(--muted); font-size: 12px; }
.rv-text { margin: 0; color: #e8ddd3; line-height: 1.65; overflow-wrap: anywhere; }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rv-photos img { width: 76px; height: 76px; object-fit: cover; display: block; }
.rv-more { align-self: center; }

.rv-form { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rv-form[hidden] { display: none; }
.rv-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-rate-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate-stars label { cursor: pointer; color: rgba(217, 171, 79, .35); transition: color .15s, transform .15s; }
.rv-rate-stars label .ic { width: 30px; height: 30px; }
.rv-rate-stars label:hover, .rv-rate-stars label:hover ~ label, .rv-rate-stars input:checked ~ label { color: var(--gold); }
.rv-rate-stars label:hover .ic, .rv-rate-stars label:hover ~ label .ic, .rv-rate-stars input:checked ~ label .ic { fill: var(--gold); }
.rv-rate-stars input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.rv-drop { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 1px dashed var(--line); color: var(--gold-1); cursor: pointer; transition: border-color .25s, background .25s; }
.rv-drop:hover { border-color: var(--gold); background: rgba(217, 171, 79, .06); }
.rv-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rv-previews figure { position: relative; margin: 0; }
.rv-previews img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-soft); display: block; }
.rv-previews button { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--err); color: #fff; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.rv-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rv-form .field-err:empty { display: none; }

/* Home testimonials: horizontal snap carousel */
.tm-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.tm-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-soft); transition: border-color .3s, transform .3s var(--ease); }
.tm-card:hover { border-color: var(--line); transform: translateY(-4px); }
.tm-top { display: flex; align-items: center; gap: 12px; }
.tm-top .rv-who { gap: 3px; }
.tm-quote { margin-left: auto; width: 26px; height: 26px; color: rgba(217, 171, 79, .35); }
.tm-text { margin: 0; color: #e8ddd3; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tm-photos { display: flex; gap: 8px; }
.tm-photos a { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); }
.tm-photos img { width: 64px; height: 64px; object-fit: cover; display: block; }
.tm-photos span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 7, 8, .6); color: var(--gold-1); font-size: 13px; }
.tm-product { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tm-product .ic { width: 14px; height: 14px; }
.tm-product:hover { color: var(--gold-1); }

/* Photo lightbox */
.rv-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(5, 3, 4, .92); backdrop-filter: blur(6px); animation: fadeIn .25s; }
.rv-lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow); }
.rv-lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-soft); color: #fff; }
.rv-lightbox button:hover { border-color: var(--gold); color: var(--gold-1); }
.rv-lightbox [data-lb-close] { top: 18px; right: 18px; }
.rv-lightbox [data-lb-step="-1"] { left: 18px; }
.rv-lightbox [data-lb-step="1"] { right: 18px; }

@media (max-width: 900px) {
  .rv-layout { grid-template-columns: 1fr; }
  .rv-summary { position: static; }
  .rv-item { padding: 18px; }
  .tm-track { grid-auto-columns: 78%; }
}

/* =====================================================================
   Cross-sell ("Bunu alanlar bunları da aldı"): cart page and checkout
   ===================================================================== */
.upsell { margin-top: 60px; }
.upsell .section-head { margin-bottom: 30px; }
.upsell-title { font-size: clamp(26px, 3.2vw, 40px); }
.checkout-upsell:empty { display: none; }
.upsell-mini-title { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line-soft); font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.upsell-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.upsell-mini li { display: grid; grid-template-columns: 52px 1fr 36px; align-items: center; gap: 12px; }
.um-img img { width: 52px; height: 65px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-soft); display: block; }
.um-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.um-info a { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.um-info a:hover { color: var(--gold-1); }
.um-add { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-1); transition: background .25s, color .25s; }
.um-add:hover { background: var(--gold); color: #1c1206; }
.um-add .ic { width: 16px; height: 16px; }
.um-add.is-loading { opacity: .5; pointer-events: none; }

/* =====================================================================
   Subcategory navigation on category pages
   ===================================================================== */
.shop-main { min-width: 0; }
.subcat-chips { max-width: 100%; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.subcat-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 30px; border: 1px solid var(--line-soft); background: var(--surface); font-size: 13px; color: var(--text); white-space: nowrap; transition: border-color .25s, color .25s, background .25s; }
.subcat-chips a span { color: var(--muted); font-size: 12px; }
.subcat-chips a:hover { border-color: var(--gold); color: var(--gold-1); }
.subcat-chips a.active { background: var(--grad-gold); color: #1c1206; border-color: transparent; }
.subcat-chips a.active span { color: rgba(28, 18, 6, .7); }
.filter-subcats { list-style: none; margin: 6px 0 4px; padding: 0 0 0 12px; border-left: 1px solid var(--line-soft); display: grid; gap: 2px; }
.filter-subcats a { font-size: 13px; padding: 5px 8px; margin: 0; }

/* Mega menu with many categories: three columns */
.mega.mega-wide { width: min(940px, calc(100vw - 40px)); }
.mega-wide .mega-grid { grid-template-columns: repeat(3, 1fr); }
.mega-wide .mega-item { padding: 8px; gap: 12px; }
.mega-wide .mega-thumb { width: 46px; height: 46px; }

/* =====================================================================
   Two main categories: "Yakında" label, mobile menu levels, coming soon page
   ===================================================================== */
.nav-soon { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 20px; background: rgba(230, 25, 125, .16); color: var(--pink); font: 600 9px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.mobile-nav a.sub-top { font-weight: 600; color: var(--gold-1); }
.mobile-nav a.sub-child { padding-left: 62px; font-size: 13.5px; color: var(--muted); }
.coming-soon .btn { margin: 6px 4px 0; }

/* Price label on the product page (prices include VAT) */
.pd-price .pd-tax { flex-basis: 100%; margin-top: -6px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }


/* Card payment logos (iyzico official logo package, white version for the dark theme) */
.footer-pay { display: flex; justify-content: center; padding: 22px 0 4px; border-top: 1px solid var(--line-soft); }
.footer-pay img { width: 456px; max-width: 100%; height: auto; opacity: .85; }
.pay-opt .pay-logo { display: inline-block; height: 12px; width: auto; margin-right: 6px; vertical-align: -1px; }
.pay-by img { display: inline-block; height: 14px; width: auto; margin-right: 6px; vertical-align: -2px; }
.pay-brands { margin: 16px 0 0; text-align: center; }
.pay-brands img { display: block; width: 300px; max-width: 100%; height: auto; margin: 0 auto; opacity: .85; }

/* Sipariş takibi: Aras Kargo durumu */
.cargo-rows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.cargo-rows li { padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.cargo-delivered { display: flex; align-items: center; gap: 8px; color: #5fd49a; font-weight: 600; }
