/* ==========================================================================
   IchiRamen - Standalone Stylesheet
   A warm, cream-themed ramen ordering app (System Under Test for Playwright).
   This file is self-contained -- it does NOT import the portfolio's style.css.
   ========================================================================== */

/* --- Variables --- */
:root {
  --ry-bg: #fdf6ec;
  --ry-text: #3e2c1a;
  --ry-text-light: #8a7560;
  --ry-accent: #d4440a;
  --ry-accent-hover: #b33808;
  --ry-card-bg: #fff8f0;
  --ry-border: #e8ddd0;
  --ry-radius: 10px;
  --ry-red: #d32f2f;
  --ry-green: #2e7d32;
}

/* --- Base / Reset --- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; padding: 0;
  background: var(--ry-bg);
  color: var(--ry-text);
  font-family: 'Outfit', sans-serif;
}

/* --- Training Banner (sticky top bar for learners) --- */
.training-banner {
  position: sticky; top: 0; z-index: 100;
  background: #1a1511; color: #ff6a00;
  text-align: left; padding: 8px 24px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  display: flex; justify-content: space-between; align-items: center;
}
.training-toggles { display: flex; gap: 20px; }
.locator-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #ccc;
}
.locator-toggle input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 40px; height: 22px; background: #444;
  border-radius: 11px; position: relative;
  cursor: pointer; transition: background 0.2s ease;
}
.locator-toggle input[type="checkbox"]:checked { background: #ff6a00; }
.locator-toggle input[type="checkbox"]::after {
  content: ''; width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: left 0.2s ease;
}
.locator-toggle input[type="checkbox"]:checked::after { left: 20px; }

/* --- App Header --- */
.ry-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; border-bottom: 1px solid var(--ry-border);
}
.ry-logo { display: flex; align-items: center; gap: 12px; }
.ry-logo-icon { width: 40px; height: 40px; }
.ry-logo-name { font-size: 22px; font-weight: 700; color: var(--ry-text); }
.ry-logo-sub {
  font-size: 11px; color: var(--ry-text-light);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* Search bar */
.ry-search { flex: 1; max-width: 500px; margin: 0 40px; position: relative; }
.ry-search input {
  width: 100%; padding: 12px 20px 12px 44px;
  border-radius: 24px; border: 1px solid var(--ry-border);
  background: var(--ry-card-bg); font-size: 14px;
  font-family: 'Outfit', sans-serif; outline: none;
  transition: border-color 0.2s ease;
}
.ry-search input:focus { border-color: var(--ry-accent); }
.ry-search-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); color: var(--ry-text-light);
}

/* Nav actions */
.ry-nav-actions { display: flex; align-items: center; gap: 16px; }
.ry-login-btn {
  padding: 8px 20px; border-radius: 20px;
  border: 1px solid var(--ry-text); background: transparent;
  color: var(--ry-text); font-size: 14px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}
.ry-cart-btn {
  position: relative; padding: 8px 16px; border-radius: 20px;
  border: 1px solid var(--ry-border); background: transparent;
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
}
.ry-cart-count {
  background: var(--ry-red); color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -4px; right: -4px;
}

/* --- ZONE 1: Member Bar --- */
.ry-member-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; padding: 10px 24px;
  background: linear-gradient(90deg, #fff3e0, #ffe0b2);
  border-bottom: 1px solid var(--ry-border);
  font-size: 14px; color: var(--ry-text);
}
.ry-member-discount {
  background: var(--ry-green); color: #fff;
  padding: 3px 12px; border-radius: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
}
.ry-logout-btn {
  padding: 4px 14px; border-radius: 14px;
  border: 1px solid var(--ry-text-light); background: transparent;
  color: var(--ry-text-light); font-size: 12px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}
.ry-logout-btn:hover {
  background: var(--ry-text-light); color: #fff;
}

/* --- Main Content --- */
.ry-content { max-width: 1100px; margin: 0 auto; padding: 32px; }

