/*.device-filter{
    width: 52.344vw;
}*/
.device-filter .brand-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.313vw;
    margin-bottom: 1.042vw;
}

.device-filter .brand-filter .brand_logo {
    background: #FFFFFF33;
    padding: 0.521vw 1.302vw;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.3;
    /*width: 6.771vw;*/
}

.device-filter .brand-filter .brand_logo:hover{
    opacity: 1;
}

.brand-filter .brand_logo.active{
    background: #FFFFFF0D;
    opacity: 1;
}

.brand-filter .brand_logo.active img {
    filter: brightness(1000%) saturate(0); 
}

.device-filter .type-btn {
    color: #fff;
    font-family: 'Montserrat font';
    font-size: 0.833vw;
    font-weight: 700;
    line-height: 1vw;
    letter-spacing: 0.01vw;
    border-radius: 10px;
    padding: 0.625vw 1.042vw;
    border: 1px solid #FFFFFF66;
    background: transparent;
}

.device-filter .type-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.521vw;
    margin-bottom: 1.042vw;
    justify-content: flex-start;
    align-items: center;
}

.device-filter .type-btn.active{
	background: #FFFFFF4F;
}

.device-filter .type-btn:hover {
    background: #FFFFFF4F;
}

.device-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.042vw;
  align-items: stretch;
}

.device-card {
  display: flex;
  flex-direction: column;
  width: 16.719vw;
  background: #FFFFFF1A;
  border-radius: 20px;
  padding: 2.083vw 1.042vw;
  box-sizing: border-box;
}

.device-blk {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  height: 100%;
}

.device-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.purchase-btn-blk {
  margin-top: 1rem;
}

.device-card .device-img img {
    width: 9.948vw;
    height: 7.552vw;
}

.device-card .device-img img.no-image {
    width: 7.813vw;
    height: 5.208vw;
}

.device-img{
    margin-bottom: 1.042vw;
}

.device-card h3 {
    color: #fff;
    font-size: 1.042vw;
    font-weight: 700;
    line-height: 1vw;
    letter-spacing: 0.01vw;
    font-family: 'Montserrat font';
    margin-bottom: 2.083vw;
}

.device-card .device-model-name p {
    color: #ffff;
    font-size: 0.833vw;
    font-family: 'Montserrat font';
    font-weight: 700;
    line-height: 1.146vw;
    letter-spacing: 0.01vw;
}

.device-card .device-model-name{
    margin-bottom: 0.521vw;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 2.344vw;
    height: 0.833vw;
    padding: 0.26vw;
}

.switch input { display: none; }

.slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ffffff;
    transition: 0.4s;
    border-radius: 40px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 0.313vw;
    width: 0.313vw;
    left: 0.156vw; bottom: 0.26vw;
    background-color: #3E3E3E;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
  background-color: #B3B4FF;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Plan visibility */
.plan { display: none; }


.device-card .plan-toggle-row span {
    color: #FFFFFF;
    font-family: 'MONTSERRAT FONT';
    font-weight: 800;
    font-size: 0.729vw;
    line-height: 1.146vw;
    letter-spacing: 0.01vw;
    text-align: right;
    vertical-align: middle;
    text-transform: capitalize;
}

.device-card .plan-toggle-row{
    margin-bottom: 0.521vw;
}

.device-card .plan .price {
    color: #ffffff;
    font-size: 1.302vw;
    font-weight: 500;
    font-family: 'MONTSERRAT FONT';
    line-height: 2.083vw;
    letter-spacing: 0.01vw;
    margin-bottom: 1.302vw;
}

.device-card .premium-plan .price,
.device-card .premium-plan .details {
    color: #ffffff;
}

/* ONSITE plan styles */
.device-card .onsite-plan .price,
.device-card .onsite-plan .details {
    color: #B3B4FF!important;
}

.details {
    font-weight: 700;
    font-size: 0.833vw;
    line-height: 130%;
    letter-spacing: -0.5px;
    margin-bottom: 1.25vw;
}

.purchase-button {
    display: flex;
    flex-direction: row-reverse; /* RTL layout */
    align-items: center;
    justify-content: flex-start;  
    width: fit-content;
    gap: 0.521vw;
    text-decoration: none;
}

.purchase-button .text {
    color: #ffffff;
    font-family: 'MONTSERRAT FONT', sans-serif;
    font-size: 0.938vw;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1%;
}

