/* Product page specific fixes - do not affect global styles */

/* Match shop background color - light cream/beige */
.elementor-9135 .elementor-element.elementor-element-4e83dfc,
.elementor-9135 .elementor-element.elementor-element-8b2435a,
.elementor-9135 .elementor-element.elementor-element-5165423,
.elementor-9135 .elementor-element.elementor-element-8dcdb08,
.elementor-9135 .elementor-element.elementor-element-05c0aed,
.elementor-9135 .elementor-element.elementor-element-6f8bf68,
.elementor-9135 .elementor-element.elementor-element-c431066 {
    background-color: #f5f1e8 !important;
}

.elementor-9135 .elementor-element.elementor-element-4e83dfc:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-4e83dfc>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-8b2435a:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-8b2435a>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-5165423:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-5165423>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-8dcdb08:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-8dcdb08>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-05c0aed:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-05c0aed>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-6f8bf68:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-6f8bf68>.elementor-motion-effects-container>.elementor-motion-effects-layer,
.elementor-9135 .elementor-element.elementor-element-c431066:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-c431066>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-color: #f5f1e8 !important;
}

/* Product quantity input - fix horizontal layout */
.quantity {
    display: flex !important;
    align-items: center;
    gap: 0;
}

.quantity .minus,
.quantity .plus {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    background: transparent !important;
    color: #3e3e3e;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.quantity .minus:hover,
.quantity .plus:hover {
    background: transparent !important;
    border-color: #7a8450;
    color: #7a8450;
}

.quantity .minus {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.quantity .plus {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.quantity input[type="number"] {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.quantity .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Product gallery carousel container */
.wd-gallery-images.wd-carousel-container {
    position: relative;
}

.wd-gallery-images .wd-carousel-inner {
    position: relative;
    overflow: hidden;
}

.wd-gallery-images .woocommerce-product-gallery__wrapper {
    overflow: hidden;
}

.wd-gallery-images .wd-carousel-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    transition: transform 0.4s ease;
}

.wd-gallery-images .wd-carousel-item {
    flex-shrink: 0;
}

.wd-gallery-images .wd-carousel-item figure {
    margin: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.wd-gallery-images .wd-carousel-item img:not(.zoomImg) {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.wd-gallery-images .zoomImg {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    border: none;
    max-width: none;
    max-height: none;
    transition: opacity 0.2s ease;
}

.woocommerce-product-gallery.image-action-zoom .wd-gallery-images .wd-carousel-item figure a {
    cursor: crosshair;
    pointer-events: none;
}

/* Thumbnail gallery row */
.wd-gallery-thumb.wd-carousel-container {
    position: relative;
}

.wd-gallery-thumb .wd-carousel {
    overflow: hidden;
}

.wd-gallery-thumb .wd-carousel-inner {
    overflow: hidden;
}

.wd-gallery-thumb .wd-carousel-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.4s ease;
}

.wd-gallery-thumb .wd-carousel-item {
    flex-shrink: 0;
}

.wd-gallery-thumb .wd-carousel-item {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.wd-gallery-thumb .wd-carousel-item.wd-thumb-active {
    opacity: 1 !important;
}

.wd-gallery-thumb .wd-carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.wd-gallery-thumb .wd-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
    z-index: 5;
}

.wd-gallery-thumb .wd-btn-arrow {
    pointer-events: all;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.wd-gallery-thumb .wd-btn-arrow:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wd-gallery-thumb .wd-btn-arrow.wd-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.wd-gallery-thumb .wd-prev {
    transform: translateX(-50%);
}

.wd-gallery-thumb .wd-next {
    transform: translateX(50%);
}

.wd-gallery-thumb .wd-arrow-inner {
    width: 0;
    height: 0;
    border-style: solid;
}

.wd-gallery-thumb .wd-arrow-inner:after {
    content: none !important;
}

.wd-gallery-thumb .wd-prev .wd-arrow-inner {
    border-width: 7px 10px 7px 0;
    border-color: transparent #333 transparent transparent;
    margin-right: 2px;
}

.wd-gallery-thumb .wd-next .wd-arrow-inner {
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #333;
    margin-left: 2px;
}

.wd-gallery-images .wd-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 5;
}

.wd-gallery-images .wd-btn-arrow {
    pointer-events: all;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.wd-gallery-images .wd-btn-arrow:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wd-gallery-images .wd-btn-arrow.wd-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.wd-gallery-images .wd-arrow-inner {
    width: 0;
    height: 0;
    border-style: solid;
}

.wd-gallery-images .wd-arrow-inner:after {
    content: none !important;
}

.wd-gallery-images .wd-prev .wd-arrow-inner {
    border-width: 8px 12px 8px 0;
    border-color: transparent #333 transparent transparent;
    margin-right: 3px;
}

.wd-gallery-images .wd-next .wd-arrow-inner {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #333;
    margin-left: 3px;
}

/* Upsell recipe book thumbnail */
.single-product .img__upsell-item {
    flex: 0 0 96px;
}

.single-product .img__upsell-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Product gallery badges */
.wd-gallery-images .product-labels,
.single-product .product-labels {
    position: absolute !important;
    top: 15px;
    right: 15px;
    left: auto !important;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: none;
    width: auto;
}

.wd-gallery-images .product-labels .product-label,
.single-product .product-labels .product-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 55px !important;
    min-height: 55px !important;
    width: 55px !important;
    height: 55px !important;
    padding: 0 !important;
    margin: 0;
    border-radius: 50% !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wd-gallery-images .product-labels .onsale,
.single-product .product-labels .onsale {
    background-color: #7a8450 !important;
    font-size: 14px;
}

/* Star ratings */
.single-product .woocommerce-product-rating .star-rating,
.single-product .ratings-box__single-product .star-rating {
    --wd-star-color: #ffbf00;
    color: #ffbf00;
}

.single-product .woocommerce-product-rating .star-rating span::before,
.single-product .ratings-box__single-product .star-rating span::before {
    color: #ffbf00 !important;
}

/* Product summary spacing and price */
.single-product .ratings-box__single-product {
    margin-bottom: 24px !important;
}

.single-product .ratings-box__single-product > .elementor-widget-container {
    margin-bottom: 0 !important;
}

.single-product .wd-single-title > .elementor-widget-container {
    margin: 0 !important;
}

.single-product .wd-single-title .product_title {
    margin-bottom: 0 !important;
    line-height: 1.15 !important;
}

.single-product .wd-single-price > .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.elementor-9135 .elementor-element.elementor-element-dc59aa5 > .elementor-widget-wrap > .elementor-element-82c890b {
    margin-block-end: 0 !important;
}

.elementor-9135 .elementor-element.elementor-element-dc59aa5 > .elementor-widget-wrap > .elementor-element-b983aa6 {
    margin-block-end: 12px !important;
}

.single-product .wd-single-price .price {
    display: block;
    margin: 0;
    line-height: 1.2;
}

.single-product .wd-single-price .price del,
.single-product .wd-single-price .price ins {
    display: inline;
}

.single-product .wd-single-price .price del {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.85;
    margin-right: 8px;
}

.single-product .wd-single-price .price ins {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.single-product .wd-single-price .price .screen-reader-text {
    display: none !important;
}

.single-product .woocommerce-product-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.single-product .ratings-box__single-product .woocommerce-review-link {
    color: #5c5c5c;
    font-weight: 500;
}

/* Blue separator ↔ olive features band — eliminate sub-pixel white gap */
.elementor-9135 .elementor-element.elementor-element-66e4b88:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-66e4b88 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #D1E9E2 !important;
}

.elementor-9135 .elementor-element.elementor-element-66e4b88,
.elementor-9135 .elementor-element.elementor-element-fe1fe0e {
    line-height: 0;
    font-size: 0;
}

.elementor-9135 .elementor-element.elementor-element-66e4b88 {
    margin-bottom: -3px !important;
}

.elementor-9135 .elementor-element.elementor-element-77daf57:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-77daf57 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #7a8450 !important;
}

.elementor-9135 .elementor-element.elementor-element-77daf57 {
    margin-top: -3px !important;
    box-shadow: 0 -4px 0 0 #7a8450;
    position: relative;
    z-index: 1;
}

.elementor-9135 .elementor-element.elementor-element-3d97ca1 .elementor-image-box-title,
.elementor-9135 .elementor-element.elementor-element-70109fe .elementor-image-box-title,
.elementor-9135 .elementor-element.elementor-element-70109fe .elementor-image-box-description,
.elementor-9135 .elementor-element.elementor-element-80d087c .elementor-image-box-title,
.elementor-9135 .elementor-element.elementor-element-ee275da .elementor-image-box-title {
    color: #e1ddd4 !important;
}

.elementor-9135 .elementor-element.elementor-element-0e3d2b6 > .elementor-widget-container,
.elementor-9135 .elementor-element.elementor-element-7964006 > .elementor-widget-container {
    margin: -2px 0 !important;
    line-height: 0;
    overflow: hidden;
}

.elementor-9135 .elementor-element.elementor-element-0e3d2b6 > .elementor-widget-container {
    --e-transform-translateY: -2px;
}

.elementor-9135 .elementor-element.elementor-element-0e3d2b6 img,
.elementor-9135 .elementor-element.elementor-element-7964006 img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: bottom;
}

.elementor-9135 .elementor-element.elementor-element-fe1fe0e {
    margin-top: -3px !important;
    margin-bottom: -3px !important;
}

.elementor-9135 .elementor-element.elementor-element-f8f20cd {
    margin-top: -3px !important;
}

/* Sticky add-to-cart bar */
.wd-sticky-btn {
    background-color: #fff;
}

.wd-sticky-btn .container,
.wd-sticky-btn-container.container {
    max-width: 1000px;
    width: 100%;
    margin-inline: auto;
}

.wd-sticky-btn .wd-entities-title {
    color: #7a8450;
    font-family: "Adys Bold", Arial, Helvetica, sans-serif;
}

.wd-sticky-btn .star-rating {
    --wd-star-color: #ffbf00;
    color: #ffbf00;
    margin-top: 5px;
}

.wd-sticky-btn .star-rating span::before {
    color: #ffbf00 !important;
}

.wd-sticky-btn .price {
    white-space: nowrap;
}

.wd-sticky-btn .price del {
    display: block;
    color: #a5a5a5;
}

.wd-sticky-btn .price ins {
    display: block;
    color: #7a8450 !important;
}

.wd-sticky-btn .price ins .amount,
.wd-sticky-btn .price .amount {
    color: #7a8450 !important;
}

.wd-sticky-btn-cart .single_add_to_cart_button {
    min-width: 220px;
}

@media (min-width: 769px) {
    .wd-sticky-btn-on.wd-sticky-btn-active {
        padding-bottom: var(--wd-sticky-btn-height);
    }
}

/* PDP — olive palette (replaces legacy teal #2A6451 / #006e52) */
.elementor-9135,
.single-product {
    --e-global-color-primary: #7a8450;
    --green-900: #7a8450;
    --vm-accent: #7a8450;
    --vm-accent-hover: #667050;
    --vm-text: #4b542b;
    --vm-surface: #ebe8df;
}

.elementor-9135 .elementor-element.elementor-element-8794734 :is(.wd-breadcrumbs, .yoast-breadcrumb, .rank-math-breadcrumb, .aioseo-breadcrumbs, .breadcrumb) {
    --wd-bcrumb-color-active: #7a8450;
}

.elementor-9135 .elementor-element.elementor-element-8794734 :is(.wd-breadcrumbs, .breadcrumb) a:hover {
    color: #667050;
}

.elementor-9135 .elementor-element.elementor-element-82c890b .product_title,
.elementor-9135 .wd-single-title .product_title {
    color: #7a8450 !important;
}

.elementor-9135 .elementor-element.elementor-element-b983aa6 :is(.price, ins),
.elementor-9135 .elementor-element.elementor-element-b983aa6 .price .amount {
    color: #7a8450 !important;
}

.elementor-9135 .elementor-element.elementor-element-b983aa6 .price del {
    color: #999 !important;
}

.elementor-9135 .elementor-element.elementor-element-7c13589 .elementor-heading-title {
    color: #7a8450 !important;
}

.elementor-9135 .elementor-element.elementor-element-a67a899 .elementor-heading-title {
    color: #4b542b !important;
}

.elementor-9135 .elementor-element.elementor-element-10d3c56:not(.elementor-motion-effects-element-type-background),
.elementor-9135 .elementor-element.elementor-element-10d3c56 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ebe8df !important;
}

/* Pago en línea seguro — candado alineado con el texto */
.elementor-9135 .elementor-element.elementor-element-312c86e {
    --icon-vertical-offset: 0;
}

.elementor-9135 .elementor-element.elementor-element-312c86e .elementor-icon-list-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.elementor-9135 .elementor-element.elementor-element-312c86e .elementor-icon-list-icon {
    position: static;
    inset-block-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    padding-inline-end: 0;
}

.elementor-9135 .elementor-element.elementor-element-312c86e .elementor-icon-list-icon > svg {
    width: 16px;
    height: 16px;
    display: block;
    overflow: visible;
}

.elementor-9135 .elementor-element.elementor-element-312c86e .elementor-icon-list-icon > svg > g > svg {
    width: 16px;
    height: auto;
    max-height: 17px;
    display: block;
}

.elementor-9135 .elementor-element.elementor-element-312c86e .elementor-icon-list-icon svg path {
    fill: #686492;
}

.elementor-9135 .elementor-element.elementor-element-312c86e .elementor-icon-list-text {
    color: #7a8450 !important;
    line-height: 1.4;
}

.single-product #fkcart-floating-toggler,
.single-product .fkcart-toggle {
    --fkcart-primary-bg-color: #7a8450;
    --fkcart-progress-bar-active-color: #7a8450;
    --fkcart-progress-bar-bg-color-active-icon: #7a8450;
}

/* Recipe cards — static images only, no video interaction */
.single-product .video-card {
    cursor: default;
    pointer-events: none;
}

.single-product .play-icon {
    display: none !important;
}
