
/* =============================================
   A. EMPTY STATE — Hidden per client request
   ============================================= */

.ywraq-wrapper.ywraq-empty .ywraq-before-form,
.ywraq-wrapper.ywraq-with-form.ywraq-empty .ywraq-before-form {
	display: none !important;
}



/* Disabled submit button when quote list is empty */
.ywraq-submit-disabled {
	position: relative;
	display: inline-block;
	width: 100%;
}

.ywraq-submit-disabled input[type="submit"],
.ywraq-submit-disabled .wpcf7-submit,
.ywraq-submit-disabled .raq-send-request {
	opacity: 0.45;
	cursor: not-allowed !important;
	pointer-events: none;
	filter: grayscale(0.5);
	transform: none !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Tooltip */
.ywraq-submit-disabled .ywraq-disabled-tooltip {
	position: absolute;
	bottom: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
	color: #fff;
	padding: 14px 22px;
	border-radius: 12px;
	font-size: 0.88em;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.5;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 100;
}

/* Tooltip arrow */
.ywraq-submit-disabled .ywraq-disabled-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-top-color: #2d2d44;
}

/* Tooltip icon */
.ywraq-disabled-tooltip-icon {
	display: inline-block;
	margin-right: 8px;
	font-size: 1.1em;
	vertical-align: middle;
	animation: tooltipIconPulse 1.5s ease-in-out infinite;
}


@keyframes tooltipIconPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.2); }
}

/* Show tooltip on hover */
.ywraq-submit-disabled:hover .ywraq-disabled-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* Subtle shake animation on the disabled button when hovered */
.ywraq-submit-disabled:hover input[type="submit"],
.ywraq-submit-disabled:hover .wpcf7-submit,
.ywraq-submit-disabled:hover .raq-send-request {
	animation: disabledShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes disabledShake {
	10%, 90% { transform: translateX(-1px); }
	20%, 80% { transform: translateX(2px); }
	30%, 50%, 70% { transform: translateX(-3px); }
	40%, 60% { transform: translateX(3px); }
}

/* Mobile tooltip */
@media screen and (max-width: 480px) {
	.ywraq-submit-disabled .ywraq-disabled-tooltip {
		white-space: normal;
		min-width: 240px;
		text-align: center;
	}
}






/* =============================================
================================================
   B. ITEMS TABLE — Bold Dark Header + Cards
=================================================
================================================= */
#yith-ywraq-form table.shop_table.cart {
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	border-radius: 16px;
	overflow: hidden;
	margin-top: 0;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
	animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Header — dark gradient matching logistics style */
#yith-ywraq-form table.shop_table.cart thead tr {
	background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
}

#yith-ywraq-form table.shop_table.cart thead th {
	padding: 20px 22px;
	font-size: 0.78em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.8);
	border-bottom: none;
}


/* Body rows — staggered entrance */
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item {
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	animation: rowReveal 0.5s ease-out both;
	background: #fff;
	position: relative;
}

#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:nth-child(1) { animation-delay: 0.05s; }
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:nth-child(2) { animation-delay: 0.1s; }
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:nth-child(3) { animation-delay: 0.15s; }
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:nth-child(4) { animation-delay: 0.2s; }
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:nth-child(5) { animation-delay: 0.25s; }
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:nth-child(6) { animation-delay: 0.3s; }


/* Row hover — green accent bar + subtle lift */
#yith-ywraq-form table.shop_table.cart tbody tr.cart_item:hover {
	background-color: #f9fcf9;
	box-shadow: inset 5px 0 0 #43a047, 0 4px 16px rgba(0, 0, 0, 0.06);
	transform: scale(1.005);
}

#yith-ywraq-form table.shop_table.cart tbody tr.cart_item td {
	padding: 22px 20px;
	vertical-align: middle;
	border-bottom: 1px solid #f2f2f2;
	transition: all 0.35s ease;
}

/* Remove button — rotate + glow on hover */
#yith-ywraq-form table.shop_table.cart .product-remove a.remove {
	width: 34px;
	height: 34px;
	line-height: 32px;
	font-size: 16px;
	text-align: center;
	border-radius: 8px;
	color: #c0c0c0 !important;
	border: 2px solid #eee;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
	background: #fafafa;
}


#yith-ywraq-form table.shop_table.cart .product-remove a.remove:hover {
	color: #fff !important;
	background: linear-gradient(135deg, #e53935 0%, #ff5252 100%);
	border-color: transparent;
	transform: rotate(90deg) scale(1.15);
	box-shadow: 0 4px 15px rgba(229, 57, 53, 0.35);
}

