/* =====================================================================
   APG Akvaryum teması — OpenCart 4.1 varsayılan (Bootstrap 5) üzerine
   ===================================================================== */
:root {
  --apg-navy: #0b2a4a;
  --apg-ocean: #0f4c78;
  --apg-teal: #0fa3b1;
  --apg-coral: #ff5a47;
  --apg-coral-d: #e8432f;
  --apg-bg: #f5f8fb;
  --apg-surface: #ffffff;
  --apg-text: #14212f;
  --apg-muted: #5d6b7b;
  --apg-line: #e2e8ef;
  --apg-field-line: #b9c5d2;      /* form kutusu kenarlığı: zeminden net ayrılsın */
  --apg-field-line-h: #8fa0b2;    /* üzerine gelince */
  --apg-placeholder: #7d8b9b;     /* ipucu yazısı: okunur ama girilen yazıdan açık */
  --apg-radius: 14px;
  --apg-shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 6px 18px rgba(11, 42, 74, .06);
  --apg-shadow-h: 0 4px 10px rgba(11, 42, 74, .08), 0 16px 32px rgba(11, 42, 74, .12);

  --bs-primary: var(--apg-ocean);
  --bs-primary-rgb: 15, 76, 120;
  --bs-link-color: var(--apg-ocean);
  --bs-link-color-rgb: 15, 76, 120;
  --bs-link-hover-color: var(--apg-coral);
  --bs-body-font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--apg-text);
  --bs-body-bg: var(--apg-bg);
  --bs-border-radius: 10px;
}

body { font-family: var(--bs-body-font-family); background: var(--apg-bg); color: var(--apg-text); font-size: 15px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -.01em; color: var(--apg-navy); }
a { text-decoration: none; }
main { min-height: 50vh; }
#container { overflow-x: clip; }

.btn { font-weight: 700; border-radius: 10px; }
.btn-primary { --bs-btn-bg: var(--apg-coral); --bs-btn-border-color: var(--apg-coral); --bs-btn-hover-bg: var(--apg-coral-d); --bs-btn-hover-border-color: var(--apg-coral-d); --bs-btn-active-bg: var(--apg-coral-d); --bs-btn-active-border-color: var(--apg-coral-d); --bs-btn-disabled-bg: var(--apg-coral); --bs-btn-disabled-border-color: var(--apg-coral); }
.btn-outline-primary { --bs-btn-color: var(--apg-ocean); --bs-btn-border-color: var(--apg-ocean); --bs-btn-hover-bg: var(--apg-ocean); --bs-btn-hover-border-color: var(--apg-ocean); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--apg-line); }
/* Form alanları: Bootstrap zemini sayfa zeminiyle (--apg-bg) aynı kaldığı için kutular kayboluyordu.
   Kutular beyaz, kenarlıklar belirgin; ipucu yazısı girilen yazıdan ayırt edilir. */
