/* Cami Mobile UX Addons: base widget styles */
#cami-topbar[hidden], #cami-topbar-marquee[hidden] { display: none !important; }
.cami-card-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* before-after-pro-widget.php */
.cami-bapro-highlight { color: #ff6f00; }
.cami-instagram-embed { background: #fff; border: 0; border-radius: 3px; margin: 1px; max-width: 540px; min-width: 326px; padding: 0; width: calc(100% - 2px); }
.cami-embed-iframe, .cami-lightbox-video-container iframe { border: 0; overflow: hidden; max-width: 540px; width: 100%; height: 100%; }
.cami-bapro-wrapper {
                display: flex;
                flex-direction: column;
                box-sizing: border-box;
                width: 100%;
                overflow: hidden;
            }
            .cami-bapro-slider-col {
                width: 100%;
                flex-shrink: 0;
            }
            .cami-bapro-content-col {
                display: flex;
                flex-direction: column;
                justify-content: center;
                flex: 1;
            }

            /* Responsive layout */
            @media (min-width: 768px) {
                .cami-bapro-wrapper {
                    flex-direction: row;
                    align-items: stretch;
                }
                .cami-bapro-slider-col {
                    width: 50%;
                }
            }
            @media (max-width: 767px) {
                .cami-bapro-content-col {
                    margin-top: 24px;
                }
            }

            /* Slider Styles */
            .cami-bapro-slider {
                position: relative;
                width: 100%;
                overflow: hidden;
                cursor: col-resize;
                box-sizing: border-box;
                touch-action: pan-y; /* allows vertical scroll while dragging */
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }
            .cami-bapro-img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                pointer-events: none;
                -webkit-user-drag: none;
                -khtml-user-drag: none;
                -moz-user-drag: none;
                -o-user-drag: none;
                user-drag: none;
            }
            .cami-bapro-after {
                /* base layer */
                position: relative;
            }
            .cami-bapro-before {
                position: absolute;
                top: 0; 
                left: 0;
                width: 100%;
                height: 100%;
                clip-path: polygon(0 0, var(--ba-pos, 50%) 0, var(--ba-pos, 50%) 100%, 0 100%);
            }
            
            /* Handle */
            .cami-bapro-handle {
                position: absolute;
                top: 0;
                bottom: 0;
                left: var(--ba-pos, 50%);
                width: 2px;
                background: #ffffff;
                transform: translateX(-50%);
                pointer-events: none;
                z-index: 10;
            }
            .cami-bapro-handle-icon {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 36px;
                height: 36px;
                background: #ffffff;
                border-radius: 50%;
                box-shadow: 0 4px 12px rgba(0,0,0,0.15);
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 800;
                font-size: 14px;
                letter-spacing: -1px;
            }

            /* Labels */
            .cami-bapro-label {
                position: absolute;
                bottom: 16px;
                padding: 6px 12px;
                background: rgba(0,0,0,0.6);
                color: #ffffff;
                font-size: 11px;
                font-weight: 700;
                border-radius: 6px;
                letter-spacing: 0.5px;
                pointer-events: none;
                z-index: 5;
            }
            .label-after {
                left: 16px;
            }
            .label-before {
                right: 16px;
            }

            /* Content Styles */
            .cami-bapro-title {
                margin: 0 0 12px 0;
                font-size: 28px;
                font-weight: 800;
                line-height: 1.2;
            }
            .cami-bapro-desc {
                margin: 0 0 24px 0;
                font-size: 15px;
                line-height: 1.6;
            }
            .cami-bapro-features {
                list-style: none;
                padding: 0;
                margin: 0 0 32px 0;
                display: flex;
                flex-direction: column;
                gap: 12px;
            }
            .cami-bapro-feature {
                display: flex;
                align-items: center;
                gap: 10px;
                font-size: 15px;
                font-weight: 600;
            }
            .cami-bapro-feature i, .cami-bapro-feature svg {
                font-size: 18px;
                width: 20px;
                text-align: center;
                flex-shrink: 0;
            }

            /* Review Box */
            .cami-bapro-review {
                padding: 20px;
                border: 1px solid;
                border-radius: 12px;
                display: flex;
                flex-direction: column;
                gap: 12px;
            }
            .cami-bapro-stars {
                display: inline-flex;
                gap: 4px;
            }
            .cami-bapro-star-box {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 18px;
                height: 18px;
                border-radius: 3px;
                color: #ffffff;
            }
            .cami-bapro-star-box svg {
                width: 10px; height: 10px; fill: currentColor;
            }
            .cami-bapro-rev-title {
                margin: 0;
                font-size: 16px;
                font-weight: 800;
            }
            .cami-bapro-rev-text {
                margin: 0;
                font-size: 13px;
                line-height: 1.5;
            }
            .cami-bapro-rev-author {
                margin: 0;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.5px;
                text-transform: uppercase;
            }

/* service-cards-widget.php */
.cami-services-container {
                display: flex;
                width: 100%;
                box-sizing: border-box;
            }
            
            /* GRID LAYOUT */
            .cami-services-container.grid {
                display: grid;
                /* Column count and gap handled dynamically by Elementor responsive selectors */
            }
            
            /* CAROUSEL LAYOUT */
            .cami-services-container.carousel {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch; /* IOS smooth physics */
                scroll-snap-type: x mandatory;
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE */
                padding: 10px 5px 15px 5px; /* Evita corte de sombras */
                margin: -10px -5px -15px -5px;
            }
            .cami-services-container.carousel::-webkit-scrollbar {
                display: none; /* Safari/Chrome */
            }
            
            .cami-services-container.carousel .cami-service-card {
                flex-shrink: 0;
                scroll-snap-align: start;
            }
            
            /* CARD BASE STYLING */
            .cami-service-card {
                display: flex;
                flex-direction: column;
                overflow: hidden; /* Clips top image radius perfectly */
                text-decoration: none !important;
                background-color: #ffffff;
                box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); /* Premium subtle shadow by default */
                transition: transform 0.2s ease, box-shadow 0.2s ease;
                box-sizing: border-box;
            }
            
            .cami-service-card:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
            }
            
            .cami-service-card:active {
                transform: scale(0.98);
                opacity: 0.95;
            }
            
            /* IMAGE CONTAINMENT */
            .cami-service-card-img-wrapper {
                width: 100%;
                overflow: hidden;
                position: relative;
                box-sizing: border-box;
            }
            
            .cami-service-card-img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
            
            /* FLOATING RATING BADGE OVER IMAGE */
            .cami-service-card-rating.floating {
                position: absolute;
                top: 12px;
                right: 12px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
                border-radius: 50px;
                padding: 4px 10px;
                z-index: 2;
                display: inline-flex;
                align-items: center;
                gap: 4px;
                font-size: 12px;
                font-weight: 700;
            }
            
            /* INFO CONTENT */
            .cami-service-card-content {
                padding: 16px;
                display: flex;
                flex-direction: column;
                box-sizing: border-box;
            }
            
            .cami-service-card-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                gap: 12px;
                margin-bottom: 4px;
                width: 100%;
            }
            
            .cami-service-card-title {
                margin: 0;
                font-size: 16px;
                font-weight: 700;
                color: #1c1c1e;
                line-height: 1.3;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                flex: 1;
            }
            
            .cami-service-card-rating {
                display: inline-flex;
                align-items: center;
                gap: 4px;
                background-color: #ffffff;
                color: #1c1c1e;
                padding: 3px 8px;
                border-radius: 6px;
                font-size: 13px;
                font-weight: 700;
                flex-shrink: 0;
            }
            
            .cami-service-card-star-icon {
                display: inline-flex;
                align-items: center;
                color: #ffb300;
            }
            
            .cami-service-card-star-icon svg {
                display: block;
            }
            
            .cami-service-card-subtitle {
                margin: 0;
                font-size: 13px;
                color: #666;
                line-height: 1.4;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                margin-top: 4px;
            }

