/* Woodmart Child — Elementor carousels and tabs (dots, mobile tabs, carousel effects). */
/* ---------- Carousel arrows: one design for Elementor and WoodMart carousels ----------
   Green circle with a white arrow; hover: green, black arrow and a thin black border. Same size
   in both. It is only the DEFAULT: it is given through each widget's own CSS variables or with
   zero priority (:where), so whatever you set in the widget (Elementor: Style → Navigation;
   WoodMart products: the arrow controls) always wins. */
:root{--wdc-arrow-box:48px;--wdc-arrow-icon:16px;--wdc-arrow-bg:#b3f05a;--wdc-arrow-fg:#fff;--wdc-arrow-fg-h:#161616;--wdc-arrow-brd-h:#161616}
@media (max-width:1024px){:root{--wdc-arrow-box:40px;--wdc-arrow-icon:14px}}

/* Elementor "Carousel" (nested): its own variables (size, colour, hover colour, border type). */
:where(.elementor-widget-n-carousel){
	--e-n-carousel-arrow-size:var(--wdc-arrow-icon);
	--e-n-carousel-arrow-normal-color:var(--wdc-arrow-fg);
	--e-n-carousel-arrow-hover-color:var(--wdc-arrow-fg-h);
	--e-n-carousel-arrow-normal-border-type:solid;
	--e-n-carousel-arrow-hover-border-type:solid
}
/* Every Elementor carousel: the circle. Elementor sets no background / size / radius itself; the
   class weight only beats WoodMart's reset (div{border:0}), never the widget's own settings. */
:where(.elementor-widget) .elementor-swiper-button{
	box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
	min-width:var(--wdc-arrow-box);min-height:var(--wdc-arrow-box);padding:0;
	border-radius:50%;background-color:var(--wdc-arrow-bg);border-width:1px;border-color:transparent;
	transition:background-color .2s ease,color .2s ease,border-color .2s ease,opacity .2s ease
}
:where(.elementor-widget) .elementor-swiper-button:hover{background-color:var(--wdc-arrow-bg);border-color:var(--wdc-arrow-brd-h)}
/* Other Elementor carousels (Image, Media, Testimonial…) use fixed colours instead of variables:
   the default beats Elementor's base rule but not the widget's own controls. */
body .elementor-widget:not(.elementor-widget-n-carousel) .elementor-swiper-button{color:var(--wdc-arrow-fg);font-size:var(--wdc-arrow-icon)}
body .elementor-widget:not(.elementor-widget-n-carousel) .elementor-swiper-button svg{fill:currentColor}
body .elementor-widget:not(.elementor-widget-n-carousel) .elementor-swiper-button:hover{color:var(--wdc-arrow-fg-h)}
/* Always above the slide content: a click anywhere on the circle is the arrow (no link behind). */
body .elementor-widget .elementor-swiper-button.elementor-swiper-button-prev,
body .elementor-widget .elementor-swiper-button.elementor-swiper-button-next{z-index:10}

/* WoodMart carousels (products, categories, brands, info boxes…): WoodMart's own variables. Above
   WoodMart's global "Carousel arrow" theme settings, so both kinds of carousel look the same;
   each widget's own arrow settings still win. */
body .wd-nav-arrows.wd-nav-arrows{
	--wd-arrow-size:var(--wdc-arrow-box);--wd-arrow-width:var(--wdc-arrow-box);--wd-arrow-height:var(--wdc-arrow-box);
	--wd-arrow-icon-size:var(--wdc-arrow-icon);--wd-arrow-radius:50%;
	--wd-arrow-bg:var(--wdc-arrow-bg);--wd-arrow-color:var(--wdc-arrow-fg);--wd-arrow-color-hover:var(--wdc-arrow-fg-h);
	/* hover and "no more items" states follow the normal background / colour, also the ones you set in a widget */
	--wd-arrow-bg-hover:var(--wd-arrow-bg);--wd-arrow-bg-dis:var(--wd-arrow-bg);--wd-arrow-color-dis:var(--wd-arrow-color);
	--wd-arrow-brd:1px solid;--wd-arrow-brd-color:transparent;--wd-arrow-brd-color-hover:var(--wdc-arrow-brd-h);--wd-arrow-brd-color-dis:transparent
}
:where(.wd-nav-arrows) .wd-disabled .wd-arrow-inner{opacity:.4}

/* ---------- Elementor carousels: dots ---------- */
.elementor-widget:not(.wdc-classic) .swiper-pagination-bullets{
	display:flex!important;align-items:center;justify-content:center;gap:8px;
	line-height:0
}
.elementor-widget:not(.wdc-classic).elementor-pagination-position-outside .swiper-pagination-bullets{position:relative!important;bottom:auto!important;margin-top:22px}
.elementor-widget:not(.wdc-classic) .swiper-pagination-bullet{
	position:relative;overflow:hidden;
	width:8px!important;height:8px!important;margin:0!important;
	border-radius:99px!important;opacity:1!important;
	background:rgba(22,22,22,.2)!important;
	transition:width .35s cubic-bezier(.2,.8,.2,1),background .2s ease!important;cursor:pointer
}
.elementor-widget:not(.wdc-classic) .swiper-pagination-bullet:hover{background:rgba(22,22,22,.45)!important}
.elementor-widget:not(.wdc-classic) .swiper-pagination-bullet-active{width:38px!important;background:#161616!important}
.elementor-widget:not(.wdc-classic) .swiper-pagination-bullet-active::after{
	content:"";position:absolute;left:0;top:0;bottom:0;width:100%;
	border-radius:inherit;background:#b3f05a;transform-origin:left center;
	animation:wdc-dot-fill var(--wdc-autoplay,5000ms) linear forwards
}
.elementor-widget:not(.wdc-classic):not(.wdc-autoplay) .swiper-pagination-bullet-active::after,
.elementor-widget.wdc-autoplay-stopped .swiper-pagination-bullet-active::after{animation:none;transform:scaleX(1)}
.elementor-widget.wdc-pause-hover:hover .swiper-pagination-bullet-active::after{animation-play-state:paused}
@keyframes wdc-dot-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* Dots over the image (pagination inside): light version. */
.elementor-widget:not(.wdc-classic).elementor-pagination-position-inside .swiper-pagination-bullets{
	width:auto!important;left:50%!important;transform:translateX(-50%);bottom:18px!important;
	padding:8px 12px;border-radius:99px;background:rgba(22,22,22,.45);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)
}
.elementor-widget:not(.wdc-classic).elementor-pagination-position-inside .swiper-pagination-bullet{background:rgba(255,255,255,.45)!important}
.elementor-widget:not(.wdc-classic).elementor-pagination-position-inside .swiper-pagination-bullet-active{background:rgba(255,255,255,.25)!important}

/* ---------- ★ Dots over the slide ---------- */
.elementor-widget.wdc-dots-over-yes{position:relative}
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination.swiper-pagination-bullets,
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal{
	position:absolute!important;top:auto!important;right:auto!important;left:50%!important;
	bottom:var(--wdc-dots-bottom,7px)!important;transform:translateX(-50%)!important;
	width:auto!important;margin:0!important;padding:0!important;z-index:6;
	background:transparent!important;border-radius:0;-webkit-backdrop-filter:none!important;backdrop-filter:none!important
}
.elementor-widget.elementor-widget.wdc-dots-over-yes.wdc-dots-bg-yes .swiper-pagination.swiper-pagination-bullets,
.elementor-widget.elementor-widget.wdc-dots-over-yes.wdc-dots-bg-yes .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal{
	padding:var(--wdc-dots-pad,8px 12px)!important;background:var(--wdc-dots-bg,rgba(255,255,255,.85))!important;
	border-radius:var(--wdc-dots-radius,99px)!important
}
.elementor-widget.elementor-widget.wdc-dots-over-yes.wdc-dots-bg-yes.wdc-dots-blur-yes .swiper-pagination.swiper-pagination-bullets{
	-webkit-backdrop-filter:blur(10px) saturate(140%)!important;backdrop-filter:blur(10px) saturate(140%)!important
}
/* Same dots design (dark) also with pagination "inside"; size, spacing and colours from the
   "Dots over the slide" controls (--wdc-dot-*). */
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination.swiper-pagination-bullets{gap:var(--wdc-dot-gap,8px)!important}
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination-bullet{
	height:var(--wdc-dot-h,8px)!important;width:var(--wdc-dot-w,var(--wdc-dot-h,8px))!important;margin:0!important;
	background:var(--wdc-dot-c,rgba(22,22,22,.2))!important
}
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination-bullet:hover{background:var(--wdc-dot-ch,var(--wdc-dot-c,rgba(22,22,22,.45)))!important}
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination-bullet.swiper-pagination-bullet-active{width:var(--wdc-dot-aw,38px)!important;background:var(--wdc-dot-ca,#161616)!important}
.elementor-widget.elementor-widget.wdc-dots-over-yes .swiper-pagination-bullet-active::after{background:var(--wdc-dot-cf,#b3f05a)}

@media (max-width:767px){
	.elementor-widget:not(.wdc-classic).elementor-pagination-position-outside .swiper-pagination-bullets{margin-top:16px}

	/* ---------- Nested tabs on mobile: one row, horizontal scroll ---------- */
	.elementor-widget-n-tabs:not(.wdc-classic) > .e-n-tabs,
	.elementor-widget-n-tabs:not(.wdc-classic) > .elementor-widget-container > .e-n-tabs{display:flex!important;flex-direction:column!important}
	.elementor-widget-n-tabs:not(.wdc-classic) > .e-n-tabs > .e-n-tabs-heading,
	.elementor-widget-n-tabs:not(.wdc-classic) > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading{
		display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-start!important;
		gap:8px!important;order:0!important;width:auto!important;max-width:none!important;
		margin:0 -16px 16px!important;padding:2px 16px 6px!important;
		overflow-x:auto!important;overflow-y:hidden;overscroll-behavior-x:contain;
		scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;
		-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent 100%);
		mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent 100%)
	}
	.elementor-widget-n-tabs:not(.wdc-classic) .e-n-tabs-heading::-webkit-scrollbar{display:none}
	.elementor-widget-n-tabs:not(.wdc-classic) .e-n-tabs-heading > .e-n-tab-title{
		order:0!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;
		white-space:nowrap!important;scroll-snap-align:start;margin:0!important
	}
	.elementor-widget-n-tabs:not(.wdc-classic) > .e-n-tabs > .e-n-tabs-content,
	.elementor-widget-n-tabs:not(.wdc-classic) > .elementor-widget-container > .e-n-tabs > .e-n-tabs-content{display:block!important;order:1!important;width:100%!important}
	.elementor-widget-n-tabs:not(.wdc-classic) .e-n-tabs-content > .e-con{order:0!important}
	.elementor-widget-n-tabs:not(.wdc-classic) .e-n-tabs-content > .e-con:not(.e-active){display:none!important}
	.elementor-widget-n-tabs:not(.wdc-classic) .e-n-tabs-content > .e-n-tab-title{display:none!important}
}

/* ---------- Carousels with the class "carrusel": the slides change in place ---------- */
/* All slides in the same cell, one on top of the other; each keeps its own design.
   Applied from the very first paint (not only when the script starts), so the box has its
   final height at once and nothing jumps or flashes while the page loads. Not in the editor. */
body:not(.elementor-editor-active) .carrusel .swiper-wrapper{display:grid!important;transform:none!important;transition:none!important}
body:not(.elementor-editor-active) .carrusel .swiper-wrapper>*{grid-area:1/1!important;width:100%!important;max-width:100%!important;margin:0!important;transform:none!important}
body:not(.elementor-editor-active) .carrusel .swiper-wrapper>.swiper-slide-duplicate{display:none!important}
/* Before the script: only the first slide (or Swiper's active one) is visible. */
body:not(.elementor-editor-active) .carrusel.elementor-widget:not(.wdc-swap-on) .swiper-wrapper>*:not(:first-child):not(.swiper-slide-active),
body:not(.elementor-editor-active) .carrusel .elementor-widget:not(.wdc-swap-on) .swiper-wrapper>*:not(:first-child):not(.swiper-slide-active){opacity:0;visibility:hidden;pointer-events:none}
.wdc-swap-on .swiper-wrapper>*{opacity:0;visibility:hidden;pointer-events:none}
.wdc-swap-on .swiper-wrapper>.wdc-cur{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.wdc-swap-on .elementor-swiper-button.swiper-button-disabled,
.wdc-swap-on .swiper-button-disabled{opacity:1!important;pointer-events:auto!important;cursor:pointer}

/* Entrance of the first slide: the parts wait hidden until the animation starts (never
   more than 4 s, even if the script does not run). */
.carrusel[class*="wdc-intro-"]:not(.wdc-intro-none):not(.wdc-intro-done) :is(.columna1,.columna2,.imagen,.titulo,.descripcion,.boton1,.boton2),
.carrusel .elementor-widget[class*="wdc-intro-"]:not(.wdc-intro-none):not(.wdc-intro-done) :is(.columna1,.columna2,.imagen,.titulo,.descripcion,.boton1,.boton2){animation:wdc-intro-hold 4s step-end both}
@keyframes wdc-intro-hold{from{opacity:0}to{opacity:1}}
/* …and the background waits dark (only with "the background fades in too"); the script
   brings it up. Dark, not transparent: no grey flash behind it. */
.carrusel.wdc-intro-bg-yes[class*="wdc-intro-"]:not(.wdc-intro-none):not(.wdc-intro-done) .swiper-slide,
.carrusel .elementor-widget.wdc-intro-bg-yes[class*="wdc-intro-"]:not(.wdc-intro-none):not(.wdc-intro-done) .swiper-slide{animation:wdc-intro-dark 4s step-end both}
@keyframes wdc-intro-dark{from{filter:brightness(.3)}to{filter:none}}

/* Container link */
.wdc-has-link{cursor:pointer}
.wdc-has-link:focus-visible{outline:2px solid #b3f05a;outline-offset:3px}

/* Banner effect (.banner or the "Banner effect" panel of the container) */
.wdcb{--wdc-bfx-k:.5;--wdc-bfx-d:600ms;--wdc-bfx-e:cubic-bezier(.22,1,.36,1);--wdc-mx:0;--wdc-my:0}
.wdcb .wdcb-clip{overflow:hidden;isolation:isolate}
.wdcb .wdcb-media{transition:transform var(--wdc-bfx-d) var(--wdc-bfx-e),filter var(--wdc-bfx-d) var(--wdc-bfx-e);transform-origin:50% 50%;backface-visibility:hidden}
/* zoom (also the class "banner" with nothing chosen) */
.wdcb.wdcb-on.wdc-bfx-zoom .wdcb-media,.wdcb.wdcb-on.wdcb-auto:not([class*="wdc-bfx-"]) .wdcb-media{transform:scale(calc(1 + .16 * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-zoom-out .wdcb-media{transform:scale(calc(1 + .16 * var(--wdc-bfx-k)))}
.wdcb.wdcb-on.wdc-bfx-zoom-out .wdcb-media{transform:scale(1)}
.wdcb.wdcb-on.wdc-bfx-zoom-rotate .wdcb-media{transform:scale(calc(1 + .2 * var(--wdc-bfx-k))) rotate(calc(4deg * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-pan .wdcb-media{transition-duration:calc(var(--wdc-bfx-d) * 4)}
.wdcb.wdcb-on.wdc-bfx-pan .wdcb-media{transform:scale(calc(1 + .18 * var(--wdc-bfx-k))) translate(calc(-4% * var(--wdc-bfx-k)),calc(-3% * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-tilt .wdcb-clip{perspective:900px}
.wdcb.wdcb-on.wdc-bfx-tilt .wdcb-media{transition-duration:.25s;transform:scale(calc(1 + .08 * var(--wdc-bfx-k))) rotateX(calc(var(--wdc-my) * -14deg * var(--wdc-bfx-k))) rotateY(calc(var(--wdc-mx) * 14deg * var(--wdc-bfx-k)))}
.wdcb.wdcb-on.wdc-bfx-parallax .wdcb-media{transition-duration:.35s;transform:scale(calc(1 + .14 * var(--wdc-bfx-k))) translate(calc(var(--wdc-mx) * -5% * var(--wdc-bfx-k)),calc(var(--wdc-my) * -5% * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-grayscale .wdcb-media{filter:grayscale(1)}
.wdcb.wdcb-on.wdc-bfx-grayscale .wdcb-media{filter:grayscale(0);transform:scale(calc(1 + .06 * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-bright .wdcb-media{filter:brightness(calc(1 - .5 * var(--wdc-bfx-k)))}
.wdcb.wdcb-on.wdc-bfx-bright .wdcb-media{filter:brightness(1.04);transform:scale(calc(1 + .06 * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-blur .wdcb-media{filter:blur(calc(6px * var(--wdc-bfx-k)));transform:scale(1.04)}
.wdcb.wdcb-on.wdc-bfx-blur .wdcb-media{filter:blur(0);transform:scale(calc(1 + .06 * var(--wdc-bfx-k)))}
.wdcb.wdc-bfx-shine .wdcb-clip{position:relative}
.wdcb.wdc-bfx-shine .wdcb-clip::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,calc(.15 + .5 * var(--wdc-bfx-k))) 50%,transparent 70%);transform:translateX(-110%);transition:none}
.wdcb.wdcb-on.wdc-bfx-shine .wdcb-clip::after{transform:translateX(110%);transition:transform calc(var(--wdc-bfx-d) * 1.5) var(--wdc-bfx-e)}
.wdcb.wdcb-on.wdc-bfx-shine .wdcb-media{transform:scale(calc(1 + .06 * var(--wdc-bfx-k)))}
/* box */
.wdcb.wdc-bfxbox-lift,.wdcb.wdc-bfxbox-glow{transition:transform var(--wdc-bfx-d) var(--wdc-bfx-e),box-shadow var(--wdc-bfx-d) var(--wdc-bfx-e)}
.wdcb.wdcb-on.wdc-bfxbox-lift{transform:translateY(calc(-10px * var(--wdc-bfx-k)));box-shadow:0 24px 48px -18px rgba(22,22,22,.35)}
.wdcb.wdcb-on.wdc-bfxbox-glow{box-shadow:0 0 0 2px #b3f05a,0 18px 44px -12px rgba(179,240,90,.55)}
@media (prefers-reduced-motion:reduce){.wdcb .wdcb-media,.wdcb.wdc-bfxbox-lift{transform:none!important;transition-duration:.01ms!important}}

/* WPS Scrollbar: its fixed layer is 18px wide over the whole right edge and caught every click
   there, also on the visible part of a carousel arrow next to the edge (the page jumped). Only
   the visible bar (track and thumb) takes clicks now. */
.wpsb{pointer-events:none!important}
.wpsb .wpsb__track,.wpsb .wpsb__thumb{pointer-events:auto!important}
