/* Derű theme WooCommerce base styles inspired by Twenty Twenty-Five */
/* This file provides a starter set of styles for WooCommerce templates.
   You can further customize colors, spacing, and typography to match Derű. */
.wc-block-cart__empty-cart__title.with-empty-cart-icon:before{
    content: "" !important;
    display: none !important;
}
.woocommerce-cart .is-style-dots{
    display: none !important;
}

.woocommerce-cart h2:last-child{
    display: none !important;
}


/* Layout wrappers */
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.875rem;
    margin: 1rem 0 1.5rem;
}

.woocommerce .woocommerce-result-count {
    margin: 0 0 1rem;
    font-size: 0.875rem;
}

.woocommerce .woocommerce-ordering select {
    min-width: 180px;
}

/* Product grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
    margin: 0 0 2rem;
}

.woocommerce ul.products li.product {
    text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0.5rem 0 0.25rem;
    color:#000;
    font-weight: 300;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover{
    background-color: #0a5e2a ;
}
.deru-featured-products__cta a{
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product .price {
    color: #111;
    font-weight: 600;
}

.woocommerce ul.products li.product a.button {
    margin-top: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-content{
    width: 78%;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
    width: 20%;
}
/* Single product */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .deru-gallery-delayed {
    opacity: 1 !important; /* Prevent flash when Flexslider loads */
    min-height: 400px; /* Placeholder height to reduce CLS on mobile */
}

/* Step 1: Thumbnail dimensions & fix */
.woocommerce-product-gallery .flex-control-thumbs li {
    width: 100px;
    height: 100px;
    cursor: pointer;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    opacity: 1 !important;
    display: block;
}

.woocommerce-product-gallery .flex-viewport,
.deru-gallery-delayed .flex-viewport,
.woocommerce-product-gallery .slides,
.deru-gallery-delayed .slides,
.woocommerce-product-gallery .slides li,
.deru-gallery-delayed .slides li {
    /* Csak a slide váltáshoz szükséges tulajdonságokat animáljuk, ne a méretet/opacitást */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), left 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

/* Ideiglenes animációtiltás az AJAX injektálás és re-init idejére */
.deru-no-motion,
.deru-no-motion *,
.deru-no-motion .flex-viewport,
.deru-no-motion .slides,
.deru-no-motion .slides li,
.deru-no-motion .woocommerce-product-gallery__image img {
    transition: none !important;
    animation: none !important;
}

/* Maintain aspect ratio for product images to reduce CLS */
.woocommerce-product-gallery__wrapper {
    display: block;
}

.woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* --- WooCommerce Blocks – Kosár: "Tétel törlése" → kuka ikon, a mennyiség sorában --- */
/* Megjegyzés: A Blocks kosárban a törlés link osztálya: .wc-block-cart-item__remove-link */
/* 1) Szöveg vizuális elrejtése és ikon megjelenítése (képernyőolvasónak megmarad a szöveg) */
.wc-block-cart-item__remove-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0; /* a link szövegét vizuálisan elrejtjük, de a DOM-ban megmarad */
    background: transparent;
    padding: 0;
    margin-left: 8px;
}
.wc-block-cart-item__remove-link::before{
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    /* SVG ikon maszkolással – egyszerű kuka ikon */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="%23000" d="M9 3h6a1 1 0 0 1 1 1v1h4v2h-1v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7H4V5h4V4a1 1 0 0 1 1-1Zm6 2H9v0h6ZM7 7v12h10V7H7Zm3 2h2v8h-2V9Zm6 0h-2v8h2V9Z"/></svg>') center / contain no-repeat;
            mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="%23000" d="M9 3h6a1 1 0 0 1 1 1v1h4v2h-1v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7H4V5h4V4a1 1 0 0 1 1-1Zm6 2H9v0h6ZM7 7v12h10V7H7Zm3 2h2v8h-2V9Zm6 0h-2v8h2V9Z"/></svg>') center / contain no-repeat;
}
.wc-block-cart-item__remove-link:hover,
.wc-block-cart-item__remove-link:focus{
    color: #b00020; /* hover állapot – piros */
    outline: none;
}

