/* Página de pago con el aspecto de la web nueva bidipic.com.
   Colores: fondo #fbfaf8, texto #302d2a, gris #5c5751, borde #cdcbc2, acento #9f533f, particulares #e4a149. */

body.edd-checkout,
body.edd-checkout input,
body.edd-checkout select,
body.edd-checkout textarea,
body.edd-checkout button {
	font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif !important;
}
body.edd-checkout {
	background: #fbfaf8 !important;
	color: #302d2a;
}

/* Cabecera: fondo claro y el nombre con la letra de la web */
body.edd-checkout .elementor-element-5c89f915 {
	background: #fbfaf8 !important;
	border-bottom: 1px solid #cdcbc2;
}
body.edd-checkout .elementor-element-28baec05 .elementor-heading-title {
	font-family: "Lora", Georgia, serif !important;
	color: #302d2a !important;
	font-weight: 700 !important;
}

/* Migas «Tienda › Mi área › Acceso»: llevaban al tema viejo */
body.edd-checkout .elementor-element-afa2b2a {
	display: none !important;
}

/* Títulos «Complete su compra» y «Resumen del pedido» */
body.edd-checkout .elementor-element-539979e0 .elementor-heading-title,
body.edd-checkout .elementor-element-24813e2b .elementor-heading-title {
	font-family: "Lora", Georgia, serif !important;
	color: #302d2a !important;
}

/* Columna del resumen */
body.edd-checkout .elementor-element-740d2205 {
	background: #f4f1ea !important;
}

/* Enlaces */
body.edd-checkout .elementor-element-673b5e09 a,
body.edd-checkout .elementor-element-740d2205 a {
	color: #9f533f !important;
}
body.edd-checkout .elementor-element-673b5e09 a:hover,
body.edd-checkout .elementor-element-740d2205 a:hover {
	color: #7f402f !important;
}

/* Campos */
body.edd-checkout #edd_checkout_form_wrap input[type="text"],
body.edd-checkout #edd_checkout_form_wrap input[type="email"],
body.edd-checkout #edd_checkout_form_wrap input[type="tel"],
body.edd-checkout #edd_checkout_form_wrap input[type="password"],
body.edd-checkout #edd_checkout_form_wrap select {
	border: 1px solid #cdcbc2 !important;
	border-radius: 0.5rem !important;
	background-color: #fff !important;
	color: #302d2a !important;
}
body.edd-checkout #edd_checkout_form_wrap input:focus,
body.edd-checkout #edd_checkout_form_wrap select:focus {
	border-color: #9f533f !important;
	box-shadow: 0 0 0 3px rgba(159, 83, 63, 0.15) !important;
	outline: none !important;
}

/* Botón de comprar y botón del descuento */
body.edd-checkout #edd-purchase-button,
body.edd-checkout .edd-apply-discount {
	background: #9f533f !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background-color 0.2s;
}
body.edd-checkout #edd-purchase-button {
	padding: 14px 34px !important;
	font-size: 17px !important;
}
body.edd-checkout #edd-purchase-button:hover,
body.edd-checkout .edd-apply-discount:hover {
	background: #7f402f !important;
}

/* Miniatura del producto: fuera si está vacía */
body.edd-checkout .edd_cart_item_image:not(:has(img)) {
	display: none !important;
}

/* Sombra del botón con el color de la web (quita la sombra azul del tema) */
body.edd-checkout #edd-purchase-button {
	box-shadow: 0 10px 24px -10px rgba(159, 83, 63, 0.6) !important;
}

/* Resto de enlaces del pago (salir, código de descuento...) */
body.edd-checkout #edd_checkout_form_wrap a,
body.edd-checkout #edd_checkout_cart_wrap a,
body.edd-checkout .edd-blocks-cart a,
body.edd-checkout .edd_discount_link {
	color: #9f533f !important;
}

/* Logo de la web (la flor) delante del nombre en la cabecera */
body.edd-checkout .elementor-element-28baec05 .elementor-heading-title {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
}
body.edd-checkout .elementor-element-28baec05 .elementor-heading-title::before {
	content: "";
	width: 34px;
	height: 33px;
	flex: none;
	background: url("bp_web_logo.png") center / contain no-repeat;
}

/* Aire entre el recuadro de la tarjeta y el botón de comprar */
body.edd-checkout #edd-purchase-button {
	margin-top: 24px !important;
}

/* Un solo fondo en toda la columna del resumen */
body.edd-checkout .elementor-element-2468f41d {
	background: #f4f1ea !important;
}

/* Miniatura del carrito visible (el JS le pone la imagen real) */
body.edd-checkout .edd_cart_item_image img {
	opacity: 1 !important;
	visibility: visible !important;
	border-radius: 0.5rem;
}

