body {
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    min-width: 310px;
}

* {
    box-sizing: border-box;
}

.h_m1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h_m1_1 {
    max-width: 1500px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
}

.h_m2 {
    display: none;
    height: 320px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

@media screen and (max-width: 740px) {
    .ts_1 {
        background-image: unset !important;
    }
}

@media screen and (max-width: 350px) {

    .cardtypes{
        display: none !important;
    }
}

@media screen and (min-width: 591px) and (max-width: 720px) {

    .cardtypes{
        display: none !important;
    }
}

@media screen and (max-width: 590px) {

    .margin-top-auto{
        margin-top: 25px !important;
    }



    .main_content {
        display: flex !important;
        width: 90%  !important;
        flex-direction: column !important;
    }
}

@media screen and (min-width: 591px) {

    .account_6 {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 35px;
    }

    .margin-top-auto{
        margin-top: 10px;
    }

 }

@media screen and (max-width: 450px) {

    .basket_totals_checkout {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-around !important;
    }
    
    .basket_totals {
        /* height: 235px !important; */
    }
    
    .basket_totals_checkout_1 {
        width: 100% !important;
        max-width: 320px !important;
    }

    .basket_totals_checkout_2 {
        width: 100% !important;
        max-width: 320px !important; 
    }

    .checkout_totals_paynow {
        width: 100% !important;
        max-width: 380px !important; 
    }

    .basket_totals_1 {
        justify-content: space-between !important;
    }


    .mobilebutton {
        height: 35px !important;
    }


}

@media screen and (min-width: 300px) and (max-width: 350px) {
    .part {
        padding: 5px 4px 6px 5px !important;
        width: 230px !important;
    }

    .addtobasket {
        margin: 0 0 12px 48% !important;
    }

}

@media screen and (min-width: 351px) and (max-width: 410px) {
    .part {
        padding: 5px 4px 6px 5px !important;
        width: 160px !important;
    }

    .addtobasket {
        margin: 0 0 12px 87px !important;
    }

}

@media screen and (max-width: 440px) {
    .h_1_2_1 {
        margin-left: 10px !important;
        font-size: 12px !important;
        width: 150px !important;
    }
    .h_02 {
        margin-left: 7px !important;
        margin-right: 25px !important; 
    }
    .h_04 {
        margin-left: 12px !important; 
    }
    .b_4 {
        display: none !important;
    }

    .stocktext {
        font-size: 10px !important;
    }

    .b_3 {
        font-size: 13px !important;
    }

    .basket_totals {
        font-size: 17px !important;
    }

}

@media screen and (min-width: 1730px) {
    .h_m2 {
        background-size: cover;
    }
}

@media screen and (min-width: 1000px) {
    .h_m2 {
        display:unset !important;
    }

    .h_3 {
        display:none !important;
    }

    #h_search {
        display:none !important;
    }

    .h_4 {
        display:none !important;
    }

    main, .view {
        font-size: 14px !important;
    }
    
    .addtobasket {
        height: 35px !important;
        margin: 0 0 11px 130px !important;
    }
}

.h_icon {
    width: 30px;
}

.h_01 {
    width: 100%;
}

.h_02 {
    margin-left: 25px;
    margin-right: 35px;
}

.h_03 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.h_05 {
    margin-right: 10px;
    background: #cdcfd1;
    padding: 5px;
    border-radius: 10px;
}

.h_05:hover {
    cursor: pointer;
    filter: brightness(90%);
}

.h_3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #000000;
    height: 100px;
    overflow: hidden;
}

.flex {
    display: flex;
}

.h_3 select {
    border: 1px solid #464646 !important;
}

.h_3_1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 9px 0 5px 10px;
    max-width: 380px;
    width: 100%;
    font-weight: bold;
}

.h_3_6 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0 5px 10px;
    max-width: 380px;
    width: 100%;
    font-weight: bold;
}

.h_3_7 {
margin-right: 25px;
/* display: flex; */
display: none;
}

