/*
 * PHP surumune ozel kucuk eklemeler. Orijinal tasarim klonun kendi CSS'leriyle gelir;
 * burada yalnizca klonda olmayan (JS ile acilan) ogeler ve dolu sepet/siparis yardimcilari var.
 */

/* bildirim */
.site-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: #333; color: #fff; padding: 12px 20px; border-radius: 4px;
  font: 500 14px/1.4 Inter, Roboto, sans-serif; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 10000; max-width: calc(100vw - 32px); text-align: center;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px rgba(0,0,0,.14);
}
.site-toast--show { opacity: 1; transform: translate(-50%, 0); }
.site-toast--error { background: #c62828; }

/* siralama acilir listesi */
.site-select-panel {
  position: absolute; z-index: 1000; background: #fff; border-radius: 4px; padding: 8px 0;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px rgba(0,0,0,.14), 0 1px 10px rgba(0,0,0,.12);
}
.site-select-panel .mat-mdc-option { display: flex; align-items: center; min-height: 48px; padding: 0 16px; cursor: pointer; }
.site-select-panel .mat-mdc-option:hover { background: rgba(0,0,0,.04); }
.site-select-panel .mdc-list-item--selected { color: #2d5ee8; }

/* kategoriler menusu */
.site-category-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 900; background: #fff;
  border-radius: 0 0 8px 8px; box-shadow: 0 8px 16px rgba(0,0,0,.12); min-height: 360px; width: min(760px, 100vw);
}
.site-category-menu.is-open { display: flex; }
.site-category-menu__list { width: 300px; border-right: 1px solid #eee; padding: 8px 0; max-height: 70vh; overflow: auto; }
.site-category-menu__list a { display: flex; align-items: center; gap: 12px; padding: 8px 16px; text-decoration: none; }
.site-category-menu__list a img { width: 28px; height: 28px; object-fit: contain; }
.site-category-menu__list a.is-active, .site-category-menu__list a:hover { background: #f4f6fb; color: #2d5ee8 !important; }
.site-category-menu__sub { flex: 1; padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; max-height: 70vh; overflow: auto; }
.site-category-menu__sub a { text-decoration: none; }
.site-category-menu__sub a:hover { color: #2d5ee8 !important; }
.site-category-menu__title { margin-bottom: 6px; }
@media (max-width: 767px) { .site-category-menu__list { width: 100%; } .site-category-menu__sub { display: none; } }

/* liste sayfasi */
.subcategory-active { color: #2d5ee8 !important; font-weight: 600; }
.list-empty-notice { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 16px; text-align: center; }
.list-empty-notice a { text-decoration: none; }
.mdc-button[data-href], [data-href][role="button"], .see-all[data-href] { cursor: pointer; }

/* gorselsiz anasayfa bolumu (benzer urunler vb.) */
.image-items-wrapper.no-list-image > .shopping-list-item-image { display: none !important; }
.image-items-wrapper.no-list-image { grid-template-columns: 1fr !important; }
.product-detail-similar { margin-top: 32px; width: 100%; min-width: 0; overflow: hidden; contain: inline-size; }

/* sepet / siparis */
.cart-container-empty-false { padding-bottom: 48px; }
.cart-flash { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #e8f5e9; color: #1b5e20; }
.cart-flash--error { background: #fdecea; color: #b71c1c; }
sm-cart-page-item .cart-page-item .product-name .actions .remove { margin-left: 0; display: inline-flex; align-items: center; gap: 4px; }
sm-cart-page-item .cart-page-item .product-name .actions { margin-top: 8px; }
sm-cart-page-item .cart-page-item fe-product-actions.cart-item-actions { width: 7.5rem; height: 2.25rem; }
sm-cart-page-item .cart-page-item .product-price--wide { gap: 8px; }
sm-cart-page-item .cart-item-price { text-align: right; }
sm-cart-page-item .cart-item-price .price-old .old-amount { text-decoration: line-through; }
sm-cart-page-item .cart-page-item__thumb img { width: 5.325rem; height: 5.325rem; object-fit: contain; }
sm-cart-page-item + sm-cart-page-item { border-top: 1px solid var(--basicColor300, #e5e5e5); }
sm-cart-page .cart-container .product-list { background: #fff; border: 1px solid var(--basicColorTransparent, #e5e5e5); border-radius: 8px; }
sm-cart-page .cart-container__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
sm-cart-page .cart-container__header .update-cart { cursor: pointer; }
.summary-block .confirm-button { width: 100%; }
.free-delivery-info { margin: 0; }

.checkout-card { padding: 24px; margin-bottom: 16px; box-shadow: none !important; border-radius: 8px !important; }
.checkout-card__title { margin: 0 0 16px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.checkout-field { display: flex; flex-direction: column; gap: 6px; }
.checkout-field--wide { grid-column: 1 / -1; }
.checkout-field mat-form-field { width: 100%; }
.checkout-field textarea { resize: vertical; min-height: 72px; }
.checkout-field.has-error label { color: #c62828 !important; }
.checkout-field mat-error { color: #c62828; font-size: 12px; }
@media (max-width: 600px) { .checkout-grid { grid-template-columns: 1fr; } }
.payment-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--basicColor300, #ddd); border-radius: 8px; cursor: pointer; }
.payment-option--selected { border-color: #2d5ee8; background: #f4f7ff; }
.payment-option input { margin-top: 3px; accent-color: #2d5ee8; }
.checkout-mini-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; max-height: 280px; overflow: auto; }
.checkout-mini-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.checkout-mini-item img { width: 40px; height: 40px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; }
.checkout-consent { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
.checkout-consent input { margin-top: 2px; accent-color: #2d5ee8; }
.checkout-consent.has-error { color: #c62828; }
fe-line-checkout-steps { margin-bottom: 8px; }
fe-line-checkout-steps .checkout-step { text-decoration: none; }

/* teslimat / odeme: sag kolon */
.checkout-items { padding: 16px; margin-bottom: 16px; box-shadow: none !important; border-radius: 8px !important; }
.checkout-items__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.checkout-items__head a, .checkout-card__head a { text-decoration: none; }
.checkout-items__list { display: flex; flex-direction: column; max-height: 360px; overflow: auto; }
.checkout-items__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; }
.checkout-items__row + .checkout-items__row { border-top: 1px solid var(--basicColor300, #eee); }
.checkout-items__row img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--basicColor300, #eee); border-radius: 6px; background: #fff; }
.checkout-items__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.checkout-items__name > span:first-child { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.checkout-items__price { white-space: nowrap; }
.summary-pay-label, .summary-total { margin-top: 8px; }
.checkout-card__head { display: flex; justify-content: space-between; align-items: center; }
.checkout-card__head .checkout-card__title { margin-bottom: 8px; }
.checkout-address__name, .checkout-address__text { margin: 4px 0; }
.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.checkout-select { width: 100%; border: 0; background: transparent; font: inherit; color: inherit; outline: none; cursor: pointer; appearance: auto; }
.checkout-select:disabled { cursor: not-allowed; color: var(--basicColor500, #999); }

/* aramali acilir liste */
.checkout-field { position: relative; }
.site-combo__native { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.site-combo__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 24px;
  padding: 0; border: 0; background: transparent; color: var(--basicColorBlack, #222); cursor: pointer; text-align: left; font: inherit;
}
.site-combo__trigger:focus { outline: none; }
.site-combo__trigger.is-placeholder .site-combo__value { color: var(--basicColor600, #8a8a8a); }
.site-combo__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-combo__chev { display: inline-flex; color: var(--basicColor600, #777); transition: transform .2s; flex-shrink: 0; }
.site-combo--open .site-combo__chev { transform: rotate(180deg); color: #2d5ee8; }
.site-combo--disabled .site-combo__trigger { cursor: not-allowed; }
.site-combo--disabled .mdc-notched-outline > * { border-color: var(--basicColor300, #e2e2e2) !important; }
.mat-focused .mdc-notched-outline > * { border-color: #2d5ee8 !important; border-width: 2px !important; }
.mat-mdc-form-field-type-mat-select .mat-mdc-form-field-infix { cursor: pointer; }

.site-combo__panel {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% - 18px); z-index: 50;
  background: #fff; border: 1px solid var(--basicColor300, #e5e5e5); border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 30, 60, .14), 0 2px 6px rgba(20, 30, 60, .06); overflow: hidden;
  animation: siteComboIn .14s ease-out;
}
@keyframes siteComboIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.site-combo--open .site-combo__panel { display: block; }
.site-combo__search { display: flex; align-items: center; gap: 8px; margin: 10px 10px 4px; padding: 0 12px; height: 40px;
  border: 1px solid var(--basicColor300, #e1e1e1); border-radius: 6px; background: #f7f8fa; color: var(--basicColor600, #888); }
.site-combo__search:focus-within { border-color: #2d5ee8; background: #fff; color: #2d5ee8; }
.site-combo__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--basicColorBlack, #222); font: inherit; height: 100%; }
.site-combo__meta { padding: 2px 14px 6px; color: var(--basicColor600, #8a8a8a); }
.site-combo__list { list-style: none; margin: 0; padding: 0 6px 6px; max-height: 264px; overflow-y: auto; position: relative; }
.site-combo__opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px; border-radius: 6px; cursor: pointer; color: var(--basicColorBlack, #222); }
.site-combo__opt.is-active { background: #f0f4ff; }
.site-combo__opt.is-selected { color: #2d5ee8; font-weight: 600; }
.site-combo__opt mark { background: #fff1c2; color: inherit; border-radius: 2px; padding: 0 1px; }
.site-combo__check { display: inline-flex; opacity: 0; color: #2d5ee8; }
.site-combo__opt.is-selected .site-combo__check { opacity: 1; }
.site-combo__empty { padding: 18px 10px; text-align: center; color: var(--basicColor600, #8a8a8a); }
.site-combo__list::-webkit-scrollbar { width: 6px; }
.site-combo__list::-webkit-scrollbar-thumb { background: #d6d9e0; border-radius: 3px; }

/* ───── Sepete eklendi modal ───── */
.cart-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.45); align-items: center; justify-content: center;
  padding: 16px;
}
.cart-modal-overlay.is-open { display: flex; }
.cart-modal {
  background: #fff; border-radius: 14px; max-width: 400px; width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,.2); overflow: hidden;
  animation: cartModalIn .25s ease;
}
@keyframes cartModalIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.cart-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 0;
}
.cart-modal__title { font-size: 17px; font-weight: 700; color: #2d5ee8; }
.cart-modal__close {
  width: 30px; height: 30px; border: 0; background: none; cursor: pointer;
  font-size: 20px; color: #999; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.cart-modal__close:hover { background: #f2f2f2; color: #333; }
.cart-modal__product {
  display: flex; gap: 14px; align-items: center; padding: 16px 20px;
}
.cart-modal__product img {
  width: 72px; height: 72px; object-fit: contain; border-radius: 8px;
  border: 1px solid #f0f0f0; flex-shrink: 0;
}
.cart-modal__product-info { min-width: 0; }
.cart-modal__product-name {
  font-size: 13px; font-weight: 500; color: #333; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-modal__product-price { font-size: 15px; font-weight: 800; color: #1b1b1b; margin-top: 6px; }
.cart-modal__success {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; color: #2d5ee8; font-size: 14px; font-weight: 600;
}
.cart-modal__success svg { width: 22px; height: 22px; flex-shrink: 0; }
.cart-modal__buttons {
  display: flex; gap: 10px; padding: 0 20px 20px;
}
.cart-modal__btn {
  flex: 1; padding: 13px 8px; border-radius: 10px; font: inherit; font-size: 14px;
  font-weight: 700; cursor: pointer; text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.cart-modal__btn--outline {
  background: #fff; color: #2d5ee8; border: 2px solid #2d5ee8;
}
.cart-modal__btn--outline:hover { background: #f0f4ff; }
.cart-modal__btn--fill {
  background: #2d5ee8; color: #fff; border: 2px solid #2d5ee8;
}
.cart-modal__btn--fill:hover { background: #2450c5; }

.order-success mat-card { gap: 12px; }
.order-success__icon { color: var(--systemColorSuccess600, #2e7d32); display: flex; justify-content: center; }
.order-success .info p { margin: 4px 0; }
.order-success__items { width: 100%; text-align: left; border-top: 1px solid #eee; padding-top: 12px; max-height: none; }
.order-success__total { display: flex; justify-content: space-between; }

/* ───── Mobil alt navbar ───── */
.mob-navbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: #fff; border-top: 1px solid #e5e5e5;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  justify-content: space-around; align-items: center;
}
.mob-navbar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: #777; font-size: 10px; font-weight: 500;
  padding: 4px 0; min-width: 48px; max-width: 72px; position: relative;
  overflow: hidden; text-overflow: ellipsis;
}
.mob-navbar a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; text-align: center; }
.mob-navbar a.active { color: #2d5ee8; }
.mob-navbar a svg { width: 22px; height: 22px; }
.mob-navbar .mob-cart-badge {
  position: absolute; top: -2px; right: 8px; min-width: 16px; height: 16px;
  background: #2d5ee8; color: #fff; border-radius: 8px;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
}

/* ───── Mobil kategoriler overlay ───── */
.mob-cat-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: #fff; flex-direction: column; overflow: hidden;
}
.mob-cat-overlay.is-open { display: flex; }
.mob-cat-overlay__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #2d5ee8; color: #fff; font-size: 17px; font-weight: 600;
  flex-shrink: 0;
}
.mob-cat-overlay__close {
  background: none; border: none; color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.mob-cat-overlay__body {
  flex: 1; overflow-y: auto; padding: 12px 0;
  -webkit-overflow-scrolling: touch;
}
.mob-cat-overlay__sec { padding: 0 16px 16px; }
.mob-cat-overlay__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: #333; text-decoration: none;
  padding: 8px 0; border-bottom: 1px solid #eee; margin-bottom: 8px;
}
.mob-cat-overlay__title img { width: 28px; height: 28px; object-fit: contain; }
.mob-cat-overlay__children { display: flex; flex-direction: column; gap: 6px; padding-left: 38px; }
.mob-cat-overlay__children a { font-size: 14px; color: #555; text-decoration: none; padding: 4px 0; }
.mob-cat-overlay__children a:active { color: #2d5ee8; }

/* ───── Mobil kategori/liste baslik cubugu ───── */
.mob-list-header {
  display: none; position: sticky; top: 0; z-index: 800;
  background: #2d5ee8; color: #fff;
  padding: 14px 16px; align-items: center; gap: 12px;
}
.mob-list-header__back {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 0; background: transparent; color: #fff; cursor: pointer;
  border-radius: 50%; flex-shrink: 0; padding: 0;
}
.mob-list-header__back:active { background: rgba(255,255,255,.15); }
.mob-list-header__back svg { width: 20px; height: 20px; }
.mob-list-header__info { min-width: 0; }
.mob-list-header__title {
  font-size: 16px; font-weight: 700; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mob-list-header__count { font-size: 12px; opacity: .85; }

/* ───── Mobil urun aksiyun bar (fiyat + sepete ekle) ───── */
.mob-product-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9001;
  background: #fff; border-top: 1px solid #e5e5e5;
  padding: 6px 12px; align-items: center; justify-content: space-between; gap: 10px;
}
.mob-product-bar__price {
  font-size: 15px; font-weight: 800; color: #2d5ee8; white-space: nowrap; line-height: 1.2;
}
.mob-product-bar__price .old {
  font-size: 11px; font-weight: 500; color: #999; text-decoration: line-through; display: block;
}
.mob-product-bar__price .money-tag {
  font-size: 10px; font-weight: 700; color: #7b2bfc; display: block;
}
.mob-product-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #2d5ee8; color: #fff; border: 0; border-radius: 8px;
  padding: 10px 18px; font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.mob-product-bar__btn:active { background: #2450c5; }
.mob-product-bar__btn svg { width: 16px; height: 16px; }
.mob-product-bar__qty {
  display: flex; align-items: center; gap: 0; flex-shrink: 0;
}
.mob-product-bar__qty button {
  width: 34px; height: 34px; border: none; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #1b1b1b; cursor: pointer;
}
.mob-product-bar__qty button:first-child { border-radius: 8px 0 0 8px; }
.mob-product-bar__qty button:last-child { border-radius: 0 8px 8px 0; }
.mob-product-bar__qty span {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: none;
  font-size: 14px; font-weight: 700; color: #1b1b1b;
}

/* ───── Mobil ozel gorunurluk ───── */
@media (max-width: 767px) {
  .mob-navbar { display: flex; }
  .mob-list-header { display: flex; }
  body { padding-bottom: 60px; }
  /* urun sayfasinda product bar + navbar ikisi birden */
  body.mob-product-page .mob-product-bar { display: flex; }
  body.mob-product-page .mob-product-bar { bottom: 56px; border-bottom: none; }
  body.mob-product-page { padding-bottom: 110px; }
  /* klondaki yapisan "999,95 TL Sepete Ekle" butonunu gizle */
  .sticky-add-button { display: none !important; }
  /* filtre panelini, breadcrumbleri, siralama cubugunu, money banneri gizle */
  sm-desktop-filter-panel,
  .mdc-layout-grid__cell--span-3:has(sm-desktop-filter-panel),
  fe-breadcrumb.breadcrumb-desktop,
  sm-filter-sort-control-bar,
  .money-banner-wrapper,
  .legal-row { display: none !important; }
  /* header: sadece mob-list-header veya urun sayfasi varsa gizle (anasayfa'da kalsin) */
  body:has(.mob-list-header) sm-header,
  body.mob-product-page sm-header { display: none !important; }
  sm-footer { display: none !important; }
  .divider { display: none !important; }
  /* urunler tam genislik */
  .products.mdc-layout-grid__cell--span-9-desktop { grid-column: 1 / -1 !important; }
  .product-cards.list { gap: 8px !important; }
  /* urun sayfasi resim duzelt */
  .product-detail-img-wrapper { max-width: 100% !important; padding: 0 !important; }
  .product-detail-img-wrapper .swiper-container,
  .product-detail-img-wrapper .swiper-wrapper,
  .product-detail-img-wrapper .swiper-slide { width: 100% !important; max-width: 100vw !important; }
  .product-detail-img-wrapper .swiper-slide img { width: 100% !important; height: auto !important; object-fit: contain; }
  .product-detail-img-wrapper .product-images-carousel-cell { width: 100% !important; }
  .product-detail-wrapper { flex-direction: column !important; }
  fe-breadcrumb.breadcrumb-desktop { display: none !important; }
  .product-detail-page .breadcrumb-desktop { display: none !important; }
  /* urun sayfasi sekmeler (mobil) */
  fe-product-detail-tabs { margin: 0 !important; padding: 0 !important; }
  fe-product-detail-tabs .fe-tab-header {
    display: flex !important; align-items: center; border-bottom: 1px solid #eee;
    background: #fff; position: sticky; top: 0; z-index: 100; padding: 0 4px;
  }
  fe-product-detail-tabs .fe-tab-header__labels {
    display: flex !important; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; flex: 1; gap: 0;
  }
  fe-product-detail-tabs .fe-tab-header__labels::-webkit-scrollbar { display: none; }
  fe-product-detail-tabs .fe-tab-label {
    flex-shrink: 0; border: 0; background: none; padding: 12px 14px;
    font-size: 13px; font-weight: 600; color: #777; cursor: pointer;
    white-space: nowrap; position: relative;
  }
  fe-product-detail-tabs .fe-tab-label--active {
    color: #2d5ee8 !important;
  }
  fe-product-detail-tabs .fe-tab-label--active::after {
    content: ''; position: absolute; bottom: 0; left: 8px; right: 8px;
    height: 3px; background: #2d5ee8; border-radius: 2px 2px 0 0;
  }
  fe-product-detail-tabs .fe-tab-header__arrow {
    flex-shrink: 0; border: 0; background: none; padding: 8px 6px;
    color: #555; cursor: pointer; font-size: 14px;
    display: flex !important; align-items: center; justify-content: center;
  }
  fe-product-detail-tabs .fe-tab-header__arrow.fe-tab-header__arrow--hidden { display: flex !important; }
  fe-product-detail-tabs .fe-tab-header__arrow--disabled { opacity: .25; pointer-events: none; }
  fe-product-detail-tabs .fe-tab-body { padding: 16px 12px !important; }
}

/* ========================================================================= hesap sayfasi */
/* auth (giris/kayit) */
.hesap-auth {
  max-width: 420px; margin: 40px auto; padding: 32px 24px; background: #fff;
  border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.hesap-auth__avatar { text-align: center; color: #9e9e9e; margin-bottom: 8px; }
.hesap-auth__avatar svg { background: #f5f5f5; border-radius: 50%; padding: 12px; }
.hesap-auth__title { text-align: center; font-size: 22px; font-weight: 600; margin: 0 0 20px; color: #333; }
.hesap-auth__error {
  background: #fce4ec; color: #c62828; padding: 10px 14px; border-radius: 6px;
  font-size: 13px; margin-bottom: 16px; text-align: center;
}
.hesap-auth__success {
  background: #e8f5e9; color: #2e7d32; padding: 10px 14px; border-radius: 6px;
  font-size: 13px; margin-bottom: 16px; text-align: center;
}
.hesap-auth__tabs { display: flex; border-bottom: 2px solid #eee; margin-bottom: 20px; }
.hesap-auth__tab {
  flex: 1; text-align: center; padding: 10px 0; font-size: 14px; font-weight: 600;
  color: #999; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.hesap-auth__tab.active { color: #2d5ee8; border-bottom-color: #2d5ee8; }
.hesap-auth__tab:hover { color: #2d5ee8; }
.hesap-auth__form { display: flex; flex-direction: column; gap: 14px; }
.hesap-field label {
  display: block; font-size: 13px; font-weight: 500; color: #555; margin-bottom: 4px;
}
.hesap-field label span { color: #e53935; }
.hesap-field input {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #ddd;
  border-radius: 6px; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.hesap-field input:focus { border-color: #2d5ee8; }
.hesap-field input:disabled { background: #f5f5f5; color: #999; }
.hesap-field__error { color: #c62828; font-size: 12px; margin-top: 3px; }
.hesap-auth__btn {
  width: 100%; padding: 12px; background: #2d5ee8; color: #fff; border: none;
  border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: background .15s; margin-top: 4px;
}
.hesap-auth__btn:hover { background: #1e4bc4; }
.hesap-auth__alt { text-align: center; font-size: 13px; color: #777; margin-top: 16px; }
.hesap-auth__alt a { color: #2d5ee8; text-decoration: none; font-weight: 600; }

/* panel layout */
.hesap-layout {
  display: flex; gap: 32px; max-width: 1100px; margin: 32px auto;
  padding: 0 16px; min-height: 500px;
}
.hesap-sidebar {
  width: 280px; flex-shrink: 0; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08); padding: 28px 20px; align-self: flex-start;
}
.hesap-sidebar__avatar { text-align: center; color: #9e9e9e; margin-bottom: 8px; }
.hesap-sidebar__avatar svg { background: #f5f5f5; border-radius: 50%; padding: 10px; }
.hesap-sidebar__name { text-align: center; font-size: 15px; font-weight: 600; color: #333; }
.hesap-sidebar__phone, .hesap-sidebar__email {
  text-align: center; font-size: 13px; color: #888; margin-top: 2px;
}
.hesap-sidebar__nav { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.hesap-sidebar__nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 8px;
  text-decoration: none; color: #444; font-size: 14px; font-weight: 500;
  transition: background .15s;
}
.hesap-sidebar__nav a .chevron { margin-left: auto; color: #bbb; }
.hesap-sidebar__nav a:hover { background: #f4f6fb; color: #2d5ee8; }
.hesap-sidebar__nav a.active { background: #eef2fd; color: #2d5ee8; font-weight: 600; }
.hesap-sidebar__logout {
  color: #e53935 !important; margin-top: 8px; border-top: 1px solid #eee; padding-top: 14px !important;
}
.hesap-sidebar__logout:hover { background: #fce4ec !important; color: #c62828 !important; }

/* content area */
.hesap-content { flex: 1; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); padding: 28px 24px; }
.hesap-content__title { font-size: 20px; font-weight: 600; color: #333; margin: 0 0 20px; }
.hesap-content__sub { font-size: 15px; font-weight: 600; color: #555; margin: 0 0 14px; }

/* welcome cards */
.hesap-welcome { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 16px; }
.hesap-welcome__card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 16px; background: #f8f9fc; border-radius: 10px; cursor: pointer;
  border: 1px solid #eee; transition: box-shadow .15s, border-color .15s;
  text-decoration: none; color: #444; font-size: 14px; font-weight: 500;
}
.hesap-welcome__card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); border-color: #2d5ee8; color: #2d5ee8; }

/* orders */
.hesap-orders { display: flex; flex-direction: column; gap: 12px; }
.hesap-order {
  border: 1px solid #eee; border-radius: 8px; padding: 16px; transition: box-shadow .15s;
}
.hesap-order:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.hesap-order__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hesap-order__no { font-weight: 600; font-size: 14px; color: #2d5ee8; }
.hesap-order__date { font-size: 12px; color: #999; }
.hesap-order__body { display: flex; gap: 20px; font-size: 13px; }
.hesap-order__status { font-weight: 600; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.status--ok { background: #e8f5e9; color: #2e7d32; }
.status--cancel { background: #fce4ec; color: #c62828; }
.status--pending { background: #fff3e0; color: #e65100; }

/* empty state */
.hesap-empty { text-align: center; padding: 48px 16px; color: #999; }
.hesap-empty p { font-size: 15px; margin: 16px 0 20px; }

/* settings form */
.hesap-settings__form { display: flex; flex-direction: column; gap: 14px; max-width: 400px; }

/* responsive */
@media (max-width: 767px) {
  .hesap-layout { flex-direction: column; gap: 16px; margin-top: 68px; padding: 0 12px; }
  .hesap-sidebar { width: 100%; }
  .hesap-content { min-height: auto; }
  .hesap-auth { margin-top: 68px; }
  .hesap-welcome { grid-template-columns: 1fr 1fr; }
}
