/* =========================================================
   Penguen B2B - modern arayuz katmani
   header / kategori menusu / arama / urun kartlari / anasayfa / footer
   Mobile-first. Porto temasinin uzerine biner.
   ========================================================= */

:root {
    --pg-primary: #0088cc;
    --pg-primary-dark: #026ba3;
    --pg-primary-soft: #e8f5fc;
    --pg-accent: #e36159;
    --pg-success: #16a34a;

    --pg-ink: #15191f;
    --pg-ink-2: #414a56;
    --pg-muted: #78828f;
    --pg-line: #e7eaef;
    --pg-line-2: #f0f2f6;
    --pg-surface: #ffffff;
    --pg-bg: #f5f7fa;

    --pg-radius: 14px;
    --pg-radius-sm: 10px;
    --pg-radius-pill: 999px;

    --pg-shadow-1: 0 1px 2px rgba(20, 26, 35, .05), 0 1px 3px rgba(20, 26, 35, .04);
    --pg-shadow-2: 0 6px 20px rgba(20, 26, 35, .08);
    --pg-shadow-3: 0 12px 34px rgba(20, 26, 35, .12);

    --pg-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    /* JS bunlari olcup gunceller; asagidakiler yedek degerler */
    --pg-header-h: 108px;
    --pg-bottomnav-h: 60px;
}

@media (min-width: 992px) {
    :root {
        --pg-header-h: 152px;
        --pg-bottomnav-h: 0px;
    }
}

/* ---------- temel ---------- */

.pg-header *,
.pg-footer *,
.pg-shop *,
.pg-home *,
.pg-drawer *,
.pg-bottomnav * {
    box-sizing: border-box;
}

.pg-header a,
.pg-footer a,
.pg-shop a,
.pg-home a,
.pg-drawer a,
.pg-bottomnav a {
    text-decoration: none;
}

body {
    padding-bottom: var(--pg-bottomnav-h);
}

.pg-header-spacer {
    height: var(--pg-header-h);
}

.pg-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

/* odak gorunurlugu - klavye ile gezinme */
.pg-header :focus-visible,
.pg-shop :focus-visible,
.pg-home :focus-visible,
.pg-drawer :focus-visible,
.pg-bottomnav :focus-visible {
    outline: 2px solid var(--pg-primary);
    outline-offset: 2px;
    border-radius: 6px;
}

/* =========================================================
   HEADER
   ========================================================= */

.pg-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    background: var(--pg-surface);
    font-family: var(--pg-font);
    box-shadow: 0 1px 0 var(--pg-line);
    transition: box-shadow .25s ease;
}

.pg-header.is-stuck {
    box-shadow: var(--pg-shadow-2);
}

/* --- ust serit (sadece masaustu) --- */
.pg-topbar {
    display: none;
    background: var(--pg-ink);
    color: #cdd4dd;
    font-size: 12.5px;
}

.pg-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    gap: 16px;
}

.pg-topbar__note {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pg-topbar__note i {
    color: var(--pg-primary);
}

.pg-topbar__links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-topbar a {
    color: #cdd4dd;
    transition: color .15s ease;
}

.pg-topbar a:hover {
    color: #fff;
}

@media (min-width: 992px) {
    .pg-topbar {
        display: block;
    }
}

/* --- ana serit --- */
.pg-headbar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
}

@media (min-width: 992px) {
    .pg-headbar__inner {
        height: 72px;
        gap: 22px;
    }
}

.pg-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: auto;
    gap: 10px;
}

.pg-logo img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.pg-logo__text {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.02em;
    color: var(--pg-ink);
    line-height: 1.1;
}

@media (min-width: 992px) {
    .pg-logo img {
        height: 56px;
        max-width: 190px;
    }

    .pg-logo__text {
        font-size: 22px;
    }
}

/* ikon buton */
.pg-iconbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--pg-ink);
    font-size: 18px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.pg-iconbtn:hover {
    background: var(--pg-line-2);
    color: var(--pg-primary);
}

.pg-iconbtn__label {
    display: none;
}

.pg-badge {
    position: absolute;
    top: 4px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--pg-radius-pill);
    background: var(--pg-accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--pg-surface);
}

.pg-badge[data-count="0"] {
    display: none;
}

/* masaustunde ikon + etiket */
.pg-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

@media (min-width: 992px) {
    .pg-actions {
        gap: 4px;
    }

    .pg-iconbtn--wide {
        width: auto;
        height: 46px;
        padding: 0 14px;
        gap: 9px;
        border-radius: var(--pg-radius-sm);
    }

    .pg-iconbtn--wide .pg-iconbtn__label {
        display: block;
        font-size: 12.5px;
        font-weight: 600;
        line-height: 1.25;
        text-align: left;
        white-space: nowrap;
    }

    .pg-iconbtn__label small {
        display: block;
        font-weight: 400;
        font-size: 11px;
        color: var(--pg-muted);
    }

    .pg-iconbtn--wide .pg-badge {
        top: 2px;
        right: auto;
        left: 24px;
    }
}

.pg-hamburger {
    display: inline-flex;
}

