/* Ficha de producto de Carra. Colores: rojo #E4472D, naranja #F59300. */

/* ---------- Galería ---------- */

.carra-sp-top .wd-gallery-images .wd-carousel-item figure,
.carra-sp-top .woocommerce-product-gallery__image {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
}

.carra-sp-top .wd-gallery-images {
	overflow: hidden;
	border: 1.5px solid #F6D2C7;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(228, 71, 45, .08);
}

.carra-sp-top .wd-gallery-images img {
	width: 100%;
	max-height: 620px;
	object-fit: contain;
}

/* Miniaturas: tarjetitas con borde, la activa en rojo. */
.carra-sp-top .wd-gallery-thumb .wd-carousel-item {
	cursor: pointer;
}

.carra-sp-top .wd-gallery-thumb .wd-carousel-item img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 6px;
	border: 1.5px solid #F3E2DC;
	border-radius: 14px;
	background: #fff;
	opacity: .7;
	transition: border-color .2s, opacity .2s;
}

.carra-sp-top .wd-gallery-thumb .wd-carousel-item:hover img,
.carra-sp-top .wd-gallery-thumb .wd-thumb-active img {
	border-color: #E4472D;
	opacity: 1;
}

.carra-sp-top .wd-gallery-thumb .wd-btn-arrow,
.carra-sp-top .wd-gallery-thumb .wd-nav-arrows > div {
	border-radius: 10px;
}

/* Botón de zoom. */
.carra-sp-top .product-additional-galleries .wd-action-btn > a,
.carra-sp-top .woodmart-show-product-gallery-wrap > a {
	background: #fff;
	color: #E4472D;
	box-shadow: 0 6px 16px rgba(228, 71, 45, .2);
}

/* ---------- Resumen ---------- */

.carra-sp-top .product_title,
.carra-sp-top .wd-single-title .entry-title {
	color: #242424;
	font-size: 26px !important;
	font-weight: 800 !important;
	line-height: 1.2;
}

/* SKU y categorías como etiquetas. */
.carra-sp-top .product_meta {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 8px;
}

.carra-sp-top .product_meta > span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 4px 12px;
	border-radius: 20px;
	background: #FFF1E8;
	color: #555;
	font-size: 12px;
}

.carra-sp-top .product_meta .meta-label {
	color: #E4472D;
	font-weight: 700;
}

.carra-sp-top .product_meta a {
	color: #333;
}

.carra-sp-top .product_meta a:hover {
	color: #E4472D;
}

/* Precio. */
.carra-sp-top .wd-single-price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	color: #E4472D;
	font-size: 34px !important;
	font-weight: 800;
}

.carra-sp-top .wd-single-price .price del {
	color: #aaa;
	font-size: 18px;
	font-weight: 400;
}

/* Caja de compra. */
.carra-sp-top .elementor-element-c3b4e07,
.carra-sp-top .elementor-element-2fd9118 {
	border-color: #F6D2C7 !important;
	background: #fff;
}

.carra-sp-top .elementor-element-c3b4e07 {
	border-radius: 20px 20px 0 0;
}

.carra-sp-top .elementor-element-2fd9118 {
	border-radius: 0 0 20px 20px;
	background: #FFF9F5;
}

.carra-sp-top .stock.in-stock {
	display: inline-block !important;
	width: auto !important;
	padding: 4px 12px;
	border-radius: 20px;
	background: #EAF7EE !important;
	color: #2E9B4F !important;
	font-weight: 700;
}

.carra-sp-top form.cart .quantity {
	border: 1.5px solid #F6D2C7;
	border-radius: 40px;
	background: #fff;
}

.carra-sp-top form.cart .single_add_to_cart_button {
	min-height: 48px;
	padding: 0 28px !important;
	border-radius: 40px !important;
	background: linear-gradient(135deg, #E4472D, #F59300) !important;
	color: #fff !important;
	font-weight: 800 !important;
	letter-spacing: .03em;
	box-shadow: 0 8px 18px rgba(228, 71, 45, .28);
	transition: filter .2s, box-shadow .2s;
}

.carra-sp-top form.cart .single_add_to_cart_button:hover {
	filter: brightness(1.06);
	box-shadow: 0 10px 22px rgba(228, 71, 45, .38);
}

/* "Comprar ahora": de amarillo a contorno de marca. */
.carra-sp-top form.cart .wd-buy-now-btn {
	min-height: 48px;
	padding: 0 26px !important;
	border: 2px solid #E4472D !important;
	border-radius: 40px !important;
	background: #fff !important;
	color: #E4472D !important;
	font-weight: 800 !important;
	letter-spacing: .03em;
	box-shadow: none !important;
	transition: background .2s, color .2s;
}

.carra-sp-top form.cart .wd-buy-now-btn:hover {
	background: #E4472D !important;
	color: #fff !important;
}

.carra-sp-top .wd-action-btn.wd-style-text > a:hover {
	color: #E4472D;
}

/* Beneficios bajo el precio. */
.carra-sp-beneficios {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 4px 0 6px;
}

.carra-sp-beneficios > div,
.carra-sp-beneficios > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1.5px solid #F6D2C7;
	border-radius: 14px;
	background:
		radial-gradient(circle at 0% 0%, rgba(245, 147, 0, .1), transparent 60%),
		#FFF9F5;
	color: #333;
	transition: border-color .2s, transform .2s;
}

