@font-face {
    font-family: 'Avenir LT Pro';
    src: url('fonts/AvenirLTPro-Medium.woff2') format('woff2'),
        url('fonts/AvenirLTPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Avenir LT Pro", Helvetica, Arial, sans-serif;
    margin: 0px;
    color: #292929;
    overflow-x: hidden;
}

.text-sm {
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
}

.text-md {
    font-size: 14px;
}

.text-lg {
    font-size: 16px;
}

.text-xl {
    font-size: 17px;
}

.text-center {
    text-align: center;
}

hr {
    color: #D9D9D9;
    margin: 0px;
}

.container {
    display: grid;
    grid-template-areas:
      "main main sidesummary"
      "main main sidediscount"
      "main main sidereviews"
      "main main sidereviews"
      "payment payment sidereviews"
      "footer footer sidereviews";
  
    grid-template-rows: 
      556px
      134px
      auto
      auto
      auto;
    max-width: 1366px;
    margin: 0 auto;
    width: 100%;
    background: #FAFAFA;
}

.main-container {
    grid-area: main;
    max-width: 591px;
    background: #fff;
    padding: 50px 112px;
}


.footer {
    grid-area: footer;
    padding: 22px 22px 42px 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.footer p{
    height: 22px;
    font-size: 13px;
    color: #808080;
    margin: 0px;
}

.payment-container {
    grid-area: payment;
    max-width: 591px;
    background: #fff;
    padding: 0px 112px 0px 112px;
}

#checkoutForm {
    min-width: 591px;
    margin: 0px;
    background-color: #ffffff;
}

.logo {
    justify-self: center;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 42px;
}

.logo-img {
    width: 252px;
}

.exp {
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    padding: 0 51px;
    position: relative;
    background: #fff;
}

.exp-title {
    width: 160px;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: #fff;
    padding: 10px;
    z-index: 2;
}

.exp-title span {
    font-size: 13px;
    background: #fff;
    padding: 0 14px;
    position: relative;
}

.exp-checkout {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 17px 25px;
}

.divider {
    width: 48px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: #fff;
    padding: 5px 0px;
    z-index: 2;
}

.divider span {
    font-size: 14px;
    background: #fff;
    padding: 0 12px;
    position: relative;
}

.btn {
    width: 208px;
    height: 40px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paypal {
    padding: 0px;
    margin: 5px 0;
    background: #FFC439;
    z-index: 2;
}

.apple {
    padding: 0px;
    margin: 5px 0;
    background: #000;
    z-index: 2;
}

.continue {
    text-align: center;
    font-size: 14px;
    color: #292929;
    height: 22px;
    margin-bottom: 50px;
}

.completeText {
    text-align: center;
    font-size: 15px;
    color: #FFF;
    padding-top: 5px;
}

.section {
    margin-bottom: 50px;
}

.section-shipping {
    margin-bottom: 0px;
}

.section-payment {
    margin-bottom: 0px;
    border-bottom: 1px solid #D9D9D9;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #292929;
    height: 28px;
    margin-top: 18px;
    margin-bottom: 16px;
}

.section-title-order {
    font-size: 20px;
    font-weight: 600;
    color: #292929;
    height: 28px;
    margin-top: 0px;
    margin-bottom: 22px;
}

.section-title-disc {
    font-size: 20px;
    font-weight: 600;
    color: #292929;
    height: 18px;
    margin-block: 20px;
}

.section-title-trust {
    display: none;
}

input,
select,
button {
    font-family: "Avenir LT Pro";
    padding: 10px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    height: 48px;
}

.select-field {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.select-field select {
    width: 100%;
    padding: 20px 40px 6px 15px;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'><path d='M0 3H10L5 8Z' fill='%23919191'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.select-field label {
    position: absolute;
    left: 15px;
    top: 50%;
    font-size: 14px;
    color: #6b6b6b;
    pointer-events: none;
    transition: all 0.2s ease;
}

.select-field select:valid + label,
.select-field select:focus + label {
    top: 6px;
    font-size: 11px;
    color: #6b6b6b;
}

.select-field::before {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: #dcdcdc;
}


input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #1B1B1B;
    cursor: pointer;
}

input[type="radio"] {
    accent-color: black;
}

.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.field-container > div {
    position: relative;
}
  
#phone {
    width: 100%;
    padding-right: 35px;
    height: 40px;
}
  
.field-container img {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.error-text {
    color: #d93025;
    font-size: 12px;
    margin-top: 4px;
    height: 20px;
    display: none;
}

input.error {
    border: 1px solid #d93025;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox label {
    padding-left: 5px;
}

.offers {
    font-family: 'Abel';
    font-size: 14px;
    color: #737373;
    padding-left: 5.5px;
}

.row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.row div {
    flex: 1;
    min-width: 120px;
}

.shipping {
    border: 1px solid #BBBBBB;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.billing {
    border: 1px solid #BBBBBB;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.option-payment {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #D9D9D9;
}

.option-payment img {
    padding: 11px 12px;
}

.option-paypal {
    display: flex;
    height: 52px;
    justify-content: space-between;
}

.option-paypal img{
    padding: 11px 12px;
}

.option-paypal-mob {
    display: none;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 17px;
    cursor: pointer;
}

.radio-option:last-child {
    border-bottom: none;
}

.radio-option input {
    display: none;
}

.border-bottom {
    border-bottom: 1px solid #D9D9D9;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 1px solid #808080;
    border-radius: 50%;
    position: relative;
    background: #fff;
    flex-shrink: 0;
}

.radio-option input:checked+.custom-radio {
    border-color: #000;
    background: #000;
}

.radio-option input:checked+.custom-radio::after {
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-text {
    font-size: 14px;
    color: #292929;
}

.billing-fields {
    display: block;
    padding: 16px;
    background-color: #FAFAFA;
}

.payment {
    border: 1px solid #BBBBBB;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.credit-fields {
    display: block;
    padding: 15px 16px 0px 16px;
    background-color: #FAFAFA;
    border-bottom: 1px solid #D9D9D9;
}

.percentage-desc {
    padding-bottom: 8px;
    line-height: 22px;
}

.percentage-section {
    padding-top: 15px;
}

.submit-section {
    display:flex;
    justify-self: center;
    padding: 40px 30px 52px 30px;
    justify-content: center;
}

.complete {
    background-color: #1B1B1B;
    color: white;
    width: 300px;
    height: 48px;
}

.side-summary {
    grid-area: sidesummary;
    background-color: #FAFAFA;;
}

.side-discount {
    grid-area: sidediscount;
    background-color: #FAFAFA;;
}

.side-reviews {
    grid-area: sidereviews;
    background-color: #FAFAFA;;
}

.order-summary {
    background: #FAFAFA;
    padding: 132px 53px 50px 53px;
}

.item {
    display: flex;
    align-items: center;
    margin-bottom: 27px;
}

.item-last{
    display: flex;
    align-items: center;
    margin-bottom: 19px;
}

.item-info {
    position: relative;
}

.item-img {
    width: 68px;
    height: 68px;
}

.item-qty {
    position: absolute;
    font-size: 14px;
    top: -10px;
    right: -12px;
    color: #fff;
    height: 16px;
    width: 16px;
    background-color: #808080;
    padding: 5px 1px 5px 9px;
    border-radius: 50%;
}

.item-name {
    flex: 1;
    padding-left: 10px;
    font-size: 16px;
}

.item-price span {
    display: none;
}

.tax-info {
    display: flex;
    justify-content: space-between;
    color: #757575;
    font-size: 16px;
    padding-block: 0px;
}

.tax-info p{
    margin-top: 26px; 
    margin-bottom: 0px;
    height: 14px;
}

.shipping-info {
    display: flex;
    justify-content: space-between;
    color: #757575;
    font-size: 16px;
}

.shipping-info p{
    margin-block: 25px; 
    height: 14px;
}

.total-info {
    display: flex;
    justify-content: space-between;
    color: #757575;
    font-size: 16px;
}

.total-info p{
    margin-top: 20px;
    margin-bottom: 0px;
    height: 14px;
}


.discount-info {
    display: flex;
    gap: 8px;
}

.btn-disc {
    width: 61px;
    height: 48px;
    background-color: #CCCCCC;
}

#disc {
    flex: 1;
    height: 50px;
}

.reviews {
    background: #FAFAFA;
    padding: 0px 15px 15px 15px;
    margin: 0 37px;
}

.discount {
    padding: 0px 53px 0px 53px;
}

.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trust-img {
    width: 300px;
    height: 30px;
    margin-bottom: 16px;
}

.trust-star {
    color: #00B67A;
    font-size: 22px;
}

.trust-text {
    font-weight: 600;
    font-size: 18px;
}

.star-boxes {
    display: flex;
    gap: 3px;
    margin-left: 6px;
}

.box {
    width: 20px;
    height: 20px;
    background: #00b67a;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.box.half {
    background: linear-gradient(to right,
            #00b67a 50%,
            #dcdcdc 50%);
}

.score {
    font-weight: 600;
    margin-left: 5px;
}

.store-reviews {
    text-align: center;
    font-size: 15px;
    color: #000000;
    margin: 0px 0px 16px 0px;
}

.review-card {
    background: #fff;
    padding: 16px 16px 7px 16px;
    border-radius: 10px;
    margin-top: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.review-head {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 16px;
}

.location {
    color: #000;
    margin-left: 5px;
}

.verified {
    margin-left: 16px;
}

.verified img {
    width: 103px;
    height: 16px;
}

.stars {
    color: #f6c343;
    font-size: 16px;
    margin-bottom: 6px;
}

.review-desc{
    font-size: 13px;
    color: #3A3A3A;
    line-height: 24px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.review-desc-2nd {
    font-size: 13px;
    color: #3A3A3A;
    line-height: 24px;
    margin-top: 19px;
    margin-bottom: 14px;
}

.order-toggle {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    background: #fafafa;
}

.order-hr {
    display: none;
}

.order-title {
    display: flex;
}

.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
    transform-origin: center;
    transform-box: fill-box;
}

.order-content {
    display: block;
}

.subscribe {
    display: flex;
    height: 24px;
    align-items: center;
}

@media screen and (max-width: 600px) {
    .container {
        display: grid;
        grid-template-areas:
            "sidesummary"
            "main"
            "sidediscount"
            "payment"
            "sidereviews"
            "footer";
        grid-template-rows: 
        auto
        auto
        auto
        auto
        auto
        auto;
        background: #fff;
    }

    .main-container {
        grid-area: main;
        background: #fff;
        padding: 26px 16px 0px 16px;
    }

    .footer {
        grid-area: footer;
        background: #fff;
        padding: 22px 22px 42px 22px;
    }

    .footer p{
        height: 22px;
        font-size: 13px;
        color: #808080;
    }

    #checkoutForm {
        min-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }


    .logo {
        justify-self: center;
        text-align: center;
        padding-top: 0px;
        padding-bottom: 36px;
    }

    .logo-img {
        width: 215px;
    }

    .side-summary {
        width: 100%;
    }

    .side-reviews {
        width: 100%;
    }

    .side-discount {
        width: 100%;
        margin-bottom: 39px;
    }

    .order-toggle {
        display: flex;
    }

    .order-hr {
        display: block;
    }

    .order-title {
        display: none;
    }

    .order-content {
        display: none;
    }

    .subscribe {
        display: none;
    }

    .side-summary.active .order-content {
        display: block;
    }

    .side-summary.active .toggle-icon {
        transform: rotate(180deg);
    }

    .order-summary {
        background: #FAFAFA;
        padding: 23px 17px;
    }

    .item {
        display: flex;
        align-items: center;
        margin-bottom: 23px;
        font-size: 16px;
    }

    .item-last{
        display: flex;
        align-items: center;
        margin-bottom: 29px;
    }

    .item-price span {
        display: inline;
        padding-right: 13px;
        color: #9E9E9E;
        text-decoration: line-through;
    }    

    .tax-info {
        display: flex;
        justify-content: space-between;
        color: #757575;
        font-size: 16px;
        padding-block: 0px;
    }
    
    .tax-info p{
        margin-top: 24px; 
        margin-bottom: 0px;
        height: 14px;
    }
    
    .shipping-info {
        display: flex;
        justify-content: space-between;
        color: #757575;
        font-size: 16px;
    }
    
    .shipping-info p{
        margin-top: 20px; 
        margin-bottom: 24px;
        height: 14px;
    }
    
    .total-info {
        display: flex;
        justify-content: space-between;
        color: #757575;
        font-size: 16px;
    }
    
    .total-info p{
        margin-top: 24px;
        margin-bottom: 0px;
        height: 14px;
    }

    .reviews {
        background: #F7F7F7;
        padding: 7px 15px;
        margin: 0 17px;
    }

    #disc {
        flex: 1;
        height: 46px;
    }

    .discount {
        padding: 0px 17px 0px 17px;
    }
    
    .radio-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 12px;
        cursor: pointer;
    }
    
    .radio-option:last-child {
        border-bottom: none;
    }
    
    .option-paypal {
        display: none;
    }
    
    .option-paypal-mob {
        display: block;
    }

    .trust-img {
        width: 295px;
        height: 30px;
        margin-bottom: 27px;
    }

    .payment-container {
        padding-inline: 17px;
    }

    .exp {
        width: 100%;
        padding: 0;
        justify-items: center;
    }

    .exp-title {
        width: 160px;
        height: 22px;
        padding: 10px 0px;
    }

    .exp-checkout {
        flex-direction: column;
        gap: 0px;
        align-items: center;
        margin: 15px 25px;
    }

    .billing-fields {
        display: block;
        padding: 16px 16px 9px 16px;
        background-color: #FAFAFA;
    }

    .credit-fields {
        display: block;
        padding: 18px 16px 18px 16px;
        background-color: #FAFAFA;
        border-bottom: 1px solid #D9D9D9;
    }    

    .percentage-desc {
        height: 88px;
        line-height: 22px;
    }

    .percentage-section {
        padding-top: 20px;
    }
    
    .submit-section {
        display:flex;
        justify-self: center;
        padding: 30px 30px 44px 30px;
        justify-content: center;
        border-bottom: 0px;
    }

    .complete {
        background-color: #1B1B1B;
        color: white;
        width: 300px;
    }

    .row {
        flex-direction: column;
        gap: 0px;
    }

    .btn {
        width: 196px;
        height: 40px;
    }

    .continue {
        text-align: center;
        font-size: 14px;
        color: #292929;
        height: 22px;
        margin-bottom: 37px;
    }

    .section-discount {
        margin-bottom: 0px;
    }

    .section-shipping {
        margin-bottom: 44px;
    }

    .section-payment {
        margin-bottom: 0px;
        border-bottom: 0px;
    }

    .section-title {
        font-size: 17px;
        color: #292929;
        margin-top: 15px;
        height: 18px;
        margin-bottom: 25px;
        margin-left: 1px;
        letter-spacing: 0%;
        font-weight: 800;
        line-height: 28px;
        letter-spacing: 0;
    }
    
    .section-title-order {
        font-size: 17px;
        font-weight: 600;
        color: #292929;
        margin-top: 15px;
        margin-bottom: 26px;
    }

    .section-title-disc {
        font-size: 17px;
        font-weight: 800;
        color: #292929;
        height: 18px;
        margin-bottom: 25px;
    }

    .section-title-trust {
        display: block;
    }

    input,
    select,
    button {
        font-family: "Avenir LT Pro";
        padding: 10px;
        border: 1px solid #D9D9D9;
        border-radius: 8px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        width: 100%;
        height: 46px;
    }

    .field {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .review-card {
        background: #fff;
        padding: 16px;
        border-radius: 10px;
        margin-top: 16px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    .review-card p {
        font-size: 13px;
        color: #3A3A3A;
        line-height: 24px;
        margin-top: 4px;
    }

    .review-desc-2nd {
        margin-top: 16px;
        margin-bottom: 14px;
        line-height: 24px;
    }
}