/* --- Hero / Title --- */
.ry-title { font-size: 32px; font-weight: 700; color: var(--ry-text); margin-bottom: 8px; }
.ry-subtitle { font-size: 15px; color: var(--ry-text-light); margin-bottom: 32px; }

/* --- Filter Pills --- */
.ry-filters { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.ry-filter {
  padding: 8px 20px; border-radius: 20px;
  border: 1px solid var(--ry-border); background: transparent;
  color: var(--ry-text); font-size: 14px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ry-filter:hover { border-color: var(--ry-accent); }
.ry-filter.active { background: var(--ry-accent); color: #fff; border-color: var(--ry-accent); }

/* --- ZONE 2: Flash Deal Banner --- */
.ry-flash-deal {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, #fff3e0, #ffe0b2);
  border: 2px solid #ff9800;
  border-radius: var(--ry-radius);
  padding: 14px 20px; margin-bottom: 24px;
  font-size: 14px; font-weight: 600;
  color: var(--ry-text);
  animation: flashPulse 2s ease-in-out infinite;
}
@keyframes flashPulse {
  0%, 100% { border-color: #ff9800; }
  50% { border-color: #f44336; }
}
.ry-flash-icon { font-size: 20px; }
.ry-flash-timer {
  margin-left: auto;
  background: var(--ry-accent); color: #fff;
  padding: 4px 12px; border-radius: 14px;
  font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ry-flash-close {
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--ry-text-light);
  padding: 0 4px; line-height: 1;
}
.ry-flash-close:hover { color: var(--ry-text); }

/* --- ZONE 2: Loading Skeleton --- */
.ry-loading {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 32px;
}
.ry-skeleton-card {
  background: linear-gradient(90deg, #efe5d8 25%, #f5ece0 50%, #efe5d8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--ry-radius);
  height: 200px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Ramen Cards --- */
.ry-empty-state {
  text-align: center; padding: 48px 20px; color: var(--ry-text-light);
  font-size: 16px;
}
.ry-menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  list-style: none; padding: 0; margin: 0;
}
.ry-ramen-card {
  background: var(--ry-card-bg); border: 1px solid var(--ry-border);
  border-radius: var(--ry-radius); padding: 24px;
  transition: box-shadow 0.2s ease;
}
.ry-ramen-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }
.ry-ramen-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.ry-ramen-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; flex-shrink: 0;
}
.ry-ramen-icon.miso     { background: #8d6e3f; }
.ry-ramen-icon.tonkotsu { background: #6d4c2a; }
.ry-ramen-icon.shoyu    { background: #a0522d; }
.ry-ramen-icon.shio     { background: #c4a67a; }
.ry-ramen-name { font-size: 18px; font-weight: 700; }
.ry-ramen-category { font-size: 11px; color: var(--ry-text-light); text-transform: uppercase; letter-spacing: 1px; }
.ry-ramen-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; text-transform: uppercase; margin-left: auto;
}
.ry-ramen-badge.signature { background: rgba(212, 68, 10, 0.1);  color: var(--ry-accent); }
.ry-ramen-badge.rich      { background: rgba(109, 76, 42, 0.15); color: #6d4c2a; }
.ry-ramen-badge.light     { background: rgba(196, 166, 122, 0.2); color: #8a7560; }
.ry-ramen-desc { font-size: 14px; color: var(--ry-text-light); line-height: 1.5; margin-bottom: 16px; }
.ry-ramen-footer { display: flex; justify-content: space-between; align-items: center; }
.ry-ramen-price { font-size: 20px; font-weight: 700; color: var(--ry-accent); }
.ry-add-btn {
  padding: 8px 20px; border-radius: 20px;
  background: var(--ry-accent); color: #fff; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: background 0.2s ease;
}
.ry-add-btn:hover { background: var(--ry-accent-hover); }

/* --- ZONE 1: Toppings Customization --- */
.ry-customize-btn {
  margin-top: 12px; padding: 6px 16px;
  border-radius: 16px; border: 1px solid var(--ry-border);
  background: transparent; color: var(--ry-text);
  font-size: 13px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ry-customize-btn:hover {
  border-color: var(--ry-accent); background: rgba(212, 68, 10, 0.05);
}
.ry-toppings-panel {
  margin-top: 12px; padding: 16px;
  background: var(--ry-bg); border: 1px solid var(--ry-border);
  border-radius: var(--ry-radius);
}
.ry-topping-option {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 13px;
}
.ry-topping-option input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--ry-accent);
  cursor: pointer;
}
.ry-topping-option label {
  cursor: pointer; color: var(--ry-text);
}
.ry-toppings-done {
  margin-top: 10px; padding: 6px 16px;
  border-radius: 16px; border: none;
  background: var(--ry-accent); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.ry-toppings-done:hover { background: var(--ry-accent-hover); }

/* --- ZONE 3: Today's Special --- */
.ry-daily-special {
  margin-top: 40px; padding: 24px;
  background: linear-gradient(135deg, #fff8f0, #ffe8d6);
  border: 2px dashed var(--ry-accent);
  border-radius: var(--ry-radius);
}
.ry-daily-special h3 {
  font-size: 18px; font-weight: 700;
  color: var(--ry-accent); margin: 0 0 16px 0;
  text-transform: uppercase; letter-spacing: 1px;
}
.ry-special-card {
  display: flex; align-items: center; gap: 16px;
}
.ry-special-name {
  font-size: 16px; font-weight: 600; color: var(--ry-text);
}
.ry-special-price {
  font-size: 20px; font-weight: 700; color: var(--ry-accent);
  margin-left: auto;
}

/* --- Login Modal --- */
.ry-login-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5); z-index: 200;
  justify-content: center; align-items: center;
}
.ry-login-overlay.open { display: flex; }
.ry-login-modal { background: #fff; border-radius: 12px; padding: 40px; width: 400px; max-width: 90vw; }
.ry-login-modal h2 { font-size: 24px; margin-bottom: 24px; color: var(--ry-text); }
.ry-login-field { margin-bottom: 16px; }
.ry-login-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ry-text); }
.ry-login-field input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--ry-border); border-radius: 8px;
  font-size: 14px; font-family: 'Outfit', sans-serif;
}
.ry-login-submit {
  width: 100%; padding: 12px;
  background: var(--ry-accent); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Outfit', sans-serif; margin-top: 8px;
}
.ry-login-error {
  display: none; background: rgba(211, 47, 47, 0.08);
  color: var(--ry-red); padding: 10px 14px;
  border-radius: 8px; font-size: 13px; margin-top: 12px;
}
.ry-login-error.visible { display: block; }

/* --- ZONE 1: Toast Notification --- */
.ry-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1511; color: #fff;
  padding: 12px 28px; border-radius: 24px;
  font-size: 14px; font-weight: 600;
  z-index: 300; opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.ry-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- ZONE 3: Iframe Confirmation --- */
.ry-confirm-frame {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 480px; max-width: 90vw; height: 360px;
  border: none; border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  z-index: 250; background: #fff;
}

/* --- Cart Panel (slides in from right) --- */
.ry-cart-panel {
  display: none; position: fixed; right: 0; top: 0;
  height: 100vh; width: 380px; background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 150; padding: 24px; overflow-y: auto;
}
.ry-cart-panel.open { display: block; }
.ry-cart-panel h2 { font-size: 20px; margin-bottom: 20px; }
.ry-cart-item {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--ry-border); font-size: 14px;
  cursor: grab; user-select: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.ry-cart-item.dragging { opacity: 0.4; }
.ry-cart-item.drag-over { background: rgba(212, 68, 10, 0.08); }
.ry-cart-empty { color: var(--ry-text-light); font-size: 14px; text-align: center; padding: 40px 0; }
.ry-cart-total { display: flex; justify-content: space-between; padding-top: 16px; font-size: 18px; font-weight: 700; }
.ry-cart-checkout {
  width: 100%; padding: 12px;
  background: var(--ry-accent); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 16px; font-family: 'Outfit', sans-serif;
}
.ry-cart-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--ry-text-light);
}

/* --- ZONE 1: Checkout Form --- */
.ry-checkout-field {
  margin-bottom: 14px;
}
.ry-checkout-field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--ry-text);
}
.ry-checkout-field input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--ry-border); border-radius: 8px;
  font-size: 14px; font-family: 'Outfit', sans-serif;
  outline: none; transition: border-color 0.2s ease;
}
.ry-checkout-field input:focus { border-color: var(--ry-accent); }
.ry-apply-promo {
  margin-top: 8px; padding: 6px 16px;
  border-radius: 16px; border: none;
  background: var(--ry-accent); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.ry-apply-promo:hover { background: var(--ry-accent-hover); }

/* Promo message */
#promoMessage {
  font-size: 13px; padding: 6px 0; min-height: 20px;
}
#promoMessage.ry-promo-success { color: var(--ry-green); font-weight: 600; }
#promoMessage.ry-promo-error { color: var(--ry-red); font-weight: 600; }

