@media (max-width: 991.98px) {
  body:not(.mobile-app) { padding-bottom: 4.75rem; }
  body:has(.order-cta) { padding-bottom: 6.75rem; }
  /* Kısa sayfalarda footer first fold dışında kalsın */
  main.flex-grow-1 {
    min-height: calc(100dvh - 8.5rem);
  }
  .order-cta-wrap {
    position: fixed;
    z-index: 1030;
    left: 0;
    right: 0;
    bottom: 3.25rem;
    padding: 0;
    background: #fff;
    box-shadow: 0 -.35rem .75rem rgba(0, 0, 0, .08);
  }
  .order-cta-wrap .order-cta {
    position: static;
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
  .order-cta-wrap .order-cta-hint {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  /* Eski sarmalayıcısız butonlar */
  .order-cta:not(.order-cta-wrap .order-cta) {
    position: fixed;
    z-index: 1030;
    left: 0;
    right: 0;
    bottom: 3.25rem;
    width: auto;
    margin: 0;
    border-radius: 0;
  }
}
.btn.is-btn-loading,
input.is-btn-loading {
  cursor: wait;
  pointer-events: none;
}
input.is-btn-loading {
  opacity: .72;
}
.btn.is-btn-pressed {
  transform: scale(.98);
  opacity: .92;
}
#order_confirm_form input:invalid,
#order_confirm_form .is-invalid {
  scroll-margin-top: 5rem;
  scroll-margin-bottom: 7rem;
}
#order_confirm_form label:has(input.is-invalid),
#order_confirm_form .border.rounded:has(input.is-invalid) {
  outline: 2px solid var(--bs-danger);
  outline-offset: 2px;
  border-radius: .375rem;
}
.menu-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
}
.menu-scroll::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
.order-steps {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.order-steps::-webkit-scrollbar { display: none; height: 0; width: 0; }
.order-steps > .list-group-item { flex: 1 0 auto; white-space: nowrap; text-align: center; }
.site-logo { max-width: 240px; max-height: 64px; width: auto; height: auto; }
.header-logo { line-height: 0; }
@media (max-width: 991.98px) {
  .head-sticky,
  .head-bar { display: contents; }
  .header-logo {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    text-align: center;
    padding: .5rem 0;
    border-bottom: 1px solid var(--bs-border-color);
  }
  .site-logo { max-height: 44px; max-width: 11rem; }
  .header-search { padding: .5rem .75rem .75rem; }
  .checkout-quiet .header-search { display: none; }
}
@media (min-width: 992px) {
  .head-sticky { position: sticky; top: 0; z-index: 1020; }
  .head-bar { display: flex; align-items: center; gap: 1rem; }
  .header-search { flex: 1 1 auto; min-width: 0; }
}
.head-sticky.is-raised,
.header-logo.is-raised {
  box-shadow: 0 .45rem .9rem rgba(0, 0, 0, .08);
}
.carousel-item img { -webkit-user-drag: none; user-select: none; }
.ban-slide-wrap {
  position: relative;
}
.ban-slide {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.ban-slide.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.ban-slide::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
.ban-slide-track {
  display: flex;
}
.ban-slide-item {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.ban-slide-item img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.ban-slide-item > a {
  display: block;
}
.thumb-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--thumb, 5.5rem);
  height: var(--thumb, 5.5rem);
  overflow: hidden;
}
.thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  font-size: 0;
}
.qty-narrow { width: 3rem; padding-left: .25rem; padding-right: .25rem; text-align: center; }
@keyframes bs5-spin { to { transform: rotate(1turn); } }
.bi-spin { display: inline-block; animation: bs5-spin .7s linear infinite; }
.btn.is-cart-done { box-shadow: 0 0 0 .2rem rgba(25, 135, 84, .35); }
.btn-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.prd-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  padding: .75rem .5rem .35rem;
  box-sizing: border-box;
}
.prd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  font-size: 0;
}
.side-box-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.side-box-toggle::after {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -.2rem;
  flex: 0 0 auto;
}
.side-box-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: .2rem;
}
.menu-top .nav-link { font-size: .8125rem; padding-top: .15rem; padding-bottom: .15rem; }
.menu-main .nav-link {
  font-size: 1rem;
  border-radius: .375rem;
}
.menu-main .nav-link:hover,
.menu-main .nav-link:focus-visible {
  background: var(--bs-tertiary-bg);
  color: var(--bs-emphasis-color);
}
.menu-main .menu-dd-group {
  border-radius: .375rem;
}
.menu-main .menu-dd-group:hover,
.menu-main .menu-dd-group:has(.dropdown-menu.show) {
  background: var(--bs-tertiary-bg);
}
.menu-main .menu-dd-group:hover .menu-dd-link,
.menu-main .menu-dd-group:hover .menu-dd-caret,
.menu-main .menu-dd-group:has(.dropdown-menu.show) .menu-dd-link,
.menu-main .menu-dd-group:has(.dropdown-menu.show) .menu-dd-caret {
  background: transparent;
  color: var(--bs-emphasis-color);
}
.menu-main .menu-dd-link {
  padding-right: .15rem;
}
.menu-main .menu-dd-caret {
  border: 0;
  box-shadow: none;
  outline: none;
  min-width: 1.25rem;
  padding: .5rem .35rem .5rem 0;
  margin-left: -.15rem;
}
.menu-main .menu-dd-caret::before {
  display: none;
}
.menu-main .menu-dd-caret.dropdown-toggle::after {
  margin-left: 0;
  vertical-align: .15em;
}
.menu-main .menu-dd-caret:hover,
.menu-main .menu-dd-caret:focus,
.menu-main .menu-dd-caret:focus-visible,
.menu-main .menu-dd-caret.show {
  background: transparent;
  box-shadow: none;
  outline: none;
  color: var(--bs-emphasis-color);
}
.menu-main .dropdown-menu {
  z-index: 1030;
  margin-top: 0;
  padding: .4rem;
  border: 1px solid var(--bs-border-color);
  border-radius: .5rem;
  box-shadow: 0 .5rem 1.25rem rgba(17, 17, 17, .08);
}
.menu-main .dropdown-item {
  border-radius: .35rem;
  padding: .45rem .75rem;
}
.footer-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.25rem 1.5rem; }
.letter-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.letter-scroll::-webkit-scrollbar { display: none; height: 0; }
.letter-scroll > a { flex: 0 0 auto; }
.filter-scroll { max-height: 12rem; overflow-y: auto; }
.ctg-filters {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ctg-filters > .card-header {
  flex: 0 0 auto;
}
.ctg-filters > .card-body:not(.collapse),
.ctg-filters > .card-body.collapse.show {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.ctg-filters > .card-body.collapse:not(.show) {
  display: none !important;
}
.ctg-filters-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.ctg-filters-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ctg-filters-actions {
  flex: 0 0 auto;
  margin-top: auto;
  border-top: 1px solid var(--bs-border-color);
  background: #fff;
  z-index: 2;
  box-shadow: 0 -.35rem .75rem rgba(0, 0, 0, .06);
}
/* Masaüstü: açık panel sabit yükseklik, Ara altta kalır */
@media (min-width: 992px) {
  .ctg-filters:has(> .card-body.show),
  .ctg-filters.is-open {
    height: min(70vh, 36rem);
    max-height: min(70vh, 36rem);
  }
}
/* Mobil: açık filtre viewport’a sabitlenir (tabbar üstü), Ara her zaman görünür */
@media (max-width: 991.98px) {
  .ctg-filters:has(> .card-body.show),
  .ctg-filters.is-open {
    position: fixed;
    left: .75rem;
    right: .75rem;
    top: 4.25rem;
    bottom: 4.25rem;
    height: auto;
    max-height: none;
    z-index: 1040;
    margin: 0 !important;
    box-shadow: 0 .5rem 1.75rem rgba(0, 0, 0, .18);
  }
  body.mobile-app .ctg-filters:has(> .card-body.show),
  body.mobile-app .ctg-filters.is-open {
    top: 3.5rem;
    bottom: 4.75rem;
  }
  html.ctg-filters-open {
    overflow: hidden;
  }
}
.prd-slide {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.prd-slide.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.prd-slide::-webkit-scrollbar {
  display: none;
  height: 0;
}
.prd-slide-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding-bottom: .15rem;
}
.prd-slide-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 72%;
  max-width: 72%;
  scroll-snap-align: start;
  min-width: 0;
}
.prd-slide-item > .col {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
}
.prd-slide-item .card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: auto !important;
  min-height: 100%;
}
.prd-slide-item .card-body {
  flex: 1 1 auto;
}
.prd-slide .card-body > a.fw-semibold {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 576px) {
  .prd-slide-item {
    flex-basis: 46%;
    max-width: 46%;
  }
}
@media (min-width: 992px) {
  .prd-slide-item {
    flex: 0 0 calc((100% - (var(--prd-cols, 4) - 1) * 1rem) / var(--prd-cols, 4));
    max-width: calc((100% - (var(--prd-cols, 4) - 1) * 1rem) / var(--prd-cols, 4));
  }
}
.prd-feature .prd-card-media,
.carousel .row-cols-lg-1 .prd-card-media {
  aspect-ratio: auto;
  height: auto;
}
.prd-feature .prd-card-media img,
.carousel .row-cols-lg-1 .prd-card-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
}
.prd-feature-card {
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 .35rem 1.25rem rgba(17, 17, 17, .06);
}
.prd-feature-media {
  min-height: 16rem;
  padding: 1.25rem;
  background: var(--bs-tertiary-bg);
}
.prd-feature-media img {
  max-height: 28rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.prd-feature-title {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}
.prd-feature-meta {
  color: var(--bs-secondary-color);
  font-size: 1rem;
}
.prd-feature-brand {
  color: var(--bs-primary);
  font-size: .95rem;
  font-weight: 600;
}
.prd-feature-spot {
  font-size: .95rem;
  line-height: 1.55;
}
.prd-feature-sale {
  font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem);
  color: var(--bs-danger);
  line-height: 1.1;
}
.prd-feature-discount {
  min-width: 3.5rem;
}
.prd-feature-body .btn-lg {
  font-weight: 600;
}
.carousel .row-cols-lg-1 > .col {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .prd-feature .card:not(.prd-feature-card) {
    flex-direction: row;
    align-items: center;
  }
  .prd-feature .prd-card-media {
    flex: 0 0 16rem;
    width: 16rem;
    max-width: 40%;
  }
  .prd-feature-media {
    min-height: 22rem;
  }
}
.footer-menu a:hover {
  color: var(--bs-emphasis-color);
  text-decoration: underline !important;
}
.footer-social .nav.flex-column { flex-direction: row !important; flex-wrap: wrap; }
.footer-social .nav-link { padding: .25rem .5rem; }
.footer-banner { text-align: center; }
.footer-banner img { max-width: 100%; height: auto; }
.period-nav .nav { display: inline-flex; flex-wrap: wrap; }
.period-nav .nav-link {
  border: 1px solid var(--bs-border-color);
  border-radius: 0;
  color: var(--bs-body-color);
  font-size: .875rem;
  padding: .3rem .85rem;
}
.period-nav .nav-item + .nav-item .nav-link { margin-left: -1px; }
.period-nav .nav-item:first-child .nav-link {
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-left-radius: var(--bs-border-radius);
}
.period-nav .nav-item:last-child .nav-link {
  border-top-right-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
}
.period-nav .nav-link:hover,
.period-nav .nav-link:focus {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}
.period-nav .nav-link.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  position: relative;
  z-index: 1;
}
.error { color: var(--bs-danger); }
.error_header { color: var(--bs-danger); font-weight: 700; padding: .5em 0; }
.search-box .search-ctg {
  flex: 0 1 14rem;
  width: 14rem;
  max-width: 14rem;
}
.search-box input[type="search"] { min-width: 0; }
.search-box .form-control:focus,
.search-box .form-select:focus,
.search-box .btn:focus,
.search-box .btn:active {
  border-color: var(--bs-border-color);
  box-shadow: none;
  outline: 0;
}
.search-suggest {
  position: absolute;
  z-index: 1030;
  top: calc(100% + .25rem);
  left: 0;
  right: 0;
  display: none;
  max-height: 24rem;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}
