/* =================================================================
   CTC Frontend Menu - Next-Gen Modern Overhaul (Mobile-First Ready)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --ctc-primary: #ff4d4d;
    --ctc-primary-hover: #e63939;
    --ctc-success: #10b981;
    --ctc-dark: #090d16;
    --ctc-slate: #64748b;
    --ctc-bg-light: #f8fafc;
    --ctc-border: #e2e8f0;
    --ctc-radius-xl: 20px;
    --ctc-radius-lg: 14px;
    --ctc-radius-md: 10px;
    --ctc-shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --ctc-shadow-hover: 0 20px 30px -10px rgba(255, 77, 77, 0.15);
}

/* Force Montserrat & Base Wrapper Overrides */
.ctc-public-menu-wrapper, 
.ctc-public-menu-wrapper *, 
.ctc-menu-layout, 
.ctc-menu-layout *,
#ctc-public-menu-container,
#ctc-public-menu-container *,
#ctc-addon-modal-overlay,
#ctc-addon-modal-overlay *,
#ctc-addon-modal-box,
#ctc-addon-modal-box * {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    color: var(--ctc-dark);
    box-sizing: border-box;
}

/* =================================================================
   1. Ultra-Modern Recommendations Banner
   ================================================================ */

.ctc-recommendations-wrapper {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%) !important;
    border: 1px solid #fed7d7 !important;
    border-radius: var(--ctc-radius-xl) !important;
    padding: 24px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px -10px rgba(255, 77, 77, 0.1) !important;
}

.ctc-rec-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.ctc-rec-icon {
    font-size: 18px !important;
    background: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ctc-rec-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #991b1b !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 !important;
}

.ctc-rec-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 14px !important;
}

.ctc-rec-card {
    background: #ffffff !important;
    border-radius: var(--ctc-radius-lg) !important;
    padding: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: var(--ctc-shadow-card) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.ctc-rec-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--ctc-shadow-hover) !important;
    border-color: #ff8080 !important;
}

.ctc-rec-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--ctc-dark) !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.ctc-rec-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ctc-success) !important;
}

/* =================================================================
   2. Sleek Sidebar & Category Navigation
   ================================================================ */

.ctc-menu-sidebar {
    background: #ffffff !important;
    border: 1px solid var(--ctc-border) !important;
    border-radius: var(--ctc-radius-xl) !important;
    padding: 20px !important;
    box-shadow: var(--ctc-shadow-card) !important;
}

.ctc-sidebar-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    border-radius: var(--ctc-radius-md) !important;
    color: var(--ctc-slate) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    margin-bottom: 6px;
}

.ctc-sidebar-link:hover {
    background: var(--ctc-bg-light) !important;
    color: var(--ctc-primary) !important;
    padding-left: 18px !important;
}

.ctc-sidebar-link.active {
    background: #ffe6e6 !important;
    color: var(--ctc-primary) !important;
    font-weight: 700 !important;
    box-shadow: inset 3px 0 0 var(--ctc-primary);
}

/* =================================================================
   3. Ultra-Modern Button Styling Overhaul (Tomato Red)
   ================================================================ */

.ctc-public-menu-wrapper button:not(.ctc-schedule-selector-btn):not(.ctc-fulfillment-btn),
.ctc-public-menu-wrapper .button,
.ctc-public-menu-wrapper .ctc-btn,
#ctc-addon-modal-overlay button,
#ctc-addon-modal-overlay .button,
.ctc-modal-footer-area button {
    background: linear-gradient(135deg, #ff5c5c 0%, #ff4d4d 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 77, 77, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.ctc-public-menu-wrapper button:not(.ctc-schedule-selector-btn):not(.ctc-fulfillment-btn):hover,
.ctc-public-menu-wrapper .button:hover,
.ctc-public-menu-wrapper .ctc-btn:hover,
#ctc-addon-modal-overlay button:hover,
#ctc-addon-modal-overlay .button:hover,
.ctc-modal-footer-area button:hover {
    background: linear-gradient(135deg, #ff4d4d 0%, #e63939 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.5) !important;
    color: #ffffff !important;
}

.ctc-public-menu-wrapper button:not(.ctc-schedule-selector-btn):not(.ctc-fulfillment-btn):active,
.ctc-public-menu-wrapper .button:active,
#ctc-addon-modal-overlay button:active,
.ctc-modal-footer-area button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 77, 77, 0.3) !important;
}

/* =================================================================
   4. Ultra-Modern Modal & Bottom Sheet Overhaul
   ================================================================ */

#ctc-addon-modal-overlay {
    display: none; 
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    height: 100% !important; 
    background: rgba(9, 13, 22, 0.7) !important; 
    backdrop-filter: blur(8px) !important;
    z-index: 99999 !important; 
    justify-content: center !important; 
    align-items: center !important; 
    padding: 20px;
}

#ctc-addon-modal-box {
    background: #ffffff !important; 
    width: 100% !important; 
    max-width: 900px !important; 
    height: 85vh !important; 
    max-height: 750px !important;
    border-radius: 24px !important; 
    display: flex !important; 
    flex-direction: row !important; 
    position: relative !important; 
    overflow: hidden !important; 
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4) !important;
    animation: ctcZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keep close button separated from Add Instruction. */
#ctc-addon-modal-box #ctc-close-modal {
    top: 12px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 50 !important;
}

@keyframes ctcZoomIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.ctc-modal-left-pane {
    width: 42% !important; 
    background: var(--ctc-bg-light) !important; 
    padding: 32px !important; 
    overflow-y: auto !important; 
    border-right: 1px solid var(--ctc-border) !important;
    display: flex !important;
    flex-direction: column !important;
}

.ctc-modal-right-pane {
    width: 58% !important; 
    display: flex !important; 
    flex-direction: column !important; 
    padding: 76px 32px 32px 32px !important; 
    height: 100% !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

#ctc-modal-groups-container {
    flex-grow: 1 !important; 
    overflow-y: auto !important; 
    padding-right: 8px !important;
    margin-bottom: 16px !important;
}

.ctc-modal-footer-area {
    display: flex !important; 
    gap: 14px !important; 
    align-items: center !important; 
    background: #fff !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--ctc-border) !important;
    flex-shrink: 0 !important;
}

/* =================================================================
   5. Mobile Responsiveness & Native-App Bottom Sheet
   ================================================================ */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .ctc-public-menu-wrapper {
        padding: 8px;
    }

    .ctc-recommendations-wrapper {
        padding: 16px !important;
        margin-bottom: 20px !important;
    }

    .ctc-rec-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
    }
    
    .ctc-rec-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .ctc-rec-card {
        min-width: 160px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        padding: 12px !important;
    }
    
    .ctc-menu-layout {
        flex-direction: column !important;
        display: block !important;
    }
    
    .ctc-menu-sidebar {
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 20px !important;
        padding: 12px !important;
    }
    
    .ctc-menu-sidebar ul {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
    }
    
    .ctc-menu-sidebar ul::-webkit-scrollbar {
        display: none !important;
    }
    
    .ctc-menu-sidebar li {
        flex-shrink: 0 !important;
    }

    .ctc-sidebar-link {
        padding: 8px 14px !important;
        background: var(--ctc-bg-light) !important;
        border: 1px solid var(--ctc-border) !important;
        border-radius: 99px !important;
        font-size: 13px !important;
    }
    
    .ctc-sidebar-link.active {
        background: var(--ctc-primary) !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

    .ctc-menu-items-grid, 
    .ctc-items-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .ctc-public-menu-wrapper button:not(.ctc-schedule-selector-btn):not(.ctc-fulfillment-btn),
    .ctc-public-menu-wrapper .button,
    .ctc-public-menu-wrapper .ctc-btn {
        width: 100% !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

    #ctc-addon-modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    
    #ctc-addon-modal-box {
        max-width: 100% !important;
        width: 100% !important;
        height: 90vh !important;
        max-height: 90vh !important;
        border-radius: 24px 24px 0 0 !important;
        flex-direction: column !important;
        animation: ctcSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    @keyframes ctcSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    
    .ctc-modal-left-pane {
        width: 100% !important;
        padding: 14px 16px !important;
        max-height: 100px !important;
        flex-shrink: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid var(--ctc-border) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .ctc-modal-left-pane h2 {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
    
    .ctc-modal-left-pane p {
        display: none !important; 
    }
    
    .ctc-modal-left-pane img {
        width: 56px !important;
        height: 56px !important;
        max-height: 56px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .ctc-modal-right-pane {
        width: 100% !important;
        padding: 72px 16px 16px 16px !important;
        flex-grow: 1 !important;
        overflow-y: auto !important;
    }

    .ctc-modal-footer-area {
        padding: 12px 16px !important;
    }

    .ctc-modal-footer-area button {
        width: 100% !important;
    }
}

/* =================================================================
   Mobile Popup Optimization: Stack Quantity & Add to Basket Button
   ================================================================ */

@media (max-width: 768px) {
    .ctc-modal-footer-area {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    }

    .ctc-modal-footer-area .quantity,
    .ctc-modal-footer-area .ctc-quantity-wrapper,
    .ctc-modal-footer-area div:has(> button.ctc-qty-btn),
    .ctc-modal-footer-area > div:first-child {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .ctc-modal-footer-area button.ctc-qty-btn,
    .ctc-modal-footer-area .qty-btn,
    .ctc-modal-footer-area .minus,
    .ctc-modal-footer-area .plus {
        flex: 1 !important;
        max-width: 80px !important;
        height: 44px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
    }

    .ctc-modal-footer-area input.qty,
    .ctc-modal-footer-area input[type="number"] {
        flex: 1 !important;
        max-width: 100px !important;
        height: 44px !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border: 1px solid var(--ctc-border) !important;
        border-radius: 12px !important;
        background: var(--ctc-bg-light) !important;
    }

    .ctc-modal-footer-area button#ctc-add-to-basket-btn,
    .ctc-modal-footer-area button.ctc-add-to-cart,
    .ctc-modal-footer-area button[type="submit"],
    .ctc-modal-footer-area .button {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .ctc-modal-footer-area button span,
    .ctc-modal-footer-area .ctc-total-price {
        display: inline-block !important;
        margin-left: auto !important;
        font-weight: 800 !important;
    }
}

/* =================================================================
   Permanent Clean Overrides: Schedule Section & Toggle Buttons
   ================================================================ */

.schedule-section,
.ctc-public-menu-wrapper .schedule-section {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: var(--ctc-dark) !important;
}

.schedule-section .time-text {
    font-weight: 600 !important;
    color: var(--ctc-dark) !important;
}

/* Exempt the schedule button */
.ctc-public-menu-wrapper button.ctc-schedule-selector-btn,
#ctc-public-menu-container button.ctc-schedule-selector-btn,
button.ctc-schedule-selector-btn {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 10px !important;
    color: var(--ctc-dark) !important;
    width: auto !important;
}

.ctc-public-menu-wrapper button.ctc-schedule-selector-btn:hover,
button.ctc-schedule-selector-btn:hover {
    background: var(--ctc-bg-light) !important;
    background-image: none !important;
    transform: none !important;
    box-shadow: none !important;
}

#ctc-selected-time-label {
    color: var(--ctc-dark) !important;
    font-weight: 700 !important;
}

/* ================================================================
   Delivery / Pickup Fulfillment Toggle
   ================================================================ */

.ctc-public-menu-wrapper button.ctc-fulfillment-btn,
#ctc-public-menu-container button.ctc-fulfillment-btn,
button.ctc-fulfillment-btn {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: var(--ctc-slate) !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.ctc-public-menu-wrapper button.ctc-fulfillment-btn:hover,
#ctc-public-menu-container button.ctc-fulfillment-btn:hover,
button.ctc-fulfillment-btn:hover {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    color: var(--ctc-dark) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Active Delivery / Pickup button */
.ctc-public-menu-wrapper button.ctc-fulfillment-btn.active,
#ctc-public-menu-container button.ctc-fulfillment-btn.active,
button.ctc-fulfillment-btn.active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--ctc-dark) !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.15) !important;
    transform: none !important;
}

.ctc-public-menu-wrapper button.ctc-fulfillment-btn.active:hover,
#ctc-public-menu-container button.ctc-fulfillment-btn.active:hover,
button.ctc-fulfillment-btn.active:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--ctc-dark) !important;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.15) !important;
    transform: none !important;
}

/* ================================================================
   Instruction Modal
   Must sit above the product/addon modal.
   ================================================================ */

#ctc-instruction-modal-overlay {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(9, 13, 22, 0.70) !important;
    z-index: 100001 !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

#ctc-instruction-modal-overlay > div {
    position: relative !important;
    z-index: 100002 !important;
    background: #ffffff !important;
    color: var(--ctc-dark) !important;
    width: 100% !important;
    max-width: 520px !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.40) !important;
    box-sizing: border-box !important;
}

