root{
    --title-bg: #1C2F571A;
}
.fd-wc-notice{
    padding:0;
}
.fd-wc-notice li a{
    color: #222222;
}
/* Cart Styles */
.fd-cart-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}
.fd-cart-form {
    padding: 24px;
    background-color: #F4F5F7;
    border-radius: 16px;
    margin-bottom: 24px;
}
.fd-cart-table {
    padding-bottom: 100px;
}
.fd-cart-form .fd-section-header-main{
    margin-bottom: 24px;
}
.fd-cart-form .fd-section-header-main.head-2{
    margin-bottom: 16px;
}
.fd-cart-wrapper .fd-section-title, .fd-checkout-wrap .fd-section-title{
    font-size: 24px;
}
.fd-card-items-wrap {
    background-color: white;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.fd-card-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fd-card-item-icon {
    display: none;
    width: 48px;
    height: 48px;
    background-color: #F9EAEA;
    border-radius: 6px;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    color: #C52F32;
}
.fd-card-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f4f5f7;
    padding-bottom: 10px;
}
.fd-card-item-info p {
    font-weight: 500;
    color: #AAAAAA;
}
.fd-card-item-info span {
    font-weight: 500;
    color: #555555;
}
.fd-card-item .fd-cart-remove {
    color: #555555;
}
.fd-card-item .fd-cart-remove:hover {
    color: #C52F32;
}
.fd-cart-coupon{
    color: #AAAAAA;
    font-weight: 500;
    margin-left: 24px;
}
.fd-coupon {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
}
#fd-cart-update-btn{
    margin-top: 16px;
}
.fd-cart-total{
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #F4F5F7;
    height: max-content;
}
.fd-cart-wrapper .fd-cart-total .cart_totals{
    width: 100%;
}
#fd-cart-total-table {
    border: none;
    margin-top: 24px;
}
#fd-cart-total-table tr th,#fd-cart-total-table tr td{
    border: none;
    border-bottom: 1px dashed #1C2F571A;
    vertical-align: middle;
    padding: 16px 5px;
}
#fd-cart-total-table tr td{
    text-align: left;
}
#fd-cart-total-table th,
#fd-cart-total-table td span{
    font-size: 14px;
    font-weight: 500;
}
#fd-cart-total-table th{
    color: #55555580;
}
#fd-cart-total-table td span{
    color: #555555;
}
#fd-cart-total-table th.fd-cart-total-price{
    font-weight: 700;
    color: #555555;
    border:none;
}
#fd-cart-total-table .fd-cart-total-price, #fd-cart-total-table .fd-cart-total-price{
    border: none;
}
#fd-cart-total-table td.fd-cart-total-price span{
    font-weight: 700;
    color: #C52F32;
    font-size: 18px;
}
.woocommerce-remove-coupon {
    color: #C52F32;
    font-size: 14px;
}
@media(min-width: 768px){
    .fd-card-items-wrap {
        flex-direction: row;
        align-items: center;
    }
    .fd-card-item-icon{
        display: flex;
    }
    .fd-card-item {
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
        align-items: center;
    }
    .fd-card-item-info {
        flex-direction: column;
        align-items: start;
        padding: 0;
        gap: 8px;
        border: unset;
    }
    .fd-coupon {
        flex-direction: row;
    }
    #fd-cart-total-table tr th,#fd-cart-total-table tr td{
        width: 50%;
    }
}
@media(min-width: 992px){
    .fd-cart-wrapper {
        grid-template-columns: 3fr 1fr;
    }
}

