/* ===== Fondo general del sitio ===== */
body {
	background-color: #004fe8;
}

/* ===== Variables ===== */
.wcp-status-bar, .wcp-products-banner, .wcp-pack-builder {
	--wcp-green: #004fe8;
	--wcp-green-dark: #163a2d;
	--wcp-orange: #e8562c;
	--wcp-cream: #f4ede1;
	--wcp-lime: #74bf02;
	box-sizing: border-box;
}
.wcp-status-bar *, .wcp-products-banner *, .wcp-pack-builder *,
.wcp-status-bar *::before, .wcp-products-banner *::before, .wcp-pack-builder *::before {
	box-sizing: border-box;
}

/* ===== Barra de estado ===== */
.wcp-status-bar {
	background: var(--wcp-green-dark);
	color: #fff;
	background: #004fe8;
	padding: 10px 20px;
	text-align: center;
	font-family: inherit;
}
.wcp-status-inner {
	display: flex;
	background: #004fe8;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 14px;
}
.wcp-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e8342c;
	display: inline-block;
}
.wcp-label {
	font-weight: 700;
	color: #f0a9a0;
}
.wcp-sold-out .wcp-label { color: #f0a9a0; }
.wcp-active .wcp-label { color: #fff; }
.wcp-countdown {
	background: #74bf02;
	padding: 3px 10px;
	border-radius: 20px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: 1px;
}
.wcp-pill {
	background: #74bf02;
	padding: 3px 14px;
	border-radius: 20px;
	font-weight: 600;
}
.wcp-thanks {
	color: #f4ede1;
}

/* ===== Banner de productos ===== */
.wcp-products-banner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 0;
}
.wcp-product-card {
	position: relative;
	min-height: 380px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}
.wcp-product-image {
	position: absolute;
	inset: 0;
}
.wcp-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wcp-product-overlay {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 25px;
	background: linear-gradient(to top, rgba(0,0,0,0.65) 20%, transparent 80%);
	color: #fff;
	text-align: center;
}
.wcp-product-overlay h3 {
	font-size: 26px;
	margin: 0 0 6px;
	color: #fff;
	font-weight: 800;
}
.wcp-product-meta {
	font-size: 13px;
	opacity: 0.9;
	margin: 0 0 8px;
}
.wcp-product-price {
	font-size: 22px;
	font-weight: 800;
	color: var(--wcp-orange);
	margin: 0 0 12px;
}
.wcp-empty {
	background: #ddd;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	padding: 20px;
	text-align: center;
}

/* ===== Botones ===== */
.wcp-btn {
	display: inline-block;
	padding: 10px 26px;
	border-radius: 30px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	text-align: center;
}
.wcp-btn-buy {
	background: var(--wcp-lime);
	color: #fff;
}
.wcp-btn-buy:hover { background:#5c9902; color:#fff; }
.wcp-btn-disabled {
	background: #8b8b8b;
	color: #fff;
	cursor: not-allowed;
}

/* ===== Armador de packs ===== */
.wcp-pack-builder {
	background: var(--wcp-green);
	color: #fff;
	padding: 40px 20px;
	border-radius: 8px;
}
.wcp-title {
	text-align: center;
	font-size: 24px;
	margin-bottom: 30px;
}
.wcp-pack-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr 1fr;
	gap: 25px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: start;
}
@media (max-width: 900px) {
	.wcp-pack-grid { grid-template-columns: 1fr; }
}
.wcp-subtitle {
	font-size: 12px;
	letter-spacing: 1px;
	opacity: 0.75;
	margin-bottom: 12px;
	text-align: center;
}
.wcp-pack-sizes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}
.wcp-size-btn {
	width: 100%;
	max-width: 220px;
	padding: 12px;
	border-radius: 30px;
	border: 1px solid rgba(255,255,255,0.4);
	background: transparent;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	position: relative;
}
.wcp-size-btn.wcp-selected {
	background: #74bf02 ;
	border-color: #74bf02 ;
}
.wcp-size-off {
	position: absolute;
	top: -10px;
	right: 5px;
	background: #fff;
	color: var(--wcp-green);
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 10px;
	font-weight: 700;
}
.wcp-pack-combo {
	background: rgba(0,0,0,0.15);
	padding: 20px;
	border-radius: 10px;
}
.wcp-combo-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	font-weight: 600;
}
.wcp-stepper {
	display: flex;
	align-items: center;
	gap: 12px;
}
.wcp-stepper button {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.5);
	background: rgba(255,255,255,0.1);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	line-height: 1;
}
.wcp-qty { min-width: 20px; text-align: center; font-weight: 700; }
.wcp-progress {
	margin-top: 15px;
	height: 6px;
	background: rgba(255,255,255,0.15);
	border-radius: 10px;
	overflow: hidden;
}
.wcp-progress-fill {
	height: 100%;
	background: #74bf02;
	transition: width 0.2s ease;
}
.wcp-pack-summary {
	text-align: center;
}
.wcp-original-price {
	text-decoration: line-through;
	opacity: 0.6;
	margin: 0;
	font-size: 14px;
}
.wcp-final-price {
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 4px;
}
.wcp-summary-sub {
	font-size: 12px;
	opacity: 0.8;
	margin-bottom: 15px;
}
.wcp-add-pack {
	width: 100%;
	max-width: 260px;
}
.wcp-add-pack:disabled {
	background: #6f9686;
	cursor: not-allowed;
}
.wcp-share {
	margin-top: 12px;
	font-size: 12px;
	opacity: 0.75;
}
.wcp-ajax-msg {
	font-size: 13px;
	margin-top: 8px;
	min-height: 18px;
}