/* 2) A mennyiség inputtal egy sorba rendezés, jobbra igazítva */
/* Próbáljuk a mennyiséget és a törlés ikont egy sorba hozni. */
.wc-block-cart-item__quantity{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* Ha a törlés link közvetlenül a mennyiség után jön, legyen kis távolság */
.wc-block-cart-item__quantity + .wc-block-cart-item__remove-link{
    margin-left: 12px;
}
/* A termékblokkban legyenek egy sorban, a törlés ikon jobbra igazítva. */
.wc-block-cart-item__product :is(.wc-block-cart-item__quantity, .wc-block-cart-item__remove-link){
    display: inline-flex;
    vertical-align: middle;
}
/* Asztali nézetben igyekszünk a sort jobbra zárni az ikonnal */
@media (min-width: 700px){
    .wc-block-cart-item__remove-link{
        margin-left: auto; /* ha a szülő flex, jobbra tolja */
        float: right;      /* ha nem flex, akkor is igyekszik jobbra rendezni */
    }
}

/* 3) Kompakt megjelenés mobilon is */
@media (max-width: 699px){
    .wc-block-cart-item__remove-link{
        width: 32px;
        height: 32px;
    }
    .wc-block-cart-item__remove-link::before{
        width: 16px;
        height: 16px;
    }
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Mobile specific gallery height */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-product-gallery,
    .woocommerce div.product .deru-gallery-delayed {
        min-height: 350px;
    }
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    margin-bottom: 2em !important;
    margin-left: 0 !important;
    position: relative;
    z-index: 10;
}

/* Fix for possible floating notices causing CLS */
.woocommerce-notices-wrapper {
    min-height: 0;
    transition: none !important;
}

.woocommerce div.product .product_title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.single-product .woocommerce-tabs,
.single-product #reviews,
.single-product .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.woocommerce-product-gallery .thumbnails {
  content-visibility: auto;
  contain-intrinsic-size: 100px;
  overflow: hidden;
}

.single-product .related.products, 
.single-product .upsells.products {
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.woocommerce div.product .woocommerce-product-gallery .thumbnails,
.woocommerce div.product .deru-gallery-delayed .thumbnails {
    display: flex;
}

.product_content {
    contain: layout style;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    background: none !important;
}

.product_content *,
.product_image,
.text_content,
/* Galéria elemek kivétele ebből az általános blokkból, külön szabály kezeli őket */
.product_title,
.price,
.single_add_to_cart_button {
    contain: layout style;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    background-image: none !important;
    transition: all 0.5s ease !important; /* Általános átmenet – a galériára nem érvényes, lásd külön szabályt */
    animation: none !important;
}

.product_content .woocommerce-product-gallery,
.product_content .woocommerce-product-gallery *,
.product_content .deru-gallery-delayed,
.product_content .deru-gallery-delayed * {
    /* Ne örököljön transition: all‑t a 190. sorból a galéria alstruktúrája,
       mert ez okozza a betöltéskori „bezoomolást”. */
    transition: none !important;
    animation: none !important;
}

/* Re‑enable: a galériában csak a slide‑hoz szükséges tulajdonságok animáljanak */
.product_content .woocommerce-product-gallery .flex-viewport,
.product_content .woocommerce-product-gallery .slides,
.product_content .woocommerce-product-gallery .slides li,
.product_content .deru-gallery-delayed .flex-viewport,
.product_content .deru-gallery-delayed .slides,
.product_content .deru-gallery-delayed .slides li {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), left 0.5s cubic-bezier(0.77, 0, 0.175, 1) !important;
}

.single_add_to_cart_button, .product_title, .price {
    transition: none !important; /* Keep these static for LCP/SI */
}

.woocommerce-product-gallery__wrapper {
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 100%;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Specific intrinsic sizes for sections if needed */
.media-row {
    contain-intrinsic-size: 150px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.25rem;
    font-weight: 600;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin: 1rem 0;
    /* Allow browsers to synthesize weight/style for fonts that don't include bold/italic variants */
    font-synthesis: weight style;
}


.woocommerce div.product form.cart {
    margin: 1.25rem 0 1.75rem;
}

.woocommerce div.product form.cart .variations td.label {
    padding-right: 0.75rem;
}

.woocommerce div.product .quantity .qty {
    width: 2rem;
    text-align: center;
    border: none;
    box-shadow: none;
}

/* Deru quantity control */
.woocommerce .deru-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 0.35rem 0.5rem;
    gap: 0.75rem;
    border-radius: 0px;
    margin-bottom: 24px !important;
}
.product_meta{
    font-size: 14px;
    color: #666;
}
.woocommerce .deru-quantity .deru-qty-btn {
    background: transparent;
    border: 0;
    color: #666;
    font-size: 1.25rem;
    line-height: .8;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    padding: 0;
}

.woocommerce .deru-quantity .deru-qty-btn:focus,
.woocommerce .deru-quantity .deru-qty-btn:focus-visible {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

.woocommerce .deru-quantity input.qty:focus,
.woocommerce .deru-quantity input.qty:focus-visible {
    outline: none;
    box-shadow: none;
}

.woocommerce .deru-quantity .deru-qty-btn::-moz-focus-inner {
    border: 0;
}

/* Hide native number input spinners */
.woocommerce .deru-quantity input[type=number]::-webkit-outer-spin-button,
.woocommerce .deru-quantity input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce .deru-quantity input[type=number] {
    -moz-appearance: textfield;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 2rem 0 1rem;
}

/* Notices */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    border: 1px solid #ddd;
    background: #fff;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #4169e1;
    color: #fff;
    border: 1px solid #3658c0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: #3658c0;
    color: #fff;
}

/* Deru Add to Cart primary button styling */
.woocommerce .deru-add-to-cart-button.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .02em;
    background-color: #11823b; /* green */
    border-color: #0e6e31;
    color: #fff;
    padding: 14px 20px;
    border-radius: 2px;
}

