:root {
    --grid-row-gap: 26px;
    --grid-column-gap: 26px;
    --container-padding: 26px;
    --content-width: calc(1268px + (2 * var(--container-padding)));
}

.woocommerce {
    .product {
        width: 100%;
        margin: 30px auto;
    }

    .product_title.entry-title {
        margin-bottom: 20px;
    }

    .woocommerce-product-details__short-description p {
        font-size: 13px;
        line-height: 21px;
        margin-bottom: 26px;
    }

    p.price {
        font-size: 26px !important;
        font-weight: 700;
        color: #FDB813 !important;
    }

    .woocommerce-breadcrumb {
        width: 100%;
        margin: 30px auto;
    }

    div.product div.summary {
        display: flex;
        flex-direction: column;

        h1 {
            order: 2;
        }

        .price {
            order: 3;
        }

        .woocommerce-product-details__short-description {
            order: 4;
        }
        
        .cart {
            order: 5;
        }
        
        .product_meta {
            order: 1;
        }
    }

}

.posted_in {
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-size: 14px;
    padding: 2px 8px;
    margin-bottom: 10px;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 20px !important;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.1);

    h2 {
        margin-bottom: 20px;
    }

    p:last-child {
        margin-bottom: 0;
    }
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #161616;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;

    &:hover {
        background-color: #FDB813;
    }
}

.woocommerce div.product form.cart {
    width: 100%;
}

.woocommerce div.product form.cart .single_add_to_cart_button.button {
    padding: 12px 24px 12px 44px;
    border-radius: 8px;
    background-color: #FDB813;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='15' height='14' viewBox='0 0 15 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_25_2584)'%3E%3Cpath d='M4.72591 12.8333C5.04808 12.8333 5.30924 12.5722 5.30924 12.25C5.30924 11.9278 5.04808 11.6667 4.72591 11.6667C4.40375 11.6667 4.14258 11.9278 4.14258 12.25C4.14258 12.5722 4.40375 12.8333 4.72591 12.8333Z' stroke='white' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.1429 12.8333C11.4651 12.8333 11.7262 12.5722 11.7262 12.25C11.7262 11.9278 11.4651 11.6667 11.1429 11.6667C10.8207 11.6667 10.5596 11.9278 10.5596 12.25C10.5596 12.5722 10.8207 12.8333 11.1429 12.8333Z' stroke='white' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.25586 1.19584H2.42253L3.97419 8.44083C4.03111 8.70617 4.17875 8.94336 4.39169 9.11159C4.60463 9.27981 4.86955 9.36854 5.14086 9.3625H10.8459C11.1114 9.36207 11.3688 9.27109 11.5756 9.10457C11.7824 8.93806 11.9263 8.70598 11.9834 8.44667L12.9459 4.1125H3.04669' stroke='white' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_25_2584'%3E%3Crect width='14' height='14' fill='white' transform='translate(0.0595703)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: left 18px center;
    background-size: 15px 14px;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-right: 20px;
}

.woocommerce div.product form.cart .single_buy_now_button.button {
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #fff;
    background-size: 15px 14px;
    color: #0A0A0A;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.custom-quantity-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.custom-quantity-wrap input {
    height: 32px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0 10px;
    border-radius: 6px;
}

.custom-quantity-wrap .qty-label {
    float: left;
    margin-right: 15px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    background: #ECECF0;
    border-radius: 12px;
    display: flex;
    border: 0;
    padding: 0;

    &::before {
        display: none;
    }
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0;
    background-color: transparent;
    color: #0A0A0A;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    width: 100%;

    a {
        font-weight: 400;
        padding: 5px;
        width: 100%;
    }
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border: 0;
    background-color: #FDB813;
    color: #fff;
    border-radius: 12px;
    text-align: center;

    &::before,
    &::after {
        display: none;
    }
}

.woocommerce-products-header__title.page-title {
    margin-bottom: 30px;
}

.woocommerce .woocommerce-ordering select {
    border-radius: 6px;
    border: 0;
    padding: 10px;
    background-color: #F3F3F5;
    color: #0A0A0A;
    font-size: 14px;

    &:focus {
        outline: none;
        border-color: #FDB813;
    }
}

.woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;

    .woocommerce-loop-product__title {
        padding: 0 20px;
        margin-bottom: 10px;
    }
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    font-size: 28px !important;
    font-weight: 700;
    color: #FDB813 !important;
    padding: 0 20px 10px;
}

.woocommerce ul.products li.product .button {
    background-color: #FDB813;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='14' height='15' viewBox='0 0 14 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.91699 7.25H11.0837' stroke='white' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 3.16666L11.0833 7.25L7 11.3333' stroke='white' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-position: right 10px center;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    padding: 12px 24px;
    transition: background-color 0.3s ease;
    margin: 0 20px 20px 20px;
    font-weight: 400;
    display: block;
    text-align: center;

    &:hover {
        background-color: #000;
        color: #fff;
    }
}

.woocommerce-loop-product__desc {
    padding: 0 20px 0 20px;
}

.woocommerce-loop-product__desc p {
    font-size: 12px;
    line-height: 18px;
    color: #4A5565;
    margin: 10px 0 20px;
}