/* ===== Calculadora de Macros (blindado contra estilos de Astra/Elementor) ===== */
.wcp-macro-calc {
	--wcp-cream-bg: #f4ecdf;
	--wcp-kcal-color: #e8562c;
	--wcp-protein-color: #1f6d4a;
	--wcp-carbs-color: #f0a04b;
	--wcp-fat-color: #8b6fd6;
	background: var(--wcp-cream-bg) !important;
	border-radius: 14px !important;
	padding: 40px 24px !important;
	max-width: 560px !important;
	width: 100% !important;
	margin: 0 auto !important;
	text-align: center !important;
	font-family: inherit !important;
	box-sizing: border-box !important;
	display: block !important;
}
.wcp-macro-calc *,
.wcp-macro-calc *::before,
.wcp-macro-calc *::after {
	box-sizing: border-box !important;
}

/* Reset general de botones para anular los estilos por defecto de Astra */
.wcp-macro-calc button {
	all: unset;
	box-sizing: border-box !important;
	cursor: pointer !important;
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.wcp-macro-title {
	color: #74bf02 !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	margin: 0 0 6px !important;
	text-align: center !important;
}
.wcp-macro-subtitle {
	color: #4a6b5c !important;
	font-size: 14px !important;
	margin: 0 0 24px !important;
	text-align: center !important;
}

.wcp-macro-flavors {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
	margin: 0 0 26px !important;
	padding: 0 !important;
	list-style: none !important;
}
.wcp-flavor-btn {
	border: 1.5px solid #1f6d4a !important;
	background: transparent !important;
	color: #74bf02 !important;
	padding: 10px 20px !important;
	border-radius: 30px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	transition: all .15s ease !important;
	white-space: nowrap !important;
}
.wcp-flavor-btn.wcp-flavor-selected {
	background: #74bf02 !important;
	border-color: #74bf02 !important;
	color: #fff !important;
}

.wcp-macro-stepper {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 22px !important;
	margin: 0 0 30px !important;
}
.wcp-macro-stepper button {
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	border-radius: 50% !important;
	border: 1.5px solid var(--wcp-kcal-color) !important;
	background: #fff !important;
	color: var(--wcp-kcal-color) !important;
	font-size: 20px !important;
	line-height: 1 !important;
}
.wcp-macro-qty-wrap { text-align: center !important; }
.wcp-macro-qty {
	display: block !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	color: var(--wcp-kcal-color) !important;
	line-height: 1 !important;
}
.wcp-macro-qty-label {
	font-size: 12px !important;
	color: #4a6b5c !important;
}

/* Anillos: flexbox con tamaño fijo en vez de grid + %, para no depender
   de que el grid del tema no rompa el layout */
.wcp-macro-rings {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: flex-start !important;
	gap: 16px !important;
	margin: 0 0 26px !important;
	padding: 0 !important;
}
.wcp-ring {
	position: relative !important;
	width: 90px !important;
	flex: 0 0 90px !important;
}
.wcp-ring svg {
	display: block !important;
	width: 90px !important;
	height: 90px !important;
	max-width: 90px !important;
	transform: rotate(-90deg) !important;
}
.wcp-ring-bg {
	fill: none !important;
	stroke: #e2dcce !important;
	stroke-width: 9 !important;
}
.wcp-ring-fill {
	fill: none !important;
	stroke-width: 9 !important;
	stroke-linecap: round !important;
	stroke-dasharray: 264 !important;
	stroke-dashoffset: 264 !important;
	transition: stroke-dashoffset .4s ease !important;
}
.wcp-ring-kcal { stroke: var(--wcp-kcal-color) !important; }
.wcp-ring-proteina { stroke: var(--wcp-protein-color) !important; }
.wcp-ring-carbos { stroke: var(--wcp-carbs-color) !important; }
.wcp-ring-grasas { stroke: var(--wcp-fat-color) !important; }

.wcp-ring-text {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	line-height: 1.1 !important;
	text-align: center !important;
	width: 100% !important;
}
.wcp-ring-value {
	display: block !important;
	font-size: 20px !important;
	font-weight: 800 !important;
}
.wcp-ring[data-macro="kcal"] .wcp-ring-value { color: var(--wcp-kcal-color) !important; }
.wcp-ring[data-macro="proteina"] .wcp-ring-value { color: var(--wcp-protein-color) !important; }
.wcp-ring[data-macro="carbos"] .wcp-ring-value { color: var(--wcp-carbs-color) !important; }
.wcp-ring[data-macro="grasas"] .wcp-ring-value { color: var(--wcp-fat-color) !important; }
.wcp-ring-unit {
	display: block !important;
	font-size: 9px !important;
	color: #7c8f83 !important;
}
.wcp-ring-label {
	margin: 8px 0 0 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #35473e !important;
	text-align: center !important;
}

.wcp-macro-highlight {
	background: #1f6d4a !important;
	color: #fff !important;
	border-radius: 10px !important;
	padding: 20px !important;
	margin: 0 0 22px !important;
	text-align: center !important;
}
.wcp-macro-highlight-top {
	margin: 0 0 6px !important;
	font-size: 13px !important;
	opacity: 0.85 !important;
	color: #fff !important;
}
.wcp-macro-highlight-name { color: #fff !important; }
.wcp-macro-highlight-main {
	margin: 0 0 6px !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	color: #ffcf6b !important;
}
.wcp-macro-highlight-sub {
	margin: 0 !important;
	font-size: 12px !important;
	opacity: 0.8 !important;
	color: #fff !important;
}

.wcp-macro-cta {
	background: var(--wcp-kcal-color) !important;
	color: #fff !important;
	border: none !important;
	padding: 14px 30px !important;
	border-radius: 30px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
}
.wcp-macro-cta:hover { background: #cf4620 !important; }

@media (max-width: 480px) {
	.wcp-macro-rings { gap: 10px !important; }
	.wcp-ring, .wcp-ring svg { width: 70px !important; flex-basis: 70px !important; height: 70px !important; max-width: 70px !important; }
	.wcp-ring-value { font-size: 16px !important; }
}

/* ===== Testimonios (según diseño de referencia) ===== */
.wcp-testimonials {
	--wcp-green: #1f6d4a;
	max-width: 1100px !important;
	margin: 0 auto !important;
	padding: 40px 20px !important;
	text-align: center !important;
	box-sizing: border-box !important;
}
.wcp-testimonials *,
.wcp-testimonials *::before,
.wcp-testimonials *::after {
	box-sizing: border-box !important;
}

.wcp-testi-title {
	color: var(--wcp-green) !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	margin: 0 0 28px !important;
	text-align: center !important;
}

.wcp-testi-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 18px !important;
}
.wcp-testi-card {
	background: #ffffff !important;
	border: 2px solid var(--wcp-green) !important;
	border-radius: 18px !important;
	padding: 22px !important;
	width: 320px !important;
	flex: 0 0 320px !important;
	text-align: left !important;
	box-shadow: none !important;
}

.wcp-testi-text {
	font-style: italic !important;
	color: #33475b !important;
	font-size: 14.5px !important;
	line-height: 1.5 !important;
	margin: 0 0 22px !important;
	min-height: 60px !important;
}

.wcp-testi-person {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
}
.wcp-testi-avatar {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	background: #74bf02 !important;
}
.wcp-testi-avatar img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	border-radius: 50% !important;
}
.wcp-testi-avatar-fallback {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 15px !important;
}
.wcp-testi-person-info { line-height: 1.35 !important; }
.wcp-testi-name {
	margin: 0 !important;
	font-weight: 700 !important;
	color: #74bf02 !important;
	font-size: 14px !important;
}
.wcp-testi-role {
	margin: 0 !important;
	font-size: 12px !important;
	color: #8a8a8a !important;
}

@media (max-width: 700px) {
	.wcp-testi-card { width: 100% !important; flex-basis: 100% !important; }
}