/* Order summary in checkout */
.ry-order-summary {
  margin: 16px 0; padding: 12px;
  background: var(--ry-bg); border-radius: var(--ry-radius);
}
.ry-summary-row {
  display: flex; justify-content: space-between;
  padding: 4px 0; font-size: 13px; color: var(--ry-text-light);
}
.ry-summary-row.ry-summary-discount { color: var(--ry-green); }
.ry-summary-row.ry-summary-total {
  padding-top: 8px; margin-top: 4px;
  border-top: 1px solid var(--ry-border);
  font-size: 16px; font-weight: 700; color: var(--ry-text);
}

.ry-place-order-btn {
  width: 100%; padding: 12px;
  background: var(--ry-green); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Outfit', sans-serif;
  transition: background 0.2s ease;
}
.ry-place-order-btn:hover { background: #1b5e20; }

/* --- ZONE 2: Order Tracker --- */
.ry-order-tracker {
  margin-top: 40px; padding: 32px;
  background: var(--ry-card-bg); border: 1px solid var(--ry-border);
  border-radius: var(--ry-radius);
}
.ry-order-tracker h2 {
  font-size: 22px; margin: 0 0 24px 0; color: var(--ry-text);
}
.ry-track-steps {
  display: flex; gap: 0; justify-content: space-between;
  position: relative;
}
.ry-track-steps::before {
  content: ''; position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 3px; background: var(--ry-border);
  z-index: 0;
}
.ry-track-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; z-index: 1; flex: 1;
  opacity: 0.35; transition: opacity 0.4s ease;
}
.ry-track-step.active { opacity: 1; }
.ry-step-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ry-bg); border: 3px solid var(--ry-border);
  border-radius: 50%; font-size: 16px;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.ry-track-step.active .ry-step-icon {
  border-color: var(--ry-green); background: #e8f5e9;
}
.ry-track-step span:last-child {
  font-size: 12px; font-weight: 600; color: var(--ry-text-light);
  text-align: center;
}
.ry-track-step.active span:last-child { color: var(--ry-text); }

