/* Keep the theme header/navigation intact; only the restaurant content is wide. */
body.tsrq-site-context .site.grid-container,
body.tsrq-site-context .site-content,
body.tsrq-site-context .content-area{width:100%;max-width:none;margin:0;padding:0}
body.tsrq-site-context .tsrq-site-main{display:block;width:100%;min-width:0;margin:0;padding:0}
body.tsrq-site-context .tsrq-utilities-5130{box-sizing:border-box;display:flex;align-items:flex-end;gap:24px;max-width:1200px;margin:0 auto;padding:24px;clear:both}
body.tsrq-site-context .tsrq-utilities-5130 .tsrq-city-bar{flex:0 0 auto;margin:0;padding:0;max-width:none}
.tsrq-global-search-5130{flex:1;max-width:760px;min-width:0;margin:0}
.tsrq-global-search-5130 label{display:block;margin:0 0 8px;font-size:15px;font-weight:700;color:#18372e}
.tsrq-global-search-controls{display:flex;gap:10px;align-items:stretch}
.tsrq-global-search-controls input[type=search]{box-sizing:border-box;flex:1;width:100%;min-width:0;min-height:50px;border:1.5px solid #789b91;border-radius:11px;padding:12px 15px;font-size:16px;color:#18372e;background:#fff;box-shadow:0 2px 6px #18372e0b;appearance:auto}
.tsrq-global-search-controls input[type=search]::placeholder{color:#596d63;opacity:1}
.tsrq-global-search-controls button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 20px;flex:0 0 auto;border:1.5px solid #104b3b;border-radius:11px;background:#176356;color:#fff;font-size:16px;font-weight:700;line-height:1.3;box-shadow:0 3px 0 #0d4235;cursor:pointer}
.tsrq-global-search-controls button:hover{background:#104f44;color:#fff}
.tsrq-global-search-5130 :focus-visible{outline:3px solid #145adb;outline-offset:4px}

/* Only text owned by the plugin; ad descendants and icon fonts are excluded. */
body.tsrq-site-context.tsrq-typography-5130 :is(.tsrq-shell,.tsrp-shell,.tsrp-native-page,.tsrq-utilities-5130,.tsrq-city-dialog,.tsrq-favorites-dialog) :is(div,section,form,fieldset,legend,td,th,p,a,button,input,select,textarea,label,summary,li,small,strong,span,address,dt,dd):not(.tsrp-ad,.tsrp-ad *,.tsrq-icon-590,.tsrq-icon-590 *,[class*="eicon-"],.fa,.fas,.far,.fab):not(:has(.tsrp-ad)){font-family:var(--tsrq-font-body,system-ui,sans-serif)!important}
body.tsrq-site-context.tsrq-typography-5130 :is(.tsrq-shell,.tsrp-shell,.tsrp-native-page,.tsrq-city-dialog,.tsrq-favorites-dialog) :is(h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,h1 span,h2 span,h3 span,h4 span,h5 span,h6 span,h1 strong,h2 strong,h3 strong,h4 strong,h5 strong,h6 strong):not(.tsrp-ad,.tsrp-ad *){font-family:var(--tsrq-font-heading,"Trebuchet MS",Arial,sans-serif)!important;font-weight:var(--tsrq-heading-weight,700)!important;letter-spacing:-.025em}
body.tsrq-site-context.tsrq-typography-5130 :is(.tsrq-story-590,.tsrq-slot-description,.tsrq-native-story,.tsrp-native-about,.tsrp-about) p:not(.tsrp-ad *,[class*="source"],[class*="caption"]){font-size:var(--tsrq-text-size,18px)!important;line-height:1.75!important}
@media(max-width:700px){
 body.tsrq-site-context .tsrq-utilities-5130{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px 16px}
 body.tsrq-site-context .tsrq-utilities-5130 .tsrq-city-bar{grid-row:1;justify-self:end}
 .tsrq-global-search-5130{width:100%;max-width:none}
 .tsrq-global-search-controls{gap:8px}
 .tsrq-global-search-controls button{padding:12px;font-size:15px}
 .tsrq-global-search-controls button span{display:none}
}

/* Native local hero: identity, address, status and actions in reading order.
   The address widget owns the actions, so they span the complete hero width.
   No saved Elementor layout, custom layout or advertising zone is changed. */
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131){display:flex;flex-flow:row wrap;gap:14px;align-items:center;overflow:visible}
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131)>:is(.tsrq-slot-city,.tsrq-slot-address){flex:0 0 100%;width:100%;min-width:0}
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131)>.tsrq-slot-logo{flex:0 0 90px;width:90px}
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131)>.tsrq-slot-name{flex:1 1 12em;width:auto;align-self:center}
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131) .tsrq-slot-name h1{margin:0!important;line-height:1.15!important;text-wrap:balance}
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131) .tsrq-slot-city .elementor-heading-title{font-size:15px;line-height:1.45;letter-spacing:0;font-weight:600}
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131) .tsrq-slot-address>p,
body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131) .tsrq-slot-address>.elementor-widget-container>p{font-size:16px!important;line-height:1.5!important;margin:0;overflow-wrap:anywhere}
.tsrq-hero-details-5131{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-top:12px;min-width:0}
.tsrq-hero-identity-5131{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.tsrq-hero-identity-5131>h1{flex:1 1 6em;min-width:0}
body .tsrq-native-hero .tsrq-hero-identity-5131>.tsrq-580-logo{width:90px!important;height:80px!important;margin:0!important;padding:8px!important}
.tsrq-hero-details-5131>.tsrq-opening{align-self:flex-start;max-width:100%;margin:0;font-size:13px;line-height:1.45}
.tsrq-hero-details-5131>.tsrq-activity-notice-590{margin:0;padding:12px;font-size:15px;line-height:1.5}
.tsrq-hero-details-5131>.tsrq-hero-offer{margin:0}
.tsrq-hero-details-5131 .tsrq-deal-hero{width:100%;font-size:17px;overflow-wrap:anywhere}
body .tsrq-hero-details-5131 .tsrq-quick-590,
body .tsrq-profile-head>.tsrq-quick-590{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.25em),1fr));gap:12px;font-size:16px}
body .tsrq-hero-details-5131 .tsrq-quick-590 .tsrq-action-590,
body .tsrq-profile-head>.tsrq-quick-590 .tsrq-action-590{min-width:0;min-height:56px;height:auto;padding:12px 10px!important;gap:6px 8px!important;font-size:16px!important;line-height:1.4;align-self:stretch;border-radius:10px;flex-wrap:wrap}
body .tsrq-hero-details-5131 .tsrq-action-590>span,
body .tsrq-profile-head>.tsrq-quick-590 .tsrq-action-590>span{flex:1 1 0%;min-width:min-content;max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:none}
body .tsrq-hero-details-5131 .tsrq-action-590>.tsrq-icon-590,
body .tsrq-profile-head>.tsrq-quick-590 .tsrq-icon-590{width:20px;height:20px;flex:0 0 20px}
/* The PHP fallback has the same full-width controls when Elementor is inactive. */
body .tsrq-profile-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
body .tsrq-profile-head>div:first-child{min-width:0}
body .tsrq-profile-head>div:first-child :is(h1,p){margin-bottom:12px;overflow-wrap:anywhere}
body .tsrq-profile-head>.tsrq-logo{grid-column:2;grid-row:1}
body .tsrq-profile-head>:is(.tsrq-quick-590,.tsrq-opening,.tsrq-hero-offer,.tsrq-activity-notice-590){grid-column:1/-1;margin:0}
body .tsrq-profile-head>.tsrq-opening{justify-self:start}
body .tsrq-profile-head:not(:has(>.tsrq-logo))>div:first-child{grid-column:1/-1}
@media(max-width:600px){
 body .tsrq-shell.tsrq-native-page{padding-top:8px;gap:14px}
 body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131){padding:20px 16px!important;gap:12px}
 body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131) .tsrq-slot-logo img{width:64px!important;height:60px!important;max-height:none;padding:6px!important;object-fit:contain}
 body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-native-hero:has(.tsrq-hero-details-5131) .tsrq-slot-logo{flex-basis:64px;width:64px;align-self:center}
 .tsrq-hero-identity-5131{gap:12px}
 body .tsrq-native-hero .tsrq-hero-identity-5131>.tsrq-580-logo{width:64px!important;height:60px!important;padding:6px!important}
 body .tsrq-native-page:not(.tsrq-layout-custom) .tsrq-slot-back .elementor-button{width:auto;min-height:44px;padding:9px 12px;border-radius:9px;font-size:15px;box-shadow:0 2px 0 #c9d7d2,0 3px 8px #173d3010}
 body .tsrq-profile-head>.tsrq-logo{width:72px;height:64px;padding:6px}
}
