/* Store conversion UI — cart, product, checkout buttons */

/* Mobile header cart: hamburger stays left, cart sits on the right */
.lucrecia-mobile-cart {
	display: none;
}

@media (max-width: 1023px) {
	#header.main-header {
		position: sticky;
		top: 0;
		z-index: 4000;
		background: #fff;
		box-shadow: 0 1px 0 rgba(31, 31, 31, 0.08);
	}

	.admin-bar #header.main-header {
		top: 46px;
	}

	.lucrecia-mobile-cart {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 5000;
	}

	.lucrecia-mobile-cart__link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 50px;
		color: #f7ac1a;
		text-decoration: none;
	}

	.lucrecia-mobile-cart__link:hover,
	.lucrecia-mobile-cart__link:focus {
		color: #c56f00;
		text-decoration: none;
	}

	.lucrecia-mobile-cart .fa-shopping-cart {
		position: relative;
		font-size: 22px;
		line-height: 1;
	}

	.lucrecia-mobile-cart .vce-cart-count {
		position: absolute;
		top: -8px;
		right: -10px;
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		border-radius: 8px;
		background: #c56f00;
		color: #fff;
		font-family: inherit;
		font-size: 10px;
		font-style: normal;
		font-weight: 700;
		line-height: 16px;
		text-align: center;
	}

	#sidr-main .sidr-class-vce-cart-icon {
		display: none;
	}
}

@media (min-width: 783px) and (max-width: 1023px) {
	.admin-bar #header.main-header {
		top: 32px;
	}
}

:root {
	--lu-store-primary: #c56f00;
	--lu-store-primary-hover: #a85d00;
	--lu-store-primary-text: #ffffff;
	--lu-store-secondary-bg: #ffffff;
	--lu-store-secondary-border: #d7d7d7;
	--lu-store-secondary-text: #1f1f1f;
	--lu-store-radius: 8px;
	--lu-store-btn-height: 48px;
}

/* Shop toolbar: category and sort dropdowns */
.lucrecia-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 12px;
	width: 100%;
	margin: 2px 0 20px;
}

.lucrecia-shop-toolbar .woocommerce-ordering,
.lucrecia-shop-toolbar .woocommerce-result-count {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

.lucrecia-shop-toolbar .woocommerce-ordering {
	margin-left: 0 !important;
}

.lucrecia-shop-toolbar .woocommerce-result-count {
	flex: 1 1 100%;
	color: #8a7b68;
	font-size: 0.88em;
	line-height: 1.4;
}

.lucrecia-cat-filters {
	position: relative;
	min-width: 0;
}

.lucrecia-cat-filter .lucrecia-sort__menu {
	left: 0;
	right: auto;
}

.lucrecia-sort {
	position: relative;
}

.lucrecia-sort__summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 12px 0 14px;
	border: 1.5px solid #e3dacd;
	border-radius: 999px;
	background: #fff;
	color: #1c1917;
	font-size: 0.92em;
	line-height: 1.2;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.lucrecia-sort__summary::-webkit-details-marker {
	display: none;
}

.lucrecia-sort__summary:hover,
.lucrecia-sort[open] .lucrecia-sort__summary {
	border-color: var(--lu-store-primary);
	background: #fff8ef;
}

.lucrecia-sort__label {
	color: #8a7b68;
	font-weight: 600;
}

.lucrecia-sort__value {
	font-weight: 700;
}

.lucrecia-sort__chevron {
	width: 16px;
	height: 16px;
	color: #8a7b68;
	transition: transform 0.15s ease;
}

.lucrecia-sort[open] .lucrecia-sort__chevron {
	transform: rotate(180deg);
	color: var(--lu-store-primary);
}

.lucrecia-sort:not([open]) .lucrecia-sort__menu {
	display: none;
}

.lucrecia-sort__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 240px;
	margin: 0;
	padding: 6px;
	border: 1px solid #e3dacd;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(80, 52, 20, 0.12);
}

