body {
    font-family: system-ui, sans-serif;
    margin: 0;
}

.fme_pv_container {
    background-color: #f8f8f8;
    max-width: 100%;
    width: 100%;
    margin: 30px auto;
    padding: 0 0 10px 0;
    border-radius: 10px 10px 0 0;
    box-shadow: 0px 3px 4px 0px #0000001F;
}

.fme_pv_topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    background: #ffffff;
    padding: 15px;
    margin: 0;
    border-radius: 7px 7px 0 0;
    box-shadow: 0px 0px 10px 0.25px #0000000D;
    width: auto;
    position: relative; /* ADDED BY SAQIB */
}

.fme_pv_topbar-child {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px
}

.fme_pv_btn {
    background: #427FCC;
    border: 0;
    padding: 10px 8px;
    border-radius: 5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    margin-bottom: 0px;
    max-width: 120px;
}

.fme_pv_input {
    position: relative;
    color: #253D4E;
    border-color: #253D4E;
    width: 16px;
    height: 16px;
    top: 3px;
}

.fme_pv_checkbox .fme_pv_input {
    /* appearance: none; */
    margin: 0;
}

.fme_pv_cart-item .fme_pv_input {
    height: 20px;
    width: 30px;
}

.fme_pv_text {
    color: #242424;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin-left: 5px;
    margin-bottom: 0;
}

.fme_pv_text:before {
    content: "";
    position: absolute;
    top: 5px;
    left: -2px;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    /* border: 1px solid; */
}

/* .fme_pv_input[type="checkbox"]:checked + label::after {
    content: "\f00c";
    color: #253D4E;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 1px;
    font-size: 11px;
    font-weight: 900;
} */

.fme_pv_checkbox {
    display: flex;
    align-items: center;
    position: relative;
}

.fme_pv_copy-print {
    display: flex;
    align-items: center;
    color: #242424;
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none !important;
}

.fme_pv_copy-print img {
    margin-right: 7px;
}

.fme_pv_dropdown {
    background: #f4f4f4;
    border: 0;
    padding: 10px;
    border-radius: 5px;
    appearance: none;
    width: 100px;
    background-image: url("../images/select.png");
    background-position: 90% 50%;
    background-size: 13px;
    background-repeat: no-repeat;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}


.fme_pv_dropdown:nth-child(2) {
    margin-left: 10px;
}

.fme_pv_search-bar {
    width: auto;
    display: flex;
}

.fme_pv_search-bar input {
    width: 100%;
}

.fme_pv_search {
    padding: 10px 20px;
    border-radius: 30px;
    border: 0;
    background: #f4f4f4;
    background-image: url("../images/search.png");
    background-repeat: no-repeat;
    background-position: 94% 50%;
    background-size: 16px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.fme_pv_dropdown:focus-visible,
.fme_pv_search:focus-visible {
    outline: 0;
}

.fme_pv_cart-detail {
    width: auto;
    display: flex;
    padding: 20px 20px 0 20px;
    justify-content: center;
}

.fme_pv_cart-detail:last-child {
    padding-bottom: 20px;
}

.fme_pv_cart-item {
    display: flex;
    background: #fff;
    padding: 20px;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    box-shadow: 0px 3px 4px 0.25px #0000000D;
}

.fme_pv_img-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.fme_pv_img-item img {
    width: 120px;
    height: 120px;
}


.fme_pv_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 15px;
}

.fme_pv_price-quant {
    background: #fbfbfb;
    width: 25%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    box-shadow: 0px 3px 4px 0.25px #0000000D;
}

.fme_pv_inline-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.fme_sku_sku {
    color: #737373;
    font-size: 14px;
    font-weight: 400;
}
.fme_pv_attributes{
    color: #737373;
    font-size: 14px;
    font-weight: 400;
}

.fme_pv_desc {
    color: #383838;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin: 15px 0;
}

.fme_pv_more {
    color: #427FCC;
    text-decoration: underline;
}

.fme_pv_variant {
    color: #2C2C2C;
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
}

