/* Compiled template scope: .pg-template */
/* ==========================================================================
   ÜRÜN DETAY
   ========================================================================== */

.pg-template.page--product-detail .product-gallery__main,.pg-template .page--product-detail .product-gallery__main {
    box-shadow: none;
    border-color: var(--color-border);
}

.pg-template.page--product-detail .product-gallery__thumbs,.pg-template .page--product-detail .product-gallery__thumbs {
    background: var(--color-surface) !important;
    box-shadow: none;
}

.pg-template.page--product-detail .product-gallery__thumb,.pg-template .page--product-detail .product-gallery__thumb {
    background: var(--color-surface);
    box-shadow: none;
}

.pg-template.page--product-detail .product-gallery__thumb img,.pg-template .page--product-detail .product-gallery__thumb img {
    background: var(--color-surface);
}

.pg-template.page--product-detail .product-gallery__thumb:hover,.pg-template .page--product-detail .product-gallery__thumb:hover,
.pg-template.page--product-detail .product-gallery__thumb.is-active,.pg-template .page--product-detail .product-gallery__thumb.is-active {
    box-shadow: none;
}

.pg-template.page--product-detail .product-breadcrumb,.pg-template .page--product-detail .product-breadcrumb {
    margin-bottom: 16px;
}

.pg-template .product-page {
    padding: 28px 0 72px;
    overflow-x: clip; /* yatay taşma engelidir — fixed element'leri kırmaz */
    background: var(--color-surface);
}

.pg-template .product-page .container {
    max-width: var(--container-max);
}

.pg-template .product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 24px;
    color: var(--color-muted);
    font-size: 13px;
    letter-spacing: .01em;
}

.pg-template .product-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pg-template .product-breadcrumb a:hover {
    color: var(--color-brand);
}

.pg-template .product-breadcrumb__current {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
}

.pg-template .product-hero {
    display: grid;
    grid-template-columns: auto minmax(320px, 1fr);
    gap: 24px;
    align-items: start;
}

/* Galeri — ürün fotoğrafı 4:5, Trendyol gibi dar sütun */
.pg-template .product-gallery {
    --gallery-aspect: 4 / 5;
    --gallery-max-width: 520px;
    --gallery-thumb-size: 72px;
    position: sticky;
    top: 92px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    width: min(var(--gallery-max-width), 100%);
    max-width: var(--gallery-max-width);
    min-width: 0;
}

.pg-template .product-gallery--single .product-gallery__main {
    grid-column: 1;
}

.pg-template .product-gallery__main {
    position: relative;
    width: 100%;
    aspect-ratio: var(--gallery-aspect);
    min-height: 0;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    box-shadow: none;
    touch-action: pan-x pan-y;
    user-select: none;
    isolation: isolate;
}

.pg-template .product-gallery__main.is-draggable {
    cursor: grab;
    touch-action: pan-y;
}

.pg-template .product-gallery__main.is-draggable .product-gallery__frame.is-active {
    cursor: grab;
}

.pg-template .product-gallery__main.is-dragging {
    cursor: grabbing;
}

.pg-template .product-gallery__track {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.pg-template .product-gallery__frame {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pg-template .product-gallery__frame[hidden] {
    display: none !important;
}

.pg-template .product-gallery__frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--gallery-aspect);
    object-fit: cover;
    object-position: center top;
    transform-origin: center center;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.pg-template .product-gallery__main.is-dragging .product-gallery__frame img {
    transition: none;
}

.pg-template .product-gallery__zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 8;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--color-text);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.pg-template .product-gallery__zoom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pg-template .product-gallery__zoom:hover,
.pg-template .product-gallery__zoom:focus-visible {
    transform: scale(1.04);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
}

.pg-template .product-gallery__thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 6px;
    border: none;
    border-radius: 0;
    background: var(--color-surface);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border-hover) transparent;
}

.pg-template .product-gallery__thumbs::-webkit-scrollbar {
    height: 4px;
}

.pg-template .product-gallery__thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.pg-template .product-gallery__thumbs::-webkit-scrollbar-thumb {
    background: var(--color-border-hover);
    border-radius: 999px;
}

.pg-template .product-gallery__thumb {
    flex: 0 0 var(--gallery-thumb-size);
    width: var(--gallery-thumb-size);
    max-width: var(--gallery-thumb-size);
    height: auto;
    aspect-ratio: var(--gallery-aspect, 4 / 5);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    cursor: pointer;
    box-shadow: none;
    transition: border-color .18s ease, opacity .18s ease;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.pg-template .product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--color-surface);
}

.pg-template .product-gallery__thumb:hover,
.pg-template .product-gallery__thumb.is-active {
    border-color: var(--color-brand);
    box-shadow: none;
}

.pg-template .product-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: rgba(24, 24, 27, .62);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.pg-template .product-gallery__nav:hover,
.pg-template .product-gallery__nav:focus-visible {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(24, 24, 27, .78);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}

.pg-template .product-gallery__nav svg {
    pointer-events: none;
}

.pg-template .product-gallery__nav--prev {
    left: 12px;
}

.pg-template .product-gallery__nav--next {
    right: 12px;
}

.pg-template .product-gallery__count {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--color-text);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    border: 1px solid rgba(229, 231, 235, .9);
}

.pg-template.page--product-detail .product-code-pill,.pg-template .page--product-detail .product-code-pill,
.pg-template.page--product-detail .product-code-pill__label,.pg-template .page--product-detail .product-code-pill__label {
    background: var(--color-surface);
}

.pg-template.page--product-detail .product-summary,.pg-template .page--product-detail .product-summary {
    gap: 0;
    background: var(--color-surface);
}

.pg-template.page--product-detail .product-buy-card:not(.pbc) .product-buy-card__head,.pg-template .page--product-detail .product-buy-card:not(.pbc) .product-buy-card__head {
    gap: 0;
    padding-bottom: 0;
}

.pg-template.page--product-detail .product-buy-card:not(.pbc) .product-buy-card__code-row,.pg-template .page--product-detail .product-buy-card:not(.pbc) .product-buy-card__code-row {
    margin-top: 0;
    min-height: 0;
}

.pg-template.page--product-detail .product-buy-card:not(.pbc),.pg-template .page--product-detail .product-buy-card:not(.pbc) {
    gap: 0;
}

/* Özet */
.pg-template .product-summary {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
    min-width: 0;
    align-self: start;
}

.pg-template .product-buy-card {
    display: grid;
    gap: 20px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: var(--color-surface);
    box-shadow: none;
    color-scheme: light;
}

.pg-template .product-buy-details {
    border: none;
    border-radius: 0;
    background: var(--color-surface);
    overflow: hidden;
    box-shadow: none;
    border-top: 1px solid var(--color-border);
}

/* Ürün bilgi sekmeleri — hero altı tam genişlik */
.pg-template .product-info-tabs {
    position: relative;
    margin: 28px 0 36px;
    padding: 0;
    width: 100%;
    max-width: none;
    background: var(--color-surface);
}

.pg-template .product-info-tabs__nav-shell {
    position: relative;
    width: 100%;
}

.pg-template .product-info-tabs__nav-shell::after,
.pg-template .product-info-tabs__nav-shell::before {
    content: "";
    position: absolute;
    inset-block: 0 1px;
    width: 54px;
    pointer-events: none;
    opacity: 1;
    transition: opacity .15s ease;
    z-index: 2;
}

.pg-template .product-info-tabs__nav-shell::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--color-surface) 66%);
}

.pg-template .product-info-tabs__nav-shell::before {
    left: 0;
    background: linear-gradient(270deg, transparent, var(--color-surface) 66%);
}

.pg-template .product-info-tabs.is-nav-at-end .product-info-tabs__nav-shell::after,
.pg-template .product-info-tabs:not(.is-nav-scrollable) .product-info-tabs__nav-shell::after {
    opacity: 0;
}

.pg-template .product-info-tabs.is-nav-at-start .product-info-tabs__nav-shell::before,
.pg-template .product-info-tabs:not(.is-nav-scrollable) .product-info-tabs__nav-shell::before {
    opacity: 0;
}

