/* =========================================================
   SINGLE PRODUCT PAGE
   ========================================================= */

.single-product-page {
    padding: 60px 0;
}

.single-product-page .container {
    max-width: 1200px;
}

/* Remove default WooCommerce spacing */

.single-product-page div.product {
    margin: 0;
}

/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.single-product-page .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 0 30px;
}

.single-product-page .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.single-product-page .woocommerce-product-gallery__image {
    overflow: hidden;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    background: #fff;
}

.single-product-page .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* Gallery thumbnails */

.single-product-page .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin: 15px 0 0 !important;
    padding: 0;
}

.single-product-page .flex-control-thumbs li {
    width: 80px !important;
    margin: 0 !important;
}

.single-product-page .flex-control-thumbs li img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    cursor: pointer;
}

/* =========================================================
   PRODUCT SUMMARY
   ========================================================= */

.single-product-page .summary {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

/* Product title */

.single-product-page .product_title {
    margin: 0 0 20px;
    color: #222;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 600;
}

/* Rating */

.single-product-page .woocommerce-product-rating {
    margin: 0 0 20px;
}

.single-product-page .star-rating {
    color: #16672e;
}

/* Price */

.single-product-page .price {
    display: block;
    margin: 0 0 25px;
    color: #16672e;
    font-size: 26px;
    font-weight: 600;
}

.single-product-page .price del {
    margin-right: 8px;
    color: #999;
    font-size: 18px;
    font-weight: 400;
}

.single-product-page .price ins {
    color: #16672e;
    text-decoration: none;
}

/* Short description */

.single-product-page .woocommerce-product-details__short-description {
    margin: 0 0 25px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.single-product-page .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ADD TO CART
   ========================================================= */

.single-product-page form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 25px 0;
}

.single-product-page form.cart .quantity {
    margin: 0 !important;
}

.single-product-page form.cart .qty {
    width: 75px;
    height: 48px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    background: #fff;
}

.single-product-page form.cart .single_add_to_cart_button {
    min-height: 48px;
    padding: 12px 28px;
    background: #16672e;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.single-product-page form.cart .single_add_to_cart_button:hover {
    background: #115323;
    color: #fff;
}

/* =========================================================
   PRODUCT META
   ========================================================= */

.single-product-page .product_meta {
    padding-top: 20px;
    border-top: 1px solid #e9e9e9;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}

.single-product-page .product_meta > span {
    display: block;
}

.single-product-page .product_meta a {
    color: #16672e;
    text-decoration: none;
}

.single-product-page .product_meta a:hover {
    text-decoration: underline;
}

/* =========================================================
   SALE BADGE
   ========================================================= */

.single-product-page .onsale {
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    min-width: auto;
    min-height: auto;
    padding: 7px 12px;
    background: #16672e;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

/* =========================================================
   TABS
   ========================================================= */

.single-product-page .woocommerce-tabs {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

.single-product-page .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px !important;
    padding: 0 !important;
    border: 0;
}

.single-product-page .woocommerce-tabs ul.tabs::before,
.single-product-page .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.single-product-page .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.single-product-page .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    color: #444;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.single-product-page .woocommerce-tabs ul.tabs li.active a,
.single-product-page .woocommerce-tabs ul.tabs li a:hover {
    background: #16672e;
    border-color: #16672e;
    color: #fff;
}

.single-product-page .woocommerce-Tabs-panel {
    margin: 0 !important;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   PRODUCT DESCRIPTION
   ========================================================= */

.single-product-page .woocommerce-Tabs-panel h2 {
    margin: 0 0 20px;
    color: #222;
    font-size: 24px;
    font-weight: 600;
}

.single-product-page .woocommerce-Tabs-panel p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ADDITIONAL INFORMATION
   ========================================================= */

.single-product-page .woocommerce-product-attributes {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.single-product-page .woocommerce-product-attributes th,
.single-product-page .woocommerce-product-attributes td {
    padding: 12px 15px;
    border: 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.single-product-page .woocommerce-product-attributes th {
    width: 35%;
    color: #333;
    font-weight: 600;
}

.single-product-page .woocommerce-product-attributes td {
    color: #666;
}

/* =========================================================
   REVIEWS
   ========================================================= */

.single-product-page #reviews {
    color: #555;
}

.single-product-page #reviews .commentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product-page #reviews .comment_container {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.single-product-page #reviews .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.single-product-page #reviews .comment-text {
    margin-left: 70px;
}

.single-product-page #review_form_wrapper {
    margin-top: 30px;
}

.single-product-page #review_form_wrapper input,
.single-product-page #review_form_wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.single-product-page #review_form_wrapper textarea {
    min-height: 140px;
}

.single-product-page #review_form_wrapper .submit {
    padding: 12px 25px;
    background: #16672e;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-weight: 600;
}

.single-product-page #review_form_wrapper .submit:hover {
    background: #115323;
}

