/* ═══════════════════════════════════════════════════════════
   Scanneat Restaurante – Estilos StackFood
   ═══════════════════════════════════════════════════════════ */

:root {
    --scr-primary:    #EF7822;
    --scr-primary-hover: #d96a1a;
    --scr-secondary:  #FCEFE7;
    --scr-dark:       #2B2B2B;
    --scr-gray:       #9B9B9B;
    --scr-light:      #f8f9fa;
    --scr-border:     #f0f0f0;
    --scr-white:      #ffffff;
    --scr-green:      #22c55e;
    --scr-red:        #ef4444;
    --scr-radius:     12px;
    --scr-radius-sm:  8px;
    --scr-shadow:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --scr-shadow-lg:  0 10px 25px rgba(0,0,0,0.1);
    --scr-font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset dentro del plugin ── */
.scr-wrap,
.scr-wrap * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.scr-wrap {
    font-family: var(--scr-font);
    color: var(--scr-dark);
    background: var(--scr-light);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.scr-wrap img {
    max-width: 100%;
    height: auto;
}

/* ── Container ── */
.scr-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════
   BANNER + STORE CARD
   ═══════════════════════════════════════ */

.scr-banner-section {
    background: var(--scr-white);
    margin-bottom: 0;
}

.scr-banner {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.scr-banner--default {
    background: linear-gradient(135deg, var(--scr-primary), #f59e0b);
}

.scr-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.scr-store-card {
    background: var(--scr-white);
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    margin-top: -60px;
    z-index: 10;
    margin-bottom: 32px;
}

.scr-store-logo {
    width: 90px;
    height: 90px;
    border-radius: var(--scr-radius);
    overflow: hidden;
    border: 3px solid var(--scr-white);
    box-shadow: var(--scr-shadow);
    flex-shrink: 0;
    background: var(--scr-light);
}

.scr-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scr-store-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--scr-gray);
}

.scr-store-info {
    flex: 1;
    min-width: 0;
}

.scr-store-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--scr-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.scr-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.scr-badge--open {
    color: var(--scr-green);
    border: 1px solid var(--scr-green);
}

.scr-badge--closed {
    color: #e53935;
    border: 1px solid #e53935;
}

.scr-store-desc {
    color: var(--scr-gray);
    font-size: 14px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scr-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.scr-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.scr-badge-item i {
    color: var(--scr-primary);
    font-size: 12px;
}

.scr-fav-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid var(--scr-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--scr-gray);
    transition: all 0.2s;
    font-size: 16px;
}

.scr-fav-btn:hover {
    color: var(--scr-red);
    border-color: var(--scr-red);
}

/* ═══════════════════════════════════════
   MAIN GRID (3 cols)
   ═══════════════════════════════════════ */

.scr-main-grid {
    display: grid;
    grid-template-columns: 240px 1fr 320px;
    gap: 28px;
    padding-bottom: 80px;
    align-items: start;
}

/* ── Sidebar categorías ── */
.scr-sidebar {
    position: sticky;
    top: 20px;
    background: var(--scr-white);
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow);
    border: 1px solid var(--scr-border);
    overflow: hidden;
}

.scr-sidebar-header {
    padding: 14px 18px;
    background: var(--scr-light);
    border-bottom: 1px solid var(--scr-border);
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.scr-category-list {
    list-style: none;
    max-height: 70vh;
    overflow-y: auto;
}

.scr-category-list::-webkit-scrollbar { width: 3px; }
.scr-category-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

.scr-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.scr-category-link:hover,
.scr-category-link--active {
    color: var(--scr-primary);
    background: var(--scr-secondary);
    border-left-color: var(--scr-primary);
}

.scr-category-count {
    font-size: 11px;
    background: var(--scr-light);
    color: var(--scr-gray);
    padding: 2px 8px;
    border-radius: 10px;
}

.scr-category-link--active .scr-category-count,
.scr-category-link:hover .scr-category-count {
    background: var(--scr-white);
    color: var(--scr-primary);
}

/* ── Mobile categories ── */
.scr-mobile-cats {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.scr-mobile-tabs {
    display: none;
    margin-top: 24px;
}

.scr-mobile-cats::-webkit-scrollbar { display: none; }

.scr-mobile-cat-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--scr-border);
    background: var(--scr-white);
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--scr-font);
}

.scr-mobile-cat-btn--active,
.scr-mobile-cat-btn:hover {
    background: var(--scr-primary);
    color: var(--scr-white);
    border-color: var(--scr-primary);
}

/* ═══════════════════════════════════════
   SEARCH BAR
   ═══════════════════════════════════════ */

.scr-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--scr-white);
    padding: 12px 16px;
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow);
    border: 1px solid var(--scr-border);
    margin-bottom: 24px;
}

.scr-search-icon { color: var(--scr-gray); font-size: 14px; }

.scr-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--scr-font);
    background: transparent;
    color: var(--scr-dark);
}

.scr-search-input::placeholder { color: #bbb; }

/* ═══════════════════════════════════════
   PRODUCTS GRID
   ═══════════════════════════════════════ */

.scr-menu-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.scr-cat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--scr-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--scr-border);
}

.scr-cat-count {
    font-size: 13px;
    font-weight: 400;
    color: var(--scr-gray);
    margin-left: 6px;
}

.scr-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ── Product Card ── */
.scr-product-card {
    background: var(--scr-white);
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow);
    border: 1px solid var(--scr-border);
    display: flex;
    gap: 14px;
    padding: 14px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.scr-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.scr-product-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--scr-primary);
    color: var(--scr-white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-bottom-right-radius: var(--scr-radius-sm);
    z-index: 2;
    letter-spacing: 0.5px;
}

.scr-product-img {
    width: 130px;
    height: 87px;  /* 3:2 aspect ratio */
    flex-shrink: 0;
    border-radius: var(--scr-radius-sm);
    overflow: hidden;
    background: var(--scr-white);
    cursor: pointer;
}