.pg-template .product-info-tabs__scroll {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: 0 5px 16px rgba(20, 18, 15, .12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .15s ease, border-color .15s ease, color .15s ease;
}

.pg-template .product-info-tabs__scroll svg {
    width: 17px;
    height: 17px;
}

.pg-template .product-info-tabs__scroll--prev { left: 4px; }
.pg-template .product-info-tabs__scroll--next { right: 4px; }

.pg-template .product-info-tabs.is-nav-scrollable:not(.is-nav-at-start) .product-info-tabs__scroll--prev,
.pg-template .product-info-tabs.is-nav-scrollable:not(.is-nav-at-end) .product-info-tabs__scroll--next {
    opacity: 1;
    pointer-events: auto;
}

.pg-template .product-info-tabs__scroll:hover,
.pg-template .product-info-tabs__scroll:focus-visible {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.pg-template .product-info-tabs__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pg-template .product-info-tabs__nav::-webkit-scrollbar {
    display: none;
}

@media (max-width: 720px) {
    .pg-template .product-info-tabs .product-info-tabs__tab {
        padding-inline: 18px;
    }

    .pg-template .product-info-tabs__scroll {
        width: 36px;
        height: 36px;
    }
}

.pg-template .product-info-tabs__tab {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    padding: 14px 20px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}

.pg-template .product-info-tabs__tab:hover {
    color: var(--color-text);
}

.pg-template .product-info-tabs__tab.is-active {
    color: var(--color-text);
    border-bottom-color: var(--color-brand);
}

.pg-template .product-info-tabs__tab[hidden] {
    display: none !important;
}

.pg-template .product-info-tabs__panels {
    width: 100%;
    max-width: none;
    padding: 20px 0 0;
}

.pg-template .product-info-tabs__panel {
    display: none;
    width: 100%;
    max-width: none;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
}

.pg-template .product-info-tabs__panel.is-active {
    display: block !important;
}

.pg-template .product-info-tabs__panel[hidden] {
    display: none !important;
}

.pg-template .product-info-tabs__panel p {
    margin: 0 0 10px;
}

.pg-template .product-info-tabs__panel p:last-child {
    margin-bottom: 0;
}

.pg-template .product-info-tabs__panel strong {
    color: var(--color-text);
    font-weight: 600;
}

.pg-template .product-info-tabs__features {
    margin: 18px 0 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}

.pg-template .product-info-tabs__features-row {
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    gap: 12px 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.pg-template .product-info-tabs__features-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pg-template .product-info-tabs__features-row dt {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
}

.pg-template .product-info-tabs__features-row dd {
    margin: 0;
    font-size: 14px;
    color: var(--color-text);
}

.pg-template .product-info-tabs__panel--wide {
    max-width: none;
}

.pg-template .product-info-tabs .product-reviews {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.pg-template .product-info-tabs .product-reviews__intro {
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.pg-template .product-buy-card__head {
    display: grid;
    gap: 10px;
    padding-bottom: 4px;
}

.pg-template .product-buy-card__brand {
    margin: 0;
    color: var(--color-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pg-template .product-buy-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pg-template .product-buy-card__title {
    margin: 0;
    flex: 1;
    min-width: 0;
    color: var(--color-text);
    font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif);
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.025em;
}

.pg-template .product-buy-card__listing {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pg-template .product-buy-card__listing--rental {
    border: 1.5px solid var(--color-brand);
    background: var(--color-surface);
    color: var(--color-brand);
}

.pg-template .product-buy-card__listing--sale {
    border: 1.5px solid var(--color-danger-hover);
    background: var(--color-danger-subtle);
    color: var(--color-danger-text);
}

.pg-template .product-buy-card__listing--both {
    border: 1.5px solid var(--color-info-hover);
    background: var(--color-info-subtle);
    color: var(--color-info-hover);
}

.pg-template .product-buy-card__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
    max-width: 46%;
}

.pg-template .product-buy-card__source {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pg-template .product-buy-card__listing[hidden],
.pg-template .product-buy-card__listing.is-hidden {
    display: none !important;
}

.pg-template .product-buy-card__source[hidden],
.pg-template .product-buy-card__source.is-hidden {
    display: none !important;
}

.pg-template .product-buy-card__source--preowned {
    border: 1.5px solid var(--color-success-hover);
    background: var(--color-success-subtle);
    color: var(--color-success-text);
}

.pg-template .product-commerce-mode {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: var(--color-surface);
}

.pg-template .product-commerce-mode__toggle {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 0;
    padding: 2px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface-hover);
}

.pg-template .product-commerce-mode__btn {
    min-height: 0;
    height: 26px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--color-input-disabled-text);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
}

.pg-template .product-commerce-mode__btn:hover:not(.is-active) {
    color: var(--color-btn-ghost-text);
}

.pg-template .product-commerce-mode__btn.is-active {
    font-weight: 600;
}

.pg-template .product-commerce-mode__btn[data-commerce-mode="rental"].is-active {
    background: var(--color-success-subtle);
    color: var(--color-success-hover);
}

.pg-template .product-commerce-mode__btn[data-commerce-mode="sale"].is-active {
    background: var(--color-danger-subtle);
    color: var(--color-danger-text);
}

.pg-template .product-commerce-mode__warn {
    margin: 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: var(--color-warning-subtle);
    border: 1px solid var(--color-warning-border);
    color: var(--color-warning-text);
    font-size: 12px;
    line-height: 1.55;
}

.pg-template .product-commerce-mode__stock {
    margin: 0;
    padding-left: 2px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.pg-template .product-commerce-mode__stock::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--color-success);
    vertical-align: middle;
}

.pg-template .product-buy-card__cta--blocked {
    pointer-events: none;
    opacity: .55;
    cursor: not-allowed;
}

.pg-template .product-buy-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.pg-template .product-buy-card__meta-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
}

.pg-template .product-buy-card__meta-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.pg-template .product-buy-card__meta-status--available {
    background: var(--color-success-subtle);
    border-color: var(--color-success-border);
    color: var(--color-success-text);
}

.pg-template .product-buy-card__meta-status--available i { color: var(--color-success); }

.pg-template .product-buy-card__meta-status--reserved,
.pg-template .product-buy-card__meta-status--rented {
    background: var(--color-warning-subtle);
    border-color: var(--color-warning-border);
    color: var(--color-warning-text);
}

.pg-template .product-buy-card__meta-status--reserved i,
.pg-template .product-buy-card__meta-status--rented i { color: var(--color-warning); }

.pg-template .product-buy-card__meta-status--maintenance,
.pg-template .product-buy-card__meta-status--sold {
    background: var(--color-danger-subtle);
    border-color: var(--color-danger-border);
    color: var(--color-danger-text);
}

.pg-template .product-buy-card__meta-status--maintenance i,
.pg-template .product-buy-card__meta-status--sold i { color: var(--color-danger); }

.pg-template .product-buy-card__meta-sep {
    color: var(--color-border-hover);
}

.pg-template .product-buy-card__meta-review {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-muted);
}

.pg-template .product-buy-card__meta-review span[aria-hidden="true"] {
    color: var(--color-warning);
    font-size: 11px;
}

.pg-template .product-buy-card__meta-review strong {
    color: var(--color-btn-ghost-text);
    font-size: 12px;
    font-weight: 600;
}

.pg-template .product-buy-card__code-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin-top: 4px;
}

.pg-template .product-buy-card__code-row.is-muted .product-buy-card__code-value {
    color: var(--color-muted);
}

.pg-template .product-buy-card__code-label {
    flex-shrink: 0;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.pg-template .product-buy-card__code-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.pg-template .product-buy-card__code-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    height: auto;
    padding: 3px 5px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color .15s ease, background .15s ease;
}

.pg-template .product-buy-card__code-copy-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.pg-template .product-buy-card__code-copy:hover {
    color: var(--color-brand);
    background: rgba(184, 147, 90, .08);
}

.pg-template .product-buy-card__code-copy.is-copied {
    color: var(--color-success);
    background: var(--color-success-subtle);
}

.pg-template .product-buy-card__code-copy svg {
    width: 13px;
    height: 13px;
    pointer-events: none;
}

.pg-template .product-buy-card__size-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color .15s ease;
}

.pg-template .product-buy-card__size-link::after {
    content: "→";
    font-size: 11px;
    opacity: .7;
    transition: transform .15s ease;
}

.pg-template .product-buy-card__size-link:hover {
    color: var(--color-brand);
}

.pg-template .product-buy-card__size-link:hover::after {
    transform: translateX(2px);
}

.pg-template .product-buy-card__price-block {
    display: grid;
    gap: 8px;
    padding: 0;
}

.pg-template .product-buy-card__price-block--out {
    padding-top: 0;
}

.pg-template .product-buy-card__price-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    gap: 0;
    box-sizing: border-box;
    min-height: 0;
    height: auto;
    padding: 18px 0 14px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
}

.pg-template .product-buy-card__price-card[hidden] {
    display: none;
}