.fme_pc_price {
    color: #427FCC;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}


.fme_pve_quant {
    border: 1px solid #cecece;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 50px;
    width: 100px;
    height: 30px;
}

.fme_pv_plus {
    text-align: center;
    border: 0;
    border-right: 1px solid #cecece;
    padding: 2px;
    background: transparent;
    cursor: pointer;
}

.fme_pv_minus {
    text-align: center;
    border: 0;
    border-left: 1px solid #cecece;
    padding: 2px;
    background: transparent;
    cursor: pointer;
}

.fme_pv_number {
    padding: 5px;
    width: 30px;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.fme_pv_number:focus-visible {
    outline: 0;
}

.fme_pv_cart-quant {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fme_pv_cart {
    background: #427FCC;
    border-radius: 25px;
    padding: 5px;
    text-align: center;
    width: 30px;
    height: 30px;
}

.fme_pv_cart img {
    padding: 1px;
    width: 18px;
}

.fme_pv_stock {
    color: #6FA327;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.fme_pv_stock b{
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.srch_img {
    display: block;
    cursor: pointer;
}

.fme_pv_search {
    display: none;
}

.search_input {
    position: absolute;
    left: 0;
    top: 0;
    padding: 15px 20px;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0px 0px 10px 0.25px #0000000D;
    border: 0;
    margin: 5px;
}

.fme_vt_abs_search{
    display: none;
}
.fme_vt_abs_search > .fme_vt_search_input{
    width: 99%;
}
.fme_vt_abs_search span {
    position: absolute;
    z-index: 111;
    right: 8px;
    top: 12px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    background: #ccc;
    padding: 15px;
    border-radius: 50px;
}
.fme_vt_abs_search > span > img{
    position: absolute;
    width: 12px;
    height: 12px;
    top: 9px;
    left: 9px;
}




/* Add these styles to maintain consistent widths */
.fme_pv_cart-item {
    width: 100%; /* Ensure full width */
    flex: 1; /* Allow flex growth */
    min-width: 0; /* Prevent overflow */
}

.fme_pv_prod-detail {
    flex: 1; /* Allow flex growth */
    min-width: 0; /* Prevent overflow */
    width: 100%; /* Take full available width */
}

.fme_pv_desc {
    max-width: 100%; /* Prevent overflow */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Show ellipsis for overflow */
    white-space: nowrap; /* Keep text in single line */
}

/* Optional: Add this if you want multi-line description with fixed height */
.fme_pv_desc {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal; /* Allow text wrapping */
    height: 48px; /* Fixed height for 2 lines */
    line-height: 24px;
}

/* Ensure price/quantity section maintains width */
.fme_pv_price-quant {
    width: 25%; /* Keep fixed width */
    flex-shrink: 0; /* Prevent shrinking */
}























@media (min-width: 768px) and (max-width: 1000px) {
    .fme_pv_search {
        display: none;
    }

    .srch_img {
        display: block;
    }

    .fme_pv_cart {
        width: 20px;
        height: 20px;
    }

    .fme_pv_cart img {
        padding: 1px;
        width: 18px;
    }

    .fme_pv_cart-quant {
        flex-direction: column;
    }

    .fme_pv_stock {
        font-size: 14px;
    }

    .fme_pv_stock b {
        font-size: 18px;
    }

    .fme_pv_cart {
        width: 30px;
        height: 30px;
    }

    .fme_pv_topbar {
        padding: 5px;
    }

    .fme_pv_copy-print span {
        display: none;
    }
}

@media (min-width: 651px) and (max-width: 767px) {
    /* .fme_pv_container {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 0 10px 0;
    } */

    .fme_pv_topbar {
        flex-direction: column;
        width: auto;
        gap: 20px;
    }

    .fme_pv_topbar-child {
        width: 100%;
    }

    .fme_pv_dropdown,.fme_pv_btn {
        width: 40%;
        max-width: 100%;
    }

    .fme_pv_cart-item {
        width: auto;
        text-align: left;
        align-items: center;
        padding: 15px;
        gap: 60px;
    }

    .fme_pv_cart-detail {
        flex-direction: column;
        text-align: center;
    }

    .fme_pv_inline-price {
        flex-direction: row;
        gap: 10px;
    }

    .fme_pv_img-item img {
        width: 100px;
        height: 100px;
    }

    .fme_pv_title,
    .fme_pv_desc {
        margin: 10px 0;
        width: auto;
    }

    .fme_pv_price-quant {
        width: auto;
        gap: 20px;
        padding: 15px;
        flex-direction: row;
    }

    .fme_pv_inline-price {
        gap: 20px;
    }

    .fme_pc_price {
        font-size: 26px;
        line-height: 25px;
    }

    .fme_pve_quant {
        width: 125px;
        height: 40px;
    }

    .fme_pv_plus, .fme_pv_minus {
        padding: 7px;
    }

    .fme_pv_cart {
        width: 30px;
        height: 30px;
    }

    .fme_pv_cart img {
        padding: 4px;
        width: 22px;
    }

    .fme_pv_search-bar {
        width: 90%;
    }

    .fme_pv_search {
        width: 100%;
    }

    .fme_pv_title {
        font-size: 20px;
    }

    .fme_sku_sku {
        font-size: 14px;
    }

   .fme_pv_attributes{
    font-size: 14px;
    }

    .fme_pv_desc {
        font-size: 16px;
    }

    .fme_pv_variant {
        font-size: 14px;
    }

    .fme_pv_btn, .fme_pv_text, .fme_pv_dropdown, .fme_pv_search {
        font-size: 14px;
    }

    .fme_pv_search {
        display: block;
    }

    .srch_img {
        display: none;
    }
}

@media (max-width: 649px) {
    /* .fme_pv_container {
        max-width: 66em;
        width: 649px;
        margin: 0 auto;
        padding: 0 0 10px 0;
    } */

    .fme_pv_topbar {
        flex-direction: column;
        width: auto;
        gap: 20px;
    }

    .fme_pv_topbar-child {
        width: 100%;
        gap: 20px;
    }

    .fme_pv_dropdown,.fme_pv_btn {
        width: 40%;
        max-width: 100%;
    }
    
    .fme_pv_cart-detail {
        flex-direction: column;
    }

    .fme_pv_cart-item {
        width: auto;
        text-align: left;
        align-items: center;
        gap: 60px;
        padding: 15px;
    }

    .fme_pv_img-item {
        gap: 30px;
    }

    .fme_pv_price-quant {
        width: auto;
        padding: 15px;
        gap: 10px;
        flex-direction: row;
    }

    .fme_pve_quant {
        width: 125px;
        height: 40px;
    }
    
    .fme_pv_plus, .fme_pv_minus {
        padding: 7px;
    }

    .fme_pv_cart {
        width: 30px;
        height: 30px;
    }

    .fme_pv_cart img {
        padding: 4px;
        width: 22px;
    }

    .fme_pv_inline-price {
        flex-direction: row;
        gap: 10px;
    }

    .fme_pv_copy-print span {
        display: none;
    }

    .fme_pv_search-bar {
        width: 90%;
    }

    .fme_pv_search {
        width: 100%;
    }

    .fme_pv_img-item img {
        width: 120px;
        height: 120px;
    }

    .fme_pv_title {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 16px;
    }

    .fme_sku_sku {
        font-size: 14px;
    }

    .fme_pv_attributes{
        font-size: 14px;
    }

    .fme_pv_desc {
        font-size: 16px;
        margin: 10px 0;
        width: auto;
        line-height: 20px;
    }

    .fme_pv_variant {
        font-size: 14px;
        line-height: 10px
    }

    .fme_pv_btn, .fme_pv_text, .fme_pv_dropdown, .fme_pv_search {
        font-size: 16px;
    }

    .fme_pc_price {
        font-size: 20px;
        line-height: 20px;
    }

    .fme_pv_stock {
        font-size: 16px;
    }

    .fme_pv_stock b {
        font-size: 16px;
    }

    .fme_pv_search {
        display: block;
    }

    .srch_img {
        display: none;
    }
}

@media (max-width: 400px) {
    .fme_pv_price-quant,
    .fme_pv_inline-price {
        flex-direction: column;
    }

    .fme_pv_cart-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 330px) {
    body {
        display: none;
    }
}