@media (min-width: 992px) {
    .pg-hamburger {
        display: none;
    }
}

/* =========================================================
   ARAMA
   ========================================================= */

.pg-search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.pg-search__form {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 6px 0 14px;
    background: var(--pg-bg);
    border: 1.5px solid transparent;
    border-radius: var(--pg-radius-pill);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.pg-search__form:focus-within {
    background: var(--pg-surface);
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 4px rgba(0, 136, 204, .12);
}

.pg-search__icon {
    color: var(--pg-muted);
    font-size: 15px;
    flex: 0 0 auto;
}

.pg-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    font-family: var(--pg-font);
    font-size: 14px;
    color: var(--pg-ink);
    outline: none;
    -webkit-appearance: none;
}

.pg-search__input::placeholder {
    color: var(--pg-muted);
}

.pg-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.pg-search__submit {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--pg-radius-pill);
    background: var(--pg-primary);
    color: #fff;
    font-family: var(--pg-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

.pg-search__submit:hover {
    background: var(--pg-primary-dark);
}

.pg-search__submit-icon {
    display: none;
}

/* mobil: arama ayri satirda, tam genislik */
.pg-searchrow {
    padding-bottom: 10px;
}

@media (min-width: 992px) {
    .pg-searchrow {
        display: none;
    }

    .pg-search--inline {
        max-width: 560px;
    }

    .pg-search__form {
        height: 46px;
    }
}

@media (max-width: 991.98px) {
    .pg-search--inline {
        display: none;
    }

    .pg-search__submit {
        width: 34px;
        padding: 0;
    }

    .pg-search__submit-text {
        display: none;
    }

    .pg-search__submit-icon {
        display: block;
    }
}

/* --- canli arama onerileri --- */
.pg-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: min(420px, 70vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    box-shadow: var(--pg-shadow-3);
    padding: 6px;
}

.pg-suggest[hidden] {
    display: none;
}

.pg-suggest__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px;
    border-radius: var(--pg-radius-sm);
    color: var(--pg-ink);
    transition: background .12s ease;
}

.pg-suggest__item:hover,
.pg-suggest__item.is-active {
    background: var(--pg-primary-soft);
}

.pg-suggest__thumb {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 9px;
    background: var(--pg-bg);
    object-fit: contain;
    padding: 3px;
}

.pg-suggest__txt {
    flex: 1 1 auto;
    min-width: 0;
}

.pg-suggest__name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-suggest__code {
    font-size: 11px;
    color: var(--pg-muted);
}

.pg-suggest__price {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--pg-ink);
    white-space: nowrap;
}

.pg-suggest__info {
    padding: 14px 10px;
    text-align: center;
    font-size: 13px;
    color: var(--pg-muted);
}

.pg-suggest__all {
    display: block;
    margin-top: 4px;
    padding: 10px;
    border-top: 1px solid var(--pg-line-2);
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pg-primary);
}

.pg-suggest__all:hover {
    color: var(--pg-primary-dark);
}

/* =========================================================
   KATEGORI SERIDI (masaustu)
   ========================================================= */

.pg-catbar {
    display: none;
    border-top: 1px solid var(--pg-line);
    background: var(--pg-surface);
}

@media (min-width: 992px) {
    .pg-catbar {
        display: block;
    }
}

.pg-catnav {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 46px;
    /* cok kategori olursa satira tasmasin, yatay kaysin */
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
}

.pg-catnav::-webkit-scrollbar {
    display: none;
}

.pg-catnav > li > .pg-catnav__link {
    white-space: nowrap;
}

.pg-catnav > li {
    position: relative;
    display: flex;
}

.pg-catnav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    color: var(--pg-ink-2);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -.01em;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

.pg-catnav__link:hover,
.pg-catnav > li:hover > .pg-catnav__link,
.pg-catnav__link.is-active {
    color: var(--pg-primary);
    border-bottom-color: var(--pg-primary);
}

.pg-catnav__link .caret {
    font-size: 10px;
    opacity: .6;
    transition: transform .2s ease;
}

.pg-catnav > li:hover .caret {
    transform: rotate(180deg);
}

.pg-catnav__link--admin {
    color: #fff;
    background: var(--pg-accent);
    border-radius: var(--pg-radius-sm);
    margin: 7px 8px 7px 0;
    border-bottom: 0;
}

.pg-catnav__link--admin:hover {
    color: #fff;
    background: #cf4e46;
    border-bottom-color: transparent;
}

/* acilir alt kategori paneli */
.pg-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    min-width: 260px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    box-shadow: var(--pg-shadow-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.pg-catnav > li:hover > .pg-submenu,
.pg-catnav > li:focus-within > .pg-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pg-submenu--wide {
    columns: 2;
    column-gap: 10px;
    min-width: 460px;
}

.pg-submenu li {
    break-inside: avoid;
}

.pg-submenu a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--pg-radius-sm);
    color: var(--pg-ink-2);
    font-size: 13px;
    line-height: 1.35;
    transition: background .14s ease, color .14s ease;
}

.pg-submenu a:hover {
    background: var(--pg-primary-soft);
    color: var(--pg-primary-dark);
}