.pg-template .product-buy-card__price-card-eyebrow {
    position: static;
    margin-bottom: 6px;
    color: var(--color-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.pg-template .product-buy-card__price-card-body {
    display: flex;
    align-items: baseline;
    min-height: 0;
    height: auto;
    max-height: none;
    padding-top: 0;
    overflow: visible;
}

.pg-template .product-buy-card__price-card-main {
    margin: 0;
    width: 100%;
    line-height: 1.35;
}

.pg-template .product-buy-card__price-em {
    color: var(--color-brand);
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
}

.pg-template .product-buy-card__price-value,
.pg-template .product-buy-card__price-inquiry {
    color: var(--color-brand-hover);
    font-size: clamp(1.45rem, 2.4vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.pg-template .product-buy-card__price-value {
    font-variant-numeric: tabular-nums;
}

.pg-template .product-buy-card__price-currency {
    color: var(--color-brand);
    font-size: 1rem;
    font-weight: 600;
}

.pg-template .product-buy-card__price-note {
    color: var(--color-muted);
    font-size: .9rem;
    font-weight: 500;
}

.pg-template .product-buy-card__price-note[hidden] {
    display: none;
}

.pg-template .product-buy-card__price-card-deposit {
    margin: 14px 0 0;
    padding-top: 12px;
    height: auto;
    border-top: 1px solid rgba(184, 139, 57, .12);
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    box-sizing: border-box;
}

.pg-template .product-buy-card__price-card-deposit[hidden] {
    display: block;
    visibility: hidden;
}

.pg-template .product-buy-card__price-card-deposit--hint {
    display: block !important;
    visibility: visible !important;
    color: var(--color-input-disabled-text);
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.45;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.pg-template .product-buy-card__price-card-deposit [data-product-deposit-value] {
    color: var(--color-muted);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.pg-template .product-buy-card__price-card--stock[hidden] {
    display: none;
}

.pg-template .product-buy-card__stock-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pg-template .product-buy-card__stock-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-warning-subtle);
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.pg-template .product-buy-card__stock-title {
    color: var(--color-warning-text);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.pg-template .product-buy-card__stock-hint {
    color: var(--color-muted) !important;
    font-size: 11px !important;
}

.pg-template .product-buy-card__stock-hint strong {
    color: var(--color-text);
    font-weight: 700;
}

.pg-template .product-buy-card__divider {
    height: 1px;
    margin: 2px 0;
    background: var(--color-border);
}

.pg-template .product-buy-card__option {
    display: grid;
    gap: 12px;
}

.pg-template .product-buy-card__option-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pg-template .product-buy-card__option-label {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pg-template .product-buy-card__option-value {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}

.pg-template .product-buy-card__option-value[hidden] {
    display: none;
}

.pg-template .product-buy-card__measurements {
    display: grid;
    gap: 8px;
    padding: 2px 0 0;
    border: none;
    background: transparent;
}

.pg-template .product-buy-card__measurements.is-empty {
    display: none;
}

.pg-template .product-buy-card__measurements .product-buy-card__option-label {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pg-template .product-buy-card__measurements-body {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.5;
}

.pg-template .product-buy-card__measurements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 0;
    padding: 2px 0;
}

.pg-template .product-buy-card__measurements-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.pg-template .product-buy-card__measurements-cell:nth-child(3n) {
    border-right: 0;
}

.pg-template .product-buy-card__measurements-label {
    display: block;
    color: var(--color-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
}

.pg-template .product-buy-card__measurements-value {
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    white-space: nowrap;
}

.pg-template .product-buy-card__measurements-fallback {
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.55;
    white-space: pre-line;
}

.pg-template .product-buy-card__actions {
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.pg-template .product-buy-card__cta-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.pg-template .product-buy-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 1;
    min-height: 52px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: var(--color-brand-bg);
    color: var(--color-surface) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(153, 110, 43, .22);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.pg-template .product-buy-card__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 12px 28px rgba(153, 110, 43, .28);
    color: var(--color-surface) !important;
}

.pg-template .product-buy-card__cta--notify {
    position: relative;
    isolation: isolate;
    overflow: visible;
    background: var(--color-surface);
    border: 1.5px solid transparent;
    color: var(--color-danger) !important;
    box-shadow: none;
}

.pg-template .product-buy-card__cta--notify::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: 7px;
    padding: 1.5px;
    background: linear-gradient(90deg, var(--color-danger), var(--color-danger-border), var(--color-danger), var(--color-danger-border), var(--color-danger));
    background-size: 220% 100%;
    animation: pg-product-notify-border 2.8s linear infinite;
    -webkit-mask:
        linear-gradient(var(--color-surface) 0 0) content-box,
        linear-gradient(var(--color-surface) 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pg-template .product-buy-card__cta--notify:hover {
    background: var(--color-surface-2);
    filter: none;
    color: var(--color-danger-hover) !important;
}

.pg-template .product-buy-card__cta--notify [data-primary-cta-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-danger);
    transform-origin: 50% 0;
    animation: pg-product-notify-bell-shake 3.5s ease-in-out infinite;
}

.pg-template .product-buy-card__cta--notify:hover [data-primary-cta-icon] {
    color: var(--color-danger-hover);
}

@keyframes pg-product-notify-bell-shake {
    0%,
    78%,
    100% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(16deg);
    }

    82% {
        transform: rotate(-14deg);
    }

    84% {
        transform: rotate(11deg);
    }

    86% {
        transform: rotate(-9deg);
    }

    88% {
        transform: rotate(6deg);
    }

    90% {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pg-template .product-buy-card__cta--notify [data-primary-cta-icon] {
        animation: none;
    }

    .pg-template .product-size-guide,
    .pg-template .product-size-guide__backdrop,
    .pg-template .product-size-guide__panel,
    .pg-template .product-size-guide__close {
        transition: none;
    }
}

@keyframes pg-product-notify-border {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 220% 50%;
    }
}

.pg-template .product-buy-card__fav-wrap {
    display: flex;
    flex-shrink: 0;
}

.pg-template .product-buy-card__fav-wrap[hidden] {
    display: none !important;
}

.pg-template .product-buy-card__fav {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    min-width: 56px;
    max-width: 64px;
    min-height: 52px;
    height: 100%;
    padding: 6px 8px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    color: var(--color-input-disabled-text);
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.pg-template .product-buy-card__fav:hover,
.pg-template .product-buy-card__fav.is-fav,
.pg-template .product-buy-card__fav.is-active {
    border-color: var(--color-danger);
    color: var(--color-danger);
}

.pg-template .product-buy-card__fav-label {
    color: inherit;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

.pg-template .product-buy-card__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pg-template .product-buy-card__secondary:has(> :only-child) {
    grid-template-columns: 1fr;
}

.pg-template .product-buy-card__sec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-btn-ghost-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.pg-template .product-buy-card__sec-btn:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
}

.pg-template .product-buy-card__sec-btn--wa {
    color: #1a9e47;
    border-color: #25d366;
    background: var(--color-success-subtle);
}

.pg-template .product-buy-card__sec-btn--wa:hover {
    border-color: #1da851;
    background: var(--color-success-subtle);
    color: #128c7e;
}

.pg-template .product-buy-card__sec-btn--full {
    width: 100%;
}

.pg-template .product-buy-card__trust {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 14px 0 0;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-surface);
    list-style: none;
}

.pg-template .product-trust-badge {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
}

.pg-template .product-trust-badge:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

.pg-template .product-trust-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-brand);
}

.pg-template .product-trust-badge__text {
    color: var(--color-muted);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .01em;
}


/* ─── Ürün kodu pill (split design) ─── */
.pg-template .product-code-pill {
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(184, 139, 57, .22);
    border-radius: 10px;
    background: var(--color-brand-subtle);
    overflow: hidden;
    font-size: 11.5px;
}

.pg-template .product-code-pill--muted {
    opacity: .72;
}

.pg-template .product-code-pill__label {
    display: flex;
    align-items: center;
    padding: 0 11px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-brand-hover);
    background: rgba(184, 139, 57, .1);
    border-right: 1px solid rgba(184, 139, 57, .16);
    white-space: nowrap;
    user-select: none;
}

.pg-template .product-code-pill__value {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--color-text);
    font-family:var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-template .product-code-pill__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    border: none;
    border-left: 1px solid rgba(184, 139, 57, .16);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    color: var(--color-brand);
    transition: background .15s, color .15s;
    flex-shrink: 0;
}

.pg-template .product-code-pill__copy:hover {
    background: rgba(184, 139, 57, .12);
    color: var(--color-brand-hover);
}

.pg-template .product-code-pill__copy svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.pg-template .product-code-pill__copy.is-copied {
    color: var(--color-success);
    background: var(--color-success-subtle);
}

.pg-template .product-trust-badge__icon svg {
    display: block;
}

.pg-template .product-summary__sep {
    display: none;
}

.pg-template .product-summary__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pg-template .product-status,
.pg-template .product-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 7px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .01em;
}

.pg-template .product-rating-inline {
    padding: 0 14px;
    min-height: 36px;
    gap: 5px;
    background: linear-gradient(135deg, var(--color-warning-subtle), var(--color-warning-subtle));
    border-color: rgba(201, 154, 61, .4);
    box-shadow: 0 2px 10px rgba(201, 154, 61, .12);
    color: var(--color-warning-text);
}

.pg-template .product-rating-inline--empty {
    background: var(--color-surface-2);
    border-color: var(--color-border);
    box-shadow: none;
    color: var(--color-muted);
    font-weight: 500;
}

.pg-template .product-rating-inline__star {
    font-size: 16px;
    color: var(--color-warning);
    line-height: 1;
}

.pg-template .product-rating-inline__score {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.pg-template .product-rating-inline__sep {
    color: rgba(201, 154, 61, .45);
    font-weight: 400;
}

.pg-template .product-rating-inline__count {
    font-size: 12px;
    font-weight: 500;
}

.pg-template .product-status--available {
    color: var(--color-success-text);
    background: var(--color-success-subtle);
    border-color: var(--color-success-border);
}

.pg-template .product-status--reserved,
.pg-template .product-status--rented {
    color: var(--color-warning-text);
    background: var(--color-warning-subtle);
    border-color: var(--color-warning-border);
}

.pg-template .product-status--maintenance {
    color: var(--color-danger-hover);
    background: var(--color-danger-subtle);
    border-color: var(--color-danger-border);
}

.pg-template [data-product-price] {
    display: block;
}

.pg-template .product-option-group {
    display: grid;
    gap: 10px;
}

.pg-template .product-option-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 2px;
}

.pg-template .product-option-group h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 700;
}

.pg-template .product-summary__measurements {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(201, 162, 77, .22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 78%, transparent), color-mix(in srgb, var(--color-surface-2) 58%, transparent)),
        radial-gradient(circle at 12% 0%, rgba(201, 162, 77, .12), transparent 32%);
}

.pg-template .product-summary__measurements-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pg-template .product-summary__measurements-head span {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
}

.pg-template .product-summary__measurements-head small {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pg-template .product-summary__measurements-body {
    min-height: 38px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.65;
    white-space: pre-line;
}

.pg-template .product-summary__measurements.is-empty .product-summary__measurements-body {
    min-height: 24px;
}

.pg-template .btn-size-guide {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid rgba(201, 154, 61, .32);
    border-radius: 999px;
    background: rgba(255, 251, 244, .9);
    color: var(--color-warning-text);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}

.pg-template .btn-size-guide svg {
    flex-shrink: 0;
    opacity: .85;
}

.pg-template .btn-size-guide:hover,
.pg-template .btn-size-guide:focus-visible {
    border-color: rgba(201, 154, 61, .55);
    background: var(--color-warning-subtle);
    color: var(--color-warning-text);
    box-shadow: 0 2px 8px rgba(201, 154, 61, .12);
}

.pg-template .product-size-guide {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.pg-template .product-size-guide.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pg-template .product-size-guide__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(201, 162, 77, .16), transparent 34%),
        rgba(248, 250, 252, .74);
    backdrop-filter: blur(18px) saturate(130%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 220ms ease;
}

.pg-template .product-size-guide.is-open .product-size-guide__backdrop {
    opacity: 1;
}

.pg-template .product-size-guide__panel {
    position: relative;
    width: min(880px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    max-height: min(820px, calc(100dvh - 48px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--color-surface) 86%, transparent);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .18);
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity 220ms ease, transform 280ms cubic-bezier(.2, .8, .2, 1);
}

.pg-template .product-size-guide.is-open .product-size-guide__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pg-template .product-size-guide__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 28px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.pg-template .product-size-guide__head span {
    display: block;
    margin-bottom: 6px;
    color: var(--color-brand);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pg-template .product-size-guide__head h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
}

.pg-template .product-size-guide__head p {
    max-width: 480px;
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.pg-template .product-size-guide__close {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-surface) 90%, transparent);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.pg-template .product-size-guide__close:hover {
    border-color: rgba(201, 162, 77, .55);
    background: var(--color-warning-subtle);
    transform: rotate(4deg);
}

.pg-template .product-size-guide__close:focus-visible,
.pg-template .product-size-guide__table-wrap:focus-visible {
    outline: 3px solid rgba(201, 162, 77, .28);
    outline-offset: 3px;
}

.pg-template .product-size-guide__body {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    gap: 14px;
    padding: 20px 28px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 77, .45) transparent;
}

