body.ck-shop-hotfix .ck-main-product-grid {
    align-items: stretch;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 16px !important;
    border: 1px solid #e5e9ed !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(18, 35, 52, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card:hover {
    transform: translateY(-3px);
    border-color: #ffd0a4 !important;
    box-shadow: 0 13px 28px rgba(18, 35, 52, .085);
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card img {
    display: block;
    width: 100% !important;
    height: 205px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px;
    object-fit: contain !important;
    border-radius: 8px;
    background: #f7f8f9;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .woocommerce-loop-product__title,
body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card h2,
body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card h3,
body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .product-title {
    min-height: 48px;
    margin: 14px 0 8px !important;
    color: #1267a2 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .ck-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .ck-product-btn {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 9px;
    border: 1px solid #ff7a00;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .ck-product-btn--detail {
    color: #ff7a00 !important;
    background: #fff;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .ck-product-btn--offer {
    color: #fff !important;
    background: #ff7a00;
}

body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .ck-product-btn:hover {
    color: #fff !important;
    background: #e96f00;
}

body.ck-shop-hotfix .woocommerce-pagination .page-numbers .current {
    color: #fff;
    background: #ff7a00;
}

/* Gerçek Elementor Popup tasarımı — yalnızca görünüm; Elementor form/mail akışına müdahale etmez. */
.ck-elementor-product-popup {
    --ck-popup-orange: #ff7a00;
    --ck-popup-orange-dark: #e96f00;
    --ck-popup-navy: #11263e;
    --ck-popup-muted: #667789;
    --ck-popup-line: #e5ebf1;
}

.ck-elementor-product-popup.dialog-widget,
.ck-elementor-product-popup .dialog-widget {
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.ck-elementor-product-popup .dialog-widget-content {
    width: min(960px, calc(100vw - 40px)) !important;
    max-width: 960px !important;
    max-height: 92vh !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 34px 110px rgba(0,0,0,.30) !important;
}

.ck-elementor-product-popup .dialog-message {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    background: linear-gradient(180deg, #fff 0%, #f6f8fa 100%) !important;
}

.ck-elementor-product-popup .dialog-close-button {
    top: 18px !important;
    right: 18px !important;
    z-index: 50 !important;
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #dbe3eb !important;
    border-radius: 50% !important;
    color: #263545 !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 8px 24px rgba(17,38,62,.08) !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}

.ck-elementor-product-popup .dialog-close-button:hover {
    transform: rotate(90deg) !important;
    border-color: #ffc58d !important;
    background: #fff8f1 !important;
}

.ck-native-popup-header {
    position: relative;
    display: block !important;
    width: 100% !important;
    padding: 34px 42px 26px !important;
    border-bottom: 1px solid var(--ck-popup-line) !important;
    background:
        radial-gradient(circle at 92% 10%, rgba(255,122,0,.12), transparent 28%),
        linear-gradient(135deg, #fff5ea 0%, #fffdfb 58%, #fff 100%) !important;
}

.ck-native-popup-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-bottom: 10px !important;
    color: var(--ck-popup-orange) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
}

.ck-native-popup-eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
}

.ck-native-popup-title {
    max-width: 760px;
    margin: 0 64px 10px 0 !important;
    color: var(--ck-popup-navy) !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.03em !important;
}

.ck-native-popup-header > p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--ck-popup-muted) !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
}

.ck-native-popup-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin-top: 18px !important;
}

.ck-native-popup-meta span,
.ck-native-popup-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

.ck-native-popup-meta span {
    color: #4d6072 !important;
    background: rgba(255,255,255,.92) !important;
    border: 1px solid #e8edf2 !important;
}

.ck-native-popup-pill {
    margin-top: 12px !important;
    color: var(--ck-popup-orange-dark) !important;
    background: #fff0e1 !important;
    border: 1px solid #ffc68f !important;
}

/* Elementor popup içeriğini tam genişliğe zorla; yatay kaymayı ve dar form sütununu kaldır. */
.ck-elementor-product-popup .dialog-message > .elementor,
.ck-elementor-product-popup .dialog-message > .elementor-template,
.ck-elementor-product-popup .dialog-message > section,
.ck-elementor-product-popup .dialog-message > div:not(.ck-native-popup-header) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px 34px 34px !important;
}