.scr-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.scr-product-card:hover .scr-product-img img {
    transform: scale(1.05);
}

.scr-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 24px;
}

.scr-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.scr-product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--scr-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}

.scr-product-name:hover {
    color: var(--scr-primary);
}

.scr-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 4px;
}

.scr-product-rating span { color: var(--scr-dark); font-weight: 600; }
.scr-rating-count { color: var(--scr-gray); font-weight: 400; }

.scr-product-desc {
    font-size: 12px;
    color: var(--scr-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.scr-product-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 8px;
}

.scr-product-price {
    display: flex;
    flex-direction: column;
}

.scr-price-old {
    font-size: 12px;
    color: var(--scr-gray);
    text-decoration: line-through;
}

.scr-price-current {
    font-size: 17px;
    font-weight: 700;
    color: var(--scr-dark);
}

.scr-add-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--scr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.scr-add-btn:hover {
    background: var(--scr-primary);
    color: var(--scr-white);
    border-color: var(--scr-primary);
    transform: scale(1.1);
}

.scr-out-of-stock {
    font-size: 11px;
    color: var(--scr-red);
    font-weight: 500;
    padding: 4px 10px;
    background: #fef2f2;
    border-radius: 4px;
}

.scr-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--scr-gray);
}

.scr-no-results i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.scr-no-results p {
    font-size: 14px;
}

/* ═══════════════════════════════════════
   CART SIDEBAR (Desktop)
   ═══════════════════════════════════════ */

.scr-cart-sidebar {
    position: sticky;
    top: 20px;
}

.scr-cart-box {
    background: var(--scr-white);
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow-lg);
    border-top: 4px solid var(--scr-primary);
    overflow: hidden;
}

.scr-cart-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-bottom: 1px solid var(--scr-border);
    background: var(--scr-light);
}

.scr-cart-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--scr-dark);
}

.scr-cart-count {
    background: var(--scr-primary);
    color: var(--scr-white);
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.scr-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--scr-gray);
}

.scr-cart-empty i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.scr-cart-empty p {
    font-size: 13px;
}

.scr-cart-items {
    max-height: 350px;
    overflow-y: auto;
    padding: 12px;
}

.scr-cart-items::-webkit-scrollbar { width: 3px; }
.scr-cart-items::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

.scr-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--scr-border);
    animation: scrFadeIn 0.3s ease;
}

.scr-cart-item:last-child { border-bottom: none; }

@keyframes scrFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.scr-cart-item-img {
    width: 54px;
    height: 36px;  /* 3:2 aspect ratio */
    border-radius: var(--scr-radius-sm);
    object-fit: cover;
    background: var(--scr-light);
}

.scr-cart-item-info {
    flex: 1;
    min-width: 0;
}

.scr-cart-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--scr-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scr-cart-item-price {
    font-size: 12px;
    color: var(--scr-gray);
}

.scr-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--scr-light);
    border-radius: var(--scr-radius-sm);
    padding: 3px;
}

.scr-cart-item-qty button {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: none;
    background: var(--scr-white);
    box-shadow: var(--scr-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666;
    transition: all 0.15s;
}

.scr-cart-item-qty button:hover { color: var(--scr-primary); }
.scr-cart-item-qty button.scr-qty-minus:hover { color: var(--scr-red); }

.scr-cart-item-qty span {
    font-size: 12px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

.scr-cart-footer {
    padding: 16px;
    border-top: 1px solid var(--scr-border);
    background: var(--scr-light);
}

.scr-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
}

.scr-cart-row span:first-child { color: var(--scr-gray); }
.scr-cart-subtotal { font-weight: 700; color: var(--scr-dark); }

.scr-checkout-btn {
    display: block;
    width: 100%;
    background: var(--scr-primary);
    color: var(--scr-white);
    text-align: center;
    padding: 14px;
    border-radius: var(--scr-radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 14px rgba(239,120,34,0.25);
}

.scr-checkout-btn:hover {
    background: var(--scr-primary-hover);
    color: var(--scr-white);
    text-decoration: none;
}

.scr-checkout-btn:active {
    transform: scale(0.97);
}

/* ═══════════════════════════════════════
   GOOGLE MAPS SECTION
   ═══════════════════════════════════════ */

.scr-map-section {
    border-radius: var(--scr-radius);
    overflow: hidden;
    box-shadow: var(--scr-shadow);
    border: 1px solid var(--scr-border);
    margin-bottom: 40px;
    height: 250px;
}

.scr-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ═══════════════════════════════════════
   FAB CART BUTTON (Mobile)
   ═══════════════════════════════════════ */

.scr-cart-fab {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--scr-primary);
    color: var(--scr-white);
    border: none;
    box-shadow: 0 6px 20px rgba(239,120,34,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.scr-cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(239,120,34,0.5);
}

.scr-cart-fab:active {
    transform: scale(0.95);
}

.scr-cart-fab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--scr-red);
    color: var(--scr-white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--scr-white);
}

/* ── Mobile cart panel (slide up) ── */
.scr-mobile-cart-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.scr-mobile-cart-panel.scr-active { display: flex; }

.scr-mobile-cart-panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.scr-mobile-cart-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--scr-white);
    border-radius: var(--scr-radius) var(--scr-radius) 0 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: scrSlideUp 0.3s ease;
}

@keyframes scrSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.scr-mobile-cart-panel-content .scr-cart-header {
    justify-content: space-between;
    padding: 18px 20px;
}

.scr-mobile-cart-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--scr-gray);
    cursor: pointer;
    padding: 4px;
}

.scr-mobile-cart-panel-content .scr-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    max-height: none;
}

.scr-mobile-cart-panel-content .scr-cart-footer {
    padding: 16px 20px 24px;
}

/* ═══════════════════════════════════════
   PRODUCT DETAIL MODAL (Popup)
   ═══════════════════════════════════════ */

