/* ==========================================================================
   EcoZomoroda v3 — Premium WooCommerce
   Clean RTL storefront / product-first layout
   ========================================================================== */

.woocommerce .eco-shop-page {
    padding: 28px 0 80px;
}

.woocommerce .eco-shop-page > .eco-container {
    max-width: 1280px;
}

/* Breadcrumb -------------------------------------------------------------- */
.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 18px;
    color: #7a817d;
    font-size: 13px;
}
.woocommerce .woocommerce-breadcrumb a {
    color: #303633;
    font-weight: 700;
}
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--eco-primary); }

/* Shop -------------------------------------------------------------------- */
.woocommerce-products-header { margin: 0 0 24px; }
.woocommerce-products-header__title {
    margin: 0;
    color: #151a18;
    font-size: 34px;
    font-weight: 900;
}
.woocommerce .woocommerce-result-count { color: #737a76; margin: 12px 0; }
.woocommerce .woocommerce-ordering select {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e2e7e4;
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
}

/* Product cards ----------------------------------------------------------- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
    position: relative;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 16px;
    overflow: hidden;
    border: 1px solid #e7ebe9;
    border-radius: 18px;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: #dce3df;
    box-shadow: 0 18px 45px rgba(21, 32, 27, .08);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 0 14px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 16px;
    margin: 0 0 7px;
    color: #1b211e;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
}
.woocommerce ul.products li.product .price {
    display: block;
    padding: 0 16px;
    margin: 0;
    color: var(--eco-primary);
    font-size: 18px;
    font-weight: 900;
}
.woocommerce ul.products li.product .price del {
    margin-inline-end: 7px;
    color: #9da4a0;
    font-size: 13px;
}
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
    display: none;
    margin: 13px 16px 0;
    padding: 11px 15px;
    border: 0;
    border-radius: 11px;
    background: #17110e;
    color: #fff;
    text-align: center;
    font-family: inherit;
    font-weight: 800;
}
.woocommerce ul.products li.product .button:hover {
    background: var(--eco-primary);
    color: #fff;
}
.woocommerce span.onsale {
    top: 13px;
    right: 13px;
    left: auto;
    min-width: 58px;
    min-height: 31px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #17110e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    z-index: 3;
}

/* =========================================================================
   SINGLE PRODUCT — main card
   ========================================================================= */
.single-product .eco-shop-page { padding-top: 20px; }

.single-product .eco-single-product-card {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
    gap: 42px;
    align-items: start;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #e4e9e6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(24, 35, 29, .065);
    margin-top: 20px;
}
.single-product .eco-single-product-card::before,
.single-product .eco-single-product-card::after { display: none; }

.eco-product-main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 1fr);
    gap: 31px;
    align-items: start;
}

/* =========================================================================
   CUSTOM PRODUCT GALLERY
   ========================================================================= */

.eco-product-gallery {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

/* Main image stage */

.eco-gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5ebe7;
    border-radius: 22px;
    background: #f8faf9;
    overflow: hidden;
}

.eco-gallery-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
}

.eco-gallery-main-img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity .18s ease, transform .25s ease;
}

/*
 * Important:
 * There is deliberately no <a> around the image.
 * Therefore WooCommerce lightbox/zoom cannot open it.
 */

.eco-gallery-stage--placeholder .eco-gallery-main-image {
    background: #f5f7f6;
}


/* Navigation arrows */

.eco-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e0e6e2;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #202622;
    font-family: Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 7px 22px rgba(20, 30, 25, .10);
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        opacity .2s ease;
}

.eco-gallery-arrow:hover {
    background: var(--eco-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

.eco-gallery-arrow:focus-visible {
    outline: 3px solid rgba(0, 0, 0, .12);
    outline-offset: 2px;
}

.eco-gallery-prev {
    inset-inline-start: 18px;
}

.eco-gallery-next {
    inset-inline-end: 18px;
}

.eco-gallery-arrow[disabled] {
    opacity: .35;
    pointer-events: none;
}


/* Thumbnails */

.eco-gallery-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.eco-gallery-thumbs {
    display: flex;
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 1px 6px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #cfd8d3 transparent;
}

.eco-gallery-thumbs::-webkit-scrollbar {
    height: 5px;
}

.eco-gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.eco-gallery-thumbs::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cfd8d3;
}

.eco-gallery-thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #f7f9f8;
    overflow: hidden;
    cursor: pointer;
    opacity: .58;
    transition:
        opacity .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.eco-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.eco-gallery-thumb:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.eco-gallery-thumb.is-active {
    border-color: var(--eco-primary);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .02);
}

