/*
 Theme Name:   Storefront Child
 Theme URI:    http://example.com/storefront-child/
 Description:  Storefront Child Theme
 Author:       Your Name
 Author URI:   http://example.com
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  storefront-child
*/

/* Add your custom styles below this line */

body, html {
    font-family: 'Jost', 'sans-serif' !important;
}




button,
input[type="button"],
input[type="submit"],
.button,
.wp-block-button__link {
    border-radius: 6px !important;
    color: #FFF ;
    border: none;
    padding-left: 2em;
    padding-right: 2em;
    transition: all 0.4s ease;
}

input[name=quantity],
input[type="search"] {
    border-radius: 6px !important;
    border: 1px solid #008b60 !important;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: #fff !important; 
}

.wp-element-button {
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}


/*~~~~~~~~~~~~~~~ Header ~~~~~~~~~~~~~~~~~~~~~~~~*/
#masthead {
    padding-top: 200px;
}
#masthead .site-branding {
    margin-bottom: 50px;
}
.storefront-primary-navigation {
    background: #37522c !important;
    transition: all .4s ease-in-out;
}
.storefront-primary-navigation.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
#masthead .sticky-nav-placeholder {
    width: 100%;
    height: 78px;
    display: none;
}
#site-navigation .primary-navigation > ul > li > a {
    color: #fff;
    font-weight: 600;
    outline: none;
}
#site-navigation .primary-navigation > ul > li.current-menu-item a,
#site-navigation .primary-navigation > ul > li > a:hover {
    color: #24f5c4;
}
#site-header-cart li {
    float: right;
}
#site-header-cart a span {
    color: #24f5c4;
}
#site-header-cart a {
    display: flex;
    align-items: center;
    height: 78px;
    padding-top: 6px;
    outline: none;
}
input.search-field {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.cart-icon-container {
    position: relative;
    width: 30px;
    height: 30px;
}
#site-header-cart .cart-text {
    font-size: 15px;
    font-weight: 600;
    color: #FFF;
    margin-right: 10px;
}
#site-header-cart .cart-text:hover {
    color: #24f5c4;
}
.site-header-cart .cart-icon-container .cart-count{
    color: #000;
    width: 24px;
    height: 24px;
    position: absolute;
    background: #FFF;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -10px;
    right: -10px;
    font-size: 13px;
}

.cart-contents:after {
    color: #24f5c4 !important;
}

@media screen and (min-width: 768px) and (max-width: 900px) {
    .main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
        padding: 1.618em .5em !important;
    }
}
.primary-navigation .menu-item-has-children:hover {
    background: #008b60;
    color: #FFF !important;
}
.primary-navigation .menu-item-has-children:hover a {
    color: #FFF !important;
}
.primary-navigation .menu-item-has-children ul {
    background: #008b60 !important;
}
.primary-navigation .menu-item-has-children ul li:hover {
    background: #00b38a;
}
.primary-navigation .menu-item-has-children ul li a {
color: #FFF !important;
}
.primary-navigation .menu-item-has-children ul li:hover a {
    color: #008b60;
}

/*~~~~~~~~~~~~~~~ Brand Logo ~~~~~~~~~~~~~~~~~~~~~~~~*/
.site-header .site-branding a {
    width: 150px;
    height: 150px;
    border-radius: 999px;
    display: block;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-header .site-branding img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
}

/*~~~~~~~~~~~~~~~ Layout ~~~~~~~~~~~~~~~~~~~~~~~~*/

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: #008b60;
}

.col-full {
    max-width: 1440px !important;
    padding: 0 20px !important;
}

.woocommerce-breadcrumb a {
    color: #008b60 !important;
    text-decoration: none !important;
}
.woocommerce-breadcrumb a:hover {
    text-decoration: underline !important;
}

/**
* swiper
*/
.swiper-wrapper {
    padding: 20px 5px;
}

/*
 * Custom Home Categories Circles Layout
 * Used in template-parts/home-categories.php and template-fullwidth.php
 */
.home-categories-circles {
    display: flex;
    gap: 45px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1440px;
    margin-bottom: 80px;
}
.category-circle {
    text-align: center;
}
.category-circle a {
    display: flex;
    flex-direction: column;
    align-items: center;
    outline: none !important;
}
.category-circle img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #f5f5f5;
    background: #fff;
}
.category-circle img:hover {
    box-shadow: 0 4px 16px rgba(0,179,138,0.25);
}
.category-circle div {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #008b60;
}