.pg-template .product-size-guide__body::-webkit-scrollbar {
    width: 7px;
}

.pg-template .product-size-guide__body::-webkit-scrollbar-track {
    background: transparent;
}

.pg-template .product-size-guide__body::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 77, .36);
    border-radius: 999px;
}

.pg-template .product-size-guide__body::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 77, .55);
}

.pg-template .product-size-guide__block {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 14px;
    padding: 18px;
    background: rgba(248, 250, 252, .76);
    color: var(--color-muted);
    font-size: .94rem;
    line-height: 1.75;
}

.pg-template .product-size-guide__block--accent {
    border-color: rgba(201, 162, 77, .32);
    background: color-mix(in srgb, var(--color-brand) 8%, var(--color-surface));
}

.pg-template .product-size-guide__block h3 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 1rem;
}

.pg-template .product-size-guide__block-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.pg-template .product-size-guide__block-head h3 {
    margin-bottom: 3px;
}

.pg-template .product-size-guide__block-head p {
    margin: 0;
    color: var(--color-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.pg-template .product-size-guide__product-badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid rgba(201, 162, 77, .28);
    border-radius: 999px;
    background: var(--color-warning-subtle);
    color: var(--color-brand-text);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.pg-template .product-size-guide__block-note {
    margin: -2px 0 12px;
    color: var(--color-muted);
    font-size: .86rem;
    line-height: 1.55;
}

.pg-template .product-size-guide__measurements {
    padding: 14px 16px;
    border: 1px solid rgba(201, 162, 77, .24);
    border-radius: 16px;
    background: color-mix(in srgb, var(--color-surface) 72%, transparent);
    color: var(--color-text);
    font-weight: 650;
    line-height: 1.7;
}

.pg-template .product-size-guide__table-wrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 12px;
    background: var(--color-surface);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 77, .55) transparent;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.pg-template .product-size-guide__table-shell {
    position: relative;
    min-width: 0;
}

.pg-template .product-size-guide .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pg-template .product-size-guide__table-wrap::-webkit-scrollbar {
    height: 6px;
}

.pg-template .product-size-guide__table-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.pg-template .product-size-guide__table-wrap::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 77, .55);
    border-radius: 999px;
}

.pg-template .product-size-guide__table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--color-text);
    font-size: .9rem;
}

.pg-template .product-size-guide__table th,
.pg-template .product-size-guide__table td {
    padding: 12px 14px;
    border-right: 1px solid rgba(15, 23, 42, .10);
    border-bottom: 1px solid rgba(15, 23, 42, .10);
    text-align: center;
    white-space: nowrap;
}

.pg-template .product-size-guide__table tr:last-child th,
.pg-template .product-size-guide__table tr:last-child td {
    border-bottom: 0;
}

.pg-template .product-size-guide__table th:last-child,
.pg-template .product-size-guide__table td:last-child {
    border-right: 0;
}

.pg-template .product-size-guide__table thead th {
    background: linear-gradient(180deg, var(--color-brand-hover) 0%, var(--color-brand) 100%);
    color: var(--color-surface);
    font-weight: 800;
}

.pg-template .product-size-guide__table thead th:first-child,
.pg-template .product-size-guide__table tbody th {
    position: sticky;
    left: 0;
}

.pg-template .product-size-guide__table thead th:first-child {
    z-index: 4;
    min-width: 176px;
    text-align: left;
    box-shadow: 8px 0 14px rgba(15, 23, 42, .08);
}

.pg-template .product-size-guide__table thead th small {
    display: block;
    margin-top: 2px;
    font-size: .62rem;
    font-weight: 650;
    opacity: .78;
}

.pg-template .product-size-guide__table tbody th {
    min-width: 170px;
    background: var(--color-warning-subtle);
    color: var(--color-text);
    font-weight: 800;
    text-align: left;
    z-index: 3;
    box-shadow: 8px 0 14px rgba(15, 23, 42, .06);
}

.pg-template .product-size-guide__table tbody td {
    background: color-mix(in srgb, var(--color-surface) 86%, transparent);
    font-weight: 650;
}

.pg-template .product-size-guide__table th[data-size-guide-column],
.pg-template .product-size-guide__table td[data-size-guide-column] {
    min-width: 66px;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pg-template .product-size-guide__missing {
    color: var(--color-muted);
    font-weight: 500;
}

.pg-template .product-size-guide__scroll-hint {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 9px;
    color: var(--color-muted);
    font-size: .74rem;
    line-height: 1.3;
}

.pg-template .product-size-guide__table-shell.is-scrollable:not(.is-at-end) .product-size-guide__scroll-hint {
    display: flex;
}

.pg-template .product-size-guide__measure {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(260px, 1fr);
    gap: 22px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(201, 162, 77, .24);
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 20%, rgba(201, 162, 77, .14), transparent 34%),
        linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 92%, transparent), color-mix(in srgb, var(--color-surface-2) 78%, transparent));
}

.pg-template .product-size-guide__figure {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-surface) 76%, transparent);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .16);
    overflow: hidden;
}

.pg-template .product-size-guide__figure img {
    width: min(100%, 340px);
    max-height: 430px;
    height: auto;
    object-fit: contain;
    display: block;
}

.pg-template .product-size-guide__steps {
    display: grid;
    gap: 10px;
}

.pg-template .product-size-guide__steps h3 {
    margin: 0 0 6px;
    color: var(--color-text);
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.pg-template .product-size-guide__step {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--color-surface) 72%, transparent);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .13);
}

.pg-template .product-size-guide__step strong {
    font-size: .92rem;
    font-weight: 900;
}

.pg-template .product-size-guide__step span {
    color: var(--color-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.pg-template .product-size-guide__step--chest strong { color: #d946ef; }
.pg-template .product-size-guide__step--waist strong { color: #f97316; }
.pg-template .product-size-guide__step--hip strong { color: #16a34a; }
.pg-template .product-size-guide__step--length strong { color: #0284c7; }

.pg-template .product-size-guide__note {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(201, 162, 77, .22);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-brand) 6%, var(--color-surface));
    color: var(--color-muted);
    font-size: .84rem;
    line-height: 1.55;
    text-align: left;
}

.pg-template .product-size-guide__note svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--color-brand);
}

.pg-template .product-pills,
.pg-template .product-color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pg-template .product-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 48px;
    min-width: 48px;
    padding: 0 12px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-text);
    font-family:var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.pg-template .product-color-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 6px 14px 6px 8px;
    border: 1.5px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-btn-ghost-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.pg-template .product-pill:hover,
.pg-template .product-color-chip:hover {
    border-color: var(--color-input-disabled-text);
    background: var(--color-surface-hover);
}

.pg-template .product-pill.is-active {
    border-color: var(--color-text);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

.pg-template .product-color-chip.is-active {
    border-color: var(--color-brand-bg);
    background: var(--color-brand-subtle);
    color: var(--color-brand-active);
    box-shadow: 0 0 0 3px rgba(184, 139, 57, .12);
}

.pg-template .product-pill.is-unavailable,
.pg-template .product-color-chip.is-unavailable,
.pg-template .product-pill:disabled,
.pg-template .product-color-chip:disabled {
    opacity: .38;
    cursor: not-allowed;
    box-shadow: none;
}

@media (prefers-color-scheme: dark) {
    .pg-template .product-buy-card .product-pill,
    .pg-template .product-buy-card .product-color-chip {
        background: var(--color-surface);
        color: var(--color-text);
        border-color: var(--color-border);
    }

    .pg-template .product-buy-card .product-pill.is-active {
        background: var(--color-surface);
        color: var(--color-text);
        border-color: var(--color-text);
    }

    .pg-template .product-buy-card .product-color-chip.is-active {
        background: var(--color-brand-subtle);
        color: var(--color-brand-active);
        border-color: var(--color-brand-bg);
    }
}

.pg-template .product-buy-card__secondary[hidden],
.pg-template .product-buy-card__secondary--sale[hidden],
.pg-template [data-rental-accordion][hidden],
.pg-template [data-sale-accordion][hidden] {
    display: none !important;
}

.pg-template .product-color-chip__dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
    flex-shrink: 0;
}

.pg-template .product-summary__actions {
    display: grid;
    gap: 10px;
}

/* Satır 1: Kiralama (birincil) + Favori ikon */
.pg-template .product-summary__cta-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.pg-template .product-summary__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 1;
    min-width: 0;
    /* Hover'da metin kaybolmasın — tüm durumlarda beyaz */
    color: var(--color-surface) !important;
    background: var(--color-brand-bg);
    border-color: var(--color-brand-bg);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: filter .18s, transform .18s, box-shadow .18s;
    box-shadow: 0 4px 16px rgba(184, 147, 90, .28);
    text-decoration: none;
}

.pg-template .product-summary__cta:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 147, 90, .38);
    color: var(--color-surface) !important;
}

.pg-template .product-summary__cta svg {
    flex-shrink: 0;
    opacity: .85;
}

.pg-template .product-summary__fav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-muted);
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}

.pg-template .product-summary__fav-icon:hover {
    border-color: var(--color-danger-border);
    color: var(--color-danger);
    background: var(--color-danger-subtle);
}