.pg-submenu__empty {
    padding: 8px 12px;
    color: var(--pg-muted);
    font-size: 12.5px;
}

/* =========================================================
   MOBIL CEKMECE (off-canvas)
   ========================================================= */

.pg-scrim {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 20, 28, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}

.pg-scrim.is-open {
    opacity: 1;
    visibility: visible;
}

.pg-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1060;
    width: min(340px, 86vw);
    display: flex;
    flex-direction: column;
    background: var(--pg-surface);
    font-family: var(--pg-font);
    transform: translateX(-102%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--pg-shadow-3);
}

.pg-drawer.is-open {
    transform: translateX(0);
}

.pg-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--pg-line);
}

.pg-drawer__user {
    min-width: 0;
}

.pg-drawer__user strong {
    display: block;
    font-size: 14px;
    color: var(--pg-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-drawer__user span {
    font-size: 12px;
    color: var(--pg-muted);
}

.pg-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px 20px;
}

.pg-drawer__section {
    margin-top: 14px;
    padding: 0 6px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-acc {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-acc__item + .pg-acc__item {
    border-top: 1px solid var(--pg-line-2);
}

.pg-acc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 8px;
    border: 0;
    background: transparent;
    font-family: var(--pg-font);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--pg-ink);
    text-align: left;
    cursor: pointer;
}

.pg-acc__head i {
    font-size: 12px;
    color: var(--pg-muted);
    transition: transform .2s ease;
}

.pg-acc__head[aria-expanded="true"] {
    color: var(--pg-primary);
}

.pg-acc__head[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.pg-acc__panel {
    display: none;
    padding: 0 0 10px;
}

.pg-acc__panel.is-open {
    display: block;
}

.pg-acc__panel a {
    display: block;
    padding: 10px 8px 10px 20px;
    border-left: 2px solid var(--pg-line);
    margin-left: 8px;
    color: var(--pg-ink-2);
    font-size: 13.5px;
}

.pg-acc__panel a:active,
.pg-acc__panel a:hover {
    color: var(--pg-primary);
    border-left-color: var(--pg-primary);
}

.pg-drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 8px;
    color: var(--pg-ink);
    font-size: 14.5px;
    font-weight: 500;
}

.pg-drawer__link i {
    width: 20px;
    color: var(--pg-muted);
    font-size: 15px;
    text-align: center;
}

.pg-drawer__foot {
    padding: 14px 16px;
    border-top: 1px solid var(--pg-line);
}

/* =========================================================
   MOBIL ALT MENU
   ========================================================= */

.pg-bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--pg-line);
    padding-bottom: env(safe-area-inset-bottom);
    font-family: var(--pg-font);
}

@media (min-width: 992px) {
    .pg-bottomnav {
        display: none;
    }
}

.pg-bottomnav__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 60px;
    border: 0;
    background: transparent;
    color: var(--pg-muted);
    font-family: var(--pg-font);
    font-size: 10.5px;
    font-weight: 500;
    cursor: pointer;
}

.pg-bottomnav__item i {
    font-size: 18px;
}

.pg-bottomnav__item.is-active,
.pg-bottomnav__item:active {
    color: var(--pg-primary);
}

.pg-bottomnav .pg-badge {
    top: 6px;
    right: 50%;
    margin-right: -22px;
}

/* =========================================================
   MAGAZA / LISTELEME
   ========================================================= */

.pg-shop {
    font-family: var(--pg-font);
    background: var(--pg-bg);
    padding: 18px 0 40px;
    min-height: 60vh;
}

.pg-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--pg-muted);
}

.pg-crumb a {
    color: var(--pg-muted);
}

.pg-crumb a:hover {
    color: var(--pg-primary);
}

.pg-listhead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pg-listhead__title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--pg-ink);
}

.pg-listhead__count {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--pg-muted);
}

@media (min-width: 992px) {
    .pg-listhead__title {
        font-size: 24px;
    }
}

.pg-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

@media (min-width: 768px) {
    .pg-tools {
        width: auto;
    }
}

.pg-filter {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.pg-filter i {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--pg-muted);
    pointer-events: none;
}

.pg-filter input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 34px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius-pill);
    background: var(--pg-surface);
    font-family: var(--pg-font);
    font-size: 13.5px;
    color: var(--pg-ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pg-filter input:focus {
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 4px rgba(0, 136, 204, .12);
}

.pg-select {
    position: relative;
    flex: 0 0 auto;
}

.pg-select select {
    height: 42px;
    padding: 0 34px 0 14px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius-pill);
    background: var(--pg-surface);
    font-family: var(--pg-font);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--pg-ink);
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.pg-select i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--pg-muted);
    pointer-events: none;
}