.lucrecia-sort__option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 9px 10px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #1c1917;
	font: inherit;
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.lucrecia-sort__option:hover {
	background: #faf6f0;
	color: #1c1917;
}

.lucrecia-sort__option.is-current {
	background: #fff8ef;
	color: var(--lu-store-primary-hover);
}

.lucrecia-sort__check {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	color: var(--lu-store-primary);
}

.lucrecia-sort__option.is-current .lucrecia-sort__check::before {
	content: "✓";
	font-size: 13px;
	line-height: 16px;
}

@media (max-width: 720px) {
	.lucrecia-shop-toolbar .woocommerce-ordering,
	.lucrecia-shop-toolbar .lucrecia-cat-filters {
		flex: 1 1 100%;
		margin-left: 0 !important;
	}

	.lucrecia-sort,
	.lucrecia-sort__summary {
		width: 100%;
	}

	.lucrecia-sort__summary {
		justify-content: space-between;
	}

	.lucrecia-sort__menu,
	.lucrecia-cat-filter .lucrecia-sort__menu {
		left: 0;
		right: 0;
		min-width: 0;
	}
}

/* Desktop shop grid: a little more air between cards */
@media (min-width: 900px) {
	.woocommerce ul.products {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 52px;
		row-gap: 64px;
		margin: 0;
	}

	.woocommerce ul.products.columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 36px;
	}

	.woocommerce ul.products.columns-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		column-gap: 28px;
	}

	.woocommerce ul.products::before,
	.woocommerce ul.products::after {
		content: none;
		display: none;
	}

	.woocommerce ul.products li.product {
		display: flex;
		flex-direction: column;
		height: 100%;
		width: auto !important;
		max-width: none;
		float: none !important;
		margin: 0 !important;
		clear: none !important;
	}

	.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
		display: flex;
		flex-direction: column;
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
	}

	.woocommerce ul.products li.product a img,
	.woocommerce ul.products li.product .woocommerce-LoopProduct-link > img,
	.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
		aspect-ratio: 1 / 1;
		object-fit: contain;
		height: auto;
	}

	.woocommerce ul.products li.product .price {
		margin-top: 0 !important;
	}
}

/* Wide desktop: four products across the 1140px shop column */
@media (min-width: 1200px) {
	.woocommerce ul.products,
	.woocommerce ul.products.columns-3,
	.woocommerce ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 36px;
	}
}

/* Shop cards: space image from title (opaque photos need breathing room) */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link > img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
	display: block;
	width: 100%;
	margin: 0 0 14px !important;
	border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
	margin: 0 0 6px !important;
	padding: 0 4px !important;
	line-height: 1.35;
	min-width: 0;
	max-width: 100%;
	min-height: calc(1.35em * 2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	white-space: normal;
}

@media (min-width: 900px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
	.woocommerce ul.products li.product h3 {
		margin-top: 0 !important;
		margin-bottom: 2px !important;
	}
}

.woocommerce ul.products li.product .lucrecia-loop-lead {
	display: block;
	margin: 2px 4px 8px;
	color: #8a5a12;
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.35;
}

.woocommerce ul.products li.product .lucrecia-loop-lead.is-empty {
	display: none;
}

@media (min-width: 900px) {
	.woocommerce ul.products li.product .lucrecia-loop-lead:not(.is-empty) {
		margin-top: 2px;
	}
}

.woocommerce div.product p.stock {
	margin: 0 0 14px;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.4;
}

.woocommerce div.product p.stock.in-stock {
	color: #3d6b45;
}

.woocommerce div.product p.stock.available-on-backorder,
.woocommerce .backorder_notification,
.lucrecia-shipping-lead--wait {
	color: #8a5a12;
}

.lucrecia-shipping-lead,
.woocommerce .backorder_notification {
	margin: 10px 0 0;
	font-size: 0.86em;
	font-weight: 600;
	line-height: 1.4;
}

