/* One card geometry for the storefront and the admin photo editor. */
/* Borisov uses photos on warm backgrounds, with one type and spacing system. */
.promo-rail .promo-stories .promo,.promo-page-grid .promo,.promo-photo-preview.preview-card{height:auto;aspect-ratio:4/5;container-type:inline-size}
.promo-page-grid .promo>img{inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:var(--promo-photo-x,50%) var(--promo-photo-y,50%);transform:scale(var(--promo-photo-scale,1));transform-origin:var(--promo-photo-x,50%) var(--promo-photo-y,50%)}
.promo .promo-copy,.preview-card .preview-copy{top:auto;left:8%;right:8%;bottom:7%;z-index:2}
.promo-rail .promo-stories .promo h2,.promo-page-grid .promo h2,.preview-card .preview-copy>strong{font-size:clamp(14px,8.8cqw,22px);font-weight:800;line-height:1.1;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:white}
.promo-rail .promo-stories .promo::after,.promo-page-grid .promo::after,.promo-photo-preview.preview-card::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#20160c00 38%,#20160c25 56%,#20160cb8 100%)}
.promo-page-grid .promo.promo-gift>img{inset:5px 5% auto;width:90%;height:74%;object-fit:contain}
.promo-rail .promo-stories .promo.promo-gift::after,.promo-page-grid .promo.promo-gift::after,.preview-card.preview-gift::after{background:linear-gradient(180deg,transparent 50%,#96552235 72%,#6334148c 100%)}
@media(max-width:700px){
 .promo-rail .promos.promo-stories{gap:10px;margin-right:-16px;padding-right:16px}
 .promo-rail .promo-stories .promo{flex:0 0 calc((100% - 14px)/3.5);min-width:0;border-radius:16px;aspect-ratio:4/5}
 .promo-rail .promo-stories .promo h2{font-size:clamp(11px,11cqw,15px);line-height:1.13;letter-spacing:-.2px}
 .promo-rail .story-badge{top:7px;left:7px;font-size:7px;padding:4px 5px;max-width:calc(100% - 14px)}
 .promo-rail .story-arrow{display:none}.promo-rail{margin-top:13px;margin-bottom:22px}
}
.promo-rail .promo-stories .borisov-promo,.promo-page-grid .borisov-promo{background:linear-gradient(155deg,#ffddc3,#f8bb8e);isolation:isolate}
.promo-rail .promo-stories .borisov-promo>img,.promo-page-grid .borisov-promo>img{inset:3% 3% auto;width:94%;height:77%;object-fit:contain;object-position:center;transform:none;max-width:none;max-height:none}
.promo-rail .promo-stories .borisov-promo.delivery>img,.promo-page-grid .borisov-promo.delivery>img{inset:0 0 auto;width:100%;height:108%;object-fit:cover;object-position:50% 0}
.promo-rail .promo-stories .borisov-promo.birthday>img,.promo-page-grid .borisov-promo.birthday>img{inset:2% 4% auto;width:92%;height:76%}
.promo-rail .promo-stories .borisov-promo.day,.promo-page-grid .borisov-promo.day{background:linear-gradient(155deg,#ffe3aa,#f2b965)}
.promo-rail .promo-stories .borisov-promo.halves,.promo-page-grid .borisov-promo.halves{background:linear-gradient(155deg,#f9d4b2,#d6a379)}
.promo-rail .promo-stories .borisov-promo::after,.promo-page-grid .borisov-promo::after{background:linear-gradient(180deg,transparent 38%,#77503020 58%,#4c301bcc 100%)}
.promo-rail .promo-stories .borisov-promo .story-badge,.promo-page-grid .borisov-promo .story-badge{color:#a34b1e;background:#fff9f1e8;border:1px solid #ffffffab;box-shadow:0 2px 8px #77451a08}
.borisov-promo .story-arrow{color:#fff9f2}
.promo-rail .promo-stories .borisov-promo .promo-half-left,.promo-page-grid .borisov-promo .promo-half-left,.story-halves .promo-half-left{clip-path:inset(0 50% 0 0)}
.promo-rail .promo-stories .borisov-promo .promo-half-right,.promo-page-grid .borisov-promo .promo-half-right,.story-halves .promo-half-right{clip-path:inset(0 0 0 50%)}
.story-halves .promo-story-photo{object-fit:contain!important;inset:2% 2% auto!important;width:96%!important;height:65%!important;transform:none!important}

/* Keep the next story peeking in; tighten only the mobile menu spacing. */
.home-continuous-menu .menu-navigation{border-bottom:0}
.home-continuous-menu .continuous-menu .menu-section+.menu-section{border-top:0}
@media(max-width:700px){.home-continuous-menu .promo-rail{margin-top:0;margin-bottom:8px}.home-continuous-menu .promos.promo-stories{padding-top:0}.home-continuous-menu .menu-navigation{margin-right:-16px}}

/* Opening notice uses the selected restaurant schedule. */
.restaurant-hours-notice{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px;padding:12px 15px;border:0;border-radius:14px;background:#fff1e5;color:#78543c;font-size:13px;line-height:1.5}
.restaurant-hours-notice[hidden]{display:none}
.restaurant-hours-notice svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;color:#f16b28}
@media(max-width:700px){.restaurant-hours-notice{padding:11px 12px;font-size:12px;border-radius:12px;gap:9px}}

/* Full compositions use separate crops for cards and open stories. */
.promo-rail .promo-stories .promo.promo-3d>img,.promo-page-grid .promo.promo-3d>img{inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:var(--promo-photo-x,50%) var(--promo-photo-y,50%);transform:scale(var(--promo-photo-scale,1))}
.promo-rail .promo-stories .promo.promo-3d::after,.promo-page-grid .promo.promo-3d::after{background:linear-gradient(180deg,transparent 45%,#69402118 62%,#4c301bbf 100%)}
.story-3d .promo-story-photo{object-fit:cover}

/* Keep long campaign labels the same size as the other mobile badges. */
.promo.promo-3d .story-badge{white-space:nowrap;width:max-content;box-sizing:border-box}
@media(max-width:700px){.promo-rail .promo-stories .promo.promo-3d .story-badge{top:7px;left:7px;font-size:7px;line-height:1.2;letter-spacing:0;padding:4px 5px;max-width:calc(100% - 14px);overflow:hidden;text-overflow:ellipsis}}

/* Preserve only the approved halves card. Open stories use their original layout. */
.promo-rail .promo-stories .promo.promo-artwork>img,.promo-page-grid .promo.promo-artwork>img{inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;transform:none;object-position:50% 50%}
.promo-rail .promo-stories .promo.promo-artwork::after,.promo-page-grid .promo.promo-artwork::after,.promo-photo-preview.preview-card.preview-artwork::after{background:none}
.promo-rail .promo-stories .promo.promo-artwork:hover>img,.promo-page-grid .promo.promo-artwork:hover>img{transform:none}
.promo-photo-preview.preview-card.preview-artwork>img{inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;transform:none}

/* Both an optional story photo and the card fallback fill the story canvas. */
.promo-story-content .promo-story-slide>img.promo-story-photo{position:absolute;inset:0!important;padding:0!important;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:cover!important;object-position:var(--promo-photo-x,50%) var(--promo-photo-y,50%);transform:scale(var(--promo-photo-scale,1))!important}
.promo-photo-preview.preview-story>img{inset:0!important;padding:0!important;width:100%!important;height:100%!important;object-fit:cover!important}

/* A viewed card remains clickable and reopens at normal brightness. */
.promo-rail .promo-stories .promo.is-viewed,.promo-page-grid .promo.is-viewed{filter:brightness(.72)}

/* Editable captions share the card geometry and typography with the admin preview. */
.promo-rail .promo-stories .promo:not(.promo-artwork)>img,.promo-page-grid .promo:not(.promo-artwork)>img{inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:var(--promo-photo-x,50%) var(--promo-photo-y,50%);transform:scale(var(--promo-photo-scale,1));transform-origin:var(--promo-photo-x,50%) var(--promo-photo-y,50%)}
.promo-rail .promo-stories .promo h2,.promo-page-grid .promo h2,.promo-photo-preview.preview-card .preview-copy>strong{font-size:clamp(11px,12cqw,20px);line-height:1.12;letter-spacing:-.2px;color:var(--promo-card-text-color,#fff)!important;white-space:pre-line}
.promo-story-content .promo-story-slide .promo-story-copy :is(h2,p),.promo-photo-preview.preview-story .preview-copy :is(strong,p){color:var(--promo-story-text-color,#fff)!important}
.promo-copy-fields{display:grid;gap:12px;margin:14px 0}.promo-copy-fields label{display:grid;gap:7px}.promo-color-controls{display:flex;gap:8px;align-items:center}.promo-color-controls input[type=color]{width:64px;height:44px;min-height:44px;padding:4px;border-radius:10px;cursor:pointer}.promo-color-controls button{display:grid;place-items:center;width:44px;height:44px;padding:8px;background:#f6f5f2;border:1px solid #e4e2dc;border-radius:10px}.promo-color-controls button i{display:block;width:25px;height:25px;border-radius:50%;box-shadow:0 0 0 1px #0002}.promo-color-controls button[aria-pressed=true]{border-color:#ff641e;background:#fff1e5}

#promos .promo .promo-copy{left:8%;right:8%;bottom:7%}

/* Move the composition vertically at its original size. */
.promo-rail .promo-stories .promo:not(.promo-artwork)>img,.promo-page-grid .promo:not(.promo-artwork)>img,.promo-photo-preview.preview-card>img{transform:translateY(var(--promo-photo-offset-y,0%)) scale(var(--promo-photo-scale,1));-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - var(--promo-photo-fade,0%)),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - var(--promo-photo-fade,0%)),transparent 100%)}
