.site-template-wrapper {
    max-width: 820px;
}

.template-modern-1 .modern-form-container {
    border: 2px solid rgba(59, 130, 246, .18);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(2, 6, 23, .08);
}

.template-focus-2 .modern-form-container {
    border: 2px solid rgba(59, 130, 246, .28);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(37, 99, 235, .18);
}

.template-clean-3 .modern-form-container {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
}

.template-focus-2 .security-banner {
    background: linear-gradient(90deg, #2f80ed, #56ccf2);
}
.template-focus-2 .scrolling-banner {
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
}
.template-focus-2 .modern-form-container {
    border: 2px solid #bfdbfe;
    border-radius: 16px;
}

.template-clean-3 .security-banner {
    background: linear-gradient(90deg, #0f172a, #334155);
}

.template-clean-3 .scrolling-banner {
    background: #111827;
}
.template-clean-3 .modern-form-container {
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
}

.form-style-compact .form-section {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 10px;
}
.form-style-compact .form-section-title {
    font-size: 18px;
}

.form-style-trust .form-section {
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.form-style-trust .form-section-title {
    color: #1d4ed8;
}

.upsell-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
}

.upsell-subtitle {
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
}

.upsell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.upsell-grid.upsell-grid--single {
    grid-template-columns: 1fr;
}
.upsell-grid.upsell-grid--double {
    grid-template-columns: 1fr 1fr;
}

.upsell-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: all .2s ease;
}
.upsell-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
}
.upsell-card.is-selected {
    border-color: #16a34a;
    box-shadow: 0 8px 18px rgba(22, 163, 74, .18);
    background: #f0fdf4;
}
.upsell-card .upsell-content {
    flex: 1;
    min-width: 0;
}
.upsell-grid--single .upsell-card {
    display: flex;
    align-items: center;
    gap: 8px;
}
.upsell-grid--single .upsell-media {
    width: 76px;
    min-width: 76px;
}
.upsell-grid--single .upsell-image {
    max-height: 76px;
}
.upsell-grid--double .upsell-card {
    display: flex;
    align-items: center;
    gap: 8px;
}
.upsell-grid--double .upsell-media {
    width: 66px;
    min-width: 66px;
}
.upsell-grid--double .upsell-image {
    max-height: 66px;
}

.upsell-badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.upsell-title {
    font-size: 14px;
    margin: 0 0 4px;
    color: #0f172a;
    line-height: 1.25;
}
.upsell-image-wrap {
    margin-bottom: 0;
}
.upsell-image {
    width: 100%;
    max-height: 76px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.upsell-price {
    font-weight: 700;
    color: #059669;
    margin-bottom: 3px;
    font-size: 14px;
}

.upsell-price-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    white-space: nowrap;
}

.upsell-price-wrap {
    margin-bottom: 0;
    min-width: 0;
}

.upsell-old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #94a3b8;
}

.upsell-discount {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 10px;
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    padding: 1px 6px;
    margin-top: 0;
}

.upsell-toggle-text {
    font-size: 11px;
    color: #334155;
    font-weight: 600;
    line-height: 1.2;
}
.upsell-checkbox-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Sayaç alanını daha kompakt ve şık göster */
.countdown-container {
    margin: 10px 12px !important;
    display: grid !important;
    grid-template-columns: 1.2fr .8fr;
    gap: 10px;
    align-items: stretch;
}
.countdown-box {
    padding: 10px 12px !important;
    border-radius: 14px !important;
}
.countdown-header {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}
.countdown-timer {
    gap: 6px !important;
    margin-bottom: 8px !important;
}
.timer-item {
    padding: 8px 6px !important;
    min-width: 58px;
}
.timer-item span {
    font-size: 20px !important;
    line-height: 1.1 !important;
}
.timer-label {
    font-size: 10px !important;
}
.order-button {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
}
.stock-info .stock-box {
    height: 100%;
    padding: 10px 12px !important;
    border-radius: 14px !important;
}
.stock-text {
    font-size: 13px !important;
}

.footer-style-minimal {
    background: #0f172a;
}

.footer-style-campaign {
    background: linear-gradient(135deg, #991b1b, #dc2626);
}

@media (max-width: 768px) {
    .site-template-wrapper {
        max-width: 100%;
    }

    .upsell-grid {
        grid-template-columns: 1fr;
    }
    .upsell-grid--single .upsell-card {
        display: flex;
        gap: 7px;
    }
    .upsell-grid--single .upsell-media {
        width: 62px;
        min-width: 62px;
    }
    .upsell-grid--single .upsell-image {
        max-height: 62px;
    }
    .upsell-grid--double .upsell-card {
        display: flex;
        gap: 7px;
    }
    .upsell-grid--double .upsell-media {
        width: 58px;
        min-width: 58px;
    }
    .upsell-grid--double .upsell-image {
        max-height: 58px;
    }
    .countdown-container {
        grid-template-columns: 1fr !important;
    }
}

/* ===== 2026 Template Overrides (strong) ===== */
/* Banner alanları şablondan etkilenmez, sadece tema rengini kullanır */
.security-banner,
.scrolling-banner {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end)) !important;
    color: #fff !important;
}

#siparisformu.modern-form-container {
    max-width: 980px;
    margin: 14px auto;
    padding: 12px;
}

#siparisformu .checkout-form .form-section {
    border-radius: 16px !important;
}

/* 1) Modern-1: canlı kartlar */
.template-modern-1 #siparisformu {
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border: 1px solid #cfe5ff;
    border-radius: 18px;
    box-shadow: 0 22px 44px rgba(37, 99, 235, .14);
}
.template-modern-1 #siparisformu .form-section {
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    box-shadow: 0 8px 22px rgba(30, 64, 175, .09) !important;
}
.template-modern-1 #siparisformu .form-section-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
}

/* 2) Focus-2: split panel düzen */
.template-focus-2 #siparisformu {
    background: #f4f8ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    box-shadow: 0 26px 60px rgba(59, 130, 246, .18);
}
.template-focus-2 #siparisformu .checkout-form {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 14px;
}
.template-focus-2 #onerilen-urunler-alani { grid-column: 1; grid-row: 1; }
.template-focus-2 #section-paket { grid-column: 1; grid-row: 2; }
.template-focus-2 #kisisel-bilgiler { grid-column: 2; grid-row: 1 / span 2; }
.template-focus-2 #section-varyasyon { grid-column: 2; grid-row: 3; }
.template-focus-2 #section-odeme { grid-column: 1 / span 2; grid-row: 4; }
.template-focus-2 #siparisformu .form-section {
    background: #ffffff !important;
    border: 1px solid #cfe0ff !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, .10) !important;
}
.template-focus-2 #siparisformu .form-section-title {
    font-size: 21px !important;
    font-weight: 800 !important;
}

