/* Homepage catalogue and native Elementor hero; no theme button defaults. */
.trf-home-catalog.trf-flow{font:400 16px/1.5 "Basier Circle",sans-serif;color:#181818;padding:0;background:transparent}
.trf-home-catalog [hidden]{display:none!important}
.trf-home-catalog .trf-home-types{display:flex;width:420px;max-width:100%;margin:0 0 20px;border:1px solid #0c4a45;border-radius:999px;overflow:hidden;background:transparent}
.trf-home-catalog .trf-home-types button{flex:1;min-width:0;min-height:52px;border:0;border-radius:999px;margin:0;padding:10px 22px;background:transparent!important;color:#0c4a45!important;font:400 22px/1.3 "Basier Circle",sans-serif;box-shadow:none!important;transition:none!important;animation:none!important;cursor:pointer}
.trf-home-catalog .trf-home-types button[aria-selected=true]{background:#0c4a45!important;color:#e6fe55!important;font-weight:500}
.trf-home-catalog .trf-home-types button[data-home-type="frozen"][aria-selected=true]{background:#4458c8!important;color:#fff!important}
.trf-home-catalog .trf-home-types button:not([aria-selected=true]):hover{background:#e4e9db!important}
.trf-home-catalog .trf-home-types button:focus-visible{outline:2px solid #0c4a45;outline-offset:-5px}
.trf-home-catalog .trf-home-types button[aria-selected=true]:focus-visible{outline-color:#e6fe55}
.trf-home-catalog .trf-home-session{margin:0 0 20px;min-height:24px;color:#4a5c51;font-size:14px;line-height:1.5;text-align:left}
.trf-home-catalog .trf-home-categories{display:flex;position:relative;overflow-x:auto;gap:8px;background:#0c4a45;border:0;border-image:linear-gradient(#0c4a45,#0c4a45) fill 0 / 0 / 0 100vw;padding:0;margin:0 0 32px;scroll-behavior:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.trf-home-catalog .trf-home-categories::-webkit-scrollbar{display:none}
.trf-home-catalog .trf-home-categories button{flex:0 0 auto;min-height:48px;background:transparent!important;border:0;border-radius:0;border-bottom:2px solid transparent;margin:0;padding:10px 12px;color:#f4f4e8!important;font:400 clamp(16px,1.6vw,22px)/1.3 "Basier Circle",sans-serif;white-space:nowrap;cursor:pointer;box-shadow:none!important;transition:none!important;animation:none!important}
.trf-home-catalog .trf-home-categories button[aria-selected=true]{font-weight:500;color:#e6fe55!important;border-bottom-color:currentColor!important;background:transparent!important}
.trf-home-catalog .trf-home-categories button,.trf-home-catalog .trf-home-categories button:hover{background:transparent!important;text-decoration:none!important}
.trf-home-catalog[data-home-type="frozen"] .trf-home-categories{background:#4458c8;border-image:linear-gradient(#4458c8,#4458c8) fill 0 / 0 / 0 100vw}
.trf-home-catalog[data-home-type="frozen"] .trf-home-categories button[aria-selected=true]{color:#fff!important}
.trf-home-catalog .trf-home-categories button:focus-visible{outline:2px solid #e6fe55;outline-offset:-4px}
.trf-home-category-panel:focus-visible{outline:2px solid #0c4a45;outline-offset:6px}
/* Cards inherit the same image, title, price and purchase rules as Encomendar. */
.trf-home-card{display:flex;flex-direction:column;min-width:0}
.trf-home-delivery-link{display:inline-flex;align-items:center;justify-content:center;gap:18px;align-self:flex-start;min-height:44px;margin-top:16px;padding:10px 18px;border:1px solid var(--trf-purchase-accent,#0c4a45);border-radius:999px;background:var(--trf-purchase-accent,#0c4a45)!important;color:#f4f4e8!important;font:500 14px/1.3 "Basier Circle",sans-serif;text-decoration:none!important}
.trf-home-delivery-link:hover{background:var(--trf-purchase-hover,#173e38)!important}
.trf-home-catalog:not(.trf-home-delivery-ready) .trf-meal__purchase-actions,.trf-home-catalog:not(.trf-home-delivery-ready) .trf-meal__cart-link{display:none!important}
.trf-home-delivery-ready .trf-home-delivery-link{display:none!important}
.trf-home-verifying .trf-home-delivery-link{visibility:hidden;pointer-events:none}
.trf-home-checking [data-home-type-panel]{display:none!important}
.trf-home-loading{display:none;grid-template-columns:repeat(var(--trf-home-columns,3),minmax(0,1fr));gap:20px;min-height:420px}
.trf-home-checking .trf-home-loading{display:grid}
.trf-home-loading span{aspect-ratio:1;background:#e4e7db;border-radius:12px;max-height:360px}
.trf-home-catalog a:focus-visible{outline:2px solid #0c4a45;outline-offset:4px}
.trf-home-hero .trf-hero-pause{position:absolute;z-index:8;bottom:22px;right:32px;min-height:44px;border:1px solid #f4f4e8;border-radius:999px;background:#0c4a45;color:#f4f4e8;font:500 14px/1.3 "Basier Circle",sans-serif;padding:10px 18px;cursor:pointer}
.trf-home-hero .trf-hero-pause:focus-visible{outline:2px solid #e6fe55;outline-offset:4px}
@media(max-width:767px){
 .trf-home-catalog .trf-home-types{width:100%;margin-bottom:16px}
 .trf-home-catalog .trf-home-types button{font-size:20px;min-height:48px;padding:10px 18px}
 .trf-home-catalog .trf-home-session{font-size:13px;margin-bottom:16px;min-height:39px}
 .trf-home-catalog .trf-home-categories{margin:0 0 24px;padding:0;gap:4px}
 .trf-home-catalog .trf-home-categories button{font-size:16px;min-height:48px;padding:10px}
 .trf-home-delivery-link{font-size:13px;padding:10px 12px;gap:10px}
 .trf-home-loading{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-height:370px}
 .trf-home-loading span:nth-child(n+3){display:none}
 .trf-home-hero .trf-hero-pause{right:20px;bottom:16px}
}
@media(max-width:359px){.trf-home-loading{grid-template-columns:1fr}.trf-home-loading span:not(:first-child){display:none}}
.trf-home-catalog.trf-flow{--trf-home-bg:#d8e2d7}
.trf-home-catalog.trf-flow[data-home-type="frozen"]{--trf-home-bg:#e0e4fc;background:var(--trf-home-bg);border-image:linear-gradient(var(--trf-home-bg),var(--trf-home-bg)) fill 0 / 0 / 0 100vw}
/* Include the editable heading, introduction and final link, only in this catalogue section. */
.e-con:has(> .elementor-widget-shortcode [data-trf-home-catalog]){--trf-home-bg:#d8e2d7;background:var(--trf-home-bg);border-image:linear-gradient(var(--trf-home-bg),var(--trf-home-bg)) fill 0 / 0 / 0 100vw}
.e-con:has(> .elementor-widget-shortcode [data-trf-home-catalog][data-home-type="frozen"]){--trf-home-bg:#e0e4fc;background:var(--trf-home-bg);border-image:linear-gradient(var(--trf-home-bg),var(--trf-home-bg)) fill 0 / 0 / 0 100vw}
.e-con > .elementor-widget-shortcode .trf-home-catalog.trf-flow[data-home-type]{background:transparent;border-image:none}
/* Keep the editable final link in the active frozen section's accent. */
.e-con:has(> .elementor-widget-shortcode [data-trf-home-catalog][data-home-type="frozen"]) > a{color:#4458c8!important}
.e-con:has(> .elementor-widget-shortcode [data-trf-home-catalog][data-home-type="frozen"]) > a:focus-visible{outline-color:#4458c8}
/* Compact homepage cards; shared purchase controls and full catalogue remain unchanged. */
.trf-home-catalog[data-home-columns="4"]{--trf-home-columns:4}
.trf-home-catalog .trf-home-products{grid-template-columns:repeat(var(--trf-home-columns,3),minmax(0,1fr));column-gap:20px;row-gap:12px}
.trf-home-catalog .trf-meal__image{border-radius:12px;margin-bottom:12px}
.trf-home-catalog .trf-meal h3{font-size:clamp(15px,1.15vw,18px);line-height:1.35;font-weight:400;overflow-wrap:anywhere;min-height:0;margin:0 0 8px}
.trf-home-catalog .trf-home-accompaniments{font:400 13px/1.45 "Basier Circle",sans-serif;margin:0 0 8px;overflow-wrap:anywhere;color:#181818}
.trf-home-catalog .trf-meal__price{font-size:15px;line-height:1.4}
.trf-home-catalog .trf-meal__purchase{align-self:stretch;display:flex;flex-direction:column;margin:0}
.trf-home-catalog .trf-meal__purchase .trf-product-options{margin-bottom:8px}
.trf-home-catalog .trf-meal__purchase .trf-product-options legend{font-size:12px;margin-bottom:4px}
.trf-home-catalog .trf-meal__purchase .trf-product-options__buttons{gap:4px}
.trf-home-catalog .trf-meal__purchase .trf-product-options__buttons span{font-size:12px;padding:6px;min-height:44px}
.trf-home-catalog .trf-meal__feedback{order:2;min-height:18px;margin:0 0 8px}
.trf-home-catalog .single_variation_wrap,.trf-home-catalog form>.trf-meal__purchase-actions{order:3;margin-top:auto}
.trf-home-catalog .trf-meal__cart-link{order:4}
.trf-home-catalog .trf-meal__purchase-actions{gap:6px}
.trf-home-catalog .trf-meal__purchase .quantity{flex-basis:48px;max-width:48px}
.trf-home-catalog .trf-meal__purchase button[data-trf-add]{font-size:12px;padding:8px 12px}
.trf-home-catalog .trf-home-delivery-link{font-size:13px;padding:8px 14px;margin-top:12px;gap:12px}
@supports(grid-template-rows:subgrid){
 .trf-home-catalog .trf-home-card{display:grid;grid-template-rows:subgrid;grid-row:span 6;gap:8px;align-items:stretch;padding-bottom:24px}
 .trf-home-catalog.trf-home-delivery-ready .trf-home-card{grid-row:span 5}
 .trf-home-catalog .trf-home-card>.trf-meal{grid-row:span 5;gap:8px;align-items:stretch;padding-bottom:0}
 .trf-home-catalog .trf-home-card>.trf-home-delivery-link{margin-top:0;justify-self:start}
 .trf-home-catalog .trf-meal__image{grid-row:1;margin:0}
 .trf-home-catalog .trf-meal h3{grid-row:2;margin:0}
 .trf-home-catalog .trf-home-accompaniments{grid-row:3;margin:0}
 .trf-home-catalog .trf-meal__price{grid-row:4}
 .trf-home-catalog .trf-meal__purchase,.trf-home-catalog .trf-meal__bottom{grid-row:5}
}
@media(max-width:1099px){.trf-home-catalog .trf-home-products,.trf-home-catalog .trf-home-loading{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 .trf-home-catalog .trf-home-products{column-gap:14px}
 .trf-home-catalog .trf-meal h3{font-size:15px}
 .trf-home-catalog .trf-home-accompaniments{font-size:12px}
 .trf-home-catalog .trf-meal__purchase .trf-product-options__buttons span{font-size:11px;padding-inline:3px}
 .trf-home-catalog .trf-meal__purchase input.qty{font-size:16px!important}
 .trf-home-catalog .trf-meal__purchase .quantity{flex-basis:44px;max-width:44px}
 .trf-home-catalog .trf-meal__purchase button[data-trf-add]{padding-inline:8px}
 .trf-home-catalog .trf-home-delivery-link{padding-inline:10px;gap:8px;font-size:12px}
}
@media(max-width:359px){.trf-home-catalog .trf-home-products,.trf-home-catalog .trf-home-loading{grid-template-columns:minmax(0,1fr)}}
/* Both mobile titles get the same two-line space when the conservation changes. */
@media(max-width:767px){.e-con:has(> .elementor-widget-shortcode [data-trf-home-catalog]) > h2{min-height:2.3em;min-block-size:2lh}}
/* Public preview: photo, name, native minimum display price and an order-flow link. */
.trf-home-catalog[data-home-preview="1"] .trf-home-card{display:flex;flex-direction:column;grid-row:auto;gap:0;padding-bottom:24px}
.trf-home-catalog[data-home-preview="1"] .trf-home-card>.trf-meal{display:flex;flex:1;flex-direction:column;grid-row:auto;gap:0;padding-bottom:0}
.trf-home-catalog[data-home-preview="1"] .trf-meal__image{margin:0 0 12px}
.trf-home-catalog[data-home-preview="1"] .trf-meal h3{margin:0 0 12px}
.trf-home-catalog[data-home-preview="1"] .trf-meal__price{display:block;margin-top:auto;font-size:16px;line-height:1.4}
.trf-home-catalog[data-home-preview="1"] .trf-home-price-prefix{font-weight:400}
.trf-home-catalog[data-home-preview="1"] .trf-home-delivery-link{align-self:stretch;justify-self:stretch;width:100%;max-width:100%;box-sizing:border-box;min-height:48px;margin-top:16px;padding:12px;gap:8px;font-size:14px;line-height:1.35;text-align:center}
.trf-home-catalog[data-home-preview="1"] .trf-home-delivery-label{min-width:0;text-wrap:balance}
.trf-home-catalog[data-home-preview="1"][data-home-type="frozen"]{--trf-purchase-accent:#4458c8;--trf-purchase-hover:#3749ad}
