.fancy-woo-checkout {
    padding-top:3rem;
    padding-bottom: 1rem;
}
/* Row Layout */
.fancy-woo-checkout .row>* {
    padding-right: calc(1.5rem * .5);
    padding-left: calc(1.5rem * .5);
    
}
.fancy-woo-checkout .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Column Layout */
.fancy-woo-checkout  [class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.fancy-woo-checkout .flex-column-reverse {
    flex-direction: column-reverse!important;
}
/* For medium devices and up */
@media (min-width: 768px) {
    .fancy-woo-checkout  .flex-md-row {
        flex-direction: row;
    }
    .fancy-woo-checkout .flex-md-row {
        flex-direction: row!important;
    }
}

/* Mobile first (default styles) */
.fancy-woo-checkout .col-xl-9, .fancy-woo-checkout .col-xl-3 {
    flex: 1 0 100%;
    max-width: 100%;
}
@media (min-width: 992px) {
    .fancy-woo-checkout .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
    .fancy-woo-checkout .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
    .fancy-woo-checkout .mb-lg-0 {
        margin-bottom: 0!important;
    }
}

/* Extra large devices (>= 1200px) */
@media (min-width: 1200px) {
    .fancy-woo-checkout .col-xl-9, .fancy-woo-checkout .col-xl-3 {
        flex: 0 0 auto;
    }

    .fancy-woo-checkout .col-xl-9 {
        width: 75%; /* 9/12 = 75% */
    }

    .fancy-woo-checkout .col-xl-3 {
        width: 25%; /* 3/12 = 25% */
    }
}

/* Flex Utilities */
.fancy-woo-checkout .d-flex {
    display: flex;
}

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

.flex-shrink-0 {
    flex-shrink: 0;
}

/* Spacing and Alignment */
.fancy-woo-checkout .mt-3 {
    margin-top: 1rem; 
    margin-bottom: 1rem;
}

.fancy-woo-checkout .mt-4 {
    margin-top: 1.5rem!important;
}
.fancy-woo-checkout .mb-2 {
    margin-bottom: 1rem!important;
}

.fancy-woo-checkout .mb-3 {
    margin-bottom: 1rem!important;
}

.fancy-woo-checkout .w-100 {
    width: 100%!important;
}
.fancy-woo-checkout .border-0 {
    border: 0!important;
}
@media (min-width: 1200px) {
    .fancy-woo-checkout .mt-xl-0 {
        margin-top: 0 !important;
    }
}

.fancy-woo-checkout .p-3 {
    padding: 1rem!important;
}

.fancy-woo-checkout .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.fancy-woo-checkout .pe-3 {
    padding-right: 1rem;
}

.fancy-woo-checkout .me-3 {
    margin-right: 1rem;
}

.fancy-woo-checkout .pl-0 {
    padding-left: 0!important;
}

.fancy-woo-checkout .text-end {
    text-align: right!important;
}

/* Buttons */
.fancy-woo-checkout .btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.fancy-woo-checkout .fancy-form-header a.btn {
    display:inline-flex;
    gap: 5px;
    align-items: center;
    color: #00016B;
    background-image: none;
    border-color: #00016B;
    text-decoration: none;
    border-width:2px;
    border-color:#00016B;
    border-radius: 44px;
    transition: all 0.3s ease-in-out;
}


.woocommerce-cart-form button.update-woo-cart, .check-out-goback a.btn {
    display:inline-flex;
    gap: 5px;
    align-items: center;
    color: #00016B!important;
    background-color: transparent!important;
    background-image: none;
    border-color: #00016B;
    text-decoration: none!important;
    border-width:2px!important;
    border-style: solid!important;
    border-color:#00016B!important;
    border-radius: 44px!important;
    transition: all 0.3s ease-in-out;
}
.apply-coupon-btn {
    display:inline-flex;
    gap: 5px;
    align-items: center;
    text-decoration: none!important;
    border-width:2px!important;
    border-style: solid!important;
    color: #00016B!important;
    background-color: transparent!important;
    background-image: none;
    border-color: #00016B!important;
    border-color:#00016B!important;
    border-radius: 44px!important;
    transition: all 0.3s ease-in-out;
}
.apply-coupon-btn:hover {
    color: #fff!important;
    background-color: #00016B!important;
    border-color: #00016B!important;
}
.fancy-woo-checkout .o-btn-outline-primary:hover {
    color: #fff;
    background-color: #00016B;
    border-color: #00016B;
}
.fancy-woo-checkout a.checkout-button.button.alt.wc-forward:not(:hover) {
    background: #00016B;
    color: #fff;
}
.fancy-woo-checkout a.checkout-button.button.alt.wc-forward {
    border-radius: 40px;
    padding: 16px 24px;
    font-size: 18px;
    line-height: 28px;
}

/* Table */
.fancy-woo-checkout .shop_table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

.fancy-woo-checkout .shop_table_responsive {
    width: 100%;
    overflow-x: auto;
}

.fancy-woo-checkout .shop_table tr.fee td {
    text-align: right;
}

/* Additional styles can be added for other elements as needed */

.fancy-bg {
    background-color: #F4F5F7;
}
.fancy-bg-color-white {
    background: white;
}
.fancy-radius {
    border-radius: 12px;
}

.fancy-woo-checkout  table.shop_table {
    border-collapse: collapse;
}
.fancy-woo-checkout  table.shop_table.woocommerce-cart-form__contents {
    border: 0;
    margin-bottom: 0;
}
.fancy-woo-checkout tbody, .fancy-woo-checkout td, 
.fancy-woo-checkout  tfoot, .fancy-woo-checkout  th, 
.fancy-woo-checkout thead, .fancy-woo-checkout tr {
    border: inherit;
    border-color: inherit;
    border-style: solid;
    border-width: 0!important;
}
.fancy-woo-checkout .shop_table.woocommerce-checkout-review-order-table td, 
.fancy-woo-checkout  .woocommerce-checkout-review-order-table .cart_item td {
    width: 100%;
}

.fancy-woo-checkout  table.shop_table {
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
    border-radius: 5px;
}

.fancy-woo-checkout  table.shop_table.woocommerce-cart-form__contents thead {
    background: #010101;
    color: white;
    text-transform: uppercase;
}
.fancy-woo-checkout table.shop_table.woocommerce-cart-form__contents thead th {
    font-weight: 400;
}
.fancy-woo-checkout table.shop_table.woocommerce-cart-form__contents tbody tr {
    background: #010101;
    color: #f4f5f7;
}

.fancy-woo-checkout  table.shop_table.woocommerce-cart-form__contents tbody tr:nth-child(even) {
    background: #f4f5f7;
    color: #010101;
}
.fancy-woo-checkout table.shop_table.woocommerce-cart-form__contents tbody tr a {
    color: #f4f5f7;
}

.fancy-woo-checkout table.shop_table.woocommerce-cart-form__contents tbody tr:nth-child(even) a {
    color: #010101;
}

.woocommerce table.shop_table.woocommerce-cart-form__contents td.product-name {
    padding: 0;
    text-align: left !important;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 100%!important;
    float: unset!important;
}

.woocommerce table.shop_table.woocommerce-cart-form__contents td .product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    height: 88px;
    width: 88px;
    color: unset !important;
    border-radius: 0;
}
.woocommerce table.shop_table.woocommerce-cart-form__contents td .product-remove a.remove svg {
    width:100%;
    height:44px;
}
.woocommerce table.shop_table.woocommerce-cart-form__contents td .product-remove a.remove:hover {
    background-color: transparent;
}
.woocommerce table.shop_table.woocommerce-cart-form__contents td .product-remove a.remove:hover svg path {
    fill: red;
}