.h_04 {
    margin-left: 30px;
}

.h_1_1 {
    background: #cdcfd1;
    height: 85px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 900px;
    background-position-y: -140px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.h_1_2 {
    background: #464646;
    height: 45px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
}


.h_1_1_1 img {
    background: #cdcfd1;
    border-radius: 15px;
    cursor: pointer;
}

.h_1_2_1 {
    width: 170px;
    margin-left: 33px;
}

.h_1_2_2 {
    width: 110px;
}


.h_1_2_2 img {
    cursor: pointer;
    transition: filter 0.1s ease;
}

.h_1_2_2 img:hover {
    filter: brightness(70%);
}

.h_1_1_2 {
    background: #cdcfd1;
    border-radius: 15px;
    width: 220px;
    text-align: left;
}

.h_2_1 {
    background: #464646de;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.h_3_2 {
    display: none;
    margin-top: 10px;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
}

.h_3_3 {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.h_3_4 {
    width: 100%;
    max-width: 380px;
}

.h_3_5 {
    width: 50%;
    min-width: 100px;
}

.h_2_1_in1 {
    height: 60px;
    top: 180px;
}

.h_2_1_in2 {
    height: 45px;
    top: 200px;
}

.h_2_1_in3 {
    height: 165px;
    top: 10px;
    display: none;
}

.h_imageout {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 15px 0 15px;
    text-align: center;
    min-width: 140px;
}

.h_2_1_1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 5px;
}

.h_4 {
    display: flex;
    background: #464646;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    color: #FFF;
    height: 85px;
}

.margintop {
    margin: 15px 0 0 0;
}

.search_part {
    height: 30px;
    width: 60%;
    padding: 4px 4px 4px 8px;
    border-radius: 5px;
    border: 1px solid #fff;
    background: #fff;
    margin-right: 10px;
}

.search_manual {
    height: 26px;
    width: 100%;
    padding: 4px;
    border-radius: 5px;
    border: 1px solid #fff;
    background: #fff;
    margin-top: 2px;
    color: #000;
}

.search_button {
    height: 30px;
    width: 30%;
    border-radius: 5px;
    border: 1px solid #cdcfd1;
    background: #cdcfd1;
    cursor: pointer;
    color: #000000;
}

.search_button:hover {
    filter: brightness(70%);
}

.h_2_1_1_1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.vatslider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 50px;
    transition: background 0.3s;
    border: 1px solid #000;
}

.vatslider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #464646;
    border-radius: 50%;
    transition: transform 0.3s;
}

input:checked + .vatslider::before {
    transform: translateX(24px);
}

.vattoggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-top: 5px;
}

.vattoggle input {
    display: none;
}

.f_1 {
    background-color: #E1251B;
    height: 35px;
}

.f_2 {
    background-color: #464646;
  }

.f_2_1 {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #c9c9c9;
    text-align: center;
    line-height: 1.1;
    font-size: 12px;
}

.f_2_11 {
    display: flex;
    align-items: center;
    width: 190px;
    justify-content: space-between;
    padding-bottom: 55px;
}

.f_2_1 a {
    color: #c9c9c9;
}

.f_2_1 a:hover {
    filter: brightness(70%);
}

.f_2_11 img {
    cursor: pointer;
    transition: filter 0.1s ease;
}

.f_2_11 img:hover {
    filter: brightness(70%);
}

