/* Editorial content pages share the shop's typography and a lighter layout. */
body.storefront.sf-editorial #page { background: #f7f8fa; }
body.storefront.sf-editorial #page :is(h1,h2,h3) { font-family: 'Maharaja Sans', Arial, sans-serif; color: #27252b; letter-spacing: -.035em; }
body.storefront.sf-editorial #page h1 { font-size: clamp(36px,4vw,56px); font-weight: 600; line-height: 1.1; margin: 12px 0 24px; }
body.storefront.sf-editorial #page h2 { font-size: clamp(26px,2.7vw,38px); font-weight: 600; line-height: 1.2; }
body.storefront.sf-editorial #page h3 { font-size: 23px; font-weight: 600; line-height: 1.25; }
body.storefront.sf-editorial #page :is(p,li) { font-size: 16px; line-height: 1.75; color: #56606a; }
body.storefront.sf-editorial #page .eyebrow { font-size: 12px; color: #8a2841; font-weight: 600; letter-spacing: .06em; }
body.storefront.sf-editorial #page .wrap { width: min(1200px,calc(100% - 48px)); max-width: 1200px; }
body.storefront.sf-editorial #page .section { background: transparent; padding: 64px 0; }
body.storefront.sf-editorial #page .btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 9px; font: 550 15px/1.4 'Maharaja Sans',Arial,sans-serif; min-height: 48px; }
body.storefront.sf-editorial #page .btn-gold { background: #edc665; color: #392609; border: 1px solid #edc665; }
body.storefront.sf-editorial #page .btn-outline { background: #fff; color: #831e39; border: 1px solid #d9bfc8; }
body.storefront.sf-editorial #page .btn:hover { filter: brightness(.96); }
body.storefront.sf-editorial .page-hero { background: #f1e8e5; padding: 48px 0 30px; border-bottom: 1px solid #e7dadb; }
/* Catering is photo-led, followed by three comparable service cards. */
body.storefront.sf-editorial .catering-hero { background: #f2e9e5; color: #27252b; padding: 56px 0; }
.sf-editorial .catering-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
.sf-editorial .sf-catering-hero-photo { margin: 0; }
.sf-catering-hero-photo img { width: 100%; height: 430px; object-fit: cover; border-radius: 24px; }
.sf-editorial .catering-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
body.storefront.sf-editorial #page .diet-note { font-size: 13px; margin-top: 18px; }
.sf-catering-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
body.storefront.sf-editorial .cater-service { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid #e2e6e9; border-radius: 18px; overflow: hidden; padding: 0; margin: 0; }
.sf-editorial .cater-service figure { margin: 0; width: 100%; }
.sf-editorial .cater-service figure img { width: 100%; height: 240px; object-fit: cover; border-radius: 0; }
.sf-editorial .cater-service > div { padding: 24px; }
.sf-editorial .service-label { font-size: 12px; font-weight: 600; color: #8a2841; }
body.storefront.sf-editorial #page .cater-service li { font-size: 14px; }
.sf-editorial .cater-service ul { padding-left: 18px; }
.sf-editorial .cater-service > div > a { color: #831e39; font-weight: 600; font-size: 14px; }
.sf-editorial .cater-section-head,.sf-editorial .tiffin-heading { margin-bottom: 28px; }
body.storefront.sf-editorial .how-catering { background: #fff; padding: 56px 0; }
body.storefront.sf-editorial .how-catering .light h2 { color: #27252b; }
.sf-editorial .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.sf-editorial .steps-grid article { padding: 24px; background: #f7f8fa; border-radius: 16px; }
.sf-editorial .steps-grid article > span { display: block; font-size: 14px; font-weight: 600; color: #8a2841; margin-bottom: 18px; }
body.storefront.sf-editorial .online-catering { background: #f1e8e5; padding: 36px 0; }
.sf-editorial .online-catering-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sf-editorial .custom-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.sf-editorial .catering-form { background: #fff; padding: 28px; border: 1px solid #e2e6e9; border-radius: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sf-editorial .catering-form label { font-size: 13px; font-weight: 550; color: #424b53; }
.sf-editorial .catering-form :is(input,select,textarea) { display: block; width: 100%; padding: 12px; margin-top: 7px; border: 1px solid #dce1e5; border-radius: 8px; background: #fafbfc; font-size: 15px; }
.sf-editorial .catering-form label:has(textarea),.sf-editorial .catering-form button { grid-column: 1 / -1; }
.sf-editorial .custom-contact a { display: block; color: #831e39; margin-top: 12px; }
/* Tiffin combines the introduction and hero, with simple plan comparisons. */
.sf-editorial .tiffin-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
body.storefront.sf-editorial #page .tiffin-copy h2 { font-size: 22px; color: #8a2841; }
.sf-editorial .tiffin-split img { width: 100%; border-radius: 24px; height: 430px; object-fit: cover; }
body.storefront.sf-editorial .tiffin-includes { padding: 48px 0; background: #fff; }
.sf-editorial .include-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.sf-editorial .include-grid article { padding: 24px; border: 1px solid #e2e6e9; border-radius: 16px; }
.sf-editorial .plan-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
body.storefront.sf-editorial .plan-card { background: #fff; border: 1px solid #e2e6e9; border-radius: 18px; padding: 30px 22px; text-align: left; position: relative; }
body.storefront.sf-editorial .plan-card.featured { border: 2px solid #831e39; background: #fcf5f7; }
.sf-editorial .plan-card > strong { display: block; font-size: 36px; font-weight: 600; color: #27252b; margin: 22px 0 8px; }
.sf-editorial .plan-card > small { display: block; color: #69737b; font-size: 13px; }
.sf-editorial .plan-badge { position: absolute; right: 14px; top: -12px; padding: 5px 10px; background: #831e39; color: #fff; border-radius: 6px; font-size: 11px; }
/* Promotions use larger images and a consistent editorial card rhythm. */
.sf-editorial .promo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
body.storefront.sf-editorial .promo-card { background: #fff; border: 1px solid #e2e6e9; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.sf-editorial .promo-image { height: 220px; background-size: cover; background-position: center; }
.sf-editorial .promo-card-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
body.storefront.sf-editorial #page .promo-card h2 { font-size: 25px; margin: 14px 0; }
.sf-editorial .promo-card-copy > span { font-size: 12px; color: #8a2841; font-weight: 500; }
.sf-editorial .promo-card-copy > a { margin-top: auto; padding-top: 14px; color: #831e39; font-size: 14px; font-weight: 600; }
/* The app landing page showcases the product rather than download buttons alone. */
body.storefront.sf-editorial .sf-app-hero { background: #f2e9e5; padding: 60px 0; }
.sf-editorial .sf-app-showcase { display: grid; place-items: center; min-height: 400px; border-radius: 28px; background: radial-gradient(ellipse,#fff9ec,#ead9cf); text-decoration: none; }
.sf-editorial .sf-app-showcase .sf-mini-phone { width: 200px; min-height: 332px; border-radius: 32px; border-width: 7px; padding: 16px 12px; gap: 14px; transform: rotate(5deg); }
.sf-editorial .sf-app-showcase .sf-mini-title { font-size: 22px; }
.sf-editorial .sf-app-showcase .sf-mini-brand { font-size: 16px; }
.sf-editorial .sf-app-showcase .sf-mini-food { height: 140px; }
.sf-editorial .sf-app-showcase .sf-mini-bottom { font-size: 18px; }
.sf-editorial .sf-platform-section { padding: 40px 0; background: #fff; }
.sf-editorial .sf-app-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sf-editorial .sf-app-platform { background: #f7f8fa; border: 1px solid #e2e6e9; border-radius: 16px; padding: 24px; }
body.storefront.sf-editorial .sf-app-platform h2 { font-size: 25px; }
/* Legal content has a readable document column and a useful section index. */
body.storefront.sf-editorial .legal-hero { padding: 30px 0 18px; background: #f7f8fa; border: 0; }
body.storefront.sf-editorial .legal-hero h1 { margin-bottom: 0; }
body.storefront.sf-editorial .section.legal { padding-top: 16px; }
.sf-legal-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 44px; align-items: start; }
.sf-legal-nav { position: sticky; top: 130px; padding: 22px 0; }
body.storefront.sf-editorial #page .sf-legal-nav h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 16px; }
.sf-legal-nav a { display: block; color: #68727b; font-size: 13px; line-height: 1.4; margin-bottom: 14px; text-decoration: none; }
.sf-legal-nav a:hover { color: #831e39; }
body.storefront.sf-editorial .legal-document { padding: 36px 44px; background: #fff; border: 1px solid #e2e6e9; border-radius: 18px; max-width: none; margin: 0; }
body.storefront.sf-editorial #page .legal-document h2 { font-size: 22px; margin: 34px 0 14px; scroll-margin-top: 130px; }
body.storefront.sf-editorial #page .legal-document p { font-size: 15px; line-height: 1.85; }
body.storefront.sf-editorial #page .legal-updated { font-size: 12px; color: #8a2841; margin-bottom: 24px; }
@media (max-width: 950px) {
 .sf-editorial .catering-hero-grid,.sf-editorial .tiffin-split,.sf-editorial .custom-grid { gap: 32px; }
 .sf-catering-service-grid,.sf-editorial .promo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .sf-editorial .plan-grid { grid-template-columns: repeat(2,1fr); }
 .sf-legal-layout { grid-template-columns: 210px minmax(0,1fr); gap: 24px; }
}
@media (max-width: 700px) {
 body.storefront.sf-editorial #page .wrap { width: calc(100% - 36px); }
 body.storefront.sf-editorial #page .section { padding: 36px 0; }
 .sf-editorial .catering-hero-grid,.sf-editorial .tiffin-split,.sf-editorial .custom-grid,.sf-editorial .sf-app-platforms,.sf-catering-service-grid,.sf-editorial .promo-grid,.sf-legal-layout { grid-template-columns: 1fr; }
 .sf-editorial .steps-grid,.sf-editorial .include-grid { grid-template-columns: 1fr; gap: 16px; }
 .sf-editorial .online-catering-inner { flex-direction: column; align-items: flex-start; }
 .sf-catering-hero-photo img,.sf-editorial .tiffin-split img { height: 300px; }
 .sf-editorial .catering-form { padding: 20px; gap: 14px; }
 .sf-legal-nav { position: static; padding: 0; }
 .sf-legal-nav nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
 .sf-legal-nav a { margin: 0; }
 body.storefront.sf-editorial .legal-document { padding: 24px; }
 .sf-editorial .sf-app-showcase { min-height: 380px; }
}

/* Clear legacy framed-image and dark-card treatments on the refreshed pages. */
body.storefront.sf-editorial .cater-service { align-items: stretch; }
body.storefront.sf-editorial .cater-service .cater-photo { order: 0; height: 240px; padding: 0; background: transparent; }
.sf-editorial .steps-grid { background: transparent; }
.sf-editorial .include-grid article { background: #fafbfc; }
.sf-editorial .include-grid article > span { display: none; }
.sf-editorial .tiffin-image { height: auto; border: 0; padding: 0; box-shadow: none; margin: 0; }
.sf-editorial .tiffin-image .corner { display: none; }
body.storefront.sf-editorial .legal-document { box-shadow: 0 8px 30px #20252904; }