.onsite-plan .purchase-button .text {
    color: #B3B4FF;
}

.purchase-button .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-button .icon-btn img {
    width: 2.604vw;
    height: 2.604vw;
}

/* Premium plan selected: post title and labels should be white */
.device-card.premium-selected h3,
.device-card.premium-selected .plan-toggle-row span {
    color: #fff;
}

/* Onsite plan selected: post title and labels should be #B3B4FF */
.device-card.onsite-selected h3,
.device-card.onsite-selected .plan-toggle-row span,
.device-card.onsite-selected .device-model-name p
 {
    color: #B3B4FF;
}

.device-card .popup-blk a,
.popup-modal .popup-content a
 {
    font-family: 'Almoni DL AAA Regular';
    color: #00A9CC;
    font-size: 0.729vw;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0;
}

.device-card .popup-blk a:hover {   
    color: #00A9CC;
}

.popup-blk{
    margin-bottom: 1.042vw;
}

.popup-blk .popup-icon,
.popup-modal .popup-icon{
    vertical-align: middle;
}

/*Popup CSS*/
/* Popup Modal Background */
.popup-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 5.208vw;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Dark background */
}

/* Popup Content Box */
.popup-content {
    display: flex;
    flex-direction: column;
    gap: 1.719vw;
    background-color: #fff;
    margin: auto;
    padding: 1.563vw 1.458vw;
    border-radius: 12px;
    width: 80%;
    max-width: 23.75vw;
    position: relative;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 1.302vw;
    left: 1.563vw;
    font-size: 1.042vw;
    font-weight: 900;
    color: #010102;
    cursor: pointer;
}

.popup-content .device-popup-image img{
    width: 20.833vw;
    height: 20.885vw;
}

ul.page-numbers {
    display: flex;
    gap: 20px;
    list-style-type: none;
    justify-content: center!important;
    padding-right: 0;
}

#pagination a, #pagination span{
    display: inline-block;
    color: #B3B4FF;
    background: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
}

#pagination .current{
    background: #B3B4FF;
    color: #fff;
}

#device-results {
    margin-bottom: 20px;
}

.device-result-blk .no-device p{
    color: #ffffff;
}

.brand_logo  img.lenova{
    width: 5.521vw;
}

.brand_logo  img.samsung{
    width: 6.875vw;
}

.brand_logo  img.zebra{
    width: 5.99vw;
}

.brand_logo  img.huawei{
    width: 7.865vw;
}

.brand_logo  img.asus{
    width: 4.01vw;
}

.brand_logo  img.fujitsu{
    width: 4.635vw;
}


/*Purple plan block css*/
.brand-acf-section{
    position: absolute;
    top: 5.573vw;
    left: 7.917vw;
    width: 25%;
}

.brand-purple-blk{
    background-color: #5967E957;
    color: #fff;
    padding: 1.563vw;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.042vw;
}

.brand-purple-blk .device-warranty-blk-title h5{
    font-family:'Almoni DL AAA Regular';
    font-weight: 700;
    font-size: 0.833vw;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: right;
    vertical-align: middle;
    color: #FFFFFF;
    margin: 0;
}

.plan-cards-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.26vw;
    flex-direction: row-reverse;
}

.plan-card{
    display: flex;
    flex-direction: column;
    gap: 0.104vw;
    border-radius: 15px;
    padding: 0.781vw;
}

.premium-plan-blk{
    background-color: #FFFFFF1A;
}

.onsite-plan-blk{
    background-color: #B3B4FF1F;
}

.plan-title{
    display: flex;
    align-items: center;
    gap: 0.156vw;
}

.plan-cards-wrapper .plan-title h6{
    font-family: 'Montserrat font';
    font-weight: 800;
    font-size: 0.729vw;
    line-height: 22px;
    letter-spacing: 0.2px;
    text-align: right;
    vertical-align: middle;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 0;
}

.premium-plan-icon{
    width: 0.885vw;
    height: 0.833vw;
}

.on-site-plan-icon{
    width: 0.833vw;
    height: 0.781vw!important;
}

.plan-cards-wrapper .plan-text p{
    font-family: 'Almoni DL AAA Regular';
    font-weight: 700;
    font-size: 0.833vw;
    line-height: 130%;
    letter-spacing: -0.5px;
    text-align: right;
    vertical-align: middle;
    color: #FFFFFF;
    margin: 0;
}

.extended-warranty-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0.625vw;
}