/* Checkout Styles */
.fd-checkout-wrap{
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}
.fd-checkout-detail,.fd-checkout-review{
    padding: 24px;
    border-radius: 16px;
}
.fd-checkout-detail{
    background-color: #F4F5F7;
    height: max-content;
}
.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.woocommerce-billing-fields__field-wrapper p.fd-checkout-field{
    width: 100%;
}
.fd-checkout-detail #customer_details, .fd-checkout-detail .fd-checkout-note{
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    margin-top: 29px;
}
.fd-checkout-detail #customer_details .input-text{
    padding: 8px;
    border: 1px solid #1C2F5726;
    border-radius: 8px;
}
.fd-checkout-detail #customer_details .input-text:focus-visible{
    outline: 2px solid #c52f32;
}
.fd-checkout-note{
    margin-bottom: 90px;
}
.fd-checkout-note p{
    font-weight: 500;
    line-height: 32px;
    color: #555555;
}
.fd-checkout-review{
    border: 1px solid #F4F5F7;
}
.fd-checkout-review .shop_table.woocommerce-checkout-review-order-table {
    border: none;
    background-color: #F4F5F7;
    border-radius: 12px;
    padding: 16px 0;
    margin-top: 24px;
}
.fd-checkout-review .shop_table.woocommerce-checkout-review-order-table th,
.fd-checkout-review .shop_table.woocommerce-checkout-review-order-table td{
    font-size: 14px;
    font-weight: 500;
    border:none;
    border-bottom: 1px dashed #1C2F571A;
}
.fd-checkout-review .shop_table.woocommerce-checkout-review-order-table th{
    color:#55555580;
}
.fd-checkout-review .shop_table.woocommerce-checkout-review-order-table td{
    text-align: left;
    color: #555555;
}
#fd-order-total th{
    color: #555555;
    font-weight: 700;
    border: none;
}
#fd-order-total td{
    font-size: 18px;
    color: #C52F32;
    font-weight: 700;
    border: none;
}
.fd-checkout-review #payment{
    background-color: transparent;
    padding: 0;
}
#fd-payment-methods-wrap{
    background-color: #F4F5F7;
    border-radius: 12px;
    padding: 16px;
}
.fd-payment-box-title{
    font-size: 14px;
    font-weight: 500;
    color: #55555580;
    margin-bottom: 15px;
}
.fd-checkout-review #payment ul.wc_payment_methods{
    padding: 0;
    border: none;
}
.fd-checkout-review #payment ul li.fd-payment-item {
    background-color: #ffffff;
    border: 1px solid #1C2F571A;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 8px;

}
.fd-checkout-review #payment ul li.fd-payment-item input{
    display: none;
}
#payment ul li.fd-payment-item .fd-payment-item-label{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555555;
    font-weight: 500;
}
.fd-checkout-review #payment ul li.fd-payment-item:hover {
    border: 1px solid #C52F32;
    outline: 4px solid #F9EAEA;
}
.fd-checkout-review #payment ul li.fd-payment-item:hover .fd-payment-item-label {
    color:#C52F32;
}
.fd-payment-image {
    background-color: #F4F5F7;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}
.fd-checkout-review #payment ul li.fd-payment-item:hover .fd-payment-image{
    background-color: #F9EAEA;
}
ul#fd-payment-methods li.fd-payment-item .fd-payment-image img{
    width: 100%;
    margin: 0;
}
#payment #fd-checkout-btn{
    padding: 16px 0;
}
@media(min-width: 768px){
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}
@media(min-width: 992px){
    .fd-checkout-wrap {
        grid-template-columns: 3fr 1fr;
    }
}

/* Thank you styles */
#fd-thank-you{
    padding: 32px;
    background-color: #F4F5F7;
    border-radius:24px;
    margin-bottom: 170px;
}
#fd-thank-you .fd-order-success-text {
    font-size: 14px;
    font-weight: 700;
    color: #118E62;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 32px 0;
}
#fd-thank-you-card {
    margin-bottom: 8px;
}
#fd-thank-you-card .fd-order-detail{
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #F4F5F7;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
#fd-thank-you-card .card-icon{
    background-color: #F9EAEA;
    color: #C52F32;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 32px;
}
#fd-thank-you-card .fd-card-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#fd-thank-you-card .fd-card-info p {
    font-weight: 500;
    color: #555555;
}
#fd-thank-you-card .fd-card-info strong {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
}
.fd-thank-you-details .fd-overview, .fd-thank-you-details .fd-payment-detail{
    background-color: #FFFFFF;
    border-radius: 16px;
}
.fd-thank-you-details .fd-overview{
    padding: 24px;
}
.fd-thank-you-details .fd-payment-detail{
    padding: 16px;
}
.fd-thank-you-details .fd-order-info{
    margin-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1C2F571A;
}
.fd-thank-you-details .fd-order-name {
    display: flex;
    gap: 8px;
    align-items: center;
}
.fd-thank-you-details .fd-thank-you-note{
    background-color: #F4F5F7;
    border-radius: 12px;
    font-size: 14px;
    color: #555555;
    line-height: 29px;
    padding: 16px;
    margin-top: 24px;
}
.fd-thank-you-details #thank-you-account-link {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
.fd-thank-you-details .fd-invoice-detail, .fd-thank-you-details .fd-invoice-payment{
    background-color: #F4F5F7;
    border-radius: 12px;
    margin: 16px 0;
    padding: 16px;
}
.fd-thank-you-details .invoice-item-detail, .fd-thank-you-details .payment-item-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px dashed #1C2F571A;
}
.fd-thank-you-details .invoice-item-detail:not(:first-child), .fd-thank-you-details .payment-item-detail:not(:first-child){
    margin-top: 16px;
}
.fd-thank-you-details .invoice-item-detail:last-child,.fd-thank-you-details .payment-item-detail:last-child{
    padding: 0;
    border: 0;
}
.fd-thank-you-details .invoice-item-detail p, .fd-thank-you-details .payment-item-detail p{
    font-size: 14px;
    color: #55555580;
}
.fd-thank-you-details .invoice-item-detail span,.fd-thank-you-details .payment-item-detail span{
    font-size: 14px;
    color: #555555;
}
.fd-thank-you-details .invoice-item-detail.total p{
    font-weight: 700;
    color: #555555;
}
.fd-thank-you-details .invoice-item-detail.total span{
    font-size: 18px;
    font-weight: 700;
    color: #C52F32;
}
@media (min-width: 768px) {
    #fd-thank-you .fd-order-success-text {
        font-size: 18px;
    }
}