.b_1 {
    height: 75px;
    background-color: #464646;
    margin: 15px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.b_3 {
    min-width: 190px;
}

.b_2_1 {
    margin-left: 5px;
}

.b_2 {
    width: 65px;
    min-width: 50px;
}

.b_4 {
    width: 125px;
    min-width: 50px;
    padding: 0 30px 0 30px;
}

.b_5 {
    min-width: 190px;
    margin-top: -5px;
}


main {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    margin-top: 25px;
}

.smallmain {
    max-width: 870px !important
}

.smallmain1 {
    max-width: 920px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_content {
    margin: 0 20px 0 20px;
}

.main_content2 {
    padding: 0 20px 0 20px;
}

.basket_content {
    padding: 0 20px 0 20px;
}

.basket_totals {
    padding: 20px 20px 20px 20px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    /* height: 170px; */
    font-size: 15px;
}

.checkout_totals {
    padding: 20px 20px 20px 20px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    height: 210px;
    font-size: 15px;
    background-repeat: no-repeat;
    background-position-x: 9%;
    background-size: 110px;
    background-position-y: 14px;
}

.checkout_totals_1 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 4px;
    width: 100%;
}

.checkout_totals_2 {
    text-align: right;
    width: 20%;
    max-width: 130px;
    min-width: 90px;
}

.basket_totals_1 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 4px;
    width: 100%;
}

.basket_totals_2 {
    text-align: right;
    width: 20%;
    max-width: 130px;
    min-width: 90px;
}

.main_content_title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    font-weight: bold;
    text-align: center;
    color: #000000;
    font-size: 18px;
    padding-bottom: 15px;
}


.view {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1500px;
    justify-content: center;
    margin: auto;
}
.part {
    width: 180px;
    padding: 6px 12px 6px 12px;
}


.stockprice {
    display: flex;
    justify-content: space-between;
}	

.thumbnail {
    width: 200px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.popup-content {
    position: relative;
    max-width: 1080px;
    max-height: 90%;
    padding: 15px;
}

.popup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    font-size: 20px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.stocktext {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    font-size: 12px;
}

.stocktext img {
    padding-right: 3px;
}

.pricetext {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.parttext {
    font-weight: bold;
}

.searchouttext {
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding-top: 25px;
    padding-bottom: 25px;
}

.redtext {
    color: #E1251B;
}

.longdec {
    width: 100%;
    height: 20px;
    overflow: hidden;
    position: relative;
  }
  
  .longdec1 {
    position: absolute;
    white-space: nowrap;
  }
  
.image-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 135px;
    justify-content: flex-end;
    align-items: center;
}

.image-wrapper2 {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 135px;
    display: flex;
}

.image-wrapper2 img {
    width: 100%;
    border-radius: 10px;
}

.image-dots {
    display: flex;
    position: absolute;
    gap: 4px;
    justify-content: center;
    margin-bottom: 6px;
    cursor: pointer;
    z-index: 2;
}

.image-dots .dot {
    width: 7px;
    height: 7px;
    background-color: #cdcfd1;
    border-radius: 50%;
    border: 1px solid #000;
}

.nav-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: white;
    background-color: rgb(0 0 0 / 65%);
    padding: 35px 13px;
    z-index: 2;
    user-select: none;
    pointer-events: none;
}

.nav-icon.left {
  left: 20px;
}
.nav-icon.right {
  right: 20px;
}

.popup-content img {
	display: none;
	user-select: none;
}
.popup-content img.active {
	display: block;
}

.addtobasket {
    display: flex;
    position: absolute;
    width: 50px;
    cursor: pointer;
    height: 45px;
    margin: 0 0 11px 107px;
}

.addtobasket img:hover {
   filter: brightness(70%);
}

.fixed-header {
    position: fixed;
    z-index: 10;
}  

.hideheader {
    display: none;
}

.basket_f {
    font-size: 13px;
    width: 100%;
    max-width: 860px;
}

.basket_r {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 7px 0 7px 0;
}

.basket_r1 {
    width: 80%;
    min-width: 90px;
    gap: 3px;
    display: flex;
    flex-direction: column;
}

.basket_r2 {
    width: 20%;
    max-width: 90px;
    min-width: 70px;
}