/* topbar-countdown.php */
/* Offset the header only when the Cami topbar is fixed and out of document flow. */
        body.cami-topbar-fixed .site-header,
        body.cami-topbar-fixed #masthead,
        body.cami-topbar-fixed .main-header-bar,
        body.cami-topbar-fixed .header-bar,
        body.cami-topbar-fixed .elementor-location-header,
        body.cami-topbar-fixed .hfe-hfb-header,
        body.cami-topbar-fixed header {
            margin-top: var(--cami-topbar-active-offset, 0px) !important;
            transition: margin-top 0.15s ease-out !important;
        }

        /* Support for sticky/fixed elements */
        body.cami-topbar-fixed .is-sticky .site-header,
        body.cami-topbar-fixed .is-sticky #masthead,
        body.cami-topbar-fixed .is-sticky .elementor-location-header,
        body.cami-topbar-fixed .is-sticky .hfe-hfb-header,
        body.cami-topbar-fixed .elementor-sticky--active,
        body.cami-topbar-fixed .elementor-sticky--pinned {
            top: var(--cami-topbar-active-offset, 0px) !important;
            transition: top 0.15s ease-out !important;
        }

/* widgets.php */
.cami-scroll-container {
					display: flex;
					flex-wrap: nowrap;
					overflow-x: auto;
					overflow-y: hidden;
					-webkit-overflow-scrolling: touch; /* Suavidad iOS */
					scroll-snap-type: x mandatory;
					width: 100%;
					/* Ocultar scrollbar */
					scrollbar-width: none; /* Firefox */
					-ms-overflow-style: none;  /* IE */
					padding-bottom: 5px; /* Evita cortes de sombra */
				}
				.cami-scroll-container::-webkit-scrollbar { 
					display: none; /* Chrome/Safari */
				}
				.cami-item {
					display: flex;
					flex-direction: column;
					flex-shrink: 0; /* Evita que se encojan */
					scroll-snap-align: start;
					text-decoration: none;
					transition: transform 0.2s;
				}
				.cami-item:active {
					opacity: 0.8;
					transform: scale(0.98);
				}
				.cami-img-wrapper {
					width: 100%;
					display: flex;
					justify-content: center;
				}
				.cami-img {
					height: auto;
					object-fit: contain;
					display: block;
				}
				.cami-title {
					display: block;
					width: 100%;
					line-height: 1.2;
				}

/* widgets.php */
.cami-pills-container {
					display: flex;
					flex-wrap: nowrap;
					overflow-x: auto;
					overflow-y: hidden;
					-webkit-overflow-scrolling: touch;
					width: 100%;
					scrollbar-width: none;
					-ms-overflow-style: none;
					padding-bottom: 5px;
					align-items: center;
				}
				.cami-pills-container::-webkit-scrollbar { 
					display: none; 
				}
				.cami-pill {
					display: inline-flex;
					align-items: center;
					justify-content: center;
					flex-shrink: 0;
					white-space: nowrap;
					text-decoration: none;
					transition: all 0.2s ease;
					border-style: solid;
					border-width: 0;
					cursor: pointer;
				}
				.cami-pill:active { /* Efecto click */
					transform: scale(0.96);
				}
				.cami-pill-icon {
					display: inline-block;
					line-height: 1;
				}
				.cami-pill-icon i, .cami-pill-icon svg {
					width: 1em;
					height: 1em;
				}