.eco-gallery-thumb:focus-visible {
    outline: 3px solid rgba(0, 0, 0, .12);
    outline-offset: 2px;
}


/* Counter */

.eco-gallery-counter {
    flex: 0 0 auto;
    min-width: 54px;
    padding: 7px 10px;
    border: 1px solid #e1e7e3;
    border-radius: 999px;
    background: #fff;
    color: #69726d;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    direction: ltr;
}


/* Touch support */

.eco-gallery-main-image {
    touch-action: pan-y;
}


/* Keep WooCommerce native gallery completely out of the custom area */

.eco-product-gallery .woocommerce-product-gallery,
.eco-product-gallery .flex-viewport,
.eco-product-gallery .flex-control-thumbs,
.eco-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}
/* Summary ----------------------------------------------------------------- */
.eco-product-summary {
    width: 100%;
    min-width: 0;
    padding: 4px 2px 0;
}
.eco-product-topline { margin: 0 0 12px; }
.eco-stock-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #edf8f1;
    color: #187a40;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}
.eco-stock-badge--out { background: #fff0f0; color: #b12d2d; }

.single-product .eco-product-summary .product_title {
    margin: 0 0 13px;
    color: #171c1a;
    font-size: clamp(27px, 2.7vw, 28px);
    font-weight: 900;
    line-height: 50px;
    letter-spacing: -.3px;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--eco-primary);
    font-size: 25px;
}
.single-product .eco-product-summary .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0ee;
}
.single-product .eco-product-summary .star-rating { color: #f2a400; margin: 0; }
.single-product .eco-product-summary .woocommerce-review-link { color: #747c77; font-size: 13px; }
.single-product .eco-product-summary p.price,
.single-product .eco-product-summary span.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--eco-primary);
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.1;
}
.single-product .eco-product-summary p.price del,
.single-product .eco-product-summary span.price del {
    color: #9da4a0;
    font-size: 15px;
    font-weight: 500;
}
.single-product .eco-product-summary p.price ins,
.single-product .eco-product-summary span.price ins { text-decoration: none; }

.single-product .woocommerce-product-details__short-description {
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #e7ece9;
    border-radius: 14px;
    background: #f7faf8;
    color: #59625d;
    font-size: 14px;
    line-height: 1.85;
}
.single-product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