.pg-template .product-summary__fav-icon.is-fav,
.pg-template .product-summary__fav-icon.is-active {
    border-color: var(--color-danger);
    color: var(--color-danger);
    background: var(--color-danger-subtle);
}

.pg-template .product-summary__fav-icon.is-active svg path,
.pg-template .product-summary__fav-icon.is-fav svg path {
    fill: var(--color-danger);
}

.pg-template .product-summary__fav-icon svg {
    pointer-events: none;
}

/* Satır 2: İkincil eylemler */
.pg-template .product-summary__secondary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pg-template .product-summary__secondary-row:has(> :only-child) {
    grid-template-columns: 1fr;
}

.pg-template .product-summary__sec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}

/* Randevu butonu */
.pg-template .product-summary__sec-btn--apt {
    border: 1.5px solid rgba(184, 147, 90, .4);
    background: rgba(255, 251, 244, .7);
    color: var(--color-brand-text);
}
.pg-template .product-summary__sec-btn--apt:hover {
    background: rgba(255, 248, 237, 1);
    border-color: rgba(184, 147, 90, .7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 147, 90, .14);
}

/* WhatsApp butonu */
.pg-template .product-summary__sec-btn--wa {
    border: 1.5px solid #22c55e;
    background: var(--color-success-subtle);
    color: #16a34a !important;
}
.pg-template .product-summary__sec-btn--wa:hover {
    background: var(--color-success-subtle);
    border-color: #16a34a;
    color: #16a34a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, .18);
}

.pg-template .product-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 0;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
}

.pg-template .trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg-template .trust-badge:last-child {
    border-right: none;
}

.pg-template .trust-badge__icon {
    font-size: 13px;
    line-height: 1;
    opacity: .7;
    flex-shrink: 0;
}

.pg-template .product-accordion {
    display: grid;
}

.pg-template .product-commerce-mode .product-buy-card__option-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--color-btn-ghost-text);
}

.pg-template .product-accordion__label {
    flex: 1;
    min-width: 0;
}

.pg-template .product-accordion__icon svg {
    display: block;
}

.pg-template .product-accordion__item:last-child {
    border-bottom: none;
}

.pg-template .product-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 0;
    background: transparent;
    color: var(--color-btn-ghost-text);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.pg-template .product-accordion__toggle:hover {
    background: var(--color-surface-hover);
    color: var(--color-text);
}

.pg-template .product-accordion__item.is-open .product-accordion__toggle {
    color: var(--color-brand-hover);
}

.pg-template .product-accordion__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-input-disabled-text);
    transition: transform .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}

.pg-template .product-accordion__item.is-open .product-accordion__icon {
    transform: rotate(45deg);
    border-color: rgba(184, 139, 57, .28);
    background: var(--color-brand-subtle);
    color: var(--color-brand);
}

.pg-template .product-accordion__panel {
    display: none;
    padding: 0 18px 16px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}

.pg-template .product-accordion__panel p {
    margin: 0 0 8px;
}

.pg-template .product-accordion__panel p:last-child {
    margin-bottom: 0;
}

.pg-template .product-accordion__panel strong {
    color: var(--color-muted);
    font-weight: 600;
}

.pg-template .product-accordion__item.is-open .product-accordion__panel {
    display: block;
}

/* Lightbox */
.pg-template .product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: var(--product-lightbox-viewport-height, 100dvh);
    overflow: hidden;
}

.pg-template .product-lightbox.is-open {
    display: flex;
}

.pg-template .product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(4px);
    cursor: default;
}

.pg-template .product-lightbox__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    width: min(880px, calc(100vw - 32px));
    height: min(900px, calc(var(--product-lightbox-viewport-height, 100dvh) - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    max-height: calc(var(--product-lightbox-viewport-height, 100dvh) - 32px);
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--color-surface);
    box-shadow: 0 32px 80px rgba(15, 23, 42, .28);
}

.pg-template .product-lightbox__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    flex-shrink: 0;
}

.pg-template .product-lightbox__header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.pg-template .product-lightbox__header-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.pg-template .product-lightbox__header-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.pg-template .product-lightbox__header-count {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-surface-2);
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.pg-template .product-lightbox__zoombar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
    flex-shrink: 0;
}

.pg-template .product-lightbox__zoombar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.pg-template .product-lightbox__zoombar-btn:hover:not(:disabled) {
    border-color: var(--color-border);
    background: var(--color-surface-2);
    color: var(--color-text);
}

.pg-template .product-lightbox__zoombar-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.pg-template .product-lightbox__zoombar-btn--reset {
    color: var(--color-muted);
}

.pg-template .product-lightbox__zoombar-btn span {
    white-space: nowrap;
}

.pg-template .product-lightbox__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-muted);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.pg-template .product-lightbox__btn:hover:not(:disabled) {
    border-color: var(--color-border);
    background: var(--color-surface-2);
    color: var(--color-text);
}

.pg-template .product-lightbox__btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.pg-template .product-lightbox__btn--close {
    border-color: transparent;
    background: var(--color-surface-2);
    color: var(--color-muted);
}

.pg-template .product-lightbox__btn--close:hover:not(:disabled) {
    border-color: transparent;
    background: var(--color-border);
    color: var(--color-text);
}

.pg-template .product-lightbox__canvas {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px 16px;
    min-height: 0;
    overflow: hidden;
    background: var(--color-surface-2);
}

.pg-template .product-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    border: none;
    cursor: default;
    touch-action: none;
}

.pg-template .product-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    transform-origin: center center;
    transition: none;
    will-change: transform;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, .08);
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__stage {
    overflow: hidden;
    cursor: move;
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__image {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    box-shadow: none;
}

.pg-template .product-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: rgba(24, 24, 27, .62);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .2);
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.pg-template .product-lightbox__nav:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(24, 24, 27, .78);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
}

.pg-template .product-lightbox__nav--prev {
    left: 28px;
}

.pg-template .product-lightbox__nav--next {
    right: 28px;
}

.pg-template .product-lightbox__thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 18px 16px;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    scrollbar-width: thin;
}

.pg-template .product-lightbox__thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 72px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    padding: 0;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-2);
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.pg-template .product-lightbox__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pg-template .product-lightbox__thumb:hover,
.pg-template .product-lightbox__thumb.is-active {
    border-color: var(--color-brand);
    box-shadow: 0 4px 14px rgba(184, 147, 90, .2);
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__header-main,
.pg-template .product-lightbox.is-zoomed .product-lightbox__thumbs,
.pg-template .product-lightbox.is-zoomed .product-lightbox__nav {
    display: none;
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__header-top {
    justify-content: flex-end;
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__canvas {
    padding: 12px;
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__stage {
    max-height: calc(100vh - 120px);
}

.pg-template .product-lightbox.is-zoomed .product-lightbox__image {
    max-height: calc(100vh - 120px);
}

/* ── Section Head (Yorumlar / Kombin / Benzer Ürünler ortak başlık) ── */
.pg-template .section-head {
    margin-bottom: 28px;
}

.pg-template .section-head__title {
    position: relative;
    margin: 0 0 7px;
    padding-bottom: 14px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-brand-text);
}

.pg-template .section-head__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-brand) 0%, rgba(201, 154, 61, 0) 100%);
}

.pg-template .section-head__desc {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

/* ── Yorumlar ── */
.pg-template .product-related {
    margin-top: 72px;
    padding-top: 42px;
    border-top: 1px solid var(--color-border);
}

.pg-template .product-reviews {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Özet çubuğu */
.pg-template .product-reviews__summary-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 16px 20px;
    background: var(--color-brand-subtle);
    border: 1px solid rgba(201,162,77,.18);
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--color-text);
}

.pg-template .product-reviews__score-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-template .product-reviews__stars-display {
    display: flex;
    gap: 1px;
}

.pg-template .product-reviews__stars-display span {
    font-size: 22px;
    color: rgba(184,139,57,.18);
    line-height: 1;
}

.pg-template .product-reviews__stars-display span.is-lit {
    color: var(--color-brand);
}

.pg-template .product-reviews__avg-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.pg-template .product-reviews__dot {
    color: var(--color-border);
    font-size: 16px;
}

.pg-template .product-reviews__count-text {
    font-size: 14px;
    color: var(--color-text);
}

.pg-template .product-reviews__photo-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--color-muted);
}

.pg-template .product-reviews__write-btn {
    margin-left: auto;
    padding: 9px 20px;
    border: 1.5px solid var(--color-brand);
    border-radius: 8px;
    background: transparent;
    color: var(--color-brand-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
    font-family: inherit;
}

.pg-template .product-reviews__write-btn:hover {
    background: var(--color-brand);
    color: var(--color-surface);
}

/* Puan çubukları */
.pg-template .product-reviews__bars-row {
    display: grid;
    gap: 8px;
    max-width: 400px;
    margin-bottom: 22px;
}

.pg-template .product-reviews__bar {
    display: grid;
    grid-template-columns: 32px 1fr 38px;
    gap: 10px;
    align-items: center;
    color: var(--color-text);
    font-size: 12px;
}

.pg-template .product-reviews__bar div {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-border);
}

.pg-template .product-reviews__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-hover));
}

/* Fotoğraf şeridi */
.pg-template .product-reviews__photo-strip {
    margin-bottom: 24px;
}

.pg-template .product-reviews__photo-strip-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: .01em;
}

.pg-template .product-reviews__photo-strip-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,162,77,.3) transparent;
}

.pg-template .product-reviews__photo-strip-scroll::-webkit-scrollbar {
    height: 4px;
}

.pg-template .product-reviews__photo-strip-scroll::-webkit-scrollbar-thumb {
    background: rgba(201,162,77,.35);
    border-radius: 999px;
}

.pg-template .product-reviews__photo-chip {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(201,162,77,.2);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

.pg-template .product-reviews__photo-chip:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* Yorum listesi */
.pg-template .product-reviews__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .pg-template .product-reviews__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .pg-template .product-reviews__list {
        grid-template-columns: 1fr;
    }
}