/* widgets.php */
/* Redundant base styles removed to respect controls */
            /* Professional Image Styling */
            .cami-prod-img-wrap {
                display: block !important;
                width: 100% !important;
                aspect-ratio: 1/1 !important; /* Standardize square aspect ratio */
                border-radius: 12px !important; /* UI Expert: subtle rounded corners */
                overflow: hidden !important;
                margin-bottom: 12px !important;
            }
             .cami-prod-img-wrap img {
                 width: 100% !important;
                 height: 100% !important;
                 max-height: none !important; /* Prevent base CSS from clipping height */
                 object-fit: cover !important; /* Fill space professionally */
                 display: block !important;
             }

            /* Hide the default "View Cart" link that WC adds */
            .added_to_cart.wc-forward {
                display: none !important;
            }

            /* Quantity Control Styles */
            .cami-qty-ctrl {
                display: none;
                align-items: center;
                justify-content: space-between;
                background-color: #f0f2f5;
                border-radius: 8px;
                overflow: hidden;
                width: 100%;
                margin-top: auto;
                height: 38px; /* Fixed height for consistency */
            }
            .cami-no-products { padding: 20px; }
            .cami-prod-img-area { position: relative; display: block; }
            .cami-prod-img-wrap { display: block; }
            .cami-prod-brand-empty { flex: 0; }
            .cami-tiktok-embed { min-width: 325px; max-width: 605px; }
            .cami-qty-btn {
                border: none;
                background: none;
                padding: 0 12px;
                cursor: pointer;
                font-size: 14px;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #333;
                transition: background 0.2s;
            }
            .cami-qty-minus {
                background-color: #eee;
                color: #333;
            }
            .cami-qty-minus:hover { background-color: #ddd; }
            
            .cami-qty-num {
                font-weight: 700;
                font-size: 15px;
                color: #000;
                flex-grow: 1;
                text-align: center;
                background-color: #fff;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .cami-qty-plus {
                background-color: #FFC400; /* Yellow styling */
                color: #000;
            }
            .cami-qty-plus:hover { background-color: #e6b000; }

			/* --- Layout Styles --- */
			
			/* Compact Layout */
			/* Compact Layout styling with Floating Elements */
			.cami-layout-compact .cami-prod-footer-row {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-top: auto;
				/* Button removed from flow, so gap not needed but kept for safety */
				gap: 10px;
			}
			.cami-layout-compact .cami-prod-price {
				margin-bottom: 0;
				flex-grow: 1;
                width: 100%; /* Ensure price takes full width now */
			}
            
            /* Floating Badge (Unified Top-Left) */
            .cami-layout-compact .cami-badge {
                left: 10px !important;
                right: auto !important;
                top: 10px !important;
                z-index: 10;
            }

            /* Floating Button (Bottom-Right) */
			.cami-layout-compact .cami-prod-btn.cami-btn-icon {
                position: absolute !important;
                top: auto !important; /* Unset top */
                bottom: 10px !important; /* Set bottom */
                right: -5px !important; /* Overhang the image */
                margin: 0 !important;
                z-index: 20; /* Above image */
				width: 36px !important;
				height: 36px !important;
				min-width: 36px !important;
				padding: 0 !important;
				border-radius: 50% !important;
				display: flex !important;
				align-items: center;
				justify-content: center;
				font-size: 14px;
				flex-shrink: 0;
                box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
			}
            /* Use Specific override to hide button when added */
            .cami-layout-compact .cami-prod-btn.cami-btn-icon.added {
                display: none !important;
            }

			/* Floating Qty Control (Bottom-Right) */
			.cami-layout-compact .cami-qty-compact {
                position: absolute !important;
                top: auto !important; /* Unset top */
                bottom: 10px !important; /* Set bottom */
                right: 10px !important;
                margin: 0 !important;
                z-index: 21; /* Above button implies toggle */
                box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
                background-color: #fff !important; /* Ensure background */
				width: auto;
				min-width: 80px;
				height: 36px; /* Match button */
			}
			.cami-layout-compact .cami-qty-compact .cami-qty-btn {
				padding: 0 8px;
			}
			.cami-layout-compact .cami-qty-compact .cami-qty-num {
				font-size: 13px;
			}

			/* Minimal Layout */
			.cami-layout-minimal .cami-prod-price {
				margin-bottom: 0;
			}

/* widgets.php */
.cami-grid-container {
					display: grid;
					width: 100%;
					box-sizing: border-box;
				}
				.cami-widget-header {
					margin-bottom: 15px;
					text-align: left;
				}
				.cami-widget-title {
					font-size: 18px;
					font-weight: bold;
					margin: 0 0 5px 0;
					color: #333;
				}
				.cami-widget-desc {
					font-size: 14px;
					color: #666;
					margin: 0;
				}
				.cami-grid-item {
					display: flex;
					flex-direction: column;
					text-decoration: none;
				}
				.cami-grid-item:active {
					opacity: 0.8;
					transform: scale(0.98);
					transition: transform 0.1s;
				}
				.cami-grid-img {
					display: block;
					height: auto;
					object-fit: cover;
					margin-bottom: 5px;
				}
				.cami-grid-title {
					display: block;
					width: 100%;
					line-height: 1.2;
					font-size: 12px;
				}

/* widgets.php */
.cami-scroll-container {
					display: flex;
					overflow-x: auto;
					gap: 15px; /* Peeking Gap */
					padding-bottom: 10px;
					scrollbar-width: none;
					scroll-snap-type: x mandatory;
				}
				.cami-scroll-container::-webkit-scrollbar { display: none; }
				
				.cami-promo-card {
					flex: 0 0 85%; /* Peeking Width */
					position: relative;
					background-size: cover;
					background-position: center;
					overflow: hidden;
					display: flex;
					align-items: center; /* Centrado vertical por defecto */
					scroll-snap-align: start;
					text-decoration: none;
				}
				.cami-promo-overlay {
					position: absolute;
					top: 0; left: 0; right: 0; bottom: 0;
					background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%); /* Default gradient */
					z-index: 1;
				}
				.cami-promo-content {
					position: relative;
					z-index: 2;
					padding: 20px;
					width: 100%;
					box-sizing: border-box;
				}
				.cami-promo-title {
					margin: 0 0 8px 0;
					line-height: 1.2;
				}
				.cami-promo-desc {
					margin: 0 0 15px 0;
					line-height: 1.4;
				}
				.cami-promo-btn {
					display: inline-block;
					padding: 8px 16px;
					text-decoration: none;
					font-weight: 600;
					font-size: 13px;
					transition: transform 0.1s;
				}
				.cami-promo-btn:active { transform: scale(0.95); }
				
				/* Desktop adjustments */
				@media (min-width: 768px) {
					.cami-promo-card { flex: 0 0 45%; }
				}

/* widgets.php */
.cami-scroll-container {
					display: flex;
					overflow-x: auto;
					gap: 12px; /* Peeking Gap */
					padding-bottom: 10px;
					scrollbar-width: none;
					scroll-snap-type: x mandatory;
				}
				.cami-scroll-container::-webkit-scrollbar { display: none; }
				
				.cami-hero-card {
					flex: 0 0 85%; /* Peeking Width */
					position: relative;
					background-size: cover;
					background-position: center;
					overflow: hidden;
					display: flex;
					flex-direction: column;
					justify-content: flex-end; /* Contenido abajo */
					align-items: center; /* Centrado horizontal */
					scroll-snap-align: start;
					text-decoration: none;
					text-align: center;
				}
				.cami-hero-overlay {
					position: absolute;
					top: 0; left: 0; right: 0; bottom: 0;
					/* Default gradient: Bottom black to Transp */
					background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%); 
					z-index: 1;
					pointer-events: none;
				}
				.cami-hero-content {
					position: relative;
					z-index: 2;
					padding: 24px;
					width: 100%;
					box-sizing: border-box;
					display: flex;
					flex-direction: column;
					align-items: center;
					gap: 12px;
				}
				.cami-hero-logo {
					display: block;
					height: auto;
					margin-bottom: 5px;
					object-fit: contain;
					max-height: 80px; /* Limite seguridad */
				}
				.cami-hero-title {
					margin: 0;
					line-height: 1.2;
					font-size: 14px;
					opacity: 0.9;
				}
				.cami-hero-btn {
					display: inline-block;
					padding: 10px 24px;
					text-decoration: none;
					font-weight: 700;
					font-size: 14px;
					transition: transform 0.1s;
					margin-top: 5px;
				}
				.cami-hero-btn:active { transform: scale(0.95); opacity: 0.9; }
				
				/* Desktop adjustments */
				@media (min-width: 768px) {
					.cami-hero-card { flex: 0 0 40%; }
				}