/*
 * Featured Decor Section
 * Used in template-parts/home-categories.php
 */
.home-featured-decor {
    margin: 80px 0 0 0;
    box-shadow: 0 4px 32px rgba(36,245,196,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}
.featured-decor-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: center;
    background: linear-gradient(90deg, #e0fff6 0%, #f8f8f8 100%);
}
.featured-decor-image {
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 0 2px 16px rgba(36,245,196,0.10);
    background: #f8f8f8;
}
.featured-decor-content {
    flex: 1 1 320px;
    text-align: left;
    min-width: 260px;
}
.featured-decor-title {
    font-size: 3rem;
    font-weight: 400;
    color: #008b60;
    margin-bottom: 18px;
}
.featured-decor-desc {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 28px;
    max-width: 600px;
}
.featured-decor-btn {
    display: inline-block;
    background: linear-gradient(90deg, #24f5c4 0%, #008b60 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 14px 38px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(36,245,196,0.10);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.featured-decor-btn:hover {
    background: linear-gradient(90deg, #008b60 0%, #24f5c4 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(36,245,196,0.18);
}
@media (max-width: 900px) {
    .featured-decor-inner {
        flex-direction: column;
        gap: 24px;
    }
    .featured-decor-image {
        width: 260px;
        height: 260px;
    }
    .home-featured-decor {
        padding: 32px 10px 28px 10px;
    }
}
@media (max-width: 1500px) {
    .home-categories-circles,
    .home-newest-arrivals,
    .home-best-sellers,
    .home-featured-decor {
        position: relative;
        max-width: 98vw;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~ Owl Carousel Styles ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.home-newest-arrivals,
.home-best-sellers {
    margin: 40px 0 80px 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.carousel-header .section-title {
    margin: 0;
    margin-bottom: 0;
    text-align: left;
    flex: 1 1 auto;
    line-height: 1.2;
}

.owl-nav-custom {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
    order: 2;
}

.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #008b60;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.carousel-nav-btn:hover {
    background: #24f5c4;
    transform: scale(1.1);
}

.carousel-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(36, 245, 196, 0.3);
}

.carousel-nav-btn i {
    display: inline-block;
    line-height: 1;
}

.carousel-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-nav-btn:disabled:hover {
    transform: none;
    background: #008b60;
}

@media (max-width: 768px) {
    .carousel-header {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .carousel-header .section-title {
        flex: 1;
        font-size: 1.5rem;
    }
    
    .owl-nav-custom {
        flex-shrink: 0;
    }
    
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~ Home Products Grid ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.home-products-grid {
    margin: 48px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 20px auto 80px auto;
}
.home-products-grid .newest-product-item {
    margin: 16px 0;
}
.home-products-grid .newest-product-item h3{
    font-size: 1.2rem;
    font-weight: 500;
    color: #008b60;
    margin-top: 10px;
}
.product-card {
    background: #fff;
    border-radius: 6px;
    padding-bottom: 5px;
    min-width: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 30px;
}
.product-card:hover {
    box-shadow: 0 6px 24px rgba(36,245,196,0.15);
    transform: translateY(-4px) scale(1.03);
}
.product-card img {
    max-width: 100%;
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 3px 3px 0 0;
}
.product-card .product-card-content {
    padding: 10px 15px;
}
.product-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #008b60;
    margin-top: 10px;
}
.product-card .add_to_cart_button {
    display: block;
    color: #fff;
    border: none;
    padding: 4px 20px;
    margin: 10px 0 0 0;
    text-align: center !important;
}
.product-card .product-info {
    padding: 10px 15px;
}
.product-card .product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-card .rating {
    display: flex;
    font-size: 16px;
    line-height: 14px;
}
.product-card .rating i {
    margin-left: 5px;
    font-size: 14px;
}
.product-card .rating .star-rating {
    font-size: 12px;
    color: #ffb400;
}
.product-card .rating .review-count {
    font-size: 12px;
    margin-left: 10px;
}
.product-card .product-rating {
    padding: 2px 8px;
    border-radius: 16px;
    font-size: 13px;
}
.product-card .product-rating .fa-star.stroke {
    color: #DDD;
}
.product-card .single_add_to_cart_button {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: #008b60 !important;
}
.product-card .added_to_cart {
    display: none;
}

/* Filter bar with sort dropdown */
.shop-quick-filter-bar-with-sort {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.shop-quick-filter-bar {
    flex: 1 1 auto;
    min-width: 220px;
}
.shop-sort-bar {
    flex: 0 0 auto;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.shop-sort-bar .woocommerce-ordering {
    margin: 0;
}
@media (max-width: 700px) {
    .shop-quick-filter-bar-with-sort {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .shop-sort-bar {
        justify-content: flex-start;
    }
}

/* Restore filter link styles inside the new filter bar layout */
.shop-quick-filter-bar .filter-label {
    font-weight: 600;
    color: #008b60;
    margin-right: 8px;
}
.shop-quick-filter-bar .filter-link {
    display: inline-block;
    padding: 4px 18px;
    border-radius: 999px;
    background: #fff;
    color: #008b60;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid #008b60;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin-right: 10px;
    margin-bottom: 4px;
    outline: none;
}
.shop-quick-filter-bar .filter-link.active,
.shop-quick-filter-bar .filter-link:hover {
    background: #008b60;
    color: #fff;
    border-color: #008b60;
}

/* Style the WooCommerce sort by dropdown to match filter buttons */
.shop-sort-bar .woocommerce-ordering select {
    padding: 7px 18px;
    border-radius: 6px;
    background: #fff;
    color: #008b60;
    font-weight: 500;
    border: 1.5px solid #008b60;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin-left: 0;
    margin-right: 0;
    cursor: pointer;
    outline: none;
}


/*~~~~~~~~~~~~~~~~~ Single Product ~~~~~~~~~~~~~~~~~~~~~~~~*/

.added_to_cart {
    margin-left: 10px;
    border-radius: 6px !important;
}



/*~~~~~~~~~~~~~~~ Shop ~~~~~~~~~~~~~~~~~~~~~~~~*/


#review-modal { display:none; align-items:center; justify-content:center; }
#review-modal[style*="display: flex"] { display: flex !important; }

body.ajax-review-active .woocommerce-error,
body.ajax-review-active .woocommerce-message,
body.ajax-review-active .woocommerce-info {
    display: none !important;
}

.woocommerce-LoopProduct-link {
    text-align: left;
}

.product.type-product {
    overflow: hidden;
    text-align: left !important;
}
.product.type-product a {
    outline: none;
}
.product.type-product  img {
    margin: 0 auto 1em !important;
}
.product.type-product .onsale {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    height: 20px;
    background: #ff5722;
    color: #fff;
    padding: 0 30px;
    border-radius: 0;
    transform: rotate(315deg);
    transform-origin: 48px 42px;
}
.product.type-product .star-rating {
    margin: 0 !important;
}
.product.type-product .add_to_cart_button {
    padding: 4px 20px !important;
    background: transparent !important;
    color: #008b60 !important;
    border: 1px solid #008b60 !important;

}
.product.type-product .add_to_cart_button:hover {
    background: #008b60 !important;
    color: #fff !important;
}
.product.type-product .woocommerce-loop-product__title {
    min-height: 40px;
}

/*~~~~~~~~~~~~~~~~~ Shop Sidebar ~~~~~~~~~~~~~~~~~~~~~~~~*/
.shop-main-content #block-8 {
    margin-bottom: 20px !important;
}
.widget-title {
    font-size: 1.2rem;
    font-weight: 500 !important;
    color: #008b60;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
.wpf_item.wpf_item_wpf_cat {
    padding: 0;
}
.wpf_item_name {
    color: #008b60 !important;
}
.wpf_slider.ui-slider .ui-widget-header {
    background: #008b60 !important;
}
#themify-wpf-2 .wpf_item input[type=checkbox] {
    border: 1px solid #008b60 !important;
    border-radius: 4px !important;
}
#themify-wpf-2 input[type=checkbox]:checked:before {
    color: #008b60 !important;
}
#themify-wpf-2 .wpf_item_count {
    background: #008b60 !important;
    color: #fff !important;
}
.storefront-sorting {
    display: flex;
    flex-direction: row-reverse;
}
.storefront-sorting .woocommerce-ordering select {
    display: none !important;
}
.storefront-sorting .woocommerce-result-count {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    font-size: 16px;
}
.woocommerce-ordering select {
    color: #008b60;
    outline: none;
    border: 1px solid #008b60;
    background: #FFF;
    padding: 6px 20px;
    border-radius: 6px;
    width: 100%;
}

/*~~~~~~~~~~~~~~~~~ Single Product ~~~~~~~~~~~~~~~~~~~~~~~~*/
.single-product div.product .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.woocommerce-product-gallery .wpgs-nav .slick-slide {
    border: 0 !important
}
.woocommerce-product-gallery .wpgs-nav .slick-slide.slick-current img {
    border: 2px solid #008b60 !important;
}
.woo-product-gallery-slider .slick-prev:before,
.woo-product-gallery-slider .slick-next::before {
    color: #008b60 !important;
    font-size: 20px !important;
}
.woo-product-gallery-slider .slick-prev {
    left: -4px !important;
}

/*~~~~~~~~~~~~~~~~~ Cart ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.wc-block-cart-items__header-image {
    color: #008b60 !important;
}

/*~~~~~~~~~~~~~~~~~ Checkout Form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.wc-block-checkout__form {
   position: relative;
}
.wc-block-checkout__form h2 {
    font-weight: 500;
}
.wc-block-checkout__form a {
    color: #008b60;
    text-decoration: none;
}
.wc-block-checkout__form a:hover {
    color: #ffb400;
}

.wp-block-woocommerce-checkout-order-summary-block {
    position: relative;
}
.wc-block-components-checkout-order-summary__title-text {
    font-weight: 500;
    font-size: 1.25rem;
    color: #008b60;
}
.wc-block-components-product-name {
    font-weight: 500;
    color: #008b60 !important;
}

/* Shop page flex layout for sidebar */
/*
.shop-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.shop-main-content {
    flex: 1;
    min-width: 0;
}
.shop-sidebar {
    width: 320px;
    min-width: 250px;
    max-width: 400px;
}
@media (max-width: 900px) {
    .shop-content-wrapper {
        flex-direction: column;
    }
    .shop-sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
    }
}
*/

/* ~~~~~~~~~~~~~~~~~~~~~~~~~ Product Specifications ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.product-specifications {
    margin: 30px 0;
    padding: 20px 0;
    background: #fff;
}

.specifications-section {
    margin-bottom: 20px;
}

.specifications-section:last-of-type {
    margin-bottom: 0;
}

.specifications-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 15px 0;
}

.specifications-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.specification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
}

.highlights-grid .specification-item {
    border-bottom: none;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.highlights-grid .spec-label {
    margin-right: 0;
    margin-bottom: 0;
}

.highlights-grid .spec-value {
    text-align: left;
}

.specification-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: #333;
    flex: 0 0 40%;
    margin-right: 15px;
}

.spec-value {
    color: #666;
    flex: 1;
    text-align: right;
}

.color-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
}

.additional-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.toggle-details {
    background: none;
    border: none;
    cursor: pointer;
    color: #008b60;
    font-size: 1rem;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.toggle-details:hover {
    color: #24f5c4;
}

.toggle-details i {
    transition: transform 0.3s ease;
}

.additional-details-content {
    display: block;
}


.product-description {
    margin-top: 20px;
    padding-top: 20px;
    color: #666;
    line-height: 1.6;
}

.product-description p {
    margin: 0 0 10px 0;
}

.product-description p:last-child {
    margin-bottom: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~ Product Header Styling ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.product-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-short-description {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.product-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.rating-value {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.rating-star {
    color: #4a90e2;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.9rem;
    color: #999;
}

.product-price-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 5px;
    line-height: 1.2;
}

.price-details {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mrp-label {
    font-size: 0.9rem;
    color: #666;
}

.original-price {
    font-size: 0.9rem;
    color: #666;
    text-decoration: line-through;
}

.discount-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b35;
}

@media (max-width: 768px) {
    .product-specifications {
        padding: 15px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .specification-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .spec-label {
        flex: 1;
        margin-right: 0;
    }
    
    .spec-value {
        text-align: left;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~ Custom Reviews Summary ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.custom-reviews-summary {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.reviews-summary-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.overall-rating .rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: #008b60;
    line-height: 1;
}

.overall-rating .rating-star-icon {
    font-size: 2rem;
    color: #008b60;
}

.rating-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rating-stats .ratings-count,
.rating-stats .reviews-count {
    font-size: 0.9rem;
    color: #666;
}

.reviews-summary-right {
    flex: 1;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    min-width: 90px;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.rating-bar-container {
    flex: 1;
    height: 24px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count {
    min-width: 40px;
    text-align: right;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

/* Hide default reviews summary if it appears */
.cr-summaryBox-wrap,
.ivole-summaryBox {
    display: none !important;
}

@media (max-width: 768px) {
    .custom-reviews-summary {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }
    
    .reviews-summary-left {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .rating-item {
        flex-wrap: wrap;
    }
    
    .rating-label {
        min-width: 80px;
    }
}