.woocommerce .deru-add-to-cart-button.single_add_to_cart_button:hover,
.woocommerce .deru-add-to-cart-button.single_add_to_cart_button:focus {
    background-color: #0f7134;
    border-color: #0c5f2b;
    color: #fff;
}

.woocommerce .deru-add-to-cart-button .deru-atc-sep {
    opacity: .8;
    padding: 0 4px;
}

.woocommerce .deru-add-to-cart-button .deru-atc-price {
    font-weight: 700;
}

/* Ensure buybox layout allows full-width button */
.woocommerce .pdp-buybox form.cart {
    align-items: stretch;
}

.woocommerce .pdp-buybox button.single_add_to_cart_button {
    flex: 1 1 220px;
    padding: 14px 20px;
}

/* Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #ccc;
    padding: 0.5rem 0.75rem;
}

/* Tables (Cart, Checkout totals, Account) */
.woocommerce table.shop_table {
    border: 1px solid #e6e6e6;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 0.75rem 1rem;
}

/* Cart */
.woocommerce .cart .quantity .qty {
    width: 4.5rem;
}

.woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
}

/* Checkout */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 16px;
}

.bottom-cart-section .cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bottom-cart-section .deru-quantity {
    margin-right: 0 !important;
}

.bottom-cart-section .deru-add-to-cart-button {
    max-width: 400px;
}

.bottom-cart-section .product-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}
.bottom-cart-section h2.bottom-cart-product-title {
    font-size: 2rem;
    margin-bottom: 7px !important;
    line-height: 1.2;
    font-family: 'Acta Display Light', sans-serif;
}



/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 0.5rem 0;
}

/* Small screens */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        list-style: none !important;
    }
    
    .woocommerce ul.products::before,
    .woocommerce ul.products::after,
    .woocommerce-page ul.products::before,
    .woocommerce-page ul.products::after {
        display: none !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products article.deru-featured-products__item,
    .woocommerce-page ul.products article.deru-featured-products__item,
    .woocommerce ul.products article.deru-product-list__item,
    .woocommerce-page ul.products article.deru-product-list__item {
        text-align: center  !important ;
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
        box-sizing: border-box !important;
    }

    .woocommerce .woocommerce-result-count {
        margin-bottom: 0.5rem;
    }
}


/* PDP minimal layout helpers */
.woocommerce div.product {
    display: block;
}

.pdp-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.pdp-hero__media,
.pdp-hero__summary {
    flex: 1 1 340px;
    min-width: 0;
}

/* Basic benefits layout */
.pdp-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 16px;
    margin: 16px 0;
}

.pdp-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pdp-benefit__title {
    font-weight: 600;
}

.pdp-benefit__desc {
    opacity: .85;
    font-size: .95em;
}

/* Accordion */
.pdp-accordion .pdp-acc__c {
    display: none;
}

.pdp-accordion .pdp-acc__t.is-open + .pdp-acc__c,
.pdp-accordion .pdp-acc__c.is-open {
    display: block;
}

.pdp-acc__t {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid #eee;
    cursor: pointer;
    background: none;
}

.pdp-acc__c {
    padding: 8px 0 16px;
}

/* Sticky add to cart (basic) */
.pdp-sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 16px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .06);
    transition: transform .2s ease;
    transform: translateY(100%);
    z-index: 999;
}

.pdp-sticky-atc[aria-hidden="false"] {
    transform: translateY(0);
}

.pdp-sticky-atc__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pdp-hero__media, .pdp-hero__summary {
        flex: 1 1 100%;
    }
}


/* PDP extended styling */
.woocommerce .pdp-hero {
    margin-bottom: 40px;
}