.ry-new-order-btn {
  margin-top: 24px; padding: 12px 32px;
  background: var(--ry-accent); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Outfit', sans-serif;
}
.ry-new-order-btn:hover { background: var(--ry-accent-hover); }

/* --- Locator Hints (visible when body.hints-on) --- */
body.hints-on [data-locator]::after {
  content: attr(data-locator);
  position: absolute; top: -24px; left: 0;
  font-size: 10px; background: #1a1511; color: #4fc3f7;
  padding: 2px 8px; border-radius: 4px;
  white-space: nowrap; z-index: 50; font-family: monospace;
}
body.hints-on [data-locator] {
  position: relative;
  outline: 2px dashed #4fc3f7; outline-offset: 2px;
}
body.hints-on .ry-cart-panel,
body.hints-on .ry-login-modal {
  overflow: visible;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ry-header { flex-direction: column; gap: 12px; padding: 12px 16px; }
  .ry-search { max-width: 100%; margin: 0; }
  .ry-content { padding: 20px 16px; }
  .ry-menu-grid { grid-template-columns: 1fr; }
  .ry-loading { grid-template-columns: 1fr; }
  .ry-cart-panel { width: 100%; }
  .ry-login-modal { width: 100%; margin: 0 16px; }
  .ry-member-bar { flex-wrap: wrap; gap: 10px; font-size: 13px; }
  .ry-track-steps { flex-direction: column; gap: 12px; }
  .ry-track-steps::before {
    top: 0; bottom: 0; left: 20px;
    width: 3px; height: auto; right: auto;
  }
  .ry-flash-deal { flex-wrap: wrap; }
  .ry-special-card { flex-wrap: wrap; gap: 10px; }
  .ry-confirm-frame { width: 95vw; height: 320px; }
  .ry-header { flex-wrap: wrap; gap: 8px; }
  .ry-delivery-bar { display: none; }
  .ry-breadcrumb { margin-bottom: 16px; }
  .ry-card-tab-bar { gap: 8px; }
  .ry-similar-grid { grid-template-columns: 1fr; }
  .ry-cart-item-controls { flex-wrap: wrap; }
}