.basket_r3 {
    width: 20%;
    max-width: 70px;
    min-width: 50px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.textcenter {
    text-align: center;
}

.basket_r4 {
    width: 20%;
    max-width: 80px;
    min-width: 70px;
    text-align: right;
}

.basket_l {
    align-items: center;
}

.strong {
    font-weight: bold;
}

.margin-bottom6 {
    margin-bottom: 6px;
}

.margin-top10 {
    margin-top: 10px;
}

.margin-top25 {
    margin-top: 25px !important;
}

.basket_inputqty {
    width: 50px;
}

.basket_inputqty {
    width: 35px;
    text-align: center;
    border: solid 1px #464646;
    border-radius: 4px;
    height: 28px;
}

.basket_g {
    background: #cdcfd1;
}

.basket_noparts {
    width: 100%;
    text-align: center;
    height: 400px;
}


.button1 {
    height: 32px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #cdcfd1 !important;
    cursor: pointer;
    color: #000000 !important;
    max-width: 320px;
}

.button {
    height: 32px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #464646;
    cursor: pointer;
    color: #fff;
    max-width: 320px;
}

.button:hover {
    filter: brightness(70%);
}

.button1:hover {
    filter: brightness(70%);
}

.basket_guest {
    height: 29px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    cursor: pointer;
    color: #000000 !important;
    background: #cdcfd1 !important;
}

.basket_guest:hover {
    filter: brightness(70%);
}


.basket_logged {
    height: 29px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    cursor: pointer;
    color: #ffffff !important;
    background: #464646 !important;
}

.basket_logged:hover {
    filter: brightness(70%);
}

.checkout_logged {
    height: 35px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #18A0FB;
    cursor: pointer;
    color: #ffffff !important;
    background: #18A0FB !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout_logged:hover {
    filter: brightness(85%);
}

.basket_totals_checkout {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 15px;
}

.basket_totals_checkout_1 {
    width: 35%;
    max-width: 170px;
    min-width: 140px;
}

.basket_totals_checkout_2 {
    width: 35%;
    max-width: 170px;
    min-width: 140px;
}

.checkout_totals_paynow {
    width: 100%;
    max-width: 260px;
    min-width: 150px;
}

  #shareCartBtn {
    height: 29px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #464646;
    cursor: pointer;
    color: #fff;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  #shareCartBtn img {
    margin-left: 7px;
  }

  #shareCartBtn:hover {
    filter: brightness(70%);
  }

  #shareModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
  }

  #shareModalContent {
    background: white;
    border-radius: 8px;
    width: 210px;
    max-width: 90vw;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    text-align: center;
  }

  #shareModalContent h2 {
    margin-top: 0;
    margin-bottom: 15px;
  }

  .share-option {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    padding: 10px;
    border: 2px solid #464646;
    border-radius: 6px;
    color: #464646;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s, color 0.2s;
  }

  .share-option:hover {
    background-color: #464646;
    color: white;
  }

  .share-icon {
    margin-right: 10px;
    font-size: 20px;
  }

  #shareModalClose {
    position: absolute;
    top: 45px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
  }

  #copySuccess {
    color: green;
    font-size: 14px;
    margin-top: 10px;
  }

  .shareCartdiv {
    padding: 0 20px 0 20px;
    margin-top: 25px;
  }

  .shareCartdiv1 {
    width: 30%;
    max-width: 190px;
    min-width: 130px;
  }

  .findmanualhide {
    height: 40px !important;
  }

  .main_content_title_checkout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: bold;
    text-align: center;
    color: #000000;
    font-size: 18px;
    padding-bottom: 15px;
}

.basketback {
    font-size: 12px !important;
    font-weight: unset !important;
    cursor: pointer;
}

.checkout_shipping {
    width: 100%;
}

.checkout_shipping_1 {
    max-width: 500px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 8px;
}