/* ── Yorum Kartı ── */
.pg-template .product-review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pg-template .product-review-card__menu {
    position: relative;
    flex-shrink: 0;
}

.pg-template .product-review-card__menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    transition: background .12s;
}

.pg-template .product-review-card__menu-btn::before,
.pg-template .product-review-card__menu-btn::after,
.pg-template .product-review-card__menu-btn span {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-border);
    flex-shrink: 0;
}

.pg-template .product-review-card__menu-btn:hover {
    background: var(--color-surface-2);
}
.pg-template .product-review-card__menu-btn:hover::before,
.pg-template .product-review-card__menu-btn:hover::after,
.pg-template .product-review-card__menu-btn:hover span {
    background: var(--color-muted);
}

.pg-template .product-review-card__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 110px;
    z-index: 50;
}

.pg-template .product-review-card__dropdown li button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    background: none;
    border: none;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    font-family: inherit;
    transition: background .1s;
}

.pg-template .product-review-card__dropdown li button:hover {
    background: var(--color-surface-2);
}

.pg-template .product-review-card__dropdown li:last-child button {
    color: var(--color-danger);
}

.pg-template .product-review-card__tier {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pg-template .product-review-card {
    padding: 20px 22px;
    border: none;
    border-radius: 16px;
    background: var(--color-surface);
    box-shadow: 0 1px 4px rgba(15,23,42,.06), 0 6px 24px rgba(15,23,42,.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: visible;
}

.pg-template .product-review-card::after {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 18px;
    font-family: var(--font-sans);
    font-size: 52px;
    line-height: 1;
    color: rgba(201, 154, 61, .13);
    font-weight: 900;
    pointer-events: none;
    z-index: 0;
}

.pg-template .product-review-card--hidden {
    display: none;
}

@media (max-width: 540px) {
    .pg-template .product-review-card--desktop-only {
        display: none;
    }
}

.pg-template .product-review-card--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 36px 24px;
    background: linear-gradient(135deg, rgba(255, 251, 244, .9) 0%, rgba(255, 248, 237, .6) 100%);
    border: 1.5px dashed rgba(201, 162, 77, .28);
    border-radius: 16px;
    color: var(--color-muted);
    font-size: 14px;
}

.pg-template .product-review-card--empty::before {
    content: '★ ★ ★ ★ ★';
    font-size: 22px;
    letter-spacing: 6px;
    color: rgba(201, 162, 77, .3);
    line-height: 1;
}

.pg-template .product-review-card--empty p {
    margin: 0;
    max-width: 300px;
    line-height: 1.65;
    color: var(--color-muted);
    font-size: 14px;
}

.pg-template .product-review-card__stars {
    display: flex;
    gap: 2px;
}

.pg-template .product-review-card__stars span {
    font-size: 14px;
    color: var(--color-border);
    line-height: 1;
}

.pg-template .product-review-card__stars span.is-lit {
    color: var(--color-warning);
}

.pg-template .product-review-card__who {
    display: flex;
    align-items: center;
    gap: 11px;
}

.pg-template .product-review-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-brand-subtle), var(--color-warning-subtle));
    color: var(--color-brand-text);
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid rgba(201, 154, 61, .18);
    box-shadow: 0 2px 8px rgba(201, 154, 61, .18);
}

.pg-template .product-review-card__who-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.pg-template .product-review-card__who-text time {
    display: block;
    font-size: 11px;
    color: var(--color-muted);
    margin-top: 2px;
    letter-spacing: .02em;
}

.pg-template .product-review-card__body {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

.pg-template .product-review-card__images {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pg-template .product-review-card__img-thumb {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,.9);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

.pg-template .product-review-card__img-thumb:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.pg-template .product-review-card--new {
    animation: pg-reviewFadeIn .4s ease both;
}

@keyframes pg-reviewFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* "Tüm Yorumları Göster" butonu */
.pg-template .product-reviews__more {
    display: flex;
    justify-content: center;
    padding: 24px 0 8px;
}

.pg-template .product-reviews__more--outside {
    grid-column: 1 / -1;
}

.pg-template .product-reviews__more-btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    font-family: inherit;
}

.pg-template .product-reviews__more-btn:hover {
    border-color: var(--color-brand);
    color: var(--color-brand-text);
    background: var(--color-warning-subtle);
}

/* ── Yorum sayfası ── */
.pg-template .reviews-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.pg-template .reviews-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}
.pg-template .reviews-page__grid {
    grid-auto-rows: 1fr;
}
.pg-template .reviews-page__no-results {
    text-align: center;
    color: var(--color-muted);
    padding: 40px 0;
    font-size: 14px;
}

/* Filtre çubuğu */
.pg-template .reviews-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.pg-template .reviews-filter-btn {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .12s, background .12s, color .12s;
}
.pg-template .reviews-filter-btn:hover {
    border-color: var(--color-brand);
    color: var(--color-brand-text);
}
.pg-template .reviews-filter-btn.is-active {
    border-color: var(--color-brand);
    background: var(--color-brand-subtle);
    color: var(--color-brand-text);
    font-weight: 700;
}

/* Eşit kart yüksekliği */
.pg-template .reviews-page__grid .product-review-card {
    height: 100%;
}
.pg-template .product-review-card__body--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pg-template .product-review-card__images--mt-auto {
    margin-top: auto;
}
.pg-template .product-review-card__img-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--color-surface-2);
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Fotoğraf Modal */
.pg-template .review-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.pg-template .review-photo-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.pg-template .review-photo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.pg-template .review-photo-modal__panel {
    position: relative;
    display: flex;
    background: var(--color-surface);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    transform: scale(.95);
    transition: transform .2s ease;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.pg-template .review-photo-modal.is-open .review-photo-modal__panel {
    transform: scale(1);
}
.pg-template .review-photo-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: none;
    color: var(--color-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s;
}
.pg-template .review-photo-modal__close:hover { background: rgba(0,0,0,.7); }
.pg-template .review-photo-modal__img-side {
    position: relative;
    flex: 0 0 55%;
    background: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-height: 90vh;
    overflow: hidden;
}
.pg-template .review-photo-modal__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 90vh;
}
.pg-template .review-photo-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background: rgba(15, 23, 42, .56);
    border: 1px solid rgba(255,255,255,.22);
    color: var(--color-surface);
    font-size: 34px;
    font-weight: 700;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s, transform .12s, box-shadow .12s, border-color .12s;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0,0,0,.26);
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pg-template .review-photo-modal__nav:hover {
    background: rgba(15, 23, 42, .78);
    border-color: rgba(255,255,255,.38);
    box-shadow: 0 14px 30px rgba(0,0,0,.34);
}
.pg-template .review-photo-modal__nav--prev { left: 16px; }
.pg-template .review-photo-modal__nav--next { right: 16px; }
.pg-template .review-photo-modal__nav[hidden] { display: none; }
.pg-template .review-photo-modal__counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.45);
    color: var(--color-surface);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}
.pg-template .review-photo-modal__info-side {
    flex: 1;
    padding: 28px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pg-template .review-photo-modal__stars {
    display: flex;
    gap: 2px;
}
.pg-template .review-photo-modal__stars span {
    font-size: 18px;
    color: var(--color-border);
}
.pg-template .review-photo-modal__stars span.is-lit { color: var(--color-warning); }
.pg-template .review-photo-modal__who {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pg-template .review-photo-modal__comment {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.75;
    margin: 0;
}
@media (max-width: 640px) {
    .pg-template .review-photo-modal__panel { flex-direction: column; max-height: 95vh; }
    .pg-template .review-photo-modal__img-side { flex: 0 0 200px; min-height: 200px; }
}

.pg-template .product-reviews-page__breadcrumb {
    margin-bottom: 16px;
}
.pg-template .product-reviews-page__breadcrumb a {
    font-size: 13px;
    color: var(--color-brand-text);
    text-decoration: none;
}
.pg-template .product-reviews-page__breadcrumb a:hover { text-decoration: underline; }
.pg-template .product-reviews-page__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
}
.pg-template .product-reviews-page__meta {
    font-size: 14px;
    color: var(--color-muted);
    margin: 0 0 4px;
}

/* ── Related ── */

.pg-template .product-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.pg-template .product-related__grid.is-single {
    grid-template-columns: minmax(280px, 340px);
    justify-content: start;
}

.pg-template .product-related .product-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.pg-template .product-related .product-card__media {
    aspect-ratio: 3 / 4;
    background: var(--color-surface-2);
}

.pg-template .product-related .product-card__media > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pg-template .product-related .product-card__img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
}

.pg-template .product-related .product-card:hover .product-card__img {
    transform: none;
}

.pg-template .product-related .product-img-placeholder {
    min-height: 230px;
    justify-content: center;
    text-align: center;
    color: var(--color-muted);
}

/* ── Boş durum ── */
.pg-template .product-empty-state {
    max-width: 560px;
    margin: 8vh auto;
    padding: 48px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    text-align: center;
}