.search-suggest.is-open { display: block; }
.search-suggest-head {
  padding: .4rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
}
.search-suggest-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .75rem;
  color: inherit;
  text-decoration: none;
}
.search-suggest-item:hover { background: var(--bs-tertiary-bg); }
.search-suggest-item img { width: 2.25rem; height: 2.25rem; object-fit: contain; flex: 0 0 auto; }
.search-suggest-empty { padding: .75rem; color: var(--bs-secondary-color); }
.product-view { margin-bottom: 2.5rem; }
.col-12 > .product-view ~ .mb-4 > .container {
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.prd_tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
.prd_tags a { white-space: nowrap; }
.checkbox-labels label { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.order-summary-off { display: none !important; }
.order-policy { max-height: 5.25rem; overflow: auto; }
.order-policy > :first-child { margin-top: 0; }
.order-policy h1,
.order-policy h2,
.order-policy h3,
.order-policy h4 { font-size: .95rem; margin: 0 0 .35rem; }
.order-policy p { margin-bottom: .35rem; }
.menu-scroll > ul,
.menu-scroll > .container > ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: .25rem;
  padding-left: 0;
  margin-bottom: 0;
}
.menu-scroll a { white-space: nowrap; }
#cookieSettingsModal .modal-dialog {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 750px;
  transform: none;
}
#cookieSettingsModal .modal-body { max-height: min(70vh, 32rem); overflow: auto; }
#cookieSettingsModal .cookie-policy-content h1.pageViewHeader { display: none; }
#cookieSettingsModalBtn { margin-top: .75rem; }
@media (max-width: 991.98px) {
  #cookieSettingsModal .modal-dialog { bottom: 4.75rem; }
  .period-nav .nav,
  .nav-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .period-nav .nav::-webkit-scrollbar,
  .nav-tabs::-webkit-scrollbar { display: none; height: 0; }
  .period-nav .nav-item,
  .nav-tabs .nav-item { flex: 0 0 auto; }
  .nav-tabs .nav-link { white-space: nowrap; }
  aside h2.side-box-toggle,
  aside h3.side-box-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 0;
    padding: .65rem .9rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    background: #fff;
    cursor: pointer;
  }
  aside .side-box-toggle::after {
    content: "";
    width: .45rem;
    height: .45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex: 0 0 auto;
  }
  aside .side-box-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: .2rem;
  }
  .footer-menu { display: block; }
  .footer-menu > li + li { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--bs-border-color); }
  .footer-menu > li > ul { display: none; margin-top: .5rem; }
  .footer-menu > li.is-open > ul { display: block; }
}
@media (min-width: 992px) {
  .order-aside {
    position: sticky;
    top: 7.25rem;
    z-index: 2;
  }
  .cart-page > .col-lg-4 {
    align-self: stretch;
  }
  .cart-summary {
    position: sticky;
    top: 7.25rem;
    z-index: 2;
  }
  .order-aside-more {
    max-height: calc(100vh - 22rem);
    overflow: auto;
  }
}
.app-tabbar a { font-size: .7rem; line-height: 1.15; min-width: 0; white-space: nowrap; }
.app-tabbar i { font-size: 1.25rem; }