.checkout_shipping_2 {
    max-width: 500px;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 8px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.checkout_shipping_3 {
    display: flex;
    flex-direction: row;
    gap: 3px;
    margin-bottom: 8px;
}

.checkout_shipping_3_1 {
    max-width: 140px;
    width: 40%;
    min-width: 125px;
    display: flex;
    flex-direction: column;
    padding-right: 15px;
}

.checkout_shipping_3_2 {
    max-width: 220px;
    width: 60%;
    display: flex;
    flex-direction: column;
}

.checkout_shipping_4 {
    max-width: 500px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    justify-content: space-between;
}

.shipping_titel {
    font-size: 16px;
    margin-top: 10px;
    max-width: 390px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 15px;
    text-decoration: underline;
}

.p {
    font-size: 14px;
}

.checkout_shipping_input {
    height: 40px;
    width: 100%;
    padding: 4px 4px 4px 8px;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #fff;
}

.readonlyform{
    background-color:#c1c1c1 !important;
    color: #0000008e;
}

.what3words {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 50px;
    transition: background 0.3s;
    border: 1px solid #000;
}

.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #000000;
    border-radius: 50%;
    transition: transform 0.3s;
}

input:checked + .slider {
    background: #000;
}

input:checked + .slider::before {
    transform: translateX(24px);
    background: #ffffff;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-top: 5px;
}

.toggle input {
    display: none;
}

.hide {
    display: none;
}

.cardlayoutopen {
    height: 235px !important;
}

.cardlayoutopen2 {
    height: 200px !important;
}

.cardlayoutopen3 {
    height: auto !important;
}

.checkout_logged svg {
    margin: 0px 18px 0px 0px;
}


.t_1 {
    background-color: #464646;
    margin: 15px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 14px;
    flex-direction: column;
}

.t_2 {
    min-width: 190px;
}

.t_3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.t_11 {
    height: 100px;
}

.t_12 {
    height: 230px;
}

.margin-bottom15 {
    margin-bottom: 15px;
}

.t_4 {
    display: flex;
}

.t_5 {
    width: 80px;
}

.t_6 {
    padding: 0px 7px 0px 7px;
}

.ts_1 {
    background-color: #CDCFD1;
    margin: 15px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    font-size: 14px;
    flex-direction: column;
    padding: 20px 10px 20px 10px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 380px;
    background-position-y: 60px;
}

.ts_2 {
    max-width: 390px;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    padding: 0 10px 0 10px;
}

.t_7 {
    margin-bottom: 15px;
}

.t_8 {
    font-size: 12px;
}

.t_13 {
    margin-bottom: 25px;
    margin-top: 15px;
    text-align: left;
}

.t_9 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.complete_button {
    height: 30px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #464646;
    cursor: pointer;
    color: #FFF;
}

.complete_button:hover {
    filter: brightness(70%);
}

.t_10 {
    margin-bottom: 25px;
}

