/* ==========================================================================
   0. TEMA İZOLASYONU VE MARKA DEĞİŞKENLERİ (SELF-DEFENDING CSS - v1.2.5)
   Enfold (#top), Astra, Avada, Divi, Elementor ve koyu/saydam zeminlere karşı tam koruma.
   Tüm başlık, alt başlık ve form etiketleri dış temalardan bağımsız olarak korunur.
   ========================================================================== */

:root,
.ekspres-calculator-container,
.ekspres-price-table-container {
    --ekspres-primary: #2563eb;
    --ekspres-primary-hover: #1d4ed8;
    --ekspres-primary-light: #eff6ff;
    --ekspres-primary-border: #bfdbfe;
    --ekspres-primary-focus-ring: rgba(37, 99, 235, 0.15);
    --ekspres-card-bg: #ffffff;
    --ekspres-card-border: #e2e8f0;
    --ekspres-title-color: #0f172a;
    --ekspres-text-color: #1e293b;
    --ekspres-subtitle-color: #475569;
    --ekspres-input-bg: #f8fafc;
    --ekspres-input-border: #cbd5e1;
}

/* 0.1. Kapsayıcı ve Kart İzolasyonu (Zemin ve Genel Font Koruması) */
#top .ekspres-calculator-container,
#top .ekspres-price-table-container,
.entry-content .ekspres-calculator-container,
.entry-content .ekspres-price-table-container,
.ekspres-calculator-container,
.ekspres-price-table-container {
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    color: var(--ekspres-text-color, #1e293b) !important;
    text-align: left !important;
    direction: ltr !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#top .ekspres-calculator-container .ekspres-calc-card,
#top .ekspres-price-table-container .ekspres-price-table-card,
.entry-content .ekspres-calculator-container .ekspres-calc-card,
.entry-content .ekspres-price-table-container .ekspres-price-table-card,
.ekspres-calc-card,
.ekspres-price-table-card {
    background: var(--ekspres-card-bg, #ffffff) !important;
    background-color: var(--ekspres-card-bg, #ffffff) !important;
    border: 1px solid var(--ekspres-card-border, #e2e8f0) !important;
    color: var(--ekspres-text-color, #1e293b) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 0.2. Başlık İzolasyonu (Enfold uppercase, white text ve devasa margin sızıntılarını önler) */
#top .ekspres-calculator-container h1,
#top .ekspres-calculator-container h2,
#top .ekspres-calculator-container h3,
#top .ekspres-calculator-container h4,
#top .ekspres-calculator-container .ekspres-calc-title,
#top .ekspres-price-table-container h1,
#top .ekspres-price-table-container h2,
#top .ekspres-price-table-container h3,
#top .ekspres-price-table-container h4,
#top .ekspres-price-table-container .ekspres-table-title,
.ekspres-calculator-container h1,
.ekspres-calculator-container h2,
.ekspres-calculator-container h3,
.ekspres-calculator-container h4,
.ekspres-calculator-container .ekspres-calc-title,
.ekspres-price-table-container h1,
.ekspres-price-table-container h2,
.ekspres-price-table-container h3,
.ekspres-price-table-container h4,
.ekspres-price-table-container .ekspres-table-title {
    color: var(--ekspres-title-color, #0f172a) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    margin: 0 0 8px 0 !important;
}

#top .ekspres-calculator-container .ekspres-calc-title,
.ekspres-calculator-container .ekspres-calc-title {
    font-size: 21px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#top .ekspres-price-table-container .ekspres-table-title,
.ekspres-price-table-container .ekspres-table-title {
    font-size: 23px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* 0.3. Alt Başlık ve Paragraf İzolasyonu */
#top .ekspres-calculator-container p,
#top .ekspres-calculator-container .ekspres-calc-subtitle,
#top .ekspres-price-table-container p,
#top .ekspres-price-table-container .ekspres-table-subtitle,
.ekspres-calculator-container p,
.ekspres-calculator-container .ekspres-calc-subtitle,
.ekspres-price-table-container p,
.ekspres-price-table-container .ekspres-table-subtitle {
    color: var(--ekspres-subtitle-color, #64748b) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#top .ekspres-price-table-container .ekspres-table-subtitle,
.ekspres-price-table-container .ekspres-table-subtitle {
    font-size: 14px !important;
}

/* 0.4. Form Etiketleri (Label) İzolasyonu - Buton sekmelerini (.ekspres-type-tab) ezmemesi için sınırlandırıldı */
#top .ekspres-calculator-container label.ekspres-label,
#top .ekspres-calculator-container .ekspres-label,
.ekspres-calculator-container label.ekspres-label,
.ekspres-calculator-container .ekspres-label {
    color: var(--ekspres-text-color, #1e293b) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    display: block !important;
    cursor: default;
}

#top .ekspres-calculator-container .ekspres-label strong,
.ekspres-calculator-container .ekspres-label strong {
    font-weight: 700 !important;
    color: var(--ekspres-text-color, #1e293b) !important;
}

#top .ekspres-calculator-container .ekspres-label-sub,
.ekspres-calculator-container .ekspres-label-sub {
    color: var(--ekspres-subtitle-color, #64748b) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: inline !important;
}

/* 0.5. Buton ve Link İzolasyonu */
#top .ekspres-calculator-container button,
#top .ekspres-calculator-container .ekspres-btn,
#top .ekspres-price-table-container button,
#top .ekspres-price-table-container .ekspres-table-btn,
.ekspres-calculator-container button,
.ekspres-calculator-container .ekspres-btn,
.ekspres-price-table-container button,
.ekspres-price-table-container .ekspres-table-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    font-style: normal !important;
}

/* 0.6. Fiyat Tablosu İzolasyonu (Zebra ve Kenarlık Sızıntı Önleyici) */
#top .ekspres-price-table-container table,
.ekspres-price-table-container table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

#top .ekspres-price-table-container th,
.ekspres-price-table-container th {
    background: #f8fafc !important;
    color: #475569 !important;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 14px !important;
    line-height: 1.4 !important;
}

#top .ekspres-price-table-container td,
.ekspres-price-table-container td {
    background: #ffffff !important;
    color: var(--ekspres-text-color, #1e293b) !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

#top .ekspres-price-table-container tr:hover td,
.ekspres-price-table-container tr:hover td {
    background: #f8fafc !important;
}

/* 0.7. Inline Fiyat Kısa Kodu İzolasyonu */
.ekspres-inline-price {
    font-weight: 700 !important;
    color: var(--ekspres-text-color, #1e293b) !important;
    display: inline-block !important;
    font-family: inherit !important;
}

/* Ekspres Kargo Hesaplayıcı - Frontend Stilleri (Enfold ve Mobil / Tablet / Kolon Uyumlu) */

/* 1. Ana Konteyner ve Container Query Tanımı */
.ekspres-calculator-container {
    container-type: inline-size;
    container-name: eksprescalc;
    width: 100% !important;
    max-width: 760px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2c3e50;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Yan taşmaları kesin olarak engeller */
}

.ekspres-calculator-container *,
.ekspres-calculator-container *::before,
.ekspres-calculator-container *::after {
    box-sizing: border-box !important;
}

.ekspres-calc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    padding: 26px 24px;
    width: 100% !important;
    min-width: 0;
}

.ekspres-calc-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.ekspres-calc-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.ekspres-calc-title .ekspres-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--ekspres-primary, #2563eb);
    flex-shrink: 0;
}

.ekspres-calc-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* 2. Gönderi Türü Seçim Sekmeleri (Koli vs Evrak) */
#top .ekspres-calculator-container .ekspres-type-tabs,
.ekspres-type-tabs {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#top .ekspres-calculator-container .ekspres-type-tab,
.ekspres-type-tab {
    flex: 1 1 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 16px 20px !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    text-align: center !important;
}

#top .ekspres-calculator-container .ekspres-type-tab input[type="radio"],
.ekspres-type-tab input[type="radio"] {
    display: none !important;
}

#top .ekspres-calculator-container .ekspres-type-tab .tab-icon,
.ekspres-type-tab .tab-icon {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

#top .ekspres-calculator-container .ekspres-type-tab .tab-label,
.ekspres-type-tab .tab-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: inherit !important;
}

#top .ekspres-calculator-container .ekspres-type-tab:hover,
.ekspres-type-tab:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

#top .ekspres-calculator-container .ekspres-type-tab.active,
.ekspres-type-tab.active {
    background: var(--ekspres-primary-light, #eff6ff) !important;
    border-color: var(--ekspres-primary, #2563eb) !important;
    color: var(--ekspres-primary-hover, #1d4ed8) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

#top .ekspres-calculator-container .ekspres-type-tab.active .tab-icon,
.ekspres-type-tab.active .tab-icon {
    color: var(--ekspres-primary, #2563eb) !important;
}

#top .ekspres-calculator-container .ekspres-type-tab.active .tab-label,
.ekspres-type-tab.active .tab-label {
    color: var(--ekspres-primary-hover, #1d4ed8) !important;
}

/* 3. Evrak Hızlı Ağırlık Seçim Butonları */
.ekspres-evrak-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.ekspres-preset-btn {
    padding: 10px 8px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ekspres-preset-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.ekspres-preset-btn.active {
    background: var(--ekspres-primary, #2563eb);
    border-color: var(--ekspres-primary, #2563eb);
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.25);
}

/* 4. Ağırlık Slider & Input Satırı */
.ekspres-weight-slider-row {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

/* 5. Form Alanları ve Etiketler */
.ekspres-form-group {
    margin-bottom: 20px;
    width: 100%;
}

.ekspres-label {
    display: block;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 8px;
}

.ekspres-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 4px;
}

.ekspres-label-inline {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.ekspres-label .required,
.ekspres-label-inline .required {
    color: #ef4444;
}

.ekspres-label-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: normal;
}

/* 6. Select ve Input Stilleri */
.ekspres-locked-country-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ekspres-primary-light, #eff6ff);
    border: 1.5px solid #93c5fd;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
    width: 100%;
}

.ekspres-locked-country-badge .dashicons {
    color: var(--ekspres-primary, #2563eb);
    font-size: 19px;
    width: 19px;
    height: 19px;
}

.ekspres-locked-country-badge .ekspres-locked-tag {
    background: var(--ekspres-primary, #2563eb);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: auto;
    letter-spacing: 0.5px;
}

.ekspres-inline-price {
    font-weight: 700;
    color: #1e293b;
    display: inline-block;
}

.ekspres-select-wrapper,
.ekspres-input-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}

.ekspres-select,
.ekspres-input {
    width: 100% !important;
    height: 46px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    outline: none;
}

.ekspres-select:focus,
.ekspres-input:focus {
    border-color: var(--ekspres-primary, #2563eb) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.ekspres-input-unit {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 12px;
    color: #64748b;
    pointer-events: none;
}

/* 7. Paket Kartı ve Çoklu Paket Öğesi */
.ekspres-package-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease;
    width: 100%;
    min-width: 0;
}

.ekspres-package-card:hover {
    border-color: #cbd5e1;
}

.ekspres-pkg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.ekspres-pkg-header .pkg-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ekspres-pkg-header .pkg-title .dashicons {
    color: var(--ekspres-primary, #2563eb);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.ekspres-btn-remove-pkg {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.ekspres-btn-remove-pkg:hover {
    background: #fecaca;
    color: #b91c1c;
}

.ekspres-btn-remove-pkg .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.ekspres-pkg-subsummary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ekspres-pkg-subsummary strong {
    color: #1e293b;
}

.ekspres-pkg-subsummary .divider {
    color: #cbd5e1;
}

/* 8. Ebat Kutuları Grid Düzeni (En, Boy, Yükseklik) */
.ekspres-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
    width: 100%;
    min-width: 0;
}

.ekspres-dim-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0 !important;
    width: 100%;
    overflow: visible; /* Kayan baloncuğun görünmesini sağlar */
}

.ekspres-dim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    flex-wrap: wrap;
    gap: 4px;
}

.ekspres-dim-num-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 2px 5px;
}

.ekspres-dim-input {
    width: 40px !important;
    height: 22px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    text-align: right;
    font-size: 13px !important;
    font-weight: 700;
    color: var(--ekspres-primary, #2563eb) !important;
    outline: none !important;
}

.ekspres-dim-num-wrap .unit {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

/* 9. Slider Konteyneri, Kayan Baloncuk ve Cetvel */
.ekspres-slider-container {
    position: relative;
    width: 100%;
    min-width: 0;
    padding-top: 14px;
}

/* Kayan Değer Baloncuğu */
.ekspres-bubble {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
    background: #1e293b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ekspres-bubble::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

/* Hover veya kaydırma anında baloncuk parlar */
.ekspres-slider-container:hover .ekspres-bubble,
.ekspres-slider-container.active-sliding .ekspres-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Range Slider Çubuğu */
.ekspres-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    min-width: 0;
    height: 6px;
    border-radius: 5px;
    background: #cbd5e1;
    outline: none;
    margin: 4px 0;
    padding: 0;
    cursor: pointer;
    display: block;
}

.ekspres-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ekspres-primary, #2563eb);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: transform 0.1s, background-color 0.1s;
}

.ekspres-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--ekspres-primary-hover, #1d4ed8);
}

.ekspres-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ekspres-primary, #2563eb);
    cursor: pointer;
    border: none;
}

/* Slider Cetvel / Barem Değerleri */
.ekspres-slider-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    margin-top: 3px;
    padding: 0 2px;
    user-select: none;
    line-height: 1;
}

/* 10. + Yeni Paket Ekle Butonu */
.ekspres-add-pkg-row {
    margin-bottom: 20px;
    width: 100%;
}

.ekspres-btn-add-pkg {
    width: 100%;
    padding: 11px;
    background: #f8fafc;
    border: 2px dashed #93c5fd;
    border-radius: 10px;
    color: var(--ekspres-primary, #2563eb);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.ekspres-btn-add-pkg:hover {
    background: var(--ekspres-primary-light, #eff6ff);
    border-color: var(--ekspres-primary, #2563eb);
    color: var(--ekspres-primary-hover, #1d4ed8);
}

/* 11. Fiyata Esas Ağırlık Canlı Göstergesi */
.ekspres-weight-summary-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ekspres-primary-light, #eff6ff);
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 18px 0;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.ekspres-weight-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ekspres-weight-col .weight-label {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.ekspres-weight-col .weight-val {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.ekspres-weight-divider {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.ekspres-weight-main-badge {
    background: var(--ekspres-primary, #2563eb);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.ekspres-weight-main-badge .badge-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.ekspres-weight-main-badge .badge-value {
    font-size: 17px;
    font-weight: 800;
}

/* 12. Taşıma Şartları Kutusu */
.ekspres-terms-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    transition: all 0.2s ease;
    width: 100%;
}

.ekspres-terms-box.terms-error {
    border-color: #ef4444;
    background: #fef2f2;
    animation: shake 0.4s ease;
}

.ekspres-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #334155;
    line-height: 1.4;
}

.ekspres-terms-label input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--ekspres-primary, #2563eb);
    cursor: pointer;
    flex-shrink: 0;
}

.ekspres-terms-label .terms-link {
    color: var(--ekspres-primary, #2563eb);
    text-decoration: underline;
    font-weight: 600;
    margin-left: 4px;
}

/* 13. Sipariş Meta Özeti (Fiyat Kartında) */
.ekspres-shipment-meta-summary {
    background: var(--ekspres-primary-light, #eff6ff);
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #1e40af;
    line-height: 1.4;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
}

/* 14. Sonuç / Fiyat Kartı */
.ekspres-prompt-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 14px 16px;
    color: #64748b;
    font-size: 13px;
    width: 100%;
}

.ekspres-prompt-box .dashicons {
    color: #94a3b8;
    font-size: 20px;
    flex-shrink: 0;
}

.ekspres-prompt-box p {
    margin: 0;
}

.ekspres-price-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.ekspres-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.ekspres-price-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

.ekspres-price-amount {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin: 4px 0;
}

.ekspres-price-subtext-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

#top .ekspres-calculator-container .ekspres-price-subtext,
.ekspres-price-subtext {
    display: inline-block !important;
    font-size: 12px !important;
    color: #059669 !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

#top .ekspres-calculator-container .ekspres-price-modal-trigger,
.ekspres-price-modal-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--ekspres-primary, #2563eb) !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    transition: color 0.15s ease, opacity 0.15s ease !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}

#top .ekspres-calculator-container .ekspres-price-modal-trigger:hover,
.ekspres-price-modal-trigger:hover {
    color: var(--ekspres-primary-hover, #1d4ed8) !important;
    opacity: 0.85 !important;
    background: transparent !important;
}

.ekspres-carrier-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    flex-shrink: 0;
}

.ekspres-carrier-badge .dashicons {
    color: var(--ekspres-primary, #2563eb);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Satın Al Butonu */
.ekspres-btn-submit {
    width: 100% !important;
    height: 50px !important;
    background: var(--ekspres-primary, #2563eb) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s ease !important;
}

.ekspres-btn-submit:hover {
    background: var(--ekspres-primary-hover, #1d4ed8) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px);
}

.ekspres-btn-submit:active {
    transform: translateY(0);
}

.ekspres-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
}

/* 23 kg Üzeri WhatsApp Kartı */
.ekspres-overweight-card {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

.ekspres-overweight-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #25d366;
    flex-shrink: 0;
}

.ekspres-overweight-content h4 {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 700;
    color: #92400e;
}

.ekspres-overweight-content p {
    font-size: 13px;
    color: #78350f;
    margin: 0 0 14px 0;
    line-height: 1.5;
}

.ekspres-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
}

.ekspres-btn-whatsapp:hover {
    background: #1ebc59;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

/* Hata Kartı */
.ekspres-error-card {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    width: 100%;
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ==============================================================
   15. CONTAINER QUERIES (ENFOLD 1/3, 1/2, 2/3 KOLONLARI VE TABLET UYUMU)
   ============================================================== */

/* Orta Genişlikteki Alanlar (580px - 440px): Tablet, iPad Mini/Pro 2/3 kolon */
@container eksprescalc (max-width: 580px) {
    .ekspres-dimensions-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
        gap: 10px;
    }
    .ekspres-slider-scale .scale-mid {
        display: none !important; /* Ara değerleri gizle, sadece baş ve son kalsın */
    }
}

/* Dar Alanlar (< 440px): Enfold 1/3 Kolonu, Mobil ve Sıkışık Alanlar */
@container eksprescalc (max-width: 440px) {
    .ekspres-calc-card {
        padding: 16px 12px !important;
    }
    .ekspres-dimensions-grid {
        grid-template-columns: 1fr !important; /* Kesinlikle tek sütun, 100% genişlik, ASLA TAŞMAZ */
        gap: 10px !important;
    }
    .ekspres-type-tabs {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .ekspres-weight-slider-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .ekspres-weight-slider-row .ekspres-input-wrapper {
        max-width: 100% !important;
    }
    .ekspres-slider-scale .scale-mid {
        display: none !important;
    }
    .ekspres-weight-summary-box {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 12px !important;
    }
    .ekspres-weight-divider {
        display: none !important;
    }
    .ekspres-price-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* ==============================================================
   16. CSS MEDIA QUERIES FALLBACK (Eski Tarayıcılar İçin)
   ============================================================== */
@media (max-width: 768px) {
    .ekspres-dimensions-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    }
}

@media (max-width: 520px) {
    .ekspres-dimensions-grid {
        grid-template-columns: 1fr !important;
    }
    .ekspres-calc-card {
        padding: 16px 12px !important;
    }
    .ekspres-type-tabs {
        flex-direction: column !important;
    }
    .ekspres-weight-slider-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .ekspres-weight-slider-row .ekspres-input-wrapper {
        max-width: 100% !important;
    }
    .ekspres-slider-scale .scale-mid {
        display: none !important;
    }
    .ekspres-weight-summary-box {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }
    .ekspres-weight-divider {
        display: none !important;
    }
    .ekspres-price-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* ==============================================================
   17. KARGO FİYAT TABLOSU SHORTCODE STİLLERİ
   ============================================================== */

.ekspres-price-table-container {
    container-type: inline-size;
    container-name: eksprestbl;
    width: 100% !important;
    max-width: 960px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
    box-sizing: border-box !important;
}

.ekspres-price-table-container *,
.ekspres-price-table-container *::before,
.ekspres-price-table-container *::after {
    box-sizing: border-box !important;
}

.ekspres-price-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    padding: 28px 24px;
    width: 100% !important;
}

/* Başlık Alanı */
.ekspres-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.ekspres-table-header-left {
    flex: 1;
    min-width: 250px;
}

.ekspres-table-title {
    font-size: 23px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.ekspres-country-flag {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ekspres-table-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Güven Rozetleri */
.ekspres-table-trust-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ekspres-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.ekspres-trust-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--ekspres-primary, #2563eb);
}

.ekspres-trust-badge.carrier-highlight {
    background: var(--ekspres-primary-light, #eff6ff);
    border-color: #bfdbfe;
    color: var(--ekspres-primary-hover, #1d4ed8);
}

.ekspres-trust-badge.carrier-highlight .dashicons {
    color: var(--ekspres-primary-hover, #1d4ed8);
}

/* Araç Çubuğu: Filtre Butonları ve Arama */
.ekspres-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ekspres-table-filter-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ekspres-filter-tab {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1.2;
}

.ekspres-filter-tab .tab-count,
.ekspres-filter-tab .tab-sub {
    font-size: 11px;
    opacity: 0.8;
}

.ekspres-filter-tab:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.ekspres-filter-tab.active {
    background: var(--ekspres-primary, #2563eb);
    border-color: var(--ekspres-primary, #2563eb);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.ekspres-table-search-box {
    position: relative;
    min-width: 200px;
}

.ekspres-table-search-box .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
}

.ekspres-search-input {
    width: 100%;
    padding: 8px 12px 8px 34px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ekspres-search-input:focus {
    border-color: var(--ekspres-primary, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* Fiyat Tablosu ve Kapsayıcısı */
.ekspres-table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.ekspres-price-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 14px;
    margin: 0 !important;
    background: #ffffff;
}

.ekspres-price-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 13px 16px;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}

.ekspres-price-table thead th.th-action {
    text-align: right;
}

.ekspres-price-table tbody tr {
    transition: background-color 0.15s ease;
}

.ekspres-price-table tr.ekspres-row-hidden,
.ekspres-price-table tbody tr.ekspres-row-hidden {
    display: none !important;
}

.ekspres-price-table tbody tr:nth-child(even) {
    background: #fbfcfe;
}

.ekspres-price-table tbody tr:hover {
    background: #f1f5f9;
}

.ekspres-price-table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.ekspres-price-table tbody tr:last-child td {
    border-bottom: none;
}

.ekspres-price-table tbody td.td-action {
    text-align: right;
    white-space: nowrap;
}

/* Hücre Bileşenleri */
.ekspres-weight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ekspres-primary-light, #eff6ff);
    color: var(--ekspres-primary-hover, #1d4ed8);
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #dbeafe;
}

.ekspres-weight-pill .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: var(--ekspres-primary, #2563eb);
}

.ekspres-service-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.ekspres-delivery-badge {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
}

.ekspres-price-val {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.ekspres-table-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ekspres-primary, #2563eb);
    color: #ffffff !important;
    padding: 7px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
    white-space: nowrap;
}

.ekspres-table-btn:hover {
    background: var(--ekspres-primary-hover, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
    color: #ffffff !important;
}

/* Çift Sütunlu Grid */
.ekspres-dual-table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Boş / Sonuç Bulunamadı */
.ekspres-table-empty-notice {
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 12px;
}

/* 23 Kg Üzeri WhatsApp Alanı */
.ekspres-table-overweight-callout {
    margin-top: 22px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid #86efac;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.ekspres-callout-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 260px;
}

.ekspres-callout-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.ekspres-callout-icon .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
}

.ekspres-callout-text .callout-heading {
    font-size: 16px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 4px 0;
}

.ekspres-callout-text .callout-desc {
    font-size: 13px;
    color: #047857;
    margin: 0;
    line-height: 1.45;
}

.ekspres-callout-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ekspres-callout-wa-btn:hover {
    background: #1eb857;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.38);
    color: #ffffff !important;
}

.ekspres-callout-wa-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Alt Açıklamalar */
.ekspres-table-footer-notes {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ekspres-footer-note-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.ekspres-footer-note-item .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: #059669;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Bilgi ve Uyarı Kutuları */
.ekspres-alert-box {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin: 16px 0;
}

.ekspres-alert-warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.ekspres-alert-info {
    background: var(--ekspres-primary-light, #eff6ff);
    border: 1px solid #dbeafe;
    color: #1e40af;
}

/* Responsive Kurallar: Container Query */
@container eksprestbl (max-width: 680px) {
    .ekspres-dual-table-grid {
        grid-template-columns: 1fr !important;
    }
    .ekspres-table-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .ekspres-table-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .ekspres-table-search-box {
        width: 100% !important;
    }
    .ekspres-callout-content {
        flex-direction: column !important;
        text-align: center !important;
    }
    .ekspres-callout-action,
    .ekspres-callout-wa-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

@container eksprestbl (max-width: 480px) {
    .ekspres-price-table-card {
        padding: 16px 12px !important;
    }
    .ekspres-price-table thead th:nth-child(2),
    .ekspres-price-table tbody td:nth-child(2) {
        display: none !important; /* Hizmet sütununu dar ekranda gizle, Ağırlık ve Fiyat öne çıksın */
    }
    .ekspres-price-table thead th:nth-child(3),
    .ekspres-price-table tbody td:nth-child(3) {
        display: none !important; /* Teslimat sütununu da dar ekranda gizle */
    }
    .ekspres-price-table thead th,
    .ekspres-price-table tbody td {
        padding: 9px 10px !important;
    }
    .ekspres-price-val {
        font-size: 15px !important;
    }
    .ekspres-table-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* Media Query Fallback */
@media (max-width: 680px) {
    .ekspres-dual-table-grid {
        grid-template-columns: 1fr !important;
    }
    .ekspres-table-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .ekspres-table-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .ekspres-table-search-box {
        width: 100% !important;
    }
    .ekspres-callout-content {
        flex-direction: column !important;
        text-align: center !important;
    }
    .ekspres-callout-action,
    .ekspres-callout-wa-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .ekspres-price-table-card {
        padding: 16px 12px !important;
    }
    .ekspres-price-table thead th:nth-child(2),
    .ekspres-price-table tbody td:nth-child(2) {
        display: none !important;
    }
    .ekspres-price-table thead th:nth-child(3),
    .ekspres-price-table tbody td:nth-child(3) {
        display: none !important;
    }
    .ekspres-price-table thead th,
    .ekspres-price-table tbody td {
        padding: 9px 10px !important;
    }
    .ekspres-price-val {
        font-size: 15px !important;
    }
    .ekspres-table-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   Fiyata Neler Dahil Modal Açılır Penceresi & Tema İzolasyonu
   ========================================================================== */
body.ekspres-modal-open {
    overflow: hidden !important;
}

/* Kapalı durum (Varsayılan): Sayfa açıldığında KESİNLİKLE gizlidir */
#top .ekspres-modal:not(.ekspres-modal-active),
.ekspres-modal:not(.ekspres-modal-active),
#top .ekspres-modal,
.ekspres-modal {
    display: none !important;
}

/* Açık durum: Tıklandığında ortalanmış flexbox olarak göster */
#top .ekspres-modal.ekspres-modal-active,
.ekspres-modal.ekspres-modal-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.ekspres-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    cursor: pointer !important;
}

#top .ekspres-modal-dialog,
.ekspres-modal-dialog {
    position: relative !important;
    z-index: 2 !important;
    background: #ffffff !important;
    width: 100% !important;
    max-width: 540px !important;
    max-height: 88vh !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    animation: ekspresModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

@keyframes ekspresModalPop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ekspres-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#top .ekspres-modal-title,
.ekspres-modal-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.ekspres-modal-title .dashicons {
    color: var(--ekspres-primary, #2563eb) !important;
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

#top .ekspres-modal-close,
.ekspres-modal-close {
    background: #e2e8f0 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
    box-shadow: none !important;
}

#top .ekspres-modal-close:hover,
.ekspres-modal-close:hover {
    background: #cbd5e1 !important;
    color: #0f172a !important;
    transform: scale(1.05) !important;
}

.ekspres-modal-body {
    padding: 20px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: #ffffff !important;
    max-height: calc(88vh - 120px) !important;
}

.ekspres-modal-section {
    border-radius: 12px !important;
    padding: 14px 16px !important;
}

.ekspres-modal-section-included {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
}

.ekspres-modal-section-excluded {
    background: #fffbeb !important;
    border: 1px solid #fef3c7 !important;
}

#top .ekspres-modal-section-title,
.ekspres-modal-section-title {
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.ekspres-modal-section-included .ekspres-modal-section-title {
    color: #15803d !important;
}

.ekspres-modal-section-excluded .ekspres-modal-section-title {
    color: #b45309 !important;
}

.ekspres-modal-section-title .dashicons {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
}

.ekspres-modal-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

#top .ekspres-modal-list li,
.ekspres-modal-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #334155 !important;
}

.ekspres-modal-list .list-bullet {
    flex-shrink: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.ekspres-modal-section-excluded .ekspres-modal-list li strong {
    color: #78350f !important;
    font-weight: 700 !important;
}

.ekspres-modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 12px 20px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

#top .ekspres-modal-btn-close,
.ekspres-modal-btn-close {
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

#top .ekspres-modal-btn-close:hover,
.ekspres-modal-btn-close:hover {
    background: #1e293b !important;
    color: #ffffff !important;
}