.carra-sp-beneficios > a:hover {
	transform: translateY(-2px);
	border-color: #F59300;
}

.carra-sp-ico {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #E4472D, #F59300);
	box-shadow: 0 4px 10px rgba(228, 71, 45, .25);
}

.carra-sp-ico svg {
	width: 18px;
	height: 18px;
}

.carra-sp-beneficios p {
	margin: 0 !important;
	line-height: 1.25;
}

.carra-sp-beneficios strong {
	display: block;
	color: #242424;
	font-size: 13px;
}

.carra-sp-beneficios small {
	color: #888;
	font-size: 11px;
}

/* "Personas viendo": discreto. */
.carra-sp-top .wd-visits-count {
	border-radius: 14px !important;
	background: #FFF4EF !important;
	color: #8a5a4d !important;
}

.carra-sp-top .wd-visits-count .wd-info-number,
.carra-sp-top .wd-visits-count .wd-info-icon {
	color: #E4472D !important;
}

/* ---------- Descripción y medidas ---------- */

.carra-sp-info > .e-con-inner {
	gap: 24px !important;
	align-items: flex-start !important;
}

.e-con.carra-sp-card {
	padding: 26px 28px !important;
	border: 1.5px solid #F6D2C7;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(228, 71, 45, .06);
}

.carra-sp-info > .e-con-inner > .carra-sp-card:first-child {
	flex: 1 1 62% !important;
}

.carra-sp-info > .e-con-inner > .carra-sp-card:last-child {
	flex: 1 1 34% !important;
	background:
		radial-gradient(circle at 100% 0%, rgba(245, 147, 0, .1), transparent 50%),
		#FFF9F5;
}

.carra-sp-h p {
	position: relative;
	margin-bottom: 18px !important;
	padding-bottom: 10px;
	color: #E4472D;
	font-size: 20px !important;
	font-weight: 800;
}

.carra-sp-h p::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 54px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, #E4472D, #F59300);
}

.carra-sp-card .wd-single-content {
	color: #555;
	font-size: 15px;
	line-height: 1.6;
}

.carra-sp-card .wd-single-content > p:first-child {
	color: #242424;
	font-size: 16px;
	font-weight: 700;
}

/* Ficha técnica en grilla. */
.carra-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 12px;
	margin: 16px 0 !important;
}

.carra-specs > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	border-left: 3px solid #F59300;
	border-radius: 10px;
	background: #FFF7F2;
}

.carra-specs dt {
	color: #999;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.carra-specs dd {
	margin: 0;
	color: #242424;
	font-size: 14px;
	font-weight: 700;
}

/* Tabla de peso y medidas. */
.carra-sp-card .shop_attributes {
	margin-bottom: 14px;
}

.carra-sp-card .shop_attributes tr {
	border-bottom: 1px dashed #F0D5CB;
}

.carra-sp-card .shop_attributes th {
	color: #777;
	font-weight: 600;
}

.carra-sp-card .shop_attributes td {
	color: #242424;
	font-weight: 800;
}

/* Vistos recientemente: título con estilo de marca. */
.elementor-element-80cac1e.carra-sp-h p {
	font-size: 22px !important;
}

/* ---------- Barra fija de compra ---------- */

.wd-sticky-btn {
	border-top: 3px solid #F59300;
}

.wd-sticky-btn .single_add_to_cart_button {
	border-radius: 40px !important;
	background: linear-gradient(135deg, #E4472D, #F59300) !important;
}

.wd-sticky-btn .wd-buy-now-btn {
	border: 2px solid #E4472D !important;
	border-radius: 40px !important;
	background: #fff !important;
	color: #E4472D !important;
}

.wd-sticky-btn .price {
	color: #E4472D;
	font-weight: 800;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.carra-sp-beneficios {
		grid-template-columns: 1fr;
	}

	.carra-sp-info > .e-con-inner {
		flex-direction: column !important;
	}

	.carra-sp-info > .e-con-inner > .carra-sp-card {
		flex: none !important;
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	.carra-sp-top .product_title,
	.carra-sp-top .wd-single-title .entry-title {
		font-size: 20px !important;
	}

	.carra-sp-top .wd-single-price .price {
		font-size: 26px !important;
	}

	.e-con.carra-sp-card {
		padding: 18px 16px !important;
		border-radius: 18px;
	}

	.carra-specs {
		grid-template-columns: 1fr;
	}

	.carra-sp-top form.cart .single_add_to_cart_button,
	.carra-sp-top form.cart .wd-buy-now-btn {
		padding: 0 16px !important;
	}
}

/* Subtítulos dentro de la descripción (ej.: "Dimensiones"). */
.carra-specs-title {
	margin: 22px 0 8px !important;
	color: #242424;
	font-size: 15px !important;
	font-weight: 800;
	letter-spacing: .02em;
}

.carra-specs-title::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #E4472D, #F59300);
	vertical-align: middle;
}

.carra-specs + ul {
	margin-top: 4px;
}
