.mygesti-button-container {
    margin: 15px 0;
}

.gesti-section {
    margin-top: 30px;
    background: #f0f5f9;
    border-radius: 12px;
    padding: 20px 20px 5px 20px;

}

.gesti-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
}

.mt-4 {
    margin-top: 32px;
}

.gesti-seller-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow:0 0 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 13px 16px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease;
}

.gesti-seller-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.gesti-seller-main {
    flex: 1;
    min-width: 220px;
}

.gesti-seller-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gesti-seller-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gesti-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.badge-installment {
  
    background-image: linear-gradient(270deg,#142d67,#6191ff);
}

.badge-credit {
     background-image: linear-gradient(270deg,#142d67,#6191ff);
}

.gesti-seller-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.gesti-meta-label {
    color: #6b7280;
}

.gesti-meta-value {
    color: #142d67;
    font-weight: 700;
}
.gesti-title i{
    margin-left:10px;
    color:#0275d8;
}
.gesti-seller-desc, .gesti-seller-price, .gesti-rule-selection, .gesti-price-breakdown {
    flex: 1;
    padding: 0 10px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gesti-seller-desc p{
    margin:0;
    font-size:13px;
}
.gesti-desc-text {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.gesti-fee-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #b91c1c;
    margin: 0;
}

.gesti-seller-action {
    width: 160px;
}

.btn-gesti-add {
    width: 100%;
    background-color: #e7004a;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-gesti-add:hover {
    background-color: #dc2626;
}

.gesti-empty {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    padding: 20px 0;
}

.mygesti-close-btn {
    display: none;
}
.gesti-seller-desc{
    max-width:120px;
}
.gesti-seller-desc p:last-child{
    color: rgb(60, 84, 141);
}
@media (min-width: 991px) {
    .gesti-seller-main{
        max-width:250px;
    }
.gesti-price-breakdown{
       max-width:250px;
}
}
#btn-open-gesti{
    display: block;
  border: 1px dashed rgb(3, 70, 208);
  color: rgb(34, 58, 112);
  font-weight: bold;
  font-size: 13px;
  padding: 15px 5px;
}
#btn-open-gesti i{
    font-size:20px;
    margin-left:10px;
}
@media (max-width: 991px) {
    .gesti-title {
  margin-bottom: 0px;
    }
    .gesti-seller-desc, .gesti-seller-price, .gesti-rule-selection, .gesti-price-breakdown {
  padding: 0;
 margin: 0 !important;
  width:100%;
}
.gesti-seller-main:after{
width: calc(100% + 30px);
    left: -15px;
    bottom: -10px;
    position: absolute;
    content: "";
    background: #ddd;
    height: 1px;
}
    .gesti-installment-card .gesti-seller-desc{
        display:none;
    }
    .gesti-section {
 margin-top: 0 !important;
  background: #f0f5f9;
  border-radius: 0;
  padding: 20px 10px 0 10px;
}
    .gesti-seller-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .gesti-seller-main {
        width: 100%;
        margin-bottom:5px;
        position:relative;
    }

    .gesti-seller-desc {
width: 100%;
    padding: 0;
    max-width: 100%;
    margin: 0;
    border-right: none;
    border-left: none;
    }

    .gesti-seller-action {
        width: 100%;
    }
}
.gesti-price-row{
    font-family: irswl;
  font-feature-settings: "ss02";
  font-size:13px;
}
@media (max-width: 767px) {
    .mygesti-modal-container {
        display: none;
        position: fixed;
        z-index: 99999999999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        backdrop-filter: blur(4px);
    }

    .mygesti-modal-container.active {
        display: block;
    }

    .mygesti-modal-content {
position: relative;
    background: #f0f5f9;
    margin: auto;
    padding: 0px;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    z-index: 9;
    }

    .mygesti-close-btn {
        display: block;
        position: absolute;
        left: 20px;
        top: 15px;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        color: #6b7280;
    }
}