.pg-template .product-empty-state__eyebrow {
    margin: 0 0 8px;
    color: var(--color-brand);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pg-template .product-empty-state h1 {
    margin: 0 0 12px;
}

.pg-template .product-empty-state p {
    color: var(--color-muted);
}

/* ── Yorum Modalı ── */
.pg-template .product-review-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pg-template .product-review-modal.is-open {
    display: flex;
}

.pg-template .product-review-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15,23,42,.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.pg-template .product-review-modal__panel {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 40px);
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(15,23,42,.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pg-template .product-review-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.pg-template .product-review-modal__head span {
    display: block;
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 3px;
}

.pg-template .product-review-modal__close {
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--color-muted);
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
    transition: color .15s;
    flex-shrink: 0;
}

.pg-template .product-review-modal__close:hover {
    color: var(--color-text);
}

/* ── Yorum Formu ── */
.pg-template .product-review-form-wrap {
    padding: 20px 24px 24px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.pg-template .product-review-form__title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.pg-template .product-review-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Yıldız bloğu */
.pg-template .product-review-form__rating-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.pg-template .product-review-form__stars {
    display: flex;
    gap: 2px;
}

.pg-template .product-review-form__star {
    background: none;
    border: none;
    font-size: 36px;
    color: rgba(184,139,57,.18);
    cursor: pointer;
    padding: 0 3px;
    line-height: 1;
    transition: color .12s, transform .12s;
}

.pg-template .product-review-form__star:hover,
.pg-template .product-review-form__star.is-active {
    color: var(--color-warning);
    transform: scale(1.18);
}

.pg-template .product-review-form__star-label {
    font-size: 12px;
    color: var(--color-muted);
}

/* Textarea */
.pg-template .product-review-form__textarea {
    display: block;
    width: 100%;
    min-height: 110px;
    padding: 13px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
    resize: vertical;
    line-height: 1.65;
}

.pg-template .product-review-form__textarea:focus {
    border-color: rgba(184,139,57,.5);
    box-shadow: 0 0 0 3px rgba(184,139,57,.07);
    background: var(--color-surface);
}

/* Alt araç çubuğu */
.pg-template .product-review-form__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.pg-template .product-review-form__toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.pg-template .product-review-form__toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* İsim pill */
.pg-template .product-review-form__name-display {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(184,139,57,.08);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg-template .product-review-form__name-display svg {
    color: rgba(184,139,57,.6);
    flex-shrink: 0;
}

/* Toggle */
.pg-template .product-review-form__mask-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    color: var(--color-muted);
    user-select: none;
    white-space: nowrap;
}

.pg-template .product-review-form__mask-check { display: none; }

.pg-template .product-review-form__mask-toggle {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    background: var(--color-border);
    border-radius: 20px;
    transition: background .2s;
    flex-shrink: 0;
}

.pg-template .product-review-form__mask-toggle::after {
    content: "";
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 12px;
    height: 12px;
    background: var(--color-surface);
    border-radius: 50%;
    transition: transform .2s;
}

.pg-template .product-review-form__mask-check:checked + .product-review-form__mask-toggle { background: var(--color-brand); }
.pg-template .product-review-form__mask-check:checked + .product-review-form__mask-toggle::after { transform: translateX(13px); }

/* Upload butonu */
.pg-template .product-review-form__upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid rgba(184,139,57,.28);
    border-radius: 99px;
    color: rgba(150,110,45,.85);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
    background: transparent;
}

.pg-template .product-review-form__upload-btn:hover {
    border-color: var(--color-brand);
    background: rgba(184,139,57,.07);
    color: var(--color-brand-text);
}

/* Preview küçük resimler */
.pg-template .product-review-form__preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.pg-template .product-review-form__preview-item {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(184,139,57,.2);
    flex-shrink: 0;
}

.pg-template .product-review-form__preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-template .product-review-form__preview-del {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 15px;
    height: 15px;
    background: rgba(0,0,0,.6);
    color: var(--color-surface);
    border: none;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pg-template .product-review-form__preview-del:hover { background: rgba(0,0,0,.85); }

/* Hata */
.pg-template .product-review-form__error {
    font-size: 12px;
    color: var(--color-danger-hover);
    max-width: 220px;
}

/* Gönder butonu */
.pg-template .product-review-form__submit {
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-hover));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: filter .18s, opacity .18s, transform .15s;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(184,139,57,.28);
    font-family: inherit;
}

.pg-template .product-review-form__submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.pg-template .product-review-form__submit:disabled { opacity: .6; cursor: not-allowed; filter: none; transform: none; }

/* Login prompt */
.pg-template .product-review-login-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(184,139,57,.05);
    border: 1px dashed rgba(184,139,57,.25);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 14px;
}

.pg-template .product-review-login-prompt a {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: none;
}

.pg-template .product-review-login-prompt a:hover {
    text-decoration: underline;
}

/* Başarı mesajı */
.pg-template .product-review-form__success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(21,128,61,.08);
    border: 1px solid rgba(21,128,61,.2);
    border-radius: 12px;
    color: var(--color-success-text);
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.pg-template .product-review-form__success:not([hidden]) { display: flex; }