/* widgets.php */
.cami-widget-title {
				font-size: 18px;
				font-weight: 700;
				margin: 0 0 5px 0;
				line-height: 1.2;
			}

			.cami-widget-desc {
				font-size: 14px;
				font-weight: 400;
				margin: 0 0 15px 0;
				line-height: 1.4;
			}

			.cami-clips-container {
				display: flex;
				overflow-x: auto;
				gap: 10px;
				padding-bottom: 10px;
				scrollbar-width: none;
			}

			.cami-clips-container::-webkit-scrollbar {
				display: none;
			}

			.cami-clip-card {
				position: relative;
				background-size: cover;
				background-position: center;
				overflow: hidden;
				display: flex;
				flex-direction: column;
				justify-content: flex-end;
				cursor: pointer;
				flex-shrink: 0;
			}

			.cami-clip-overlay {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
				pointer-events: none;
			}

			.cami-clip-title {
				position: relative;
				z-index: 2;
				margin: 0;
				padding: 10px;
				font-size: 13px;
				font-weight: 600;
				line-height: 1.2;
				color: #fff;
			}

			.cami-play-icon {
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				color: rgba(255, 255, 255, 0.8);
				font-size: 24px;
				z-index: 2;
			}

			/* LIGHTBOX STYLES */
			.cami-clips-lightbox {
				--cami-clips-card-space: 132px;
				display: none;
				position: fixed;
				top: 0;
				left: 0;
				width: 100%;
				height: 100vh;
				height: 100dvh;
				background: #000;
				z-index: 999999;
				/* HIGHEST Z-INDEX */
				flex-direction: column;
			}

			.cami-clips-lightbox.active {
				display: flex;
			}

			.cami-lightbox-close {
				position: absolute;
				top: 20px;
				right: 20px;
				color: #fff;
				font-size: 30px;
				cursor: pointer;
				z-index: 1000000;
				/* Above Lightbox */
				background: transparent;
				border: 0;
				padding: 0;
				appearance: none;
				width: 40px;
				height: 40px;
				border-radius: 0;
				text-align: center;
				line-height: 1;
				display: flex;
				align-items: center;
				justify-content: center;
			}

			.cami-lightbox-close:focus-visible {
				outline: 2px solid #fff;
				outline-offset: 2px;
			}

			.cami-lightbox-video-container {
				flex: 1;
				min-height: 0;
				padding-bottom: var(--cami-clips-card-space);
				box-sizing: border-box;
				overflow: hidden;
				display: flex;
				align-items: center;
				justify-content: center;
				background: #000;
				position: relative;
			}

			/* Keep portrait reels inside the visible area above the product card. */
			.cami-clips-lightbox .cami-lightbox-video-container > iframe {
				flex: none;
				aspect-ratio: 9 / 16;
				width: auto;
				height: min(177.7778vw, calc(100vh - var(--cami-clips-card-space)));
				height: min(177.7778vw, calc(100dvh - var(--cami-clips-card-space)));
				max-width: 100%;
				max-height: 100%;
				display: block;
			}

			.cami-lightbox-video-container blockquote {
				max-width: 100%;
				max-height: 100%;
			}

			.cami-product-card-float {
				position: absolute;
				bottom: 50px;
				/* Lifted up from bottom */
				left: 10px;
				right: 10px;
				width: auto;
				/* Allow side spacing */
				z-index: 1000000;
				/* Above Lightbox Background */
				background: #fff;
				padding: 10px;
				display: flex;
				align-items: center;
				gap: 10px;
				border-radius: 12px;
				/* Fully rounded */
				box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
				box-sizing: border-box;
				/* Additional lift for safe area */
				margin-bottom: constant(safe-area-inset-bottom);
				margin-bottom: env(safe-area-inset-bottom);
			}

			@media (max-width: 767px) {
				.cami-clips-lightbox {
					--cami-clips-card-space: 160px;
				}

				.cami-product-card-float {
					bottom: 80px;
					padding-bottom: 10px;
				}
			}

			.cami-prod-float-img {
				width: 60px;
				height: 60px;
				object-fit: cover;
				border-radius: 8px;
				background: #f0f0f0;
			}

			.cami-prod-float-info {
				flex: 1;
			}

			.cami-prod-float-title {
				font-size: 14px;
				font-weight: 600;
				margin: 0 0 2px 0;
				color: #333;
				line-height: 1.2;
				display: -webkit-box;
				-webkit-line-clamp: 2;
				-webkit-box-orient: vertical;
				overflow: hidden;
			}

			.cami-prod-float-price {
				font-size: 13px;
				color: #666;
			}

			/* Manual Sale Price (fallback/manual mode) */
			.cami-prod-float-sale {
				font-weight: 700;
			}

			.cami-prod-float-btn {
				background: #000;
				color: #fff;
				text-decoration: none;
				padding: 8px 12px;
				border-radius: 20px;
				font-size: 12px;
				font-weight: 700;
				white-space: nowrap;
			}

			/* LIVE BADGE STYLES */
			.cami-live-badge {
				position: absolute;
				top: 10px;
				left: 10px;
				background: rgba(0, 0, 0, 0.6);
				border-radius: 4px;
				padding: 4px 8px;
				display: flex;
				align-items: center;
				gap: 5px;
				z-index: 5;
				backdrop-filter: blur(4px);
				white-space: nowrap;
			}

			.cami-live-icon {
				width: 8px;
				height: 8px;
				background-color: #e91e63;
				border-radius: 50%;
				animation: cami-pulse 1.5s infinite;
			}

			.cami-live-count {
				color: #fff;
				font-size: 12px;
				font-weight: 600;
				line-height: 1;
			}

			.cami-widget-title {
				margin: 0 0 5px;
				font-size: 1.5em;
				font-weight: 700;
				line-height: 1.2;
			}

			.cami-widget-desc {
				margin: 0 0 20px;
				font-size: 1em;
				color: inherit;
				opacity: 0.8;
			}

			@keyframes cami-pulse {
				0% {
					opacity: 1;
					transform: scale(1);
				}

				50% {
					opacity: 0.5;
					transform: scale(0.8);
				}

				100% {
					opacity: 1;
					transform: scale(1);
				}
			}

