/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.yotpo.bottomLine {
    display: inline-block;
    margin: 10px 0;
}

/* Mini Cart UI Refinements */
/* Mini Cart UI Refinements */

/* Cart Container */
.elementor-menu-cart__main {
    padding: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Close Button */
.elementor-menu-cart__close-button {
    padding: 0;
    margin-bottom: 10px;
}

/* Products Container */
.elementor-menu-cart__products {
    margin: 0;
    padding: 0;
}

/* Individual Product */
.elementor-menu-cart__product {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    min-height: unset;
}

/* Product Image */
.elementor-menu-cart__product-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.elementor-menu-cart__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Name */
.elementor-menu-cart__product-name.product-name {
    margin-bottom: 2px;
}

.elementor-menu-cart__product-name.product-name a {
    font-size: 11px !important;
    color: #333;
    line-height: 1.2;
}

/* Price Display */
.elementor-menu-cart__product-price {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 2px;
}

/* Quantity Text */
span.product-quantity.quantity {
    font-size: 10px;
    color: #666;
    font-weight: normal;
}


/* Remove Button */
.elementor-menu-cart__product-remove {
    width: 15px;
    height: 15px;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.elementor-menu-cart__product-remove:hover {
    opacity: 0.7;
}



/* Subtotal Section */
.elementor-menu-cart__subtotal {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin-top: 8px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #333;
    font-weight: normal;
}

.elementor-menu-cart__subtotal bdi {
    font-size: 12px;
}

/* Footer Buttons */
.elementor-menu-cart__footer-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.elementor-menu-cart__footer-buttons .elementor-button {
    padding: 10px !important;
    border: none !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    border-radius: 4px !important;
    min-height: unset !important;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .elementor-menu-cart__main {
        padding: 12px;
    }


    span.product-quantity.quantity {
        font-size: 9px;
    }

    .elementor-menu-cart__footer-buttons .elementor-button {
        padding: 8px !important;
        font-size: 11px !important;
    }

    .elementor-menu-cart__subtotal {
        font-size: 11px;
    }
}

.woocommerce-Tabs-panel ul, .woocommerce-Tabs-panel ul li {
    list-style-type: disc !important;
}

/* Review section */

/* ---- GRID LAYOUT (Left reviews / Right form) ---- */

.woocommerce-Tabs-panel #reviews > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
}

/* Left Column (Reviews list) */
#comments.col {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}

/* Right Column (Review form) */
#review_form_wrapper.col {
    flex: 0 0 37% !important;
    max-width: 40% !important;
}


/* ---- REVIEW LIST SPACING ---- */

#comments .review-item {
    padding: 25px 0 30px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 25px;
}

#comments .star-rating {
    margin: 5px 0 10px 0;
}

#comments .description p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
}



/* ---- RIGHT FORM BOX STYLING ---- */

.review-form-inner {
    border: 2px solid #0a3a2e; /* green border */
    padding: 30px;
    border-radius: 6px;
    background: #ffffff;
}

#review_form label {
    font-weight: bold;
    margin-bottom: 6px;
    display: inline-block;
}



/* ---- FORM FIELDS ---- */

#review_form textarea,
#review_form input,
#review_form select {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 15px;
}

#review_form textarea {
    min-height: 130px;
}

#review_form input[type="submit"],
#review_form .submit {
    width: 130px;
    background: #0a3a2e !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    border: none !important;
    font-weight: bold;
    margin-top: 15px;
}



/* ---- STAR RATING POSITION ---- */

.comment-form-rating {
    margin-bottom: 18px;
}

.comment-form-rating .stars {
    margin-top: 6px;
}

.own_review .star-rating{
	float:none;
}



/* ---- RESPONSIVE FIX ---- */

/* On mobile → stack vertically */
@media (max-width: 768px) {
    .woocommerce-Tabs-panel #reviews > .row {
        flex-wrap: wrap !important;
    }
    #comments.col,
    #review_form_wrapper.col {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}


/* Review section */
.own_review .star-rating{
  float:none!important;
}
.own_review .review-item {
    border-bottom: 1px dashed #eaeaea!important;
}

.own_review .comment-text {
    margin: 0 0 0 30px!important;
    padding: 0 1em 0!important;
	border: none !important;
}
 .own_review img.avatar {
    float: none!important;
    position: inherit!important;
    top: 0!important;
    left: 0!important;
	background: transparent!important;
    border-radius: 100%!important;
	height:auto!important;
	width:60px!important;
	border:none!important;
}

.own_review .flex-col {
  width: 60px;
}
.own_review .comment-text.flex-col.flex-grow {
  width: calc(100% - 60px) !important;
  margin: 0 !important;
  padding-left: 30px !important;
}

 .own_review .review-item {
    display: flex!important;
}
.own_review .star-rating span:before {
    color: #feb209!important;
}
.own_review h3.woocommerce-Reviews-title {
    margin: 0 0 10px 0!important;
    font-size: 20px!important;
    color: #0c0c0c!important;
}
.own_review .description p {
    font-style: italic!important;
}
.own_review p.meta .woocommerce-review__author{
	color: #0c0c0c!important;
}

/* Modern pagination style */
.ajax-review-pagination {
    margin-top: 30px;
    text-align: center;
}

.ajax-review-pagination a,
.ajax-review-pagination .dots {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    font-size: 15px;
    border-radius: 4px;
    color: #000;
    border: 1px solid #dcdcdc;
}

.ajax-review-pagination a:hover {
    background: #f2f2f2;
}

.ajax-review-pagination a.active {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: bold;
}

.ajax-review-pagination .dots {
    border: none;
    color: #444;
    pointer-events: none;
}


/* END */