@media (max-width: 1180px) {
    .pg-template .product-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .pg-template .product-gallery {
        width: min(var(--gallery-max-width, 520px), 100%);
        max-width: min(var(--gallery-max-width, 520px), 100%);
    }

    .pg-template .product-gallery,
    .pg-template .product-summary {
        position: static;
    }

    .pg-template .product-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .pg-template .product-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pg-template .product-related__grid.is-single {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: start;
    }

    .pg-template .product-reviews__bars-row {
        width: 100%;
        max-width: none;
    }

    .pg-template .product-reviews__bar {
        grid-template-columns: 30px minmax(0, 1fr) 40px;
        width: 100%;
    }

    .pg-template .product-reviews__bar div {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .pg-template .product-page {
        padding-top: 14px;
    }

    .pg-template .product-hero {
        gap: 20px;
    }

    .pg-template .product-gallery {
        --gallery-max-width: 100%;
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .pg-template .product-gallery__main {
        aspect-ratio: var(--gallery-aspect, 4 / 5);
        min-height: 0;
        overflow: hidden;
        touch-action: pan-x pan-y;
    }

    .pg-template .product-gallery__frame img {
        min-height: 0;
        max-height: none;
        aspect-ratio: var(--gallery-aspect, 4 / 5);
    }

    .pg-template .product-gallery__main.is-draggable {
        touch-action: pan-y;
        cursor: grab;
    }

    .pg-template .product-gallery__thumbs {
        gap: 8px;
        padding-bottom: 4px;
    }

    .pg-template .product-gallery__thumb {
        --gallery-thumb-size: 68px;
        flex-basis: var(--gallery-thumb-size);
        width: var(--gallery-thumb-size);
        max-width: var(--gallery-thumb-size);
    }

    .pg-template .product-gallery__count {
        left: 12px;
        top: 12px;
    }

    .pg-template .product-gallery__nav {
        width: 36px;
        height: 46px;
    }

    .pg-template .product-gallery__nav--prev {
        left: 10px;
    }

    .pg-template .product-gallery__nav--next {
        right: 10px;
    }

    .pg-template .product-buy-card {
        padding: 18px 16px;
        gap: 14px;
    }

    .pg-template .product-buy-card__title-row {
        flex-wrap: wrap;
        align-items: center;
    }

    .pg-template .product-buy-card__title {
        font-size: 1.35rem;
    }

    .pg-template .product-buy-card__price-card {
        height: 104px;
        padding: 22px 14px 12px;
    }

    .pg-template .product-buy-card__price-value,
    .pg-template .product-buy-card__price-inquiry {
        font-size: 1.22rem;
    }

    .pg-template .product-buy-card__secondary {
        grid-template-columns: 1fr;
    }

    .pg-template .product-buy-card__cta {
        white-space: normal;
        text-align: center;
    }

    .pg-template .product-trust-badges {
        gap: 0;
    }

    .pg-template .trust-badge {
        padding: 0 8px;
        font-size: 10px;
    }

    .pg-template .product-reviews {
        grid-template-columns: 1fr;
    }

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

    .pg-template .product-related__grid.is-single {
        grid-template-columns: minmax(0, 1fr);
    }

    .pg-template .product-related .product-card {
        border-radius: 18px;
    }

    .pg-template .product-related .product-card__media {
        aspect-ratio: 3 / 4;
    }

    .pg-template .product-related .product-card__img,
    .pg-template .product-related .product-img-placeholder {
        width: 100%;
        height: 100%;
    }

    .pg-template .product-related .product-img-placeholder {
        min-height: 0;
        padding: 12px;
    }

    .pg-template .product-related .product-card__body {
        padding: 12px 12px 10px;
        gap: 6px;
    }

    .pg-template .product-related .product-card__name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: 2.7em;
        font-size: 13px;
        line-height: 1.35;
    }

    .pg-template .product-related .product-card__price {
        font-size: 12px;
        line-height: 1.35;
    }

    .pg-template .product-related .product-card__price-amount {
        font-size: 15px;
    }

    .pg-template .product-related .product-card__price-from,
    .pg-template .product-related .product-card__category {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
    }

    .pg-template .product-related .product-card__add-btn {
        min-height: 40px;
        padding: 10px 12px;
        border: 0;
        border-top: 1px solid var(--color-warning-border);
        background: var(--color-warning-subtle);
        color: var(--color-brand-text);
        font-size: 12px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
    }

    .pg-template .product-related .product-card__add-btn .btn-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pg-template .product-buy-card__option-head {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pg-template .product-buy-card__sku-value {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pg-template .product-lightbox__panel {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        max-height: 100dvh;
        height: 100dvh;
        max-height: var(--product-lightbox-viewport-height, 100dvh);
        height: var(--product-lightbox-viewport-height, 100dvh);
        border-radius: 0;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .pg-template .product-lightbox__header {
        gap: 8px;
        padding: max(10px, env(safe-area-inset-top)) 12px 10px;
    }

    .pg-template .product-lightbox__header-name {
        font-size: 13px;
    }

    .pg-template .product-lightbox__btn--close {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .pg-template .product-lightbox__zoombar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .pg-template .product-lightbox__zoombar-btn {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 100%;
        height: auto;
        min-height: 52px;
        padding: 8px 4px;
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }

    .pg-template .product-lightbox__zoombar-btn span {
        white-space: normal;
        max-width: 100%;
    }

    .pg-template .product-lightbox.is-zoomed .product-lightbox__zoombar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pg-template .product-lightbox.is-zoomed .product-lightbox__header-main,
    .pg-template .product-lightbox.is-zoomed .product-lightbox__thumbs {
        display: flex;
    }

    .pg-template .product-lightbox.is-zoomed .product-lightbox__header-top {
        justify-content: space-between;
    }

    .pg-template .product-lightbox__canvas {
        position: relative;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
        padding: 12px 10px;
        display: grid;
        place-items: center;
    }

    .pg-template .product-lightbox__stage {
        flex: 1 1 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: 100%;
        border-radius: 10px;
    }

    .pg-template .product-lightbox__image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .pg-template .product-lightbox__nav {
        width: 36px;
        height: 44px;
    }

    .pg-template .product-lightbox__nav--prev {
        left: 14px;
    }

    .pg-template .product-lightbox__nav--next {
        right: 14px;
    }

    .pg-template .product-lightbox__thumbs {
        justify-content: flex-start;
        padding: 12px 14px max(14px, env(safe-area-inset-bottom));
    }

    .pg-template .product-lightbox__thumb {
        flex: 0 0 48px;
        width: 48px;
        height: 62px;
    }

    .pg-template .product-lightbox.is-zoomed .product-lightbox__stage {
        height: 100%;
        max-height: 100%;
    }

    .pg-template .product-lightbox.is-zoomed .product-lightbox__image {
        height: 100%;
        max-height: 100%;
    }


    .pg-template .product-size-guide__measure {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        min-width: 0;
        overflow: visible;
        padding: 16px;
        border-radius: 14px;
    }

    .pg-template .product-size-guide__figure {
        width: 100%;
        min-width: 0;
        min-height: 220px;
        padding: 14px;
        border-radius: 14px;
    }

    .pg-template .product-size-guide__figure img {
        width: min(100%, 250px);
        max-width: 100%;
        max-height: 300px;
        margin: 0 auto;
    }

    .pg-template .product-size-guide__step {
        grid-template-columns: 1fr;
        gap: 4px;
        width: 100%;
        min-width: 0;
        padding: 12px 14px;
    }

    .pg-template .product-size-guide__steps {
        display: grid;
        gap: 10px;
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .pg-template .product-size-guide {
        padding: 12px;
    }

    .pg-template .product-size-guide__panel {
        width: min(100%, calc(100vw - 20px));
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
    }

    .pg-template .product-size-guide__head {
        padding: 22px 22px 16px;
    }

    .pg-template .product-size-guide__head p {
        font-size: .88rem;
    }

    .pg-template .product-size-guide__body {
        gap: 12px;
        min-height: 0;
        padding: 16px 16px 20px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(201, 162, 77, .32) transparent;
    }

    .pg-template .product-size-guide__body::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    .pg-template .product-size-guide__body::-webkit-scrollbar-track {
        background: transparent;
    }

    .pg-template .product-size-guide__body::-webkit-scrollbar-thumb {
        background: rgba(201, 162, 77, .32);
        border-radius: 999px;
    }

    .pg-template .product-size-guide__block {
        padding: 16px;
        border-radius: 14px;
    }

    .pg-template .product-size-guide__block-head {
        display: grid;
        gap: 10px;
    }

    .pg-template .product-size-guide__product-badge {
        width: fit-content;
    }

    .pg-template .product-size-guide__table-wrap {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        padding-bottom: 6px;
        border-radius: 12px;
        border: 1px solid rgba(15, 23, 42, .08);
        background: var(--color-surface);
        scrollbar-width: thin;
        scrollbar-color: rgba(201, 162, 77, .55) transparent;
    }

    .pg-template .product-size-guide__table-wrap::-webkit-scrollbar {
        height: 6px;
    }

    .pg-template .product-size-guide__table-wrap::-webkit-scrollbar-track {
        background: transparent;
    }

    .pg-template .product-size-guide__table-wrap::-webkit-scrollbar-thumb {
        background: rgba(201, 162, 77, .45);
        border-radius: 999px;
    }

    .pg-template .product-size-guide__table {
        display: table;
        width: max-content !important;
        min-width: 100% !important;
        table-layout: auto;
        font-size: .82rem;
    }

    .pg-template .product-size-guide__table th,
    .pg-template .product-size-guide__table td {
        min-width: 58px;
        padding: 11px 12px;
    }

    .pg-template .product-size-guide__table tbody th,
    .pg-template .product-size-guide__table thead th:first-child {
        min-width: 142px;
    }

    .pg-template .product-size-guide__steps h3 {
        margin-bottom: 4px;
        font-size: 1.15rem;
        text-align: center;
    }

    .pg-template .product-size-guide__step strong,
    .pg-template .product-size-guide__step span {
        text-align: center;
    }

    .pg-template .product-size-guide__note {
        padding: 13px 14px;
    }

    /* ── Yorum bölümü ── */
    .pg-template .product-related {
        margin-top: 44px;
        padding-top: 30px;
    }

    .pg-template .product-info-tabs {
        margin-top: 20px;
        margin-bottom: 28px;
    }

    .pg-template .product-reviews__summary-bar {
        flex-wrap: wrap;
        padding: 22px 20px;
        gap: 12px 16px;
        border-radius: 14px;
        width: 100%;
        max-width: none;
        background:
            linear-gradient(135deg, rgba(255, 251, 244, .95) 0%, rgba(255, 245, 229, .8) 100%);
    }

    .pg-template .product-reviews__count-text {
        font-size: 15px;
        font-weight: 600;
        color: var(--color-text);
    }

    .pg-template .product-reviews__write-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        padding: 11px 22px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        background: var(--color-brand);
        color: var(--color-surface);
        border-color: var(--color-brand);
    }

    .pg-template .product-review-card--empty {
        padding: 48px 24px 44px;
        gap: 16px;
        width: 100%;
        max-width: none;
    }

    .pg-template .product-review-card--empty::before {
        font-size: 28px;
        letter-spacing: 8px;
    }

    .pg-template .product-review-card--empty p {
        font-size: 15px;
        line-height: 1.7;
        color: var(--color-muted);
    }

    .pg-template .product-reviews__list {
        width: 100%;
    }

    .pg-template .product-review-card {
        width: 100%;
        max-width: none;
    }

    .pg-template .product-reviews__more {
        justify-content: stretch;
        width: 100%;
    }

    .pg-template .product-reviews__more-btn {
        display: flex;
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    /* ── Overflow koruması ── */
    .pg-template .product-summary__top {
        overflow: hidden;
        min-width: 0;
    }

    .pg-template .product-buy-card__sec-btn {
        white-space: normal;
        text-align: center;
    }

    .pg-template .product-buy-card__trust {
        padding-top: 12px;
    }

    .pg-template .product-trust-badge {
        padding: 0 6px;
    }

    .pg-template .product-trust-badge__text {
        font-size: 9px;
        line-height: 1.3;
    }

    .pg-template .product-accordion__toggle {
        padding: 11px 14px;
    }

    .pg-template .product-accordion__panel {
        padding: 0 14px 12px;
    }

}

/* ── Sepete Eklendi Modal ── */
body.pg-template.sale-cart-modal-open {
    overflow: hidden;
}

.pg-template .sale-cart-modal {
    position: fixed;
    inset: 0;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.pg-template .sale-cart-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pg-template .sale-cart-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.pg-template .sale-cart-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 28px 24px 22px;
    border: 1px solid rgba(184, 147, 90, .18);
    border-radius: 16px;
    background:
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface) 100%);
    box-shadow: 0 24px 60px rgba(17, 24, 39, .18);
    text-align: center;
    transform: translateY(12px) scale(.98);
    transition: transform .24s ease;
}

.pg-template .sale-cart-modal.is-open .sale-cart-modal__panel {
    transform: translateY(0) scale(1);
}

.pg-template .sale-cart-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--color-surface-2);
    color: var(--color-muted);
    cursor: pointer;
}

.pg-template .sale-cart-modal__close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.pg-template .sale-cart-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--color-brand-subtle);
    color: var(--color-brand);
}

.pg-template .sale-cart-modal__title {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.2;
}

.pg-template .sale-cart-modal__product {
    margin: 10px 0 0;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.pg-template .sale-cart-modal__hint {
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.55;
}

.pg-template .sale-cart-modal__actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

/* Temel .btn artık app.css'te merkezi — burada bu modale özgü renk override'ları kalıyor. */
.pg-template .sale-cart-modal__btn--primary {
    border: none;
    background: var(--color-brand);
    color: var(--color-surface) !important;
}

.pg-template .sale-cart-modal__btn--primary:hover {
    filter: brightness(1.05);
}

.pg-template .sale-cart-modal__btn--ghost {
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text) !important;
}

.pg-template .sale-cart-modal__btn--ghost:hover {
    background: var(--color-surface-2);
}

.pg-template .product-installments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 16px;
}

.pg-template .product-installments__card {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 1px 2px rgba(20, 16, 8, .03);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pg-template .product-installments__card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 8px 20px rgba(20, 16, 8, .07);
    transform: translateY(-1px);
}

.pg-template .product-installments__card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(180deg, var(--color-surface-2), var(--color-surface));
    border-bottom: 1px solid var(--color-border);
}

.pg-template .product-installments__card-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pg-template .product-installments__card-title strong {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-template .product-installments__card-title span {
    color: var(--color-muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .01em;
}

.pg-template .product-installments__logo {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    object-fit: contain;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    padding: 5px;
}

.pg-template .product-installments__logo--fallback {
    display: grid;
    place-items: center;
    color: var(--color-brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    background: var(--color-surface-2);
}

.pg-template .product-installments__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.pg-template .product-installments__table th {
    padding: 8px 16px;
    color: var(--color-muted);
    font-size: 9.5px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}

.pg-template .product-installments__table th:not(:first-child),
.pg-template .product-installments__table td:not(:first-child) {
    text-align: right;
}

.pg-template .product-installments__table td {
    padding: 7px 16px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pg-template .product-installments__table tr:last-child td {
    padding-bottom: 12px;
}

.pg-template .product-installments__table tr.is-single td {
    font-weight: 700;
    color: var(--color-brand);
}

.pg-template .product-installments__table tr.is-single td:first-child {
    text-align: left;
}

.pg-template .product-buy-card__cta.is-loading {
    opacity: .72;
    pointer-events: none;
}