/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

.single-product-page .related,
.single-product-page .upsells {
    margin-top: 50px;
}

.single-product-page .related > h2,
.single-product-page .upsells > h2 {
    margin: 0 0 30px;
    color: #222;
    font-size: 26px;
    font-weight: 600;
}

.single-product-page .related ul.products,
.single-product-page .upsells ul.products {
    margin: 0;
    padding: 0;
}

/* Related product cards */

.single-product-page ul.products li.product {
    margin-bottom: 30px;
}

.single-product-page ul.products li.product a img {
    margin: 0 0 15px;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
}

.single-product-page ul.products li.product .woocommerce-loop-product__title {
    color: #222;
    font-size: 17px;
    font-weight: 600;
}

.single-product-page ul.products li.product .price {
    margin: 8px 0;
    font-size: 17px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .single-product-page {
        padding: 40px 0;
    }

    .single-product-page .summary {
        margin-top: 25px !important;
        padding: 25px;
    }

    .single-product-page .product_title {
        font-size: 28px;
    }

    .single-product-page .woocommerce-tabs {
        margin-top: 30px;
        padding: 25px;
    }

}

@media (max-width: 767px) {

    .single-product-page {
        padding: 30px 0;
    }

    .single-product-page .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .single-product-page .summary {
        padding: 20px;
        border-radius: 10px;
    }

    .single-product-page .product_title {
        font-size: 24px;
    }

    .single-product-page .price {
        font-size: 23px;
    }

    .single-product-page form.cart {
        align-items: stretch;
    }

    .single-product-page form.cart .quantity {
        width: 100%;
    }

    .single-product-page form.cart .qty {
        width: 100%;
    }

    .single-product-page form.cart .single_add_to_cart_button {
        width: 100%;
    }

    .single-product-page .woocommerce-tabs {
        padding: 20px;
        border-radius: 10px;
    }

    .single-product-page .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .single-product-page .woocommerce-tabs ul.tabs li,
    .single-product-page .woocommerce-tabs ul.tabs li a {
        width: 100%;
    }

    .single-product-page .woocommerce-product-attributes th,
    .single-product-page .woocommerce-product-attributes td {
        display: block;
        width: 100%;
    }

}

@media (max-width: 575px) {

    .single-product-page .product_title {
        font-size: 22px;
    }

    .single-product-page .woocommerce-product-gallery__image {
        border-radius: 10px;
    }

    .single-product-page .woocommerce-tabs {
        margin-top: 20px;
    }

}

/* =========================================================
   CART
   ========================================================= */