/* Franja gris detrás del recuadro de registro: la caja pinta mitad blanco y mitad gris (en móvil, gris) */
body.edd-checkout .ms-box > .edd-checkout-box__slot {
	background: linear-gradient(90deg, #ffffff 0 50%, #f4f1ea 50% 100%) !important;
}
@media (max-width: 767px) {
	body.edd-checkout .ms-box > .edd-checkout-box__slot {
		background: #f4f1ea !important;
	}
}

/* ===== Acceso y registro (wp-login.php) con el aspecto de la web nueva ===== */
html body.login {
	background: #fbfaf8 !important;
	color: #302d2a !important;
	font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif !important;
}
body.login #login {
	width: 380px;
	max-width: 92vw;
	padding-top: 6vh;
}

/* Logo: la flor y el nombre con la letra de la web */
body.login #login h1 {
	text-align: center;
}
body.login #login h1 a {
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	height: 44px !important;
	margin: 0 auto 22px !important;
	padding-left: 50px !important;
	background: url("bp_web_logo.png") left center / 40px 39px no-repeat !important;
	text-indent: 0 !important;
	overflow: visible !important;
	font-family: "Lora", Georgia, serif !important;
	font-size: 30px !important;
	font-weight: 700 !important;
	line-height: 44px !important;
	color: #302d2a !important;
	text-decoration: none !important;
}

/* Tarjeta del formulario */
body.login #login form {
	background: #ffffff !important;
	border: 1px solid #e6e3dc !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 32px -18px rgba(48, 45, 42, 0.35) !important;
	padding: 26px 24px !important;
	color: #302d2a !important;
}
body.login #login form label,
body.login #login form p,
body.login #login #reg_passmail {
	color: #302d2a !important;
}

/* Campos */
body.login #login form input[type="text"],
body.login #login form input[type="email"],
body.login #login form input[type="password"],
body.login #login form select {
	background: #ffffff !important;
	border: 1px solid #cdcbc2 !important;
	border-radius: 0.5rem !important;
	color: #302d2a !important;
	box-shadow: none !important;
	font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif !important;
}
body.login #login form input:focus,
body.login #login form select:focus {
	border-color: #9f533f !important;
	box-shadow: 0 0 0 3px rgba(159, 83, 63, 0.15) !important;
	outline: none !important;
}
body.login #login form input[type="checkbox"] {
	accent-color: #9f533f;
	border-radius: 4px !important;
}
body.login #login .wp-hide-pw .dashicons {
	color: #9f533f !important;
}

/* Botón */
body.login #login #wp-submit,
body.login #login .button-primary {
	background: #9f533f !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	height: 44px !important;
	padding: 0 28px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 44px !important;
	box-shadow: 0 10px 24px -10px rgba(159, 83, 63, 0.6) !important;
	text-shadow: none !important;
}
body.login #login #wp-submit:hover,
body.login #login .button-primary:hover {
	background: #7f402f !important;
}

/* Enlaces y avisos */
body.login #login a,
body.login .privacy-policy-page-link a {
	color: #9f533f !important;
}
body.login #login a:hover,
body.login .privacy-policy-page-link a:hover {
	color: #7f402f !important;
}
body.login #login #nav,
body.login #login #backtoblog {
	text-align: center;
}
body.login #login .message,
body.login #login #login_error,
body.login #login .notice {
	background: #ffffff !important;
	border-left: 4px solid #e4a149 !important;
	border-radius: 0.5rem !important;
	color: #302d2a !important;
	box-shadow: none !important;
}

/* ===== Empresas: aspecto oscuro de la web nueva (fondo #0d1117, tarjetas #161b22, borde #30363d, turquesa #0bf0ff, acento #55d8d8) ===== */

