/**
 * Ürün detay — sağ sütun satın alma kartı (preview referans)
 * Renkler: --theme-default-color / --theme-hover-color
 * Tipografi & butonlar: --pdt-* (Tasarım Ayarları → Ürün Detay)
 */

 .pdt2-product-hero .pdt-purchase-card {
    --pdt-pc-primary: var(--theme-default-color, #77003e);
    --pdt-pc-primary-dark: var(--theme-hover-color, #c72d7d);
    --pdt-pc-primary-soft: color-mix(in srgb, var(--pdt-pc-primary) 12%, #fff);
    --pdt-pc-primary-light: color-mix(in srgb, var(--pdt-pc-primary) 22%, #fff);
    --pdt-pc-text: #1b263d;
    --pdt-pc-muted: #7d879d;
    --pdt-pc-border: #e2e9f5;
    --pdt-pc-shadow: 0 22px 55px color-mix(in srgb, var(--pdt-pc-primary) 13%, transparent);
    width: 100%;
    max-width: 675px;
    background: #fff;
    border: 1px solid var(--pdt-pc-border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--pdt-pc-shadow);
    box-sizing: border-box;
}

.pdt2-product-hero .pdt-pc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.pdt2-product-hero .pdt-pc-season-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--pdt-pc-primary-soft);
    color: var(--pdt-pc-primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.pdt2-product-hero .pdt-purchase-card .pdt2-product-title.title-detail {
    margin: 0 0 8px !important;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.pdt2-product-hero .pdt-pc-code {
    color: var(--pdt-pc-muted);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.pdt2-product-hero .pdt-pc-code strong,
.pdt2-product-hero .pdt-pc-code .pdt2-product-code__val {
    color: var(--pdt-pc-primary-dark);
    font-weight: 800;
}

.pdt2-product-hero .pdt-pc-fav-slot {
    flex: 0 0 auto;
    position: relative;
    align-self: flex-start;
}

.pdt2-product-hero .pdt-pc-fav-slot .pdt2-fav-floating-wrap {
    position: relative;
    display: block;
    width: 44px;
}

.pdt2-product-hero .pdt-pc-fav-slot .pdt2-fav-form {
    margin: 0;
}

.pdt2-product-hero .pdt-pc-fav-slot .pdt2-fav-infobox {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: min(240px, 72vw);
    z-index: 12;
    pointer-events: none;
    font-size: 12px;
    line-height: 1.35;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    text-align: center;
    word-break: break-word;
    opacity: 1;
    transform: translateX(-50%);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.pdt2-product-hero .pdt-pc-fav-slot .pdt2-fav-infobox--dismiss {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
    visibility: hidden;
}

.pdt2-product-hero .pdt-pc-fav-slot .pdt2-fav-infobox--success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.pdt2-product-hero .pdt-pc-fav-slot .pdt2-fav-infobox--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.pdt2-product-hero .pdt-pc-price-card {
    border: 1px solid var(--pdt-pc-border);
    border-radius: 16px;
    padding: 16px 17px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--pdt-pc-primary) 4%, #fff) 0%, #ffffff 100%);
}

.pdt2-product-hero .pdt-pc-price-label {
    color: var(--pdt-pc-muted);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pdt2-product-hero .pdt-pc-price-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pdt-pc-border);
}

.pdt2-product-hero .pdt-pc-price-area.pdt2-price-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0 !important;
    flex-direction: row;
}

.pdt2-product-hero .pdt-pc-price-area .pdt2-price-current {
    line-height: 1;
    letter-spacing: -0.5px;
}

.pdt2-product-hero .pdt-pc-price-area .pdt2-price-old {
    position: relative;
    margin-bottom: 3px;
    text-decoration: none !important;
}

.pdt2-product-hero .pdt-pc-price-area .pdt2-price-old::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 2px;
    background: #a8b0c1;
    transform: translateY(-50%);
}

.pdt2-product-hero .pdt-pc-discount-badge {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff0f3;
    color: #e11d48;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.pdt2-product-hero .pdt-pc-review-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 13px;
}

.pdt2-product-hero .pdt-pc-review-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pdt2-product-hero .pdt-pc-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #f7b500;
    font-size: 14px;
}

.pdt2-product-hero .pdt-pc-rating-score {
    color: var(--pdt-pc-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.pdt2-product-hero .pdt-pc-review-count {
    color: var(--pdt-pc-muted);
    font-size: 12px;
    font-weight: 700;
}

.pdt2-product-hero .pdt-pc-review-btn {
    height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--pdt-pc-primary-light);
    background: var(--pdt-pc-primary-soft);
    color: var(--pdt-pc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.2s ease;
}

.pdt2-product-hero .pdt-pc-review-btn:hover {
    background: var(--pdt-pc-primary);
    border-color: var(--pdt-pc-primary);
    color: #fff;
}

.pdt2-product-hero .pdt-pc-option-group {
    margin-bottom: 18px;
}

.pdt2-product-hero .pdt-pc-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.pdt2-product-hero .pdt-pc-option-title,
.pdt2-product-hero .pdt-pc-option-group .variant-chip-title {
    color: var(--pdt-pc-primary-dark);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 0;
}

.pdt2-product-hero .pdt-pc-selected-value {
    color: var(--pdt-pc-muted);
    font-size: 12px;
    font-weight: 700;
}

.pdt2-product-hero .pdt-pc-option-list,
.pdt2-product-hero .pdt-pc-option-group .variant-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pdt2-product-hero .pdt-pc-option-group .variant-chip-btn {
    min-width: 46px;
    height: 34px;
    padding: 0 15px;
    border: 1px solid var(--pdt-pc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--pdt-pc-primary-dark);
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.pdt2-product-hero .pdt-pc-option-group .variant-chip-btn:hover:not(:disabled):not(.is-selected) {
    border-color: var(--pdt-pc-primary);
    background: var(--pdt-pc-primary-soft);
    color: var(--pdt-pc-primary);
}

.pdt2-product-hero .pdt-pc-option-group .variant-chip-btn.is-selected,
.pdt2-product-hero .pdt-pc-option-group .variant-chip-btn.is-selected:hover {
    background: var(--pdt-pc-primary);
    color: #fff;
    border-color: var(--pdt-pc-primary);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--pdt-pc-primary) 24%, transparent);
}

.pdt2-product-hero .pdt-pc-option-group .variant-chip-btn:disabled,
.pdt2-product-hero .pdt-pc-option-group .variant-chip-btn.is-disabled {
    opacity: 0.42;
    background: #f8f9fc;
    color: #9aa3b5;
    text-decoration: line-through;
}

.pdt2-product-hero .pdt-pc-desc {
    margin: 8px 0 20px;
    padding: 16px 18px;
    border-radius: 14px;
    border-left: 3px solid var(--pdt-pc-primary);
    background: var(--pdt-pc-primary-soft);
    line-height: 1.7;
}

.pdt2-product-hero .pdt-pc-desc .pdt2-lead-text {
    margin: 0;
    font-weight: 500;
}

.pdt2-product-hero .pdt-pc-purchase-row.pdt2-cta-row {
    display: grid !important;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    margin-bottom: 12px;
    align-items: stretch;
    justify-content: stretch;
}

.pdt2-product-hero .pdt-pc-purchase-row.pdt2-cta-row--with-qty {
    grid-template-columns: 120px 1fr;
}

.pdt2-product-hero .pdt-pc-purchase-row:not(.pdt2-cta-row--with-qty) {
    grid-template-columns: 1fr;
}

.pdt2-product-hero .pdt-pc-qty-wrap .pdt2-qty-picker.detail-qty-v2 {
    height: 50px;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    border: 1px solid var(--pdt-pc-border);
    border-radius: 13px;
    overflow: hidden;
    background: #fff;
    min-width: 0;
    width: 100%;
    box-shadow: none;
}

.pdt2-product-hero .pdt-pc-qty-wrap .pdt2-qty-picker .qty-btn {
    background: var(--pdt-pc-primary-soft);
    color: var(--pdt-pc-primary-dark);
    font-size: 18px;
    font-weight: 800;
    flex: unset;
    width: auto;
}

.pdt2-product-hero .pdt-pc-qty-wrap .pdt2-qty-picker .qty-btn:hover:not(:disabled) {
    background: var(--pdt-pc-primary);
    color: #fff;
}

.pdt2-product-hero .pdt-pc-qty-wrap .pdt2-qty-picker .qty-val {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: unset;
    height: 50px;
    font-size: 15px;
    font-weight: 800;
    color: var(--pdt-pc-primary-dark);
    border-left: 1px solid var(--pdt-pc-border);
    border-right: 1px solid var(--pdt-pc-border);
    box-sizing: border-box;
}

.pdt2-product-hero .pdt-pc-purchase-row .pdt2-btn-cart {
    height: 50px !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: unset !important;
    border-radius: 13px !important;
    margin: 0 !important;
}

.pdt2-product-hero .pdt-pc-wa-row {
    width: 50%;
}

.pdt2-product-hero .pdt-pc-wa-row .pdt2-btn-wa {
    height: 50px !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: unset !important;
    border-radius: 13px !important;
    margin-bottom: 22px !important;
    display: inline-flex !important;
}

.pdt2-product-hero .pdt-pc-service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.pdt2-product-hero .pdt-pc-service-item {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--pdt-pc-border);
    border-radius: 15px;
    background: #fff;
}

.pdt2-product-hero .pdt-pc-service-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--pdt-pc-primary-soft);
    color: var(--pdt-pc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex: 0 0 auto;
}

.pdt2-product-hero .pdt-pc-service-text strong {
    display: block;
    color: var(--pdt-pc-primary-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.pdt2-product-hero .pdt-pc-service-text span {
    display: block;
    color: var(--pdt-pc-muted);
    font-size: 11px;
    margin-top: 3px;
    line-height: 1.2;
    font-weight: 500;
}

.pdt2-product-hero .pdt-pc-stock-info {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--pdt-pc-primary) 35%, #fff);
    background: #fbfdff;
    color: #6e7890;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.pdt2-product-hero .pdt-pc-stock-info i {
    color: var(--pdt-pc-primary);
    font-size: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
}

.pdt2-product-hero .pdt-pc-stock-info .text-danger {
    color: #e11d48 !important;
}

.pdt2-design-themed .pdt-purchase-card .pdt2-btn-cart.button.button-add-to-cart > i.bi {
    display: inline-flex !important;
    margin-right: 0;
}

.pdt2-design-themed .pdt-purchase-card .pdt2-btn-cart.button.button-add-to-cart::before {
    display: none !important;
}

.pdt2-design-themed .pdt-pc-wa-row .pdt2-btn-wa > i.bi {
    display: inline-flex !important;
    font-size: var(--pdt-btn-wa-icon-size, 22px);
}

.pdt2-design-themed.pdt2-wa-link-icon .pdt-pc-wa-row .pdt2-btn-wa::before {
    display: none !important;
}

.pdt2-design-themed .pdt-pc-service-text strong {
    font-size: var(--pdt-trust-font-size, 12px) !important;
    color: var(--pdt-trust-color, #1b263d) !important;
    font-weight: var(--pdt-trust-font-weight, 800) !important;
}

.pdt2-design-themed .pdt-pc-service-text span {
    font-size: calc(var(--pdt-trust-font-size, 12px) - 1px) !important;
    color: var(--pdt-trust-color, #7d879d) !important;
    font-weight: 500 !important;
    opacity: 0.85;
}

.pdt2-design-themed .pdt-pc-service-icon i {
    font-size: var(--pdt-trust-icon-size, 17px) !important;
    color: var(--pdt-trust-icon-color, var(--theme-default-color)) !important;
}

@media (max-width: 650px) {
    .pdt2-product-hero .pdt-purchase-card {
        padding: 18px;
        border-radius: 18px;
    }

    .pdt2-product-hero .pdt-pc-header {
        gap: 12px;
    }

    .pdt2-product-hero .pdt-pc-price-top,
    .pdt2-product-hero .pdt-pc-review-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .pdt2-product-hero .pdt-pc-purchase-row.pdt2-cta-row,
    .pdt2-product-hero .pdt-pc-purchase-row.pdt2-cta-row--with-qty {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .pdt2-product-hero .detail-extralink.pdt2-cta-wrap > .pdt-pc-wa-row {
        display: block;
        width: 100%;
    }

    .pdt2-product-hero .pdt-pc-wa-row .pdt2-btn-wa {
        display: flex !important;
    }

    .pdt2-product-hero .pdt-pc-service-list {
        grid-template-columns: 1fr;
    }

    .pdt2-product-hero .pdt-pc-option-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}