.woocommerce table.shop_table.woocommerce-cart-form__contents td .product-thumbnail img {
    width: 60px;
    height: 60px;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
@media (min-width: 768px) {
    .input-group {
        display: inline-flex;
    }
}

.input-group .quantity {
    margin: 0;
}
.input-group input {
    height: 40px;
}

.input-group .qty {
    text-align: center;
    width: 50px; /* Adjust the width as needed */
    margin: 0 5px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 0!important;
    min-width: 80px;
}

.input-group .minus,
.input-group .plus {
    cursor: pointer;
    padding: 8px 18px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    font-size: 1rem;
}
.input-group input.minus {
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0px!important;
}
.input-group input.plus {
    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0px!important;
}
.input-group .minus:hover,
.input-group .plus:hover {
    background-color: #e2e2e2;
}
.input-group input[type="button"]:focus {
    z-index: 5;
}
.input-group input[type="button"]:focus:not(:focus-visible) {
    outline: 0;
}
.customer-notice-info-box{
    background-color: #efefef;
    border-radius: 9px;
    margin-bottom: 1rem;
    font-size: 0.9em;
}

@media (max-width: 767px) {
    .woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead {
        display: none;
    }
    .woocommerce table.shop_table.woocommerce-cart-form__contents tbody tr:not(:last-child) {
        margin-bottom: 20px;
    }
    .woocommerce table.shop_table.woocommerce-cart-form__contents td.product-name {
        background: white !important;
    }
    .woocommerce table.shop_table.woocommerce-cart-form__contents td.product-name:before {
        content: "Competition";
        display: block;
        float: unset;
        background: #010101;
        color: white;
        padding: 12px 16px;
    } 
    .woocommerce table.shop_table.woocommerce-cart-form__contents td.product-name {
        background: white !important;
    }
    .fancy-woo-checkout  table.shop_table td {
        border-top: 1px solid rgba(0,0,0,.1)!important; 
        padding: 9px 12px;
        vertical-align: middle;
        line-height: 1.5em;
    }
    .woocommerce-checkout .fancy-woo-checkout  table.shop_table td {
        border-top: 0!important;
    }
    .woocommerce-page table.shop_table_responsive tr td.product-quantity::before{
        content: none;
    }

    .input-group .quantity, .input-group .qty {
        width: 100%!important; /* Smaller width for smaller screens */
    }
     .woocommerce-page .fancy-woo-checkout  .product-thumbnail {
        display: initial!important;
    }
    .woocommerce table.shop_table.woocommerce-cart-form__contents td .product-thumbnail img {
        width: 46px;
        height: 46px;
    }
}

/* Checkout Page */

.woocommerce-billing-fields h3 {
    font-size: 16px;
    font-weight: 900;
}

.fancy-woo-checkout .shop_table.woocommerce-checkout-review-order-table {
    margin-top: 24px;
    margin-bottom: 0;
}
.fancy-woo-checkout .shop_table.woocommerce-checkout-review-order-table thead {
    width:100%;
}
.fancy-woo-checkout .shop_table.woocommerce-checkout-review-order-table tfoot {
    display: contents;
}

.fancy-woo-checkout .woocommerce-additional-fields {
    margin-top: 2rem;
}
.fancy-woo-checkout .col-lg-7, .fancy-woo-checkout .col-lg-5  {
    margin-bottom: 2rem!important;
}
.fancy-woo-checkout .col-lg-7 #customer_details, .fancy-woo-checkout .col-lg-5 .woocommerce-checkout-overview {
    position: relative;
    border: 1px solid #e1e2e4;
    border-radius: 1rem;
    padding: 0.77rem;
}

