.woocommerce-custom-wrapper {
    display: flex;
    margin: 0 auto;
    max-width: 100%;
    padding: 57px 20px 47px;
}

.woocommerce .product_section .flex-container {
    justify-content: start;
}

.woocommerce div.product {
    width: 100%;
}

.woocommerce .products-sidebar {
    margin-right: 40px;
}

.woocommerce ul.products {
    padding: 28px 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: inherit;
    padding: 15px 20px;
}

.woocommerce ul.products li.product a img {
    object-fit: scale-down;
    padding: 0;
    height: 100%;
    width: 100%;
}

.woocommerce ul.products li.product h3 {
    color: #000;
    display: inline-block;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .025em;
    line-height: 24px;
    margin: 8px 0 0;
    padding: 12px 0 10px;
    text-transform: uppercase
}

.woocommerce span.onsale {
    background-color: #000;
    min-height: 3.2em;
    min-width: 3.6em;
}

.woocommerce .products_section .widget-wrap ul.product-categories li {
    display: block;
    width: 100%
}

.woocommerce .products_section .widget-wrap ul.product-categories li a {
    background: #fff;
    color: #000;
    display: block;
    font-family: franklin-gothic-atf, sans-serif;
    font-size: 18px;
    font-weight: 200;
    letter-spacing: .05em;
    line-height: 24px;
    padding: 13px 5px 13px 50px;
    position: relative;
    width: 100%
}

.woocommerce .products_section .widget-wrap ul.product-categories li a:after,
.woocommerce .products_section .widget-wrap ul.product-categories li a:before {
    background: #d2d9df;
    content: "";
    height: 30px;
    left: 0;
    position: absolute;
    top: calc(50% - 15px);
    width: 30px;
    z-index: 2
}

.woocommerce .products_section .widget-wrap ul.product-categories li a:after {
    background: url(../assets/img/ic-selected.png) center center no-repeat;
    opacity: 0;
    z-index: 3
}

.woocommerce .products_section .widget-wrap ul.product-categories li a:active,
.woocommerce .products_section .widget-wrap ul.product-categories li a:focus,
.woocommerce .products_section .widget-wrap ul.product-categories li a:hover {
    background: #edf0f2
}

.woocommerce .products_section .widget-wrap ul.product-categories li a:active:before,
.woocommerce .products_section .widget-wrap ul.product-categories li a:focus:before,
.woocommerce .products_section .widget-wrap ul.product-categories li a:hover:before {
    background: #728a9e
}

.woocommerce .products_section .widget-wrap ul.product-categories li.current-cat a {
    background: #edf0f2
}

.woocommerce .products_section .widget-wrap ul.product-categories li.current-cat a:before {
    background: #728a9e
}

.woocommerce .products_section .widget-wrap ul.product-categories li.current-cat a:after {
    opacity: 1
}

.woocommerce .products_section .image-wrap .product-image,
.woocommerce .products_section .image-wrap .product-image img,
.woocommerce .products_section .image-wrap .product-image:before,
.woocommerce .products_section .image-wrap:after,
.woocommerce .products_section .widget-wrap ul.product-categories li a:after,
.woocommerce .products_section .widget-wrap ul.product-categories li a:before {
    transition: .3s
}

@media screen and (max-width: 1240px) {
    .woocommerce .products_section .widget-wrap ul.product-categories li a {
        font-size: 14px
    }
}

.woocommerce div.product form.cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #50677f;
    clip-path: polygon(100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 0, 100% 0);
    color: #fff;
    display: inline-block;
    font-family: "Space Mono", monospace;
    font-size: 18px;
    letter-spacing: -.015em;
    line-height: 26px;
    padding: 15px 50px 15px 30px;
    text-align: left;
    text-transform: uppercase;
    width: 50%;
}

.woocommerce div.product form.cart .button {
    display: block;
    float: none;
    width: inherit;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #3b3b3b;
}

.woocommerce div.product form.cart {
    align-items: baseline;
    display: flex;
    flex-direction: column;
}

.woocommerce div.product form.cart div.quantity {
    align-items: center;
    background: #eee;
    display: inline-block;
    float: none;
    margin-bottom: 20px;
}

.woocommerce .quantity .qty,
.woocommerce div.product form.cart .variations select {
    background: #edf0f2;
    border-color: #edf0f2;
    border-radius: 0;
    border-style: solid;
    border-width: 1px !important;
    color: #000;
    font-family: franklin-gothic-atf, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    letter-spacing: .025em;
    line-height: 24px !important;
    margin: 0 auto;
    outline: 0;
    padding: 7px 24px;
    transition: border-color .3s;
}

.woocommerce div.product form.cart .variations select {
    width: 100%;
}

.woocommerce .quantity .qty {
    padding: 0
}

.woocommerce div.product form.cart div.quantity .qty-btn {
    border: 0;
}

.woocommerce div.product form.cart .variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

.woocommerce div.product form.cart .variations tr:last-child {
    margin-bottom: 0;
}

.woocommerce div.product .product_title {
    color: #000;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    margin: 0;
    text-transform: uppercase;
}

.woocommerce div.product div.images img {
    border: 1px #50677f solid;
    max-height: 400px;
    object-fit: contain;

}

