/* Sheetz Menu Plugin — Frontend v2.2.0 */
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.smm-global-search-dropdown[hidden], .smm-item-row-tr[hidden], .smm-table-wrap[hidden], .smm-group-title[hidden] { display:none!important; }
.smm-filter-btn:focus-visible, .smm-order-btn:focus-visible, .smm-global-search-input:focus-visible, .smm-live-search:focus-visible, .smm-options-summary:focus-visible { outline:3px solid currentColor; outline-offset:2px; }
.smm-row-sentinel { height: 1px; width: 100%; }
.smm-trust-note { margin:10px 0 0; font-size:13px; color:#64748b; text-align:center; }
.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}

/* --- HOMEPAGE TRUST BAR (THEME SYNCED) --- */
.smm-trust-bar { display: flex; flex-wrap: wrap; background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; gap: 24px; justify-content: space-around; font-family: 'Work Sans', sans-serif; }
.smm-trust-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.smm-trust-stat strong { font-family: 'Archivo Black', sans-serif; font-size: 32px; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.smm-trust-stat span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; color: var(--signal-dark); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- HOMEPAGE DIET SHORTCUTS (THEME SYNCED) --- */
.smm-shortcut-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; font-family: 'Work Sans', sans-serif; }
.smm-shortcut-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px rgba(30,25,15,0.1); border-top: 4px solid var(--signal); text-decoration: none !important; color: var(--ink); transition: transform 0.15s ease; display: flex; flex-direction: column; }
.smm-shortcut-card:nth-child(2) { border-top-color: var(--pine); }
.smm-shortcut-card:nth-child(3) { border-top-color: var(--mustard); }
.smm-shortcut-card:hover { transform: translateY(-4px); }
.smm-shortcut-head { font-family: 'Work Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.smm-shortcut-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px 0; line-height: 1.5; }
.smm-shortcut-card ul { list-style: none; padding: 0; margin: 0 0 20px 0; border-top: 1px solid var(--line); flex-grow: 1; }
.smm-shortcut-card li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.smm-shortcut-card li span { font-family: 'IBM Plex Mono', monospace; color: var(--signal-dark); font-weight: 600; font-size: 13.5px; }
.smm-shortcut-card .see-all { font-size: 13px; font-weight: 700; color: var(--signal-dark); text-transform: uppercase; letter-spacing: 0.03em; }

/* --- HOMEPAGE PRICE INDEX (THEME SYNCED) --- */
.smm-price-index-box { background: var(--night); border-radius: var(--radius); color: #fff; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; font-family: 'Work Sans', sans-serif; }
.smm-pi-header { flex: 1; min-width: 250px; }
.smm-pi-header h3 { font-family: 'Archivo Black', sans-serif; margin: 0 0 12px 0; font-size: 26px; color: #fff; text-transform: uppercase; letter-spacing: 0.01em; }
.smm-pi-header p { margin: 0; color: #cfc9ba; font-size: 15px; line-height: 1.6; }
.smm-pi-list { flex: 2; min-width: 300px; display: flex; flex-direction: column; gap: 12px; }
.smm-pi-item { display: flex; justify-content: space-between; align-items: center; background: var(--night-soft); padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line-dark); }
.smm-pi-name { font-weight: 600; font-size: 15px; color: #f8fafc; }
.smm-pi-prices { display: flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; }
.smm-pi-old { color: #94a3b8; text-decoration: line-through; }
.smm-pi-new { color: var(--mustard); }
.smm-pi-up { background: #7f1d1d; color: #fca5a5; padding: 2px 6px; border-radius: 4px; font-size: 12px; margin-left: 8px; font-family: 'Work Sans', sans-serif; }
.smm-pi-down { background: var(--pine); color: var(--pine-light); padding: 2px 6px; border-radius: 4px; font-size: 12px; margin-left: 8px; font-family: 'Work Sans', sans-serif; }

/* --- GLOBAL SITEWIDE SEARCH --- */
.smm-global-search-row { background: var(--night, #191815); padding: 24px 20px 32px 20px; border-top: 1px solid rgba(255,255,255,0.03); position: relative; z-index: 10; }
.smm-global-search-row .wrap { max-width: 700px; margin: 0 auto; position: relative; }
.smm-global-search-container { position: relative; width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.smm-global-search-input { width: 100%; padding: 14px 20px 14px 44px; border: 2px solid #3d3b36; border-radius: 30px; font-size: 15px; font-weight: 500; color: #ffffff; outline: none; transition: all 0.2s; background: #2a2824 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%239ca3af" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat 16px center; box-sizing: border-box; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.smm-global-search-input::placeholder { color: #9ca3af; }
.smm-global-search-input:focus { border-color: #C8521E; background-color: #1f1e1a; box-shadow: 0 0 0 3px rgba(200,82,30,0.2); }
.smm-global-search-dropdown { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; margin-top: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 100; max-height: 400px; overflow-y: auto; text-align: left; }
.smm-search-result-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; text-decoration: none !important; transition: background 0.15s; }
.smm-search-result-item:last-child { border-bottom: none; }
.smm-search-result-item:hover { background: #f8fafc; }
.smm-search-result-item img { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; border: 1px solid #e2e8f0; flex-shrink: 0; }
.smm-search-no-img { width: 48px; height: 36px; background: #f1f5f9; border-radius: 6px; border: 1px solid #e2e8f0; flex-shrink: 0; display:flex; align-items:center; justify-content:center; color:#cbd5e1; font-size:10px; text-transform: uppercase; font-weight: 700; text-align: center; line-height: 1.1;}
.smm-search-info { display: flex; flex-direction: column; gap: 4px; }
.smm-search-info strong { color: #0f172a; font-size: 14.5px; line-height: 1.2; }
.smm-search-info span { color: #64748b; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.smm-search-empty { padding: 16px; text-align: center; color: #64748b; font-size: 14px; font-style: italic; }
.smm-search-loading { padding: 16px; text-align: center; color: #64748b; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 10px; }
.smm-spinner { width: 18px; height: 18px; border: 2px solid #e2e8f0; border-top-color: #C8521E; border-radius: 50%; animation: smm-spin 0.8s linear infinite; }
@keyframes smm-spin { to { transform: rotate(360deg); } }

/* --- 2-COLUMN DYNAMIC LAYOUT --- */
.smm-page-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; width: 100%; box-sizing: border-box; }
.smm-main-col { flex: 1; min-width: 0; box-sizing: border-box; }
.smm-sidebar-col { width: 280px; flex-shrink: 0; position: sticky; top: 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; }

/* --- SIDEBAR WIDGETS --- */
.smm-sidebar-widget { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.smm-widget-title { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 16px 0; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; }
.smm-widget-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;}
.smm-widget-list li { margin: 0; }
.smm-widget-list a { display: block; padding: 10px 14px; border-radius: 8px; color: #475569; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.2s; background: #fff; border: 1px solid #e2e8f0; }
.smm-widget-list a:hover { border-color: #C8521E; color: #C8521E; transform: translateX(4px); }
.smm-widget-list a.active { background: #C8521E; color: #fff; border-color: #C8521E; }
.smm-ad-widget { padding: 0; overflow: hidden; background: transparent; border: none; box-shadow: none; display: flex; justify-content: center; }

/* --- 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; }

/* --- SMART STATS METRIC GRID --- */
.smm-smart-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.smm-stat-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.03); display: flex; flex-direction: column; justify-content: center; }
.smm-stat-card-title { font-size: 11.5px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.smm-stat-card-val { font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 4px; }
.smm-stat-card-val small { font-size: 13px; font-weight: 600; color: #64748b; }
.smm-stat-card-sub { font-size: 12px; color: #94a3b8; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- 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;}

/* --- INTERACTIVE FILTERS & SEARCH --- */
.smm-controls-container { margin-bottom: 24px; background: #fff; border: 1px solid #e5e7eb; padding: 16px; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.smm-live-search { width:100%; padding:12px 16px; border:2px solid #e2e8f0; border-radius:8px; outline:none; font-size:15px; transition: border-color 0.2s; box-sizing: border-box;}
.smm-live-search:focus { border-color: #C8521E; }
.smm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.smm-filter-btn { background: #f1f5f9; border: 1px solid #cbd5e1; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; transition: all 0.2s ease; outline: none; }
.smm-filter-btn:hover { background: #e2e8f0; color: #0f172a; }
.smm-filter-btn.active { background: #C8521E; color: #fff; border-color: #C8521E; box-shadow: 0 2px 4px rgba(200, 82, 30, 0.2); }

/* --- NEW RICH TILE GRID (For Hub Pages) --- */
.smm-category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 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; transition: opacity 0.2s; }
.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 --- */
.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-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-customizations-loading { color:#64748b; font-size:12px; }
.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 --- */
.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: 768px) {
  .smm-page-layout { flex-direction: column; }
  .smm-main-col, .smm-sidebar-col { width: 100%; min-width: 100%; }
  .smm-sidebar-col { position: static; }
  .smm-smart-stats-grid { grid-template-columns: 1fr 1fr; }
  .smm-pi-header, .smm-pi-list { min-width: 100%; }
}

@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-smart-stats-grid { grid-template-columns: 1fr; }
  .smm-trust-stat strong { font-size: 22px; }
}