/* Cart / variations ------------------------------------------------------- */
.single-product form.variations_form { margin: 0 0 15px; }
.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 17px 0;
    padding: 13px;
    border: 1px solid #e4e9e6;
    border-radius: 15px;
    background: #fbfcfb;
}
.single-product form.cart .variations { width: 100%; margin: 0 0 5px; border: 0; }
.single-product form.cart .variations td,
.single-product form.cart .variations th {
    padding: 7px 0;
    border: 0;
    background: transparent;
    text-align: right;
}
.single-product form.cart .variations label { color: #252c28; font-weight: 800; }
.single-product form.cart .variations select {
    min-width: 190px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #dce3df;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
}
.single-product .reset_variations { color: #777f7a; font-size: 12px; }
.single-product .quantity { margin: 0 !important; }
.single-product .quantity .qty {
    width: 78px;
    height: 50px;
    border: 1px solid #dce3df;
    border-radius: 11px;
    background: #fff;
    text-align: center;
    font-weight: 800;
    outline: none;
}
.single-product form.cart .single_add_to_cart_button {
    flex: 1 1 220px;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 11px;
    background: #17110e;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(23,17,14,.12);
    transition: transform .2s ease, background .2s ease;
}
.single-product form.cart .single_add_to_cart_button:hover {
    background: var(--eco-primary);
    transform: translateY(-1px);
}

.single-product .product_meta {
   display: none;
}
.single-product .product_meta a { color: #303734; font-weight: 700; }

/* Benefits ---------------------------------------------------------------- */
.eco-product-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 17px;
}
.eco-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid #e7ece9;
    border-radius: 12px;
    background: #fff;
}
.eco-benefit-icon {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eef8f2;
    font-size: 18px;
}
.eco-benefit strong, .eco-benefit small { display: block; }
.eco-benefit strong { color: #242b27; font-size: 13px; font-weight: 900; }
.eco-benefit small { color: #7a817d; font-size: 13px; line-height: 1.4; }

/* Tabs / description ------------------------------------------------------ */
.single-product .woocommerce-tabs {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid #edf0ee;
}
.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e7e4 !important;
    border-radius: 10px !important;
    background: #fff !important;
}
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 17px;
    color: #3a423e;
    font-size: 13px;
    font-weight: 900;
}
.single-product .woocommerce-tabs ul.tabs li.active {
    border-color: var(--eco-primary) !important;
    background: var(--eco-primary) !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.single-product .woocommerce-tabs .panel {
    margin: 0 !important;
    padding: 25px 28px;
    border: 1px solid #e6ebe8;
    border-radius: 17px;
    background: #fff;
    color: #4f5753;
    font-size: 14px;
    line-height: 1.95;
    overflow: hidden;
}
.single-product .woocommerce-tabs .panel h2 {
    margin: 0 0 15px;
    color: #171d1a;
    font-size: 23px;
    font-weight: 900;
}
.single-product .woocommerce-tabs .panel p { margin: 0 0 14px; }
.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
    margin: 12px 0 18px;
    padding-inline-start: 22px;
}
/* Prevent WordPress/WooCommerce alignleft/alignright images from creating
   the giant empty columns visible on product descriptions. */
.single-product .woocommerce-tabs .panel img,
.single-product .woocommerce-tabs .panel .alignleft,
.single-product .woocommerce-tabs .panel .alignright,
.single-product .woocommerce-tabs .panel .aligncenter {
    float: none !important;
    clear: both;
}
.single-product .woocommerce-tabs .panel img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 720px;
    height: auto;
    margin: 22px auto;
    border-radius: 15px;
    object-fit: contain;
}
.single-product .woocommerce-tabs .panel figure {
    margin: 20px 0;
    text-align: center;
}
.single-product .woocommerce-tabs .panel figure img { margin: 0 auto; }
.single-product .woocommerce-tabs .panel table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
}
.single-product .woocommerce-tabs .panel table td,
.single-product .woocommerce-tabs .panel table th {
    padding: 10px;
    border: 1px solid #e7ebe9;
}

/* Reviews ----------------------------------------------------------------- */
.single-product #reviews #comments ol.commentlist { margin: 0; padding: 0; }
.single-product #reviews #comments ol.commentlist li {
    margin: 0 0 12px;
    padding: 16px;
    border: 1px solid #e6ebe8;
    border-radius: 13px;
    background: #fff;
}
.single-product #reviews #comments ol.commentlist li .comment-text { margin: 0 0 0 58px; padding: 0; border: 0; }
.single-product #review_form_wrapper { margin-top: 22px; }
.single-product #review_form #respond {
    padding: 19px;
    border: 1px solid #e6ebe8;
    border-radius: 14px;
    background: #f8faf9;
}

/* Related products ------------------------------------------------------- */
.single-product .related.products,
.single-product .upsells.products {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding-top: 28px;
    border-top: 1px solid #edf0ee;
}
.single-product .related.products > h2,
.single-product .upsells.products > h2 {
    margin: 0 0 18px;
    color: #171d1a;
    font-size: 25px;
    font-weight: 900;
}
.single-product .related ul.products,
.single-product .upsells ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

/* Cart / checkout --------------------------------------------------------- */
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { font-size: 15px; }
.woocommerce table.shop_table {
    border: 1px solid #e4e9e6;
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-color: #edf0ee; }
.woocommerce .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
    padding: 20px;
    border: 1px solid #e4e9e6;
    border-radius: 15px;
    background: #fff;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #dce3df;
    border-radius: 10px;
    background: #fff;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 800;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--eco-primary); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--eco-primary-dark); color: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--eco-primary); border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--eco-primary); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1050px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .single-product .eco-single-product-card { padding: 19px; gap: 28px; }
    .eco-product-main { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); }
    .single-product .eco-product-summary .product_title { font-size: 30px; }
}