/* Product thumbnail — hover zoom with border */
.woocommerce #yith-ywraq-form table.shop_table.cart .product-thumbnail img {
	max-width: 78px;
	border-radius: 12px;
	border: 2px solid #f0f0f0;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.woocommerce #yith-ywraq-form table.shop_table.cart .product-thumbnail img:hover {
	border-color: #43a047;
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(67, 160, 71, 0.2);
}

/* Product name */
#yith-ywraq-form table.shop_table.cart .product-name a {
	font-weight: 700;
	color: #1a1a2e;
	text-decoration: none;
	transition: all 0.25s ease;
	font-size: 1em;
}

#yith-ywraq-form table.shop_table.cart .product-name a:hover {
	color: #43a047;
	letter-spacing: 0.01em;
}

#yith-ywraq-form table.shop_table.cart .product-name ul li {
	color: #999;
	font-size: 0.88em;
}

/* Quantity input — compact size + focus glow */
.woocommerce #yith-ywraq-form table.shop_table.cart .product-quantity .quantity input.qty,
.woocommerce #yith-ywraq-form table.shop_table.cart .product-quantity input.qty,
.woocommerce #yith-ywraq-form .product-quantity input[type="number"].qty,
#yith-ywraq-form .product-quantity input.qty {
	width: 60px !important;
	max-width: 60px !important;
	min-width: 44px;
	height: 38px !important;
	padding: 6px 4px !important;
	text-align: center;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.9em;
	line-height: 1.2;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	background: #fafafa;
	color: #1a1a2e;
	box-sizing: border-box;
	-moz-appearance: textfield;
}


/* Hide number input spinners for cleaner look */
#yith-ywraq-form .product-quantity input.qty::-webkit-outer-spin-button,
#yith-ywraq-form .product-quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Constrain the quantity cell width */
#yith-ywraq-form table.shop_table.cart td.product-quantity,
#yith-ywraq-form table.shop_table.cart th.product-quantity {
	width: 76px;
	max-width: 80px;
	text-align: center;
	padding-left: 6px !important;
	padding-right: 6px !important;
}

.woocommerce #yith-ywraq-form table.shop_table.cart .product-quantity .quantity input.qty:focus,
#yith-ywraq-form .product-quantity input.qty:focus {
	border-color: #43a047;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.12);
	outline: none;
}



/* Totals row — bold green */
#yith-ywraq-form table.shop_table.cart .raq-totals-label {
	font-weight: 800;
	font-size: 1.15em;
	text-align: right;
	padding: 24px 20px;
	color: #1a1a2e;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#yith-ywraq-form table.shop_table.cart .raq-totals {
	font-weight: 800;
	font-size: 1.3em;
	color: #43a047;
}

/* =============================================
   C. ACTION BUTTONS — Bold Shipping Style
   ============================================= */

#yith-ywraq-form .update-list-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 28px 0 40px;
	flex-wrap: wrap;
	animation: fadeInUp 0.5s ease-out 0.3s both;
}

#yith-ywraq-form .update-list-wrapper .button,
#yith-ywraq-form .update-list-wrapper input[type="submit"] {
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.88em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

/* Update button — primary gradient */
#yith-ywraq-form .update-list-wrapper input[type="submit"] {
	background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
	color: #fff;
	border: none;
	box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

#yith-ywraq-form .update-list-wrapper input[type="submit"]:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(67, 160, 71, 0.4);
}

/* Clear list — danger on hover */
#yith-ywraq-form .update-list-wrapper .ywraq_clean_list {
	background-color: transparent;
	color: #888;
	border: 2px solid #ddd;
}

#yith-ywraq-form .update-list-wrapper .ywraq_clean_list:hover {
	color: #fff;
	background: linear-gradient(135deg, #e53935 0%, #ff5252 100%);
	border-color: transparent;
	box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
	transform: translateY(-2px);
}

/* PDF button */
button#ywraq-list-to-pdf {
	border-radius: 6px;
	transition: all 0.3s ease;
}

button#ywraq-list-to-pdf:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =============================================
=================================================
=================================================
   D. CONTACT / REQUEST FORM — Shipping Style
   Supports YITH default + Contact Form 7
   ESTE ES EL BLOQUE QUE LE DA ESTILO A LOS INPUTS
===================================================
====================================================
=================================================== */
/* Form container — both types */
.yith-ywraq-mail-form-wrapper,
#ywraq-other-form {
	background: #fff;
	border: none;
	border-radius: 20px;
	padding: 40px !important;
	margin-top: 28px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
	animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
	position: relative;
	overflow: hidden;
}