.extended-warranty-title{
    display: flex;
    gap: 0.417vw;
    align-items: center;
}

.extended-warranty-icon{
    width: 2.604vw;
    height: 2.604vw;
}

.extended-warranty-title h3{
    font-family: 'Almoni DL AAA Regular';
    font-weight: 400;
    font-size: 1.25vw;
    line-height: 32px;
    letter-spacing: 0.2px;
    text-align: right;
    vertical-align: middle;
    text-transform: capitalize;
    color: #18D7FF;
    margin: 0;
}

.extended-warranty-content p{
    margin-bottom: 0.625vw;
    color: #18D7FF;
    font-family: 'Almoni DL AAA Regular';
    font-weight: 400;
    font-size: 0.833vw;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
}

.attention-wrapper {
    background-color: #0C2053;
    border-radius: 15px;
    padding: 0.781vw;
    display: flex;
    flex-direction: column;
    gap: 0.781vw;
}

.attention-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.417vw;
}

.attention-icon{
    width: 2.396vw;
    height: 2.396vw;
}

.attention-title h3{
    margin: 0;
    color: #FF858A;
    font-family: 'Almoni DL AAA Regular';
    font-weight: 700;
    font-size: 1.25vw;
    line-height: 32px;
    letter-spacing: 0.2px;
    text-align: right;
    vertical-align: middle;
    text-transform: capitalize;
}

.attention-content p{
    margin: 0;
    color: #FFFFFF;
    font-family: 'Almoni DL AAA Regular';
    font-weight: 400;
    font-size: 0.833vw;
    line-height: 110.00000000000001%;
    letter-spacing: 1%;
    text-align: right;
    vertical-align: middle;
}

.contact-wrapper{
    padding: 0 0.781vw;
}

.contact-title h3{
    color: #FFFFFF;
    margin: 0;
    font-family: 'Almoni DL AAA Regular';
    font-weight: 900;
    font-size: 0.833vw;
    line-height: 100%;
    letter-spacing: 1%;
    text-align: right;
    vertical-align: middle;
}

.contact-content p{
    margin: 0;
    color: #FFFFFF;
    font-family: 'Almoni DL AAA Regular';
    font-weight: 400;
    font-size: 0.833vw;
    line-height: 140%;
    letter-spacing: 1%;
    text-align: right;
    vertical-align: middle;
}

.vm-align{
    vertical-align: middle;
}

@media (min-width: 768px) {
.plan-toggle-blk{
    display: none!important;
}
}