/* Pago */
body.bp-seg-b2b.edd-checkout,
body.bp-seg-b2b.edd-checkout .elementor-element-5c89f915,
body.bp-seg-b2b.edd-checkout .elementor-element-673b5e09 {
	background: #0d1117 !important;
}
body.bp-seg-b2b.edd-checkout .elementor-element-5c89f915 {
	border-bottom-color: #30363d !important;
}
body.bp-seg-b2b.edd-checkout .elementor-element-740d2205,
body.bp-seg-b2b.edd-checkout .elementor-element-2468f41d {
	background: #161b22 !important;
}
body.bp-seg-b2b.edd-checkout .ms-box > .edd-checkout-box__slot {
	background: linear-gradient(90deg, #0d1117 0 50%, #161b22 50% 100%) !important;
}
@media (max-width: 767px) {
	body.bp-seg-b2b.edd-checkout .ms-box > .edd-checkout-box__slot {
		background: #161b22 !important;
	}
}
body.bp-seg-b2b.edd-checkout .elementor-element-28baec05 .elementor-heading-title,
body.bp-seg-b2b.edd-checkout .elementor-element-539979e0 .elementor-heading-title,
body.bp-seg-b2b.edd-checkout .elementor-element-24813e2b .elementor-heading-title {
	font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif !important;
	color: #ffffff !important;
}
body.bp-seg-b2b.edd-checkout .elementor-element-4cff851c :is(p, span, label, legend, h1, h2, h3, h4, h5, h6, td, th, strong, li, div) {
	color: #e6edf3 !important;
	border-color: #30363d !important;
}
body.bp-seg-b2b.edd-checkout .elementor-element-4cff851c a,
body.bp-seg-b2b.edd-checkout .elementor-element-4cff851c a span,
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap a,
body.bp-seg-b2b.edd-checkout .edd_discount_link {
	color: #0af0ff !important;
}
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap input[type="text"],
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap input[type="email"],
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap input[type="tel"],
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap input[type="password"],
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap select {
	background-color: #0d1117 !important;
	border-color: #30363d !important;
	color: #ffffff !important;
}
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap input:focus,
body.bp-seg-b2b.edd-checkout #edd_checkout_form_wrap select:focus {
	border-color: #0bf0ff !important;
	box-shadow: 0 0 0 3px rgba(11, 240, 255, 0.18) !important;
}
/* Los campos de la tarjeta son de Stripe y escriben en oscuro: siempre sobre blanco */
body.bp-seg-b2b.edd-checkout .StripeElement,
body.bp-seg-b2b.edd-checkout #edd-stripe-card-element {
	background: #ffffff !important;
	border-radius: 0.5rem !important;
}
body.bp-seg-b2b.edd-checkout #edd-purchase-button,
body.bp-seg-b2b.edd-checkout .edd-apply-discount {
	background: #0bf0ff !important;
	color: #0d1117 !important;
	box-shadow: 0 10px 24px -10px rgba(11, 240, 255, 0.5) !important;
}
body.bp-seg-b2b.edd-checkout #edd-purchase-button:hover,
body.bp-seg-b2b.edd-checkout .edd-apply-discount:hover {
	background: #55d8d8 !important;
}

/* Acceso y registro */
html body.login.bp-seg-b2b {
	background: #0d1117 !important;
	color: #ffffff !important;
}
body.login.bp-seg-b2b #login h1 a {
	font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif !important;
	color: #ffffff !important;
}
body.login.bp-seg-b2b #login form {
	background: #161b22 !important;
	border-color: #30363d !important;
	box-shadow: none !important;
}
body.login.bp-seg-b2b #login form label,
body.login.bp-seg-b2b #login form p,
body.login.bp-seg-b2b #login #reg_passmail {
	color: #e6edf3 !important;
}
body.login.bp-seg-b2b #login form input[type="text"],
body.login.bp-seg-b2b #login form input[type="email"],
body.login.bp-seg-b2b #login form input[type="password"],
body.login.bp-seg-b2b #login form select {
	background: #0d1117 !important;
	border-color: #30363d !important;
	color: #ffffff !important;
}
body.login.bp-seg-b2b #login form input:focus,
body.login.bp-seg-b2b #login form select:focus {
	border-color: #0bf0ff !important;
	box-shadow: 0 0 0 3px rgba(11, 240, 255, 0.18) !important;
}
body.login.bp-seg-b2b #login form input[type="checkbox"] {
	accent-color: #0bf0ff;
}
body.login.bp-seg-b2b #login .wp-hide-pw .dashicons {
	color: #0bf0ff !important;
}
body.login.bp-seg-b2b #login #wp-submit,
body.login.bp-seg-b2b #login .button-primary {
	background: #0bf0ff !important;
	color: #0d1117 !important;
	box-shadow: 0 10px 24px -10px rgba(11, 240, 255, 0.5) !important;
}
body.login.bp-seg-b2b #login #wp-submit:hover,
body.login.bp-seg-b2b #login .button-primary:hover {
	background: #55d8d8 !important;
}
body.login.bp-seg-b2b #login a,
body.login.bp-seg-b2b .privacy-policy-page-link a {
	color: #0af0ff !important;
}
body.login.bp-seg-b2b #login .message,
body.login.bp-seg-b2b #login #login_error,
body.login.bp-seg-b2b #login .notice {
	background: #161b22 !important;
	border-left-color: #55d8d8 !important;
	color: #ffffff !important;
}