.woocommerce .pdp-hero__media .woocommerce-product-gallery,
.woocommerce .pdp-hero__media .deru-gallery-delayed {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 12px;
}

.woocommerce .pdp-hero__summary .product_title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.woocommerce .pdp-hero__summary .star-rating {
    margin: 6px 0 10px;
}

.woocommerce .pdp-hero__summary .price {
    color: #1f2937;
    margin: 8px 0 12px;
    font-weight: 700;
}

.woocommerce .pdp-hero__summary .woocommerce-product-details__short-description {
    color: #4b5563;
}

/* Buy box */
.woocommerce .pdp-buybox {
}

.woocommerce .pdp-buybox form.cart {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*gap: 12px;*/
    /*align-items: center;*/
    /*margin: 0;*/
}

.woocommerce .pdp-buybox .quantity {
    order: 1;
}

.woocommerce .pdp-buybox button.single_add_to_cart_button {
    order: 2;
    padding: 10px 18px;
    font-weight: 600;
}

/* Badges */
.woocommerce .pdp-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 16px;
    margin: 20px 0;
}

.woocommerce .pdp-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px dashed #e5e7eb;
    border-radius: 6px;
    background: #fff;
}

.woocommerce .pdp-badge__icon {
    width: 28px;
    height: 28px;
}

/* Ingredients section */
.woocommerce .pdp-section {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.woocommerce .pdp-ingredients__highlight {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.woocommerce .pdp-ingredients__inci h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

/* How to use */
.woocommerce .pdp-howto h2, .woocommerce .pdp-faq h2 {
    font-size: 26px;
    margin: 0 0 10px;
}

.woocommerce .pdp-howto__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.woocommerce .pdp-howto__item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.woocommerce .pdp-howto__img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
}

.woocommerce .pdp-howto__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 6px;
}

.woocommerce .pdp-howto__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.woocommerce .pdp-howto__desc {
    color: #4b5563;
}

/* FAQ */
.woocommerce .pdp-accordion-group {
    border-top: 1px solid #eee;
}

.woocommerce .pdp-accordion .pdp-acc__t {
    font-size: 18px;
    text-align: left;
}

.woocommerce .pdp-accordion .pdp-acc__c {
    color: #374151;
}

/* Reviews */
.woocommerce .pdp-reviews h2 {
    font-size: 26px;
    margin: 0 0 20px;
}

/* CusRev Stars and styling */
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-summary-res .cr-cumulative-rating,
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-summary-res .cr-num-reviews,
.cr-all-reviews-shortcode .ivole-summaryBox.cr-summaryBox-vertical .cr-summary-res-all .cr-cumulative-rating {
    color: #333;
}

/* Yellow stars for Customer Reviews plugin */
.woocommerce .cr-all-reviews-shortcode .cr-star-rating .cr-star-icon,
.woocommerce .cr-all-reviews-shortcode .cr-star-rating-categories .cr-star-icon,
.woocommerce .cr-all-reviews-shortcode .ivole-star-rating .cr-star-icon,
.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-star-rating .cr-star-icon,
.woocommerce .cr-all-reviews-shortcode .cr-review-rating .cr-star-icon {
    color: #ffc107 !important; /* Yellow color */
}

/* Filled stars specifically if needed */
.woocommerce .cr-all-reviews-shortcode .cr-star-icon.cr-star-icon-full,
.woocommerce .cr-all-reviews-shortcode .cr-star-icon.cr-star-icon-half {
    color: #ffc107 !important;
}

/* Add review button styling to match theme */
.woocommerce .cr-all-reviews-shortcode .cr-add-review-button {
    background-color: #111827 !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.woocommerce .cr-all-reviews-shortcode .cr-add-review-button:hover {
    background-color: #374151 !important;
}

/* Hide unwanted CusRev elements */
.woocommerce .cr-all-reviews-shortcode .cr-ajax-search,
.woocommerce .cr-all-reviews-shortcode .cr-count-row {
    display: none !important;
}