.scr-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.scr-modal-overlay.scr-active {
    display: flex;
}

.scr-modal {
    background: var(--scr-white);
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: scrModalIn 0.3s ease;
    padding: 0 !important;
    margin: 0 auto !important;
}

@keyframes scrModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.scr-modal::-webkit-scrollbar { width: 4px; }
.scr-modal::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.scr-modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 50 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(0,0,0,0.6) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: #fff !important;
    transition: background 0.2s !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.scr-modal-close:hover {
    background: var(--scr-red) !important;
    color: var(--scr-white) !important;
}

/* Loading spinner */
.scr-modal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px;
}

.scr-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--scr-border);
    border-top-color: var(--scr-primary);
    border-radius: 50%;
    animation: scrSpin 0.7s linear infinite;
}

@keyframes scrSpin { to { transform: rotate(360deg); } }

/* Modal body layout */
.scr-modal-body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Gallery */
.scr-modal-gallery {
    width: 100% !important;
    background: var(--scr-white);
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
}

.scr-modal-gallery:empty {
    display: none;
}

.scr-modal-gallery img#scrModalMainImg {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: block;
    object-fit: cover;
}

.scr-modal-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.scr-modal-gallery-thumbs {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.scr-modal-gallery-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--scr-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.6);
    transition: border-color 0.2s;
    opacity: 0.8;
}

.scr-modal-gallery-thumb.scr-active,
.scr-modal-gallery-thumb:hover {
    border-color: var(--scr-primary);
    opacity: 1;
}

.scr-modal-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scr-modal-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

/* Modal info */
.scr-modal-info {
    padding: 24px;
}

.scr-modal-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.scr-modal-cat-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--scr-primary);
    background: var(--scr-secondary);
    padding: 3px 10px;
    border-radius: 12px;
}

.scr-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--scr-dark);
    margin-bottom: 8px;
}

.scr-modal-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
}

.scr-modal-rating i { color: #f59e0b; }
.scr-modal-rating .scr-rating-value { font-weight: 700; color: var(--scr-dark); }
.scr-modal-rating .scr-rating-reviews { color: var(--scr-gray); }

.scr-modal-price-row {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.scr-modal-price-row .scr-price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--scr-primary);
}

.scr-modal-price-row .scr-price-old {
    font-size: 16px;
}

.scr-modal-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.scr-modal-desc p { margin-bottom: 8px; }

/* Variations */
.scr-modal-variations {
    margin-bottom: 20px;
}

.scr-modal-variation-group {
    margin-bottom: 14px;
}

.scr-modal-variation-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--scr-dark);
    margin-bottom: 8px;
}

.scr-modal-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scr-variation-option {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: var(--scr-radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--scr-white);
    font-family: var(--scr-font);
    color: var(--scr-dark);
}

.scr-variation-option:hover { border-color: var(--scr-primary); }

.scr-variation-option.scr-selected {
    background: var(--scr-primary);
    color: var(--scr-white);
    border-color: var(--scr-primary);
}

.scr-variation-option.scr-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal Actions */
.scr-modal-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--scr-border);
}

.scr-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--scr-light);
    border-radius: var(--scr-radius-sm);
    padding: 6px 8px;
}

.scr-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: var(--scr-white);
    box-shadow: var(--scr-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    transition: all 0.15s;
}

.scr-qty-btn:hover { color: var(--scr-primary); background: var(--scr-secondary); }

.scr-qty-value {
    font-size: 16px;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
}

.scr-modal-add-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--scr-primary);
    color: var(--scr-white);
    border: none;
    border-radius: var(--scr-radius-sm);
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(239,120,34,0.25);
    font-family: var(--scr-font);
}

.scr-modal-add-btn:hover {
    background: var(--scr-primary-hover);
    transform: translateY(-1px);
}

.scr-modal-add-btn:active {
    transform: scale(0.97);
}

.scr-modal-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.scr-modal-add-price {
    font-size: 13px;
    opacity: 0.9;
    margin-left: 4px;
}

/* ═══════════════════════════════════════
   MODAL – Addons / Ingredientes
   ═══════════════════════════════════════ */

.scr-modal-addons {
    margin-bottom: 20px;
}

.scr-addon-group {
    margin-bottom: 18px;
}

.scr-addon-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.scr-addon-group-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--scr-dark);
}

.scr-addon-required {
    font-size: 10px;
    font-weight: 600;
    color: var(--scr-red);
    background: #fef2f2;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.scr-addon-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scr-addon-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--scr-border);
    border-radius: var(--scr-radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    background: var(--scr-white);
}

.scr-addon-option:hover {
    border-color: var(--scr-primary);
    background: var(--scr-secondary);
}

.scr-addon-option.scr-addon-selected {
    border-color: var(--scr-primary);
    background: var(--scr-secondary);
}

.scr-addon-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    font-size: 11px;
    color: var(--scr-white);
}

.scr-addon-option.scr-addon-selected .scr-addon-checkbox {
    background: var(--scr-primary);
    border-color: var(--scr-primary);
}

.scr-addon-option-label {
    flex: 1;
    font-size: 13px;
    color: var(--scr-dark);
}

.scr-addon-option-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--scr-primary);
    white-space: nowrap;
}

/* Total row */
.scr-modal-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-bottom: 4px;
    border-top: 2px solid var(--scr-border);
}

.scr-modal-total-row span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: var(--scr-dark);
}

.scr-modal-total-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--scr-primary);
}

/* Added-to-cart toast */
.scr-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: var(--scr-white);
    padding: 12px 24px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 500;
    z-index: 3000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: scrToastIn 0.3s ease, scrToastOut 0.3s ease 2.2s forwards;
}

.scr-toast i { color: var(--scr-green); }

@keyframes scrToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrToastOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to   { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ═══════════════════════════════════════
   SOCIAL ICONS
   ═══════════════════════════════════════ */

.scr-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.scr-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.scr-social-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}