.lucrecia-shipping-lead {
	color: #3d6b45;
}

/* Circular thumbnail for Encanto Floral set (opaque square photo) */
.woocommerce ul.products li.product.post-885 a img,
.woocommerce ul.products li.product.post-885 img,
li.product.post-885 img,
.post-885 img {
	border-radius: 50% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Hide confusing "Continuar compras" in add-to-cart success notice */
.woocommerce-message .button.wc-forward,
.woocommerce-message a.button.wc-forward {
	display: none !important;
}

.woocommerce-message {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-top-color: var(--lu-store-primary);
}

/* ---- Buttons (conversion hierarchy) ---- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce #place_order {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0;
	min-height: var(--lu-store-btn-height);
	padding: 0 22px !important;
	border: none;
	border-radius: var(--lu-store-radius);
	background: var(--lu-store-primary) !important;
	color: var(--lu-store-primary-text) !important;
	font-size: 1.08em;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none !important;
	vertical-align: middle;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
	background: var(--lu-store-primary-hover) !important;
	color: var(--lu-store-primary-text) !important;
	box-shadow: 0 4px 12px rgba(197, 111, 0, 0.32);
	transform: translateY(-1px);
}

.woocommerce .lucrecia-btn-primary,
.woocommerce a.checkout-button,
.woocommerce a.checkout-button.button.alt,
.woocommerce #place_order,
.woocommerce .single_add_to_cart_button.button.alt,
.woocommerce button.button.alt {
	width: 100%;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 54px;
	padding: 0 24px !important;
	font-size: 1.18em !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

/* Icons on checkout CTA throw text off-center — remove them */
.woocommerce a.checkout-button::before,
.woocommerce a.checkout-button::after,
.woocommerce a.checkout-button.wc-forward::before,
.woocommerce a.checkout-button.wc-forward::after,
.woocommerce #place_order::before,
.woocommerce #place_order::after {
	content: none !important;
	display: none !important;
	margin: 0 !important;
}

/* Shop cards: one button, with a quiet link underneath */
.woocommerce ul.products li.product .lucrecia-loop-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	margin: 12px 0 0;
}

.woocommerce ul.products li.product .lucrecia-loop-actions .button {
	width: 100% !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	font-size: 0.92em !important;
	font-weight: 700 !important;
	letter-spacing: 0;
	box-shadow: none;
}