/* 3) Clean-3: premium minimal */
.template-clean-3 #siparisformu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
}
.template-clean-3 #siparisformu .form-section {
    background: #fcfcfd !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}
.template-clean-3 #siparisformu .form-section-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #e5e7eb !important;
}
.template-clean-3 #siparisformu .form-control,
.template-clean-3 #siparisformu select.form-control,
.template-clean-3 #siparisformu textarea.form-control {
    border-radius: 10px !important;
    border-color: #d1d5db !important;
    background: #fff !important;
}

/* Form alanları: şablonlar arasında daha net fark */
.template-focus-2 #kisisel-bilgiler .form-group {
    margin-bottom: 14px !important;
}
.template-modern-1 #kisisel-bilgiler .form-control {
    border-width: 2px !important;
}

@media (max-width: 992px) {
    .template-focus-2 #siparisformu .checkout-form {
        display: block;
    }
}

/* ===== Ultra compact upsell redesign ===== */
#onerilen-urunler-alani.upsell-section {
    padding: 10px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}
#onerilen-urunler-alani .form-section-title {
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
}
#onerilen-urunler-alani .upsell-subtitle {
    font-size: 12px !important;
    margin-bottom: 8px !important;
}
#onerilen-urunler-alani .upsell-grid {
    gap: 7px !important;
}
#onerilen-urunler-alani .upsell-card {
    padding: 7px !important;
    border-radius: 10px !important;
    min-height: 78px;
    position: relative;
    padding-right: 34px !important;
}
#onerilen-urunler-alani .upsell-media {
    width: 60px !important;
    min-width: 60px !important;
}
#onerilen-urunler-alani .upsell-image {
    max-height: 60px !important;
    border-radius: 7px !important;
}
#onerilen-urunler-alani .upsell-badge {
    font-size: 9px !important;
    padding: 1px 6px !important;
    margin-bottom: 4px !important;
}
#onerilen-urunler-alani .upsell-title {
    font-size: 13px !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
}
#onerilen-urunler-alani .upsell-price-line {
    gap: 5px !important;
    margin-bottom: 2px !important;
}
#onerilen-urunler-alani .upsell-discount {
    font-size: 9px !important;
    padding: 1px 5px !important;
}
#onerilen-urunler-alani .upsell-old-price {
    font-size: 11px !important;
    line-height: 1.1 !important;
}
#onerilen-urunler-alani .upsell-price {
    font-size: 13px !important;
    line-height: 1.1 !important;
}
#onerilen-urunler-alani .upsell-toggle-text {
    font-size: 10px !important;
    margin-top: 1px !important;
    line-height: 1.1 !important;
}

/* Sağda seçim göstergesi (pasif: tema rengi, aktif: yeşil) */
#onerilen-urunler-alani .upsell-card::after {
    content: "✓";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(0, 0, 0, .16);
    opacity: .72;
}

#onerilen-urunler-alani .upsell-card::before {
    content: "SEPETE EKLE";
    position: absolute;
    right: 6px;
    top: calc(50% + 13px);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .35px;
    color: rgba(15, 23, 42, .26);
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

#onerilen-urunler-alani .upsell-card.is-selected::after {
    background: #16a34a;
    opacity: 1;
}

#onerilen-urunler-alani .upsell-card.is-selected::before {
    content: "SEPETE EKLENDİ";
    color: rgba(22, 163, 74, .48);
}

/* ===== Template-specific mobile differences (strong, visible) ===== */
@media (max-width: 768px) {
    /* Modern-1: canlı kartlı akış */
    .template-modern-1 #siparisformu {
        background: linear-gradient(180deg, #f0f7ff, #ffffff) !important;
        border-radius: 16px !important;
        padding: 10px !important;
    }
    .template-modern-1 #siparisformu .form-section {
        border-radius: 14px !important;
        border: 1px solid #bfdbfe !important;
        box-shadow: 0 8px 18px rgba(59, 130, 246, .14) !important;
        margin-bottom: 10px !important;
        padding: 12px !important;
    }
    .template-modern-1 #siparisformu .form-section-title {
        font-size: 17px !important;
        font-weight: 800 !important;
    }
    .template-modern-1 #siparisformu label.product-element {
        border-radius: 12px !important;
        border-width: 2px !important;
        padding: 12px !important;
    }
    .template-modern-1 #siparisformu .price-box {
        border-radius: 10px !important;
        padding: 4px 10px !important;
    }

    /* Focus-2: fırsat odaklı açık ton görünüm + farklı sıra */
    .template-focus-2 #siparisformu {
        background: linear-gradient(180deg, #fff7f7, #ffffff) !important;
    border: 1px solid #cfe5ff !important;
        border-radius: 14px !important;
        padding: 8px !important;
    }
    .template-focus-2 #siparisformu .checkout-form {
        display: flex !important;
        flex-direction: column !important;
    }
    .template-focus-2 #onerilen-urunler-alani { order: 1 !important; }
    .template-focus-2 #section-paket { order: 2 !important; }
    .template-focus-2 #kisisel-bilgiler { order: 3 !important; }
    .template-focus-2 #section-varyasyon { order: 4 !important; }
    .template-focus-2 #section-odeme { order: 5 !important; }
    .template-focus-2 #siparisformu .form-section {
        background: #ffffff !important;
    border: 1px solid #dbeafe !important;
        color: #0f172a !important;
        border-radius: 12px !important;
        margin-bottom: 8px !important;
        padding: 10px !important;
    box-shadow: 0 8px 22px rgba(30, 64, 175, .09) !important;
    }
    .template-focus-2 #siparisformu .form-section-title {
        color: #0f172a !important;
        border-bottom-color: rgba(var(--primary-color-rgb), .25) !important;
        font-size: 16px !important;
        font-weight: 800 !important;
    }
    .template-focus-2 #siparisformu .form-control,
    .template-focus-2 #siparisformu select.form-control,
    .template-focus-2 #siparisformu textarea.form-control {
        background: #ffffff !important;
    border-color: #bfdbfe !important;
        color: #0f172a !important;
    }
    .template-focus-2 #siparisformu .form-control::placeholder {
        color: #64748b !important;
    }
    .template-focus-2 #siparisformu label.product-element {
        background: #ffffff !important;
    border-color: #bfdbfe !important;
    border-left: 4px solid var(--primary-color) !important;
        border-radius: 10px !important;
        padding: 10px !important;
    box-shadow: 0 6px 16px rgba(30, 64, 175, .10) !important;
    }
    .template-focus-2 #siparisformu .price-amount {
        font-size: 18px !important;
        color: var(--primary-color) !important;
    }
    .template-focus-2 #siparisformu .old-price {
        color: #64748b !important;
    }