/* widgets.php */
/* Target standard Woo Price HTML structure */
												/* Target the direct wrapper span */
												.cami-prod-float-price>span {
													display: inline-flex !important;
													gap: var(--price-gap) !important;
													align-items: center !important;
													flex-wrap: wrap !important;
												}

												/* Ensure flex items behavior */
												.cami-prod-float-price>span>ins,
												.cami-prod-float-price>span>del,
												.cami-prod-float-price>span>span {
													display: inline-block !important;
													/* Fallback */
												}

												/* Sale Price styling */
												.cami-prod-float-price ins,
												.cami-prod-float-price ins .amount,
												.cami-prod-float-price ins .amount bdi {
													color: var(--sale-color) !important;
													font-weight: 700;
													text-decoration: none;
													font-size: var(--sale-size) !important;
													margin: 0 !important;
													/* Reset margins */
													display: inline-block !important;
												}

												/* Regular Price styling */
												.cami-prod-float-price del,
												.cami-prod-float-price del .amount,
												.cami-prod-float-price del .amount bdi {
													opacity: 0.7;
													text-decoration: line-through;
													margin: 0 !important;
													/* Reset margins */
													display: inline-block !important;
												}

/* Shared product card styles */

            .cami-prod-btn {
                border: none !important;
                padding: 12px 0 !important;
                width: 100% !important;
                text-align: center !important;
                display: block !important;
                cursor: pointer !important;
                border-radius: 8px !important; /* Rounded corners */
                font-weight: 700 !important; /* Bold */
                font-size: 16px !important;
                line-height: 1.2 !important;
                text-transform: none !important;
                transition: opacity 0.3s;
                appearance: none !important;
                box-shadow: none !important;
                margin-top: auto; /* Push to bottom if flex */
            }
            .cami-prod-btn:hover {
                opacity: 0.9;
            }
            .cami-prod-btn.loading {
                opacity: 0.7;
            }
            .cami-prod-btn.added {
                display: none !important; /* Hide button when added */
            }
            .cami-view-all-card {
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .cami-view-all-link {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
                color: inherit;
                font-weight: bold;
                text-decoration: none;
            }
            .cami-view-all-card .view-all-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background: #f1f1f1;
            }
    

            /* Hide the default "View Cart" link that WC adds */
            .added_to_cart.wc-forward {
                display: none !important;
            }
            /* Quantity input styles */
            .cami-quantity-input {
                width: 60px;
                text-align: center;
                border: 1px solid #ddd;
                border-radius: 5px;
                padding: 5px;
                margin: 0 5px;
            }
            .cami-quantity-wrapper {
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: 10px;
            }
            .cami-quantity-button {
                background: #eee;
                border: 1px solid #ddd;
                padding: 5px 10px;
                cursor: pointer;
                border-radius: 5px;
            }
            .cami-quantity-button:hover {
                background: #e0e0e0;
            }
        