.woocommerce ul.products li.product .lucrecia-loop-actions__view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	color: #8a7b68;
	font-size: 0.86em;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.woocommerce ul.products li.product .lucrecia-loop-actions__view:hover {
	color: var(--lu-store-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce ul.products li.product .lucrecia-loop-actions__view--solo {
	min-height: 42px !important;
	color: var(--lu-store-primary-text) !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product .lucrecia-loop-actions__view--solo:hover {
	color: var(--lu-store-primary-text) !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product .lucrecia-loop-actions .button.added {
	display: inline-flex !important;
}

.woocommerce ul.products li.product .lucrecia-loop-actions a.added_to_cart {
	order: 3;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--lu-store-primary-hover) !important;
	font-size: 0.82em !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	box-shadow: none !important;
	text-decoration: underline !important;
	transform: none !important;
}

.woocommerce ul.products li.product .lucrecia-loop-actions a.added_to_cart::after {
	content: none !important;
}

.woocommerce ul.products li.product .lucrecia-loop-actions a.added_to_cart:hover {
	background: transparent !important;
	color: var(--lu-store-primary) !important;
	box-shadow: none !important;
}

.woocommerce .lucrecia-btn-secondary,
.woocommerce button[name="update_cart"],
.woocommerce button[name="apply_coupon"],
.woocommerce a.button.wc-backward {
	background: var(--lu-store-secondary-bg) !important;
	color: var(--lu-store-secondary-text) !important;
	border: 1px solid var(--lu-store-secondary-border) !important;
	box-shadow: none;
	font-weight: 600;
}

.woocommerce .lucrecia-btn-secondary:hover,
.woocommerce button[name="update_cart"]:hover,
.woocommerce button[name="apply_coupon"]:hover,
.woocommerce a.button.wc-backward:hover {
	background: #f7f7f7 !important;
	color: var(--lu-store-secondary-text) !important;
	border-color: #bdbdbd !important;
	box-shadow: none;
	transform: none;
}

/* ---- Cart actions: back + discreet coupon on the left ---- */
.woocommerce-cart .lucrecia-cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 16px 28px;
	width: 100%;
}

.woocommerce-cart .lucrecia-cart-actions__left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 420px;
	width: 100%;
}

.woocommerce-cart .lucrecia-back-to-shop {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 0;
	color: #666;
	font-size: 0.95em;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.woocommerce-cart .lucrecia-back-to-shop:hover {
	color: var(--lu-store-primary-hover);
	border-bottom-color: currentColor;
}

.woocommerce-cart .lucrecia-back-to-shop::before {
	content: "←";
	margin-right: 8px;
}

/* Hidden: qty +/- auto-submits this */
.woocommerce-cart button.lucrecia-update-cart,
.woocommerce-cart button[name="update_cart"].lucrecia-update-cart {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	min-height: 0 !important;
}

/* ---- Coupon field (left-aligned, readable) ---- */
.woocommerce-cart .lucrecia-coupon {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	max-width: 420px;
}

.woocommerce-cart .lucrecia-coupon label {
	display: block;
	font-size: 0.92em;
	font-weight: 500;
	line-height: 1.35;
	color: #666;
	letter-spacing: 0;
	text-transform: none;
}

.woocommerce-cart .lucrecia-coupon__row {
	display: flex;
	gap: 8px;
	align-items: stretch;
	width: 100%;
}

.woocommerce-cart .lucrecia-coupon__row #coupon_code,
.woocommerce-cart .lucrecia-coupon__row input.input-text {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	min-height: 46px;
	padding: 12px 14px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	font-size: 1em;
	background: #fff;
	color: #222;
}

.woocommerce-cart .lucrecia-coupon__row #coupon_code::placeholder {
	color: #999;
}

.woocommerce-cart .lucrecia-coupon__row #coupon_code:focus {
	outline: 2px solid rgba(197, 111, 0, 0.25);
	border-color: #c56f00;
	background: #fff;
}

.woocommerce-cart .lucrecia-coupon__row .button {
	flex: 0 0 auto;
	white-space: nowrap;
	min-height: 46px !important;
	padding: 0 18px !important;
	font-size: 0.95em !important;
	font-weight: 700 !important;
}

/* ---- Larger product image in cart ---- */
.woocommerce-cart table.cart img,
.woocommerce-cart table.shop_table.cart .product-thumbnail img {
	width: 96px !important;
	height: auto !important;
	max-width: 96px;
	border-radius: 6px;
}

.woocommerce-cart table.cart .product-thumbnail {
	width: 110px;
}

/* ---- Quantity selectors ---- */
.woocommerce .quantity.buttons_added {
	display: inline-flex;
	align-items: stretch;
	float: none;
	overflow: hidden;
	border: 1px solid #cfcfcf;
	border-radius: var(--lu-store-radius);
	background: #fff;
}

.woocommerce .quantity.buttons_added .minus,
.woocommerce .quantity.buttons_added .plus,
.woocommerce .quantity.buttons_added .qty,
.woocommerce .quantity.buttons_added input.qty {
	float: none;
	height: 44px;
	width: 44px;
	min-width: 44px;
	line-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #f5f5f5;
	color: #222;
	font-size: 1.25em;
	font-weight: 700;
	cursor: pointer;
}