.template-focus-2 #siparisformu .price-box {
    border: 2px solid var(--primary-color) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07) !important;
}

/* Focus-2 paket kartı: modern güven tarzı net çerçeve */
.template-focus-2 #section-paket input[type="radio"][name="paket"] + label.product-element {
    display: block !important;
    background: #ffffff !important;
    border: 2px solid rgba(var(--primary-color-rgb), .45) !important;
    border-left: 4px solid var(--primary-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), .12) !important;
}
.template-focus-2 #section-paket input[type="radio"][name="paket"] + label.product-element:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 7px 18px rgba(var(--primary-color-rgb), .18) !important;
}
.template-focus-2 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border: 2px solid var(--primary-color) !important;
    border-left: 4px solid var(--primary-color) !important;
    background: rgba(var(--primary-color-rgb), .06) !important;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), .20) !important;
}

    /* Clean-3: premium minimal, açık ve sade */
    .template-clean-3 #siparisformu {
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 10px !important;
        padding: 8px !important;
    }
    .template-clean-3 #siparisformu .checkout-form {
        display: flex !important;
        flex-direction: column !important;
    }
    .template-clean-3 #kisisel-bilgiler { order: 1 !important; }
    .template-clean-3 #section-paket { order: 2 !important; }
    .template-clean-3 #onerilen-urunler-alani { order: 3 !important; }
    .template-clean-3 #section-varyasyon { order: 4 !important; }
    .template-clean-3 #section-odeme { order: 5 !important; }
    .template-clean-3 #siparisformu .form-section {
        background: #fcfcfc !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
        padding: 10px !important;
        box-shadow: none !important;
    }
    .template-clean-3 #siparisformu .form-section-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        border-bottom: 1px solid #e5e7eb !important;
        padding-bottom: 6px !important;
    }
    .template-clean-3 #siparisformu .form-control,
    .template-clean-3 #siparisformu select.form-control,
    .template-clean-3 #siparisformu textarea.form-control {
        border-radius: 8px !important;
        border-color: #d1d5db !important;
        min-height: 44px !important;
    }
    .template-clean-3 #siparisformu label.product-element {
        border-radius: 8px !important;
        border: 1px solid #d1d5db !important;
        padding: 9px !important;
        box-shadow: none !important;
    }
    .template-clean-3 #siparisformu .price-box {
        border: 1px solid #d1d5db !important;
        box-shadow: none !important;
    }
}

/* ===== Final Template System v2 ===== */
/* Kural: her görünümde önce paket, sonra önerilen ürünler */
#section-paket { order: 1 !important; }
#onerilen-urunler-alani { order: 2 !important; }

/* Focus-2 masaüstü özel kurgusu (sol: paket+upsell, sağ: form) */
@media (min-width: 993px) {
    .template-focus-2 #siparisformu .checkout-form {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .template-focus-2 #section-paket { grid-column: 1; grid-row: 1; }
    .template-focus-2 #onerilen-urunler-alani { grid-column: 1; grid-row: 2; }
    .template-focus-2 #kisisel-bilgiler { grid-column: 2; grid-row: 1 / span 2; }
    .template-focus-2 #section-varyasyon { grid-column: 2; grid-row: 3; }
    .template-focus-2 #section-odeme { grid-column: 1 / span 2; grid-row: 4; }
}

@media (max-width: 992px) {
    .template-focus-2 #siparisformu .checkout-form,
    .template-modern-1 #siparisformu .checkout-form,
    .template-clean-3 #siparisformu .checkout-form {
        display: flex !important;
        flex-direction: column !important;
    }
    .template-focus-2 #kisisel-bilgiler { order: 3 !important; }
    .template-focus-2 #section-varyasyon { order: 4 !important; }
    .template-focus-2 #section-odeme { order: 5 !important; }
    .template-modern-1 #kisisel-bilgiler { order: 3 !important; }
    .template-modern-1 #section-varyasyon { order: 4 !important; }
    .template-modern-1 #section-odeme { order: 5 !important; }
    .template-clean-3 #kisisel-bilgiler { order: 3 !important; }
    .template-clean-3 #section-varyasyon { order: 4 !important; }
    .template-clean-3 #section-odeme { order: 5 !important; }
}

/* Modern Güven (korunur ama daha rafine) */
.template-modern-1 #siparisformu .form-section {
    background: #fff !important;
    border: 1px solid rgba(var(--primary-color-rgb), .22) !important;
    box-shadow: 0 10px 24px rgba(var(--primary-color-rgb), .12) !important;
}
.template-modern-1 #section-paket label.product-element {
    border-left: 4px solid var(--primary-color) !important;
}
.template-modern-1 #section-paket .package-title {
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Focus-2: az boşluk, tek satır başlık/açıklama, canlı efekt */
.template-focus-2 #section-paket .form-section-title,
.template-focus-2 #onerilen-urunler-alani .form-section-title {
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.template-focus-2 #section-paket label.product-element {
    padding: 7px 9px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(var(--primary-color-rgb), .45) !important;
    box-shadow: 0 0 0 1px rgba(var(--primary-color-rgb), .15) inset !important;
}
.template-focus-2 #section-paket .package-title,
.template-focus-2 #section-paket .package-description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.template-focus-2 #section-paket .package-title {
    font-size: 12px !important;
    margin-bottom: 1px !important;
}
.template-focus-2 #section-paket .package-description {
    font-size: 10px !important;
    opacity: .92;
}
.template-focus-2 #section-paket .price-box {
    border: 1px solid rgba(var(--primary-color-rgb), .5) !important;
    border-radius: 8px !important;
    padding: 2px 8px !important;
    background: rgba(var(--primary-color-rgb), .12) !important;
}
.template-focus-2 #section-paket .old-price {
    font-size: 10px !important;
    opacity: .9;
}
.template-focus-2 #section-paket .price-amount {
    font-size: 15px !important;
    font-weight: 900 !important;
    animation: focusBlink 1.35s infinite;
}
.template-focus-2 #section-paket .shipping-info {
    font-size: 10px !important;
    white-space: nowrap;
}
.template-focus-2 #onerilen-urunler-alani .upsell-card {
    min-height: 68px !important;
    padding: 6px !important;
}

