/* asglobalpower.com Güç Hesaplayıcı CSS (Bootstrap Bağımsız Grid Sürümü) */

.guc-calc-container-custom {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    padding: 20px;
}

/* Kategori Başlıkları ve Sarı Çizgi */
.guc-calc-container-custom h5.fw-bolder {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #1a202c !important;
    margin-top: 25px !important;
    margin-bottom: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guc-calc-container-custom .small-seperator.yellow {
    width: 45px !important;
    height: 6px !important;
    background: #fdc800 !important;
    border-radius: 0px !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
}

/* Ana Grid Layout (Bootstrap'ten bağımsız 3 kolon) */
.guc-calc-container-custom .guc-calc-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .guc-calc-container-custom .guc-calc-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .guc-calc-container-custom .guc-calc-grid-layout {
        grid-template-columns: 1fr;
    }
}

.guc-calc-container-custom .calc-column {
    display: flex;
    flex-direction: column;
}

/* Liste Alanları */
.guc-calc-container-custom .well {
    margin-bottom: 25px;
}

.guc-calc-container-custom .checked-list-box {
    padding-left: 0 !important;
    margin-bottom: 0;
    list-style: none;
}

/* Liste Elemanları (Kutular) */
.guc-calc-container-custom .calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 12px 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    height: 50px;
    box-sizing: border-box;
}

.guc-calc-container-custom .calc-item:hover,
.guc-calc-container-custom .calc-item.is-active {
    background-color: #fcfcfc;
    border-color: #cbd5e1;
}

/* Checkbox ve Etiket */
.guc-calc-container-custom .form-check-inline {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.guc-calc-container-custom .form-check-input {
    margin-right: 12px;
    cursor: pointer;
    width: 15px;
    height: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    accent-color: #000000;
}

.guc-calc-container-custom .form-check-label {
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    user-select: none;
}

/* Miktar Kontrolleri (fieldset) */
.guc-calc-container-custom .calc-item fieldset {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
}

.guc-calc-container-custom .calc-item fieldset legend {
    display: none;
}

.guc-calc-container-custom .calc-item fieldset input[type="button"] {
    background-color: #a92420;
    color: #ffffff;
    cursor: pointer;
    width: 24px;
    height: 24px;
    font-weight: 700;
    font-size: 14px;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 3px;
    transition: background-color 0.15s ease;
}

.guc-calc-container-custom .calc-item fieldset input[type="button"]:hover {
    background-color: #8c1e1a;
}

.guc-calc-container-custom .calc-item fieldset input[type="text"] {
    border: 1px solid #cbd5e1;
    width: 40px;
    height: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    margin: 0 6px;
    background: #ffffff;
    color: #1a202c;
    border-radius: 3px;
}

/* Özel Cihaz Ekleme Satırları */
.guc-calc-container-custom .extra-device-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.guc-calc-container-custom .calc-item .optional-val-entry {
    width: 50% !important;
    height: 34px !important;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    color: #4a5568;
    background-color: #ffffff;
    box-sizing: border-box;
}

.guc-calc-container-custom .calc-item .input-group {
    width: 48% !important;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.guc-calc-container-custom .calc-item .input-group input[type="number"] {
    height: 34px !important;
    border: 1px solid #cbd5e1;
    border-right: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 4px 10px;
    width: 100%;
    font-size: 13px;
    color: #4a5568;
    background-color: #f8fafc;
    box-sizing: border-box;
}

.guc-calc-container-custom .calc-item .input-group-text {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #4a5568;
    box-sizing: border-box;
}

/* Bottom Summary Section (Bootstrap'ten bağımsız Flex) */
.guc-calc-container-custom .calculator-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 40px !important;
    margin-top: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guc-calc-container-custom .total-watt,
.guc-calc-container-custom .needed-watt {
    text-align: center;
    flex: 1;
}

.guc-calc-container-custom .total-watt span:first-child,
.guc-calc-container-custom .needed-watt span:first-child {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.guc-calc-container-custom .the-total {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
}

/* Jeneratörü Bul Butonu */
.guc-calc-container-custom .findmy-jenerator {
    text-align: right;
    flex: 1;
}

.guc-calc-container-custom .findmy-jenerator button {
    background-color: #000000;
    color: #ffffff;
    border: 0;
    padding: 16px 45px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 60px; /* Yuvarlak Buton */
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.guc-calc-container-custom .findmy-jenerator button:hover {
    background-color: #222222;
}

.guc-calc-container-custom .findmy-jenerator button:active {
    transform: scale(0.98);
}

.guc-calc-container-custom #searchWarning {
    color: #a92420;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 700;
    display: block;
    text-align: right;
}

@media (max-width: 767px) {
    .guc-calc-container-custom .calculator-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .guc-calc-container-custom .findmy-jenerator {
        text-align: center;
        width: 100%;
    }
    .guc-calc-container-custom #searchWarning {
        text-align: center;
    }
}

/* Dynamic Product Grid */
.guc-calc-container-custom .generator-results-section {
    border-top: 1px dashed #e2e8f0;
    padding-top: 40px;
    margin-top: 40px;
}

.guc-calc-container-custom .results-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 25px;
}

.guc-calc-container-custom .generator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Sonuc karti = /jenerator-seti/ sayfasindaki ekipman kartinin birebir ayni gorunumu.
   Degerler o sayfadan tarayicida olculerek alindi: kart #ECECEC / radius 20px /
   padding 50px, baslik Montserrat 16px 700 #212529, urun kodu .95em 700 #B0121B,
   buton #FDC800 / radius 20px / 8px 13px / 13px 700 / margin-top 13px.
   Fiyat gosterilmiyor: ekipman kartlarinda da yok (urunlerin bir kisminda fiyat
   girili degil, kartlar talep toplamaya yonlendiriyor). */
.guc-calc-container-custom .generator-card {
    background: #ECECEC;
    border: 1px solid #ECECEC;
    border-radius: 20px;
    padding: 50px;
    box-shadow: none;
    overflow: hidden;
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-size: 16px;
}

.guc-calc-container-custom .generator-card:hover {
    border-color: #ECECEC;
    box-shadow: none;
}

.guc-calc-container-custom .generator-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
    color: inherit;
}

.guc-calc-container-custom .generator-img {
    display: block;
    width: 100%;
    height: auto;
    background: none;
    padding: 0;
    border: 0;
    margin-bottom: 16px;
}

.guc-calc-container-custom .generator-img img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

.guc-calc-container-custom .generator-name {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.4;
}

/* mu-plugin'deki .asgp-loop-code ile ayni degerler:
   Montserrat 16px / 700 / #A92420 (kurumsal kirmizi, eski sitedeki kart ile ayni) */
.guc-calc-container-custom .generator-code {
    display: block;
    margin: .2em 0 .15em;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #A92420;
    line-height: 1.2;
    text-decoration: none;
}

.guc-calc-container-custom .view-generator-btn {
    display: inline-block;
    text-align: center;
    background: #FDC800;
    color: #000000 !important;
    text-decoration: none !important;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 13px;
    transition: background-color 0.2s ease;
}

.guc-calc-container-custom .view-generator-btn:hover {
    background: #e8b800;
}
