/* =====================================================================
   La Truffle — UX v2 (approved plan, UX-PLAN.md). Loaded after site.css.
   ===================================================================== */

/* ---------- Sticky header + location bar under it ---------- */
#masthead { position: sticky; top: 0; z-index: 990; }
.admin-bar #masthead { top: 32px; }
.lt-topbar { position: sticky; top: var(--lt-head-h, 80px); z-index: 980; }
.lt-header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 10px; border-radius: 50%; background: transparent !important; border: 1px solid var(--lt-line) !important; color: var(--lt-ink) !important; cursor: pointer; padding: 0 !important; }
.lt-header-cart:hover { border-color: var(--lt-ink) !important; }
.lt-cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--lt-gold); color: #fff; font-size: 11px; font-weight: 600; line-height: 19px; text-align: center; }
.lt-cart-count.is-zero { display: none; }
.xoo-wsc-basket { display: none !important; }
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-primary-header-bar, .ast-header-break-point .main-header-bar { min-height: 60px !important; padding: 4px 0 !important; }
	.ast-header-break-point .site-header .custom-logo-link img, .ast-mobile-header-wrap .custom-logo-link img { max-height: 44px !important; width: auto; }
	.lt-header-cart { width: 40px; height: 40px; margin-left: 6px; }
}

