.cc_b3eorip4_w7CvTcRh4c .sg-ptab { overflow: hidden; }

/* ---------- tab bar ---------- */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__bar--center { justify-content: center; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__bar--right { flex-direction: row-reverse; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__bar--center .sg-ptab__arrows { display: none; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs {
  position: relative; display: flex; gap: 4px; min-width: 0; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; isolation: isolate;
}
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs::-webkit-scrollbar { display: none; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tab {
  position: relative; z-index: 1; flex-shrink: 0; min-height: 44px; padding: 0 18px;
  border: 0; background: none; color: var(--sg-text-2, var(--sg-ink-2));
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: color var(--sg-t-mid) var(--sg-ease-out);
}
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tab.is-active { color: var(--sg-text, var(--sg-ink)); }
@media (hover: hover) { .cc_b3eorip4_w7CvTcRh4c .sg-ptab__tab:not(.is-active):hover { color: var(--sg-text, var(--sg-ink)); } }

/* the indicator slides with transform; its width follows the tab (one absolutely
   positioned element — scaling would distort the pill's rounded ends) */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__ind {
  position: absolute; z-index: 0; left: 0; bottom: 0; width: var(--ind-w, 0px); height: 2px;
  background: var(--sg-text, var(--sg-ink)); border-radius: 2px; pointer-events: none;
  transform: translateX(var(--ind-x, 0px));
  transition: transform calc(520ms * var(--sg-speed, 1)) var(--sg-ease-spring), width calc(520ms * var(--sg-speed, 1)) var(--sg-ease-spring);
}

.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--underline { gap: 8px; border-bottom: 1px solid var(--sg-line); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--underline .sg-ptab__tab { padding: 0 6px; }

.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--pill { padding: 5px; border-radius: var(--sg-r-pill); background: var(--sg-surface-2); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--pill .sg-ptab__ind { top: 5px; bottom: 5px; height: auto; border-radius: var(--sg-r-pill); background: var(--sg-ink); box-shadow: var(--sg-shadow-1); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--pill .sg-ptab__tab { min-height: 40px; border-radius: var(--sg-r-pill); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--pill .sg-ptab__tab.is-active { color: #fff; }

.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--boxed { gap: 8px; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--boxed .sg-ptab__ind { top: 0; height: auto; border-radius: var(--sg-r-btn); background: var(--sg-accent); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--boxed .sg-ptab__tab { border: 1px solid var(--sg-line); border-radius: var(--sg-r-btn); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--boxed .sg-ptab__tab.is-active { color: var(--sg-on-accent); border-color: transparent; }

/* ---------- panel cross-fade (the panel is keyed by tab → remounts) ---------- */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__panel { animation: cc_b3eorip4_w7CvTcRh4c_sg-ptab-in calc(560ms * var(--sg-speed, 1)) var(--sg-ease-out) both; }
@keyframes cc_b3eorip4_w7CvTcRh4c_sg-ptab-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__list { padding-bottom: 4px; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__skel { aspect-ratio: 1 / 1; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__empty { padding: 48px 0; text-align: center; }

.cc_b3eorip4_w7CvTcRh4c .sg-ptab__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__progress { flex: 1; max-width: 420px; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__all { margin-left: auto; }

@media (max-width: 1023px) {
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__list.sg-rail { margin-right: calc(var(--sg-gutter) * -1); padding-right: var(--sg-gutter); }
}
@media (max-width: 767px) {
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__bar, .cc_b3eorip4_w7CvTcRh4c .sg-ptab__bar--center { justify-content: flex-start; margin-right: calc(var(--sg-gutter) * -1); }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__tab { padding: 0 14px; font-size: 14px; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__foot { flex-direction: column; align-items: stretch; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__progress { max-width: none; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__all { margin-left: 0; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__panel { animation: none; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__ind { transition: none; }
}

/* ---------- AS-04: filled active tab, borderless others ---------- */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid { gap: 8px; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__ind { top: 0; bottom: 0; height: auto; border-radius: var(--sg-r-btn); background: var(--sg-accent); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__tab { min-height: 42px; padding: 0 28px; border-radius: var(--sg-r-btn); font-size: 16px; font-weight: 500; color: var(--sg-text, var(--sg-ink)); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__tab.is-active { color: var(--sg-on-accent); }

/* "Tüm ürünleri gör" beside the title (desktop) — under it, right-aligned (phone) */
/* AS-04: plain dark-khaki link, no underline, thin arrow */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__head { align-items: center; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__head .sg-head__aside .sg-link { white-space: nowrap; background: none; padding-bottom: 0; font-size: 16px; font-weight: 600; color: var(--sg-accent-hover, #3a4231); }
@media (hover: hover) { .cc_b3eorip4_w7CvTcRh4c .sg-ptab__head .sg-head__aside .sg-link:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* desktop grid that becomes a 1 + part rail on phones */
@media (max-width: 767px) {
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__head { flex-direction: column; align-items: stretch; gap: 8px; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__head .sg-head__aside { align-self: flex-start; } /* phone: "Tüm ürünleri gör" under the title, on the left (user decision 29 Oct) */
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__tab { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__list--rail-m {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--sg-cols-m, 1.4) - 1) * var(--sg-gap)) / var(--sg-cols-m, 1.4));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: calc(var(--sg-gutter) * -1);
    padding-right: var(--sg-gutter);
  }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__list--rail-m::-webkit-scrollbar { display: none; }
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__list--rail-m > * { scroll-snap-align: start; min-width: 0; }
}

/* ---------- AS-04 colours, sampled from AS-04.png (user: “görseldeki renkleri birebir kullan”) ---------- */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__head .sg-head__text > :first-child { color: var(--sg-text, #0E0E10); font-weight: 500; } /* AS-04: Lora 500 (same ink coverage as AS-07) */
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__head .sg-head__aside .sg-link { color: var(--sg-text, #323C25); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__ind { background: #485038; }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__tab { color: var(--sg-text, #2F3130); }
.cc_b3eorip4_w7CvTcRh4c .sg-ptab__tabs--solid .sg-ptab__tab.is-active { color: #FFFFFF; }
@media (max-width: 767px) {
  .cc_b3eorip4_w7CvTcRh4c .sg-ptab__head .sg-head__aside .sg-link { color: var(--sg-text, #464D3C); }
}