.scr-social-facebook  { background: #1877F2; }
.scr-social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.scr-social-tiktok    { background: #010101; }
.scr-social-twitter   { background: #000000; }
.scr-social-youtube   { background: #FF0000; }

/* ═══════════════════════════════════════
   ACTION BUTTONS (decorative)
   ═══════════════════════════════════════ */

.scr-action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    justify-content: flex-end;
    align-items: center;
}

.scr-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid var(--scr-border);
    background: var(--scr-white);
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--scr-font);
}

.scr-action-btn:hover {
    border-color: var(--scr-primary);
    color: var(--scr-primary);
    background: var(--scr-secondary);
}

.scr-action-btn i {
    font-size: 14px;
    color: var(--scr-primary);
}

.scr-action-btn--follow:hover {
    border-color: var(--scr-red);
    color: var(--scr-red);
}

.scr-action-btn--follow:hover i {
    color: var(--scr-red);
}

/* ── Info Button (OlaClick style) ── */
.scr-info-btn {
    background: var(--scr-primary) !important;
    color: #fff !important;
    border-color: var(--scr-primary) !important;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
    border-radius: 24px !important;
}
.scr-info-btn:hover {
    background: #E67E00 !important;
    border-color: #E67E00 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}
.scr-info-btn i {
    color: #fff !important;
    font-size: 15px;
}

/* ── Booking Button ── */
.scr-booking-btn {
    background: #22c55e !important;
    color: #fff !important;
    border-color: #22c55e !important;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    border-radius: 24px !important;
}
.scr-booking-btn:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}
.scr-booking-btn i {
    color: #fff !important;
    font-size: 15px;
}

/* ── Booking Modal ── */
.scr-booking-modal {
    max-width: 440px;
    width: 90%;
    border-radius: var(--scr-radius);
    overflow: hidden;
    position: relative;
}
.scr-booking-modal-header {
    text-align: center;
    padding: 28px 20px 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}
.scr-booking-modal-header i {
    font-size: 28px;
    margin-bottom: 8px;
}
.scr-booking-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0;
}
.scr-booking-modal-header p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}
.scr-booking-modal-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.scr-booking-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--scr-radius-sm);
    border: 1px solid var(--scr-border);
    background: var(--scr-white);
    text-decoration: none;
    color: var(--scr-dark);
    transition: all 0.2s;
}
.scr-booking-option:hover {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}
.scr-booking-option-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.scr-booking-option-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #22c55e;
    font-size: 20px;
}
.scr-booking-option-info {
    flex: 1;
    min-width: 0;
}
.scr-booking-option-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}
.scr-booking-option-price {
    display: block;
    font-size: 13px;
    color: var(--scr-gray);
    margin-top: 2px;
}
.scr-booking-option-arrow {
    color: var(--scr-gray);
    font-size: 12px;
    flex-shrink: 0;
}
.scr-booking-option:hover .scr-booking-option-arrow {
    color: #22c55e;
}

/* ═══════════════════════════════════════
   RESERVATION MODAL (inline form)
   ═══════════════════════════════════════ */

.scr-reserva-modal {
    max-width: 480px;
    width: 92%;
    border-radius: var(--scr-radius);
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.scr-reserva-header {
    text-align: center;
    padding: 24px 20px 14px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}
.scr-reserva-header i {
    font-size: 26px;
    margin-bottom: 6px;
}
.scr-reserva-header h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 4px 0 0;
}

/* Horarios strip */
.scr-reserva-horarios {
    display: flex;
    gap: 2px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
}
.scr-reserva-dia {
    flex: 1;
    min-width: 52px;
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
}
.scr-reserva-dia-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    margin-bottom: 2px;
}
.scr-reserva-dia-hours {
    display: block;
    font-size: 10px;
    color: #22c55e;
    font-weight: 600;
    line-height: 1.3;
}
.scr-reserva-dia-cerrado .scr-reserva-dia-hours {
    color: #ccc;
}

/* Form */
.scr-reserva-form {
    padding: 16px 20px 20px;
}
.scr-reserva-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}
.scr-reserva-field {
    flex: 1;
}
.scr-reserva-field label,
.scr-reserva-slots-wrap > label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.scr-reserva-field label i,
.scr-reserva-slots-wrap > label i {
    margin-right: 4px;
    color: #22c55e;
    font-size: 12px;
}
.scr-reserva-field input,
.scr-reserva-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
.scr-reserva-field input:focus,
.scr-reserva-field select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}

/* Time slots */
.scr-reserva-slots-wrap {
    margin-bottom: 14px;
}
.scr-reserva-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 42px;
    align-items: center;
}
.scr-reserva-slots-hint,
.scr-reserva-slots-loading {
    font-size: 13px;
    color: #aaa;
    padding: 8px 0;
}
.scr-reserva-slots-loading i {
    color: #22c55e;
    margin-right: 6px;
}
.scr-reserva-slot {
    padding: 8px 16px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}