.form-control, .form-select { background-color: #fff; border-color: var(--apg-field-line); color: var(--apg-text); border-radius: 10px; }
.form-control:hover:not(:focus):not(:disabled), .form-select:hover:not(:focus):not(:disabled) { border-color: var(--apg-field-line-h); }
.form-control::placeholder { color: var(--apg-placeholder); opacity: 1; }
.form-control:focus, .form-select:focus { background-color: #fff; border-color: var(--apg-teal); box-shadow: 0 0 0 .2rem rgba(15, 163, 177, .18); }
.form-control:disabled, .form-select:disabled, .form-control[readonly] { background-color: #eef2f6; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--bs-form-invalid-border-color, #dc3545); }
/* Onay kutuları ve aç/kapa anahtarları */
.form-check-input { background-color: #fff; border: 1.5px solid var(--apg-field-line-h); }
.form-check-input:checked { background-color: var(--apg-ocean); border-color: var(--apg-ocean); }
.form-check-input:focus { border-color: var(--apg-teal); box-shadow: 0 0 0 .2rem rgba(15, 163, 177, .18); }
.form-switch .form-check-input:not(:checked):not(:focus) { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%238fa0b2'/%3e%3c/svg%3e"); }
.form-check-label, .col-form-label { color: var(--apg-text); }

/* ---------------------------------------------------------------- üst şerit */
.apg-topbar { background: var(--apg-navy); color: #cfe2f3; font-size: 13px; }
.apg-topbar .container { min-height: 38px; }
.apg-topbar__msgs { display: flex; gap: 22px; overflow: hidden; white-space: nowrap; }
.apg-topbar__msgs i { color: var(--apg-teal); margin-right: 6px; }
.apg-topbar strong { color: #fff; }
.apg-topbar a { color: #cfe2f3; }
.apg-topbar a:hover { color: #fff; }
.apg-topbar__links { gap: 18px; white-space: nowrap; }
.apg-topbar__links .fa-whatsapp { color: #25d366; }

/* ---------------------------------------------------------------- başlık */
.apg-header { background: var(--apg-surface); border-bottom: 1px solid var(--apg-line); position: sticky; top: 0; z-index: 1030; }
.apg-header__row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.apg-logo img { height: 56px; width: auto; display: block; }
.apg-logo span { font-size: 26px; font-weight: 800; color: var(--apg-navy); }
.apg-search { flex: 1; max-width: 640px; }
.apg-search form { margin: 0 !important; position: relative; }
.apg-search .form-control { height: 48px; border-radius: 999px !important; padding-left: 20px; padding-right: 56px; background: var(--apg-bg); border: 1px solid transparent; font-size: 15px; }
.apg-search .form-control:focus { background: #fff; border-color: var(--apg-teal); }
.apg-search .btn { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; padding: 0; border-radius: 999px !important; z-index: 5; background: var(--apg-ocean); border: 0; color: #fff; font-size: 15px; }
.apg-search .btn:hover { background: var(--apg-coral); }
.apg-search--mobile { padding-bottom: 12px; max-width: none; }

/* akıllı arama paneli */
.apg-ara { position: relative; }
.apg-ara input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.apg-ara.is-loading .btn i { animation: apg-spin .8s linear infinite; }
.apg-ara.is-loading .btn i::before { content: "\f110"; }
@keyframes apg-spin { to { transform: rotate(360deg); } }
.apg-ara__panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1060; display: flex; flex-wrap: wrap; max-height: min(70vh, 560px); overflow: auto;
  background: #fff; border-radius: var(--apg-radius); box-shadow: 0 18px 50px rgba(11, 42, 74, .22); border: 1px solid var(--apg-line); }
.apg-search:not(.apg-search--mobile) .apg-ara__panel { left: -40px; right: -40px; }
.apg-ara__yan { flex: 0 0 210px; padding: 12px 8px; background: var(--apg-bg); border-right: 1px solid var(--apg-line); }
.apg-ara__urunler { flex: 1 1 320px; padding: 8px; min-width: 0; }
.apg-ara__baslik { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--apg-muted); padding: 6px 10px 4px; }
.apg-ara__item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--apg-text); text-decoration: none; }
.apg-ara__item:hover, .apg-ara__item.is-active { background: #eaf3f9; color: var(--apg-text); }
.apg-ara__item mark { background: none; color: var(--apg-ocean); padding: 0; font-weight: 800; }
.apg-ara__etiket { font-size: 14px; font-weight: 600; }
.apg-ara__etiket i { color: var(--apg-teal); width: 14px; }
.apg-ara__etiket span { flex: 1; min-width: 0; }
.apg-ara__etiket small { color: var(--apg-muted); font-size: 11.5px; white-space: nowrap; }
.apg-ara__urun img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--apg-line); border-radius: 8px; flex: none; }
.apg-ara__bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.apg-ara__marka { font-size: 11.5px; font-weight: 800; color: var(--apg-teal); }
.apg-ara__ad { font-size: 14px; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.apg-ara__fiyat { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; line-height: 1.25; }
.apg-ara__fiyat strong { font-size: 14.5px; color: var(--apg-navy); white-space: nowrap; }
.apg-ara__fiyat del { font-size: 12px; color: var(--apg-muted); }
.apg-ara__stok { font-size: 11px; font-weight: 700; color: #1a9b5b; }
.apg-ara__stok.is-out { color: var(--apg-muted); }
.apg-ara__tumu { flex: 1 0 100%; justify-content: center; gap: 8px; margin: 0; border-radius: 0 0 var(--apg-radius) var(--apg-radius); border-top: 1px solid var(--apg-line); font-weight: 800; color: var(--apg-ocean); padding: 12px; }
.apg-ara__bos { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 16px; color: var(--apg-muted); text-align: center; }
.apg-ara__bos i { font-size: 26px; color: var(--apg-line); margin-bottom: 6px; }
.apg-ara__bos strong { color: var(--apg-navy); }
@media (max-width: 767.98px) {
  .apg-ara__panel { flex-direction: column; flex-wrap: nowrap; max-height: 70vh; }
  .apg-ara__yan { flex: none; border-right: 0; border-bottom: 1px solid var(--apg-line); display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; }
  .apg-ara__yan .apg-ara__baslik { flex: 1 0 100%; }
  .apg-ara__etiket { background: #fff; border: 1px solid var(--apg-line); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
  .apg-ara__etiket small { display: none; }
  .apg-ara__urunler { flex: none; }
}
.apg-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.apg-action { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--apg-navy); font-weight: 700; font-size: 14px; background: none; border: 0; }
.apg-action i { font-size: 20px; }
.apg-action:hover { background: var(--apg-bg); color: var(--apg-ocean); }
.apg-iconbtn { border: 0; background: var(--apg-bg); color: var(--apg-navy); width: 42px; height: 42px; border-radius: 10px; font-size: 18px; }

.apg-cart__icon { position: relative; display: inline-flex; }
.apg-badge { position: absolute; top: -8px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--apg-coral); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.apg-cart__menu { width: 360px; padding: 14px; border: 0; border-radius: var(--apg-radius); box-shadow: var(--apg-shadow-h); }
.apg-cart__list { list-style: none; padding: 0; margin: 0 0 10px; max-height: 320px; overflow: auto; }
.apg-cart__list li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--apg-line); }
.apg-cart__list img { border-radius: 8px; background: var(--apg-bg); object-fit: contain; }
.apg-cart__info { flex: 1; min-width: 0; font-size: 13px; }
.apg-cart__info a { display: block; color: var(--apg-text); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apg-cart__info small { color: var(--apg-muted); }
.apg-cart__remove { border: 0; background: none; color: var(--apg-muted); }
.apg-cart__remove:hover { color: var(--apg-coral); }
.apg-cart__totals { margin: 0 0 12px; font-size: 13px; }
.apg-cart__totals div { display: flex; justify-content: space-between; padding: 2px 0; }
.apg-cart__totals div:last-child { font-size: 15px; font-weight: 800; color: var(--apg-navy); }
.apg-cart__totals dt { font-weight: 600; } .apg-cart__totals dd { margin: 0; }
.apg-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.apg-cart__empty { text-align: center; color: var(--apg-muted); padding: 22px 0 10px; margin: 0; }
.apg-cart__empty i { display: block; font-size: 32px; margin-bottom: 10px; color: var(--apg-line); }

/* ---------------------------------------------------------------- mega menü */
/* Menü çubuğu: okyanus mavisi zemin, beyaz kalın yazı; açılır menü koyu lacivert (18.11 – "her yer beyaz, çok soft") */
.apg-nav { background: var(--apg-ocean); position: relative; z-index: 1020; box-shadow: 0 2px 8px rgba(11, 42, 74, .18); }
.apg-nav__list { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.apg-nav__item { border-right: 1px solid rgba(255, 255, 255, .12); }
.apg-nav__item:first-child { border-left: 1px solid rgba(255, 255, 255, .12); }
.apg-nav__item--end { margin-left: auto; border-left: 1px solid rgba(255, 255, 255, .12); }
.apg-nav__link { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 12px; background: none; border: 0; color: #fff; font-weight: 800; font-size: 14px; border-bottom: 3px solid transparent; white-space: nowrap; transition: background .15s; }
@media (max-width: 1399.98px) { .apg-nav__link { padding: 0 7px; gap: 5px; font-size: 13px; } }
@media (max-width: 1199.98px) { .apg-nav__link > i:first-child { display: none; } .apg-nav__link { padding: 0 8px; font-size: 13px; } }
.apg-nav__link > i:first-child { color: #7fdde6; }
.apg-nav__caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.apg-nav__item:hover .apg-nav__link, .apg-nav__item.is-open .apg-nav__link { color: #fff; background: var(--apg-navy); border-bottom-color: var(--apg-coral); }
.apg-nav__item:hover .apg-nav__caret, .apg-nav__item.is-open .apg-nav__caret { transform: rotate(180deg); }
.apg-mega { position: absolute; left: 0; right: 0; top: 100%; background: #10263d; box-shadow: 0 24px 40px rgba(11, 42, 74, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.apg-nav__item:hover .apg-mega, .apg-nav__item.is-open .apg-mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s; }
.apg-mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 32px; padding: 28px 0 32px; }
.apg-mega__title { display: block; font-weight: 800; color: #fff; font-size: 15px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid rgba(255, 255, 255, .12); }
.apg-mega__title:hover { color: #7fdde6; }
.apg-mega ul { list-style: none; padding: 0; margin: 0; }
.apg-mega li a { display: block; padding: 4px 0; color: #b9c9d9; font-size: 14px; }
.apg-mega li a:hover { color: #fff; padding-left: 4px; transition: padding .15s; }
.apg-mega__more { font-weight: 700; color: #7fdde6 !important; }

/* mobil menü */
.apg-offcanvas { width: min(360px, 88vw) !important; }
.apg-offcanvas .offcanvas-header { background: var(--apg-navy); color: #fff; }
.apg-offcanvas .offcanvas-title { color: #fff; }
.apg-offcanvas .btn-close { filter: invert(1); }
.apg-offcanvas .accordion-button { font-weight: 800; color: var(--apg-navy); }
.apg-offcanvas .accordion-button i { color: var(--apg-teal); width: 18px; }
.apg-offcanvas .accordion-button:not(.collapsed) { background: var(--apg-bg); box-shadow: none; }
.apg-m-cat { display: block; font-weight: 700; color: var(--apg-navy); padding: 8px 0 4px; }
.apg-m-sub { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.apg-m-sub a { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--apg-bg); color: var(--apg-muted); }
.apg-m-link { display: block; padding: 16px 20px; font-weight: 800; color: var(--apg-navy); border-top: 1px solid var(--apg-line); }

/* ---------------------------------------------------------------- ürün kartı */
.apg-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--apg-surface); border: 1px solid var(--apg-line) !important; border-radius: var(--apg-radius); overflow: hidden; margin-bottom: 0 !important; transition: box-shadow .2s, transform .2s; }
.apg-card:hover { box-shadow: var(--apg-shadow-h); transform: translateY(-2px); }
.apg-card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 14px; }
.apg-card__media img { width: 100%; height: 100%; object-fit: contain; }
.apg-tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.apg-tag--sale { background: var(--apg-coral); color: #fff; }
.apg-tag--out { background: #eef1f5; color: var(--apg-muted); }
.apg-tag--canli { background: #e3f6f8; color: #0b6f7a; }
.apg-card__price--sor small { color: var(--apg-muted); font-size: 12.5px; }
/* Canlı (balık) ürünleri: teslim notu ve fotoğraf kredisi */
.apg-canli-not { margin: 16px 0 8px; padding: 12px 14px; background: #eef7fb; border: 1px solid #cfe6f1; border-radius: 12px; color: #34495e; font-size: 14px; line-height: 1.5; }
.apg-canli-not strong { display: block; color: var(--apg-navy); margin-bottom: 2px; }
.apg-canli-baslik { font-size: 1.15rem; margin: 20px 0 8px; color: var(--apg-navy); }
.apg-canli-tablo { max-width: 560px; margin-bottom: 0; }
.apg-canli-tablo th { width: 42%; font-weight: 600; color: var(--apg-muted); }
.apg-foto-kredi { margin: 8px 0 0; font-size: 12px; color: var(--apg-muted); }
.apg-foto-kredi a { color: inherit; text-decoration: underline; }
.apg-siparisle--canli > i { color: var(--apg-teal); }
.apg-card__fav { position: absolute; top: 10px; right: 10px; margin: 0; }
.apg-card__fav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--apg-muted); box-shadow: var(--apg-shadow); }
.apg-card__fav button:hover { color: var(--apg-coral); }
.apg-card__body { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; }
/* Marka adları yazıldığı gibi: Türkçe büyük harf dönüşümü "Flipper"ı "FLİPPER" yapıyordu */
.apg-card__brand { font-size: 12.5px; font-weight: 800; color: var(--apg-teal); letter-spacing: .01em; margin-bottom: 4px; }
.apg-card__name { font-size: 14.5px; font-weight: 700; line-height: 1.4; margin: 0 0 10px; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apg-card__name a { color: var(--apg-text); }
.apg-card__name a:hover { color: var(--apg-ocean); }
.apg-card__rating { color: #f5a623; font-size: 12px; margin-bottom: 8px; }
.apg-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apg-card__foot form { margin: 0; }
.apg-card__price { display: flex; flex-direction: column; line-height: 1.15; }
.apg-card__price strong { font-size: 18px; font-weight: 800; color: var(--apg-navy); white-space: nowrap; }
.apg-card__price del { font-size: 13px; color: var(--apg-muted); }
.apg-card__add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--apg-coral); color: #fff; font-weight: 800; font-size: 13px; white-space: nowrap; }
.apg-card__add:hover { background: var(--apg-coral-d); color: #fff; }
.apg-card__add--ghost { background: var(--apg-bg); color: var(--apg-navy); }
.apg-card__add--ghost:hover { background: var(--apg-line); color: var(--apg-navy); }
@media (max-width: 1399px) { .apg-card__add span { display: none; } .apg-card__add { width: 40px; padding: 0; } .apg-card__add--ghost span { display: inline; } .apg-card__add--ghost { width: auto; padding: 0 12px; } }

/* ürün listeleri: eşit yükseklikte ızgara */
.row > .col > .product-thumb, .product-layout .product-thumb { height: 100%; }
#content .row.row-cols-1 > .col, #content .row > .col { margin-bottom: 20px; }
#product-list .product-list .apg-card { flex-direction: row; }
#product-list .product-list .apg-card__media { width: 220px; flex: none; }

/* ---------------------------------------------------------------- ana sayfa */
.apg-home__hero { padding-top: 20px; }
.apg-home__hero .carousel, .apg-home__hero .swiper, .apg-home__hero img { border-radius: var(--apg-radius); }
.apg-home__hero .carousel { box-shadow: var(--apg-shadow); overflow: hidden; border: 0 !important; background: #fff; }
.apg-section { padding: 44px 0; }
.apg-section--alt { background: linear-gradient(180deg, #eaf3f9 0%, var(--apg-bg) 100%); }
.apg-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.apg-section__head h2 { font-size: 26px; margin: 0; }
.apg-section__head p { margin: 0; color: var(--apg-muted); }
.apg-section--alt h3 { font-size: 26px; font-weight: 800; color: var(--apg-navy); margin-bottom: 22px; }

.apg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.apg-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--apg-line); border-radius: var(--apg-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.apg-tile:hover { box-shadow: var(--apg-shadow-h); transform: translateY(-3px); }
.apg-tile__img { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; background: radial-gradient(circle at 50% 60%, #eef6fb 0%, #fff 70%); }
.apg-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.apg-tile__img i { font-size: 44px; color: var(--apg-teal); }
.apg-tile__text { padding: 12px 14px 14px; border-top: 1px solid var(--apg-line); }
.apg-tile__text strong { display: block; color: var(--apg-navy); font-size: 15px; }
.apg-tile__text small { color: var(--apg-muted); font-size: 12.5px; }

.apg-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.apg-brands__tumu { text-align: center; margin-top: 20px; }
.apg-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 84px; padding: 14px; text-align: center; background: #fff; border: 1px solid var(--apg-line); border-radius: var(--apg-radius); transition: border-color .2s, box-shadow .2s; }
.apg-brand strong { color: var(--apg-navy); font-size: 15px; }
.apg-brand small { color: var(--apg-muted); }
.apg-brand:hover { border-color: var(--apg-teal); box-shadow: var(--apg-shadow); }
/* logolu marka kutusu: logolar gri, üzerine gelince renkli */
.apg-brands { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.apg-brand { position: relative; min-height: 104px; }
/* Logolar her zaman renkli (17.11.2026 karar); üzerine gelince yalnızca hafifçe büyür */
.apg-brand--logo img { width: 100%; max-width: 150px; height: 64px; object-fit: contain; transition: transform .25s; }
.apg-brand--logo:hover img, .apg-brand--logo:focus-visible img { transform: scale(1.04); }
.apg-brand--logo small { opacity: 0; transition: opacity .2s; }
.apg-brand--logo:hover small, .apg-brand--logo:focus-visible small { opacity: 1; }
@media (hover: none) { .apg-brand--logo small { opacity: 1; } }

/* ---------------------------------------------------------------- iç sayfalar */
.breadcrumb { background: none; padding: 16px 0 4px; margin: 0; font-size: 13px; border: 0 !important; }
.breadcrumb-item a { color: var(--apg-muted); }
.breadcrumb-item.active, .breadcrumb-item:last-child a { color: var(--apg-navy); font-weight: 700; }
#product-category h1, #product-manufacturer h1, #product-search h1, #product-special h1 { font-size: 28px; margin: 6px 0 18px; }
#column-left .list-group, #column-right .list-group { border-radius: var(--apg-radius); overflow: hidden; box-shadow: var(--apg-shadow); }
#column-left .list-group-item, #column-right .list-group-item { border-color: var(--apg-line); font-size: 14px; color: var(--apg-text); }
#column-left .list-group-item.active, #column-right .list-group-item.active { background: var(--apg-ocean); border-color: var(--apg-ocean); color: #fff; }
#display-control, #product-category .row.mb-3, #product-manufacturer .row.mb-3 { background: #fff; border-radius: var(--apg-radius); padding: 10px 6px; margin-left: 0; margin-right: 0; box-shadow: var(--apg-shadow); }
/* Ürün sayfası: "Marka:" satırındaki küçük logo */
.apg-urun-marka { height: auto; width: auto; max-height: 32px; max-width: 140px; object-fit: contain; vertical-align: middle; margin-left: 4px; padding: 3px 8px; background: #fff; border: 1px solid var(--apg-line); border-radius: 8px; box-sizing: content-box; transition: border-color .2s; }
a:hover > .apg-urun-marka { border-color: var(--apg-teal); }

/* Tedarikli ürün: liste etiketi + ürün sayfası bilgi kutusu */
.apg-tag--tedarik { background: #fff4e5; color: #b45309; border: 1px solid #fcd9a8; }
.apg-tedarik-bilgi { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; padding: 12px 14px; background: #fff8ee; border: 1px solid #fcd9a8; border-radius: 12px; }
.apg-tedarik-bilgi > i { color: #d97706; font-size: 20px; margin-top: 2px; }
.apg-tedarik-bilgi strong { display: block; color: #92400e; font-size: 15px; }
.apg-tedarik-bilgi span { display: block; color: #7c5a2b; font-size: 13px; margin-top: 2px; line-height: 1.45; }

/* Ürün açıklaması: tedarikçiden gelen resim, tablo ve videolar ekrana sığsın (telefonda sayfa sağa taşmasın) */
#tab-description img { max-width: 100%; height: auto !important; }
.apg-bilgi-notu { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--apg-line); font-size: 12.5px; line-height: 1.5; color: var(--apg-muted); }
.apg-bilgi-notu i { margin-right: 4px; }
/* Ürün sayfası: ilgili sayfalar (marka ve kategori bağlantıları) ve benzer ürünler */
.apg-urun-etiket { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 22px; }
.apg-urun-etiket__baslik { font-size: 13px; font-weight: 700; color: var(--apg-muted); margin-right: 2px; }
.apg-urun-etiket__baslik i { color: var(--apg-teal); margin-right: 4px; }
.apg-urun-etiket__chip { display: inline-block; padding: 5px 13px; border: 1px solid var(--apg-line); border-radius: 999px; background: #fff; color: var(--apg-navy); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.apg-urun-etiket__chip:hover { border-color: var(--apg-teal); color: var(--apg-ocean); }
.apg-urun-etiket__chip--marka { background: #eef6fb; }
.apg-benzer { margin: 8px 0 24px; }
.apg-benzer h3 { font-size: 20px; margin: 0 0 14px; color: var(--apg-navy); }
@media (max-width: 767.98px) { .apg-benzer .col:nth-child(n+5) { display: none; } }
#tab-description iframe { max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
#tab-description iframe, #tab-description video { max-width: 100%; }
#tab-description table { max-width: 100%; }
#tab-description { overflow-wrap: anywhere; }

/* Hazırda olmayan ürün: "siparişle getirebiliriz" kutusu */
.apg-siparisle { flex: 1 0 100%; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #eef7fb; border: 1px solid #cfe6f1; border-radius: 12px; }
.apg-siparisle > i { color: var(--apg-ocean); font-size: 20px; margin-top: 2px; }
.apg-siparisle strong { display: block; color: var(--apg-navy); font-size: 15px; }
.apg-siparisle span { display: block; color: #4a6072; font-size: 13px; margin-top: 2px; line-height: 1.45; }
.apg-satin__tel { height: 50px; padding: 0 20px; border-radius: 12px; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--apg-navy); border: 1px solid var(--apg-line); }
.apg-satin__tel:hover { border-color: var(--apg-teal); color: var(--apg-ocean); }

/* Ürün sayfası: kısa satın alma kutusu */
.apg-satin { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 6px; }
.apg-adet { display: inline-flex; align-items: stretch; height: 50px; background: #fff; border: 1px solid var(--apg-line); border-radius: 12px; overflow: hidden; }
.apg-adet__btn { width: 42px; border: 0; background: #fff; color: var(--apg-navy); font-size: 14px; }
.apg-adet__btn:hover { background: var(--apg-bg); color: var(--apg-ocean); }
.apg-adet__input { width: 48px; border: 0; text-align: center; font-weight: 700; font-size: 17px; color: var(--apg-navy); background: transparent; }
.apg-adet__input:focus { outline: none; }
.apg-satin__sepet, .apg-satin__hemen, .apg-satin__yok, .apg-satin__wa { height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.apg-satin__sepet { min-width: 190px; }
.apg-satin__hemen { background: var(--apg-navy); color: #fff; border: 0; }
.apg-satin__hemen:hover { background: var(--apg-ocean); color: #fff; }
.apg-satin__yok { background: #eef2f6; color: var(--apg-muted); border: 0; opacity: 1 !important; }
.apg-satin__wa { background: #25d366; color: #fff; border: 0; }
.apg-satin__wa:hover { background: #1ebe5a; color: #fff; }
.apg-eylem { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--apg-line); }
.apg-eylem__btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--apg-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.apg-eylem__btn i { color: var(--apg-ocean); }
.apg-eylem__btn:hover, .apg-eylem__btn[aria-expanded="true"] { background: #fff; color: var(--apg-navy); box-shadow: var(--apg-shadow); }
@media (max-width: 575px) {
  .apg-satin__sepet { flex: 1; min-width: 0; padding: 0 14px; }
  .apg-satin__hemen { flex: 1 0 100%; }
  .apg-satin__yok { flex: 1 0 100%; }
  .apg-satin__wa { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .apg-satin__tel { flex: 0 0 auto; padding: 0 16px; }
}

/* Ürün sayfası: telefonda yol haritasında ürün adını gizle (hemen altında başlık olarak yazıyor) */
@media (max-width: 575px) { #product-info .breadcrumb-item:last-child { display: none; } }

/* Ürün sayfası: taksit özeti + Taksit Seçenekleri sekmesi */
.apg-taksit-ozet a { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--apg-ocean); font-weight: 700; font-size: 14px; }
.apg-taksit-ozet a:hover { text-decoration: underline; }
.apg-taksit-yukle { padding: 18px 0; color: var(--apg-muted); display: flex; align-items: center; gap: 10px; }
.apg-taksit { display: grid; gap: 16px; padding-top: 6px; max-width: 760px; }
.apg-taksit__grup { background: #fff; border: 1px solid var(--apg-line); border-radius: var(--apg-radius); overflow: hidden; }
.apg-taksit__kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); align-items: center; gap: 8px; padding: 12px 16px 14px; border-bottom: 1px solid var(--apg-line); background: #fbfcfe; }
.apg-taksit__etiket { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--apg-muted); text-transform: uppercase; letter-spacing: .04em; }
.apg-taksit__logo { display: flex; align-items: center; justify-content: center; height: 42px; padding: 6px 8px; background: #fff; border: 1px solid var(--apg-line); border-radius: 10px; }
.apg-taksit__logo img { height: 24px; width: auto; max-width: 96px; object-fit: contain; }
.apg-taksit__logo b { font-size: 13px; color: var(--apg-navy); }
.apg-taksit__tablo { width: 100%; font-size: 15px; }
.apg-taksit__tablo th { padding: 10px 16px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--apg-muted); }
.apg-taksit__tablo td { padding: 10px 16px; border-top: 1px solid #f0f3f7; white-space: nowrap; }
.apg-taksit__tablo th:not(:first-child), .apg-taksit__tablo td:not(:first-child) { text-align: right; }
.apg-taksit__tablo td:nth-child(2) { font-weight: 800; color: var(--apg-navy); }
.apg-taksit__tablo tbody tr:nth-child(even) td { background: #fafcfe; }
.apg-taksit__tablo tbody tr:hover td { background: #f1f6fb; }
.apg-taksit__pesin td { color: var(--apg-muted); }
@media (max-width: 575px) {
  .apg-taksit__tablo { font-size: 14px; }
  .apg-taksit__tablo th, .apg-taksit__tablo td { padding-left: 10px; padding-right: 10px; }
  .apg-taksit__kartlar { grid-template-columns: repeat(3, 1fr); }
  .apg-taksit__logo { height: 36px; padding: 4px 6px; }
  .apg-taksit__logo img { height: 20px; }
}
.apg-taksit__not { margin: 14px 0 0; font-size: 13px; color: var(--apg-muted); }

/* Tüm markalar sayfası: harf dizini + logolu kartlar */
.apg-harfler { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.apg-harfler a { min-width: 36px; height: 36px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid var(--apg-line); color: var(--apg-navy); font-weight: 700; }
.apg-harfler a:hover { border-color: var(--apg-teal); color: var(--apg-ocean); }
.apg-harf { margin-bottom: 26px; scroll-margin-top: 150px; }
.apg-harf h2 { font-size: 22px; color: var(--apg-navy); margin: 0 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--apg-line); }
.pagination { --bs-pagination-color: var(--apg-navy); --bs-pagination-active-bg: var(--apg-ocean); --bs-pagination-active-border-color: var(--apg-ocean); --bs-pagination-border-radius: 10px; }

/* kategori sayfası: marka filtresi */
.apg-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 20px; }
.apg-chips__label { font-size: 13px; font-weight: 700; color: var(--apg-muted); margin-right: 2px; }
.apg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--apg-line); color: var(--apg-navy); font-size: 13.5px; font-weight: 700; transition: border-color .15s, background .15s; }
.apg-chip small { font-size: 11.5px; font-weight: 700; color: var(--apg-muted); background: var(--apg-bg); border-radius: 999px; padding: 1px 7px; }
.apg-chip:hover { border-color: var(--apg-teal); color: var(--apg-ocean); }
.apg-chip.is-active { background: var(--apg-ocean); border-color: var(--apg-ocean); color: #fff; }
.apg-chip.is-active small { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 575.98px) { .apg-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -12px; } .apg-chip { flex: none; } }

/* Hesabım panosu (account/account.twig) */
.apg-hesap__bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 20px; flex-wrap: wrap; }
.apg-hesap__bas h1 { margin: 0; }
.apg-hesap__selam { margin: 4px 0 0; color: var(--apg-muted); }
.apg-hesap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.apg-hesap__kart { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: var(--apg-radius); color: var(--apg-text); transition: border-color .15s, box-shadow .15s; }
.apg-hesap__kart:hover { border-color: var(--apg-teal); box-shadow: var(--apg-shadow); color: var(--apg-text); }
.apg-hesap__kart > i { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #e6f4f6; color: var(--apg-ocean); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.apg-hesap__kart span { display: flex; flex-direction: column; min-width: 0; }
.apg-hesap__kart strong { color: var(--apg-navy); font-size: 15.5px; }
.apg-hesap__kart small { color: var(--apg-muted); font-size: 13px; }
.apg-hesap__alt { font-size: 18px; margin: 32px 0 10px; }
.apg-hesap__diger { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.apg-hesap__diger a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--apg-line); color: var(--apg-navy); font-size: 13.5px; font-weight: 600; }
.apg-hesap__diger a:hover { border-color: var(--apg-teal); color: var(--apg-ocean); }
@media (max-width: 991.98px) { .apg-hesap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .apg-hesap { grid-template-columns: 1fr; gap: 10px; } .apg-hesap__kart { padding: 14px; } }

/* Kategori SEO yazısı (ürünlerin altında, tema.php kategori()) */
.apg-seo { margin: 36px 0 24px; padding: 24px 28px; background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: var(--apg-radius); }
.apg-seo__metin { position: relative; max-height: 240px; overflow: hidden; font-size: 15px; line-height: 1.75; color: #3b4a5a; }
.apg-seo__metin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.apg-seo.is-acik .apg-seo__metin, .apg-seo.is-kisa .apg-seo__metin { max-height: none; }
.apg-seo.is-acik .apg-seo__metin::after, .apg-seo.is-kisa .apg-seo__metin::after { display: none; }
.apg-seo.is-kisa .apg-seo__ac { display: none; }
.apg-seo__metin h2 { font-size: 20px; margin: 0 0 10px; }
.apg-seo__metin h3 { font-size: 17px; margin: 22px 0 8px; }
.apg-seo__metin p { margin: 0 0 14px; }
.apg-seo__metin ul { margin: 0 0 14px; padding-left: 20px; }
.apg-seo__metin li { margin-bottom: 4px; }
.apg-seo__metin strong { color: var(--apg-navy); }
.apg-seo__metin a { text-decoration: underline; text-underline-offset: 2px; }
.apg-seo__ac { margin-top: 10px; border: 0; background: none; padding: 0; font-weight: 800; font-size: 14px; color: var(--apg-ocean); }
.apg-seo__ac:hover { color: var(--apg-coral); }
@media (max-width: 575.98px) { .apg-seo { padding: 18px 16px; } .apg-seo__metin { font-size: 14.5px; max-height: 280px; } }

/* Blog listesi (cms/blog.twig) */
.apg-blog__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 14px; flex-wrap: wrap; }
.apg-blog__bas h1 { margin: 0; }
.apg-blog__giris { margin: 6px 0 0; color: var(--apg-muted); max-width: 640px; }
.apg-blog__ara { display: flex; gap: 6px; width: 320px; max-width: 100%; }
.apg-blog__ara .btn { width: 44px; flex: none; padding: 0; }
.apg-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.apg-blog__kart { display: flex; flex-direction: column; background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: var(--apg-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.apg-blog__kart:hover { box-shadow: var(--apg-shadow-h); transform: translateY(-2px); }
.apg-blog__gorsel { display: block; aspect-ratio: 1.9 / 1; background: #e6f0f6; }
.apg-blog__gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apg-blog__bos { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 34px; color: #a9c4d6; }
.apg-blog__govde { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.apg-blog__meta { font-size: 12.5px; color: var(--apg-muted); margin-bottom: 6px; }
.apg-blog__baslik { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.apg-blog__baslik a { color: var(--apg-navy); }
.apg-blog__baslik a:hover { color: var(--apg-ocean); }
.apg-blog__ozet { color: var(--apg-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; }
.apg-blog__devam { margin-top: auto; font-weight: 800; font-size: 14px; color: var(--apg-ocean); }
.apg-blog__devam:hover { color: var(--apg-coral); }
.apg-blog__yok { text-align: center; padding: 56px 16px; color: var(--apg-muted); background: var(--apg-surface); border: 1px dashed var(--apg-field-line); border-radius: var(--apg-radius); margin-top: 18px; }
.apg-blog__yok i { font-size: 36px; color: #a9c4d6; margin-bottom: 10px; }
@media (max-width: 991.98px) { .apg-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .apg-blog { grid-template-columns: 1fr; gap: 14px; } .apg-blog__ara { width: 100%; } }

/* Blog yazısı (cms/blog_info.twig) */
.apg-yazi { max-width: 780px; margin: 8px auto 32px; }
.apg-yazi__bas h1 { font-size: 34px; line-height: 1.22; margin: 0 0 10px; }
.apg-yazi__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--apg-muted); font-size: 14px; margin-bottom: 20px; }
.apg-yazi__meta i { margin-right: 4px; }
.apg-yazi__kapak { width: 100%; height: auto; border-radius: var(--apg-radius); margin-bottom: 24px; }
.apg-yazi__icerik { font-size: 17px; line-height: 1.75; color: var(--apg-text); }
.apg-yazi__icerik h2 { font-size: 24px; margin: 32px 0 12px; }
.apg-yazi__icerik h3 { font-size: 20px; margin: 26px 0 10px; }
.apg-yazi__icerik p { margin: 0 0 18px; }
.apg-yazi__icerik img { max-width: 100%; height: auto; border-radius: 10px; }
.apg-yazi__icerik a { text-decoration: underline; text-underline-offset: 2px; }
.apg-yazi__icerik ul, .apg-yazi__icerik ol { margin: 0 0 18px; padding-left: 22px; }
.apg-yazi__icerik blockquote { border-left: 4px solid var(--apg-teal); background: #eef7f8; padding: 12px 16px; border-radius: 0; margin: 0 0 18px; }
.apg-yazi__icerik table { width: 100%; margin: 0 0 18px; border-collapse: collapse; }
.apg-yazi__icerik th, .apg-yazi__icerik td { border: 1px solid var(--apg-line); padding: 8px 10px; }
.apg-yazi__etiket { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0; }
.apg-yazi__etiket > span { font-weight: 700; color: var(--apg-navy); }
.apg-yazi__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: var(--apg-radius); margin: 28px 0; flex-wrap: wrap; }
.apg-yazi__cta div { display: flex; flex-direction: column; }
.apg-yazi__cta strong { color: var(--apg-navy); }
.apg-yazi__cta span { color: var(--apg-muted); font-size: 14px; }
@media (max-width: 575.98px) { .apg-yazi__bas h1 { font-size: 26px; } .apg-yazi__icerik { font-size: 16px; } }
/* Blog yazı bileşenleri (her yazıda aynı: kısaca, video, şema, hata kutusu, ürünler, sık sorulanlar, sıradaki yazı) */
.apg-blog-kisaca { background: #eef7f8; border-left: 4px solid var(--apg-teal); border-radius: 0 12px 12px 0; padding: 14px 20px 6px; margin: 0 0 26px; }
.apg-blog-kisaca > b { display: block; color: var(--apg-navy); margin-bottom: 6px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.apg-blog-kisaca ul { margin: 0 0 8px; padding-left: 20px; }
.apg-blog-kisaca li { margin-bottom: 4px; }
.apg-blog-hata { background: #fff4ee; border-left: 4px solid var(--apg-coral); border-radius: 0 12px 12px 0; padding: 14px 20px 2px; margin: 24px 0; }
.apg-blog-hata > b { display: block; color: #b5301f; margin-bottom: 4px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.apg-blog-video { max-width: 300px; margin: 0 auto 30px; }
.apg-blog-video__kutu { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--apg-navy); box-shadow: var(--apg-shadow); }
.apg-blog-video__kutu iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.apg-blog-video figcaption { text-align: center; font-size: 13.5px; color: var(--apg-muted); margin-top: 8px; }
.apg-blog-sema { margin: 26px 0; }
.apg-blog-sema img { display: block; width: 100%; height: auto; border: 1px solid var(--apg-line); border-radius: 14px; }
.apg-blog-sema figcaption { text-align: center; font-size: 13.5px; color: var(--apg-muted); margin-top: 8px; }
.apg-blog-urunler { background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: 14px; padding: 16px 20px; margin: 30px 0; }
.apg-blog-urunler > b { display: block; color: var(--apg-navy); margin-bottom: 10px; }
.apg-blog-urunler div { display: flex; flex-wrap: wrap; gap: 8px; }
.apg-blog-urunler a { display: inline-block; padding: 6px 14px; border: 1px solid var(--apg-line); border-radius: 999px; background: #fff; color: var(--apg-navy); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.apg-blog-urunler a:hover { border-color: var(--apg-teal); color: var(--apg-ocean); }
.apg-blog-sss { margin: 30px 0; }
.apg-blog-sss details { border-bottom: 1px solid var(--apg-line); padding: 12px 0; }
.apg-blog-sss summary { font-weight: 700; color: var(--apg-navy); cursor: pointer; }
.apg-blog-sss details p { margin: 10px 0 0; color: var(--apg-muted); font-size: 16px; }
.apg-blog-sonraki { display: block; margin: 34px 0 8px; padding: 18px 22px; border: 1px solid var(--apg-line); border-left: 4px solid var(--apg-teal); border-radius: 12px; background: var(--apg-surface); text-decoration: none !important; color: var(--apg-navy); }
.apg-blog-sonraki small { display: block; color: var(--apg-muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.apg-blog-sonraki span { font-size: 19px; font-weight: 700; }
.apg-blog-sonraki:hover { border-left-color: var(--apg-coral); }
/* Uzun başlıklar konum çubuğunu taşırmasın (blog yazısı, uzun ürün adları) */
.breadcrumb { min-width: 0; }
.breadcrumb-item:last-child { min-width: 0; max-width: 100%; }
.breadcrumb-item:last-child a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ürün sayfası */
#product-product h1 { font-size: 28px; line-height: 1.25; }
#product-product .image.magnific-popup img, #product-product .img-thumbnail { border-radius: var(--apg-radius); border-color: var(--apg-line); background: #fff; }
#product-product .price-new, #product-product h2 .price-new, #product-product ul.list-unstyled h2 { font-size: 30px; font-weight: 800; color: var(--apg-navy); }
#product-product #button-cart { height: 52px; font-size: 16px; }
#product-product .nav-tabs .nav-link { font-weight: 700; color: var(--apg-muted); }
#product-product .nav-tabs .nav-link.active { color: var(--apg-navy); }
#product-product .tab-content { background: #fff; border: 1px solid var(--apg-line); border-top: 0; border-radius: 0 0 var(--apg-radius) var(--apg-radius); padding: 24px; line-height: 1.7; }
#product-product .tab-content img { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------- alt bilgi */
/* OpenCart'ın varsayılan stili footer'ı sayfa dibine "absolute" yapıştırıyor (kısa footer için);
   bizim footer daha uzun olduğu için normal akışa alınıyor, yoksa ürünlerin üstüne biniyor */
#container { position: relative !important; min-height: 100vh; margin-bottom: 0 !important; padding-bottom: 0 !important; display: flex; flex-direction: column; }
/* OpenCart, absolute footer'a yer açmak için içeriğin altına 400px (mobilde 730px) boşluk bırakıyor; gerek kalmadı */
#content, #column-left, #column-right { padding-bottom: 0 !important; }
#container > main { flex: 1 0 auto; }
.apg-footer { position: static !important; bottom: auto !important; top: auto !important; width: 100%; flex-shrink: 0; margin-top: 56px; background: var(--apg-navy); color: #b9cde0; font-size: 14px; }
.apg-footer a { color: #b9cde0; }
.apg-footer a:hover { color: #fff; }
.apg-footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.apg-footer ul { list-style: none; padding: 0; margin: 0; }
.apg-footer li { padding: 4px 0; }
.apg-footer__trust { background: var(--apg-ocean); color: #fff; }
.apg-footer__trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.apg-footer__trust li { display: flex; align-items: center; gap: 14px; padding: 0; }
.apg-footer__trust i { font-size: 26px; color: var(--apg-teal); width: 32px; text-align: center; }
.apg-footer__trust strong { display: block; color: #fff; font-size: 14px; }
.apg-footer__trust span { font-size: 12.5px; color: #cfe2f3; }
.apg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 44px 0 30px; }
.apg-footer__name { display: block; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.apg-footer__brand p { line-height: 1.7; max-width: 320px; }
.apg-footer__social { display: flex; gap: 10px; }
.apg-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; }
.apg-footer__social a:hover { background: var(--apg-coral); }
.apg-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.apg-footer__contact i { color: var(--apg-teal); width: 16px; margin-top: 4px; }
.apg-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.apg-footer__pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.apg-footer__pay-baslik { font-weight: 600; white-space: nowrap; }
.apg-footer__pay-baslik i { margin-right: 4px; color: #6fd3a0; }
.apg-footer__kartlar { display: flex; flex-wrap: wrap; gap: 6px; }
.apg-footer__kart { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 36px; padding: 4px 6px; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.apg-footer__kart img { display: block; width: 100%; height: 100%; object-fit: contain; }
.apg-footer__kart--iyzico { width: 96px; }
@media (min-width: 576px) { .apg-footer__bottom { padding-right: 76px; } }   /* sağ alttaki WhatsApp düğmesi logoların üstüne binmesin */
@media (max-width: 575.98px) { .apg-footer__bottom { justify-content: center; text-align: center; padding-bottom: 88px; } .apg-footer__pay { justify-content: center; } .apg-footer__kartlar { justify-content: center; } }
.apg-footer__bottom { align-items: center; }
.apg-footer__etbis { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; }

.apg-wa { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
.apg-wa:hover { color: #fff; transform: scale(1.06); }

/* çerez uyarısı */
#cookie { border-radius: var(--apg-radius) var(--apg-radius) 0 0; }

/* ---------------------------------------------------------------- duyarlı */
@media (max-width: 991.98px) {
  .apg-header__row { min-height: 66px; gap: 10px; }
  .apg-logo img { height: 42px; }
  .apg-action { padding: 8px; }
  .apg-footer__trust ul { grid-template-columns: repeat(2, 1fr); }
  .apg-footer__grid { grid-template-columns: 1fr 1fr; }
  .apg-cart__menu { width: min(360px, calc(100vw - 24px)); }
}
@media (max-width: 575.98px) {
  body { font-size: 14px; }
  .apg-topbar__msgs { justify-content: center; width: 100%; }
  .apg-section { padding: 30px 0; }
  .apg-section__head h2, .apg-section--alt h3 { font-size: 21px; }
  .apg-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .apg-brands { grid-template-columns: repeat(2, 1fr); }
  .apg-footer__trust ul, .apg-footer__grid { grid-template-columns: 1fr; }
  .apg-card__body { padding: 2px 12px 12px; }
  .apg-card__name { font-size: 13.5px; }
  .apg-card__price strong { font-size: 16px; }
  #content .row.row-cols-1 > .col { width: 50%; }
  .apg-card__add { width: 36px; height: 36px; }
  .apg-card__add--ghost { width: auto; }
  .apg-wa { width: 50px; height: 50px; font-size: 26px; }
}

/* ---------------------------------------------------------------- Sanal Akvaryum */
.apg-sanal { padding-bottom: 48px; }
.apg-sanal__bas { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 4px 0 20px; }
.apg-sanal__bas h1 { font-size: 30px; margin: 0 0 4px; }
.apg-sanal__bas p { margin: 0; color: var(--apg-muted); }
.apg-sanal__rozet { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--apg-navy); color: #fff; font-size: 13px; font-weight: 700; }
.apg-sanal__kart { background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: var(--apg-radius); padding: 18px; margin-bottom: 16px; }
.apg-sanal__kart--yonetici { border-color: var(--apg-ocean); box-shadow: 0 0 0 3px rgba(15, 76, 120, .08); }
.apg-sanal__baslik { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 14px; }
.apg-sanal__baslik i { color: var(--apg-teal); }
.apg-sanal__baslik small { font-size: 12.5px; font-weight: 600; color: var(--apg-muted); }
.apg-sanal__sahne { position: relative; padding: 0; overflow: hidden; margin-bottom: 8px; background: #e9eef2; }
.apg-sanal__sahne svg { display: block; width: 100%; height: auto; touch-action: none; }
.apg-sanal__zoom { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; }
.apg-sanal__zoom button { width: 36px; height: 36px; border: 1px solid var(--apg-line); border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--apg-navy); }
.apg-sanal__zoom button:hover { background: #fff; color: var(--apg-ocean); }
.apg-sanal__not { display: flex; gap: 8px; align-items: flex-start; background: #fff6e0; color: #7a5208; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; margin-bottom: 14px; }
.apg-sanal__not i { margin-top: 3px; }
/* Akvaryum rehberi: "Bu akvaryum için ne gerekir?" kartları (Sanal Akvaryum + hesaplayıcı) */
.apg-rehber__izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.apg-rehber__kart { display: flex; flex-direction: column; border: 1px solid var(--apg-line); border-radius: 12px; padding: 12px 14px; background: var(--apg-bg); }
.apg-rehber__bas { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--apg-muted); }
.apg-rehber__bas i { width: 18px; text-align: center; color: var(--apg-teal); }
.apg-rehber__deger { display: block; margin: 4px 0 6px; font-size: 18px; line-height: 1.25; color: var(--apg-navy); }
.apg-rehber__alt { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--apg-muted); }
.apg-rehber__alt li + li { margin-top: 2px; }
.apg-rehber__uyari { margin: 8px 0 0; padding: 6px 8px; border-radius: 8px; background: #fff4e0; color: #8a5300; font-size: 12.5px; }
.apg-rehber__eylemler { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 8px; }
.apg-rehber__eylem { padding: 0; border: 0; background: none; color: var(--apg-ocean); font-size: 13px; font-weight: 700; text-decoration: none; }
.apg-rehber__eylem:hover { color: var(--apg-teal); text-decoration: underline; }
.apg-rehber__balik { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12.5px; }
.apg-rehber__balik .is-ok i { color: #1e8e4e; }
.apg-rehber__balik .is-dar { color: var(--apg-muted); }
.apg-rehber__balik .is-dar i { color: var(--apg-coral); }
.apg-rehber__balik .is-more, .apg-rehber__balik .is-dar-ozet { color: var(--apg-muted); margin-top: 2px; }
.apg-rehber__balik .is-dar-ozet i { color: var(--apg-coral); }
.apg-rehber__balik + .apg-rehber__eylem { margin-top: 8px; display: inline-block; }
.apg-rehber__dipnot { margin: 12px 0 0; font-size: 12.5px; color: var(--apg-muted); }
.apg-rehber__dipnot a { font-weight: 700; white-space: nowrap; }
.apg-rehber__tablo-kap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.apg-rehber__tablo { min-width: 560px; margin: 0; font-size: 13.5px; }
.apg-rehber__tablo th, .apg-rehber__tablo td { vertical-align: top; white-space: nowrap; }
.apg-rehber__tablo thead th { color: var(--apg-navy); font-size: 15px; }
.apg-rehber__tablo thead th:nth-child(2), .apg-rehber__tablo td:nth-child(2) { background: #eef6fb; }
.apg-rehber__tablo th small, .apg-rehber__tablo td small { display: block; font-weight: 500; font-size: 12px; color: var(--apg-muted); }
.apg-rehber__tablo tbody th { font-weight: 600; color: var(--apg-muted); }
.apg-hesapla__sss details { border-bottom: 1px solid var(--apg-line); padding: 10px 0; }
.apg-hesapla__sss summary { font-weight: 700; color: var(--apg-navy); cursor: pointer; }
.apg-hesapla__sss p { margin: 8px 0 0; color: var(--apg-muted); font-size: 14px; }
@media (max-width: 575.98px) {
  .apg-rehber__izgara { grid-template-columns: 1fr 1fr; gap: 8px; }
  .apg-rehber__kart { padding: 10px; }
  .apg-rehber__deger { font-size: 16px; }
  .apg-rehber__alt { font-size: 12px; }
}
@media (max-width: 359.98px) { .apg-rehber__izgara { grid-template-columns: 1fr; } }

.apg-sanal__olcum { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-bottom: 16px; }
.apg-sanal__olcum div { background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: 12px; padding: 10px 12px; }
.apg-sanal__olcum span { display: block; font-size: 12px; color: var(--apg-muted); font-weight: 600; }
.apg-sanal__olcum b { font-size: 18px; color: var(--apg-navy); }
.apg-sanal__satir { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.apg-sanal__satir--ust { align-items: flex-start; }
.apg-sanal__satir > label, .apg-sanal__etiket { flex: 0 0 104px; font-size: 14px; font-weight: 700; color: var(--apg-navy); }
.apg-sanal__satir--ust .apg-sanal__etiket { padding-top: 6px; }
.apg-sanal__satir .form-range { flex: 1; }
.apg-sanal__satir output { flex: 0 0 60px; text-align: right; font-weight: 800; color: var(--apg-ocean); }
.apg-sanal__cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.apg-sanal__cipler button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--apg-field-line); border-radius: 999px; background: #fff; color: var(--apg-navy); font-size: 13.5px; font-weight: 700; }
.apg-sanal__cipler button:hover:not(:disabled) { border-color: var(--apg-teal); }
.apg-sanal__cipler button.is-on { background: var(--apg-ocean); border-color: var(--apg-ocean); color: #fff; }
.apg-sanal__cipler button:disabled { opacity: .4; cursor: not-allowed; }
.apg-sanal__cipler button small { font-weight: 600; opacity: .7; }
.apg-sanal__cipler--marka button { padding: 4px 10px; font-size: 12.5px; }
.apg-sanal__renk { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.apg-sanal__renk--beyaz { background: #f4f4f2; } .apg-sanal__renk--siyah { background: #26282b; } .apg-sanal__renk--antrasit { background: #4a4f55; }
.apg-sanal__renk--ceviz { background: #7a5233; } .apg-sanal__renk--mese { background: #c9a46c; }
.apg-sanal__yuvalar { display: flex; flex-direction: column; }
.apg-sanal__yuva { padding: 8px 0; border-bottom: 1px solid var(--apg-line); }
.apg-sanal__yuva:last-child { border-bottom: 0; }
.apg-sanal__yuva-bas { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--apg-navy); font-size: 14px; }
.apg-sanal__yuva-bas > i { width: 18px; text-align: center; color: var(--apg-teal); }
.apg-sanal__yuva-bas .btn { margin-left: auto; font-weight: 700; text-decoration: none; }
.apg-sanal__urun, .apg-sanal__secim { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.apg-sanal__urun img, .apg-sanal__secim img { flex: none; object-fit: contain; background: #fff; border: 1px solid var(--apg-line); border-radius: 8px; }
.apg-sanal__urun-bilgi { flex: 1; min-width: 0; line-height: 1.3; }
.apg-sanal__urun-bilgi small { display: block; font-size: 11.5px; font-weight: 800; color: var(--apg-teal); }
.apg-sanal__urun-bilgi a, .apg-sanal__urun-bilgi > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--apg-text); font-size: 13.5px; font-weight: 600; }
.apg-sanal__urun-fiyat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.apg-sanal__urun-fiyat b { color: var(--apg-navy); font-size: 14.5px; }
.apg-sanal__urun-fiyat del { color: var(--apg-muted); font-size: 12px; }
.apg-sanal__tukendi { font-size: 11px; font-weight: 800; color: #b42318; background: #fde8e6; border-radius: 999px; padding: 1px 7px; }
/* Ön Bilgilendirme Formu: pencerede başlık zaten üstte var */
.modal .apg-hukuk > h2 { display: none; }
.apg-hukuk { font-size: 14px; line-height: 1.6; }
.apg-sanal__adet { flex: none; display: flex; align-items: center; border: 1px solid var(--apg-field-line); border-radius: 999px; overflow: hidden; }
.apg-sanal__adet button { width: 28px; height: 28px; border: 0; background: #fff; color: var(--apg-navy); font-weight: 800; }
.apg-sanal__adet button:hover { background: var(--apg-bg); }
.apg-sanal__adet span { min-width: 24px; text-align: center; font-weight: 800; font-size: 13.5px; }
.apg-sanal__sil { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--apg-muted); }
.apg-sanal__sil:hover { background: #fde8e6; color: #b42318; }
.apg-sanal__bos { color: var(--apg-muted); font-size: 13.5px; margin: 4px 0; }
.apg-sanal__ozel { display: grid; grid-template-columns: 1fr 64px 104px 28px; gap: 6px; align-items: center; margin-bottom: 6px; }
.apg-sanal__ozet { position: sticky; top: 100px; }
.apg-sanal__toplam-satir { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; font-size: 14.5px; }
.apg-sanal__toplam-satir--ind b { color: #1a7f4b; }
.apg-sanal__toplam-satir--genel { border-top: 1px solid var(--apg-line); margin-top: 6px; padding-top: 10px; }
.apg-sanal__toplam-satir--genel span { font-weight: 800; color: var(--apg-navy); }
.apg-sanal__toplam-satir--genel small { font-weight: 600; color: var(--apg-muted); font-size: 12px; }
.apg-sanal__toplam-satir--genel b { font-size: 24px; color: var(--apg-navy); }
.apg-sanal__dipnot { font-size: 12.5px; color: var(--apg-muted); margin: 8px 0 0; }
.apg-sanal__alt { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--apg-muted); }
.apg-sanal__liste { display: flex; flex-direction: column; }
.apg-sanal__secim { border-bottom: 1px solid var(--apg-line); }
.apg-sanal__secim .btn { flex: none; min-width: 72px; }
.apg-sanal__yukleniyor { padding: 24px; text-align: center; color: var(--apg-muted); }
.apg-action--sanal { color: var(--apg-coral-d); }
.apg-action--sanal i { color: var(--apg-coral); }
.apg-action--sanal:hover { background: #fff0ee; color: var(--apg-coral-d); }
@media (max-width: 991.98px) { .apg-sanal__ozet { position: static; } }
@media (max-width: 575.98px) {
  .apg-sanal__bas h1 { font-size: 24px; }
  .apg-sanal__satir > label, .apg-sanal__etiket { flex-basis: 78px; font-size: 13px; }
  .apg-sanal__ozel { grid-template-columns: 1fr 52px 84px 28px; }
}

/* ---------- Ödeme yöntemi penceresi (apg.js kartlara çevirir) ---------- */
.apg-odeme .apg-odeme__kart { position: relative; display: grid; grid-template-columns: 22px 44px 1fr; column-gap: 12px; align-items: center; margin: 0 0 12px; padding: 14px 16px; background: var(--apg-surface); border: 1.5px solid var(--apg-line); border-radius: var(--apg-radius); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.apg-odeme .apg-odeme__kart:hover { border-color: var(--apg-field-line-h); }
.apg-odeme .apg-odeme__kart.is-secili { border-color: var(--apg-teal); box-shadow: 0 0 0 3px rgba(15, 163, 177, .16); }
.apg-odeme .apg-odeme__kart > input { grid-column: 1; grid-row: 1; float: none; margin: 0; width: 20px; height: 20px; }
.apg-odeme .apg-odeme__kart > .apg-odeme__ikon { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--apg-bg); color: var(--apg-ocean); font-size: 18px; }
.apg-odeme .apg-odeme__kart > label { grid-column: 3; grid-row: 1; margin: 0; font-weight: 700; color: var(--apg-navy); cursor: pointer; }
.apg-odeme .apg-odeme__kart > .apg-odeme__ac { grid-column: 3; display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--apg-muted); }
.apg-odeme .apg-odeme__kart > .apg-odeme__logolar { grid-column: 3; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.apg-odeme__logolar img { height: 24px; width: auto; padding: 2px 4px; background: #fff; border: 1px solid var(--apg-line); border-radius: 5px; }
.apg-odeme__guven { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 16px 0; padding: 12px; list-style: none; background: var(--apg-bg); border-radius: var(--apg-radius); font-size: 12.5px; color: var(--apg-muted); }
.apg-odeme__guven i { color: #1b8a5a; margin-right: 6px; }
.apg-odeme .text-end .btn { width: 100%; padding: 12px; font-size: 16px; }
@media (max-width: 400px) {
  .apg-odeme .apg-odeme__kart { grid-template-columns: 22px 1fr; }
  .apg-odeme .apg-odeme__kart > .apg-odeme__ikon { display: none; }
  .apg-odeme .apg-odeme__kart > label, .apg-odeme .apg-odeme__kart > .apg-odeme__ac, .apg-odeme .apg-odeme__kart > .apg-odeme__logolar { grid-column: 2; }
}
/* Kart formu açıkken (iyzico): ödeme sütunu üste ve ortaya, form sipariş özetinin üstüne. Havale seçilirse düzen kendiliğinden eski haline döner. */
#checkout-checkout #content > .row:has(#iyzipay-checkout-form) { flex-direction: column; align-items: center; }
#checkout-checkout #content > .row:has(#iyzipay-checkout-form) > * { width: 100%; max-width: 720px; flex: 0 0 auto; }
#checkout-checkout #content > .row:has(#iyzipay-checkout-form) > .col { order: -1; display: flex; flex-direction: column; }
#checkout-checkout #content > .row:has(#iyzipay-checkout-form) #checkout-confirm { order: -1; display: flex; flex-direction: column; }
#checkout-checkout #content > .row:has(#iyzipay-checkout-form) #checkout-payment { order: -1; margin-bottom: 24px; padding: 20px; background: var(--apg-surface); border: 1.5px solid var(--apg-teal); border-radius: var(--apg-radius); box-shadow: var(--apg-shadow-h); }
/* ---------- Durum sayfaları (durum.twig) ---------- */
.apg-durum { display: flex; justify-content: center; padding: 12px 0 40px; }
.apg-durum__kart { width: 100%; max-width: 680px; padding: 36px 28px; text-align: center; background: var(--apg-surface); border: 1px solid var(--apg-line); border-radius: 20px; box-shadow: var(--apg-shadow); }
.apg-durum__ikon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; font-size: 32px; color: var(--apg-ocean); background: #e7f1f9; }
.apg-durum--iyi .apg-durum__ikon { color: #fff; background: #1b8a5a; box-shadow: 0 0 0 10px rgba(27, 138, 90, .14); }
.apg-durum--uyari .apg-durum__ikon { color: #fff; background: #d9822b; box-shadow: 0 0 0 10px rgba(217, 130, 43, .15); }
.apg-durum h1 { margin: 0 0 10px; font-size: 26px; color: var(--apg-navy); }
.apg-durum__metin { color: var(--apg-muted); line-height: 1.6; }
.apg-durum__metin p { margin: 0 0 8px; }
.apg-durum__neden { font-weight: 600; color: var(--apg-text); }
.apg-durum__ozet { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.apg-durum__ozet div { flex: 1 1 140px; padding: 12px; background: var(--apg-bg); border-radius: var(--apg-radius); }
.apg-durum__ozet dt { font-size: 12px; font-weight: 500; color: var(--apg-muted); }
.apg-durum__ozet dd { margin: 2px 0 0; font-weight: 700; color: var(--apg-navy); }
.apg-durum__banka { margin-top: 18px; padding: 16px; text-align: left; border: 1.5px dashed var(--apg-teal); border-radius: var(--apg-radius); }
.apg-durum__banka p { margin: 8px 0 0; overflow-wrap: anywhere; }
.apg-durum__not { font-size: 14px; color: var(--apg-muted); }
.apg-durum__adimlar { display: flex; margin: 26px 0 0; padding: 0; list-style: none; }
.apg-durum__adimlar li { position: relative; flex: 1; font-size: 12px; color: var(--apg-muted); }
.apg-durum__adimlar li i { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: var(--apg-bg); border: 1.5px solid var(--apg-line); }
.apg-durum__adimlar li + li::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 2px; background: var(--apg-line); }
.apg-durum__adimlar li.is-tamam { font-weight: 700; color: #1b8a5a; }
.apg-durum__adimlar li.is-tamam i { color: #fff; background: #1b8a5a; border-color: #1b8a5a; }
.apg-durum__ara { display: flex; gap: 8px; margin-top: 22px; }
.apg-durum__ara .btn { white-space: nowrap; }
.apg-durum__dugmeler { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.apg-durum__dugmeler .btn { padding: 11px 20px; }
.apg-durum__dugmeler .apg-durum__wa { color: #fff; background: #1faa59; border-color: #1faa59; }
.apg-durum__dugmeler .apg-durum__wa:hover { color: #fff; background: #188a48; }
.apg-durum__kat { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--apg-line); }
.apg-durum__kat small { display: block; margin-bottom: 10px; color: var(--apg-muted); }
.apg-durum__kat div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.apg-durum__kat a { padding: 7px 14px; font-size: 13.5px; text-decoration: none; background: var(--apg-bg); border: 1px solid var(--apg-line); border-radius: 999px; }
.apg-durum__kat a:hover { border-color: var(--apg-teal); }
@media (max-width: 480px) {
  .apg-durum__kart { padding: 28px 16px; }
  .apg-durum__adimlar li { font-size: 10.5px; }
  .apg-durum__adimlar li i { width: 32px; height: 32px; }
  .apg-durum__adimlar li + li::before { top: 15px; }
  .apg-durum__dugmeler .btn { width: 100%; }
}
#alert .alert.apg-bildirim--gidiyor { opacity: 0 !important; transition: opacity .3s; pointer-events: none; }

/* Sepette adet kutusu */
#shopping-cart .input-group:has(.apg-adet--sepet) { flex-wrap: nowrap; align-items: center; gap: 8px; }
.apg-adet--sepet { height: 44px; flex: 0 0 auto; }
.apg-adet--sepet .apg-adet__btn { width: 40px; }
.apg-adet--sepet .apg-adet__btn:disabled { opacity: .35; }
.apg-adet--sepet .apg-adet__input { width: 44px; min-width: 0; }
#shopping-cart .input-group:has(.apg-adet--sepet) > .btn-danger { border-radius: 10px; height: 44px; display: inline-flex; align-items: center; }