.minh{ 
    min-height: 290px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .popup-box {
    background: #fff;
    padding: 2rem;
    max-width: 330px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: sans-serif;
    position: relative;
    animation: fadeInScale 0.3s ease;
  }
  
  .popup-box p {
    font-size: 1.1rem;
    margin: 0;
  }
  
  .close-popup {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
  }
  
  .close-popup:hover {
    color: #000;
  }
  
  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
.myaccountsmallmain {
    max-width: 440px !important
}

.account_1 {
    max-width: 390px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 8px;
}


.account_2 {
    margin-top: 30px;
}

.account_3 {
    height: 40px;
    width: 100%;
    padding: 4px 4px 4px 8px;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #fff;
}

.account_4 {
    width: 45%;
    max-width: 170px;
    min-width: 140px;
}

.account_login {
    height: 29px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #464646;
    cursor: pointer;
    color: #fff;
}

.account_5 {
    max-width: 390px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 8px;
    justify-content: center;
}

.account_5_1 { 
    margin-top: 30px;
}

.account_5_2 { 
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.account_5_3 { 
    margin-bottom: 50px;
}

.account_7 {
    min-width: 200px;
    width: 100%;
}

.account_8 {
    margin: 15px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    font-size: 14px;
    flex-direction: column;
    padding: 20px 10px 20px 10px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 380px;
    background-position-y: 60px;
}

.account_10 {
    display: flex;
    justify-content: center;
}

.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    min-width: 320px;
}

.account_orders_1 {
    background: #ececec;
    padding: 10px 20px 15px 20px;
    min-height: 290px;
}

.account_orders_2 {
    color: #000;
    font-weight: bold;
    width: 100%;
    padding-bottom: 10px;
}

.account_orders_3 {
    width: 100%;
    max-width: 350px;
    min-width: 250px;
    background: #fff;
    border: 1px solid #000;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.account_orders_4 {
    width: 20%;
    min-width: 45px;
    max-width: 65px;
    background: #18A0FB;
}

.account_orders_5 {
    width: 40%;
    min-width: 45px;
    max-width: 130px;
    background: #105c32;
}

.account_orders_6 {
    width: 40%;
    min-width: 45px;
    max-width: 130px;
    background: #c435f0;
}

.orders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 170px;
  }

  @media (min-width: 700px) {
    .orders-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 900px) {
    .orders-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .order-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    height: 80px;
  }

  .order-card:hover {
    border: 1px solid rgb(255, 0, 0);
  }

  .order-header {
    display: flex;
    align-items: center;
  }
  .status {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.75rem;
  }
  .status.green  { background: #1abc9c; }
  .status.yellow { background: #f1c40f; }

  .order-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .order-number { font-weight: bold; }

  .order-meta {
    text-align: right;
    font-size: 0.9rem;
  }

  .pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }

  .pagination button {
    flex: 1;
    margin: 0 0.5rem;
    padding: 0.75rem;
    border: none;
    background: #555;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    max-width: 190px;
  }
  .pagination button:disabled {
    background: #999;
    cursor: default;
    color: #ffffff45;
  }


.maac-container {
    display: flex;
    flex-wrap: wrap;
    padding-top: 30px;
  }
  
  .maac-section {
    flex: 1;
    min-width: 400px;
    max-width: 50%;
    padding: 12px;
    background: #fff;
  }

  .maac-section1 {
    padding: unset !important;
  }
  
  .maac-billing {
    background: #ececec;
    border: 1px solid #ececec;
  }

  .maac-shipping {
    background: #ececec;
    border: 1px solid #ececec;
  }

  .maac-details {
    border: 1px solid #f0f0f0;
    padding: 15px;
  }
  
  .maac-title {
    margin: 0 0 1rem;
  }
  
  .maac-section input,
  .maac-section select {
    margin-bottom: 10px;
    height: 40px;
    width: 100%;
    padding: 4px 4px 4px 8px;
    border-radius: 5px;
    border: 1px solid #464646;
    background: #fff;
    margin-top: 3px;
  }
    
  /* two‐column rows */
  .maac-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  .maac-col > label,
  .maac-col > input,
  .maac-col > select {
    margin-bottom: 0.5rem;
  }
    
  /* password row */
  .maac-pass-wrap {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
    align-items: flex-start;
  }
  
  .maac-pass-wrap input {
    flex: 1;
  }
  
  .maac-pass-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: #555;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    max-width: 190px;
    margin-top: 3px;
  }
  .maac-pass-btn:hover {
    background: #333;
  }


  @media (min-width: 1260px) {
    .maac-billing {
        margin-right: 20px;
      }
      .maac-details2 {
        margin-top: 25px;
    }
  }

  @media (max-width: 1259px) and (min-width: 876px) {
      .maac-details {
        margin-top: 20px;
        width: 50%;
        
      }
      .maac-section {
        min-width: 410px !important;
      }
      .maac-section1 {
        max-width: unset;
        display: flex;
    }
    .maac-details1 {
        margin-right: 20px;
    }
  }


  @media (max-width: 875px) {
    .maac-container {
      flex-direction: column;
      margin: 0;
    }
    .maac-section {
      margin: 0;
      min-width: 50px !important;
      max-width: unset !important;
    }
    .maac-billing {
        margin-bottom: 20px;
      }
    .maac-row2 {
    height: 65px !important;
    }
    .maac-details2 {
        margin-top: 20px;
    }
  }
  
  .maac-toggle-wrap {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 18px 0 12px 0;
}