/* Clean-3: premium minimalist, daha sakin */
.template-clean-3 #siparisformu .form-section {
    background: #fcfcfd !important;
    border: 1px solid #e7e7ea !important;
    box-shadow: none !important;
}
.template-clean-3 #section-paket label.product-element {
    padding: 10px !important;
    border: 1px solid #d9dbe1 !important;
    border-radius: 8px !important;
}
.template-clean-3 #section-paket .package-title {
    font-size: 14px !important;
    font-weight: 700 !important;
}
.template-clean-3 #section-paket .package-description {
    font-size: 12px !important;
}
.template-clean-3 #section-paket .price-box {
    border: 1px solid #d1d5db !important;
    background: #fff !important;
}
.template-clean-3 #onerilen-urunler-alani .upsell-card {
    border-style: dashed !important;
    border-color: rgba(var(--primary-color-rgb), .35) !important;
}

@keyframes focusBlink {
    0%, 100% { opacity: 1; text-shadow: 0 0 0 rgba(0,0,0,0); }
    50% { opacity: .82; text-shadow: 0 0 8px rgba(var(--primary-color-rgb), .45); }
}

/* Final sıra garantisi: her şablonda önce paket, sonra önerilen ürünler */
.template-modern-1 #section-paket,
.template-focus-2 #section-paket,
.template-clean-3 #section-paket {
    order: 1 !important;
}
.template-modern-1 #onerilen-urunler-alani,
.template-focus-2 #onerilen-urunler-alani,
.template-clean-3 #onerilen-urunler-alani {
    order: 2 !important;
}
.template-modern-1 #kisisel-bilgiler,
.template-focus-2 #kisisel-bilgiler,
.template-clean-3 #kisisel-bilgiler {
    order: 3 !important;
}
.template-modern-1 #section-varyasyon,
.template-focus-2 #section-varyasyon,
.template-clean-3 #section-varyasyon {
    order: 4 !important;
}
.template-modern-1 #section-odeme,
.template-focus-2 #section-odeme,
.template-clean-3 #section-odeme {
    order: 5 !important;
}

/* Countdown: masaüstünde klasik görünüm, mobilde ultra kompakt */
@media (min-width: 769px) {
    .countdown-container {
        margin: 0 !important;
        padding: 20px !important;
        display: block !important;
    }
    .countdown-box {
        padding: 25px 30px !important;
        border-radius: 15px !important;
    }
    .countdown-header {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    .countdown-timer {
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    .timer-item {
        padding: 15px 20px !important;
        min-width: 80px !important;
    }
    .timer-item span {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    .timer-label {
        font-size: 12px !important;
    }
    .order-button {
        padding: 15px 30px !important;
        border-radius: 50px !important;
        font-size: 20px !important;
    }
    .stock-info .stock-box {
        padding: 15px 20px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 768px) {
    .countdown-container {
        margin: 6px 8px !important;
        padding: 8px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    .countdown-box {
        padding: 8px 9px !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
    }
    .countdown-header {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    .countdown-timer {
        gap: 4px !important;
        margin-bottom: 6px !important;
    }
    .timer-item {
        min-width: 46px !important;
        padding: 6px 4px !important;
        border-radius: 8px !important;
    }
    .timer-item span {
        font-size: 16px !important;
        line-height: 1.05 !important;
    }
    .timer-label {
        font-size: 9px !important;
        margin-top: 2px !important;
    }
    .timer-separator {
        font-size: 16px !important;
        margin: 0 1px !important;
    }
    .countdown-subtitle {
        font-size: 12px !important;
        padding-top: 6px !important;
    }
    .order-button {
        margin-top: 8px !important;
        padding: 7px 10px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        letter-spacing: .2px !important;
    }
    .stock-info .stock-box {
        padding: 8px 10px !important;
        border-radius: 10px !important;
        gap: 8px !important;
    }
    .stock-icon {
        font-size: 16px !important;
        padding: 6px !important;
    }
    .stock-text,
    .stock-count {
        font-size: 12px !important;
    }
}

/* ===== New templates from requested references ===== */
/* Stil 4 (motorbranda benzeri): sert çerçeve, kutu kutu görünüm */
.template-motorbranda-4 .site-template-wrapper {
    max-width: 880px;
    background: #ececec;
    border-left: 2px solid #111827;
    border-right: 2px solid #111827;
}

.template-motorbranda-4 .security-banner,
.template-motorbranda-4 .scrolling-banner {
    background: #111827 !important;
    color: #ffffff !important;
    border-top: 2px solid var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color) !important;
}

.template-motorbranda-4 #siparisformu {
    background: #e8e8e8;
    border: 2px solid #111827;
    border-radius: 6px;
    padding: 10px;
}

.template-motorbranda-4 #siparisformu .form-header-container {
    border-radius: 6px;
    border: 2px solid #111827;
    box-shadow: none !important;
}

.template-motorbranda-4 #siparisformu .form-section {
    background: #ededed !important;
    border: 2px solid #4b5563 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.template-motorbranda-4 #siparisformu .form-section-title {
    color: #1f2937 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-bottom: 1px solid #c6c6c6 !important;
}

.template-motorbranda-4 #section-paket label.product-element {
    background: #f7f7f7 !important;
    border: 2px solid #343a40 !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
}

.template-motorbranda-4 #section-paket label.product-element::before {
    width: 18px !important;
    height: 18px !important;
    left: 14px !important;
    border: 2px solid #c4c4c4 !important;
    background: #fff !important;
}

.template-motorbranda-4 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border: 2px solid #b91c1c !important;
    background: #f0f0f0 !important;
}