.woocommerce .quantity.buttons_added .qty,
.woocommerce .quantity.buttons_added input.qty {
	width: 56px;
	min-width: 56px;
	background: #fff;
	border-left: 1px solid #e4e4e4;
	border-right: 1px solid #e4e4e4;
	font-size: 1.1em;
	font-weight: 600;
	-moz-appearance: textfield;
	appearance: textfield;
}

.woocommerce .quantity.buttons_added .minus:hover,
.woocommerce .quantity.buttons_added .plus:hover {
	background: #ececec;
	color: #000;
}

.woocommerce .quantity.buttons_added input::-webkit-outer-spin-button,
.woocommerce .quantity.buttons_added input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Product page: qty height matches Adicionar; keep cart qty a bit smaller */
.woocommerce div.product form.cart .quantity.buttons_added .minus,
.woocommerce div.product form.cart .quantity.buttons_added .plus,
.woocommerce div.product form.cart .quantity.buttons_added .qty,
.woocommerce div.product form.cart .quantity.buttons_added input.qty {
	height: 54px;
	line-height: 54px;
	width: 48px;
	min-width: 48px;
}

.woocommerce div.product form.cart .quantity.buttons_added .qty,
.woocommerce div.product form.cart .quantity.buttons_added input.qty {
	width: 60px;
	min-width: 60px;
}

/* Variation size toggles (replace dropdown) */
.woocommerce div.product form.cart .variations {
	width: 100%;
	margin: 0 0 14px;
	border: 0;
}

.woocommerce div.product form.cart .variations td.label,
.woocommerce div.product form.cart .variations th.label {
	display: block;
	padding: 0 0 8px;
	width: auto;
}

.woocommerce div.product form.cart .variations td.value {
	display: block;
	padding: 0;
}

.woocommerce div.product form.cart .reset_variations {
	display: none !important;
}

.lucrecia-variation-control {
	position: relative;
}

.lucrecia-variation-control > select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.lucrecia-variation-swatches {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid #cfcfcf;
	border-radius: var(--lu-store-radius);
	background: #fff;
}

.lucrecia-variation-swatch {
	appearance: none;
	margin: 0;
	padding: 0 18px;
	min-width: 84px;
	height: 54px;
	border: 0;
	border-right: 1px solid #e4e4e4;
	border-radius: 0;
	background: #f5f5f5;
	color: #222;
	font-size: 1em;
	font-weight: 700;
	line-height: 54px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.lucrecia-variation-swatch:last-child {
	border-right: 0;
}

.lucrecia-variation-swatch:hover {
	background: #ececec;
}

.lucrecia-variation-swatch.is-selected {
	background: var(--lu-store-primary);
	color: var(--lu-store-primary-text);
}

.lucrecia-variation-swatch.is-selected:hover {
	background: var(--lu-store-primary-hover);
	color: var(--lu-store-primary-text);
}

/* Variable product form: stack attributes, keep qty + CTA in a row */
.woocommerce div.product form.variations_form.cart {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.woocommerce div.product form.variations_form .single_variation_wrap,
.woocommerce div.product form.variations_form .variations_button {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.woocommerce div.product form.variations_form .woocommerce-variation {
	width: 100%;
	float: none;
	margin: 0 0 4px;
}

.woocommerce div.product form.variations_form .woocommerce-variation-price {
	display: none; /* main summary price updates via default variation */
}

/* Product page: qty + add to cart alignment */
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 220px;
	width: auto;
	min-height: 54px;
}

/* ---- Breadcrumbs ---- */
.woocommerce .woocommerce-breadcrumb.lucrecia-breadcrumb,
.woocommerce .lucrecia-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 8px 0 28px;
	padding: 12px 16px;
	border: 1px solid #e7e2da;
	border-radius: 10px;
	background: #f7f4ef;
	color: #6b6560;
	font-size: 0.86em;
	line-height: 1.4;
}

.woocommerce .lucrecia-breadcrumb a {
	color: #5a534c;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.woocommerce .lucrecia-breadcrumb a:hover {
	color: var(--lu-store-primary);
	border-bottom-color: rgba(197, 111, 0, 0.45);
}

.woocommerce .lucrecia-breadcrumb .lucrecia-breadcrumb-sep {
	color: #b0a89f;
	font-weight: 400;
	padding: 0 2px;
}

.woocommerce .lucrecia-breadcrumb .lucrecia-breadcrumb-item:last-child {
	color: #1c1917;
	font-weight: 600;
}

.single-product .main-box-single > .lucrecia-breadcrumb,
.single-product .main-box-single > .woocommerce-breadcrumb {
	margin-top: 4px;
	margin-bottom: 32px;
}

.single-product .woocommerce-notices-wrapper:empty {
	display: none;
}

/* ---- Product details as stacked sections ---- */
.woocommerce div.product .lucrecia-product-sections {
	clear: both;
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 36px 0 8px;
	padding-top: 8px;
	border-top: 1px solid #ebe6df;
}

.woocommerce div.product .lucrecia-product-section {
	margin: 0;
	padding: 22px 24px 24px;
	border: 1px solid #e7e2da;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(28, 25, 23, 0.03);
}

.woocommerce div.product .lucrecia-product-section__head {
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 1px solid #f0ebe4;
}

.woocommerce div.product .lucrecia-product-section__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
	font-weight: 700;
	color: #1c1917;
	letter-spacing: 0.01em;
}