.main_content_account {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-weight: bold;
    text-align: center;
    color: #000000;
    font-size: 18px;
    padding-bottom: 15px;
}

.account_logout {
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}

.account_logout:hover {
    color: red;
}

.maac-inv-container {
    max-width: 800px;
    margin: auto;
    font-family: sans-serif;
    color: #000;
    padding-bottom: 35px;
  }
  
  .maac-inv-addresses {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  .maac-inv-block {
    flex: 1 1 270px;
  }
  .maac-inv-block strong {
    display: block;
    margin-bottom: 0.5rem;
  }
  .maac-inv-block address {
    font-style: normal;
    line-height: 1.4;
  }
  

  .maac-inv-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
  }
  .maac-inv-items th,
  .maac-inv-items td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  .maac-inv-items th {
    font-weight: 600;
  }

  .maac-inv-totals {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 5px;
    max-width: 250px;
    margin-left: auto;
    background: #ececec;
    padding: 15px 25px 15px 35px;
  }
  .maac-inv-totals div {
    display: contents; 
  }
  .maac-inv-totals span {
    display: inline-block;
    padding: 0.25rem 0;
  }
  
  .maac-inv-total span {
    font-size: 1.1rem;
  }
  
  .order-back {
    border: none;
    background: #555;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    height: 40px;
    width: 120px;
    margin-top: 2px;
    margin-bottom: 20px;
  }


.maac-inv-items-wrapper {
    width: 100%;
    margin-bottom: 2rem;
    font-family: sans-serif;
  }
  
  .maac-inv-header {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) 5fr repeat(3, minmax(90px, 1fr));
    background: #f5f5f5;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
  }
  .maac-inv-header .maac-inv-cell {
    padding: 10px 10px 10px 7px;
  }
  
  .maac-inv-row {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) 5fr repeat(3, minmax(90px, 1fr));
    border-bottom: 1px solid #eee;
  }
  .maac-inv-row:last-child {
    border-bottom: none;
  }
  .maac-inv-row .maac-inv-cell {
    padding: 10px 10px 10px 7px;
  }
  

  .maac-inv-cell {
    word-break: break-word;
  }
  

  @media (max-width: 600px) {
    .maac-inv-header {
      display: none;
    }
    .maac-inv-row {
      display: block;
      margin-bottom: 1rem;
      border: 1px solid #ddd;
      border-radius: 4px;
      overflow: hidden;
    }
    .maac-inv-cell {
      display: flex;
      justify-content: space-between;
      padding: 0.5rem 1rem;
      border-bottom: 1px solid #eee;
      align-items: center;
    }
    .maac-inv-cell:last-child {
      border-bottom: none;
    }

    .maac-inv-cell::before {
      content: attr(data-label);
      font-weight: 600;
      margin-right: 1rem;
      min-width: 95px;
    }

    .maac-inv-container {
        margin: unset;
      }
  }
  
  .tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
  }
  .tooltip .tooltip-text {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: normal;
    word-break: break-word;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
    z-index: 1000;
    width: 165px;
  }
  .tooltip:hover .tooltip-text,
  .tooltip:focus .tooltip-text {
    opacity: 1;
    visibility: visible;
  }
  
  .maac-row2 {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 136px;
  }

  .maac-row3 {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    
  }

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }
  .modal-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    font-size: 0.875rem;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: opacity 150ms ease, background-color 150ms ease;
    margin: 0.5rem 0.25rem;
    width: 80%;
  }
  
  .btn--primary {
    background-color: #424242;
    color: #fff;
    border: none;
  }
  .btn--primary:hover {
    opacity: 0.9;
  }
  
  .btn--secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
  }
  .btn--secondary:hover {
    background-color: #eaeaea;
  }
  