/* ---------- Mobile bottom nav + cart pill ---------- */
.lt-bottom-nav, .lt-cart-pill, .lt-buybar, .lt-paybar, .lt-co-summary-bar { display: none; }
@media (max-width: 767px) {
	.lt-wa-float { display: none !important; }
	body.lt-has-bottomnav { padding-bottom: 68px; }
	.lt-bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; background: #fff; border-top: 1px solid var(--lt-line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.25); }
	.lt-bottom-nav a, .lt-bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 500 11px/1.2 var(--lt-sans); color: var(--lt-muted) !important; background: none !important; border: 0 !important; padding: 4px 0 !important; text-decoration: none; letter-spacing: .3px; text-transform: none !important; }
	.lt-bottom-nav .is-active { color: var(--lt-ink) !important; }
	.lt-bottom-nav .lt-bn-wa { color: #1f7a4d !important; }
	.lt-bottom-nav .lt-cart-count { top: 0; right: calc(50% - 22px); }
	.lt-cart-pill { display: block; position: fixed; left: var(--lt-gutter); right: var(--lt-gutter); bottom: 76px; z-index: 994; }
	.lt-cart-pill[hidden] { display: none; }
	.lt-cart-pill-btn { width: 100%; display: flex !important; align-items: center; gap: 10px; background: var(--lt-ink) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 10px 10px 10px 12px !important; font: 500 14px var(--lt-sans) !important; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); text-transform: none !important; letter-spacing: 0 !important; }
	.lt-cart-pill-btn span:nth-child(2) { flex: 1; text-align: left; }
	.lt-pill-n { width: 26px; height: 26px; border-radius: 50%; background: var(--lt-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
	.lt-cart-pill-btn b { background: var(--lt-gold); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; }
}

/* ---------- Product page ---------- */
.single-product .product_title { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.1; margin-bottom: 6px !important; }
.single-product .summary .price { font-size: 26px !important; margin: 4px 0 10px !important; }
.single-product .woocommerce-product-details__short-description { color: var(--lt-muted); font-size: 15.5px; }
@media (max-width: 767px) {
	.single-product .woocommerce-breadcrumb { display: none; }
	.single-product .summary .ast-woo-product-category { display: none; }
	body.lt-has-buybar { padding-bottom: 78px; }
	.lt-buybar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; background: #fff; border-top: 1px solid var(--lt-line); padding: 10px var(--lt-gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.25); transition: transform .25s; }
	.lt-buybar.is-hidden { transform: translateY(110%); }
	.lt-buybar-price { flex: 0 0 auto; font: 600 18px var(--lt-sans); color: var(--lt-cocoa); }
	.lt-buybar-price .lt-from, .lt-buybar-price small { font-size: 12px; font-weight: 400; color: var(--lt-muted); }
	.lt-buybar-add { flex: 1; padding: 13px 10px !important; }
	.lt-buybar-wa { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: #1f7a4d !important; color: #fff !important; border: 0 !important; display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; }
	.single-product .related ul.products { display: flex !important; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px !important; }
	.single-product .related ul.products li.product { flex: 0 0 62% !important; scroll-snap-align: start; }
}

/* ---------- Date & slot chips ---------- */
.lt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.lt-chip { border: 1px solid var(--lt-line) !important; background: #fff !important; color: var(--lt-ink) !important; border-radius: 999px !important; padding: 9px 14px !important; font: 500 13.5px/1 var(--lt-sans) !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; min-height: 40px; }
.lt-chip.is-active { background: var(--lt-ink) !important; color: #fff !important; border-color: var(--lt-ink) !important; }
.lt-chip-ghost { border-style: dashed !important; color: var(--lt-muted) !important; }
.lt-has-chips .lt-slot-row { display: none; }
.lt-has-chips .lt-slot-row.lt-show-date { display: grid; grid-template-columns: 1fr; }
.lt-has-chips .lt-slot-row.lt-show-date .lt-field:last-child { display: none; }
.lt-slot-chips:empty { display: none; }
@media (max-width: 767px) {
	.lt-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -2px; padding: 2px 2px 4px; scrollbar-width: none; }
	.lt-chips::-webkit-scrollbar { display: none; }
	.lt-chip { flex: 0 0 auto; }
}

/* ---------- Menu: tabs, cards, badges ---------- */
.lt-pills:not(.lt-pills-sub) { gap: 0; border-bottom: 1px solid var(--lt-line); justify-content: flex-start; margin-bottom: 16px; }
.lt-pills:not(.lt-pills-sub) a { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 12px 16px !important; color: var(--lt-muted) !important; font-size: 15px; border-bottom: 2px solid transparent !important; margin-bottom: -1px; }
.lt-pills:not(.lt-pills-sub) a.is-active, .lt-pills:not(.lt-pills-sub) a:hover { color: var(--lt-ink) !important; border-bottom-color: var(--lt-gold) !important; background: none !important; }
.lt-pills-sub { justify-content: flex-start; margin-top: 0; }
.lt-pills-sub a.is-active { background: var(--lt-ink) !important; color: #fff !important; }

.woocommerce ul.products li.product .astra-shop-summary-wrap { display: grid !important; grid-template-columns: 1fr auto; align-items: center; text-align: left !important; gap: 4px 8px !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > * { grid-column: 1 / -1; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price { grid-column: 1; align-self: center; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button { grid-column: 2; align-self: center; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0 !important; text-align: left; }
.lt-card-note { margin: 0; font-size: 13px; color: var(--lt-muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.woocommerce ul.products li.product .button { width: 42px !important; height: 42px !important; min-width: 42px; padding: 0 !important; border-radius: 50% !important; font-size: 0 !important; margin: 0 !important; position: relative; }
.woocommerce ul.products li.product .button::before { content: "+"; font-size: 24px; line-height: 1; font-weight: 300; }
.woocommerce ul.products li.product .button.loading::before { content: "…"; font-size: 18px; }
.woocommerce ul.products li.product .button.added::before { content: "✓"; font-size: 18px; }
.woocommerce ul.products li.product .button::after { display: none !important; }
.woocommerce ul.products li.product .added_to_cart { display: none !important; }
.lt-from, .lt-from-unit { font-size: 12px; color: var(--lt-muted); font-weight: 400; }
.lt-badge-best { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--lt-ink); color: #fff; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.lt-badge-cake { background: var(--lt-gold); }
@media (max-width: 767px) {
	.woocommerce ul.products li.product .button { width: 36px !important; height: 36px !important; min-width: 36px; }
	.lt-card-note { font-size: 12px; }
	.lt-badge-best { top: 8px; right: 8px; font-size: 9px; padding: 2px 7px; }
	.lt-pills:not(.lt-pills-sub) a { padding: 10px 12px !important; font-size: 14px; }
}

/* ---------- Home ---------- */
.lt-offer { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--lt-ink); color: #fff; border-radius: var(--lt-radius); padding: 22px 26px; }
.lt-offer p { margin: 0; }
.lt-offer-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--lt-gold); }
.lt-offer-title { font-family: var(--lt-serif); font-size: 28px; color: #fff; }
.lt-offer .lt-btn { background: var(--lt-gold) !important; border-color: var(--lt-gold) !important; }
.lt-offer-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.lt-offer-widget { width: 100%; }
@media (max-width: 767px) {
	.lt-hero-media { order: -1 !important; }
	.lt-hero { padding-top: 12px !important; }
	.lt-hero-media .lt-photo img { aspect-ratio: 4 / 3 !important; }
	.lt-cat-cards { display: flex !important; overflow-x: auto; gap: 12px; padding-bottom: 6px; scrollbar-width: none; }
	.lt-cat-cards::-webkit-scrollbar { display: none; }
	.lt-cat-card { flex: 0 0 82px; }
	.lt-cat-card img { border-radius: 50% !important; aspect-ratio: 1; }
	.lt-cat-card span { font-family: var(--lt-sans) !important; font-size: 12.5px !important; font-weight: 500 !important; margin-top: 6px; }
	.home .lt-section ul.products { display: flex !important; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px !important; }
	.home .lt-section ul.products li.product { flex: 0 0 62% !important; scroll-snap-align: start; }
	.lt-offer { flex-direction: column; align-items: flex-start; padding: 18px; }
	.lt-offer-title { font-size: 24px; }
	.lt-offer .lt-btn { width: 100%; }
	.lt-section { padding-top: 40px !important; padding-bottom: 40px !important; }
	.lt-trust-strip { padding: 22px var(--lt-gutter) !important; }
}

/* ---------- Checkout: How → When → Details → Where ---------- */
.lt-how-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lt-how-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; background: #fff !important; color: var(--lt-ink) !important; border: 1.5px solid var(--lt-line) !important; border-radius: var(--lt-radius) !important; padding: 16px !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--lt-sans) !important; }
.lt-how-card.is-active { border-color: var(--lt-ink) !important; box-shadow: 0 0 0 1px var(--lt-ink); }
.lt-how-card.is-off { opacity: .7; border-style: dashed !important; }
.lt-how-ico { font-size: 22px; }
.lt-how-t { font: 600 17px var(--lt-sans); }
.lt-how-s { font-size: 13px; color: var(--lt-muted); }
.lt-how-note { margin: 10px 0 0; font-size: 13.5px; color: var(--lt-muted); }
.lt-how-note:empty { display: none; }
#order_review #shipping_method li:has(input[type=radio]:not(:checked)) { display: none !important; }
#order_review #shipping_method input[type=radio] { display: none; }
.lt-where-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-bottom: 12px; }
.lt-where-fields .form-row { width: auto !important; float: none !important; margin: 0 0 10px !important; }
.lt-where-fields #billing_address_1_field, .lt-where-fields #billing_address_2_field { grid-column: 1 / -1; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: none; border: 0; padding: 0 0 10px; font-size: 14px; color: var(--lt-muted); }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
@media (min-width: 922px) {
	form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 36px; align-items: start; }
	form.checkout > * { grid-column: 1; }
	form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0 !important; }
	form.checkout > #order_review { grid-column: 2; grid-row: 2 / span 20; position: sticky; top: calc(var(--lt-head-h, 80px) + 60px); width: 100% !important; float: none !important; background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); padding: 18px; }
	.woocommerce-checkout #order_review_heading { width: 100% !important; float: none !important; }
}
@media (max-width: 767px) {
	.lt-co-summary-bar { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; background: #fff !important; color: var(--lt-ink) !important; border: 1px solid var(--lt-line) !important; border-radius: 12px !important; padding: 12px 14px !important; margin: 0 0 14px; font: 500 15px var(--lt-sans) !important; text-transform: none !important; letter-spacing: 0 !important; }
	.lt-co-sum-t { margin-left: auto; font-weight: 600; }
	.lt-where-fields { grid-template-columns: 1fr; }
	.lt-co-block, .woocommerce-checkout .woocommerce-billing-fields, .lt-co-mapblock { padding: 16px; }
	body.lt-has-paybar { padding-bottom: 82px; }
	.lt-paybar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; background: #fff; border-top: 1px solid var(--lt-line); padding: 10px var(--lt-gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.25); }
	.lt-paybar small { display: block; font-size: 11px; color: var(--lt-muted); }
	.lt-paybar b { font-size: 19px; }
	.lt-paybar .lt-btn { flex: 1; }
	.lt-map-box { height: 220px; }
}

/* ---------- Location popup: bottom sheet on mobile ---------- */
.lt-loc-or { margin: 12px 0 !important; }
.lt-loc-search { margin-bottom: 4px; }
@media (max-width: 767px) {
	.lt-loc-modal { align-items: flex-end; padding: 0; }
	.lt-loc-box { max-width: none; border-radius: 20px 20px 0 0; padding: 26px var(--lt-gutter) calc(18px + env(safe-area-inset-bottom)); max-height: 88vh; }
	.lt-loc-box::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--lt-line); }
	.lt-loc-box h2 { font-size: 28px; }
}

/* ---------- Footer: collapsible on mobile ---------- */
@media (max-width: 767px) {
	.lt-footer-in { gap: 0; padding-top: 40px; }
	.lt-f-brand { margin-bottom: 18px; }
	.lt-footer-in > div:not(.lt-f-brand) { border-top: 1px solid rgba(255,255,255,.12); }
	.lt-footer-in > div:not(.lt-f-brand) > h4 { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 14px 0; font-size: 19px; cursor: pointer; }
	.lt-footer-in > div:not(.lt-f-brand) > h4::after { content: "+"; font-family: var(--lt-sans); font-weight: 300; font-size: 22px; }
	.lt-footer-in > div.is-open > h4::after { content: "–"; }
	.lt-footer-in > div:not(.lt-f-brand):not(.is-open) > :not(h4) { display: none; }
	.lt-footer-in > div.is-open { padding-bottom: 12px; }
}

/* ---------- Side cart in brand style ---------- */
.xoo-wsc-container, .xoo-wsc-modal * { font-family: var(--lt-sans); }
.xoo-wsc-container { background: var(--lt-cream) !important; }
.xoo-wsc-header { background: var(--lt-cream) !important; border-bottom: 1px solid var(--lt-line) !important; }
.xoo-wsch-text { font-family: var(--lt-serif) !important; font-size: 26px !important; color: var(--lt-ink) !important; }
.xoo-wsc-product { border-bottom: 1px solid var(--lt-line) !important; }
.xoo-wsc-pname, .xoo-wsc-pname a { font-family: var(--lt-serif) !important; font-size: 18px !important; color: var(--lt-ink) !important; }
.xoo-wsc-img-col img { border-radius: 10px; }
.xoo-wsc-footer { background: #fff !important; border-top: 1px solid var(--lt-line) !important; }
.xoo-wsc-ft-btn, .xoo-wsc-ft-buttons-cont a { background: var(--lt-ink) !important; color: #fff !important; border-radius: 999px !important; border: 0 !important; text-transform: uppercase; letter-spacing: 1px; font-size: 13px !important; }
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn-continue { background: transparent !important; color: var(--lt-ink) !important; border: 1px solid var(--lt-ink) !important; }

/* Fixes after first test */
.lt-where-fields .optional { display: none; }
form.checkout > #customer_details { width: 100% !important; float: none !important; }
form.checkout > #customer_details::before, form.checkout > #customer_details::after { display: none; }
@media (min-width: 922px) {
	form.checkout > #order_review_heading { display: none; }
	form.checkout > #order_review { grid-row: 1 / span 20 !important; top: calc(var(--lt-head-h, 80px) + 56px); }
	form.checkout > #order_review::before { content: "Order summary"; display: block; font-family: var(--lt-serif); font-size: 24px; margin: 0 0 10px; }
}

/* Hero banner: keep the shop sign in frame when cropped */
.lt-hero-media .lt-photo img { object-position: center 30%; }

/* ---------- Trust strip: icons, 2 x 2 on mobile ---------- */
.lt-trust-strip .lt-trust { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lt-trust-strip .lt-trust::before {
	content: ""; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%;
	background: rgba(176,141,87,.16) center / 24px 24px no-repeat;
}
.lt-trust-strip .lt-trust:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c-4 0-7 5-7 10a7 7 0 0 0 14 0c0-5-3-10-7-10z'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }
.lt-trust-strip .lt-trust:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15h16l-1.5 5h-13z'/%3E%3Cpath d='M8 12c0-2 2-2 2-4M12 12c0-2 2-2 2-4M16 12c0-2 2-2 2-4'/%3E%3C/svg%3E"); }
.lt-trust-strip .lt-trust:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16v-7H4z'/%3E%3Cpath d='M6 13v-3h12v3'/%3E%3Cpath d='M12 10V7M12 4.5v.5'/%3E%3Cpath d='M4 16c2 1.5 4 1.5 5.3 0s4 1.5 5.4 0 4-1.5 5.3 0'/%3E%3C/svg%3E"); }
.lt-trust-strip .lt-trust:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.8.8-4.2 4.1 1 5.8L12 16.8l-5.2 2.7 1-5.8-4.2-4.1 5.8-.8z'/%3E%3C/svg%3E"); }
@media (max-width: 767px) {
	.lt-trust-strip .lt-trust-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px 12px !important; }
	.lt-trust-strip .lt-trust::before { width: 40px; height: 40px; background-size: 21px 21px; margin-bottom: 8px; }
	.lt-trust-strip .lt-trust strong { font-size: 17px !important; }
	.lt-trust-strip .lt-trust p { font-size: 12.5px !important; }
}

/* ---------- Quick add "+" button: perfectly centred ---------- */
.woocommerce ul.products li.product .button {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	line-height: 1 !important; text-indent: 0 !important; overflow: hidden; vertical-align: middle;
}
.woocommerce ul.products li.product .button::before {
	display: block; margin: 0 !important; position: static !important; width: auto; height: auto;
	font-family: var(--lt-sans); line-height: 1 !important; transform: translateY(-1px);
}
.woocommerce ul.products li.product .button .ast-card-action-tooltip, .woocommerce ul.products li.product .button svg { display: none !important; }

/* Trust strip grid lives on the inner wrapper (Elementor boxed container) */
.lt-trust-row > .e-con-inner { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important; gap: 20px !important; width: 100%; }
.lt-trust-row { display: block !important; }
@media (max-width: 767px) {
	.lt-trust-row > .e-con-inner { grid-template-columns: 1fr 1fr !important; gap: 22px 12px !important; }
}

.lt-trust-strip .lt-trust-row, .lt-section .lt-trust-row { display: block !important; }
.lt-trust-row > .e-con-inner > .lt-trust { width: auto !important; }

/* Card text order: category, title, note, price + button */
.woocommerce ul.products li.product .astra-shop-summary-wrap > .ast-woo-product-category { order: 1; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > a, .woocommerce ul.products li.product .astra-shop-summary-wrap > .woocommerce-loop-product__title { order: 2; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .lt-card-note { order: 3; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price, .woocommerce ul.products li.product .astra-shop-summary-wrap > .button { order: 4; }

/* =====================================================================
   Hero v3 — smooth banner (mobile full-bleed with gradient, even spacing)
   ===================================================================== */
.lt-hero { background: var(--lt-cream) !important; }
.lt-hero-media, .lt-hero-media .elementor-widget-image, .lt-hero-media .lt-photo { position: relative; }
.lt-hero-media .lt-photo img { display: block; width: 100%; box-shadow: none !important; }

/* Desktop / tablet: rounded photo with a soft cream fade on its inner edge */
@media (min-width: 768px) {
	.lt-hero { padding-top: 56px !important; padding-bottom: 56px !important; }
	.lt-hero-row { align-items: center !important; gap: 56px !important; }
	.lt-hero-media .lt-photo { border-radius: 22px; overflow: hidden; }
	.lt-hero-media .lt-photo img { aspect-ratio: 5 / 6 !important; object-fit: cover; object-position: center 22%; border-radius: 22px !important; }
	.lt-hero-media .lt-photo::after { content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
		background: linear-gradient(180deg, rgba(43,37,35,0) 55%, rgba(43,37,35,.28) 100%); }
}

/* Mobile: edge-to-edge photo that melts into the page, text sits on the fade */
@media (max-width: 767px) {
	.lt-hero { padding: 0 var(--lt-gutter) 36px !important; }
	.lt-hero > .e-con-inner, .lt-hero .lt-hero-row { gap: 0 !important; }
	.lt-hero .lt-hero-row > .e-con-inner { gap: 0 !important; }
	.lt-hero-media { order: -1 !important; margin: 0 calc(-1 * var(--lt-gutter)) !important; width: calc(100% + 2 * var(--lt-gutter)) !important; max-width: none !important; flex-basis: auto !important; }
	.lt-hero-media .elementor-widget-image, .lt-hero-media .lt-photo { margin: 0 !important; height: auto; }
	.lt-hero-media .lt-photo img { height: min(62vh, 470px) !important; aspect-ratio: auto !important; object-fit: cover !important; object-position: center 18% !important; border-radius: 0 !important; }
	.lt-hero-media .lt-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 58%; pointer-events: none;
		background: linear-gradient(180deg, rgba(251,246,239,0) 0%, rgba(251,246,239,.55) 45%, rgba(251,246,239,.92) 78%, var(--lt-cream) 100%); }
	.lt-hero-media .lt-photo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: 1; pointer-events: none;
		background: linear-gradient(180deg, rgba(43,37,35,.28), rgba(43,37,35,0)); }
	.lt-hero-text { position: relative; z-index: 2; margin-top: -96px !important; gap: 12px !important; }
	.lt-hero-text .lt-eyebrow .elementor-heading-title { font-size: 11.5px !important; letter-spacing: 2.4px; }
	.lt-hero-text .lt-h1 .elementor-heading-title { font-size: 34px !important; line-height: 1.08 !important; }
	.lt-hero-text .lt-lead { font-size: 15.5px; margin: 0; }
	.lt-hero-text .lt-actions { flex-direction: row !important; flex-wrap: nowrap !important; gap: 10px !important; margin-top: 4px; }
	.lt-hero-text .lt-actions .elementor-widget { flex: 1 1 0; min-width: 0; }
	.lt-hero-text .lt-actions .elementor-button, .lt-hero-text .lt-actions .lt-btn { width: 100% !important; padding: 13px 10px !important; font-size: 12px !important; letter-spacing: .6px; white-space: normal; line-height: 1.25 !important; min-height: 46px; }
	.lt-hero-text .lt-actions .lt-btn { background: transparent !important; color: var(--lt-ink) !important; border: 1px solid var(--lt-ink) !important; }
	.lt-hero-text .lt-rating-badge { margin-top: 2px; font-size: 13px; }
}
@media (max-width: 767px) {
	.lt-hero .e-con, .lt-hero .e-con-inner { --padding-top: 0px; --padding-bottom: 0px; padding-top: 0 !important; }
	.lt-hero > .e-con-inner { padding-top: 0 !important; }
	.lt-hero-text .lt-eyebrow .elementor-heading-title { font-size: 10.5px !important; letter-spacing: 1.6px; white-space: nowrap; }
	.home .lt-cart-pill { transform: translateY(160%); opacity: 0; transition: transform .3s, opacity .3s; pointer-events: none; }
	.home .lt-cart-pill.is-visible { transform: none; opacity: 1; pointer-events: auto; }
}

/* =====================================================================
   Fixes from site test (16 Nov)
   ===================================================================== */
/* Cart badge stays inside the screen; no sideways wobble on phones */
.lt-header-cart .lt-cart-count { top: -3px; right: -2px; }
@media (max-width: 767px) {
	html, body { overflow-x: clip; }
	.lt-header-cart { margin-right: 2px; }
}
/* Google reviews slider stays inside the page */
.lt-reviews-widget, .lt-google-reviews { overflow: hidden; max-width: 100%; }
/* Side cart: hide "Secure checkout / Fast shipping / Easy returns" badges (not true for a fresh bakery) */
.xoo-wsc-container table:has(img[src*="images/info/"]), .xoo-wsc-info-cont { display: none !important; }
/* Size chips for whole cakes */
.lt-select-hidden { position: absolute !important; opacity: 0 !important; pointer-events: none; width: 1px !important; height: 1px !important; }
.lt-size-chips { margin: 4px 0 6px; }
.single-product table.variations th.label { padding-top: 10px; }
.single-product .reset_variations { display: none !important; }

/* =====================================================================
   Product cards v3 — name + price, clear cart button aligned with price
   ===================================================================== */
.lt-card-note { display: none !important; }
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product .astra-shop-summary-wrap {
	display: flex !important; flex-direction: column; align-items: stretch !important; text-align: left !important;
	gap: 4px !important; padding: 12px 14px 14px !important; flex: 1;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price {
	margin-top: auto !important; min-height: 42px; display: flex !important; align-items: center; flex-wrap: wrap; gap: 0 4px;
	padding-right: 52px; line-height: 1.2;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button {
	position: absolute !important; right: 12px; bottom: 14px; z-index: 2;
	width: 42px !important; height: 42px !important; min-width: 42px !important; padding: 0 !important; margin: 0 !important;
	border-radius: 50% !important; font-size: 0 !important; line-height: 0 !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	background: var(--lt-ink) !important; border: 0 !important; box-shadow: 0 6px 14px -6px rgba(43,37,35,.55);
	transition: transform .15s, background .15s;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button:hover { background: var(--lt-cocoa) !important; transform: translateY(-1px); }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button::before {
	content: "" !important; display: block !important; width: 21px; height: 21px; margin: 0 !important; transform: none !important;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a1 1 0 0 1-1 .8H7.2a1 1 0 0 1-1-.8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Cpath d='M12 11.5v5M9.5 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a1 1 0 0 1-1 .8H7.2a1 1 0 0 1-1-.8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Cpath d='M12 11.5v5M9.5 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Whole cakes (options on the product page): arrow icon instead of cart-plus */
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button.product_type_variable::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	width: 19px; height: 19px;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button.loading::before { opacity: .4; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button.added { background: #1f7a4d !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button.added::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.woocommerce ul.products li.product .price .lt-from { font-size: 11.5px; }
.woocommerce ul.products li.product .price .lt-from-unit { font-size: 11.5px; }
@media (max-width: 767px) {
	.woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 10px 10px 12px !important; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap > .price { min-height: 38px; padding-right: 44px; font-size: 14.5px !important; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap > .button { width: 38px !important; height: 38px !important; min-width: 38px !important; right: 10px; bottom: 12px; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap > .button::before { width: 19px; height: 19px; }
	.woocommerce ul.products li.product .ast-woo-product-category { display: none !important; }
}

/* Align card button centre with price centre */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding-bottom: 0 !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price { justify-content: flex-start !important; text-align: left !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price > * { margin: 0 !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price, .woocommerce ul.products li.product .astra-shop-summary-wrap > * { align-self: stretch !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button { align-self: auto !important; }

/* Mobile header: breathing room left and right */
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-primary-header-bar .ast-builder-grid-row,
	.ast-header-break-point .main-header-bar .ast-builder-grid-row { padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; }
	.ast-mobile-header-wrap .lt-header-cart { margin-right: 0; }
}