.woocommerce-product-gallery__image:first-child {
    margin-bottom: 10px;
}



/* .woocommerce div.product div.images img {
    background: #50677f;
    clip-path: polygon(100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 0, 100% 0);
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.woocommerce-product-gallery__image:first-child {
    background: #50677f;
    clip-path: polygon(100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 0, 100% 0);
    display: block;
    height: 400px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.woocommerce-product-gallery__image:first-child a {
    background: #fff;
    bottom: 1px;
    clip-path: polygon(100% calc(100% - 49px), calc(100% - 49px) 100%, 0 100%, 0 0, 100% 0);
    left: 1px;
    overflow: hidden;
    position: absolute;
    right: 1px;
    top: 1px;
    z-index: 1;
}

.woocommerce-product-gallery__image:first-child img {
    left: 50%;
    position: absolute;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
} */

.woocommerce-product-gallery__image:not(:first-child):not(:last-child) {
    margin-right: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: calc(25% - 10px);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    padding: 10px;
    width: 100%;
    height: 100%;
    object-fit: contain;    
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
}

.woocommerce .woocommerce-notices-wrapper {
    width: 100%;
}

.archive .woocommerce-notices-wrapper,
.woocommerce-shop .woocommerce-notices-wrapper {
    display: none;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    border-top-color: #000
}

.woocommerce-error:before,
.woocommerce-info:before,
.woocommerce-message:before {
    color: #000;
}

.woocommerce-cart {
    font-size: 18px;
}

.woocommerce-cart .woocommerce-cart-form__contents th,
.woocommerce-cart .woocommerce-cart-form__contents td,
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    font-size: 18px;
    /* Apply the same or slightly larger size for better readability */
}

.woocommerce-cart .button {
    font-size: 16px;
}

.single_variation_wrap {
    width: 100%;
}

.woocommerce div.product form.cart .reset_variations,
#order_review_heading {
    display: none !important;
}

.woocommerce-cart-form .quantity {
    background: #eee;
    display: inline-block;
}

.woocommerce-cart-form .qty-btn {
    border: 0;
}

.woocommerce-cart table.cart .product-thumbnail {
    max-width: 100px;
}

.woocommerce-cart table.cart img {
    width: 100px;
}

/* WooCommerce Checkout page */
/* Main Checkout Container: Arrange Billing/Shipping and Order Summary in Two Columns */
.woocommerce-checkout form.checkout {
    display: flex;
    flex-direction: row;
    /* Adjust spacing between sections */
    flex-wrap: wrap;
    gap: 30px;
    /* Arrange billing and order details side-by-side */
    justify-content: space-between;
}

/* Billing and Shipping Details (Including Additional Information) */
.woocommerce-checkout #customer_details {
    flex: 2;
    /* Give more space to the customer details */
    max-width: 60%;
    /* Adjust width to balance with the order details */
}

/* Order Review on the Right */
.woocommerce-checkout #order_review {
    flex: 1;
    /* Adjust width as needed */
    margin-left: auto;
    /* Allocate less space for order summary */
    max-width: 35%;
    /* Push to the right */
}

/* Additional Information: Make it Follow Billing/Shipping Details */
.woocommerce-checkout #customer_details .woocommerce-additional-fields {
    margin-top: 20px;
}

/* Remove Columns to Make Additional Info Follow Billing Info */
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    clear: both;
    width: 100%;
}


/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .woocommerce-checkout form.checkout {
        flex-direction: column;
        /* Stack sections for smaller screens */
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        max-width: 100%;
        /* Take full width on smaller screens */
    }
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-selection__rendered {
    background: #edf0f2;
    border: 0;
    color: #000;
    font-family: franklin-gothic-atf, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    letter-spacing: .025em;
    line-height: 24px !important;
    margin: 0 auto;
    outline: 0;
    padding: 7px 24px;
    transition: border-color .3s;
    width: 100%;
}

.woocommerce form .form-row .select2-container--default .select2-selection--single {
    border: 0;
}

.woocommerce-checkout .page-sections .the-content p {
    margin: 0 auto 10px;
}

.woocommerce-checkout h3 {
    font-size: 24px;
    letter-spacing: .025em;
    line-height: 30px;
    margin: 18px 0 15px;
    text-transform: uppercase;
    width: 100%;
}

.woocommerce-checkout #payment div.payment_box .clover-gateway {
    background-color: transparent;
}

.woocommerce #payment #place_order, 
.woocommerce-page #payment #place_order {
    background: #434344;
    clip-path: polygon(100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 0, 100% 0);
    font-size: 18px;
    line-height: 32px;
    padding: 8px 34px 10px;
}

.woocommerce #payment #place_order:hover, 
.woocommerce-page #payment #place_order:hover {
    background: #50677F;
}

.woocommerce-checkout #payment div.payment_box .clover-gateway .form-row {
    margin: 0;
    padding: 0;
}

@media only screen and (max-width : 480px) {
    .woocommerce ul.products li.product h3 {
        font-size: 18px;
    }
    .woocommerce ul.products[class*=columns-] li.product, 
    .woocommerce-page ul.products[class*=columns-] li.product {
        margin-bottom: 0;
    }
    .woocommerce ul.products li.product a img {
        padding: 10px;
    }
}