/* kategori cipleri (yatay kaydirilabilir) */
.pg-chips {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    padding: 2px 0 10px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pg-chips::-webkit-scrollbar {
    display: none;
}

.pg-chips a {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius-pill);
    background: var(--pg-surface);
    color: var(--pg-ink-2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all .15s ease;
}

.pg-chips a:hover,
.pg-chips a.is-active {
    background: var(--pg-primary);
    border-color: var(--pg-primary);
    color: #fff;
}

@media (min-width: 992px) {
    .pg-chips {
        flex-wrap: wrap;
    }
}

/* =========================================================
   URUN KARTI
   ========================================================= */

.pg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 576px) {
    .pg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .pg-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1400px) {
    .pg-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.pg-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

@media (hover: hover) {
    .pg-card:hover {
        border-color: #d8dee7;
        box-shadow: var(--pg-shadow-2);
        transform: translateY(-3px);
    }
}

.pg-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #fbfcfd 0%, #f1f4f8 100%);
    overflow: hidden;
}

/* aspect-ratio desteklemeyen eski tarayicilar icin */
@supports not (aspect-ratio: 1 / 1) {
    .pg-card__media {
        height: 0;
        padding-bottom: 100%;
    }
}

.pg-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform .35s ease;
}

@media (hover: hover) {
    .pg-card:hover .pg-card__media img {
        transform: scale(1.06);
    }
}

.pg-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.pg-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--pg-radius-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.5;
    color: #fff;
    background: var(--pg-ink-2);
}

.pg-tag--sale {
    background: var(--pg-accent);
}

.pg-tag--new {
    background: var(--pg-success);
}

.pg-tag--soft {
    background: rgba(255, 255, 255, .92);
    color: var(--pg-ink-2);
    box-shadow: inset 0 0 0 1px var(--pg-line);
}

.pg-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 11px 12px 12px;
    gap: 6px;
}

.pg-card__code {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-card__title {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.01em;
    /* iki satirda kes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.pg-card__title a {
    color: var(--pg-ink);
    transition: color .15s ease;
}

.pg-card__title a:hover {
    color: var(--pg-primary);
}

@media (min-width: 992px) {
    .pg-card__title {
        font-size: 13.5px;
    }
}

.pg-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 11.5px;
    color: var(--pg-muted);
}

.pg-card__meta b {
    font-weight: 600;
    color: var(--pg-ink-2);
}

.pg-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 6px;
}

.pg-card__price-now {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--pg-ink);
}

.pg-card__price-old {
    font-size: 12.5px;
    color: var(--pg-muted);
    text-decoration: line-through;
}

.pg-card__locked {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    font-size: 12px;
    color: var(--pg-muted);
}

/* sepet aksiyonlari */
.pg-card__actions {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin-top: 10px;
}

.pg-stepper {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 38px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius-sm);
    background: var(--pg-surface);
    overflow: hidden;
}

.pg-stepper button {
    width: 28px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--pg-ink-2);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background .14s ease, color .14s ease;
}

.pg-stepper button:hover {
    background: var(--pg-line-2);
    color: var(--pg-primary);
}

.pg-stepper input {
    width: 34px;
    height: 100%;
    border: 0;
    background: transparent;
    font-family: var(--pg-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-ink);
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.pg-stepper input::-webkit-outer-spin-button,
.pg-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--pg-radius-sm);
    background: var(--pg-primary);
    color: #fff;
    font-family: var(--pg-font);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.pg-btn:hover {
    background: var(--pg-primary-dark);
    color: #fff;
}

.pg-btn:active {
    transform: scale(.98);
}

.pg-btn[disabled] {
    opacity: .6;
    cursor: default;
}

.pg-btn--ghost {
    background: var(--pg-primary-soft);
    color: var(--pg-primary-dark);
}

.pg-btn--ghost:hover {
    background: #d7ecf8;
    color: var(--pg-primary-dark);
}

.pg-btn--light {
    background: #fff;
    color: var(--pg-ink);
    box-shadow: inset 0 0 0 1px var(--pg-line);
}

.pg-btn--light:hover {
    background: #fff;
    color: var(--pg-primary);
}

.pg-btn--block {
    width: 100%;
}

.pg-btn--lg {
    height: 48px;
    padding: 0 22px;
    font-size: 14px;
}

.pg-btn.is-done {
    background: var(--pg-success);
}

/* bos durum */
.pg-empty {
    padding: 56px 20px;
    text-align: center;
    background: var(--pg-surface);
    border: 1px dashed var(--pg-line);
    border-radius: var(--pg-radius);
}

.pg-empty i {
    font-size: 34px;
    color: #c6cdd7;
}

.pg-empty h4 {
    margin: 14px 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: var(--pg-ink);
}

.pg-empty p {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: var(--pg-muted);
}

/* bolum basligi */
.pg-sectionhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
}

.pg-sectionhead h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--pg-ink);
}

.pg-sectionhead h2 span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--pg-muted);
}

@media (min-width: 992px) {
    .pg-sectionhead h2 {
        font-size: 23px;
    }
}

.pg-sectionhead a {
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-primary);
    white-space: nowrap;
}

/* =========================================================
   URUN DETAY
   ========================================================= */

.pg-detail {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    .pg-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 36px;
        align-items: start;
    }
}

@media (min-width: 1200px) {
    .pg-detail {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
}

/* --- galeri --- */
.pg-gallery {
    position: relative;
}

@media (min-width: 992px) {
    .pg-gallery {
        position: sticky;
        top: calc(var(--pg-header-h) + 16px);
    }
}

.pg-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    overflow: hidden;
}