.fancy-woo-checkout #order_review_heading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 16px 16px 0 0;
    text-align: center;
    font-weight: 700;
}
.fancy-woo-checkout #order_review_heading + div {
    margin-top: 54px;
}
.fancy-woo-checkout .order-summary-wrap p{
    font-size: 14px;
    font-weight: 700;
}

#order_review_heading {
	z-index: 1;
    position: relative;
    text-align: center!important;
    color: white;
    margin: 0;
    padding-bottom: 47px;
}
.woocommerce-checkout #payment ul.payment_methods li label, .woocommerce-cart #payment ul.payment_methods li label {
    display: inline;
}

/* Cart Item */

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tbody tr {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e1e2e4;
    }
.woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name {
    max-width: unset;
}

.woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-total {
    text-align: right;
}

tr.cart-subtotal th+td, tr.cart-discount th+td, tr.fee th+td, tr.order-total th+td {
	text-align: right;
	font-weight: bold;
}
table.shop_table.woocommerce-checkout-review-order-table tr th + th.product-total {
    text-align: right;
    font-weight: bold;
}

.woocommerce .woocommerce-checkout-review-order-table .cart_item td {
       font-size: 12px!important;
}

.fancy-woo-checkout  .woocommerce-checkout-review-order-table {
    padding: 12px;
    display: block;
    margin-bottom: 0;
    background: white;
}
.woocommerce .woocommerce-checkout-review-order-table .cart_item span.woocommerce-Price-amount.amount {
    font-weight: bold;
}
.fancy-woo-checkout .woocommerce-privacy-policy-text {
    font-size: 12px;
}
.fancy-woo-checkout #payment #place_order {
    color: white;
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 18px;
    line-height: 28px;
    width: 100%;
}

.fancy-woo-checkout #payment #place_order:not(:hover) {
    background: #00016b;
}
.fancy-woo-checkout  form .form-row textarea {
    min-height: 50px;
}
.fancy-woo-checkout  form .form-row input[type=text], 
.fancy-woo-checkout  form .form-row input[type=email], 
.fancy-woo-checkout  form .form-row input[type=tel], 
.fancy-woo-checkout .form-row input[type=password], 
.fancy-woo-checkout  form .form-row input[type=date],
.fancy-woo-checkout  form .form-row textarea {
    background: #f4f5f7;
    border: 1px solid #ced4da;
}
.fancy-woo-checkout .select2-container--default .select2-selection--single {
    background: #f4f5f7;
    border: 1px solid #ced4da;
    border-radius: 4px;
    min-height: 40px;
    display: flex;
    justify-content: start;
    align-items: center;
}
.fancy-woo-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 5px;
}

.fwc-coupon-form .input-group {
    margin-bottom: 1rem;
}
form.fwc-coupon-form .input-group input {
    margin-right: .5rem;
}
form.fwc-coupon-form .input-group button {
    padding: 8px 24px;
    line-height: 24px;
}

/* Payment Methods */
.fancy-woo-checkout  li.wc_payment_method.payment_method_wallet label {
    display: inline;
}