.woocommerce div.product .lucrecia-product-section__body {
	margin: 0;
	color: #444;
	font-size: 0.98em;
	line-height: 1.65;
}

.woocommerce div.product .lucrecia-product-section__body > *:first-child {
	margin-top: 0;
}

.woocommerce div.product .lucrecia-product-section__body > *:last-child {
	margin-bottom: 0;
}

.woocommerce div.product .lucrecia-product-section__body h2,
.woocommerce div.product .lucrecia-product-section__body .woocommerce-Reviews-title {
	display: none;
}

.woocommerce div.product .lucrecia-product-section table.shop_attributes {
	margin: 0;
	border: 0;
}

.woocommerce div.product .lucrecia-product-section table.shop_attributes th,
.woocommerce div.product .lucrecia-product-section table.shop_attributes td {
	padding: 10px 0;
	border-bottom: 1px solid #f0ebe4;
	background: transparent;
	vertical-align: top;
}

.woocommerce div.product .lucrecia-product-section table.shop_attributes tr:last-child th,
.woocommerce div.product .lucrecia-product-section table.shop_attributes tr:last-child td {
	border-bottom: 0;
}

.woocommerce div.product .lucrecia-product-section table.shop_attributes th {
	width: 34%;
	padding-right: 16px;
	color: #1c1917;
	font-weight: 600;
}

.woocommerce div.product .lucrecia-product-section #reviews {
	margin: 0;
}

.woocommerce div.product .lucrecia-product-section #review_form_wrapper {
	margin-top: 18px;
}

/* Hide legacy tab chrome if a cache still serves old markup */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel.wc-tab {
	display: block !important;
	opacity: 1 !important;
	height: auto !important;
}

.woocommerce-cart .cart_totals .checkout-button {
	margin-top: 8px;
}

/*
 * Voice pins .entry-content to 770px and floats .cart_totals at 48%.
 * Shipping cards then sit in a narrow right-hand cell. Stretch the cart
 * column to the site container and let the totals (and the cards) fill it.
 */