.scr-reserva-slot:hover {
    border-color: #22c55e;
    color: #22c55e;
}
.scr-reserva-slot.active {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

/* Submit button */
.scr-reserva-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #22c55e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}
.scr-reserva-submit:hover:not(:disabled) {
    background: #16a34a;
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}
.scr-reserva-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Messages */
.scr-reserva-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.scr-reserva-msg-ok {
    background: #f0fdf4;
    color: #166534;
}
.scr-reserva-msg-err {
    background: #fef2f2;
    color: #991b1b;
}

/* Responsive for reservation modal */
@media (max-width: 480px) {
    .scr-reserva-row {
        flex-direction: column;
        gap: 10px;
    }
    .scr-reserva-horarios {
        padding: 10px 12px;
    }
    .scr-reserva-dia {
        min-width: 42px;
    }
    .scr-reserva-slot {
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════
   CONTACT INFO SECTION (now inside modal)
   ═══════════════════════════════════════ */

.scr-contact-section {
    display: none;
}

.scr-contact-grid--modal {
    grid-template-columns: 1fr;
}

/* ── Info Panel (inside modal) ── */
/* Using #scanneat-restaurante prefix for specificity over Woodmart/WCFM */
#scanneat-restaurante .scr-info-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Quick action buttons row */
#scanneat-restaurante .scr-info-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
#scanneat-restaurante .scr-info-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border-radius: 24px !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    font-family: var(--scr-font) !important;
    line-height: 1.4 !important;
}
#scanneat-restaurante .scr-info-wa {
    background: #25D366 !important;
    color: #fff !important;
}
#scanneat-restaurante .scr-info-wa:hover { background: #1da851 !important; color: #fff !important; text-decoration: none !important; }
#scanneat-restaurante .scr-info-wa i { font-size: 16px !important; color: #fff !important; }

#scanneat-restaurante .scr-info-share {
    background: var(--scr-secondary) !important;
    color: var(--scr-primary) !important;
    border: 1px solid var(--scr-border) !important;
}
#scanneat-restaurante .scr-info-share:hover { background: var(--scr-primary) !important; color: #fff !important; }

#scanneat-restaurante .scr-info-pdf {
    background: #E53935 !important;
    color: #fff !important;
}
#scanneat-restaurante .scr-info-pdf:hover { background: #c62828 !important; color: #fff !important; text-decoration: none !important; }

/* Info blocks */
#scanneat-restaurante .scr-info-block {
    background: var(--scr-light) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--scr-border) !important;
}
#scanneat-restaurante .scr-info-block-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--scr-dark) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: default !important;
    width: 100% !important;
    font-family: var(--scr-font) !important;
    text-align: left !important;
}
#scanneat-restaurante .scr-info-block-title i {
    color: var(--scr-primary) !important;
    font-size: 15px !important;
}

/* Toggle (collapsible) */
#scanneat-restaurante .scr-info-toggle {
    cursor: pointer !important;
    justify-content: space-between !important;
    margin-bottom: 0 !important;
}
#scanneat-restaurante .scr-info-toggle:hover { color: var(--scr-primary) !important; }
#scanneat-restaurante .scr-info-toggle-arrow {
    font-size: 12px !important;
    color: var(--scr-gray) !important;
    transition: transform 0.2s !important;
}
#scanneat-restaurante .scr-info-toggle.open .scr-info-toggle-arrow {
    transform: rotate(180deg) !important;
}
#scanneat-restaurante .scr-info-collapsible {
    margin-top: 10px !important;
}
/* Services */
#scanneat-restaurante .scr-info-services {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
#scanneat-restaurante .scr-info-svc {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: var(--scr-dark) !important;
    font-weight: 500 !important;
}
#scanneat-restaurante .scr-info-svc-icon {
    font-size: 16px !important;
    width: 24px !important;
    text-align: center !important;
}
#scanneat-restaurante .scr-info-svc-detail {
    font-size: 13px !important;
    color: var(--scr-gray) !important;
    font-weight: 400 !important;
}
#scanneat-restaurante .scr-info-svc-wrap {
    display: flex !important;
    flex-direction: column !important;
}
#scanneat-restaurante .scr-svc-hours-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    border: 1.5px solid #ddd !important;
    background: #fff !important;
    color: var(--scr-gray) !important;
    font-size: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    padding: 0 !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
}
#scanneat-restaurante .scr-svc-hours-btn:hover {
    border-color: var(--scr-primary) !important;
    color: var(--scr-primary) !important;
    background: var(--scr-primary-light, #FFF5EE) !important;
}
#scanneat-restaurante .scr-svc-hours-btn.open {
    border-color: var(--scr-primary) !important;
    color: var(--scr-primary) !important;
    background: var(--scr-primary-light, #FFF5EE) !important;
}
#scanneat-restaurante .scr-svc-hours {
    margin-top: 6px !important;
    padding: 8px 10px !important;
    background: var(--scr-bg, #f9f9f9) !important;
    border-radius: 8px !important;
    margin-left: 32px !important;
}
#scanneat-restaurante .scr-svc-hours .scr-hours-list {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    margin-top: 0 !important;
}
#scanneat-restaurante .scr-svc-hours .scr-hours-row {
    padding: 2px 0 !important;
    font-size: 12px !important;
}
#scanneat-restaurante .scr-svc-hours .scr-hours-row:last-child {
    border-bottom: none !important;
}

/* WiFi */
#scanneat-restaurante .scr-info-wifi {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
}
#scanneat-restaurante .scr-info-wifi:last-child {
    margin-bottom: 0 !important;
}
#scanneat-restaurante .scr-info-wifi-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--scr-gray) !important;
    min-width: 42px !important;
}
#scanneat-restaurante .scr-info-wifi-pass {
    flex: 1 !important;
    background: var(--scr-white) !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--scr-dark) !important;
    letter-spacing: 0.5px !important;
    border: 1px solid var(--scr-border) !important;
}
#scanneat-restaurante .scr-info-copy-btn {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    border: 1px solid var(--scr-border) !important;
    background: var(--scr-white) !important;
    color: var(--scr-gray) !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 14px !important;
}
#scanneat-restaurante .scr-info-copy-btn:hover {
    border-color: var(--scr-primary) !important;
    color: var(--scr-primary) !important;
}
#scanneat-restaurante .scr-info-copy-btn.copied {
    background: var(--scr-primary) !important;
    border-color: var(--scr-primary) !important;
    color: #fff !important;
}

/* Map at bottom of info panel */
#scanneat-restaurante .scr-info-map-wrap {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--scr-border) !important;
}
#scanneat-restaurante .scr-info-map-wrap .scr-map-iframe {
    width: 100% !important;
    height: 200px !important;
    border: 0 !important;
    display: block !important;
}