#ctc-instruction-modal-overlay textarea,
#ctc-instruction-input {
    width: 100% !important;
    min-height: 120px !important;
    box-sizing: border-box !important;
    resize: vertical !important;
    color: var(--ctc-dark) !important;
    background: #ffffff !important;
    border: 1px solid var(--ctc-border) !important;
    border-radius: 12px !important;
    padding: 12px !important;
}

#ctc-instruction-modal-overlay button {
    cursor: pointer !important;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    #ctc-instruction-modal-overlay {
        padding: 16px !important;
        align-items: center !important;
    }

    #ctc-instruction-modal-overlay > div {
        max-width: 100% !important;
        border-radius: 18px !important;
        padding: 20px !important;
    }
}


/* ================================================================
   Open Now attention indicator
   ================================================================ */

.ctc-restaurant-info-bar span[style*="background:#059669"][style*="border-radius:50%"] {
    animation: ctcOpenNowPulse 1.6s ease-in-out infinite !important;
    transform-origin: center center;
    will-change: transform, opacity, box-shadow;
}

@keyframes ctcOpenNowPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.82);
        box-shadow: 0 0 0 5px rgba(5, 150, 105, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ctc-restaurant-info-bar span[style*="background:#059669"][style*="border-radius:50%"] {
        animation: none !important;
    }
}

