/* APERA v4.0 UI/UX (Faz C + Faz D): Hero Showcase, 8-Root Visual Grid, Slide Cart, Fitment, Bundle FBT, Tracking & Recent */
.apera-hero-prods { display: grid; grid-template-columns: 1fr; gap: 8px; }
.apera-hero-pcard {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(203, 213, 225, 0.22); color: #ffffff !important;
  text-decoration: none !important; transition: border-color 0.14s ease, background-color 0.14s ease;
}
.apera-hero-pcard:hover { background: rgba(255, 255, 255, 0.14); border-color: #FCA5A5; }
.apera-hero-pcard img {
  width: 60px; height: 60px; min-width: 60px; aspect-ratio: 1 / 1;
  object-fit: contain; background: #ffffff; border-radius: 8px; padding: 3px; flex-shrink: 0;
}
.apera-hero-pcard-body { min-width: 0; flex: 1 1 auto; }
.apera-hero-pcard-badge {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  background: var(--apera-red); color: #ffffff; font-size: 10px; font-weight: 800; margin-bottom: 2px;
}
.apera-hero-pcard-badge.is-free { background: #15803D; }
.apera-hero-pcard-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #F8FAFC;
}
.apera-hero-pcard-prices { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.apera-hero-pcard-prices strong { font-size: 14px; font-weight: 800; color: #FFFFFF; }
.apera-hero-pcard-prices del { font-size: 11.5px; color: #CBD5E1; }

.apera-root-cats-sec { padding: 14px 0 8px; }
.apera-root-cats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .apera-root-cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1400px) { .apera-root-cats-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; } }
.apera-root-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 10px 8px; border-radius: 12px; border: 1px solid #E2E8F0; background: #ffffff;
  color: var(--apera-dark) !important; text-decoration: none !important; min-height: 124px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.apera-root-cat-card:hover { border-color: var(--apera-red); box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08); }
.apera-root-cat-card img {
  width: 64px; height: 64px; aspect-ratio: 1 / 1; object-fit: contain;
  border-radius: 8px; background: var(--apera-surface); padding: 3px;
}
.apera-root-cat-name { font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--apera-dark); }
.apera-root-cat-cnt { font-size: 11px; font-weight: 600; color: var(--apera-muted); margin-top: auto; }