@supports not (aspect-ratio: 1 / 1) {
    .pg-gallery__main {
        height: 0;
        padding-bottom: 100%;
    }
}

.pg-gallery__main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    cursor: zoom-in;
}

.pg-gallery__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.pg-gallery__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    color: var(--pg-ink-2);
    font-size: 14px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.pg-gallery__zoom:hover {
    background: #fff;
    color: var(--pg-primary);
}

.pg-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pg-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.pg-gallery__thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    padding: 4px;
    border: 1.5px solid var(--pg-line);
    border-radius: var(--pg-radius-sm);
    background: var(--pg-surface);
    cursor: pointer;
    transition: border-color .15s ease;
}

.pg-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pg-gallery__thumb:hover {
    border-color: #c9d2dd;
}

.pg-gallery__thumb.is-active {
    border-color: var(--pg-primary);
}

/* --- bilgi paneli --- */
.pg-detail__panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

@media (min-width: 992px) {
    .pg-detail__panel {
        padding: 26px;
    }
}

.pg-detail__code {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-detail__title {
    margin: -6px 0 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--pg-ink);
}

@media (min-width: 992px) {
    .pg-detail__title {
        font-size: 26px;
    }
}

.pg-detail__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.pg-detail__price-now {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--pg-ink);
}

.pg-detail__price-old {
    font-size: 15px;
    color: var(--pg-muted);
    text-decoration: line-through;
}

.pg-detail__pricenote {
    margin: -10px 0 0;
    font-size: 11.5px;
    color: var(--pg-muted);
}

.pg-detail__locked {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--pg-radius-sm);
    background: var(--pg-primary-soft);
}

.pg-detail__locked i {
    margin-top: 3px;
    color: var(--pg-primary);
    font-size: 15px;
}

.pg-detail__locked strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pg-ink);
}

.pg-detail__locked span {
    font-size: 12.5px;
    color: var(--pg-ink-2);
}

/* teknik ozellikler */
.pg-specs {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--pg-line-2);
}

.pg-specs > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--pg-line-2);
}

.pg-specs dt {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--pg-muted);
}

.pg-specs dd {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-ink);
    text-align: right;
}

.pg-stok {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
}

.pg-stok--var {
    color: var(--pg-success);
}

.pg-stok--yok {
    color: var(--pg-accent);
}

/* alan (renk secimi vb.) */
.pg-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pg-ink-2);
}

.pg-select--block,
.pg-select--block select {
    width: 100%;
}

.pg-select--block select {
    border-radius: var(--pg-radius-sm);
}

/* satin alma satiri */
.pg-detail__buy {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.pg-stepper--lg {
    height: 48px;
}

.pg-stepper--lg button {
    width: 40px;
    font-size: 17px;
}

.pg-stepper--lg input {
    width: 54px;
    font-size: 15px;
}

.pg-detail__buy .pg-btn {
    flex: 1 1 auto;
}

.pg-detail__usps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--pg-line-2);
    list-style: none;
    font-size: 12.5px;
    color: var(--pg-muted);
}

.pg-detail__usps li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pg-detail__usps i {
    width: 16px;
    color: var(--pg-primary);
}

.pg-detail__usps a {
    color: var(--pg-ink-2);
    font-weight: 600;
}

/* aciklama paneli */
.pg-panel {
    padding: 18px;
    margin-bottom: 8px;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

@media (min-width: 992px) {
    .pg-panel {
        padding: 26px;
    }
}

.pg-panel__title {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pg-line-2);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--pg-ink);
}

.pg-panel__body {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--pg-ink-2);
    overflow-x: auto;
}

.pg-panel__body img {
    max-width: 100%;
    height: auto;
}

.pg-panel__body table {
    max-width: 100%;
}

/* gorsel buyutme */
.pg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 16, 22, .88);
    cursor: zoom-out;
}

.pg-lightbox[hidden] {
    display: none;
}

.pg-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--pg-radius);
    cursor: default;
}

.pg-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background .15s ease;
}

.pg-lightbox__close:hover {
    background: rgba(255, 255, 255, .24);
}

/* =========================================================
   SEPET
   ========================================================= */

.pg-cart {
    display: grid;
    gap: 16px;
    align-items: start;
}

@media (min-width: 992px) {
    .pg-cart {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .pg-cart {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
}

/* --- satir listesi --- */
.pg-cart__lines {
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    overflow: hidden;
}

.pg-cart__head {
    display: none;
}

@media (min-width: 992px) {
    .pg-cart__head {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr) 110px 128px 120px 40px;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        background: var(--pg-bg);
        border-bottom: 1px solid var(--pg-line);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: var(--pg-muted);
    }

    .pg-cart__head > span:nth-child(1) {
        grid-column: 1 / 3;
    }

    .pg-cart__head > span:nth-child(3),
    .pg-cart__head > span:nth-child(4) {
        text-align: center;
    }

    .pg-cart__head > span:nth-child(5) {
        text-align: right;
    }
}

.pg-cart__line {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
        "resim bilgi sil"
        "resim miktar tutar";
    align-items: center;
    gap: 10px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--pg-line-2);
    transition: opacity .18s ease;
}