@media (max-width: 800px) {
    .woocommerce .eco-shop-page { padding-top: 18px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .single-product .eco-single-product-card { display: block; padding: 14px; border-radius: 18px; }
    .eco-product-main { display: block; }
    .eco-product-summary { margin-top: 25px; }
    .single-product .woocommerce-tabs,
    .single-product .related.products,
    .single-product .upsells.products { margin-top: 25px; }
    .eco-product-benefits { grid-template-columns: 1fr; }
    .eco-benefit { padding: 11px; }
    .single-product .related ul.products,
    .single-product .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .woocommerce ul.products { gap: 9px; }
    .woocommerce ul.products li.product { border-radius: 13px; padding-bottom: 12px; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 10px; font-size: 13px; }
    .woocommerce ul.products li.product .price { padding: 0 10px; font-size: 15px; }
    .woocommerce ul.products li.product .button { margin: 10px 10px 0; padding: 9px 7px; font-size: 12px; display: none;}
    .single-product .eco-single-product-card { padding: 8px 0 35px; border: 0; box-shadow: none; background: transparent; }
    .single-product .eco-product-summary .product_title { font-size: 25px; }
    .single-product form.cart { padding: 11px; }
    .single-product form.cart .single_add_to_cart_button { flex-basis: 100%; }
    .single-product .woocommerce-tabs ul.tabs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
    .single-product .woocommerce-tabs .panel { padding: 18px; }
    .single-product .woocommerce-tabs .panel img { max-height: 520px; }
}
@media (max-width: 520px) {

    .eco-gallery-stage {
        padding: 7px;
        border-radius: 17px;
    }

    .eco-gallery-main-image {
        border-radius: 12px;
    }

    .eco-gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 29px;
    }

    .eco-gallery-prev {
        inset-inline-start: 12px;
    }

    .eco-gallery-next {
        inset-inline-end: 12px;
    }

    .eco-gallery-thumb {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }

    .eco-gallery-counter {
        display: none;
    }

}

/* ======================================================================
   EcoZomoroda product page refresh — clean, editorial, conversion-focused
   Scoped to single-product pages to avoid changing the rest of the store.
   ====================================================================== */
.single-product {
    --eco-product-ink: #17221c;
    --eco-product-muted: #68756d;
    --eco-product-line: #e5ebe6;
    --eco-product-soft: #f6f8f5;
}
.single-product .eco-shop-page {
    width: min(100% - 40px, 1320px);
    max-width: 1320px;
    margin-inline: auto;
    padding: 22px 0 64px;
}
.single-product .woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 20px;
    color: #7b867e;
    font-size: 12px;
    line-height: 1.8;
}