/* Product slider */
.cami-widget-header { 
                    margin-bottom: 15px; 
                    padding-left: 5px; 
                    display: flex;
                    justify-content: space-between;
                    align-items: flex-end;
                }
                .cami-header-left { flex: 1; }
				.cami-widget-title { font-size: 18px; font-weight: 700; margin: 0 0 5px; color: #333; }
				.cami-widget-desc { font-size: 14px; color: #666; margin: 0; line-height: 1.4; }
                
                .cami-view-all {
                    font-size: 13px;
                    color: #007bff;
                    text-decoration: none;
                    font-weight: 600;
                    white-space: nowrap;
                    margin-left: 10px;
                    margin-bottom: 2px;
                }

                /* Tab Filters */
                .cami-filter-tabs {
                    display: flex;
                    gap: 10px;
                    margin-bottom: 15px;
                    overflow-x: auto;
                    padding-bottom: 5px;
                    scrollbar-width: none;
                }
                .cami-filter-tabs::-webkit-scrollbar { display: none; }
                .cami-filter-tab {
                    padding: 6px 14px;
                    border: 1px solid #e0e0e0;
                    border-radius: 20px;
                    background: #fff;
                    font-size: 12px;
                    font-weight: 600;
                    color: #666;
                    white-space: nowrap;
                    cursor: pointer;
                    transition: all 0.2s;
                }
                .cami-filter-tab.active, .cami-filter-tab:hover {
                    background: #000;
                    color: #fff;
                    border-color: #000;
                }
				
				.cami-prod-wrapper { position: relative; } /* Wrapper para flechas */

				.cami-prod-container {
					display: flex;
					overflow-x: auto;
					padding-bottom: 5px;
					scrollbar-width: none;
					-ms-overflow-style: none;
					align-items: stretch;
					scroll-behavior: smooth;
                    transition: opacity 0.3s;
				}
                .cami-prod-container.loading { opacity: 0.5; pointer-events: none; }
				.cami-prod-container::-webkit-scrollbar { display: none; }
				
				/* Flechas de Navegación */
				.cami-arrow {
					position: absolute;
					top: 50%;
					transform: translateY(-50%);
					width: 40px;
					height: 40px;
					background: #fff;
					border: 1px solid #e0e0e0;
					border-radius: 50%;
					display:flex;
					align-items: center;
					justify-content: center;
					cursor: pointer;
					z-index: 10;
					box-shadow: 0 2px 5px rgba(0,0,0,0.1);
					transition: all 0.2s;
					opacity: 0; /* Oculto por defecto */
					pointer-events: none;
				}
				.cami-arrow:hover { background: #f9f9f9; box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
				.cami-arrow i { font-size: 18px; color: #333; }
				.cami-arrow.prev { left: -20px; }
				.cami-arrow.next { right: -20px; }

				/* Mostrar flechas solo en desktop */
				@media (min-width: 1024px) {
					.cami-arrow { opacity: 1; pointer-events: auto; }
					.cami-arrow.hidden { opacity: 0; pointer-events: none; }
				}
				
				.cami-prod-card {
					display: flex;
					flex-direction: column;
					flex-shrink: 0;
					padding: 12px;
					border: 1px solid #f0f0f0;
					border-radius: 16px; /* UI Expert: Modern rounded look */
					box-sizing: border-box;
					position: relative;
					text-decoration: none;
					color: inherit;
					background: #fff;
					transition: transform 0.2s, box-shadow 0.2s;
					box-shadow: 0 4px 12px rgba(0,0,0,0.05);
				}
				.cami-prod-card:hover {
					transform: translateY(-4px);
					box-shadow: 0 8px 20px rgba(0,0,0,0.1);
				}
				
				.cami-prod-img-wrap {
					margin-bottom: 5px; /* Reduced from 10px */
					text-align: center;
					flex-grow: 0; /* Changed from 1 to keep image compact */
					position: relative; /* Para el badge */
				}
				.cami-prod-img {
					max-width: 100%;
					height: auto;
					max-height: 120px;
					object-fit: contain;
				}
				
				/* Badge de Oferta (Unified) */
				.cami-badge {
					position: absolute;
					top: 10px !important;
					left: 10px !important;
					right: auto !important;
					font-size: 10px;
					font-weight: 700;
					padding: 4px 8px;
					border-radius: 6px;
					line-height: 1;
					z-index: 5;
				}

				.cami-prod-meta-row {
					display: flex;
					align-items: center;
					justify-content: space-between;
					margin-bottom: 6px;
					min-height: 18px;
				}
				.cami-prod-brand {
					font-size: 11px;
					text-transform: uppercase;
					color: #757575;
					font-weight: 700;
					letter-spacing: 0.5px;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					max-width: 60%;
				}
				.cami-prod-rating {
					display: flex;
					align-items: center;
					font-size: 12px;
					color: #333;
					font-weight: 600;
				}
				.cami-prod-star {
					color: #FFC107;
					margin-right: 3px;
					font-size: 13px;
				}

				.cami-prod-title {
					font-size: 14px;
					font-weight: 600;
					margin-bottom: 6px;
					line-height: 1.3;
					display: block;
					text-decoration: none !important;
					color: inherit;
				}
				
				.cami-prod-price {
					font-size: 15px;
					font-weight: 700;
					color: #333;
					margin-bottom: 10px;
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    flex-wrap: wrap;
				}
                .cami-price-current { color: inherit; }
                .cami-price-regular { 
                    font-size: 12px; 
                    text-decoration: line-through; 
                    color: #999; 
                    font-weight: 400;
                }

                /* Stock Alert */
                .cami-stock-alert {
                    font-size: 11px;
                    color: #d32f2f;
                    background: #ffebee;
                    padding: 3px 6px;
                    border-radius: 4px;
                    margin-bottom: 8px;
                    display: inline-block;
                    font-weight: 600;
                }

.cami-bapro-slider { --ba-pos: 50%; touch-action: pan-y; }

.cami-ugc-dot { border: 0; padding: 0; }

/* Review carousel */

            .cami-ugc-wrapper {
                width: 100%;
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
            }
            .cami-ugc-container {
                display: flex;
                width: 100%;
                box-sizing: border-box;
            }
            
            /* GRID LAYOUT */
            .cami-ugc-container.grid {
                display: grid;
            }
            
            /* CAROUSEL LAYOUT */
            .cami-ugc-container.carousel {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: x mandatory;
                scrollbar-width: none;
                -ms-overflow-style: none;
                padding: 10px 5px 20px 5px; /* shadow clipping fix */
                margin: -10px -5px -20px -5px;
            }
            .cami-ugc-container.carousel::-webkit-scrollbar {
                display: none;
            }
            .cami-ugc-container.carousel .cami-ugc-card {
                flex-shrink: 0;
                scroll-snap-align: start;
            }

            /* DYNAMIC CAROUSEL SPECS */
            .cami-ugc-container.carousel.dynamic-carousel .cami-ugc-card {
                width: calc((100% - (var(--cami-ugc-columns, 3) - 1) * var(--cami-ugc-gap, 20px)) / (var(--cami-ugc-columns, 3) + var(--cami-ugc-peek, 0)));
            }
            @media (max-width: 1024px) {
                .cami-ugc-container.carousel.dynamic-carousel .cami-ugc-card {
                    width: calc((100% - (var(--cami-ugc-columns, 2) - 1) * var(--cami-ugc-gap, 20px)) / (var(--cami-ugc-columns, 2) + var(--cami-ugc-peek, .15)));
                }
            }
            @media (max-width: 767px) {
                .cami-ugc-container.carousel.dynamic-carousel .cami-ugc-card {
                    width: calc((100% - (var(--cami-ugc-columns, 1) - 1) * var(--cami-ugc-gap, 20px)) / (var(--cami-ugc-columns, 1) + var(--cami-ugc-peek, .15)));
                }
            }
            
            /* CARD FRAME */
            .cami-ugc-card {
                display: flex;
                flex-direction: column;
                overflow: hidden;
                text-decoration: none !important;
                background-color: #ffffff;
                box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
                border: 1px solid #e5e7eb;
                transition: transform 0.2s ease, box-shadow 0.2s ease;
                box-sizing: border-box;
                padding: 16px;
            }
            .cami-ugc-card:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            }
            .cami-ugc-card:active {
                transform: scale(0.98);
                opacity: 0.95;
            }
            
            /* IMAGE WRAPPER */
            .cami-ugc-card-img-wrapper {
                width: 100%;
                overflow: hidden;
                position: relative;
                border-radius: 8px; /* Inner photo rounded corners */
                box-sizing: border-box;
            }
            .cami-ugc-card-img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
            
            /* OVERLAY BADGE */
            .cami-ugc-card-badge {
                position: absolute;
                top: 12px;
                left: 12px;
                background-color: rgba(0, 0, 0, 0.6);
                color: #ffffff;
                font-size: 11px;
                font-weight: 700;
                padding: 4px 10px;
                border-radius: 50px;
                z-index: 2;
                box-sizing: border-box;
            }
            
            /* RATING HEADER */
            .cami-ugc-rating-header {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-top: 16px;
                margin-bottom: 12px;
                width: 100%;
                box-sizing: border-box;
            }
            
            /* SOLID BOX STARS */
            .cami-ugc-stars {
                display: inline-flex;
                gap: 3px;
                flex-shrink: 0;
            }
            .cami-ugc-star-box {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 18px;
                height: 18px;
                background-color: #ff6f00; /* Solid orange background */
                color: #ffffff; /* White star */
                border-radius: 3px;
            }
            .cami-ugc-star-box.empty {
                background-color: #e5e7eb;
            }
            .cami-ugc-star-box svg {
                display: block;
            }
            .cami-ugc-rating-val {
                font-size: 13px;
                font-weight: 700;
                color: #1c1c1e;
            }
            
            /* REVIEW PARAGRAPH */
            .cami-ugc-review-desc {
                margin: 0 0 16px 0;
                font-size: 14px;
                color: #1c1c1e;
                line-height: 1.5;
                flex: 1; /* Pushes footer to bottom */
            }
            
            /* MINI-PRODUCT FOOTER */
            .cami-ugc-footer {
                display: flex;
                align-items: center;
                background-color: #f3f4f6;
                padding: 10px;
                border-radius: 12px;
                width: 100%;
                box-sizing: border-box;
                gap: 12px;
            }
            .cami-ugc-footer-img {
                width: 44px;
                height: 44px;
                object-fit: cover;
                border-radius: 6px;
                flex-shrink: 0;
            }
            .cami-ugc-footer-info {
                display: flex;
                flex-direction: column;
                flex: 1;
                overflow: hidden;
            }
            .cami-ugc-prod-title {
                margin: 0;
                font-size: 13px;
                font-weight: 700;
                color: #1c1c1e;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.2;
            }
            .cami-ugc-prod-prices {
                display: flex;
                align-items: center;
                gap: 6px;
                margin-top: 2px;
            }
            .cami-ugc-prod-price-now {
                font-size: 12px;
                font-weight: 700;
                color: #1c1c1e;
            }
            .cami-ugc-prod-price-old {
                font-size: 11px;
                color: #9ca3af;
                text-decoration: line-through;
            }
            .cami-ugc-prod-meta {
                font-size: 10px;
                color: #6b7280;
                margin-top: 1px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            /* DOTS PAGINATION */
            .cami-ugc-pagination {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                margin-top: 20px;
                width: 100%;
                box-sizing: border-box;
            }
            .cami-ugc-dot {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background-color: #d1d5db;
                cursor: pointer;
                transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .cami-ugc-dot.active {
                width: 18px;
                height: 6px;
                border-radius: 3px;
                background-color: #1c1c1e;
            }
        

/* Logo ticker */

			.cami-ticker-widget-container {
				display: flex;
				align-items: center;
				width: 100%;
				box-sizing: border-box;
				overflow: hidden;
			}
			.cami-ticker-widget-container.layout-side-by-side {
				flex-direction: row;
				justify-content: space-between;
			}
			.cami-ticker-widget-container.layout-stacked {
				flex-direction: column;
				align-items: center;
				text-align: center;
			}
			.cami-ticker-widget-container .cami-ticker-text-block {
				flex: 0 0 auto;
				max-width: 380px;
			}
			.cami-ticker-widget-container.layout-stacked .cami-ticker-text-block {
				max-width: 100%;
			}
			.cami-ticker-widget-container .cami-ticker-text {
				font-size: 1.25rem;
				font-weight: 500;
				line-height: 1.3;
				margin: 0;
			}
			
			/* Ticker Area */
			.cami-ticker-widget-container .cami-ticker-slider-block {
				flex: 1 1 0%;
				min-width: 0;
				width: 100%;
			}
			.cami-ticker-widget-container .cami-logo-ticker-wrap {
				overflow: hidden;
				position: relative;
				width: 100%;
				display: flex;
			}
			.cami-ticker-widget-container .cami-logo-ticker-track {
				display: flex !important;
				width: max-content !important;
				flex-wrap: nowrap !important;
				transition: none !important;
				animation-delay: 0s !important;
				margin: 0 !important;
				padding: 0 !important;
				border: none !important;
				box-shadow: none !important;
			}
			
			/* Scrolling animations */
			.cami-ticker-widget-container .cami-logo-ticker-track.direction-left {
				animation: cami-ticker-scroll var(--cami-ticker-speed, 25s) linear infinite !important;
			}
			.cami-ticker-widget-container .cami-logo-ticker-track.direction-right {
				animation: cami-ticker-scroll-reverse var(--cami-ticker-speed, 25s) linear infinite !important;
			}
			
			/* Pause on hover */
			.cami-ticker-widget-container .cami-logo-ticker-wrap:hover .cami-logo-ticker-track {
				animation-play-state: paused !important;
			}
			
			.cami-ticker-widget-container .cami-logo-ticker-list {
				display: flex !important;
				align-items: center !important;
				flex-shrink: 0 !important;
				flex-wrap: nowrap !important;
				width: max-content !important;
				transition: none !important;
				margin: 0 !important;
				border: none !important;
				box-shadow: none !important;
			}
			.cami-ticker-widget-container .cami-logo-item {
				display: flex;
				align-items: center;
				justify-content: center;
				flex-shrink: 0;
				transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
			}
			.cami-ticker-widget-container .cami-logo-item:hover {
				transform: scale(1.05);
			}
			.cami-ticker-widget-container .cami-logo-item-img {
				width: auto;
				object-fit: contain;
				display: block;
				flex-shrink: 0;
			}
			
			/* Grayscale filter controls */
			.cami-ticker-widget-container .logo-grayscale .cami-logo-item-img {
				filter: grayscale(100%);
				opacity: 0.8;
				transition: filter 0.3s ease, opacity 0.3s ease;
			}
			.cami-ticker-widget-container .logo-grayscale.logo-hover-color .cami-logo-item:hover .cami-logo-item-img {
				filter: grayscale(0%);
				opacity: 1;
			}
			
			/* Animation definitions scoped to unique ID */
			@keyframes cami-ticker-scroll {
				0% {
					transform: translateX(0);
				}
				100% {
					transform: translateX(-50%);
				}
			}
			@keyframes cami-ticker-scroll-reverse {
				0% {
					transform: translateX(-50%);
				}
				100% {
					transform: translateX(0);
				}
			}
			
			/* Responsive styles */
			@media (max-width: 767px) {
				.cami-ticker-widget-container.layout-side-by-side {
					flex-direction: column;
					align-items: center;
					text-align: center;
				}
				.cami-ticker-widget-container.layout-side-by-side .cami-ticker-text-block {
					max-width: 100%;
				}
				.cami-ticker-widget-container.layout-side-by-side .cami-ticker-slider-block {
					width: 100%;
				}
			}
		