.pg-cart__line:last-of-type {
    border-bottom: 0;
}

.pg-cart__line.is-busy {
    opacity: .55;
    pointer-events: none;
}

@media (min-width: 992px) {
    .pg-cart__line {
        grid-template-columns: 76px minmax(0, 1fr) 110px 128px 120px 40px;
        grid-template-areas: "resim bilgi birim miktar tutar sil";
        gap: 14px;
        padding: 16px;
    }
}

.pg-cart__thumb {
    grid-area: resim;
    display: block;
    width: 72px;
    height: 72px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius-sm);
    background: linear-gradient(160deg, #fbfcfd 0%, #f1f4f8 100%);
    overflow: hidden;
}

@media (min-width: 992px) {
    .pg-cart__thumb {
        width: 76px;
        height: 76px;
    }
}

.pg-cart__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.pg-cart__info {
    grid-area: bilgi;
    min-width: 0;
}

.pg-cart__name {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--pg-ink);
    transition: color .15s ease;
}

.pg-cart__name:hover {
    color: var(--pg-primary);
}

.pg-cart__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-cart__meta .pg-tag {
    text-transform: none;
    letter-spacing: 0;
}

/* mobilde birim fiyat bilginin altinda */
.pg-cart__unit-m {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--pg-muted);
}

.pg-cart__unit {
    display: none;
    grid-area: birim;
    font-size: 13px;
    color: var(--pg-ink-2);
    text-align: center;
}

@media (min-width: 992px) {
    .pg-cart__unit {
        display: block;
    }

    .pg-cart__unit-m {
        display: none;
    }
}

.pg-cart__qty {
    grid-area: miktar;
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .pg-cart__qty {
        justify-content: center;
    }
}

.pg-cart__total {
    grid-area: tutar;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--pg-ink);
    text-align: right;
    white-space: nowrap;
}

.pg-cart__remove {
    grid-area: sil;
    justify-self: end;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--pg-muted);
    font-size: 13px;
    cursor: pointer;
    transition: background .14s ease, color .14s ease;
}

.pg-cart__remove:hover {
    background: #fdeceb;
    color: var(--pg-accent);
}

.pg-cart__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: var(--pg-bg);
    border-top: 1px solid var(--pg-line);
}

.pg-cart__foot .pg-btn {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .pg-cart__foot .pg-btn {
        flex: 1 1 100%;
    }
}

.pg-btn--danger {
    background: #fdeceb;
    color: #c0453c;
}

.pg-btn--danger:hover {
    background: #fbdad8;
    color: #a83a32;
}

/* --- ozet --- */
@media (min-width: 992px) {
    .pg-cart__summary {
        position: sticky;
        top: calc(var(--pg-header-h) + 16px);
    }
}

.pg-cart__summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pg-cart__card {
    padding: 18px;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

.pg-cart__card-title {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-cart__hint {
    margin: 10px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--pg-muted);
    text-align: center;
}

.pg-cart__card .pg-field + .pg-field {
    margin-top: 10px;
}

.pg-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius-sm);
    background: var(--pg-surface);
    font-family: var(--pg-font);
    font-size: 13.5px;
    color: var(--pg-ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pg-input:focus {
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 4px rgba(0, 136, 204, .12);
}

.pg-totals {
    margin: 0 0 16px;
    padding: 0;
}

.pg-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--pg-line-2);
}

.pg-totals dt {
    font-size: 13px;
    font-weight: 400;
    color: var(--pg-ink-2);
}

.pg-totals dd {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pg-ink);
    white-space: nowrap;
}

.pg-totals__minus {
    color: var(--pg-accent) !important;
}

.pg-totals__net {
    border-bottom: 0 !important;
    padding-top: 12px !important;
}

.pg-totals__net dt {
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-ink);
}

.pg-totals__net dd {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
}

/* =========================================================
   SIPARIS SONUC SAYFASI
   ========================================================= */

.pg-sonuc {
    max-width: 620px;
    margin: 24px auto;
    padding: 34px 24px;
    text-align: center;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

@media (min-width: 768px) {
    .pg-sonuc {
        padding: 48px 40px;
        margin: 40px auto;
    }
}

.pg-sonuc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 30px;
}

.pg-sonuc--ok .pg-sonuc__icon {
    background: #e7f7ee;
    color: var(--pg-success);
}

.pg-sonuc--err .pg-sonuc__icon {
    background: #fdeceb;
    color: var(--pg-accent);
}

.pg-sonuc__title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--pg-ink);
}

@media (min-width: 768px) {
    .pg-sonuc__title {
        font-size: 25px;
    }
}

.pg-sonuc__msg {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--pg-ink-2);
}

.pg-sonuc__note {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--pg-muted);
}

.pg-sonuc__note a {
    font-weight: 600;
    color: var(--pg-primary);
}

.pg-sonuc__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.pg-sonuc__actions .pg-btn {
    flex: 0 1 auto;
}

@media (max-width: 575.98px) {
    .pg-sonuc__actions .pg-btn {
        flex: 1 1 100%;
    }
}

/* =========================================================
   ANASAYFA
   ========================================================= */