body.woocommerce-cart #primary.vce-main-content,
body.woocommerce-cart .vce-main-content,
body.woocommerce-cart .main-box,
body.woocommerce-cart .main-box-single {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

body.woocommerce-cart .vce-page .entry-content,
body.woocommerce-cart .vce-page .entry-content.page-content,
body.woocommerce-cart.vce-sid-none .vce-page .entry-content,
body.woocommerce-cart.vce-sid-none .vce-page .entry-title-page {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
	box-sizing: border-box !important;
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
	float: none !important;
	clear: both;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

body.woocommerce-cart .cart-collaterals .cart_totals table,
body.woocommerce-cart .cart-collaterals .cart_totals tbody,
body.woocommerce-cart .cart-collaterals .cart_totals thead,
body.woocommerce-cart .cart-collaterals .cart_totals tfoot {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	table-layout: auto;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	width: 100% !important;
	max-width: none !important;
	gap: 16px;
	box-sizing: border-box;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr th,
body.woocommerce-cart .cart-collaterals .cart_totals tr td {
	display: block;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	box-sizing: border-box;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping {
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px;
}

body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping th,
body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping td {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	flex: 1 1 100%;
	text-align: left !important;
	padding-left: 0;
	padding-right: 0;
}

/* Labels already live in the th; Woo's mobile data-title would repeat them. */
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table_responsive tr td::before,
body.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals table.shop_table_responsive tr td::before {
	content: none !important;
	display: none !important;
}

/* Shipping method cards — cart + checkout */
.woocommerce ul#shipping_method.lucrecia-shipping-methods,
.woocommerce ul#shipping_method.woocommerce-shipping-methods {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100% !important;
	min-width: 100%;
	max-width: none !important;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left !important;
	float: none !important;
	box-sizing: border-box;
}

.woocommerce ul#shipping_method .lucrecia-shipping-method,
.woocommerce ul#shipping_method li {
	position: relative;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	align-self: stretch;
	margin: 0;
	padding: 12px 14px 12px 42px;
	border: 1.5px solid #e3dacd;
	border-radius: 12px;
	background: #faf6f0;
	list-style: none;
	float: none !important;
	box-sizing: border-box;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce ul#shipping_method .lucrecia-shipping-method:hover,
.woocommerce ul#shipping_method li:hover {
	border-color: #d4c4ae;
	background: #fffdf9;
}

.woocommerce ul#shipping_method .lucrecia-shipping-method.is-selected,
.woocommerce ul#shipping_method li:has(> input.shipping_method:checked) {
	border-color: var(--lu-store-primary);
	background: #fff8ef;
	box-shadow: 0 0 0 1px var(--lu-store-primary);
}

.woocommerce ul#shipping_method li > input.shipping_method {
	position: absolute;
	left: 14px;
	/* Align the 18px control with the first text line (card padding-top is 12px). */
	top: 12px;
	z-index: 2;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--lu-store-primary);
	cursor: pointer;
}

.woocommerce ul#shipping_method li > label {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 0.98em;
	font-weight: 600;
	line-height: 1.35;
	color: #1c1917;
	cursor: pointer;
}

/* The label only wraps the title. Stretch a hit area over the whole card. */
.woocommerce ul#shipping_method li > label::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	cursor: pointer;
}

.woocommerce ul#shipping_method .lucrecia-pickup-address {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	font-size: 0.84em;
	line-height: 1.4;
	font-weight: 500;
	color: #5a4a36;
}

.woocommerce ul#shipping_method .lucrecia-pickup-address__lines {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.woocommerce ul#shipping_method .lucrecia-pickup-address__map {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #8a7b68;
	font-size: 0.92em;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(197, 111, 0, 0.45);
	cursor: pointer;
}

.woocommerce ul#shipping_method .lucrecia-pickup-address__map svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.woocommerce ul#shipping_method .lucrecia-pickup-address__map:hover {
	color: var(--lu-store-primary);
	text-decoration-color: var(--lu-store-primary);
}

.woocommerce-cart .cart_totals table tr.shipping,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
}

.woocommerce-cart .cart_totals table tr.shipping th,
.woocommerce-cart .cart_totals table tr.shipping td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping td {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	text-align: left !important;
}

.woocommerce-cart .cart_totals table tr.shipping th {
	padding: 14px 0 8px;
}

.woocommerce-cart .cart_totals table tr.shipping td {
	padding: 0 0 12px;
}