@media (max-width: 767px) {
    .brand-filter {
        width: 100%!important;
        padding: 25px 20px;
        white-space: nowrap!important;
        display: flex!important;
        flex-wrap: nowrap!important;
        overflow: auto!important;
        margin-top: 20px; 
        gap: 10px!important;
        margin-bottom: 29px!important; 
    }

    .device-filter .brand-filter .brand_logo{
        padding: 10px 15px;
        flex: 0 0 28%;
    }

    .brand_logo  img.lenova{
        width: 64px;
    }

    .brand_logo  img.samsung{
        width: 79px;
    }

    .brand_logo  img.zebra{
        width: 68px;
    }

    .brand_logo  img.huawei{
        width: 84px;
    }

    .brand_logo  img.asus{
        width: 43px;
    }

    .brand_logo  img.fujitsu{
        width: 50px;
    }

    .device-card .device-img img.no-image {
        width: 120px;
        height: 80px;
    }

    .type-filter {
        padding: 22px 36px;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
    }

    .device-filter .type-btn{
        font-size: 12px;
        padding: 8px 20px;
        line-height: 19.2px;
        letter-spacing: 0.2px;
    }

    .device-container {
        padding: 30px 36px;
        gap: 14px;
    }

    .device-card{
        width: 100%;
        padding: 40px 20px;
        /*min-height: 625px;
        height: 100%;*/
        box-sizing: border-box!important;
    }

    .device-img {
        margin-bottom: 20px;
    }

    .device-card .device-img img {
        width: 191px;
        height: 145px;
    }

    .device-card h3 {
        font-size: 20px;
        line-height: 22px;
        letter-spacing: 0.2px;
        margin-bottom: 5px;
    }

    .device-card .device-model-name {
        margin-bottom: 11px;
    }

    .device-card .device-model-name p {
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
        letter-spacing: 0.2px;
    }

    .device-card .plan-toggle-row {
        margin-bottom: 10px;
    }

    .plan-toggle-row img {
        width: 17px;
        height: 16px;
        vertical-align: middle;
    }

    .device-card .plan-toggle-row span{
        font-size: 14px;
        line-height: 22px;
        letter-spacing: 0.2px;
    }

    .switch {
        width: 45px;
        height: 16px;
        padding: 5px;
    }

    .slider:before{
        content: '';
        width: 6px;
        height: 6px;
        left: 5px;
        bottom: 5px;
    }

    .device-card .plan .price {
        font-size: 25px;
        font-weight: 500;
        line-height: 40px;
        letter-spacing: 0.2px;
        margin-bottom: 25px;
    }

    .details{
        font-size: 16px;
        margin-bottom: 20px;
    }

    .purchase-button{
        gap: 10px;
    }

    .popup-blk{
        margin-bottom: 20px;
    }

    .purchase-button .text{
        font-size: 18px;
    }

    .purchase-button .icon-btn img {
        width: 50px;
        height: 50px;
    }

    .device-card .popup-blk a, .popup-modal .popup-content a{
        font-size: 14px;
    }

    .popup-modal{
        padding-top: 150px;
    }

    .popup-content{
        max-width: 100%;
        padding: 20px 18px;
        gap: 33px;
    }

    .popup-close{
        top: 16px;
        left: 26px;
        font-size: 20px;
    }

    .popup-content .device-popup-image img{
        width: 400px;
        height: 401px;
    }

    .device-result-blk .no-device p {
        color: #ffffff;
        padding: 10px 36px;
        font-size: 14px;
    }

    .brand-acf-section {
        position: unset;
        margin: 0 auto;
        width: 100%;
        max-width: 85%;
    }

    .brand-purple-blk{
        padding: 30px 10px;
        gap: 20px;
        border-radius: 10px;
    }

    .brand-purple-blk .device-warranty-blk-title h5{
        font-size: 14px;
    }

    .plan-cards-wrapper{
        gap: 5px;
    }

    .plan-card{
        gap: 2px;
        padding: 15px;
    }

    .plan-title{
        gap: 3px;
    }

    .premium-plan-icon {
        width: 17px;
        height: 16px;
    }

    .on-site-plan-icon {
        width: 12px;
        height: 15px!important;
    }

    .plan-cards-wrapper .plan-title h6{
        font-size: 14px;
    }

    .plan-cards-wrapper .plan-text p{
        font-size: 14px;
    }

    .extended-warranty-wrapper{
        gap: 12px;
    }

    .extended-warranty-title{
        gap: 8px;
    }

    .extended-warranty-icon{
        width: 35px;
        height: 35px;
    }

    .extended-warranty-title h3 {
        font-size: 18px;
    }

    .extended-warranty-content p {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .attention-wrapper{
        padding: 15px;
        gap: 15px;
    }

    .attention-title {
        gap: 8px;
    }

    .attention-icon {
        width: 32px;
        height: 32px!important;
    }

    .attention-title h3{
        font-size: 18px;
    }

    .attention-content p{
        font-size: 14px;
    }

    .contact-wrapper{
        padding: 0 15px;
    }

    .contact-title h3{
        font-size: 14px;
    }

    .contact-content p{
        font-size: 14px;
    }

    .d-none{
        display: none;
    }

    .plan-toggle-blk {
        display: none; !important;
    }

    .plan-toggle-blk .contact-wrapper {
        padding: 20px 15px 0 15px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .brand-filter {
        width: 100%!important;
        padding: 25px 20px;
        white-space: nowrap!important;
        display: flex!important;
        flex-wrap: nowrap!important;
        overflow: auto!important;
        margin-top: 20px; 
        gap: 10px!important;
        margin-bottom: 29px!important; 
    }

    .device-filter .brand-filter .brand_logo{
        padding: 10px 15px;
        flex: 0 0 28%;
    }

    .brand_logo  img.lenova{
        width: 64px;
    }

    .brand_logo  img.samsung{
        width: 79px;
    }

    .brand_logo  img.zebra{
        width: 68px;
    }

    .brand_logo  img.huawei{
        width: 84px;
    }

    .brand_logo  img.asus{
        width: 43px;
    }

    .brand_logo  img.fujitsu{
        width: 50px;
    }

    .device-card .device-img img.no-image {
        width: 100px;
        height: 80px;
    }

    .type-filter {
        padding: 22px 36px;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
    }

    .device-filter .type-btn{
        font-size: 12px;
        padding: 8px 20px;
        line-height: 19.2px;
        letter-spacing: 0.2px;
    }

    .device-container {
        padding: 10px 5px;
        gap: 10px;
    }

    .device-card {
        width: 200px!important;
        padding: 30px 15px;
        /*min-height: 625px;
        height: 100%;*/
        box-sizing: border-box!important;
    }

    .device-card .device-img img {
        width: 150px;
        height: 145px;
    }

    .device-card h3 {    
        font-size: 14px;
        font-weight: 700;
        line-height: 22px;
        letter-spacing: 0.2px;
        margin-bottom: 20px;
    }

    .device-card .device-model-name {
        margin-bottom: 11px;
    }

    .device-card .device-model-name p {
        font-size: 14px;
        font-weight: 700;
        line-height: 22px;
        letter-spacing: 0.2px;
    }

    .plan-toggle-row img{
        width: 10px;
        height: 10px;
    }

    .device-card .plan-toggle-row {
        margin-bottom: 10px;
    }

    .device-card .plan-toggle-row span {    
        font-weight: 800;
        font-size: 9px;
        line-height: 12px;
        letter-spacing: 0.2px;
    }

    .device-card .plan .price {    
        font-size: 25px;
        font-weight: 500;
        line-height: 40px;
        letter-spacing: 0.2px;
        margin-bottom: 25px;
    }

    .details {
        font-weight: 700;
        font-size: 12px;
        line-height: 130%;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .purchase-button .icon-btn img {
        width: 50px;
        height: 50px;
    }

    .purchase-button .text {
        font-size: 18px;    
    }

    .device-card .popup-blk a, .popup-modal .popup-content a {
        font-family: 'Almoni DL AAA Regular';
        color: #00A9CC;
        font-size: 14px;
        font-weight: 700;
        line-height: 140%;
        letter-spacing: 0;
    }

    .switch {
        position: relative;
        display: inline-block;
        width: 27px;
        height: 9px;
        padding: 5px;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 6px;
        width: 6px;
        left: -7px;
        bottom: 3px;
        background-color: #3E3E3E;
        transition: 0.4s;
        border-radius: 50%;
    }

    .popup-content {
        display: flex;
        flex-direction: column;
        gap: 33px;
        background-color: #fff;
        margin: auto;
        padding: 30px 28px;
        border-radius: 12px;
        width: 80%;
        max-width: 456px;
        position: relative;
    }

    .popup-content .device-popup-image img {
        width: 400px;
        height: 401px;
    }

    .popup-modal{
        padding-top: 200px;
    }

    .popup-close {
        position: absolute;
        top: 22px;
        left: 40px;
        font-size: 20px;
        font-weight: 900;
        color: #010102;
        cursor: pointer;
    }

    .brand-acf-section {
        position: absolute;
        top: 100px;
        left: 20px;
        width: 36%;
    }

    .brand-purple-blk{
        padding: 30px 10px;
        gap: 20px;
    }

    .brand-purple-blk .device-warranty-blk-title h5{
        font-size: 14px;
    }

    .plan-cards-wrapper{
        gap: 5px;
    }

    .plan-card{
        gap: 5px;
        padding: 15px;
    }

    .plan-title{
        gap: 3px;
    }

    .premium-plan-icon {
        width: 17px;
        height: 16px;
    }

    .on-site-plan-icon {
        width: 12px;
        height: 15px;
    }

    .plan-cards-wrapper .plan-title h6{
        font-size: 12px;
    }

    .plan-cards-wrapper .plan-text p{
        font-size: 12px;
    }

    .extended-warranty-wrapper{
        gap: 12px;
    }

    .extended-warranty-title{
        gap: 8px;
    }

    .extended-warranty-icon{
        width: 35px;
        height: 35px;
    }

    .extended-warranty-title h3 {
        font-size: 18px;
    }

    .extended-warranty-content p {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .attention-wrapper{
        padding: 15px;
        gap: 15px;
    }

    .attention-title {
        gap: 8px;
    }

    .attention-icon {
        width: 32px;
        height: 32px!important;
    }

    .attention-title h3{
        font-size: 18px;
    }

    .attention-content p{
        font-size: 14px;
    }

    .contact-wrapper{
        padding: 0 15px;
    }

    .contact-title h3{
        font-size: 14px;
    }

    .contact-content p{
        font-size: 14px;
    }

}