/* Histogram stars styling */
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable .ivole-histogramCell1 .cr-histogram-a,
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable .ivole-histogramCell1 {
    font-size: 0 !important; /* Hide original text like "5 star" */
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Number display */
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable .ivole-histogramCell1::before {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable tr:nth-child(1) .ivole-histogramCell1::before { content: "5"; }
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable tr:nth-child(2) .ivole-histogramCell1::before { content: "4"; }
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable tr:nth-child(3) .ivole-histogramCell1::before { content: "3"; }
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable tr:nth-child(4) .ivole-histogramCell1::before { content: "2"; }
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable tr:nth-child(5) .ivole-histogramCell1::before { content: "1"; }

/* Star icon display */
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable .ivole-histogramCell1::after {
    content: "\2605"; /* Unicode star icon */
    font-size: 18px;
    color: #ffc107;
    line-height: 1;
}

/* Ensure inner links don't show extra content */
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable .ivole-histogramCell1 .cr-histogram-a::before,
.woocommerce .cr-all-reviews-shortcode .cr-histogramTable .ivole-histogramCell1 .cr-histogram-a::after {
    content: none !important;
}

/* Helpful voting section */
.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
}

.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni::before {
    content: "Hasznosnak találtad ezt az értékelést?";
    font-weight: 600;
}

.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni span.cr-voting-upvote,
.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni span.cr-voting-downvote {
    cursor: pointer;
    transition: opacity 0.2s;
}

.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni span.cr-voting-upvote:hover,
.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni span.cr-voting-downvote:hover {
    opacity: 0.7;
}

/* Review Summary Box Layout */
.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    margin-bottom: 40px;
    gap: 0;
}

/* Hide default separators as we use borders or spacing */
.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-summary-separator,
.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-summary-separator-side {
    display: none !important;
}

.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-overall-rating-wrap,
.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .ivole-summaryBox,
.woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