.template-motorbranda-4 #section-paket input[type="radio"][name="paket"]:checked + label.product-element::before {
    background: #cf1f25 !important;
    border-color: #cf1f25 !important;
}

.template-motorbranda-4 #section-paket .package-content {
    align-items: center !important;
}

.template-motorbranda-4 #section-paket .package-title {
    color: #111827 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
}

.template-motorbranda-4 #section-paket .package-description {
    font-size: 18px !important;
    color: #c1121f !important;
    font-weight: 700 !important;
}

.template-motorbranda-4 #section-paket .price-box {
    min-width: 120px;
    border: 2px solid #374151 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 6px 10px !important;
}

.template-motorbranda-4 #section-paket .old-price {
    font-size: 16px !important;
    color: #9ca3af !important;
}

.template-motorbranda-4 #section-paket .price-amount {
    font-size: 34px !important;
    line-height: 1.1 !important;
    color: #111827 !important;
    font-weight: 900 !important;
}

.template-motorbranda-4 #section-paket .shipping-info {
    text-align: right;
    margin-top: 4px !important;
}

.template-motorbranda-4 #section-paket .free-shipping,
.template-motorbranda-4 #section-paket .shipping-cost {
    background: transparent !important;
    color: #b91c1c !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
}

.template-motorbranda-4 #siparisformu .form-control,
.template-motorbranda-4 #siparisformu select.form-control,
.template-motorbranda-4 #siparisformu textarea.form-control {
    border: 2px solid #9ca3af !important;
    border-radius: 4px !important;
    background: #f9fafb !important;
}

.template-motorbranda-4 #siparisformu .form_btn {
    border-radius: 4px !important;
    border: 2px solid #111827 !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.template-motorbranda-4 .upsell-section {
    border: 2px solid #4b5563 !important;
    border-radius: 6px !important;
    background: #ededed !important;
}

.template-motorbranda-4 .upsell-card {
    border: 1px solid #9ca3af !important;
    border-radius: 6px !important;
    background: #fff !important;
}

.template-motorbranda-4 .upsell-card.is-selected {
    border: 2px solid #b91c1c !important;
    background: #fff5f5 !important;
}

/* Stil 5 (drone kampanya): parlak kampanya kartı, yumuşak köşeler */
.template-drone-5 .site-template-wrapper {
    max-width: 880px;
    background: #f8fbff;
}

.template-drone-5 .security-banner {
    background: linear-gradient(90deg, #0f172a, #1e293b) !important;
    color: #ffffff !important;
}

.template-drone-5 .scrolling-banner {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.24);
}

.template-drone-5 #siparisformu {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.template-drone-5 #siparisformu .form-header-container {
    border-radius: 16px;
    border: 1px solid #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.25);
}

.template-drone-5 #siparisformu .form-section {
    border: 1px solid #dbeafe !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

.template-drone-5 #siparisformu .form-section-title {
    font-size: 21px !important;
    font-weight: 900 !important;
    letter-spacing: 0.2px;
    color: #0f172a !important;
    border-bottom: 1px solid #dbeafe !important;
}

.template-drone-5 #section-paket label.product-element {
    border: 2px solid #dbeafe !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07) !important;
    padding: 13px !important;
}

.template-drone-5 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border: 2px solid var(--primary-color) !important;
    background: #f0f7ff !important;
    transform: translateY(-1px);
}

.template-drone-5 #section-paket .package-title {
    font-weight: 800 !important;
    color: #0f172a !important;
}

.template-drone-5 #section-paket .package-description {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

.template-drone-5 #section-paket .price-box {
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2) !important;
}

.template-drone-5 #section-paket .old-price {
    color: #dbeafe !important;
    font-weight: 600;
}

.template-drone-5 #section-paket .price-amount {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
}

.template-drone-5 #section-paket .free-shipping,
.template-drone-5 #section-paket .shipping-cost {
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px;
}

.template-drone-5 #siparisformu .form-control,
.template-drone-5 #siparisformu select.form-control,
.template-drone-5 #siparisformu textarea.form-control {
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

.template-drone-5 #siparisformu .form-control:focus,
.template-drone-5 #siparisformu select.form-control:focus,
.template-drone-5 #siparisformu textarea.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px #dbeafe !important;
}

.template-drone-5 #siparisformu .form_btn {
    border-radius: 14px !important;
    border: 0 !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.template-drone-5 .upsell-section {
    border: 1px solid #dbeafe !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #f8fbff, #f1f8ff) !important;
}

.template-drone-5 .upsell-card {
    border: 1px solid #bfdbfe !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

.template-drone-5 .upsell-card.is-selected {
    border: 2px solid var(--primary-color) !important;
    background: #eff6ff !important;
}

.template-drone-5 .countdown-box {
    border-radius: 18px !important;
    border: 1px solid #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22) !important;
}

.template-drone-5 .stock-info .stock-box {
    border-radius: 14px !important;
    border: 1px solid #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16) !important;
}

@media (max-width: 768px) {
    .template-motorbranda-4 #section-paket .package-title,
    .template-drone-5 #section-paket .package-title {
        font-size: 14px !important;
    }

    .template-motorbranda-4 #section-paket .price-amount {
        font-size: 22px !important;
    }

    .template-drone-5 #section-paket .price-amount {
        font-size: 22px !important;
    }

    .template-motorbranda-4 #siparisformu .form-section,
    .template-drone-5 #siparisformu .form-section {
        padding: 10px !important;
    }
}

/* Stil 6: Onyx Trust - koyu premium, yüksek güven hissi */
.template-onyx-6 .site-template-wrapper {
    max-width: 900px;
    background: linear-gradient(180deg, #0b1220, #111827);
    padding-bottom: 8px !important;
}

.template-onyx-6 .security-banner {
    background: linear-gradient(90deg, #020617, #0f172a) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.template-onyx-6 .scrolling-banner {
    background: linear-gradient(90deg, #1e293b, #334155) !important;
    color: #e2e8f0 !important;
    border: 0 !important;
}

.template-onyx-6 #siparisformu {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.45);
}

.template-onyx-6 #siparisformu .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-onyx-6 #siparisformu .form-section {
    margin-bottom: 0 !important;
    background: linear-gradient(180deg, #111827, #0f172a) !important;
    border: 1px solid #334155 !important;
    border-radius: 14px !important;
    padding: 12px !important;
    box-shadow: none !important;
}

.template-onyx-6 #siparisformu .form-section-title {
    color: #f8fafc !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
}

.template-onyx-6 #section-paket label.product-element {
    background: #111827 !important;
    border: 1px solid #475569 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 10px 12px !important;
}