/* Dark accent header bar */
.yith-ywraq-mail-form-wrapper::before,
#ywraq-other-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #1a1a2e, #43a047, #66bb6a, #43a047, #1a1a2e);
	background-size: 300% 100%;
	animation: shimmerGradient 4s linear infinite;
}

/* Form title — both types */
.yith-ywraq-mail-form-wrapper h3,
#ywraq-other-form .ywraq-form-title {
	font-size: 1.4em;
	font-weight: 800;
	color: #1a1a2e;
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 2px solid #f0f0f0;
	margin-top: 10px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Input fields — YITH default form */
.yith-ywraq-mail-form-wrapper .form-row input[type="text"],
.yith-ywraq-mail-form-wrapper .form-row input[type="email"],
.yith-ywraq-mail-form-wrapper .form-row input[type="tel"],
.yith-ywraq-mail-form-wrapper .form-row textarea,
.yith-ywraq-mail-form-wrapper .form-row select {
	border: 2px solid #e8e8e8;
	border-radius: 10px;
	padding: 15px 18px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
	box-sizing: border-box;
	background: #f8f9fa;
	font-size: 0.95em;
}

/* Input fields — Contact Form 7 */
#ywraq-other-form .wpcf7-form input[type="text"],
#ywraq-other-form .wpcf7-form input[type="email"],
#ywraq-other-form .wpcf7-form input[type="tel"],
#ywraq-other-form .wpcf7-form input[type="url"],
#ywraq-other-form .wpcf7-form input[type="number"],
#ywraq-other-form .wpcf7-form textarea,
#ywraq-other-form .wpcf7-form select {
	border: 2px solid #e8e8e8;
	border-radius: 10px;
	padding: 15px 18px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
	box-sizing: border-box;
	background-color: #f8f9fa;
	font-size: 0.95em;
}

/* Focus state — dramatic glow + lift + scroll-center */
.yith-ywraq-mail-form-wrapper .form-row input:focus,
.yith-ywraq-mail-form-wrapper .form-row textarea:focus,
.yith-ywraq-mail-form-wrapper .form-row select:focus,
#ywraq-other-form .wpcf7-form input:focus,
#ywraq-other-form .wpcf7-form textarea:focus,
#ywraq-other-form .wpcf7-form select:focus {
	border-color: #43a047;
	outline: none;
	box-shadow:
		0 0 0 4px rgba(67, 160, 71, 0.15),
		0 0 20px rgba(67, 160, 71, 0.10),
		0 8px 24px rgba(0, 0, 0, 0.06);
	background: #fff;
	transform: translateY(-3px) scale(1.01);
}

/* Parent wrapper highlight when child is focused */
.ywraq-field-active {
	position: relative;
	z-index: 2;
}

/* Animated green left accent on the focused field's parent row/paragraph */
.ywraq-field-highlight {
	position: relative;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ywraq-field-highlight::after {
	content: '';
	position: absolute;
	top: 0;
	left: -20px;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, #43a047 0%, #66bb6a 100%);
	border-radius: 4px;
	opacity: 0;
	transform: scaleY(0);
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ywraq-field-highlight.ywraq-field-active::after {
	opacity: 1;
	transform: scaleY(1);
}

// DESHABILITADO. ESTE ES EL QUE "OPCA" EL RESTO DE LOS INPUTS
/* Dim siblings while one field is focused 
.ywraq-form-focusing .form-row:not(.ywraq-field-active),
.ywraq-form-focusing .wpcf7-form p:not(.ywraq-field-active) {
	opacity: 0.4;
	filter: blur(0.5px);
	transition: all 0.4s ease;
}
*/

.ywraq-form-focusing .form-row.ywraq-field-active,
.ywraq-form-focusing .wpcf7-form p.ywraq-field-active {
	opacity: 1;
	filter: none;
}

/* Active label turns green */
.ywraq-field-active label,
.ywraq-field-active > label {
	color: #43a047 !important;
	transition: color 0.3s ease;
}

/* CF7 form labels */
#ywraq-other-form .wpcf7-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: #1a1a2e;
	font-size: 0.88em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: color 0.3s ease;
}

/* CF7 form field spacing */
#ywraq-other-form .wpcf7-form p {
	margin-bottom: 1.5em;
	position: relative;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Submit button — YITH default form */
.yith-ywraq-mail-form-wrapper .raq-send-request-row .raq-send-request {
	width: 100%;
	padding: 18px 24px;
	background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
	position: relative;
	overflow: hidden;
}

.yith-ywraq-mail-form-wrapper .raq-send-request-row .raq-send-request:hover {
	background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(67, 160, 71, 0.4);
}

/* Submit button — Contact Form 7 */
#ywraq-other-form .wpcf7-form input[type="submit"],
#ywraq-other-form .wpcf7-form .wpcf7-submit {
	width: 100%;
	padding: 18px 24px;
	background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
	margin-top: 14px;
	position: relative;
	overflow: hidden;
}