.pg-home {
    font-family: var(--pg-font);
    background: var(--pg-bg);
}

.pg-section {
    padding: 28px 0;
}

@media (min-width: 992px) {
    .pg-section {
        padding: 44px 0;
    }
}

.pg-section--tight {
    padding-top: 16px;
}

/* --- hero --- */
.pg-hero {
    display: grid;
    gap: 14px;
    padding: 16px 0 4px;
}

@media (min-width: 992px) {
    .pg-hero {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
        padding: 24px 0 4px;
    }
}

.pg-hero__slider {
    position: relative;
    border-radius: var(--pg-radius);
    overflow: hidden;
    background: #e9edf2;
    box-shadow: var(--pg-shadow-1);
}

.pg-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pg-slides::-webkit-scrollbar {
    display: none;
}

.pg-slides > * {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

/* Onerilen gorsel orani 2:1 (2400x1200). Gorsel bu oranda ise hic kirpilmaz. */
.pg-slides img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    /* contain: farkli oranda bir gorsel yuklendiginde kirpilmaz, tamami gorunur */
    object-fit: contain;
    object-position: center;
    background: #eef1f5;
}

/* Gercek mobil slider yuklenmisse kare orana gec (onerilen 1200x1200) */
.pg-hero__slider--mobil .pg-slides img {
    aspect-ratio: 1 / 1;
}

/* Tum gorseller ayni orandaysa JS gercek orani yazar: bos serit kalmaz */
.pg-hero__slider--oranli .pg-slides img {
    aspect-ratio: var(--pg-slide-oran);
    background: transparent;
}

@supports not (aspect-ratio: 2 / 1) {
    .pg-slides > * {
        position: relative;
    }

    .pg-slides img {
        height: auto;
    }
}

.pg-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.pg-slider__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.pg-slider__dots button.is-active {
    width: 20px;
    border-radius: var(--pg-radius-pill);
    background: #fff;
}

.pg-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--pg-ink);
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--pg-shadow-1);
}

.pg-slider__arrow:hover {
    background: #fff;
    color: var(--pg-primary);
}

.pg-slider__arrow--prev {
    left: 12px;
}

.pg-slider__arrow--next {
    right: 12px;
}

@media (min-width: 992px) {
    .pg-slider__arrow {
        display: flex;
    }
}

/* hero yan panel */
.pg-hero__aside {
    display: none;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 992px) {
    .pg-hero__aside {
        display: flex;
    }
}

.pg-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
    padding: 20px;
    border-radius: var(--pg-radius);
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
}

.pg-promo--accent {
    background: linear-gradient(140deg, var(--pg-primary) 0%, #0b6fa8 100%);
    border-color: transparent;
    color: #fff;
}

.pg-promo i {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--pg-primary);
}

.pg-promo--accent i {
    color: #fff;
}

.pg-promo strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--pg-ink);
}

.pg-promo--accent strong {
    color: #fff;
}

.pg-promo p {
    margin: 4px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--pg-muted);
}

.pg-promo--accent p {
    color: rgba(255, 255, 255, .85);
}

.pg-promo__link {
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pg-primary);
}

.pg-promo--accent .pg-promo__link {
    color: #fff;
}

/* --- avantaj seridi --- */
.pg-usps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .pg-usps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

.pg-usps li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

.pg-usps i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: var(--pg-primary-soft);
    color: var(--pg-primary);
    font-size: 16px;
}

.pg-usps strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pg-ink);
    line-height: 1.3;
}

.pg-usps span {
    font-size: 11.5px;
    color: var(--pg-muted);
}

/* --- kategori kartlari --- */
.pg-catgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    .pg-catgrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .pg-catgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* az kategori varsa (1-3) genis, yatay kartlar */
.pg-catgrid--az {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .pg-catgrid--az {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 18px;
    }
}

.pg-cattile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
    color: var(--pg-ink);
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.pg-cattile__img {
    display: block;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 12px;
    background: linear-gradient(160deg, #fbfcfd 0%, #eef2f6 100%);
    overflow: hidden;
}

.pg-cattile__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform .3s ease;
}

.pg-cattile__txt {
    flex: 1 1 auto;
    min-width: 0;
}

.pg-cattile__txt strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg-cattile__txt small {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--pg-muted);
}

.pg-cattile__go {
    flex: 0 0 auto;
    margin-left: 4px;
    font-size: 12px;
    color: var(--pg-muted);
    transition: transform .18s ease, color .18s ease;
}

.pg-cattile:hover {
    border-color: var(--pg-primary);
    box-shadow: var(--pg-shadow-2);
    transform: translateY(-2px);
    color: var(--pg-primary-dark);
}

.pg-cattile:hover .pg-cattile__go {
    transform: translateX(3px);
    color: var(--pg-primary);
}

.pg-cattile:hover .pg-cattile__img img {
    transform: scale(1.07);
}

@media (min-width: 640px) {
    .pg-catgrid--az .pg-cattile {
        padding: 18px;
        gap: 18px;
    }

    .pg-catgrid--az .pg-cattile__img {
        width: 96px;
        height: 96px;
        flex: 0 0 96px;
    }

    .pg-catgrid--az .pg-cattile__txt strong {
        font-size: 17px;
    }

    .pg-catgrid--az .pg-cattile__txt small {
        font-size: 12.5px;
    }
}