/* Frontend fulfilment selector + Rush Mode */
.ctc-frontend-rush-mode{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;border:1px solid #fed7aa;border-left:4px solid #f59e0b;border-radius:0 10px 10px 0;background:#fffbeb;color:#92400e}
.ctc-rush-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#fef3c7;color:#d97706}
.ctc-rush-icon svg{width:19px;height:19px;fill:currentColor}
.ctc-rush-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.ctc-rush-copy strong{font-size:13px;line-height:1.25;color:#92400e}.ctc-rush-copy small{font-size:12px;line-height:1.45;color:#a16207}
.ctc-frontend-fulfillment{display:flex;flex-direction:column;gap:10px;padding-top:2px}.ctc-fulfillment-heading>span{display:flex;flex-direction:column;gap:2px}.ctc-fulfillment-heading strong{font-size:14px;line-height:1.3;color:#0f172a}.ctc-fulfillment-heading small{font-size:12px;line-height:1.4;color:#64748b}
.ctc-fulfillment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ctc-public-menu-wrapper button.ctc-fulfillment-btn,#ctc-public-menu-container button.ctc-fulfillment-btn,button.ctc-fulfillment-btn{position:relative!important;min-height:74px!important;display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;padding:12px 14px!important;border:1px solid #dbe3ee!important;border-radius:12px!important;background:#fff!important;color:#334155!important;text-align:left!important;box-shadow:0 1px 3px rgba(15,23,42,.05)!important}
.ctc-public-menu-wrapper button.ctc-fulfillment-btn:hover,#ctc-public-menu-container button.ctc-fulfillment-btn:hover,button.ctc-fulfillment-btn:hover{border-color:#a8b7c9!important;background:#f8fafc!important;box-shadow:0 4px 12px rgba(15,23,42,.08)!important}
.ctc-public-menu-wrapper button.ctc-fulfillment-btn.active,#ctc-public-menu-container button.ctc-fulfillment-btn.active,button.ctc-fulfillment-btn.active{border-color:#2563eb!important;background:#eff6ff!important;color:#0f172a!important;box-shadow:0 0 0 2px rgba(37,99,235,.10)!important}
.ctc-fulfillment-icon{width:40px;height:40px;flex:0 0 40px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#475569}.ctc-fulfillment-btn.active .ctc-fulfillment-icon{background:#dbeafe;color:#2563eb}.ctc-fulfillment-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ctc-fulfillment-copy{min-width:0;display:flex;flex:1 1 auto;flex-direction:column;gap:2px}.ctc-fulfillment-copy strong{font-size:14px;line-height:1.25;color:#0f172a}.ctc-fulfillment-copy small{font-size:11.5px;line-height:1.35;color:#64748b}
.ctc-fulfillment-check{width:22px;height:22px;flex:0 0 22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;color:transparent;background:#fff}.ctc-fulfillment-btn.active .ctc-fulfillment-check{border-color:#000;background:#000;color:#fff}.ctc-fulfillment-check svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:680px){.ctc-restaurant-info-bar{padding:18px!important;border-radius:14px!important;gap:13px!important}.ctc-restaurant-info-bar>div:first-child{gap:14px!important}.ctc-restaurant-info-bar>div:first-child>div:last-child{width:100%!important;min-width:0!important;align-items:flex-start!important;padding-top:2px}.ctc-restaurant-info-bar>div:first-child>div:last-child>div{align-items:flex-start!important}.ctc-fulfillment-options{grid-template-columns:1fr;gap:8px}.ctc-public-menu-wrapper button.ctc-fulfillment-btn,#ctc-public-menu-container button.ctc-fulfillment-btn,button.ctc-fulfillment-btn{min-height:68px!important;padding:11px 12px!important}.ctc-fulfillment-icon{width:38px;height:38px;flex-basis:38px}.ctc-frontend-rush-mode{padding:12px}}
@media(max-width:420px){.ctc-restaurant-info-bar{padding:15px!important}.ctc-rush-icon{width:32px;height:32px;flex-basis:32px}.ctc-fulfillment-heading small{font-size:11.5px}.ctc-fulfillment-copy strong{font-size:13.5px}.ctc-fulfillment-copy small{font-size:11px}}

.ctc-fulfillment-btn[hidden]{display:none!important}

/* ================================================================
   Compact fulfilment control inside the restaurant status column.
   Checkout Settings is authoritative: hidden modes must stay hidden
   even though the button component uses display:flex !important.
   ================================================================ */
.ctc-fulfillment-btn[hidden] {
    display: none !important;
}

.ctc-frontend-fulfillment-compact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-top: 5px;
    padding-top: 7px;
    border-top: 1px solid #eef2f7;
}

.ctc-frontend-fulfillment-compact .ctc-fulfillment-compact-label {
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #64748b;
}

.ctc-frontend-fulfillment-compact .ctc-fulfillment-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn {
    min-height: 32px !important;
    width: auto !important;
    padding: 5px 8px !important;
    gap: 5px !important;
    border-radius: 9px !important;
    border: 1px solid #dbe3ee !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn:hover,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn:hover,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn:hover {
    border-color: #b9c6d6 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active {
    border-color: #2563eb !important;
    background: #eff6ff !important;
    box-shadow: 0 0 0 1px rgba(37,99,235,.08) !important;
}

.ctc-frontend-fulfillment-compact .ctc-fulfillment-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 6px;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-icon svg {
    width: 14px;
    height: 14px;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy {
    flex: 0 1 auto;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy strong {
    font-size: 11.5px;
    line-height: 1;
    white-space: nowrap;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy small {
    margin-top: 2px;
    font-size: 9.5px;
    line-height: 1;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-btn.active .ctc-fulfillment-copy small {
    color: #475569;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-check {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-check svg {
    width: 9px;
    height: 9px;
}

@media (max-width: 680px) {
    .ctc-frontend-fulfillment-compact {
        width: 100%;
        align-items: flex-start;
        margin-top: 6px;
        padding-top: 8px;
    }
    .ctc-frontend-fulfillment-compact .ctc-fulfillment-options {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
    #ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
    .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn {
        min-height: 34px !important;
        padding: 5px 9px !important;
    }
}

/* =================================================================
   Floating Basket — Checkout Visual System
   ================================================================= */
.ctc-floating-basket-bar{
    position:fixed;
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    z-index:9999;
    width:min(460px,calc(100% - 28px));
    box-sizing:border-box;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:10px 10px 10px 14px;
    background:#fff;
    color:#0f172a;
    border:1px solid #dbe3ee;
    border-radius:16px;
    box-shadow:0 14px 40px rgba(15,23,42,.16);
    cursor:pointer;
}
.ctc-floating-basket-summary{display:flex;align-items:center;min-width:0;gap:11px}
.ctc-floating-basket-icon{
    width:40px;height:40px;flex:0 0 40px;border-radius:12px;
    display:grid;place-items:center;background:#fff7f8;color:#ff4050;
    border:1px solid #ffd8dc;
}
.ctc-floating-basket-icon svg{width:21px;height:21px;display:block}
.ctc-floating-basket-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
.ctc-floating-basket-copy strong{font-size:14px;line-height:1.2;font-weight:800;color:#0f172a}
.ctc-floating-basket-copy>span{font-size:13px;line-height:1.2;font-weight:700;color:#475569}
.ctc-floating-basket-action{
    display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;
    min-height:40px;padding:0 15px;border-radius:11px;background:#ff4050;color:#fff;
    font-size:13px;font-weight:800;box-shadow:0 4px 12px rgba(255,64,80,.22);
}
.ctc-floating-basket-action svg{width:16px;height:16px}
.ctc-floating-basket-bar:hover .ctc-floating-basket-action{background:#ef3344}
.ctc-floating-basket-bar:focus-visible{outline:3px solid rgba(255,64,80,.22);outline-offset:3px}

.ctc-basket-drawer-overlay{
    position:fixed;inset:0;z-index:10000;
    background:rgba(15,23,42,.52);backdrop-filter:blur(4px);
    justify-content:flex-end;align-items:stretch;
}
.ctc-basket-drawer{
    width:min(440px,100%);height:100%;margin-left:auto;box-sizing:border-box;
    display:flex;flex-direction:column;background:#f8fafc;
    border-left:1px solid #e2e8f0;box-shadow:-18px 0 50px rgba(15,23,42,.16);
    transform:translateX(100%);transition:transform .3s cubic-bezier(.16,1,.3,1);
}
.ctc-basket-drawer-head{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    padding:20px 22px;background:#fff;border-bottom:1px solid #e2e8f0;
}
.ctc-basket-drawer-title{display:flex;align-items:center;gap:12px;min-width:0}
.ctc-basket-drawer-title-icon{
    width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;
    background:#fff7f8;color:#ff4050;border:1px solid #ffd8dc;
}
.ctc-basket-drawer-title-icon svg{width:21px;height:21px}
.ctc-basket-drawer-title h3{margin:0;color:#0f172a;font-size:18px;line-height:1.2;font-weight:800}
.ctc-basket-drawer-title p{margin:4px 0 0;color:#64748b;font-size:12px;line-height:1.35}
.ctc-basket-drawer-close{
    width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid #e2e8f0;border-radius:10px;
    background:#f8fafc;color:#475569;display:grid;place-items:center;cursor:pointer;
}
.ctc-basket-drawer-close svg{width:18px;height:18px}
.ctc-basket-drawer-close:hover{background:#f1f5f9;color:#0f172a}
.ctc-basket-items-container{padding:18px 20px;overflow-y:auto;flex:1;min-height:0}
.ctc-basket-item{
    display:flex;justify-content:space-between;align-items:flex-start;gap:14px;
    padding:14px;margin-bottom:10px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;
}
.ctc-basket-item-main{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}
.ctc-basket-item-image{width:58px;height:58px;flex:0 0 58px;object-fit:cover;border-radius:10px;background:#f1f5f9}
.ctc-basket-item-copy{min-width:0;flex:1}
.ctc-basket-item-name{font-size:14px;line-height:1.3;font-weight:800;color:#0f172a}
.ctc-basket-item-options{margin-top:4px;color:#64748b;font-size:11px;line-height:1.4}
.ctc-basket-item-price{margin-top:7px;color:#0f172a;font-size:13px;font-weight:800}
.ctc-basket-item-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.ctc-basket-qty-control{height:32px;display:flex;align-items:center;overflow:hidden;border:1px solid #dbe3ee;border-radius:9px;background:#fff}
.ctc-basket-qty-control button{
    width:30px;height:30px;padding:0;border:0!important;background:#fff!important;color:#475569!important;
    box-shadow:none!important;font-size:15px!important;font-weight:800!important;cursor:pointer!important;
}
.ctc-basket-qty-control button:hover{background:#f8fafc!important;color:#0f172a!important}
.ctc-basket-qty-control span{min-width:24px;text-align:center;color:#0f172a;font-size:12px;font-weight:800}
.ctc-drawer-item-remove{
    width:32px!important;height:32px!important;padding:0!important;display:grid!important;place-items:center!important;
    border:1px solid #fee2e2!important;border-radius:9px!important;background:#fff7f7!important;color:#b91c1c!important;
    box-shadow:none!important;font-size:18px!important;line-height:1!important;cursor:pointer!important;
}
.ctc-drawer-item-remove:hover{background:#fee2e2!important}
.ctc-basket-empty{
    margin-top:10px;padding:34px 18px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;
    color:#64748b;font-size:14px;
}
.ctc-basket-drawer-footer{padding:18px 20px 20px;background:#fff;border-top:1px solid #e2e8f0}
.ctc-basket-summary-card{padding:14px 15px;margin-bottom:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}
.ctc-basket-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#64748b;font-size:13px}
.ctc-basket-summary-row strong{color:#0f172a;font-size:13px;font-weight:800}
.ctc-basket-summary-total{margin-top:10px;padding-top:10px;border-top:1px solid #e2e8f0;color:#0f172a;font-size:15px;font-weight:800}
.ctc-basket-summary-total strong{font-size:18px;color:#0f172a}
.ctc-basket-checkout-btn{
    width:100%;min-height:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;
    padding:12px 18px;border-radius:12px;background:#ff4050;color:#fff!important;text-decoration:none!important;
    font-size:14px;font-weight:800;box-shadow:0 4px 12px rgba(255,64,80,.22);
}
.ctc-basket-checkout-btn:hover{background:#ef3344;color:#fff!important}
.ctc-basket-checkout-btn svg{width:17px;height:17px}

@media(max-width:600px){
    .ctc-floating-basket-bar{bottom:14px;width:calc(100% - 20px);padding:9px 9px 9px 11px;border-radius:14px;gap:10px}
    .ctc-floating-basket-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}
    .ctc-floating-basket-icon svg{width:19px;height:19px}
    .ctc-floating-basket-copy strong{font-size:13px}.ctc-floating-basket-copy>span{font-size:12px}
    .ctc-floating-basket-action{min-height:36px;padding:0 11px;font-size:12px;border-radius:10px}
    .ctc-basket-drawer{width:100%;border-left:0}
    .ctc-basket-drawer-head{padding:16px}
    .ctc-basket-items-container{padding:14px}
    .ctc-basket-drawer-footer{padding:14px}
    .ctc-basket-item{flex-direction:column;gap:10px;padding:12px}
    .ctc-basket-item-actions{width:100%;justify-content:space-between;padding-left:70px;box-sizing:border-box}
}

/* =================================================================
   Floating Basket Typography — Montserrat
   The floating shortcode renders outside the main menu wrapper, so it
   needs its own font scope even though Montserrat is already loaded above.
   ================================================================= */
.ctc-floating-basket-bar,
.ctc-floating-basket-bar *,
.ctc-basket-drawer-overlay,
.ctc-basket-drawer-overlay *,
.ctc-basket-drawer,
.ctc-basket-drawer * {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
}

/* ==========================================================================\n   Modern Takeaway - Compact Product Cards\n   4 columns desktop / 3 tablet / 2 mobile\n   ========================================================================== */
.ctc-public-menu .ctc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.ctc-public-menu .ctc-product-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ctc-public-menu .ctc-product-card:hover {
    transform: translateY(-2px);
    border-color: #d5dce7;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.ctc-public-menu .ctc-product-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.ctc-public-menu .ctc-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

.ctc-public-menu .ctc-product-body {
    flex: 1;
    min-width: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.ctc-public-menu .ctc-product-name {
    margin: 0;
    color: #172033;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 38px;
}

.ctc-public-menu .ctc-product-description {
    margin: 6px 0 0;
    color: #718096;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ctc-public-menu .ctc-product-footer {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
}

.ctc-public-menu .ctc-product-price {
    display: block;
    width: 100%;
    color: #101828;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.15px;
    white-space: nowrap;
}

.ctc-public-menu .ctc-product-action,
.ctc-public-menu .ctc-product-action.button {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    flex: 0 0 auto;
    width: 100% !important;
    min-height: 32px;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: var(--ctc-product-btn-radius, 8px) !important;
    background: var(--ctc-product-btn-bg, #ff5a5f) !important;
    color: var(--ctc-product-btn-color, #fff) !important;
    box-shadow: 0 3px 8px rgba(255, 90, 95, 0.16) !important;
    font-family: var(--ctc-product-btn-font, Montserrat, sans-serif) !important;
    font-size: var(--ctc-product-btn-size, 10.5px) !important;
    font-weight: var(--ctc-product-btn-weight, 700) !important;
    line-height: 1.15 !important;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ctc-public-menu .ctc-product-action:hover,
.ctc-public-menu .ctc-product-action.button:hover {
    background: var(--ctc-product-btn-hover-bg, #f0444a) !important;
    color: var(--ctc-product-btn-hover-color, #fff) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255, 90, 95, 0.24) !important;
}

.ctc-public-menu .ctc-product-action:focus-visible {
    outline: 3px solid rgba(255, 90, 95, .22);
    outline-offset: 2px;
}

@media (max-width: 1180px) {
    .ctc-public-menu .ctc-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .ctc-public-menu .ctc-product-price {
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    .ctc-public-menu .ctc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ctc-public-menu .ctc-product-card {
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
    }

    .ctc-public-menu .ctc-product-image-wrap {
        aspect-ratio: 1 / .82;
    }

    .ctc-public-menu .ctc-product-image {
        padding: 6px;
    }

    .ctc-public-menu .ctc-product-body {
        padding: 10px;
    }

    .ctc-public-menu .ctc-product-name {
        font-size: 12.5px;
        line-height: 1.35;
        min-height: 34px;
    }

    .ctc-public-menu .ctc-product-description {
        font-size: 10.5px;
        -webkit-line-clamp: 1;
    }

    .ctc-public-menu .ctc-product-footer {
        padding-top: 9px;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .ctc-public-menu .ctc-product-price {
        font-size: 12px;
        white-space: nowrap;
    }

    .ctc-public-menu .ctc-product-action,
    .ctc-public-menu .ctc-product-action.button {
        width: 100% !important;
        min-height: 31px;
        padding: 6px 7px !important;
        border-radius: var(--ctc-product-btn-radius, 8px) !important;
        font-size: var(--ctc-product-btn-size, 10.5px) !important;
        white-space: nowrap;
    }
}

@media (max-width: 390px) {
    .ctc-public-menu .ctc-product-grid {
        gap: 8px;
    }

    .ctc-public-menu .ctc-product-body {
        padding: 8px;
    }

    .ctc-public-menu .ctc-product-name {
        font-size: 11.5px;
        min-height: 32px;
    }

    .ctc-public-menu .ctc-product-description {
        display: none;
    }

    .ctc-public-menu .ctc-product-price {
        font-size: 11.5px;
        letter-spacing: -0.2px;
    }

    .ctc-public-menu .ctc-product-action,
    .ctc-public-menu .ctc-product-action.button {
        min-height: 30px;
        padding: 6px 6px !important;
        font-size: var(--ctc-product-btn-size, 10.5px) !important;
    }
}


/* ==========================================================
   Frontend Menu Refresh — horizontal categories + product rows
   Scoped to the main menu only. Recommendations remain untouched.
   ========================================================== */
.ctc-menu-layout{
    display:block !important;
    width:100% !important;
}
.ctc-menu-layout .ctc-category-strip{
    position:sticky !important;
    top:calc(var(--menushell-sticky-header-offset, 0px) + 10px) !important;
    z-index:80 !important;
    width:100% !important;
    margin:0 0 26px !important;
    padding:10px 12px !important;
    border:1px solid #e2e8f0 !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 8px 24px rgba(15,23,42,.07) !important;
    backdrop-filter:blur(10px);
    box-sizing:border-box;
}
.ctc-menu-layout .ctc-category-strip-label{display:none}
.ctc-menu-layout .ctc-category-strip ul{
    display:flex !important;
    flex-direction:row !important;
    align-items:center;
    gap:8px !important;
    margin:0 !important;
    padding:0 2px 2px !important;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
}
.ctc-menu-layout .ctc-category-strip ul::-webkit-scrollbar{display:none}
.ctc-menu-layout .ctc-category-strip li{
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
}
.ctc-menu-layout .ctc-category-strip .ctc-sidebar-link{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 14px !important;
    border:1px solid #e2e8f0;
    border-radius:999px !important;
    background:#fff;
    color:#334155 !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1.1;
    white-space:nowrap;
    text-decoration:none !important;
    box-sizing:border-box;
}
.ctc-menu-layout .ctc-category-strip .ctc-sidebar-link:hover{
    border-color:#cbd5e1;
    background:#f8fafc;
}
.ctc-menu-layout .ctc-category-strip .ctc-sidebar-link.active{
    border-color:#0f172a !important;
    background:#0f172a !important;
    color:#fff !important;
}
.ctc-menu-layout .ctc-public-menu{
    width:100% !important;
    min-width:0 !important;
}
.ctc-public-menu .ctc-menu-category-section{
    margin:0 0 34px;
    scroll-margin-top:86px;
}
.ctc-public-menu .ctc-menu-category-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin:0 0 14px;
    padding:0 2px 10px;
    border-bottom:1px solid #e2e8f0;
}
.ctc-public-menu .ctc-menu-category-copy{min-width:0}
.ctc-public-menu .ctc-menu-category-header h3{
    margin:0;
    color:#1e293b;
    font-size:20px;
    font-weight:800;
    line-height:1.2;
    text-transform:uppercase;
}
.ctc-public-menu .ctc-menu-category-header p{
    margin:5px 0 0 !important;
    color:#64748b !important;
    font-size:12px !important;
    line-height:1.4 !important;
}
.ctc-public-menu .ctc-product-row-controls{
    display:flex;
    flex:0 0 auto;
    gap:7px;
}
.ctc-public-menu .ctc-product-row-arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid #dbe3ee;
    border-radius:50%;
    background:#fff;
    color:#0f172a;
    font-size:23px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 2px 7px rgba(15,23,42,.05);
}
.ctc-public-menu .ctc-product-row-arrow:hover{background:#f8fafc}
.ctc-public-menu .ctc-product-grid{
    display:flex !important;
    grid-template-columns:none !important;
    gap:14px !important;
    width:100%;
    padding:2px 2px 12px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x proximity;
    scroll-behavior:smooth;
    scrollbar-width:thin;
    scrollbar-color:#cbd5e1 transparent;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
    box-sizing:border-box;
}
.ctc-public-menu .ctc-product-grid::-webkit-scrollbar{height:6px}
.ctc-public-menu .ctc-product-grid::-webkit-scrollbar-track{background:transparent}
.ctc-public-menu .ctc-product-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.ctc-public-menu .ctc-product-grid .ctc-product-card{
    flex:0 0 calc((100% - 70px) / 6);
    min-width:0;
    scroll-snap-align:start;
}
@media (max-width:1180px){
    .ctc-public-menu .ctc-product-grid .ctc-product-card{
        flex-basis:calc((100% - 56px) / 5);
    }
}
@media (max-width:900px){
    .ctc-public-menu .ctc-product-grid .ctc-product-card{
        flex-basis:calc((100% - 42px) / 4);
    }
}
@media (max-width:767px){
    .ctc-menu-layout .ctc-category-strip{
        top:6px !important;
        margin-bottom:20px !important;
        padding:8px !important;
        border-radius:12px !important;
    }
    .ctc-menu-layout .ctc-category-strip .ctc-sidebar-link{
        min-height:34px;
        padding:7px 11px !important;
        font-size:11px !important;
    }
    .ctc-public-menu .ctc-menu-category-section{
        margin-bottom:27px;
        scroll-margin-top:72px;
    }
    .ctc-public-menu .ctc-menu-category-header{
        align-items:center;
        margin-bottom:11px;
        padding-bottom:8px;
    }
    .ctc-public-menu .ctc-menu-category-header h3{font-size:17px}
    .ctc-public-menu .ctc-product-row-controls{display:none}
    .ctc-public-menu .ctc-product-grid{
        gap:10px !important;
        padding-bottom:10px;
        scrollbar-width:none;
    }
    .ctc-public-menu .ctc-product-grid::-webkit-scrollbar{display:none}
    .ctc-public-menu .ctc-product-grid .ctc-product-card{
        flex:0 0 calc((100% - 20px) / 2.25);
    }
}
@media (max-width:390px){
    .ctc-public-menu .ctc-product-grid .ctc-product-card{
        flex-basis:calc((100% - 16px) / 2.15);
    }
}


/* V3 layout lock: the legacy inline/sidebar flex layout is intentionally removed in PHP. */
.ctc-menu-layout{
    display:block !important;
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
}
.ctc-menu-layout > .ctc-category-strip,
.ctc-menu-layout > .ctc-public-menu{
    width:100% !important;
    max-width:100% !important;
    flex:none !important;
}


/* Recommended For You — compact product imagery, click behavior unchanged */
.ctc-recommendations-wrapper .ctc-rec-card{
    overflow:hidden !important;
    padding:0 !important;
    justify-content:flex-start !important;
}
.ctc-recommendations-wrapper .ctc-rec-image-wrap{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#f8fafc;
    border-bottom:1px solid #f1f5f9;
}
.ctc-recommendations-wrapper .ctc-rec-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.ctc-recommendations-wrapper .ctc-rec-content{
    display:flex;
    flex:1;
    flex-direction:column;
    justify-content:space-between;
    min-width:0;
    padding:12px 14px 14px;
}
.ctc-recommendations-wrapper .ctc-rec-name{
    display:-webkit-box;
    overflow:hidden;
    margin-bottom:8px !important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
@media(max-width:767px){
    .ctc-recommendations-wrapper .ctc-rec-image-wrap{aspect-ratio:4/3}
    .ctc-recommendations-wrapper .ctc-rec-content{padding:10px 11px 12px}
}


/* Mobile recommendations — compact suggestion cards */
@media(max-width:767px){
    .ctc-recommendations-wrapper .ctc-rec-grid{
        gap:10px !important;
    }
    .ctc-recommendations-wrapper .ctc-rec-card{
        min-width:220px !important;
        max-width:220px !important;
        min-height:82px !important;
        display:flex !important;
        flex-direction:row !important;
        align-items:stretch !important;
        border-radius:12px !important;
    }
    .ctc-recommendations-wrapper .ctc-rec-image-wrap{
        flex:0 0 82px;
        width:82px;
        height:82px;
        aspect-ratio:auto !important;
        border-right:1px solid #f1f5f9;
        border-bottom:0;
        background:#f8fafc;
    }
    .ctc-recommendations-wrapper .ctc-rec-image{
        width:100%;
        height:100%;
        object-fit:cover;
    }
    .ctc-recommendations-wrapper .ctc-rec-content{
        min-width:0;
        padding:10px 11px !important;
        justify-content:center;
    }
    .ctc-recommendations-wrapper .ctc-rec-name{
        margin-bottom:5px !important;
        font-size:12px !important;
        line-height:1.25 !important;
        -webkit-line-clamp:2;
    }
    .ctc-recommendations-wrapper .ctc-rec-price{
        font-size:11px !important;
        line-height:1.2 !important;
    }
}
@media(max-width:390px){
    .ctc-recommendations-wrapper .ctc-rec-card{
        min-width:205px !important;
        max-width:205px !important;
        min-height:76px !important;
    }
    .ctc-recommendations-wrapper .ctc-rec-image-wrap{
        flex-basis:76px;
        width:76px;
        height:76px;
    }
}


/* Recommendations — compact horizontal card style on desktop too */
@media(min-width:768px){
    .ctc-recommendations-wrapper .ctc-rec-grid{
        display:flex !important;
        overflow-x:auto !important;
        gap:12px !important;
        padding-bottom:8px !important;
        scroll-snap-type:x proximity !important;
        scrollbar-width:thin !important;
    }
    .ctc-recommendations-wrapper .ctc-rec-card{
        flex:0 0 245px !important;
        min-width:245px !important;
        max-width:245px !important;
        min-height:92px !important;
        display:flex !important;
        flex-direction:row !important;
        align-items:stretch !important;
        border-radius:12px !important;
    }
    .ctc-recommendations-wrapper .ctc-rec-image-wrap{
        flex:0 0 92px;
        width:92px;
        height:92px;
        aspect-ratio:auto !important;
        border-right:1px solid #f1f5f9;
        border-bottom:0;
        background:#f8fafc;
    }
    .ctc-recommendations-wrapper .ctc-rec-image{
        width:100%;
        height:100%;
        object-fit:cover;
    }
    .ctc-recommendations-wrapper .ctc-rec-content{
        min-width:0;
        padding:11px 12px !important;
        justify-content:center;
    }
    .ctc-recommendations-wrapper .ctc-rec-name{
        margin-bottom:6px !important;
        font-size:13px !important;
        line-height:1.25 !important;
        -webkit-line-clamp:2;
    }
    .ctc-recommendations-wrapper .ctc-rec-price{
        font-size:12px !important;
        line-height:1.2 !important;
    }
}

.ctc-delivery-area-gate{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.64);backdrop-filter:blur(5px)}body.ctc-delivery-gate-open{overflow:hidden!important}.ctc-delivery-area-card{width:min(100%,460px);box-sizing:border-box;padding:27px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 24px 70px rgba(15,23,42,.25);font-family:'Montserrat',sans-serif;text-align:center}.ctc-delivery-area-icon{width:50px;height:50px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:#fff1f2;border-radius:14px;font-size:24px}.ctc-delivery-area-card h2{margin:0 0 7px;font-size:21px;color:#0f172a}.ctc-delivery-area-card p{margin:0 0 17px;color:#64748b;font-size:13px}#ctc-delivery-area-address{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #cbd5e1;border-radius:11px;font:600 13px 'Montserrat',sans-serif;outline:none}#ctc-delivery-area-address:focus{border-color:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.1)}#ctc-delivery-area-check,.ctc-delivery-area-pickup{width:100%;margin-top:10px;padding:13px;border:0;border-radius:11px;font:700 13px 'Montserrat',sans-serif;cursor:pointer}#ctc-delivery-area-check{background:#ef4444;color:#fff}#ctc-delivery-area-check:disabled{opacity:.5;cursor:not-allowed}.ctc-delivery-area-pickup{background:#f1f5f9;color:#334155}#ctc-delivery-area-status{min-height:19px;margin-top:9px;font-size:12px;font-weight:650;color:#64748b}#ctc-delivery-area-status.is-success{color:#059669}#ctc-delivery-area-status.is-error{color:#dc2626}.ctc-delivery-area-card small{display:block;margin-top:12px;color:#94a3b8;font-size:10px}@media(max-width:767px){.ctc-delivery-area-card{padding:21px 16px;border-radius:17px}.ctc-delivery-area-card h2{font-size:19px}}

.ctc-delivery-google-host{width:100%;text-align:left}
.ctc-delivery-google-host gmp-place-autocomplete{width:100%;--gmpx-color-surface:#fff;--gmpx-color-on-surface:#0f172a}


/* Delivery gate Google Places UI — readability only.
   CSS-only: no address verification / API logic changes. */
.ctc-delivery-area-card,
.ctc-delivery-google-host,
.ctc-delivery-google-host gmp-place-autocomplete{
    color-scheme: light !important;
}

.ctc-delivery-google-host gmp-place-autocomplete{
    width:100% !important;

    /* Current Google Places UI Kit color tokens */
    --gmp-mat-color-surface:#ffffff;
    --gmp-mat-color-on-surface:#0f172a;
    --gmp-mat-color-on-surface-variant:#64748b;
    --gmp-mat-color-primary:#ef4444;
}

/* Legacy Google Places fallback, if Google serves the older widget */
.pac-container{
    background:#ffffff !important;
    color:#0f172a !important;
    border:1px solid #e2e8f0 !important;
    box-shadow:0 12px 30px rgba(15,23,42,.16) !important;
}
.pac-item{
    background:#ffffff !important;
    color:#0f172a !important;
    border-top:1px solid #e2e8f0 !important;
}
.pac-item:hover,
.pac-item-selected{
    background:#f8fafc !important;
}
.pac-item-query{
    color:#0f172a !important;
}
.pac-matched{
    color:#0f172a !important;
    font-weight:700 !important;
}

/* ================================================================
   Compact fulfilment selector — clear selected / unselected states.
   Selected: black surface, white icon/text/check.
   Unselected: white surface, neutral border, no visible check.
   ================================================================ */
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active:hover,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active:hover,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active:hover {
    border-color: #000 !important;
    background: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon {
    background: transparent !important;
    color: #fff !important;
}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-copy strong {
    color: #fff !important;
}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn:not(.active) .ctc-fulfillment-check {
    display: none !important;
}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-check {
    display: inline-flex !important;
    border-color: #fff !important;
    background: #fff !important;
    color: #000 !important;
}

/* Active compact fulfilment service icon: force SVG strokes white on black. */
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon svg,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon svg path,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon svg circle {
    stroke: #fff !important;
}


/* Product modal CTA + quantity polish */
#ctc-confirm-addons-btn,
#ctc-confirm-addons-btn .ctc-add-basket-label,
#ctc-confirm-addons-btn .btn-price {
    color: #fff !important;
}
#ctc-confirm-addons-btn .btn-price {
    background: rgba(0,0,0,.15) !important;
}
.ctc-main-qty-control {
    height: 40px !important;
}
.ctc-main-qty-control #ctc-qty-minus,
.ctc-main-qty-control #ctc-qty-plus {
    min-width: 42px !important;
    padding: 0 11px !important;
    font-size: 14px !important;
}
.ctc-main-qty-control #ctc-modal-qty-display {
    min-width: 16px !important;
    padding: 0 5px !important;
    font-size: 14px !important;
}

/* =================================================================
   Product Modal Final Polish — active choice UX
   ================================================================ */
#ctc-addon-modal-box {
    border: 1px solid rgba(226, 232, 240, .85) !important;
}

.ctc-modal-left-pane {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
}

#ctc-modal-img {
    margin-top: 18px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08) !important;
}

#ctc-open-instruction-modal {
    border-color: #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04) !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
#ctc-open-instruction-modal:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .07) !important;
    transform: translateY(-1px) !important;
}

.ctc-modifier-group {
    padding: 18px !important;
    margin: 0 0 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.ctc-modifier-group:last-child { margin-bottom: 0 !important; }
.ctc-modifier-group.has-error {
    border-color: #f87171 !important;
    background: #fffafa !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, .12) !important;
}
.ctc-modifier-group-head { margin-bottom: 12px !important; }
.ctc-modifier-title-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}
.ctc-modifier-title-wrap h3 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}
.ctc-modifier-badge {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    border-radius: 999px !important;
    padding: 4px 9px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}
.ctc-modifier-badge.is-required {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #fecdd3 !important;
}
.ctc-modifier-badge.is-optional {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}
.ctc-modifier-helper {
    margin-top: 5px !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}
.ctc-modifier-validation {
    display: none;
    margin: -2px 0 10px !important;
    color: #b91c1c !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}
.ctc-modifier-options {
    display: grid !important;
    gap: 8px !important;
}
.ctc-option-row {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}
.ctc-option-row:hover {
    border-color: #cbd5e1 !important;
    background: #fff !important;
}
.ctc-option-row.is-selected {
    border-color: #fb7185 !important;
    background: #fff7f7 !important;
    box-shadow: 0 0 0 2px rgba(251, 113, 133, .08) !important;
}
.ctc-option-label {
    min-height: 48px !important;
    padding: 11px 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}
.ctc-option-main {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
}
.ctc-option-main input.ctc-group-input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    accent-color: #ef4444 !important;
}
.ctc-option-name {
    color: #334155 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}
.ctc-option-price {
    flex: 0 0 auto !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
.ctc-addon-qty-wrapper {
    display: none;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    padding: 0 12px 10px !important;
}
.ctc-addon-qty-label {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}
.ctc-addon-qty-control {
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    height: 32px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
}
#ctc-addon-modal-overlay .ctc-addon-qty-control button.ctc-addon-qty-minus,
#ctc-addon-modal-overlay .ctc-addon-qty-control button.ctc-addon-qty-plus {
    width: 34px !important;
    min-width: 34px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #475569 !important;
    box-shadow: none !important;
    transform: none !important;
    font-size: 16px !important;
}
#ctc-addon-modal-overlay .ctc-addon-qty-control button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}
.ctc-addon-qty-display {
    min-width: 24px !important;
    padding: 0 4px !important;
    color: #0f172a !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
.ctc-modal-no-options {
    padding: 20px !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    text-align: center !important;
    font-size: 13px !important;
}

.ctc-modal-footer-area {
    margin: 0 -2px !important;
    padding-top: 16px !important;
    background: #fff !important;
}
#ctc-confirm-addons-btn {
    min-height: 50px !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    #ctc-addon-modal-box { height: min(92vh, 780px) !important; max-height: 92vh !important; }
    .ctc-modal-right-pane { padding: 64px 14px 0 !important; }
    #ctc-modal-groups-container { padding-right: 0 !important; margin-bottom: 0 !important; }
    .ctc-modifier-group { padding: 14px !important; margin-bottom: 12px !important; border-radius: 14px !important; }
    .ctc-modifier-title-wrap { align-items: flex-start !important; }
    .ctc-modifier-title-wrap h3 { font-size: 14px !important; }
    .ctc-option-name { font-size: 12px !important; font-weight: 600 !important; }
    .ctc-option-price { font-size: 12px !important; font-weight: 700 !important; }
    #ctc-modal-item-title { font-size: 22px !important; }
    .ctc-option-label { min-height: 50px !important; padding: 12px !important; }
    .ctc-modal-footer-area {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 8 !important;
        margin: 12px -14px 0 !important;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 -8px 22px rgba(15, 23, 42, .08) !important;
    }
    .ctc-main-qty-control { width: 100% !important; justify-content: space-between !important; }
    #ctc-addon-modal-overlay .ctc-main-qty-control #ctc-qty-minus,
    #ctc-addon-modal-overlay .ctc-main-qty-control #ctc-qty-plus {
        flex: 0 0 46px !important;
        width: 46px !important;
        min-width: 46px !important;
    }
}

/* =================================================================
   v3.6.56 — Mobile Product Modal Compact Layout
   Mobile-only vertical-space optimisation. Desktop remains unchanged.
   ================================================================ */
@media (max-width: 768px) {
    /* Compact product header while retaining a clear tap target for close. */
    .ctc-modal-left-pane {
        padding: 10px 14px !important;
        max-height: 82px !important;
        gap: 10px !important;
    }
    .ctc-modal-left-pane h2,
    #ctc-modal-item-title {
        font-size: 20px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        margin-bottom: 3px !important;
    }
    #ctc-modal-desc {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }
    .ctc-modal-left-pane img,
    #ctc-modal-img {
        width: 50px !important;
        height: 50px !important;
        max-height: 50px !important;
        margin-top: 0 !important;
    }

    /* Recover the large blank band above the modifier controls. */
    .ctc-modal-right-pane {
        padding: 10px 12px 0 !important;
    }

    #ctc-open-instruction-modal {
        padding: 9px 12px !important;
        margin-bottom: 10px !important;
        min-height: 40px !important;
    }
    #ctc-open-instruction-modal > span:first-child {
        font-size: 13px !important;
        font-weight: 600 !important;
        gap: 6px !important;
    }
    #ctc-open-instruction-modal > span:first-child > span,
    #ctc-open-instruction-modal > span:last-child {
        font-size: 16px !important;
    }
    #ctc-instruction-summary {
        margin: -6px 0 10px 3px !important;
    }

    .ctc-modifier-group {
        padding: 11px !important;
        margin-bottom: 9px !important;
        border-radius: 12px !important;
    }
    .ctc-modifier-group-head {
        margin-bottom: 8px !important;
    }
    .ctc-modifier-title-wrap h3 {
        font-size: 13px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }
    .ctc-modifier-badge {
        padding: 3px 7px !important;
        font-size: 9px !important;
        font-weight: 800 !important;
    }
    .ctc-modifier-helper {
        margin-top: 3px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    .ctc-modifier-options {
        gap: 6px !important;
    }
    .ctc-option-label {
        min-height: 58px !important;
        padding: 8px 10px !important;
        gap: 9px !important;
    }
    .ctc-option-main {
        gap: 9px !important;
    }
    .ctc-option-main input.ctc-group-input {
        width: 17px !important;
        height: 17px !important;
    }
    .ctc-option-name {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    .ctc-option-price {
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    /* One compact sticky action row: quantity (~34%) + CTA (~66%). */
    .ctc-modal-footer-area {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 8px -12px 0 !important;
        padding: 7px 12px calc(7px + env(safe-area-inset-bottom)) !important;
    }
    .ctc-modal-footer-area .ctc-main-qty-control,
    .ctc-modal-footer-area > div:first-child {
        flex: 0 0 34% !important;
        width: 34% !important;
        min-width: 0 !important;
        height: 46px !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }
    #ctc-addon-modal-overlay .ctc-main-qty-control #ctc-qty-minus,
    #ctc-addon-modal-overlay .ctc-main-qty-control #ctc-qty-plus {
        flex: 0 0 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 44px !important;
        padding: 0 !important;
        font-size: 16px !important;
    }
    .ctc-main-qty-control #ctc-modal-qty-display {
        flex: 1 1 auto !important;
        min-width: 18px !important;
        padding: 0 2px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }
    .ctc-modal-footer-area #ctc-confirm-addons-btn {
        flex: 1 1 66% !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 46px !important;
        height: 46px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        gap: 8px !important;
    }
    #ctc-confirm-addons-btn .ctc-add-basket-label {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    #ctc-confirm-addons-btn .btn-price {
        flex: 0 0 auto !important;
        padding: 4px 7px !important;
    }
}

/* v3.6.70: Recommendation-only compact product tags */
.ctc-recommendations-wrapper .ctc-rec-tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:3px 0 5px}
.ctc-recommendations-wrapper .ctc-rec-tag,.ctc-recommendations-wrapper .ctc-rec-tag-more{display:inline-flex;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;max-width:100%;min-height:20px;padding:2px 6px;border:0;border-radius:5px;font-size:10px;font-weight:600;line-height:1.15;white-space:nowrap}
.ctc-recommendations-wrapper .ctc-rec-tag{color:var(--ctc-tag-color,#475569);background:color-mix(in srgb,var(--ctc-tag-color,#475569) 10%,white)}
.ctc-recommendations-wrapper .ctc-rec-tag svg{width:11px;height:11px;flex:none}
.ctc-recommendations-wrapper .ctc-rec-tag-more{background:#f1f5f9;color:#475569}
.ctc-recommendations-wrapper .ctc-rec-name{margin-bottom:3px!important}

/* v3.6.71: Prevent hover outline clipping at the horizontal scroll edge. */
.ctc-recommendations-wrapper .ctc-rec-card:hover,
.ctc-recommendations-wrapper .ctc-rec-card:focus-visible{
 transform:none !important;
 border-color:#ff8080 !important;
 box-shadow:inset 0 0 0 1px #ff8080, var(--ctc-shadow-hover) !important;
}

/* v3.6.84: Align promotional banner's top and bottom spacing.
   Only affects restaurant homepages with a promotional banner; other
   menus and all category scroll/navigation behavior remain unchanged. */
@supports selector(body:has(.ms-promo)) {
  body.ms-modern-takeaway-page:has(.ms-promo) .ctc-public-menu-wrapper {
    padding-bottom: 0 !important;
  }
  body.ms-modern-takeaway-page:has(.ms-promo) .ctc-public-menu .ctc-menu-category-section:last-child {
    margin-bottom: 0 !important;
  }
  body.ms-modern-takeaway-page:has(.ms-promo) .ms-promo {
    padding-top: 48px !important;
  }
}

/* v3.6.85 — Clear, accessible customer fulfilment choice.
   Scope only the public menu's compact selector; never affect checkout. */
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact {gap:9px;align-items:stretch;width:100%;max-width:390px;margin-left:auto;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-compact-label {font-size:11px;letter-spacing:.055em;text-align:left;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;}
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn {
 width:100%!important;min-width:0!important;min-height:64px!important;padding:10px 11px!important;gap:9px!important;
 border:1.5px solid #d8e0eb!important;border-radius:13px!important;background:#fff!important;
 box-shadow:0 2px 7px rgba(15,23,42,.05)!important;transition:background .18s,border-color .18s,box-shadow .18s!important;
}
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active {
 border-color:#ff595f!important;background:#fff3f3!important;box-shadow:0 0 0 2px rgba(255,89,95,.13)!important;
}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-icon {width:31px;height:31px;flex:0 0 31px;border-radius:9px;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-icon svg {width:19px;height:19px;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-btn.active .ctc-fulfillment-icon {background:#ffe0e1;color:#df3642;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy {flex:1 1 auto;min-width:0;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy strong {font-size:13px;line-height:1.25;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy small {font-size:10px;line-height:1.3;margin-top:3px;white-space:normal;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-check {width:17px;height:17px;flex:0 0 17px;}
.ctc-frontend-fulfillment-compact .ctc-fulfillment-btn.active .ctc-fulfillment-check {border-color:#ff595f;background:#ff595f;}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn:focus-visible {outline:3px solid #ff595f!important;outline-offset:3px;}
@media(max-width:680px){
 .ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact,#ctc-public-menu-container .ctc-frontend-fulfillment-compact {max-width:none;margin-left:0;}
 .ctc-frontend-fulfillment-compact .ctc-fulfillment-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
 #ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn,
 .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn {min-height:60px!important;padding:9px 8px!important;gap:6px!important;}
}
@media(max-width:360px){.ctc-frontend-fulfillment-compact .ctc-fulfillment-icon {width:26px;height:26px;flex-basis:26px}.ctc-frontend-fulfillment-compact .ctc-fulfillment-copy strong {font-size:12px}.ctc-frontend-fulfillment-compact .ctc-fulfillment-check {width:14px;height:14px;flex-basis:14px}}

/* v3.6.86 — fulfilment active-card contrast correction.
   Override legacy white-on-black active state without affecting checkout. */
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active,
.ctc-public-menu-wrapper .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active:hover,
#ctc-public-menu-container .ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active:hover,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active:hover {
 background:#fff1f2!important;border-color:#ff595f!important;color:#172033!important;
 box-shadow:0 0 0 2px rgba(255,89,95,.13)!important;
}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-copy strong {color:#172033!important;}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-copy small {color:#52627a!important;}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon {background:#ffe0e1!important;color:#df3642!important;}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon svg,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon svg path,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-icon svg circle {stroke:#df3642!important;}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-check {background:#ff595f!important;border-color:#ff595f!important;color:#fff!important;}
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-check svg,
.ctc-frontend-fulfillment-compact button.ctc-fulfillment-btn.active .ctc-fulfillment-check svg path {stroke:#fff!important;}

/* v3.6.88 — fulfilment availability, contextual and display-only */
.ctc-public-menu .ctc-fulfilment-availability{display:flex;align-items:flex-start;gap:11px;margin-top:12px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#172033;text-align:left;line-height:1.45}
.ctc-public-menu .ctc-fulfilment-availability-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#ffe4e6;color:#df3642;font-size:22px}
.ctc-public-menu .ctc-fulfilment-availability-content{display:flex;flex-direction:column;gap:2px;min-width:0}
.ctc-public-menu .ctc-fulfilment-availability-content strong{color:#172033;font-size:13px;font-weight:700}
.ctc-public-menu .ctc-fulfilment-availability-content span{color:#334155;font-size:13px;font-weight:600}
.ctc-public-menu .ctc-fulfilment-availability-content small{color:#64748b;font-size:11px;font-weight:500}
.ctc-public-menu .ctc-fulfilment-availability[data-status="available"]{border-color:#bbf7d0;background:#f0fdf4}
.ctc-public-menu .ctc-fulfilment-availability[data-status="available"] .ctc-fulfilment-availability-icon{background:#dcfce7;color:#15803d}
@media(max-width:600px){.ctc-public-menu .ctc-fulfilment-availability{padding:11px 12px;margin-top:10px}}

/* v3.6.88 — configured fulfilment start only; no duplicate opening-time messaging */
.ctc-public-menu .ctc-fulfilment-availability [data-availability-detail]{display:none!important}

/* v3.6.89 — compact single-line fulfilment start information */
.ctc-public-menu #ctc-fulfilment-availability.ctc-fulfilment-availability{
  display:flex;align-items:center;gap:5px;margin-top:9px;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  color:#52627a;font-family:Montserrat,Arial,sans-serif;
  font-size:12px;line-height:1.45;text-align:left;
}
.ctc-public-menu #ctc-fulfilment-availability .ctc-fulfilment-availability-icon{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 12px;width:12px;height:12px;min-width:12px;
  border:0;border-radius:0;background:transparent;color:#52627a;
  font-family:inherit;font-size:12px;font-weight:400;line-height:1;
}
.ctc-public-menu #ctc-fulfilment-availability .ctc-fulfilment-availability-content{
  display:flex;flex-flow:row wrap;align-items:baseline;gap:0 6px;min-width:0;
  font-family:inherit;font-size:12px;line-height:1.45;
}
.ctc-public-menu #ctc-fulfilment-availability [data-availability-title]{
  color:#172033;font-family:inherit;font-size:12px;font-weight:600;line-height:inherit;
}
.ctc-public-menu #ctc-fulfilment-availability [data-availability-message]{
  color:#52627a;font-family:inherit;font-size:12px;font-weight:500;line-height:inherit;
}
.ctc-public-menu #ctc-fulfilment-availability[data-status="available"],
.ctc-public-menu #ctc-fulfilment-availability[data-status="later"]{
  border:0;background:transparent;
}
.ctc-public-menu #ctc-fulfilment-availability[data-status="available"] .ctc-fulfilment-availability-icon{
  background:transparent;color:#52627a;
}
@media(max-width:600px){
  .ctc-public-menu #ctc-fulfilment-availability.ctc-fulfilment-availability{
    margin-top:9px;padding:0;font-size:12px;
  }
}

/* v3.6.90: fulfilment start typography — target live DOM without ancestor dependency. */
#ctc-fulfilment-availability.ctc-fulfilment-availability { font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important; }
#ctc-fulfilment-availability .ctc-fulfilment-availability-content {font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;}
#ctc-fulfilment-availability .ctc-fulfilment-availability-content [data-availability-title],
#ctc-fulfilment-availability .ctc-fulfilment-availability-content strong {font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:600!important;line-height:1.5!important;}
#ctc-fulfilment-availability .ctc-fulfilment-availability-content [data-availability-message],
#ctc-fulfilment-availability .ctc-fulfilment-availability-content span {font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important;}
#ctc-fulfilment-availability .ctc-fulfilment-availability-icon {font-size:12px!important;line-height:1!important;}

/* v3.6.92: Minimum delivery progress beneath the floating basket. */
.ctc-floating-minimum-progress{position:fixed;z-index:9998;left:50%;bottom:94px;transform:translateX(-50%);width:min(460px,calc(100% - 28px));box-sizing:border-box;padding:11px 15px;border:1px solid #f4c9cd;border-radius:13px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.10);font-family:Montserrat,sans-serif;color:#253047}
.ctc-floating-minimum-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:700}
.ctc-floating-minimum-amount{font-size:12px;white-space:nowrap}
.ctc-floating-minimum-track{display:block;height:6px;margin:8px 0 6px;background:#f1e5e7;border-radius:99px;overflow:hidden}
.ctc-floating-minimum-fill{display:block;height:100%;width:0;background:#ff5963;border-radius:99px;transition:width .2s ease}
.ctc-floating-minimum-message{font-size:11px;font-weight:500}
.ctc-floating-minimum-progress.is-met .ctc-floating-minimum-fill{background:#16a34a}
.ctc-floating-basket-bar.ctc-minimum-locked{cursor:not-allowed}
.ctc-floating-basket-bar.ctc-minimum-locked .ctc-floating-basket-action,.ctc-floating-basket-bar.ctc-minimum-locked:hover .ctc-floating-basket-action{background:#e5e7eb;color:#64748b;box-shadow:none}
@media(max-width:767px){.ctc-floating-minimum-progress{bottom:78px;width:calc(100% - 20px);padding:9px 12px}}

/* v3.6.93 — editable floating minimum product list and drawer checkout gate. */
.ctc-floating-minimum-products-heading{margin-top:9px;padding-top:8px;border-top:1px solid #f1e5e7;font-size:11px;font-weight:700;color:#475569}
.ctc-floating-minimum-products{max-height:132px;overflow-y:auto;margin-top:4px;overscroll-behavior:contain}
.ctc-floating-minimum-product{display:flex;align-items:center;gap:7px;padding:4px 0;font-size:11px;line-height:1.4}
.ctc-floating-minimum-product-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.ctc-floating-minimum-product-price{white-space:nowrap;font-weight:700}
.ctc-floating-minimum-remove{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border:1px solid #f4c9cd;border-radius:7px;background:#fff5f5;color:#dc3545;font-size:18px;line-height:1;cursor:pointer}
.ctc-floating-minimum-remove:hover{background:#ffe3e3}
.ctc-drawer-minimum-notice{margin:0 0 10px;padding:9px 11px;border-radius:9px;background:#fff5f5;border:1px solid #f4c9cd;color:#9f2432;font-size:12px;font-weight:600;line-height:1.4}
#ctc-proceed-checkout-link.ctc-delivery-minimum-disabled,#ctc-proceed-checkout-link.ctc-delivery-minimum-disabled:hover{background:#e5e7eb!important;color:#64748b!important;cursor:not-allowed!important;box-shadow:none!important}
@media(max-width:767px){.ctc-floating-minimum-products{max-height:96px}.ctc-floating-minimum-progress{max-height:45vh;overflow-y:auto}}

/* v3.6.95 Rewards & Offers: sleek horizontal manual slider */
.ctc-rewards-offers{margin:24px 0;font-family:Montserrat,sans-serif;min-width:0}.ctc-rewards-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.ctc-rewards-heading{display:flex;align-items:center;gap:10px}.ctc-rewards-gift{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff0ef;font-size:19px}.ctc-rewards-heading h2{margin:0;color:#222;font-size:18px;font-weight:600;line-height:1.35}.ctc-rewards-heading p{margin:2px 0 0;color:#7b818b;font-size:12px;font-weight:400}.ctc-rewards-arrows{display:flex;gap:6px}.ctc-rewards-arrows button{display:grid;place-items:center;border:1px solid #e4e7ec;border-radius:9px;background:#fff;color:#4b5563;width:31px;height:31px;font-size:23px;cursor:pointer}.ctc-rewards-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.ctc-rewards-track::-webkit-scrollbar{display:none}.ctc-rewards-card{box-sizing:border-box;flex:0 0 calc((100% - 28px)/3);min-width:0;min-height:180px;scroll-snap-align:start;border:1px solid #f4ddd9;background:#fff4f2;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px;transition:transform .18s ease,box-shadow .18s ease}.ctc-rewards-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(15,23,42,.06)}.ctc-rewards-reward{background:#fff9ec;border-color:#f5e6c5}.ctc-rewards-delivery{background:#eef8f2;border-color:#d9eee1}.ctc-rewards-seasonal{background:#eff6ff;border-color:#dce8fa}.ctc-rewards-special{background:#f5f1fc;border-color:#e8dff5}.ctc-rewards-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.ctc-rewards-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:rgba(218,76,70,.10);color:#c54842;font-size:20px;font-weight:600}.ctc-rewards-type{font-size:10px;font-weight:700;letter-spacing:.045em;color:#bb4944;text-align:right}.ctc-rewards-reward .ctc-rewards-type,.ctc-rewards-reward .ctc-rewards-card-icon{color:#9b711f}.ctc-rewards-delivery .ctc-rewards-type,.ctc-rewards-delivery .ctc-rewards-card-icon{color:#238258}.ctc-rewards-card h3{margin:0;font-size:14px;font-weight:500;line-height:1.45;color:#272727;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ctc-rewards-description{margin:0;font-size:12px;font-weight:400;line-height:1.5;color:#65646a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ctc-rewards-card-footer{margin-top:auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px;justify-content:space-between}.ctc-rewards-copy{border:0;background:transparent;padding:0;color:#b84a45;font:700 12px Montserrat,sans-serif;cursor:pointer}.ctc-rewards-card-footer a{color:#b84a45;text-decoration:none;font-size:12px;font-weight:600}.ctc-rewards-card-footer small{font-size:11px;font-weight:500;color:#797979}@media(max-width:980px){.ctc-rewards-card{flex-basis:calc((100% - 14px)/2)}}@media(max-width:600px){.ctc-rewards-heading h2{font-size:16px}.ctc-rewards-card{flex-basis:87%;min-height:175px}.ctc-rewards-card h3{font-size:13px}}@media(prefers-reduced-motion:reduce){.ctc-rewards-card{transition:none}}

/* v3.6.96 Adaptive Rewards & Offers: one announcement becomes a full-width disclosure bar. */
.ctc-rewards-single .ctc-rewards-track{display:block;overflow:visible;scroll-snap-type:none}
.ctc-rewards-single .ctc-rewards-single-card{display:block;width:100%;min-height:0;padding:0;flex:none;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 9px rgba(15,23,42,.035);transition:border-color .18s ease,box-shadow .18s ease}
.ctc-rewards-single .ctc-rewards-single-card:hover{transform:none;box-shadow:0 3px 12px rgba(15,23,42,.06);border-color:#d7dce4}
.ctc-rewards-single-toggle{appearance:none;-webkit-appearance:none;display:flex;align-items:center;width:100%;gap:12px;border:0;background:transparent;color:#202735;text-align:left;cursor:pointer;padding:12px 15px;font-family:Montserrat,sans-serif}
.ctc-rewards-single-toggle:focus-visible{outline:2px solid #ff5b61;outline-offset:-3px}
.ctc-rewards-single .ctc-rewards-card-icon{width:36px;height:36px;flex:0 0 36px;border-radius:10px;font-size:20px}
.ctc-rewards-single-summary{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:12px}
.ctc-rewards-single-title{font-size:14px;font-weight:500;line-height:1.5;color:#242833;overflow-wrap:anywhere}
.ctc-rewards-single-type{font-size:10px;font-weight:700;letter-spacing:.04em;color:#8c6970;white-space:nowrap}
.ctc-rewards-single-chevron{font-size:24px;line-height:1;color:#64748b;transition:transform .18s ease;flex:0 0 auto}
.ctc-rewards-single-toggle[aria-expanded="true"] .ctc-rewards-single-chevron{transform:rotate(180deg)}
.ctc-rewards-single-details{padding:0 16px 14px 63px;border-top:1px solid #f0f1f4}
.ctc-rewards-single-details[hidden]{display:none!important}
.ctc-rewards-single-details .ctc-rewards-description{padding-top:12px;display:block;overflow:visible;-webkit-line-clamp:unset}
.ctc-rewards-single-details .ctc-rewards-card-footer{margin-top:10px;justify-content:flex-start;gap:16px}
@media(max-width:600px){.ctc-rewards-single-toggle{padding:11px 12px;gap:10px}.ctc-rewards-single-title{font-size:13px}.ctc-rewards-single-type{display:none}.ctc-rewards-single-details{padding:0 12px 12px 58px}}

/* v3.6.97: always-visible, high-contrast offer content; no disclosure and no terms line. */
.ctc-rewards-offers.ctc-rewards-single .ctc-rewards-single-card{background:#fff5f2!important;border:1px solid #f2d9d3!important;border-radius:12px!important;padding:16px 18px!important;color:#242424!important;box-shadow:none!important}
.ctc-rewards-single .ctc-rewards-single-main{display:flex;align-items:flex-start;gap:14px;min-width:0}
.ctc-rewards-single .ctc-rewards-card-icon{background:#ffe1d9!important;color:#b93225!important;width:48px;height:48px;flex:0 0 48px;font-size:22px}
.ctc-rewards-single .ctc-rewards-single-content{min-width:0;flex:1}
.ctc-rewards-single .ctc-rewards-single-type{display:block!important;color:#8d3529!important;font:700 10px/1.5 Montserrat,sans-serif!important;letter-spacing:.055em;margin-bottom:3px}
.ctc-rewards-single .ctc-rewards-single-title{display:block;color:#242424!important;font:600 15px/1.45 Montserrat,sans-serif!important;margin:0 0 5px!important;overflow-wrap:anywhere}
.ctc-rewards-single .ctc-rewards-description{display:block!important;color:#555!important;font:400 13px/1.6 Montserrat,sans-serif!important;margin:0!important;overflow:visible!important;-webkit-line-clamp:unset!important}
.ctc-rewards-single .ctc-rewards-card-footer{margin:13px 0 0 62px!important;padding-top:11px;border-top:1px solid #f0d6d0;justify-content:flex-start;gap:12px 20px}
.ctc-rewards-single .ctc-rewards-copy{color:#8d3529!important;font-weight:700}
.ctc-rewards-single .ctc-rewards-card-footer a{color:#8d3529!important;text-decoration:underline;text-underline-offset:2px}
.ctc-rewards-single .ctc-rewards-card-footer small{color:#765a54!important}
.ctc-rewards-multiple .ctc-rewards-card{min-height:0;background:#fff5f2!important;border-color:#f2d9d3!important}
.ctc-rewards-multiple .ctc-rewards-card h3{color:#242424!important;font-weight:600!important}
.ctc-rewards-multiple .ctc-rewards-description{color:#555!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
.ctc-rewards-multiple .ctc-rewards-type{color:#8d3529!important}
.ctc-rewards-multiple .ctc-rewards-card-icon{background:#ffe1d9!important;color:#b93225!important}
@media(max-width:600px){.ctc-rewards-offers.ctc-rewards-single .ctc-rewards-single-card{padding:13px!important}.ctc-rewards-single .ctc-rewards-single-main{gap:10px}.ctc-rewards-single .ctc-rewards-card-icon{width:40px;height:40px;flex-basis:40px}.ctc-rewards-single .ctc-rewards-single-title{font-size:14px!important}.ctc-rewards-single .ctc-rewards-card-footer{margin-left:0!important}}

/* v3.6.98: exactly two desktop/tablet announcements share available width evenly.
   Keep one-offer, three-plus offers and the existing mobile carousel untouched. */
@media (min-width:601px) {
  .ctc-rewards-offers.ctc-rewards-two .ctc-rewards-card {
    flex: 0 0 calc((100% - 14px) / 2);
    max-width: calc((100% - 14px) / 2);
  }
}
.ctc-rewards-card-icon svg {display:block;flex:none;width:22px;height:22px}

/* v3.7.3 Rewards & Offers: readable coupon text with an unobtrusive copy icon and feedback. */
.ctc-rewards-offers .ctc-rewards-code-wrap{display:inline-flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0;max-width:100%;font-family:Montserrat,sans-serif}
.ctc-rewards-offers .ctc-rewards-code-value{font-size:13px;font-weight:750;letter-spacing:.045em;color:#512e29;overflow-wrap:anywhere;user-select:text}
.ctc-rewards-offers .ctc-rewards-copy,.ctc-rewards-single .ctc-rewards-copy{appearance:none!important;background:transparent!important;border:0!important;border-radius:6px!important;box-shadow:none!important;min-width:28px!important;min-height:28px!important;padding:5px!important;display:inline-flex!important;align-items:center;justify-content:center;line-height:1!important;color:#9a4032!important;cursor:pointer;transition:background .15s ease,color .15s ease,transform .15s ease}
.ctc-rewards-offers .ctc-rewards-copy:hover{background:rgba(154,64,50,.09)!important;color:#632b23!important;transform:none!important}
.ctc-rewards-offers .ctc-rewards-copy:focus-visible{outline:2px solid #b84a45!important;outline-offset:2px}
.ctc-rewards-offers .ctc-rewards-copy svg{display:block;width:17px;height:17px;flex:none}
.ctc-rewards-offers .ctc-rewards-copy-status{display:none;font-size:11px;font-weight:700;color:#a33c2e;white-space:nowrap}
.ctc-rewards-offers .ctc-rewards-copy-status.is-visible{display:inline}
.ctc-rewards-offers .ctc-rewards-copy-status.is-copied{color:#25794a}
@media(max-width:600px){.ctc-rewards-offers .ctc-rewards-code-value{font-size:12px}.ctc-rewards-offers .ctc-rewards-code-wrap{gap:6px}}

/* v3.7.4: icon-only coupon copy control — no visible button treatment. */
.ctc-rewards-offers button.ctc-rewards-copy,
.ctc-rewards-single button.ctc-rewards-copy,
.ctc-rewards-card-footer button.ctc-rewards-copy {
  -webkit-appearance:none!important;appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  position:static!important;flex:0 0 auto!important;
  width:20px!important;height:22px!important;min-width:0!important;min-height:0!important;
  max-width:20px!important;max-height:22px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;outline:0;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  box-shadow:none!important;text-shadow:none!important;filter:none!important;
  color:#653b34!important;opacity:1!important;
  line-height:1!important;transform:none!important;
  cursor:pointer!important;
}
.ctc-rewards-offers button.ctc-rewards-copy:hover,
.ctc-rewards-offers button.ctc-rewards-copy:active,
.ctc-rewards-offers button.ctc-rewards-copy:focus {
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;transform:none!important;
  color:#b84a45!important;
}
.ctc-rewards-offers button.ctc-rewards-copy:focus-visible {
  outline:2px solid #b84a45!important;outline-offset:3px;
}
.ctc-rewards-offers button.ctc-rewards-copy::before,
.ctc-rewards-offers button.ctc-rewards-copy::after {content:none!important;display:none!important;}
.ctc-rewards-offers button.ctc-rewards-copy svg {
  width:17px!important;height:17px!important;display:block!important;pointer-events:none!important;
}