@media (max-width: 768px) {
	.woocommerce-cart .cart-collaterals,
	.woocommerce-page.woocommerce-cart .cart-collaterals {
		width: 100% !important;
		float: none !important;
		clear: both;
	}

	.woocommerce-cart .cart-collaterals .cart_totals,
	.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals,
	.woocommerce-cart .cart_totals {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 16px 0 0 !important;
		padding: 0 14px 16px !important;
		box-sizing: border-box;
	}

	.woocommerce-cart .cart-collaterals .cross-sells,
	.woocommerce-cart .cart-collaterals .shipping_calculator {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.woocommerce-cart .lucrecia-cart-actions,
	.woocommerce-cart .lucrecia-cart-actions__left,
	.woocommerce-cart .lucrecia-coupon__row {
		flex-direction: column;
		align-items: stretch;
	}

	.woocommerce-cart .lucrecia-cart-actions__left,
	.woocommerce-cart .lucrecia-coupon {
		max-width: 100%;
		width: 100%;
	}

	.woocommerce-cart table.cart img,
	.woocommerce-cart table.shop_table.cart .product-thumbnail img {
		width: 72px !important;
		max-width: 72px;
	}

	.woocommerce .lucrecia-breadcrumb {
		margin-bottom: 20px;
		padding: 10px 12px;
		font-size: 0.82em;
	}

	.woocommerce div.product .lucrecia-product-sections {
		margin-top: 28px;
		gap: 14px;
	}

	.woocommerce div.product .lucrecia-product-section {
		padding: 18px 16px 20px;
	}

	.woocommerce div.product .lucrecia-product-section table.shop_attributes th,
	.woocommerce div.product .lucrecia-product-section table.shop_attributes td {
		display: block;
		width: 100%;
		padding-right: 0;
	}

	.woocommerce div.product .lucrecia-product-section table.shop_attributes th {
		padding-bottom: 2px;
		border-bottom: 0;
	}

	.woocommerce div.product .lucrecia-product-section table.shop_attributes td {
		padding-top: 0;
		padding-bottom: 12px;
	}
}

/* Shop contact gadget */
.lucrecia-contact {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
}

.lucrecia-contact__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px 0 12px;
	border: 0;
	border-radius: 999px;
	background: var(--lu-store-primary);
	color: #fff;
	font-size: 0.92em;
	font-weight: 700;
	line-height: 1;
	list-style: none;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(140, 72, 0, 0.28);
}

.lucrecia-contact__toggle::-webkit-details-marker {
	display: none;
}

.lucrecia-contact__toggle svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.lucrecia-contact__details[open] .lucrecia-contact__toggle {
	background: var(--lu-store-primary-hover);
}

.lucrecia-contact__details:not([open]) .lucrecia-contact__panel {
	display: none;
}

.lucrecia-contact__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 260px;
	max-width: calc(100vw - 32px);
	padding: 14px;
	border: 1px solid #e3dacd;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 32px rgba(80, 52, 20, 0.16);
}

.lucrecia-contact__intro {
	margin: 0 2px 2px;
	color: #5a4a36;
	font-size: 0.86em;
	line-height: 1.4;
}

.lucrecia-contact__link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border: 1.5px solid #e3dacd;
	border-radius: 12px;
	background: #fff;
	color: #1c1917;
	text-decoration: none;
}

.lucrecia-contact__link:hover {
	border-color: var(--lu-store-primary);
	background: #fff8ef;
	color: #1c1917;
}

.lucrecia-contact__link--whatsapp {
	border-color: #b7dfc4;
	background: #f3fbf6;
}

.lucrecia-contact__link--whatsapp:hover {
	border-color: #128c7e;
	background: #e7f6ee;
}

.lucrecia-contact__name {
	font-size: 0.92em;
	font-weight: 700;
	line-height: 1.2;
}

.lucrecia-contact__meta {
	color: #5a4a36;
	font-size: 0.82em;
	line-height: 1.3;
	word-break: break-word;
}