.scr-contact-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--scr-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scr-contact-title i {
    color: var(--scr-primary);
    font-size: 18px;
}

.scr-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.scr-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.scr-contact-item--hours {
    grid-column: 1 / -1;
}

.scr-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--scr-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scr-contact-icon i {
    color: var(--scr-primary);
    font-size: 16px;
}

.scr-contact-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scr-contact-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--scr-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.scr-contact-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--scr-dark);
    text-decoration: none;
}

a.scr-contact-value:hover {
    color: var(--scr-primary);
}

.scr-hours-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
    margin-top: 4px;
}

.scr-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px solid var(--scr-border);
}

.scr-hours-day {
    font-weight: 500;
    color: var(--scr-dark);
}

.scr-hours-time {
    color: var(--scr-gray);
}

/* ═══════════════════════════════════════
   STORE TABS
   ═══════════════════════════════════════ */

.scr-tabs-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Tabs dentro del sidebar: layout vertical, solo botones (popup) */
.scr-cart-sidebar .scr-tabs-section {
    margin-top: 24px;
    background: var(--scr-white);
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow);
    border: 1px solid var(--scr-border);
    overflow: hidden;
}

.scr-cart-sidebar .scr-tabs-nav {
    flex-direction: column;
    gap: 0;
    border-bottom: none;
}

.scr-cart-sidebar .scr-tab-btn {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid var(--scr-border);
    border-left: none;
    margin-bottom: 0;
    width: 100%;
    color: var(--scr-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.scr-cart-sidebar .scr-tab-btn:last-child {
    border-bottom: none;
}

.scr-cart-sidebar .scr-tab-btn i {
    color: var(--scr-primary);
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.scr-cart-sidebar .scr-tab-btn:hover {
    background: var(--scr-secondary);
    color: var(--scr-primary);
}

/* Tab modal popup */
.scr-tab-modal {
    max-width: 600px;
    position: relative;
}

.scr-tab-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--scr-border);
    font-size: 20px;
    font-weight: 700;
    color: var(--scr-dark);
}

.scr-tab-modal-body {
    padding: 0;
    max-height: 65vh;
    overflow-y: auto;
}

.scr-tab-modal-body::-webkit-scrollbar { width: 4px; }
.scr-tab-modal-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.scr-tab-modal-body .scr-tab-panel {
    padding: 0;
}

.scr-tab-modal-body .scr-tab-content {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 24px;
}

.scr-tab-modal-body .scr-tab-empty {
    padding: 40px 20px;
}

.scr-tab-modal-body .scr-followers-content {
    padding: 40px 20px;
}

.scr-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--scr-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scr-tabs-nav::-webkit-scrollbar { display: none; }

.scr-tab-btn {
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--scr-gray);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--scr-font);
    letter-spacing: 0.5px;
}

.scr-tab-btn:hover {
    color: var(--scr-primary);
}

.scr-tab-btn--active {
    color: var(--scr-primary);
    border-bottom-color: var(--scr-primary);
}

.scr-tab-panel {
    padding: 28px 0;
}

.scr-tab-content {
    background: var(--scr-white);
    border-radius: var(--scr-radius);
    box-shadow: var(--scr-shadow);
    border: 1px solid var(--scr-border);
    padding: 28px;
}

.scr-tab-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--scr-dark);
    margin-bottom: 16px;
}

.scr-tab-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.scr-tab-text p {
    margin-bottom: 12px;
}

.scr-tab-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--scr-gray);
}

.scr-tab-empty i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.3;
    display: block;
}

.scr-tab-empty p {
    font-size: 14px;
}

/* ── Policies ── */

.scr-policy-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--scr-border);
}

.scr-policy-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.scr-policy-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--scr-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scr-policy-title i {
    color: var(--scr-primary);
}

.scr-policy-text {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ── Reviews ── */

.scr-reviews-summary {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--scr-border);
}

.scr-reviews-avg {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scr-reviews-avg-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--scr-dark);
}

.scr-reviews-avg-stars {
    color: #f59e0b;
    font-size: 16px;
    display: flex;
    gap: 2px;
}

.scr-reviews-count {
    font-size: 14px;
    color: var(--scr-gray);
}

.scr-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scr-review-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--scr-border);
}

.scr-review-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.scr-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.scr-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.scr-review-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.scr-review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--scr-dark);
}

.scr-review-date {
    font-size: 12px;
    color: var(--scr-gray);
}

.scr-review-stars {
    color: #f59e0b;
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.scr-review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ── Followers ── */

.scr-followers-content {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.scr-followers-count-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scr-followers-count-block i {
    font-size: 48px;
    color: var(--scr-primary);
    opacity: 0.8;
}

.scr-followers-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--scr-dark);
}