/* Slide-Over Smart Cart Drawer (<dialog>) */
#apera-slide-cart {
  border: 0; padding: 0; margin: 0 0 0 auto; width: min(100vw, 440px); max-width: 100vw;
  height: 100dvh; max-height: 100dvh; background: #ffffff; color: var(--apera-text);
  box-shadow: -12px 0 36px rgba(15, 23, 42, 0.25); flex-direction: column; overflow: hidden;
}
#apera-slide-cart[open] { display: flex; }
#apera-slide-cart::backdrop { background: rgba(15, 23, 42, 0.56); }
.apera-sc-drawer-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid #E2E8F0; background: var(--apera-dark); color: #ffffff;
}
.apera-sc-drawer-title { font-size: 16px; font-weight: 800; color: #ffffff !important; margin: 0; }
.apera-sc-drawer-close {
  min-width: 44px; min-height: 44px; padding: 4px 12px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #ffffff; font-size: 13px; font-weight: 700; cursor: pointer;
}
.apera-sc-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.apera-sc-bar-box, .apera-sc-promo-box { padding: 9px 11px; border-radius: 10px; border: 1px solid #E2E8F0; background: var(--apera-surface); font-size: 12.5px; }
.apera-sc-bar-box.is-free { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.apera-sc-promo-box { background: #FFF7ED; border-color: #FDBA74; color: #7C2D12; }
.apera-sc-promo-box.is-won { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.apera-sc-bar-track { height: 7px; border-radius: 999px; background: #E2E8F0; overflow: hidden; margin-top: 6px; }
.apera-sc-bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--apera-red); transition: width 0.25s ease; }
.apera-sc-bar-box.is-free .apera-sc-bar-fill { background: #15803D; }
.apera-sc-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.apera-sc-item { display: flex; gap: 10px; padding: 8px; border: 1px solid #E2E8F0; border-radius: 10px; background: #ffffff; }
.apera-sc-item-img img { width: 64px; height: 64px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 7px; border: 1px solid #F1F5F9; }
.apera-sc-item-info { min-width: 0; flex: 1 1 auto; }
.apera-sc-item-name { font-size: 13px; font-weight: 700; color: var(--apera-dark); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.apera-sc-item-code, .apera-sc-item-opt { font-size: 11px; color: var(--apera-muted); }
.apera-sc-item-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.apera-sc-qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--apera-border); border-radius: 7px; overflow: hidden; }
.apera-sc-qty-btn { width: 32px; height: 32px; min-width: 32px; border: 0; background: var(--apera-surface); color: var(--apera-dark); font-weight: 800; cursor: pointer; }
.apera-sc-qty-val { min-width: 24px; text-align: center; font-size: 13px; font-weight: 700; }
.apera-sc-item-price { font-size: 13.5px; font-weight: 800; color: var(--apera-dark); white-space: nowrap; }
.apera-sc-del-btn { min-width: 36px; min-height: 36px; border: 1px solid #E2E8F0; border-radius: 7px; background: #ffffff; color: #991B1B; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.apera-sc-coupon-box { padding: 9px 10px; border: 1px dashed #CBD5E1; border-radius: 10px; background: var(--apera-surface); }
.apera-sc-coupon-active { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 8px; margin-bottom: 6px; border-radius: 7px; background: #DCFCE7; color: #166534; font-size: 12px; }
.apera-sc-coupon-rm { border: 0; background: #ffffff; color: #991B1B; border-radius: 5px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.apera-sc-coupon-form { display: flex; gap: 6px; }
.apera-sc-coupon-form .form-control { min-height: 40px; font-size: 13px; }
.apera-sc-coupon-apply { min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--apera-dark); color: #ffffff; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.apera-sc-coupon-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.apera-sc-coupon-chip { padding: 4px 8px; border-radius: 6px; border: 1px solid #BFDBFE; background: #ffffff; color: #1E3A8A; font-size: 11px; font-weight: 600; cursor: pointer; }
.apera-sc-coupon-chip.is-ready { background: #EFF6FF; border-color: #2563EB; }
.apera-sc-upsell-box { border-top: 1px solid #E2E8F0; padding-top: 8px; }
.apera-sc-upsell-hd { font-size: 12px; font-weight: 800; color: var(--apera-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.02em; }
.apera-sc-upsell-list { display: flex; flex-direction: column; gap: 6px; }
.apera-sc-upsell-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid #E2E8F0; border-radius: 9px; background: #ffffff; }
.apera-sc-upsell-img img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; }
.apera-sc-upsell-name { font-size: 12px; font-weight: 600; color: var(--apera-dark); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.apera-sc-upsell-price { font-size: 12.5px; color: var(--apera-red); }
.apera-sc-upsell-price del { color: var(--apera-muted); font-size: 11px; }
.apera-sc-upsell-add { min-height: 36px; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--apera-red); background: #FEF2F2; color: var(--apera-red); font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.apera-sc-empty { text-align: center; padding: 36px 16px; }
.apera-sc-drawer-ft { border-top: 1px solid #E2E8F0; padding: 12px 14px; background: var(--apera-surface); }
.apera-sc-totals { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 13px; }
.apera-sc-tot-row { display: flex; justify-content: space-between; gap: 8px; color: var(--apera-text); }
.apera-sc-tot-row.is-grand { font-size: 16px; font-weight: 800; color: var(--apera-dark); border-top: 1px solid #CBD5E1; padding-top: 6px; margin-top: 2px; }
.apera-sc-ft-actions { display: flex; gap: 8px; }
.apera-sc-ft-actions > * { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* PDP Price Anchor & Zero-Review Positive Badge */
.apera-zero-rev-cta,
.apera-pdp-first-rev-pill {
  display: inline-flex; align-items: center; gap: 5px; min-height: 28px;
  padding: 3px 10px; border-radius: 999px; background: #EFF6FF; border: 1px solid #BFDBFE;
  color: #1E3A8A; font-size: 12px; font-weight: 700; text-decoration: none;
}
.apera-zero-rev-cta:hover,
.apera-pdp-first-rev-pill:hover { background: #DBEAFE; color: #1E3A8A; }
.apera-price-anchor,
.apera-price-anchor-info { font-size: 12px; color: var(--apera-muted); margin-top: 4px; }
.apera-price-anchor summary,
.apera-price-anchor-info summary { cursor: pointer; font-weight: 700; color: #1E3A8A; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.apera-price-anchor p,
.apera-price-anchor-body { margin: 5px 0 0; padding: 7px 9px; background: #ffffff; border: 1px solid #E2E8F0; border-radius: 7px; font-size: 12px; line-height: 1.45; color: var(--apera-text); }

/* Interactive Fitment Filter Pills & PDP Fitment Checker */
.apera-fit-facets,
.apera-fitment-bar { display: flex; align-items: center; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 8px 0 2px; border-top: 1px solid #E2E8F0; margin-top: 8px; scrollbar-width: none; }
.apera-fit-facets::-webkit-scrollbar,
.apera-fitment-bar::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .apera-fit-facets, .apera-fitment-bar { flex-wrap: wrap; overflow-x: visible; } }
.apera-fit-chip,
.apera-fit-pill {
  min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--apera-border);
  background: #ffffff; color: var(--apera-dark); font-size: 12.5px; font-weight: 600;
  white-space: nowrap; flex: 0 0 auto; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.apera-fit-chip.is-active,
.apera-fit-pill.is-active { background: #1D4ED8; border-color: #1D4ED8; color: #ffffff; }
.apera-fitment-box,
.apera-pdp-fitment-card {
  margin: 0 0 14px; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 12px; background: var(--apera-surface);
}
.apera-fitment-hd,
.apera-pdp-fit-hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.apera-fitment-title { font-size: 13.5px; font-weight: 800; color: var(--apera-dark); }
.apera-fitment-pills,
.apera-pdp-fit-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.apera-fitment-pills .apera-fit-pill,
.apera-pdp-fit-chip { min-height: 28px; padding: 3px 9px; border-radius: 999px; background: #DCFCE7; border: 1px solid #BBF7D0; color: #166534; font-size: 12px; font-weight: 700; cursor: default; }
.apera-fitment-checker { display: flex; flex-direction: column; gap: 6px; }
.apera-fitment-checker .form-select { min-height: 44px; font-size: 13px; border-radius: 8px; }
.apera-fitment-res,
.apera-pdp-fit-result { margin-top: 4px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.apera-fitment-res.is-ok,
.apera-pdp-fit-result.is-ok { background: #DCFCE7; border: 1px solid #86EFAC; color: #166534; }
.apera-fitment-res.is-warn,
.apera-pdp-fit-result.is-warn { background: #FFF7ED; border: 1px solid #FDBA74; color: #9A3412; }

/* POAS Bundle FBT Card (Under Hero, Before Tabs) */
.apera-fbt-box,
.apera-fbt-card { margin: 0 0 14px; padding: 14px; border: 1px solid #CBD5E1; border-radius: 12px; background: #ffffff; }
.apera-fbt-hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.apera-fbt-badge { padding: 3px 9px; border-radius: 999px; background: #FEF2F2; border: 1px solid #FECACA; color: var(--apera-red); font-size: 11.5px; font-weight: 800; }
.apera-fbt-grid { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch; }
@media (min-width: 768px) { .apera-fbt-grid { grid-template-columns: minmax(0, 1fr) 250px; } }
.apera-fbt-list { display: flex; flex-direction: column; gap: 8px; }
.apera-fbt-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #E2E8F0; border-radius: 10px; background: var(--apera-surface); }
.apera-fbt-row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--apera-red); }
.apera-fbt-row img { width: 52px; height: 52px; object-fit: contain; background: #ffffff; border-radius: 7px; border: 1px solid #E2E8F0; flex-shrink: 0; }
.apera-fbt-sum { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 12px; border-radius: 10px; background: var(--apera-surface); border: 1px solid #CBD5E1; }

/* Stock Alert Trigger & Modal (YASA-26) + Search Discovery + Recent Strip */
.apera-stock-notify-btn {
  min-height: 44px; padding: 6px 12px; border-radius: 8px; border: 1px solid #1D4ED8;
  background: #EFF6FF; color: #1E3A8A; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
#apera-stock-alert-dialog {
  border: 1px solid #CBD5E1; border-radius: 12px; padding: 18px 20px; width: min(92vw, 430px);
  background: #ffffff; color: var(--apera-dark); box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}
#apera-stock-alert-dialog::backdrop { background: rgba(15, 23, 42, 0.65); }
.apera-ac-sec-hd { padding: 7px 12px 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--apera-muted); background: var(--apera-surface); border-bottom: 1px solid #E2E8F0; }
.apera-ac-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
.apera-ac-chip { min-height: 34px; padding: 4px 10px; border-radius: 999px; border: 1px solid #CBD5E1; background: #ffffff; color: var(--apera-dark); font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; }
.apera-ac-chip:hover { border-color: var(--apera-red); color: var(--apera-red); background: #FEF2F2; }
.apera-recent-sec { padding: 18px 0 8px; }
.apera-recent-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .apera-recent-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .apera-recent-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.apera-recent-card { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid #E2E8F0; border-radius: 10px; background: #ffffff; text-decoration: none; color: var(--apera-dark); }
.apera-recent-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #ffffff; }
.apera-recent-name { font-size: 12px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apera-recent-price { font-size: 13.5px; font-weight: 800; color: var(--apera-dark); margin-top: auto; }

/* Order Tracking Center (/siparis-takip) */
.apera-ot-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
@media (min-width: 768px) { .apera-ot-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.apera-ot-step { padding: 10px; border-radius: 10px; border: 1px solid #E2E8F0; background: var(--apera-surface); font-size: 12.5px; font-weight: 700; color: var(--apera-muted); }
.apera-ot-step.is-done { background: #F0FDF4; border-color: #86EFAC; color: #166534; }
.apera-ot-step.is-cur { background: #EFF6FF; border-color: #2563EB; color: #1E3A8A; }

/* Model A Unified Category Banner Strip + Sticky Left Sidebar + Mobile Drawer */
.apera-cat-plain-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.apera-cat-banner-sort { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.apera-banner-sort-lbl { font-size: 12.5px; font-weight: 700; color: #CBD5E1; white-space: nowrap; margin: 0; }
.apera-cat-banner-sort.is-light .apera-banner-sort-lbl { color: var(--apera-muted); }
.apera-banner-sort-select {
  min-height: 44px; min-width: 210px; max-width: 100%; border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.45); background-color: #ffffff; color: var(--apera-dark);
  font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.apera-cat-banner-strip {
  background: rgba(15, 23, 42, 0.42); border-top: 1px solid rgba(203, 213, 225, 0.2);
  padding: 9px 16px;
}
.apera-cat-strip-row {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0; padding: 0; list-style: none;
}
.apera-cat-strip-row::-webkit-scrollbar { display: none; }
.apera-cat-strip-row > li { flex: 0 0 auto; scroll-snap-align: start; }
.apera-cat-strip-pill {
  min-height: 44px; padding: 5px 11px 5px 6px; border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.24); background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC !important; text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 8px; max-width: 245px;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}
.apera-cat-strip-pill:hover, .apera-cat-strip-pill:active { background: rgba(255, 255, 255, 0.17); border-color: #FCA5A5; }
.apera-cat-strip-pill.is-active { background: var(--apera-red); border-color: #FCA5A5; color: #ffffff !important; }
.apera-cat-strip-thumb {
  width: 34px; height: 34px; min-width: 34px; aspect-ratio: 1 / 1;
  object-fit: contain; background: #ffffff; border-radius: 7px; padding: 2px; flex-shrink: 0; display: block;
}
.apera-cat-strip-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.apera-cat-strip-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apera-cat-strip-cnt { font-size: 10.5px; font-weight: 600; color: #CBD5E1; }

.apera-cat-mob-bar {
  position: sticky; top: 104px; z-index: 1020;
  display: flex; align-items: center; gap: 8px;
  background: #ffffff; border: 1px solid #E2E8F0; border-radius: 10px;
  padding: 6px; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}
.apera-mob-filter-btn {
  flex: 1 1 50%; min-width: 0; min-height: 44px; padding: 6px 10px;
  border-radius: 8px; border: 1px solid var(--apera-border); background: var(--apera-surface);
  color: var(--apera-dark); font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.apera-mob-filter-cnt {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--apera-red); color: #ffffff; font-size: 11px; font-weight: 800; line-height: 20px;
}
.apera-mob-filter-cnt[hidden] { display: none !important; }
.apera-mob-sort-select { flex: 1 1 50%; min-width: 0; min-height: 44px; font-size: 13px !important; font-weight: 700; border-radius: 8px; border-color: var(--apera-border); color: var(--apera-dark); }

.apera-cat-master-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 992px) {
  .apera-cat-master-grid:not(.is-full) { grid-template-columns: 260px minmax(0, 1fr); }
  .apera-cat-sidebar {
    position: sticky; top: 82px; max-height: calc(100dvh - 96px); overflow-y: auto;
    padding-right: 2px; scrollbar-width: thin;
  }
}
@media (max-width: 991.98px) {
  .apera-cat-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.56); z-index: 10010; }
  .apera-cat-backdrop[hidden] { display: none !important; }
  .apera-cat-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(88vw, 330px); z-index: 10020;
    background: #ffffff; display: none; flex-direction: column;
    box-shadow: 8px 0 30px rgba(15, 23, 42, 0.25);
  }
  .apera-cat-sidebar.is-open { display: flex; }
  .apera-sidebar-scroll { flex: 1 1 auto; overflow-y: auto; padding: 12px; }
  .apera-sidebar-drawer-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; background: var(--apera-dark); color: #ffffff; flex-shrink: 0;
  }
  .apera-sidebar-close-btn {
    min-width: 44px; min-height: 44px; padding: 4px 12px; border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #ffffff; font-weight: 700; font-size: 13px; cursor: pointer;
  }
  .apera-sidebar-drawer-ft {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px;
    border-top: 1px solid #E2E8F0; background: var(--apera-surface); flex-shrink: 0;
  }
  .apera-btn-outline-sm {
    min-height: 44px; padding: 8px 14px; border-radius: 9px;
    border: 1px solid var(--apera-border); background: #ffffff; color: var(--apera-dark); font-size: 13px; font-weight: 700; cursor: pointer;
  }
}

.apera-side-card {
  background: #ffffff; border: 1px solid #E2E8F0; border-radius: 11px;
  padding: 11px 12px; margin-bottom: 10px;
}
.apera-side-hd { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.apera-side-hd h2 { font-size: 13px; font-weight: 800; color: var(--apera-dark); margin: 0; }
.apera-side-meta { font-size: 11px; font-weight: 700; color: var(--apera-muted); }
.apera-side-search {
  width: 100%; min-height: 38px; padding: 4px 10px; margin-bottom: 7px;
  border-radius: 8px; border: 1px solid var(--apera-border); background: var(--apera-surface);
  font-size: 12.5px; color: var(--apera-dark);
}
.apera-side-cat-list { list-style: none; margin: 0; padding: 0; max-height: 250px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.apera-side-cat-link {
  min-height: 36px; padding: 5px 8px; border-radius: 7px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  text-decoration: none !important; font-size: 12.5px; font-weight: 600; color: var(--apera-text);
  transition: background-color 0.12s ease, color 0.12s ease;
}
.apera-side-cat-link:hover { background: var(--apera-surface); color: var(--apera-red); }
.apera-side-cat-link.is-active { background: #FEF2F2; color: var(--apera-red); font-weight: 800; }
.apera-side-cat-link.is-parent { color: #1D4ED8; font-weight: 700; background: #EFF6FF; margin-bottom: 3px; }
.apera-side-cat-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apera-side-cat-cnt { font-size: 11px; font-weight: 700; color: var(--apera-muted); flex-shrink: 0; }
.apera-side-chip-col, .apera-side-presets { display: flex; flex-direction: column; gap: 5px; }
.apera-fit-chip.is-side, .apera-preset-pill.is-side {
  width: 100%; min-height: 40px; padding: 6px 10px; border-radius: 8px;
  justify-content: space-between; text-align: left; font-size: 12.5px;
}
.apera-side-price-row { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.apera-side-price-row .apera-filter-price-input { max-width: none; min-height: 40px; padding: 4px 8px; font-size: 13px; }
.apera-side-price-row .apera-filter-apply-btn { min-height: 40px; padding: 0 11px; font-size: 12.5px; }

.apera-cat-quick-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.apera-quick-chips { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px 0; }
.apera-quick-chips::-webkit-scrollbar { display: none; }
.apera-quick-chip {
  min-height: 38px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--apera-border);
  background: #ffffff; color: var(--apera-dark); font-size: 12px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.apera-quick-chip:hover { border-color: var(--apera-red); color: var(--apera-red); }
.apera-quick-chip.is-active { background: #FEF2F2; border-color: var(--apera-red); color: var(--apera-red); }
.apera-quick-cnt { font-size: 11px; font-weight: 600; opacity: 0.78; }
.apera-cat-inline-total { font-size: 12.5px; font-weight: 700; color: var(--apera-muted); margin-left: auto; }

@media (min-width: 992px) {
  .apera-cat-master-grid:not(.is-full) #product-list:not(.product-list) > .col { flex: 0 0 auto; width: 33.333333%; }
}
@media (min-width: 1400px) {
  .apera-cat-master-grid:not(.is-full) #product-list:not(.product-list) > .col { flex: 0 0 auto; width: 25%; }
}
@media (min-width: 1740px) {
  .apera-cat-master-grid:not(.is-full) #product-list:not(.product-list) > .col { flex: 0 0 auto; width: 20%; }
}

/* APERA Üye Kupon Şeridi & Hızlı Kimlik Modalı */
.apera-cstrip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; background: linear-gradient(90deg, #FEF2F2 0%, #FFF7ED 100%); border: 1px solid #FECACA; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.apera-cstrip-lead { display: inline-flex; align-items: center; gap: 8px; color: #991B1B; font-weight: 800; font-size: 13.5px; }
.apera-cstrip-ico { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #FEE2E2; color: #DC2626; }
.apera-cstrip-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.apera-cstrip-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border-radius: 10px; border: 1.5px dashed #DC2626; background: #FFFFFF; color: #0F172A; font-size: 12.5px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.apera-cstrip-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(220,38,38,.12); background: #FFFDFD; }
.apera-cstrip-amt { font-weight: 800; color: #DC2626; background: #FEF2F2; padding: 2px 7px; border-radius: 6px; }
.apera-cstrip-meta { display: inline-flex; align-items: center; gap: 5px; }
.apera-cstrip-min { color: #64748B; font-size: 11.5px; }
.apera-cstrip-code { font-size: 12.5px; letter-spacing: .3px; }
.apera-cstrip-act { font-weight: 700; color: #FFFFFF; background: #DC2626; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; }
.apera-cstrip-pill.is-locked .apera-cstrip-act { background: #1E293B; }
.apera-coupon-ticket-act, .apera-pill-act { font-weight: 700; font-size: 11.5px; }
.apera-pdp-coupons-list button.apera-coupon-tier-pill { cursor: pointer; min-height: 44px; transition: border-color .15s, box-shadow .15s; }
.apera-pdp-coupons-list button.apera-coupon-tier-pill:hover { border-color: #1D4ED8; box-shadow: 0 2px 8px rgba(29,78,216,.14); }
.apera-pill-act { background: #1E293B; color: #FFF; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }

.apera-auth-dialog { width: min(94vw, 460px); max-width: 100%; margin: auto; padding: 0; border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: 0 24px 60px rgba(15,23,42,.28); overflow: visible; }
.apera-auth-dialog::backdrop { background: rgba(15,23,42,.62); backdrop-filter: blur(2px); }
.apera-auth-dialog .apera-auth-card { padding: 22px; border-radius: 16px; background: #FFFFFF; }
.apera-auth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.apera-auth-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .6px; color: #DC2626; margin-bottom: 2px; }
.apera-auth-title { font-size: 1.18rem; font-weight: 800; color: #0F172A; margin: 0; }
.apera-auth-close { width: 44px; height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; cursor: pointer; }
.apera-auth-close:hover { background: #E2E8F0; color: #0F172A; }
.apera-auth-coupon-banner { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: 12.5px; margin-bottom: 12px; }
.apera-auth-feedback { padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.apera-auth-feedback.is-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.apera-auth-feedback.is-err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.apera-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid #CBD5E1; background: #FFFFFF; color: #0F172A; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s, border-color .15s; }
.apera-google-btn:hover { background: #F8FAFC; border-color: #94A3B8; color: #0F172A; }
.apera-auth-sep { position: relative; text-align: center; margin: 12px 0; font-size: 12px; color: #64748B; }
.apera-auth-sep::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #E2E8F0; }
.apera-auth-sep span { position: relative; background: #FFFFFF; padding: 0 10px; }
.apera-auth-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 6px; padding: 4px; border-radius: 10px; background: #F1F5F9; margin-bottom: 14px; }
.apera-auth-tab { min-height: 44px; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: #475569; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.apera-auth-tab.is-active { background: #FFFFFF; color: #0F172A; box-shadow: 0 1px 3px rgba(15,23,42,.1); }
.apera-auth-hint { font-size: 12.5px; color: #475569; margin: 0 0 12px; line-height: 1.45; }
.apera-auth-field { margin-bottom: 11px; }
.apera-auth-label { display: block; font-size: 12.5px; font-weight: 700; color: #1E293B; margin-bottom: 4px; }
.apera-auth-input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #CBD5E1; border-radius: 9px; font-size: 14px; color: #0F172A; background: #FFFFFF; }
.apera-auth-input:focus { outline: none; border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.apera-otp-code-input { text-align: center; font-size: 1.25rem; font-weight: 800; letter-spacing: 6px; }
.apera-pw-wrap { position: relative; display: flex; align-items: center; }
.apera-pw-wrap .apera-auth-input, .apera-pw-wrap .form-control { padding-right: 68px; }
.apera-pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-width: 52px; min-height: 36px; border: 0; border-radius: 7px; background: #F1F5F9; color: #334155; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.apera-auth-check { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 12.5px; color: #334155; margin-bottom: 8px; cursor: pointer; }
.apera-auth-sublink { font-size: 12px; font-weight: 700; color: #DC2626; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.apera-auth-actions { display: flex; flex-direction: column; gap: 8px; }
.apera-btn-link { background: transparent; border: 0; color: #475569; font-size: 12.5px; font-weight: 700; min-height: 44px; cursor: pointer; text-decoration: underline; }
.apera-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.apera-auth-panel:not([hidden]) { display: flex; flex-direction: column; }
[data-auth-panel][hidden], [data-otp-step-code][hidden], [data-auth-feedback][hidden], .apera-auth-coupon-banner[hidden] { display: none !important; }