.woocommerce-cart-page .checkout-section {
    padding: 30px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

.woocommerce-cart-page .checkout-heading {
    margin: 0 0 30px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

@media (max-width: 767px) {

    .woocommerce-cart-page .checkout-section {
        padding: 20px;
    }

    .woocommerce-cart-page .checkout-heading {
        margin-bottom: 25px;
        font-size: 21px;
    }

}

.woocommerce-cart-page .checkout-section {
    padding: 30px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

.woocommerce-cart-page .checkout-heading {
    margin: 0 0 30px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

@media (max-width: 767px) {

    .woocommerce-cart-page .checkout-section {
        padding: 20px;
    }

    .woocommerce-cart-page .checkout-heading {
        margin-bottom: 25px;
        font-size: 21px;
    }

}


/* =========================================================
   CHECKOUT
   ========================================================= */

.woocommerce-checkout {
    width: 100%;
}


/* =========================================================
   CHECKOUT BOX
   ========================================================= */

.checkout-box {
    width: 100%;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   SECTION
   ========================================================= */

.checkout-section {
    width: 100%;
}

.checkout-section + .checkout-section {
    margin-top: 45px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.checkout-heading {
    margin: 0 0 30px;
    padding: 0;
    color: #17231a;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
}


/* =========================================================
   FORM ROWS
   ========================================================= */

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
    padding: 0;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.woocommerce-checkout .form-row label .required {
    color: #16672e;
}


/* =========================================================
   INPUTS
   ========================================================= */

.woocommerce-checkout
input.input-text,
.woocommerce-checkout
input[type="text"],
.woocommerce-checkout
input[type="email"],
.woocommerce-checkout
input[type="tel"],
.woocommerce-checkout
input[type="number"],
.woocommerce-checkout
input[type="password"],
.woocommerce-checkout
select,
.woocommerce-checkout
textarea {

    display: block;
    width: 100%;
    min-height: 52px;

    margin: 0;
    padding: 12px 15px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background-color: #ffffff;
    color: #222222;

    font-size: 15px;
    line-height: 1.5;

    box-shadow: none;
    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* TEXTAREA */

.woocommerce-checkout textarea {
    min-height: 120px;
    resize: vertical;
}


/* FOCUS */

.woocommerce-checkout
input.input-text:focus,
.woocommerce-checkout
input[type="text"]:focus,
.woocommerce-checkout
input[type="email"]:focus,
.woocommerce-checkout
input[type="tel"]:focus,
.woocommerce-checkout
select:focus,
.woocommerce-checkout
textarea:focus {

    border-color: #16672e;
    box-shadow: 0 0 0 3px rgba(22, 103, 46, .08);
}


/* =========================================================
   FIRST / LAST NAME
   ========================================================= */

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48%;
}

.woocommerce-checkout .form-row-first {
    float: left;
}

.woocommerce-checkout .form-row-last {
    float: right;
}


/* Clear floats after billing rows */

.woocommerce-checkout .woocommerce-billing-fields {
    overflow: hidden;
}


/* =========================================================
   ADDITIONAL INFORMATION
   ========================================================= */

.woocommerce-additional-fields {
    width: 100%;
}

.woocommerce-additional-fields__field-wrapper {
    width: 100%;
}


/* =========================================================
   ORDER BOX
   ========================================================= */

.checkout-order-box {
    position: sticky;
    top: 30px;
}

.checkout-order-box .checkout-heading {
    margin-bottom: 25px;
}


/* =========================================================
   ORDER TABLE
   ========================================================= */

.checkout-order-box table.shop_table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
}

.checkout-order-box table.shop_table th,
.checkout-order-box table.shop_table td {
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    background: transparent;
    vertical-align: middle;
}

.checkout-order-box table.shop_table th {
    color: #555555;
    font-size: 13px;
    font-weight: 600;
}

.checkout-order-box table.shop_table td {
    color: #333333;
    font-size: 14px;
}

.checkout-order-box table.shop_table .product-total {
    text-align: right;
    font-weight: 600;
}


/* TOTAL */

.checkout-order-box table.shop_table .order-total th,
.checkout-order-box table.shop_table .order-total td {
    padding-top: 22px;
    border-bottom: 0;
    color: #16672e;
    font-size: 20px;
    font-weight: 700;
}

.checkout-order-box table.shop_table .order-total td {
    text-align: right;
}


/* =========================================================
   PAYMENT
   ========================================================= */

.checkout-order-box #payment {
    margin-top: 30px;
    padding: 20px;
    border: 0;
    border-radius: 10px;
    background: #f6f7f5;
}

.checkout-order-box #payment ul.payment_methods {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.checkout-order-box #payment ul.payment_methods li {
    padding: 10px 0;
    margin: 0;
}

.checkout-order-box #payment ul.payment_methods li label {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}

.checkout-order-box #payment .payment_box {
    margin: 15px 0 0;
    padding: 15px;
    border-radius: 8px;
    background: #ffffff;
}


/* =========================================================
   PLACE ORDER
   ========================================================= */

.checkout-order-box #place_order {

    display: block;

    width: 100%;
    min-height: 56px;

    margin-top: 20px;
    padding: 12px 25px;

    border: 0;
    border-radius: 8px;

    background: #16672e;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .2s ease;
}

.checkout-order-box #place_order:hover {
    background: #105021;
    transform: translateY(-1px);
}


/* =========================================================
   WOOCOMMERCE NOTICES
   ========================================================= */

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    margin-bottom: 30px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .checkout-order-box {
        position: static;
    }

    .checkout-box {
        padding: 30px;
    }

}


@media (max-width: 767px) {

    .checkout-box {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .checkout-heading {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        float: none;
        width: 100%;
    }

}

#sidebar, .products, .woocommerce-result-count, .woocommerce-ordering, .woocommerce-billing-fields h3, .woocommerce-products-header h1 {
    display: none !important;
}

form[name="checkout"] {
    margin-top: 3% !important;
}