#ywraq-other-form .wpcf7-form input[type="submit"]:hover,
#ywraq-other-form .wpcf7-form .wpcf7-submit:hover {
	background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(67, 160, 71, 0.4);
}

/* =============================================
   E. MOBILE RESPONSIVE — Bold Cards
   ============================================= */

@media screen and (max-width: 768px) {

	/* Table becomes vertical stack */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive {
		border: none;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	#yith-ywraq-form table.shop_table.cart.ywraq_responsive,
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive tbody {
		display: block;
	}

	/* Each row = animated card */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive tr.cart_item {
		display: grid;
		grid-template-columns: 72px 1fr;
		grid-template-rows: auto auto;
		gap: 0 14px;
		align-items: start;
		padding: 20px;
		margin-bottom: 14px;
		background: #fff;
		border: none;
		border-radius: 16px;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
		position: relative;
		transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
		border-left: 4px solid transparent;
	}

	#yith-ywraq-form table.shop_table.cart.ywraq_responsive tr.cart_item:active {
		transform: scale(0.98);
		border-left-color: #43a047;
	}

	/* Remove button — top-right of card */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive td.product-remove {
		position: absolute;
		top: 12px;
		right: 12px;
		display: block;
		width: auto;
		padding: 0;
		border: none;
		background: transparent;
		max-width: none;
	}

	/* Thumbnail — left column */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive td.product-thumbnail {
		grid-row: 1 / 3;
		grid-column: 1;
		display: block !important;
		padding: 0;
		border: none;
	}

	.woocommerce #yith-ywraq-form table.shop_table.cart.ywraq_responsive .product-thumbnail img {
		max-width: 64px;
		border-radius: 10px;
	}

	/* Product name — right column top */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive td.product-name {
		grid-row: 1;
		grid-column: 2;
		padding: 0 36px 4px 0;
		border: none;
		font-size: 0.95em;
	}

	/* Mobile price — bold green */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive .product-name .mobile-price {
		display: inline-block;
		font-weight: 800;
		color: #43a047;
		margin-top: 6px;
		font-size: 1.1em;
	}

	/* Quantity — right column bottom */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive td.product-quantity {
		grid-row: 2;
		grid-column: 2;
		padding: 6px 0 0 0;
		border: none;
		text-align: left;
	}

	/* Totals row — dark gradient */
	#yith-ywraq-form table.shop_table.cart.ywraq_responsive tr:last-of-type {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		padding: 20px 24px;
		background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
		border-radius: 16px;
		margin-bottom: 14px;
		border: none;
		color: #fff;
	}

	#yith-ywraq-form table.shop_table.cart.ywraq_responsive tr:last-of-type .raq-totals-label {
		color: rgba(255,255,255,0.8);
	}

	#yith-ywraq-form table.shop_table.cart.ywraq_responsive tr:last-of-type .raq-totals {
		color: #66bb6a;
	}

	#yith-ywraq-form table.shop_table.cart.ywraq_responsive .raq-totals-row {
		display: none;
	}

	/* Action buttons stack */
	#yith-ywraq-form .update-list-wrapper {
		flex-direction: column;
	}

	#yith-ywraq-form .update-list-wrapper .button,
	#yith-ywraq-form .update-list-wrapper input[type="submit"] {
		width: 100%;
		text-align: center;
	}

	#yith-ywraq-form .update-list-wrapper .after-table-right {
		width: 100%;
		justify-content: center;
	}

	/* Form adjustments — both types */
	.yith-ywraq-mail-form-wrapper,
	#ywraq-other-form {
		padding: 28px 22px !important;
		border-radius: 16px;
	}

	.yith-ywraq-mail-form-wrapper .form-row {
		padding: 0;
	}

	.yith-ywraq-mail-form-wrapper .form-row.form-row-first,
	.yith-ywraq-mail-form-wrapper .form-row.form-row-last {
		width: 100%;
	}

	#ywraq-other-form .wpcf7-form input[type="text"],
	#ywraq-other-form .wpcf7-form input[type="email"],
	#ywraq-other-form .wpcf7-form input[type="tel"],
	#ywraq-other-form .wpcf7-form textarea,
	#ywraq-other-form .wpcf7-form select {
		width: 100%;
	}

}