.template-onyx-6 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border: 1px solid var(--primary-color) !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 1), rgba(30, 41, 59, 1)) !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.22) inset !important;
}

.template-onyx-6 #section-paket .package-title {
    color: #f8fafc !important;
    font-weight: 800 !important;
}

.template-onyx-6 #section-paket .package-description {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

.template-onyx-6 #section-paket .price-box {
    background: #020617 !important;
    border: 1px solid #64748b !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.template-onyx-6 #section-paket .old-price {
    color: #64748b !important;
}

.template-onyx-6 #section-paket .price-amount {
    color: #f8fafc !important;
    font-size: 24px !important;
    font-weight: 900 !important;
}

.template-onyx-6 #section-paket .free-shipping,
.template-onyx-6 #section-paket .shipping-cost {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid #475569 !important;
    color: #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 3px 9px !important;
    font-size: 10px !important;
}

.template-onyx-6 #siparisformu .form-control,
.template-onyx-6 #siparisformu select.form-control,
.template-onyx-6 #siparisformu textarea.form-control {
    background: #0b1220 !important;
    border: 1px solid #334155 !important;
    border-radius: 10px !important;
    color: #e2e8f0 !important;
    min-height: 44px !important;
}

.template-onyx-6 #siparisformu .form-control::placeholder {
    color: #64748b !important;
}

.template-onyx-6 #siparisformu .form_btn {
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.5);
}

.template-onyx-6 .upsell-section {
    background: #0b1220 !important;
    border: 1px solid #334155 !important;
    border-radius: 14px !important;
}

.template-onyx-6 .upsell-subtitle {
    color: #94a3b8 !important;
}

.template-onyx-6 .upsell-card {
    background: #111827 !important;
    border: 1px solid #334155 !important;
}

.template-onyx-6 .upsell-title {
    color: #f1f5f9 !important;
}

.template-onyx-6 .upsell-old-price {
    color: #64748b !important;
}

.template-onyx-6 .upsell-price {
    color: #22c55e !important;
}

.template-onyx-6 .upsell-card.is-selected {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) inset !important;
}

.template-onyx-6 .countdown-box,
.template-onyx-6 .stock-info .stock-box {
    border: 1px solid #475569;
}

/* Stil 7: Aura Commerce - açık, yoğun, modern e-ticaret estetiği */
.template-aura-7 .site-template-wrapper {
    max-width: 900px;
    background: #f5f7fb;
}

.template-aura-7 .security-banner {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0;
}

.template-aura-7 .security-banner .security-text {
    color: #334155 !important;
    font-weight: 600;
}

.template-aura-7 .scrolling-banner {
    background: linear-gradient(90deg, #0f172a, #1e293b) !important;
    color: #f8fafc !important;
    border: 0 !important;
}

.template-aura-7 #siparisformu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.template-aura-7 #siparisformu .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-aura-7 #siparisformu .form-section {
    margin-bottom: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    padding: 12px !important;
    box-shadow: none !important;
}

.template-aura-7 #siparisformu .form-section-title {
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
}

.template-aura-7 #section-paket label.product-element {
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06) !important;
    padding: 10px 12px !important;
}

.template-aura-7 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
    background: #f8fbff !important;
}

.template-aura-7 #section-paket .package-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.template-aura-7 #section-paket .package-description {
    color: #475569 !important;
    font-size: 12px !important;
}

.template-aura-7 #section-paket .price-box {
    background: #f8fbff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.template-aura-7 #section-paket .old-price {
    color: #94a3b8 !important;
}

.template-aura-7 #section-paket .price-amount {
    color: #0f172a !important;
    font-size: 24px !important;
    font-weight: 900 !important;
}

.template-aura-7 #section-paket .free-shipping,
.template-aura-7 #section-paket .shipping-cost {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-radius: 999px !important;
    padding: 3px 9px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

.template-aura-7 #siparisformu .form-control,
.template-aura-7 #siparisformu select.form-control,
.template-aura-7 #siparisformu textarea.form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    min-height: 44px !important;
}

.template-aura-7 #siparisformu .form-control:focus,
.template-aura-7 #siparisformu select.form-control:focus,
.template-aura-7 #siparisformu textarea.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px #dbeafe !important;
}

.template-aura-7 #siparisformu .form_btn {
    border-radius: 12px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
}

.template-aura-7 .upsell-section {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
}

.template-aura-7 .upsell-card {
    border: 1px solid #dbeafe !important;
    background: #ffffff !important;
    border-radius: 10px !important;
}

.template-aura-7 .upsell-card.is-selected {
    border: 2px solid #1d4ed8 !important;
    background: #eff6ff !important;
}

/* Mobil sıralama kuralı: paket > önerilen ürün > sipariş formu */
@media (max-width: 992px) {
    .template-onyx-6 #siparisformu .checkout-form,
    .template-aura-7 #siparisformu .checkout-form {
        display: flex !important;
        flex-direction: column !important;
    }

    .template-onyx-6 #section-paket,
    .template-aura-7 #section-paket {
        order: 1 !important;
    }

    .template-onyx-6 #onerilen-urunler-alani,
    .template-aura-7 #onerilen-urunler-alani {
        order: 2 !important;
    }

    .template-onyx-6 #kisisel-bilgiler,
    .template-aura-7 #kisisel-bilgiler {
        order: 3 !important;
    }

    .template-onyx-6 #section-varyasyon,
    .template-aura-7 #section-varyasyon {
        order: 4 !important;
    }

    .template-onyx-6 #section-odeme,
    .template-aura-7 #section-odeme {
        order: 5 !important;
    }
}

/* Paket kartlarında ortak semantik alanlar */
.package-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.package-index {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    opacity: 0.85;
}

.package-qty-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35px;
}

.package-discount {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.35px;
}

/* Stil 8: Matrix Cards - keskin, modüler, veri odaklı paket görünümü */
.template-matrix-8 .site-template-wrapper {
    max-width: 910px;
    background: #0b0f18;
    padding-bottom: 10px !important;
}

