/* Sheetz Menu Plugin — Frontend v4.4 */
.smm-wrap { margin: 24px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.smm-empty{color:#9ca3af;font-style:italic}
.smm-error{color:#dc2626;font-weight:500}
.smm-group-title { font-size: 19px; font-weight: 800; color: #111827; margin: 32px 0 14px 0; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; scroll-margin-top: 20px;}
.smm-verified-badge{display:inline-flex;align-items:center;gap:6px;background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d;font-size:12.5px;font-weight:600;padding:6px 14px;border-radius:20px;margin-bottom:16px}
.smm-verified-badge svg{stroke:#15803d;fill:none;flex-shrink:0}

/* --- BREADCRUMBS --- */
.smm-breadcrumb { font-size: 13.5px; color: #6b7280; margin-bottom: 24px; font-weight: 500; display:flex; flex-wrap:wrap; align-items:center; gap:8px;}
.smm-breadcrumb a { color: #C8521E; text-decoration: none; transition: color 0.15s; }
.smm-breadcrumb a:hover { color: #8F3A14; text-decoration: underline; }
.smm-breadcrumb .sep { color: #9ca3af; font-size: 15px;}
.smm-breadcrumb .current { color: #111827; }

/* --- BEAUTIFUL SEO INSIGHTS BOX --- */
.smm-seo-box { background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid #C8521E; padding: 20px; border-radius: 8px; font-size: 14.5px; color: #334155; margin-bottom: 24px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); line-height: 1.6; }
.smm-seo-box p { margin: 0; }
.smm-seo-box hr { border: none; border-top: 1px solid #cbd5e1; margin: 16px 0; }
.smm-seo-box h4 { margin: 0 0 12px 0; color: #0f172a; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.smm-seo-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.smm-seo-box li { color: #475569; }
.smm-seo-box strong { color: #0f172a; }

.smm-price-alert { background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid #ef4444; padding: 12px 16px; border-radius: 8px; font-size: 14px; color: #991b1b; margin-bottom: 24px; }

/* --- TABLE OF CONTENTS --- */
.smm-toc { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; font-size: 14px;}
.smm-toc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;}
.smm-toc-links a { background: #f3f4f6; color: #4b5563; padding: 4px 12px; border-radius: 16px; text-decoration: none; font-weight: 500; font-size: 13px; transition: background 0.2s;}
.smm-toc-links a:hover { background: #e5e7eb; color: #111827;}

/* --- NEW RICH TILE GRID (For Hub Pages) --- */
.smm-category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 24px 0 48px 0; }
.smm-tile { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; text-decoration: none !important; color: inherit; transition: all 0.25s ease; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); overflow: hidden; position: relative; }
.smm-tile:hover { transform: translateY(-5px); border-color: #C8521E; box-shadow: 0 12px 20px -5px rgba(200,82,30,0.15); }
.smm-tile-img { height: 160px; background-size: cover; background-position: center; background-color: #f1f5f9; border-bottom: 1px solid #f1f5f9; position: relative; }
.smm-tile-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.smm-tile-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 10px;}
.smm-tile h3 { margin: 0; color: #0f172a; font-size: 18px; font-weight: 800; line-height: 1.3; }
.smm-tile-count { background: #f8fafc; color: #475569; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; border: 1px solid #cbd5e1; }
.smm-tile p { margin: 0 0 18px 0; font-size: 13.5px; color: #64748b; line-height: 1.5; flex-grow: 1; }
.smm-tile-action { color: #C8521E; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s; display: flex; align-items: center; gap: 4px;}
.smm-tile:hover .smm-tile-action { color: #8F3A14; }

/* --- DESKTOP TABLE STYLING --- */
.smm-table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); margin-bottom: 24px; }
.smm-table { width: 100%; border-collapse: collapse; text-align: left; }
.smm-table thead th { background: #f9fafb; color: #4b5563; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 20px; border-bottom: 1px solid #e5e7eb; font-weight: 700; white-space: nowrap; }
.smm-table tbody tr { border-bottom: 1px solid #f3f4f6; transition: background-color 0.15s ease; }
.smm-table tbody tr:last-child { border-bottom: none; }
.smm-table tbody tr:hover { background-color: #fafaf9; }
.smm-table tbody td { padding: 16px 20px; vertical-align: top; }

/* --- ITEM COLUMN STYLING --- */
.smm-col-name { min-width: 280px; }
.smm-item-row { display: flex; align-items: flex-start; gap: 16px; }
.smm-thumb { width: 72px; height: 52px; object-fit: cover; border-radius: 6px; background: #f3f4f6; border: 1px solid #f0f0f0; flex-shrink: 0; margin-top: 4px;}
.smm-item-info { display: flex; flex-direction: column; gap: 4px; }
.smm-item-name { font-weight: 700; font-size: 15px; color: #111827; line-height: 1.3; }
.smm-item-desc { font-size: 12.5px; color: #6b7280; line-height: 1.4; }

/* --- HTML VIEWER CUSTOMIZATIONS (TABS & PILLS) --- */
.smm-options-wrapper { margin-top: 4px; }
.smm-options-summary { font-size: 11.5px; color: #1e40af; background: #eff6ff; border: 1px solid #dbeafe; padding: 4px 10px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; font-weight: 600; user-select: none; transition: background-color 0.15s ease; outline: none; }
.smm-options-summary:hover { background: #dbeafe; }
.smm-options-summary::marker, .smm-options-summary::-webkit-details-marker { display: none; }
.smm-options-summary:before { content: "⚙️ View Customizations ▾"; }
.smm-options-wrapper[open] .smm-options-summary:before { content: "⚙️ Hide Customizations ▴"; }

.smm-template-box { margin-top: 8px; padding: 15px; background: #f8f9fa; border-left: 4px solid #3498db; border-radius: 0 8px 8px 0; font-size: 13px; animation: slideDown 0.2s ease-out forwards; }
.smm-tab-title { font-weight: bold; color: #2c3e50; margin-bottom: 8px; border-bottom: 1px solid #ddd; padding-bottom: 4px; font-size: 14px; margin-top: 12px; }
.smm-opt-group:first-child .smm-tab-title { margin-top: 0; }
.smm-opt-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.smm-opt-badge { background: #fff; border: 1px solid #ccc; padding: 4px 10px; border-radius: 15px; font-size: 12px; display: inline-flex; gap: 8px; align-items: center; color: #333; }
.smm-opt-badge img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.smm-opt-price { color: #555; }

.smm-badge-custom { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 2px 8px; border-radius: 6px; margin-top: 4px; width: fit-content; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PRICE CHANGES & CALORIES --- */
.smm-price { font-weight: 700; font-size: 16px; color: #111827; white-space: nowrap; }
.smm-price-old { text-decoration: line-through; color: #999; font-size: 12px; margin-right: 6px; font-weight: normal; }
.smm-trend-up { background: #fce8e6; color: #c0392b; border: 1px solid #f5b7b1; padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }
.smm-trend-down { background: #e9f7ef; color: #27ae60; border: 1px solid #a9dfbf; padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }
.smm-cal { font-size: 13px; color: #d35400; white-space: nowrap; background: #fdf2e9; padding: 3px 8px; border-radius: 4px; display: inline-block; }

/* --- BUTTONS (FORCED ORANGE) --- */
.smm-order-btn { display: inline-block; background: #C8521E !important; color: #fff !important; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 20px; text-decoration: none !important; transition: background 0.15s ease, transform 0.1s ease; white-space: nowrap; box-shadow: 0 2px 4px rgba(200, 82, 30, 0.2); border: none !important; }
.smm-order-btn:hover { background: #8F3A14 !important; transform: translateY(-1px); }

/* --- MOBILE RESPONSIVE STYLES --- */
@media(max-width: 640px) {
  .smm-table, .smm-table thead, .smm-table tbody, .smm-table th, .smm-table td, .smm-table tr { display: block; }
  .smm-table thead { display: none; }
  .smm-table tbody tr { margin-bottom: 12px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; background: #fff; }
  .smm-table tbody td { padding: 6px 0; border: none; }
  .smm-table tbody td[data-label="Price"] { display: inline-block; margin-right: 12px; }
  .smm-table tbody td[data-label="Calories"] { display: inline-block; }
  .smm-table tbody td[data-label="Action"] { margin-top: 10px; text-align: right; }
  .smm-order-btn { display: block; text-align: center; width: 100%; box-sizing: border-box; }
  .smm-category-tiles { grid-template-columns: 1fr; }
  .smm-live-search { width: 100% !important; max-width: 100% !important; }
}