/* =============================================
   F. ADD TO QUOTE BUTTON (PRODUCT PAGES)
   ============================================= */

.yith-ywraq-add-to-quote {
	margin-top: 16px;
}

.woocommerce a.add-request-quote-button.button {
	border-radius: 6px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	position: relative;
	overflow: hidden;
}

.woocommerce a.add-request-quote-button.button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(67, 160, 71, 0.35);
}

.woocommerce a.add-request-quote-button.button:active {
	transform: translateY(-1px);
}

/* Success / already in quote messages */
.yith_ywraq_add_item_product_message,
.yith_ywraq_add_item_response_message {
	color: #43a047;
	font-weight: 700;
	padding: 12px 0;
	animation: fadeInUp 0.4s ease-out;
}

/* Browse quote link — styled as mini button */
.yith_ywraq_add_item_browse_message a {
	display: inline-block;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
	padding: 10px 24px;
	border-radius: 6px;
	font-size: 0.88em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	margin-top: 8px;
}

.yith_ywraq_add_item_browse_message a:hover {
	background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(67, 160, 71, 0.3);
	text-decoration: none;
}

/* Loading spinner */
img.ywraq-loader {
	width: 22px !important;
	height: 22px !important;
	vertical-align: middle;
	margin-left: 10px;
}


/* =============================================
   G. TOAST NOTIFICATION — Premium Slide-in
   ============================================= */

.ywraq-toast {
	position: fixed;
	bottom: 28px;
	right: 28px;
	background: #fff;
	color: #1a1a2e;
	padding: 0;
	border-radius: 16px;
	font-size: 0.95em;
	font-weight: 500;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 99999;
	transform: translateX(120%);
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
	max-width: 420px;
	overflow: hidden;
	border: none;
}

.ywraq-toast.show {
	transform: translateX(0);
	opacity: 1;
	pointer-events: auto;
}

.ywraq-toast.hiding {
	animation: slideOutRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ywraq-toast-body {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
}

.ywraq-toast-text {
	flex: 1;
	line-height: 1.5;
}

.ywraq-toast a {
	color: #43a047;
	text-decoration: none;
	font-weight: 800;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.ywraq-toast a:hover {
	color: #2e7d32;
}

/* Animated icon circle */
.ywraq-toast-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	animation: checkBounce 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
	box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

/* Close button */
.ywraq-toast-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	font-size: 20px;
	color: #ccc;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	transition: all 0.2s ease;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ywraq-toast-close:hover {
	color: #666;
	background: #f5f5f5;
}

/* Progress bar */
.ywraq-toast-progress {
	height: 4px;
	background: linear-gradient(90deg, #43a047, #66bb6a);
	border-radius: 0 0 16px 16px;
}

.ywraq-toast.show .ywraq-toast-progress {
	animation: progressShrink 4.5s linear forwards;
}

/* Red variant for removal */
.ywraq-toast.toast-remove .ywraq-toast-icon {
	background: linear-gradient(135deg, #e53935 0%, #ff5252 100%);
	box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.ywraq-toast.toast-remove .ywraq-toast-progress {
	background: linear-gradient(90deg, #e53935, #ff5252);
}

@media screen and (max-width: 480px) {
	.ywraq-toast {
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-width: none;
		border-radius: 14px;
	}
}


/* =============================================
   H. GENERAL PAGE ENHANCEMENTS
   ============================================= */

/* Return to shop button */
.ywraq-wrapper .yith-ywraq-before-table a.button,
.ywraq-wrapper a.button.return_to_shop_url {
	border-radius: 6px;
	padding: 12px 28px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	font-weight: 700;
	font-size: 0.88em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ywraq-wrapper .yith-ywraq-before-table a.button:hover,
.ywraq-wrapper a.button.return_to_shop_url:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Smooth animations for page wrapper */
.ywraq-wrapper {
	scroll-behavior: smooth;
}

.ywraq-wrapper .ywraq-form-table-wrapper {
	animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ========================================
   "VER MÁS CONTENEDORES" BUTTON
   ======================================== */

.ywraq-ver-mas-container {
	text-align: center;
	margin: 30px 0 40px;
}

.ywraq-ver-mas-btn {
	display: inline-block;
	padding: 14px 36px;
	background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
	color: #fff;
	font-weight: 700;
	font-size: 0.95em;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.ywraq-ver-mas-btn:hover {
	background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(67,160,71,0.3);
	text-decoration: none;
}