.ck-elementor-product-popup .e-con,
.ck-elementor-product-popup .e-con-inner,
.ck-elementor-product-popup .elementor-element,
.ck-elementor-product-popup .elementor-widget-container,
.ck-elementor-product-popup .elementor-form,
.ck-elementor-product-popup form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.ck-elementor-product-popup .elementor-widget-form,
.ck-elementor-product-popup .elementor-widget-form > .elementor-widget-container {
    display: block !important;
}

.ck-elementor-product-popup form {
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid #e5ebf1 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(17,38,62,.06) !important;
}

.ck-elementor-product-popup .elementor-form-fields-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 18px !important;
    width: 100% !important;
    margin: 0 !important;
}

.ck-elementor-product-popup .elementor-field-group {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Uzun alanlar ve gönderim/mesaj alanı tam genişlik. */
.ck-elementor-product-popup .elementor-field-group-urun,
.ck-elementor-product-popup .elementor-field-group-talep,
.ck-elementor-product-popup .elementor-field-type-submit,
.ck-elementor-product-popup .elementor-message {
    grid-column: 1 / -1 !important;
}

.ck-elementor-product-popup label,
.ck-elementor-product-popup .elementor-field-label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #304459 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

.ck-elementor-product-popup input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ck-elementor-product-popup select,
.ck-elementor-product-popup textarea {
    width: 100% !important;
    min-height: 54px !important;
    padding: 13px 15px !important;
    border: 1px solid #d5dfe8 !important;
    border-radius: 12px !important;
    color: #243548 !important;
    background: #fbfcfe !important;
    box-shadow: inset 0 1px 2px rgba(17,38,62,.025) !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.ck-elementor-product-popup textarea {
    min-height: 132px !important;
    resize: vertical !important;
}

.ck-elementor-product-popup input::placeholder,
.ck-elementor-product-popup textarea::placeholder {
    color: #97a4b1 !important;
}

.ck-elementor-product-popup input:focus,
.ck-elementor-product-popup select:focus,
.ck-elementor-product-popup textarea:focus {
    outline: none !important;
    border-color: #ffad5c !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(255,122,0,.12) !important;
}

.ck-elementor-product-popup .elementor-field-type-submit {
    margin-top: 2px !important;
}

.ck-elementor-product-popup .elementor-button,
.ck-elementor-product-popup button[type="submit"] {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #ff8d18 0%, #ff7900 100%) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 14px 28px rgba(255,122,0,.23) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.ck-elementor-product-popup .elementor-button:hover,
.ck-elementor-product-popup button[type="submit"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 18px 34px rgba(255,122,0,.28) !important;
    filter: brightness(.985) !important;
}

.ck-elementor-product-popup .elementor-button-text,
.ck-elementor-product-popup .elementor-button-icon {
    color: inherit !important;
}

.ck-elementor-product-popup .elementor-message {
    margin: 2px 0 0 !important;
    padding: 15px 17px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.ck-elementor-product-popup .elementor-message-success {
    border: 1px solid #cce8d6 !important;
    color: #16613a !important;
    background: #effcf4 !important;
}

.ck-elementor-product-popup .elementor-message-danger,
.ck-elementor-product-popup .elementor-message-error {
    border: 1px solid #f1c9c9 !important;
    color: #962b2b !important;
    background: #fff3f3 !important;
}

@media (max-width: 767px) {
    body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card img {
        height: 185px !important;
    }

    body.ck-shop-hotfix .ck-main-product-grid > .ck-product-card .ck-product-actions {
        grid-template-columns: 1fr;
    }

    .ck-elementor-product-popup.dialog-widget,
    .ck-elementor-product-popup .dialog-widget {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .ck-elementor-product-popup .dialog-widget-content {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 94vh !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .ck-elementor-product-popup .dialog-message {
        max-height: 94vh !important;
    }

    .ck-native-popup-header {
        padding: 26px 20px 20px !important;
    }

    .ck-native-popup-title {
        margin-right: 42px !important;
        font-size: 28px !important;
    }

    .ck-native-popup-header > p {
        font-size: 15px !important;
    }

    .ck-native-popup-meta {
        gap: 7px !important;
    }

    .ck-native-popup-meta span,
    .ck-native-popup-pill {
        font-size: 11px !important;
    }

    .ck-elementor-product-popup .dialog-message > .elementor,
    .ck-elementor-product-popup .dialog-message > .elementor-template,
    .ck-elementor-product-popup .dialog-message > section,
    .ck-elementor-product-popup .dialog-message > div:not(.ck-native-popup-header) {
        padding: 18px !important;
    }

    .ck-elementor-product-popup form {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .ck-elementor-product-popup .elementor-form-fields-wrapper {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .ck-elementor-product-popup .elementor-field-group,
    .ck-elementor-product-popup .elementor-field-group-urun,
    .ck-elementor-product-popup .elementor-field-group-talep,
    .ck-elementor-product-popup .elementor-field-type-submit,
    .ck-elementor-product-popup .elementor-message {
        grid-column: 1 !important;
    }
}


/* Ürün detay sayfası teklif alanı */
.ck-single-product-enhanced .ck-single-offer-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin: 26px 0 10px;
    padding: 22px 24px;
    border: 1px solid #e4eaf0;
    border-left: 4px solid #ff7a00;
    border-radius: 14px;
    background:
        radial-gradient(circle at 95% 0%, rgba(255,122,0,.10), transparent 35%),
        linear-gradient(135deg, #fffaf5 0%, #ffffff 72%);
    box-shadow: 0 12px 30px rgba(17,38,62,.06);
}

.ck-single-product-enhanced .ck-single-offer-box__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #ff7a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ck-single-product-enhanced .ck-single-offer-box__content strong {
    display: block;
    margin: 0 0 6px;
    color: #14283f;
    font-size: 18px;
    line-height: 1.35;
}

.ck-single-product-enhanced .ck-single-offer-box__content p {
    margin: 0;
    color: #687889;
    font-size: 14px;
    line-height: 1.6;
}

.ck-single-product-enhanced .ck-single-offer-box__content {
    grid-row: 1 / span 2;
}

.ck-single-product-enhanced .ck-single-offer-button {
    grid-column: 2;
    grid-row: 1;
}

.ck-single-product-enhanced .ck-single-whatsapp-button {
    grid-column: 2;
    grid-row: 2;
    display: inline-flex;
    min-width: 150px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid #20b858;
    border-radius: 10px;
    color: #168a43 !important;
    background: #f2fff7;
    box-shadow: 0 10px 22px rgba(32,184,88,.12);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}

.ck-single-product-enhanced .ck-single-whatsapp-button__icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #20b858;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.ck-single-product-enhanced .ck-single-whatsapp-button:hover {
    transform: translateY(-1px);
    color: #fff !important;
    background: #20b858;
    box-shadow: 0 14px 26px rgba(32,184,88,.22);
}

.ck-single-product-enhanced .ck-single-whatsapp-button:hover .ck-single-whatsapp-button__icon {
    color: #20b858;
    background: #fff;
}

.ck-single-product-enhanced .ck-single-offer-button {
    display: inline-flex;
    min-width: 150px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid #ff7a00;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(180deg, #ff8d18 0%, #ff7900 100%);
    box-shadow: 0 12px 25px rgba(255,122,0,.22);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ck-single-product-enhanced .ck-single-offer-button:hover {
    transform: translateY(-1px);
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(255,122,0,.28);
    filter: brightness(.985);
}

@media (max-width: 640px) {
    .ck-single-product-enhanced .ck-single-offer-box {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .ck-single-product-enhanced .ck-single-offer-box__content,
    .ck-single-product-enhanced .ck-single-offer-button,
    .ck-single-product-enhanced .ck-single-whatsapp-button {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
}


/* Tema veya mobil şablon tarafından sonradan basılan sıfır fiyatlar için güvenli yedek. */
.ck-zero-price {
    display: none !important;
}