/* ========== HEADER ADDITIONS ========== */
.ry-delivery-bar {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ry-text-light);
}
.ry-address-btn {
  background: none; border: none; color: var(--ry-accent);
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; padding: 0;
}
.ry-address-btn::after { content: ' \25BE'; font-size: 10px; }
.ry-notif-btn {
  position: relative; background: none; border: 1px solid var(--ry-border);
  border-radius: 50%; width: 36px; height: 36px; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.ry-notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--ry-red); color: #fff; font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ry-eta-chip {
  font-size: 11px; color: var(--ry-text-light);
  background: rgba(0,0,0,0.04); padding: 4px 10px; border-radius: 12px;
}

/* ========== DROPDOWNS ========== */
.ry-dropdown {
  position: absolute; top: 100%; left: 0; z-index: 50;
  background: #fff; border: 1px solid var(--ry-border);
  border-radius: var(--ry-radius); box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 220px; margin-top: 8px; overflow: hidden;
}
.ry-dropdown-item {
  display: block; width: 100%; text-align: left;
  padding: 10px 16px; border: none; background: none;
  font-size: 13px; font-family: 'Outfit', sans-serif;
  color: var(--ry-text); cursor: pointer; transition: background 0.15s;
}
.ry-dropdown-item:hover { background: rgba(0,0,0,0.03); }
.ry-dropdown-item.active { color: var(--ry-accent); font-weight: 600; }

/* Notifications dropdown */
.ry-notif-dropdown { right: 0; left: auto; min-width: 300px; }
.ry-notif-item {
  display: flex; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 13px; color: var(--ry-text-light);
}
.ry-notif-item:last-child { border-bottom: none; }
.ry-notif-item.unread { background: rgba(212,68,10,0.03); }
.ry-notif-item strong { display: block; color: var(--ry-text); font-size: 13px; margin-bottom: 2px; }
.ry-notif-item p { margin: 0; font-size: 12px; }
.ry-notif-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.ry-notif-time { font-size: 11px; color: var(--ry-text-light); opacity: 0.7; }
.ry-notif-dismiss {
  background: none; border: none; color: var(--ry-text-light);
  font-size: 14px; cursor: pointer; padding: 4px; margin-left: auto;
  opacity: 0.4; transition: opacity 0.15s; flex-shrink: 0; align-self: flex-start;
}
.ry-notif-dismiss:hover { opacity: 1; color: var(--ry-red); }