.template-matrix-8 .security-banner {
    background: #020617 !important;
    border-bottom: 1px solid #1f2937;
}

.template-matrix-8 .scrolling-banner {
    background: linear-gradient(90deg, #111827, #1e293b) !important;
    border: 0 !important;
}

.template-matrix-8 #siparisformu {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 26px 50px rgba(2, 6, 23, 0.55);
}

.template-matrix-8 #siparisformu .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.template-matrix-8 #siparisformu .form-section {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}

.template-matrix-8 #siparisformu .form-section-title {
    color: #f8fafc !important;
    border-bottom: 1px dashed #475569 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding-bottom: 7px !important;
    margin-bottom: 9px !important;
}

.template-matrix-8 #section-paket label.product-element {
    border: 1px solid #374151 !important;
    border-left: 4px solid #334155 !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #0f172a, #111827) !important;
    box-shadow: none !important;
    padding: 10px !important;
}

.template-matrix-8 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border-color: #22d3ee !important;
    border-left: 4px solid #22d3ee !important;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35) inset !important;
}

.template-matrix-8 #section-paket .package-topline {
    margin-bottom: 6px;
}

.template-matrix-8 #section-paket .package-index {
    color: #93c5fd;
}

.template-matrix-8 #section-paket .package-qty-badge {
    background: #0b1220;
    color: #cbd5e1;
    border: 1px solid #334155;
}

.template-matrix-8 #section-paket .package-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch !important;
    gap: 10px !important;
}

.template-matrix-8 #section-paket .left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.template-matrix-8 #section-paket .package-title {
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.template-matrix-8 #section-paket .package-description {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.template-matrix-8 #section-paket .right-content {
    min-width: 104px;
    display: flex;
    justify-content: flex-end;
}

.template-matrix-8 #section-paket .package-details {
    width: 104px;
    text-align: right;
}

.template-matrix-8 #section-paket .price-box {
    background: #020617 !important;
    border: 1px solid #475569 !important;
    border-radius: 8px !important;
    padding: 4px 6px !important;
    min-width: 0 !important;
}

.template-matrix-8 #section-paket .old-price {
    color: #64748b !important;
    font-size: 11px !important;
}

.template-matrix-8 #section-paket .price-amount {
    color: #f8fafc !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.template-matrix-8 #section-paket .package-discount {
    color: #22d3ee;
    text-align: right;
}

.template-matrix-8 #section-paket .shipping-info {
    margin-top: 3px !important;
}

.template-matrix-8 #section-paket .free-shipping,
.template-matrix-8 #section-paket .shipping-cost {
    background: #0b1220 !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

.template-matrix-8 #siparisformu .form-control,
.template-matrix-8 #siparisformu select.form-control,
.template-matrix-8 #siparisformu textarea.form-control {
    background: #0b1220 !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
    border-radius: 9px !important;
    min-height: 42px !important;
}

.template-matrix-8 #siparisformu .form-control::placeholder {
    color: #64748b !important;
}

.template-matrix-8 #siparisformu .form_btn {
    background: linear-gradient(135deg, #0284c7, #06b6d4) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 26px rgba(2, 132, 199, 0.35);
}

.template-matrix-8 .upsell-section {
    background: #0b1220 !important;
    border: 1px solid #334155 !important;
}

.template-matrix-8 .upsell-card {
    background: #111827 !important;
    border: 1px solid #334155 !important;
}

.template-matrix-8 .upsell-title {
    color: #e2e8f0 !important;
}

/* Stil 9: Zenith Editorial - açık, editoryal ve premium düzen */
.template-zenith-9 .site-template-wrapper {
    max-width: 910px;
    background: #f3f4f6;
}

.template-zenith-9 .security-banner {
    background: #ffffff !important;
    color: #111827 !important;
    border-bottom: 1px solid #e5e7eb;
}

.template-zenith-9 .scrolling-banner {
    background: linear-gradient(90deg, #1f2937, #374151) !important;
    color: #f9fafb !important;
    border: 0 !important;
}

.template-zenith-9 #siparisformu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 9px;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

.template-zenith-9 #siparisformu .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.template-zenith-9 #siparisformu .form-section {
    margin-bottom: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 11px !important;
    box-shadow: none !important;
}

.template-zenith-9 #siparisformu .form-section-title {
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 7px !important;
    margin-bottom: 8px !important;
}

.template-zenith-9 #section-paket label.product-element {
    background: #fcfcfd !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    padding: 11px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

.template-zenith-9 #section-paket input[type="radio"][name="paket"]:checked + label.product-element {
    border: 1px solid #0f172a !important;
    box-shadow: 0 0 0 2px #e5e7eb !important;
}

.template-zenith-9 #section-paket .package-topline {
    margin-bottom: 7px;
}

.template-zenith-9 #section-paket .package-index {
    color: #374151;
}

.template-zenith-9 #section-paket .package-qty-badge {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
}

.template-zenith-9 #section-paket .package-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center !important;
}

.template-zenith-9 #section-paket .left-content {
    min-width: 0;
}

.template-zenith-9 #section-paket .package-title {
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.template-zenith-9 #section-paket .package-description {
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.template-zenith-9 #section-paket .right-content {
    min-width: 104px;
}

.template-zenith-9 #section-paket .price-box {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    padding: 4px 6px !important;
    min-width: 0 !important;
}

.template-zenith-9 #section-paket .old-price {
    color: #9ca3af !important;
    font-size: 11px !important;
}

.template-zenith-9 #section-paket .price-amount {
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

.template-zenith-9 #section-paket .package-discount {
    color: #047857;
    text-align: right;
}

.template-zenith-9 #section-paket .free-shipping,
.template-zenith-9 #section-paket .shipping-cost {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
    border-radius: 999px !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

.template-zenith-9 #siparisformu .form-control,
.template-zenith-9 #siparisformu select.form-control,
.template-zenith-9 #siparisformu textarea.form-control {
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    min-height: 42px !important;
    background: #ffffff !important;
}

.template-zenith-9 #siparisformu .form_btn {
    background: linear-gradient(135deg, #111827, #374151) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.25);
}