.scr-followers-label {
    font-size: 14px;
    color: var(--scr-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
    .scr-main-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .scr-main-grid > * {
        min-width: 0; /* allow grid children to shrink → enables overflow-x scroll inside */
    }

    .scr-sidebar        { display: none; }
    .scr-cart-sidebar    { display: none; }
    .scr-mobile-cats     { display: flex; }
    .scr-mobile-tabs     { display: block; }

    .scr-products-grid {
        grid-template-columns: 1fr;
    }

    .scr-banner { height: 180px; }

    .scr-store-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        margin-top: -40px;
    }

    .scr-store-logo {
        width: 70px;
        height: 70px;
    }

    .scr-store-name { font-size: 20px; }

    .scr-contact-grid {
        grid-template-columns: 1fr;
    }

    .scr-tab-btn {
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .scr-banner { height: 140px; }

    .scr-store-card {
        margin-top: -30px;
        padding: 14px;
    }

    .scr-store-logo { width: 60px; height: 60px; }
    .scr-store-name {
        font-size: 18px;
        word-break: break-word;
    }

    /* ── Tighter padding on mobile ── */
    .scr-container {
        padding: 0 12px;
    }

    /* ── Product cards: prevent overflow on small screens ── */
    .scr-product-img {
        width: 100px;
        height: 67px;  /* 3:2 */
    }
    .scr-product-card {
        gap: 10px;
        padding: 10px;
    }
    .scr-product-name {
        font-size: 13px;
    }
    .scr-product-desc {
        -webkit-line-clamp: 1;
    }
    .scr-price-current {
        font-size: 15px;
    }

    /* ── Product modal: bottom-sheet on mobile ── */
    .scr-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .scr-modal {
        max-width: 100%;
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: 16px 16px 0 0;
        margin-top: auto !important;
    }
    .scr-modal-gallery {
        flex-shrink: 0;
    }
    .scr-modal-gallery img#scrModalMainImg {
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }
    .scr-modal-info {
        padding: 16px;
        padding-bottom: 0;
    }
    /* Sticky action bar at the bottom of the scroll container (.scr-modal) */
    .scr-modal-actions {
        flex-direction: column;
        position: sticky;
        bottom: 0;
        background: var(--scr-white);
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        margin: 0 -16px -24px; /* pull flush with modal edges */
        border-top: 1px solid var(--scr-border);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
        gap: 10px;
        z-index: 5;
    }
    .scr-modal-add-btn {
        width: 100%;
        padding: 14px 16px;
    }
    .scr-qty-control {
        align-self: center;
    }

    /* ── Ensure close button is always reachable ── */
    .scr-modal-close {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 60 !important;
    }

    /* ── FAB: safe area ── */
    .scr-cart-fab {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    /* ── Mobile cart panel: safe area ── */
    .scr-mobile-cart-panel-content .scr-cart-footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .scr-hours-list {
        grid-template-columns: 1fr;
    }

    .scr-reviews-avg {
        flex-direction: column;
        text-align: center;
    }

    /* ── Action buttons row: scroll if too many ── */
    .scr-action-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .scr-action-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 12px;
    }

    /* ── Mobile categories: smaller ── */
    .scr-mobile-cat-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ══════════════════════════════════════════════
   VACATION MODE
   ══════════════════════════════════════════════ */

/* Badge */
.scr-badge--vacation {
    color: #d97706;
    border: 1px solid #d97706;
    background: #fffbeb;
}

/* Banner */
.scr-vacation-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 16px;
    margin-bottom: 16px;
}
.scr-vacation-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}
.scr-vacation-content {
    flex: 1;
    min-width: 0;
}
.scr-vacation-title {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 4px;
}
.scr-vacation-msg {
    font-size: 14px;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

/* Popup overlay */
.scr-vacation-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.scr-vacation-popup {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: scrVacPopup 0.3s ease;
}
@keyframes scrVacPopup {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.scr-vacation-popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,0.08) !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    color: #666 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    text-align: center !important;
    transition: background 0.2s, color 0.2s !important;
    z-index: 10 !important;
}
.scr-vacation-popup-close:hover {
    background: rgba(0,0,0,0.15) !important;
    color: #333 !important;
}
.scr-vacation-popup-icon {
    font-size: 56px;
    margin-bottom: 12px;
    line-height: 1;
}
.scr-vacation-popup-title {
    font-size: 22px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 12px;
}
.scr-vacation-popup-msg {
    font-size: 15px;
    color: #78350f;
    margin: 0 0 16px;
    line-height: 1.6;
}
.scr-vacation-popup-note {
    font-size: 13px;
    color: #999;
    margin: 0;
    font-style: italic;
}

/* Hide add buttons and cart when on vacation */
.scr-vacation-active .scr-add-btn,
.scr-vacation-active .scr-fab-cart,
.scr-vacation-active .scr-cart-footer,
.scr-vacation-active .scr-modal-actions {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   STICKY HEADER – appears on scroll
   ═══════════════════════════════════════════════════════════ */

/* Override Woodmart overflow:clip on body – required for position:fixed sticky header */
body.wp-theme-woodmart:has(.scr-sticky-header) {
    overflow: visible !important;
}
html:has(.scr-sticky-header) {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}
/* Force Woodmart sticky header below ours */
.whb-sticked, .woodmart-sticky-header, .whb-sticky-header,
.whb-row.whb-sticky-row, .whb-clone { z-index: 999 !important; }
.scr-sticky-header *, .scr-sticky-header button { pointer-events: auto !important; }

.scr-sticky-header {
    position: fixed;
    top: -200px;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: var(--scr-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: top 0.3s ease;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.scr-sticky-header.scr-sticky--visible {
    top: 0;
}

/* display:contents makes children (logo, search) act as direct flex children of header */
.scr-sticky-top {
    display: contents;
}

.scr-sticky-logo {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--scr-border);
}

.scr-sticky-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scr-sticky-logo .scr-store-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--scr-light);
    font-size: 14px;
    color: var(--scr-gray);
}

.scr-sticky-search {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: var(--scr-light);
    border: 1px solid var(--scr-border);
    border-radius: 20px;
    padding: 6px 9px;
    width: 32px;
    flex-shrink: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.scr-sticky-search.scr-search--open {
    width: 180px;
    padding: 6px 12px;
    cursor: default;
}

.scr-sticky-search i {
    color: var(--scr-gray);
    font-size: 14px;
    flex-shrink: 0;
}

.scr-sticky-search input {
    width: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--scr-dark);
    outline: none;
    font-family: var(--scr-font);
    padding: 0;
    margin-left: 0;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}

.scr-sticky-search.scr-search--open input {
    width: 100%;
    opacity: 1;
    margin-left: 8px;
}

.scr-sticky-search input::placeholder { color: var(--scr-gray); }

/* Categories: fill remaining space */
.scr-sticky-cats {
    display: flex;
    gap: 6px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
}

.scr-sticky-cats::-webkit-scrollbar { display: none; }