/* ========== BREADCRUMB ========== */
.ry-breadcrumb { margin-bottom: 20px; }
.ry-breadcrumb ol {
  list-style: none; display: flex; gap: 8px; padding: 0; margin: 0;
  font-size: 13px; color: var(--ry-text-light);
}
.ry-breadcrumb a { color: var(--ry-accent); text-decoration: none; }
.ry-breadcrumb a:hover { text-decoration: underline; }

/* ========== CARD IMAGE + META + TABS ========== */
.ry-card-img {
  height: 120px; border-radius: var(--ry-radius) var(--ry-radius) 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; margin: -24px -24px 16px -24px;
}
.ry-card-img.miso { background: #f5e6c8; }
.ry-card-img.tonkotsu { background: #ede0d0; }
.ry-card-img.shoyu { background: #e8d5c0; }
.ry-card-img.shio { background: #e0e8d0; }
.ry-card-badges-row {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.ry-card-badge-overlay {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; text-transform: uppercase;
}
.ry-card-badge-overlay.popular { background: rgba(212,68,10,0.1); color: var(--ry-accent); }
.ry-card-badge-overlay.new-item { background: rgba(46,125,50,0.1); color: var(--ry-green); }
.ry-card-badge-overlay.spicy-badge { background: rgba(211,47,47,0.1); color: var(--ry-red); }
.ry-card-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px; font-size: 13px; color: var(--ry-text-light);
}
.ry-card-stars { letter-spacing: 2px; color: #f5a623; }
.ry-card-rating-val { font-weight: 600; color: var(--ry-text); }
.ry-card-delivery { margin-left: auto; font-size: 12px; }
.ry-card-tab-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--ry-border);
  margin: 12px 0 8px;
}
.ry-card-tab {
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--ry-text-light); cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.ry-card-tab[aria-selected="true"] {
  color: var(--ry-accent); border-bottom-color: var(--ry-accent);
}
.ry-card-tab-panel { font-size: 13px; color: var(--ry-text-light); line-height: 1.5; }
.ry-card-tab-panel p { margin: 4px 0; }
.ry-review-item { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.ry-review-author { font-weight: 600; color: var(--ry-text); font-size: 13px; }
.ry-review-stars { font-size: 11px; color: #f5a623; margin-left: 6px; }
.ry-review-text { font-size: 12px; color: var(--ry-text-light); margin-top: 2px; }

/* ========== CART ITEM CONTROLS ========== */
.ry-cart-item-info { flex: 1; }
.ry-cart-item-name { display: block; font-weight: 600; color: var(--ry-text); font-size: 14px; }
.ry-cart-item-extras { display: block; font-size: 11px; color: var(--ry-text-light); }
.ry-cart-item-controls {
  display: flex; align-items: center; gap: 8px;
}
.ry-qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--ry-border); background: var(--ry-card-bg);
  font-size: 16px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; color: var(--ry-text);
}
.ry-qty-btn:hover { border-color: var(--ry-accent); }
.ry-qty-val { font-weight: 600; min-width: 20px; text-align: center; }
.ry-cart-item-price { font-weight: 600; color: var(--ry-accent); font-size: 14px; }
.ry-remove-btn {
  background: none; border: none; color: var(--ry-red);
  font-size: 16px; cursor: pointer; padding: 4px;
}

/* ========== SIMILAR ITEMS ========== */
.ry-section-heading {
  font-size: 22px; font-weight: 700; color: var(--ry-text); margin: 32px 0 16px;
}
.ry-similar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.ry-similar-card {
  background: var(--ry-card-bg); border: 1px solid var(--ry-border);
  border-radius: var(--ry-radius); padding: 16px; text-align: center;
}
.ry-similar-img { font-size: 36px; margin-bottom: 8px; }
.ry-similar-name { display: block; font-weight: 600; color: var(--ry-text); font-size: 14px; margin-bottom: 4px; }
.ry-similar-price { display: block; font-size: 14px; color: var(--ry-accent); font-weight: 700; margin-bottom: 8px; }
.ry-similar-card .ry-add-btn { width: 100%; }