/* Stil 8-9 mobil sıralama kuralı */
@media (max-width: 992px) {
    .template-matrix-8 #siparisformu .checkout-form,
    .template-zenith-9 #siparisformu .checkout-form {
        display: flex !important;
        flex-direction: column !important;
    }

    .template-matrix-8 #section-paket,
    .template-zenith-9 #section-paket {
        order: 1 !important;
    }

    .template-matrix-8 #onerilen-urunler-alani,
    .template-zenith-9 #onerilen-urunler-alani {
        order: 2 !important;
    }

    .template-matrix-8 #kisisel-bilgiler,
    .template-zenith-9 #kisisel-bilgiler {
        order: 3 !important;
    }

    .template-matrix-8 #section-varyasyon,
    .template-zenith-9 #section-varyasyon {
        order: 4 !important;
    }

    .template-matrix-8 #section-odeme,
    .template-zenith-9 #section-odeme {
        order: 5 !important;
    }
}

@media (max-width: 768px) {
    .template-matrix-8 #section-paket .package-content,
    .template-zenith-9 #section-paket .package-content {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
    }

    .template-matrix-8 #section-paket .right-content,
    .template-zenith-9 #section-paket .right-content {
        min-width: 96px !important;
        width: auto;
    }

    .template-matrix-8 #section-paket .package-details,
    .template-zenith-9 #section-paket .package-details {
        width: 96px !important;
        text-align: right;
    }

    .template-matrix-8 #section-paket .price-amount,
    .template-zenith-9 #section-paket .price-amount {
        font-size: 18px !important;
    }

    .template-matrix-8 #section-paket .old-price,
    .template-zenith-9 #section-paket .old-price {
        font-size: 10px !important;
    }

    .template-matrix-8 #section-paket .shipping-info,
    .template-zenith-9 #section-paket .shipping-info {
        margin-top: 2px !important;
    }

    .template-matrix-8 #section-paket .free-shipping,
    .template-matrix-8 #section-paket .shipping-cost,
    .template-zenith-9 #section-paket .free-shipping,
    .template-zenith-9 #section-paket .shipping-cost {
        font-size: 9px !important;
        padding: 2px 6px !important;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ===== Final Order Rules (desktop + mobile) ===== */
/* Template 2 (focus-2) desktop: sol önerilen>paket, sağ form */
@media (min-width: 993px) {
    .template-focus-2 #siparisformu .checkout-form {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .template-focus-2 #onerilen-urunler-alani {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .template-focus-2 #section-paket {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .template-focus-2 #kisisel-bilgiler {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
    }

    .template-focus-2 #section-varyasyon {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }

    .template-focus-2 #section-odeme {
        grid-column: 1 / span 2 !important;
        grid-row: 4 !important;
    }

    /* Template 2 HARİÇ tüm şablonlar: paket > önerilen > form */
    .template-modern-1 #siparisformu .checkout-form,
    .template-clean-3 #siparisformu .checkout-form,
    .template-motorbranda-4 #siparisformu .checkout-form,
    .template-drone-5 #siparisformu .checkout-form,
    .template-onyx-6 #siparisformu .checkout-form,
    .template-aura-7 #siparisformu .checkout-form,
    .template-matrix-8 #siparisformu .checkout-form,
    .template-zenith-9 #siparisformu .checkout-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
    }

    .template-modern-1 #section-paket,
    .template-clean-3 #section-paket,
    .template-motorbranda-4 #section-paket,
    .template-drone-5 #section-paket,
    .template-onyx-6 #section-paket,
    .template-aura-7 #section-paket,
    .template-matrix-8 #section-paket,
    .template-zenith-9 #section-paket { order: 1 !important; }

    .template-modern-1 #onerilen-urunler-alani,
    .template-clean-3 #onerilen-urunler-alani,
    .template-motorbranda-4 #onerilen-urunler-alani,
    .template-drone-5 #onerilen-urunler-alani,
    .template-onyx-6 #onerilen-urunler-alani,
    .template-aura-7 #onerilen-urunler-alani,
    .template-matrix-8 #onerilen-urunler-alani,
    .template-zenith-9 #onerilen-urunler-alani { order: 2 !important; }

    .template-modern-1 #kisisel-bilgiler,
    .template-clean-3 #kisisel-bilgiler,
    .template-motorbranda-4 #kisisel-bilgiler,
    .template-drone-5 #kisisel-bilgiler,
    .template-onyx-6 #kisisel-bilgiler,
    .template-aura-7 #kisisel-bilgiler,
    .template-matrix-8 #kisisel-bilgiler,
    .template-zenith-9 #kisisel-bilgiler { order: 3 !important; }
}

/* Mobil: tüm şablonlarda paket > önerilen > form */
@media (max-width: 992px) {
    .template-focus-2 #section-paket,
    .template-modern-1 #section-paket,
    .template-clean-3 #section-paket,
    .template-motorbranda-4 #section-paket,
    .template-drone-5 #section-paket,
    .template-onyx-6 #section-paket,
    .template-aura-7 #section-paket,
    .template-matrix-8 #section-paket,
    .template-zenith-9 #section-paket { order: 1 !important; }

    .template-focus-2 #onerilen-urunler-alani,
    .template-modern-1 #onerilen-urunler-alani,
    .template-clean-3 #onerilen-urunler-alani,
    .template-motorbranda-4 #onerilen-urunler-alani,
    .template-drone-5 #onerilen-urunler-alani,
    .template-onyx-6 #onerilen-urunler-alani,
    .template-aura-7 #onerilen-urunler-alani,
    .template-matrix-8 #onerilen-urunler-alani,
    .template-zenith-9 #onerilen-urunler-alani { order: 2 !important; }

    .template-focus-2 #kisisel-bilgiler,
    .template-modern-1 #kisisel-bilgiler,
    .template-clean-3 #kisisel-bilgiler,
    .template-motorbranda-4 #kisisel-bilgiler,
    .template-drone-5 #kisisel-bilgiler,
    .template-onyx-6 #kisisel-bilgiler,
    .template-aura-7 #kisisel-bilgiler,
    .template-matrix-8 #kisisel-bilgiler,
    .template-zenith-9 #kisisel-bilgiler { order: 3 !important; }
}

/* Final garanti: ödeme bölümü tüm şablonlarda her zaman en sonda */
#siparisformu .checkout-form #section-odeme {
    order: 999 !important;
}

@media (min-width: 993px) {
    .template-focus-2 #section-odeme {
        grid-column: 1 / span 2 !important;
        grid-row: 99 !important;
    }
}