.scr-sticky-cat-btn {
    flex-shrink: 0;
    border: none;
    background: var(--scr-light);
    color: var(--scr-dark);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--scr-font);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.scr-sticky-cat-btn:hover { background: var(--scr-secondary); }

.scr-sticky-cat-btn--active {
    background: var(--scr-primary);
    color: var(--scr-white);
}

/* Desktop: hide sticky header entirely */
@media (min-width: 1025px) {
    .scr-sticky-header { display: none !important; }
}

/* ═══════════ STORE RATING (header) ═══════════ */
.scr-store-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.scr-store-rating-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 14px;
}
.scr-store-rating-value {
    font-weight: 700;
    font-size: 15px;
    color: var(--scr-dark);
}
.scr-store-rating-count {
    font-size: 13px;
    color: var(--scr-gray);
    text-decoration: none;
}
.scr-store-rating-count:hover {
    color: var(--scr-primary);
    text-decoration: underline;
}

/* ═══════════ REVIEWS SECTION (bottom) ═══════════ */
.scr-reviews-section {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 32px 16px;
    border-top: 2px solid var(--scr-border);
}
.scr-reviews-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.scr-reviews-section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--scr-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.scr-reviews-section-header h2 i {
    color: #f59e0b;
}
.scr-reviews-section-summary {
    display: flex;
    align-items: center;
    gap: 8px;
}
.scr-reviews-section-avg {
    font-size: 28px;
    font-weight: 700;
    color: var(--scr-dark);
}
.scr-reviews-section-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 16px;
}
.scr-reviews-section-count {
    font-size: 14px;
    color: var(--scr-gray);
}

/* Review form */
.scr-review-form-wrap {
    background: var(--scr-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}
.scr-review-form-wrap h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--scr-dark);
    margin: 0 0 14px;
}
.scr-review-form-stars {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.scr-review-form-stars span {
    font-size: 14px;
    color: var(--scr-gray);
}
.scr-star-picker {
    display: flex;
    gap: 4px;
}
.scr-star-picker i {
    font-size: 22px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s ease;
}
.scr-star-picker i.fas {
    color: #f59e0b;
}
.scr-star-picker i:hover,
.scr-star-picker i:hover ~ i { color: #d1d5db; }
.scr-star-picker:hover i { color: #f59e0b; }
.scr-star-picker:hover i:hover ~ i { color: #d1d5db; }

.scr-review-name-input {
    width: 100%;
    border: 1px solid var(--scr-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--scr-font);
    outline: none;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.scr-review-name-input:focus { border-color: var(--scr-primary); }

.scr-review-form-wrap textarea {
    width: 100%;
    border: 1px solid var(--scr-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--scr-font);
    resize: vertical;
    min-height: 70px;
    outline: none;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.scr-review-form-wrap textarea:focus {
    border-color: var(--scr-primary);
}
.scr-review-submit-btn {
    background: var(--scr-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.scr-review-submit-btn:hover {
    background: var(--scr-primary-hover);
}
.scr-review-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.scr-review-form-msg {
    margin-top: 10px;
    font-size: 14px;
}
.scr-review-form-msg.success { color: var(--scr-green); }
.scr-review-form-msg.error { color: var(--scr-red); }

.scr-review-login-msg {
    background: var(--scr-light);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: center;
}
.scr-review-login-msg p {
    margin: 0;
    font-size: 14px;
    color: var(--scr-gray);
}
.scr-review-login-msg a {
    color: var(--scr-primary);
    font-weight: 600;
    text-decoration: none;
}

/* Reviews list in section */
.scr-reviews-section-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.scr-reviews-empty {
    text-align: center;
    padding: 30px;
    color: var(--scr-gray);
}
.scr-reviews-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* ── Kitchen closed state ── */
.scr-kitchen-closed-banner {
    text-align: center;
    padding: 12px 16px;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    color: #e65100;
    font-size: 14px;
    margin-bottom: 16px;
}
.scr-closed-icon { font-size: 18px; margin-right: 6px; }
.scr-closed-hours-link {
    background: none;
    border: none;
    color: var(--scr-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 4px;
}
.scr-product-card--kitchen-closed {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(40%);
}

/* ─── Open Tab Overlay ─── */
.scr-opentab-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.scr-opentab-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.scr-opentab-icon { font-size: 48px; margin-bottom: 12px; }
.scr-opentab-box h3 { margin: 0 0 4px; font-size: 18px; color: #222; }
.scr-opentab-box p { margin: 0 0 20px; color: #666; font-size: 14px; }
.scr-opentab-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}
.scr-opentab-btn-order {
    background: #FF8C00;
    color: #fff;
}
.scr-opentab-btn-view {
    background: #f0f0f0;
    color: #333;
}
.scr-opentab-btn-tracking {
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: center;
}

/* ─── Tab Summary ─── */
.scr-opentab-summary {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.scr-opentab-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
}
.scr-opentab-summary-header h3 { margin: 0; font-size: 18px; }
.scr-opentab-summary-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 4px;
}
.scr-tab-meta {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    color: #666;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.scr-tab-round {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.scr-tab-round-paid .scr-tab-item-name {
    text-decoration: line-through;
    color: #999;
}
.scr-tab-round-paid {
    opacity: 0.6;
}
.scr-tab-round-header {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}
.scr-tab-paid-badge {
    background: #4caf50;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: normal;
    margin-left: 6px;
}
.scr-tab-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 3px 0;
    font-size: 14px;
}
.scr-tab-item-qty { color: #FF8C00; font-weight: 600; min-width: 24px; }
.scr-tab-item-name { flex: 1; }
.scr-tab-item-price { color: #666; font-size: 13px; }
.scr-tab-item-extras { font-size: 12px; color: #999; padding-left: 30px; }
.scr-tab-round-subtotal {
    text-align: right;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #eee;
}
.scr-tab-totals {
    padding: 16px 20px;
}
.scr-tab-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    padding: 4px 0;
}
.scr-tab-pending { color: #FF8C00; }