/* --- yatay urun raylari --- */
.pg-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 47%;
    gap: 12px;
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pg-rail::-webkit-scrollbar {
    display: none;
}

.pg-rail > * {
    scroll-snap-align: start;
}

@media (min-width: 576px) {
    .pg-rail {
        grid-auto-columns: 31%;
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .pg-rail {
        grid-auto-columns: 23%;
        gap: 20px;
    }
}

@media (min-width: 1400px) {
    .pg-rail {
        grid-auto-columns: 19%;
    }
}

/* --- cagri bandi --- */
.pg-cta {
    display: grid;
    gap: 16px;
    padding: 26px 20px;
    border-radius: var(--pg-radius);
    background: linear-gradient(135deg, var(--pg-ink) 0%, #232c39 100%);
    color: #fff;
    text-align: center;
}

@media (min-width: 992px) {
    .pg-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        text-align: left;
        padding: 34px 40px;
    }
}

.pg-cta h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.pg-cta p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
}

.pg-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* --- adim adim --- */
.pg-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pgstep;
}

@media (min-width: 768px) {
    .pg-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

.pg-steps li {
    position: relative;
    padding: 20px 18px 18px;
    background: var(--pg-surface);
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

.pg-steps li::before {
    counter-increment: pgstep;
    content: "0" counter(pgstep);
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--pg-primary);
    opacity: .55;
}

.pg-steps strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--pg-ink);
}

.pg-steps p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--pg-muted);
}

/* =========================================================
   BILDIRIM (toast)
   ========================================================= */

.pg-toastwrap {
    position: fixed;
    left: 50%;
    bottom: calc(var(--pg-bottomnav-h) + 16px);
    z-index: 1080;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

@media (min-width: 992px) {
    .pg-toastwrap {
        left: auto;
        right: 24px;
        bottom: 24px;
        transform: none;
    }
}

.pg-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--pg-radius);
    background: var(--pg-ink);
    color: #fff;
    font-family: var(--pg-font);
    font-size: 13.5px;
    box-shadow: var(--pg-shadow-3);
    animation: pgToastIn .25s ease;
}

.pg-toast--ok i {
    color: #4ade80;
}

.pg-toast--err i {
    color: #fca5a5;
}

@keyframes pgToastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   FOOTER
   ========================================================= */

.pg-footer {
    background: var(--pg-ink);
    color: #aeb7c2;
    font-family: var(--pg-font);
    font-size: 13.5px;
}

.pg-footer__top {
    display: grid;
    gap: 6px;
    padding: 24px 0 10px;
}

@media (min-width: 768px) {
    .pg-footer__top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 32px;
        padding: 48px 0 32px;
    }
}

.pg-footer__brand {
    padding: 8px 0 16px;
}

.pg-footer__brand img {
    height: 46px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.pg-footer__brand p {
    margin: 0;
    max-width: 380px;
    line-height: 1.7;
    color: #8f99a6;
}

.pg-footer__col h5 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
}

/* mobilde akordiyon, masaustunde duz liste */
.pg-footer__col {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pg-footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.pg-footer__toggle i {
    color: #8f99a6;
    font-size: 12px;
    transition: transform .2s ease;
}

.pg-footer__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.pg-footer__panel {
    display: none;
    padding-bottom: 16px;
}

.pg-footer__panel.is-open {
    display: block;
}

@media (min-width: 768px) {
    .pg-footer__col {
        border-bottom: 0;
    }

    .pg-footer__toggle {
        padding: 0 0 16px;
        cursor: default;
        pointer-events: none;
    }

    .pg-footer__toggle i {
        display: none;
    }

    .pg-footer__panel {
        display: block !important;
        padding-bottom: 0;
    }
}

.pg-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.pg-footer__list a,
.pg-footer__list span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aeb7c2;
    line-height: 1.55;
    transition: color .15s ease;
}

.pg-footer__list a:hover {
    color: #fff;
}

.pg-footer__list i {
    margin-top: 3px;
    width: 16px;
    flex: 0 0 16px;
    color: var(--pg-primary);
    font-size: 14px;
}

.pg-social {
    display: flex;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.pg-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 16px;
    transition: background .15s ease, transform .15s ease;
}

.pg-social a:hover {
    background: var(--pg-primary);
    transform: translateY(-2px);
}

.pg-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
    color: #7f8895;
    text-align: center;
}

@media (min-width: 768px) {
    .pg-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.pg-footer__bottom a {
    color: #aeb7c2;
}

.pg-footer__bottom a:hover {
    color: #fff;
}

/* =========================================================
   hareket azaltma tercihi
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .pg-card,
    .pg-card__media img,
    .pg-cattile,
    .pg-drawer,
    .pg-scrim,
    .pg-submenu,
    .pg-toast {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .pg-card:hover,
    .pg-cattile:hover {
        transform: none;
    }

    .pg-card:hover .pg-card__media img {
        transform: none;
    }
}