/* Desktop widths: 25% 49% 25% */
@media (min-width: 769px) {
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-overall-rating-wrap {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .ivole-summaryBox {
        flex: 0 0 49%;
        max-width: 49%;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap {
        flex: 0 0 25%;
        max-width: 25%;
        align-items: center;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap {
        flex-direction: column;
        gap: 30px;
    }
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-overall-rating-wrap,
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .ivole-summaryBox,
    .woocommerce .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        border: none !important;
    }
}

/* Review form panel animation */
.woocommerce .cr-all-reviews-shortcode .cr-review-form-wrap {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 400ms ease-in-out, opacity 400ms ease-in-out, padding 400ms ease-in-out;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce .cr-all-reviews-shortcode.cr-all-reviews-new-review .cr-review-form-wrap {
    max-height: 2000px; /* Large enough value to accommodate the form */
    opacity: 1;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review,
.cr-reviews-grid .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review,
.cr-review-form-submit{
    background-color: #7AC143 !important;
}
.woocommerce .cr-all-reviews-shortcode .cr-voting-cont.cr-voting-cont-uni svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Tabs spacing */
.woocommerce .woocommerce-tabs {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 16px;
}

/* Related products */
.woocommerce .related,
.woocommerce .upsells,
.woocommerce .up-sells {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px;
    clear: both;
}

/* Show add-to-cart only on hover within related product cards (upsells disabled) */
.woocommerce .related ul.products li.product {
    position: relative;
}

.woocommerce .related ul.products li.product a.button,
.woocommerce .related ul.products li.product .button,
.woocommerce .related ul.products li.product .add_to_cart_button {
    position: absolute;
    opacity: 0;
    margin-top: 30px;
    transition: all .5s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    top: 50%;
    width: auto;
    white-space: nowrap;
}

.woocommerce .related ul.products li.product:hover a.button,
.woocommerce .related ul.products li.product:hover .button,
.woocommerce .related ul.products li.product:hover .add_to_cart_button {
    opacity: 1;
    margin-top: 0;
}

/* Explicit: az upsell (up-sells/upsells) kártyákon NINCS hover/mouseenter alapú vizuális változás a kosár gombra */
.woocommerce .up-sells ul.products li.product,
.woocommerce .upsells ul.products li.product {
    position: static;
}

.woocommerce .up-sells ul.products li.product a.button,
.woocommerce .up-sells ul.products li.product .button,
.woocommerce .up-sells ul.products li.product .add_to_cart_button,
.woocommerce .upsells ul.products li.product a.button,
.woocommerce .upsells ul.products li.product .button,
.woocommerce .upsells ul.products li.product .add_to_cart_button {
    position: static;
    opacity: 1;
    margin-top: 0;
    transition: none;
    left: auto;
    top: auto;
    transform: none;
    z-index: auto;
    white-space: normal;
}

.woocommerce .up-sells ul.products li.product:hover a.button,
.woocommerce .up-sells ul.products li.product:hover .button,
.woocommerce .up-sells ul.products li.product:hover .add_to_cart_button,
.woocommerce .upsells ul.products li.product:hover a.button,
.woocommerce .upsells ul.products li.product:hover .button,
.woocommerce .upsells ul.products li.product:hover .add_to_cart_button {
    opacity: 1;
    margin-top: 0;
}

/* Touch eszközökön: upsell kártyákon tiltsunk minden hover/focus/active alapú vizuális változást,
   hogy ne legyen „első tapra” elmozdulás/ugrás. */
@media (hover: none) {
    .woocommerce .up-sells ul.products li.product,
    .woocommerce .upsells ul.products li.product {
        transition: none !important;
        transform: none !important;
    }

    /* Minden belső elem átmeneteinek letiltása – elkerüli a mikro-animációk okozta reflowt */
    .woocommerce .up-sells ul.products li.product *,
    .woocommerce .upsells ul.products li.product * {
        transition: none !important;
    }

    /* Állapotok semlegesítése */
    .woocommerce .up-sells ul.products li.product:hover,
    .woocommerce .up-sells ul.products li.product:focus,
    .woocommerce .up-sells ul.products li.product:active,
    .woocommerce .upsells ul.products li.product:hover,
    .woocommerce .upsells ul.products li.product:focus,
    .woocommerce .upsells ul.products li.product:active {
        transform: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        opacity: 1 !important;
    }

    /* Linkek: ne legyen tap highlight és outline, maradjon stabil a layout */
    .woocommerce .up-sells ul.products li.product a,
    .woocommerce .upsells ul.products li.product a {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        outline: 0 !important;
        box-shadow: none !important;
    }

    .woocommerce .up-sells ul.products li.product a:focus,
    .woocommerce .up-sells ul.products li.product a:active,
    .woocommerce .upsells ul.products li.product a:focus,
    .woocommerce .upsells ul.products li.product a:active {
        outline: 0 !important;
        box-shadow: none !important;
    }

    /* Ha bármely belső elem hover/active/focus alatt transformot alkalmazna, semlegesítsük */
    .woocommerce .up-sells ul.products li.product:hover *,
    .woocommerce .up-sells ul.products li.product:active *,
    .woocommerce .up-sells ul.products li.product:focus *,
    .woocommerce .upsells ul.products li.product:hover *,
    .woocommerce .upsells ul.products li.product:active *,
    .woocommerce .upsells ul.products li.product:focus * {
        transform: none !important;
    }
}

.leaflet-attribution-flag{
    display: none !important;
}

.woocommerce ul.products, .woocommerce-page ul.products{
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;

}

.wc-block-cart__submit-container{
    background: #008b30 !important;
    color: #fff !important;
}
.wc-block-cart__submit-container .wc-block-components-button__text{
    color: #fff !important;
    padding: 10px 20px !important;
}

.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted{
    border-color: rgb(67, 176, 42) !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{
    box-shadow: inset 0 0 0 1px rgb(67, 176, 42) !important;
}

/* Rating under price (Single Product) */
.woocommerce div.product .deru-pdp-rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
    text-decoration: none !important;
    width: fit-content;
}

/* Rating in Product Loop (General) */
.woocommerce .deru-product-list__rating.deru-pdp-rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    margin: 0 auto 15px; /* Center in loop items */
    justify-content: center;
    text-decoration: none !important;
    width: auto;
}

/* Specific overrides for Related & Upsells ratings to decouple from PDP styles */
.woocommerce .related .deru-pdp-rating,
.woocommerce .upsells .deru-pdp-rating,
.woocommerce .up-sells .deru-pdp-rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 6px auto 12px !important;
    width: 100% !important;
}

.woocommerce div.product .deru-pdp-rating:hover .deru-pdp-rating-text,
.woocommerce .deru-product-list__item:hover .deru-pdp-rating-text {
    color: #000;
}

.woocommerce .up-sells .star-rating,
.woocommerce .related .star-rating,
.woocommerce .upsells .star-rating,
.woocommerce .star-rating,
.deru-featured-products__rating .star-rating {
    margin: 0 !important;
    font-size: 14px !important;
    width: 80px !important;
    display: inline-block !important;
    position: relative !important;
    height: 1em !important;
    line-height: 1 !important;
}

.woocommerce .up-sells .star-rating::before,
.woocommerce .related .star-rating::before,
.woocommerce .upsells .star-rating::before,
.woocommerce .star-rating::before,
.deru-featured-products__rating .star-rating::before {
    color: #ccc !important;
    content: "\2605\2605\2605\2605\2605" !important;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 2px !important;
}

.woocommerce .up-sells .star-rating span,
.woocommerce .related .star-rating span,
.woocommerce .upsells .star-rating span,
.woocommerce .star-rating span,
.deru-featured-products__rating .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em !important;
}

.woocommerce .up-sells .star-rating span::before,
.woocommerce .related .star-rating span::before,
.woocommerce .upsells .star-rating span::before,
.woocommerce .star-rating span::before,
.deru-featured-products__rating .star-rating span::before {
    color: #ffc107 !important;
    content: "\2605\2605\2605\2605\2605" !important;
    top: 0;
    position: absolute;
    left: 0;
    letter-spacing: 2px !important;
}

.woocommerce .deru-pdp-rating .deru-pdp-rating-text {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    display: inline-block !important;
}



/* Related & Upsells grid: 3 per row, 30% width, centered */
.woocommerce .related ul.products,
.woocommerce .upsells ul.products,
.woocommerce .up-sells ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product,
.woocommerce .up-sells ul.products li.product {
    box-sizing: border-box;
    flex: 0 0 30%;
    max-width: 30%;
    float: none;
    margin: 0;
}
.woocommerce .related>h2,
.woocommerce .upsells>h2,
.woocommerce .up-sells>h2 {
    font-size: 32px;
    margin: 0 0 10px;
    text-align: center;
    font-family: "Acta Display Light", serif;
    font-weight: 400;
    color: #464646;
}


/* Shop replies styling */
.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children {
    list-style: none;
    margin: 20px 0 0 40px;
    padding: 0;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li .comment_container {
    display: flex;
    gap: 15px;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li img.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li .cr-comment-text {
    flex: 1;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li .cr-meta-author-featured-date svg {
    color: #7AC143;
    margin-right: 5px;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li .woocommerce-review__author {
    font-weight: 600;
}

.woocommerce .cr-all-reviews-shortcode ol.commentlist ul.children li .woocommerce-review__verified {
    background-color: #7AC143;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    margin-left: 5px;
}

.woocommerce-category-header-cta{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 50px;
}
.woocommerce-category-header-cta > div{
    flex: 1 1 0;
}
.woocommerce-category-header-cta .product-cat-thumbnail img{
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

/* Order Summary Spinner for Blocks Checkout */
.wc-block-components-checkout-order-summary__content {
    position: relative;
    transition: opacity 0.3s ease;
}

.wc-block-components-checkout-order-summary__content.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.wc-block-components-checkout-order-summary__content.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 139, 48, 0.2);
    border-top-color: #008b30;
    border-radius: 50%;
    animation: deru-spinner 0.8s linear infinite;
    z-index: 10;
}

@keyframes deru-spinner {
    to { transform: rotate(360deg); }
}

.woocommerce-category-header-cta.no-image {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    display: block;
    text-align: center;
    margin-bottom: 40px;
}
.woocommerce-category-header-cta.no-image .woocommerce-category-header-cta__image{
    display: none;
}

.woocommerce-product-gallery__trigger{
    position: absolute !important;
}

/* Single product – WooCommerce-kompatibilis gomb spinner (.loading / .is-loading) */
.woocommerce .single_add_to_cart_button.loading,
.woocommerce .single_add_to_cart_button.is-loading{
    position: relative;
    pointer-events: none;
    opacity: .5;
}

.woocommerce .single_add_to_cart_button.loading::after,
.woocommerce .single_add_to_cart_button.is-loading::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid rgba(255,255,255,0.8);
    border-top-color: #111;
    border-radius: 50%;
    animation: deru-spinner 0.8s linear infinite;
    ;
}

/* Single product: thumbnails horizontális elrendezése a fő kép alatt */
.single-product .product_content .thumbnails {
    display: block; /* a belső listák inline-flex sora adja a layoutot */
    align-items: stretch;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
    overflow-x: auto; /* vízszintes görgetés, ha kilóg */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* iOS tehetetlenség */
    scrollbar-gutter: stable both-edges; /* elkerüli az elugrásokat */
    cursor: grab; /* drag to scroll UX */
}
.single-product .product_content .thumbnails.is-grabbing{ cursor: grabbing; }

/* WooCommerce alap thumb lista áthelyezve ide: biztosítsuk a vízszintes sort */
.single-product .product_content .thumbnails ul,
.single-product .product_content .thumbnails ol {
    display: inline-flex; /* egyetlen vízszintes sor */
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0;
    margin: 0 12px 0 0; /* jobb oldali belső margó, hogy a legutolsó elem is teljesen be tudjon csúszni */
    list-style: none;
    cursor: pointer;
}

/* Erős felülírás, ha máshol oszloposra állították a flex-control-thumbs-ot */
.single-product .product_content .thumbnails .flex-control-thumbs{
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px;
}

.single-product .product_content .thumbnails .flex-control-thumbs li{
    flex: 0 0 auto;
    float: none !important; /* elővigyázatosság: ne törje a sort */
}

/* Biztosítsunk egy kis belső „puffer” jobb oldalt a scroll végén */
.single-product .product_content .thumbnails::after{
    content: '';
    display: inline-block;
    width: 12px; /* egyezzen a gap-pal */
    height: 1px; /* minimális magasság, hogy ne ugráljon a sor */
}

.single-product .product_content .thumbnails li,
.single-product .product_content .thumbnails a {
    display: inline-flex;
}

.single-product .product_content .thumbnails img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #fff;
}

/* Aktív/hover állapot finom jelölése */
.single-product .product_content .thumbnails a:hover img,
.single-product .product_content .thumbnails .is-active img,
.single-product .product_content .thumbnails .slick-current img,
.single-product .product_content .thumbnails .flex-active-slide img {
    border-color: #7AC143FF;
}

@media (max-width: 600px) {
    .single-product .product_content .thumbnails {
        /* a belső listán marad a gap */
    }
    .single-product .product_content .thumbnails img {
        width: 60px;
        height: 60px;
    }
}

/* Vékony, diszkrét görgetősáv (széles támogatás nélkül, de nem árt) */
.single-product .product_content .thumbnails::-webkit-scrollbar{ height: 8px; }
.single-product .product_content .thumbnails::-webkit-scrollbar-track{ background: transparent; }
.single-product .product_content .thumbnails::-webkit-scrollbar-thumb{ background: #d1d5db; border-radius: 8px; }
.single-product .product_content .thumbnails:hover::-webkit-scrollbar-thumb{ background: #b6bec9; }

/* Pötty navigáció a fő kép és a bélyegképek között */
.single-product .product_content .thumbs-nav-dots{
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px 0 6px;
    visibility: visible !important;
    opacity: 1 !important;
}

/* A pöttyök belső sora a nyilak között */
.single-product .product_content .thumbs-nav-dots__inner{
    display: inline-flex;
    gap: 13px;
    align-items: center;
}

/* Bal/jobb nyilak a pöttyök elé és után */
.single-product .product_content .thumbs-nav-arrow{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #000; /* szürke 700 */
    background-color: transparent;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    margin-top: -5px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.single-product .product_content .thumbs-nav-arrow:hover{
    color: #000;
}
.single-product .product_content .thumbs-nav-arrow:focus{
    outline-offset: 2px;
}
.single-product .product_content .thumbs-nav-arrow[disabled],
.single-product .product_content .thumbs-nav-arrow[aria-disabled="true"]{
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .single-product .product_content .thumbs-nav-arrow{
        width: 34px;
        height: 34px;
    }
}

.single-product .product_content .thumbs-nav-dots__dot{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background-color .2s ease;
    background-color: #d1d5db; /* szürke alap */
    border: 1px solid #cbd5e1;
    padding: 0;
    cursor: pointer;
    display: inline-block;
}

.single-product .product_content .thumbs-nav-dots__dot:hover{
    background-color: #a3aebc;
}

.single-product .product_content .thumbs-nav-dots__dot.is-active{
    background-color: #7AC143FF; /* aktív zöld */
    border-color: #7AC143FF;
}


@media (max-width: 600px){
    .single-product .product_content .thumbs-nav-dots{
        gap: 6px;
        margin: 8px 0 4px;
    }
    .single-product .product_content .thumbs-nav-dots__dot{
        width: 12px;
        height: 12px;
    }
}

/* Performance: font-display a Side Cart plugin ikonfontjára */
@font-face {
    font-family: 'Woo-Side-Cart';
    src: url('/wp-content/plugins/side-cart-woocommerce/assets/css/fonts/Woo-Side-Cart.eot?qq7fgp');
    src: url('/wp-content/plugins/side-cart-woocommerce/assets/css/fonts/Woo-Side-Cart.eot?qq7fgp#iefix') format('embedded-opentype'),
         url('/wp-content/plugins/side-cart-woocommerce/assets/css/fonts/Woo-Side-Cart.woff?qq7fgp') format('woff'),
         url('/wp-content/plugins/side-cart-woocommerce/assets/css/fonts/Woo-Side-Cart.ttf?qq7fgp') format('truetype'),
         url('/wp-content/plugins/side-cart-woocommerce/assets/css/fonts/Woo-Side-Cart.svg?qq7fgp#Woo-Side-Cart') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Mobile override: Product list rating layout stacked */
@media (max-width: 600px) {
    .woocommerce .deru-product-list__rating.deru-pdp-rating {
        flex-direction: column !important;
    }
}