.single-product .eco-product-gallery { position: sticky; top: 24px; }
.single-product .eco-gallery-stage {
    padding: clamp(8px, 1.4vw, 16px);
    border: 1px solid #edf0eb;
    border-radius: 22px;
    background: linear-gradient(145deg, #fafbf8 0%, #f3f6f1 100%);
}
.single-product .eco-gallery-main-image {
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    background: #fff;
}
.single-product .eco-gallery-main-img { mix-blend-mode: multiply; }
.single-product .eco-gallery-arrow {
    width: 42px;
    height: 42px;
    border-color: #e3e9e2;
    color: #26362b;
    box-shadow: 0 5px 18px rgb(25 43 32 / 10%);
}
.single-product .eco-gallery-arrow:hover { background: var(--eco-primary, #246b45); }
.single-product .eco-gallery-bottom { gap: 10px; margin-top: 14px; }
.single-product .eco-gallery-thumbs { gap: 10px; scrollbar-width: none; }
.single-product .eco-gallery-thumbs::-webkit-scrollbar { display: none; }
.single-product .eco-gallery-thumb {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    border: 1px solid #e5ebe5;
    border-radius: 13px;
    background: #fff;
    opacity: .72;
}
.single-product .eco-gallery-thumb.is-active {
    border: 2px solid var(--eco-primary, #246b45);
    box-shadow: 0 0 0 3px rgb(36 107 69 / 9%);
    opacity: 1;
}
.single-product .eco-product-summary { padding: 2px 0 0; }
.single-product .eco-product-topline { margin-bottom: 15px; }
.single-product .eco-stock-badge {
    min-height: 28px;
    padding: 5px 11px;
    border: 1px solid #d9eddf;
    background: #f0f8f2;
    color: #267344;
    font-size: 12px;
    letter-spacing: 0;
}
.single-product .eco-stock-badge--out { border-color: #f4dada; background: #fff4f3; color: #a63434; }

.single-product .eco-product-summary .woocommerce-product-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 19px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf0ec;
}
.single-product .eco-product-summary .star-rating { color: #e7a82b; }
.single-product .eco-product-summary p.price,
.single-product .eco-product-summary span.price {
    gap: 10px;
    margin: 0 0 18px;
    color: var(--eco-primary, #246b45);
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.25;
}
.single-product .eco-product-summary p.price del,
.single-product .eco-product-summary span.price del { color: #9aa39b; font-size: 16px; font-weight: 500; }
.single-product .eco-product-summary p.price ins,
.single-product .eco-product-summary span.price ins { text-decoration: none; }
.single-product .woocommerce-product-details__short-description {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 0;
    border-right: 3px solid var(--eco-primary, #246b45);
    border-radius: 0 12px 12px 0;
    background: #f7f9f6;
    color: #59675e;
    font-size: 14px;
    line-height: 1.95;
}
.single-product .woocommerce-product-details__short-description p { margin: 0 0 8px; }
.single-product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin: 20px 0 0;
    padding: 16px;
    border: 1px solid #e7ece6;
    border-radius: 17px;
    background: #fbfcfa;
}
.single-product form.cart .variations { margin: 0 0 7px; }
.single-product form.cart .variations td,
.single-product form.cart .variations th { padding: 8px 0; }
.single-product form.cart .variations label { display: inline-block; margin-bottom: 6px; color: #303d33; font-size: 13px; font-weight: 800; }
.single-product form.cart .variations select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #dce5dc;
    border-radius: 11px;
    color: #27342a;
    background-color: #fff;
    font: inherit;
}
.single-product form.cart .single_add_to_cart_button {
    min-height: 50px;
    border-radius: 12px;
    background: var(--eco-primary, #246b45);
    box-shadow: none;
}
.single-product form.cart .single_add_to_cart_button:hover { background: var(--eco-primary-dark, #1b5235); }
.single-product .eco-product-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.single-product .eco-benefit {
    align-items: flex-start;
    gap: 9px;
    padding: 12px 10px;
    border-color: #e9eee8;
    border-radius: 13px;
    background: #fff;
}
.single-product .eco-benefit-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; background: #f0f6ef; }
.single-product .eco-benefit strong { font-size: 12px; line-height: 1.5; }
.single-product .eco-benefit small { margin-top: 3px; font-size: 11px; line-height: 1.5; }
.single-product .eco-product-after-content {
    width: 100%;
    max-width: 1250px;
    margin: 30px auto 0;
}
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products {
    margin-top: 28px;
    padding-top: 27px;
    border-top: 1px solid #e9eee8;
}

@media (max-width: 980px) {
    .single-product .eco-product-main { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
    .single-product .eco-product-gallery { top: 14px; }
    .single-product .eco-product-benefits { grid-template-columns: 1fr; }
    .single-product .eco-benefit { align-items: center; }
}
@media (max-width: 760px) {
    .single-product .eco-shop-page { width: min(100% - 28px, 620px); padding: 14px 0 42px; }
    .single-product .eco-single-product-card { padding: 14px; border-radius: 20px; }
    .single-product .eco-product-main { display: flex; flex-direction: column; gap: 24px; }
    .single-product .eco-product-gallery { position: relative; top: auto; width: 100%; }
    .single-product .eco-gallery-stage { padding: 8px; border-radius: 17px; }
    .single-product .eco-gallery-main-image { border-radius: 12px; }
    .single-product .eco-gallery-thumb { flex-basis: 66px; width: 66px; height: 66px; }
    .single-product .eco-product-summary { margin-top: 0; }
    .single-product .eco-product-summary .product_title { font-size: clamp(24px, 6vw, 31px); }
    .single-product .eco-product-summary p.price,
    .single-product .eco-product-summary span.price { font-size: 30px; }
    .single-product .eco-product-benefits { grid-template-columns: 1fr; }
    .single-product .eco-product-after-content { margin-top: 18px; }
    .single-product .woocommerce-tabs,
    .single-product .related.products,
    .single-product .upsells.products { margin-top: 22px; padding: 15px; background: #ffffff;}
    .single-product .related ul.products,
    .single-product .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 420px) {
    .single-product .eco-shop-page { width: calc(100% - 20px); }
    .single-product .eco-single-product-card { padding: 10px; }
    .single-product .eco-gallery-arrow { width: 35px; height: 35px; }
    .single-product .eco-gallery-thumb { flex-basis: 58px; width: 58px; height: 58px; }
    .single-product form.cart { padding: 11px; }
    .single-product .woocommerce-tabs ul.tabs { gap: 6px; }
    .single-product .woocommerce-tabs ul.tabs li a { padding: 9px 13px; }
}
