/* =========================================================
   RESTAURANT SINGLE: INTRO + MENU + RIGHT COLUMN
========================================================= */
.restaurant-columns p{ margin-bottom: 10px; font-size: 16px; }

/* Menu formatting */
.restaurant-menu{ line-height: 1.55; }

.restaurant-menu h2{
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 10px;
  gap: 8px;
}

/* First section header inside the menu should NOT have the big top margin */
.restaurant-menu > h2:first-child{
  margin-top: 20px;
}

.restaurant-menu h2::after{ margin-left: 10px; }

.restaurant-menu h3{
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 6px;
  margin-left: 10px;
  gap: 6px;
  line-height: 1.4;
  border-left: none;
}
.restaurant-menu h3::after{ margin-left: 10px; margin-right: 10px; }

.restaurant-menu h3 + p{ margin-left: 20px; }

.restaurant-menu h4{
  font-size: 1.15rem;
  font-weight: 700;
  margin: 18px 0 6px 20px;
  padding-left: 10px;
  border-left: 3px solid #e5e5e5;
  line-height: 1.35;
}
.restaurant-menu h4 + p{ margin-left: 40px; }
.restaurant-menu p + p{ margin-left: 40px; }
.restaurant-menu ul{ margin-left: 18px; }
.restaurant-menu li{ margin-bottom: 6px; }



/* =========================================================
   AFFILIATE CONTENT
========================================================= */


/* =========================================================
   AMAZON FEATURED PRODUCT
========================================================= */

.rm-amazon-product {
  padding: 22px;
  margin: 30px 0;
}

.restaurant-menu .rm-amazon-product h3.icon-headers,
.rm-amazon-product h3.icon-headers {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 700;
}

.restaurant-menu .rm-amazon-product h4,
.rm-amazon-product h4 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;

  color: #1f76e6;
}

/* Remove restaurant-menu indentation rules inside product card */
.restaurant-menu .rm-amazon-product p,
.restaurant-menu .rm-amazon-product h4 + p,
.restaurant-menu .rm-amazon-product p + p,
.rm-amazon-product p {
  margin-left: 0;
}

.rm-amazon-product p {
  margin-top: 0;
  margin-bottom: 12px;

  font-size: 15px;
  line-height: 1.55;
}

/* Keep button compact */
.rm-amazon-product .blue-button {
  margin-top: 6px;
  padding: 10px 18px;
  font-size: 15px;
}

/* Small affiliate disclosure */
.restaurant-menu .rm-amazon-product .rm-affiliate-disclosure,
.rm-amazon-product .rm-affiliate-disclosure {
  margin: 16px 0 0;

  font-size: 11px;
  line-height: 1.4;
  font-style: italic;

  color: #777;
}


/* =========================================================
   VIRAL FINDS IMAGE BANNER
========================================================= */

.rm-viral-finds-banner {
  margin: 30px 0;
}

.rm-viral-finds-banner a {
  display: block;
  line-height: 0;
}

.rm-viral-finds-banner img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  border-radius: 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .rm-amazon-product {
    padding: 18px;
    margin: 24px 0;
  }

  .restaurant-menu .rm-amazon-product h4,
  .rm-amazon-product h4 {
    font-size: 17px;
  }

  .rm-amazon-product p {
    font-size: 14px;
  }

  .rm-viral-finds-banner {
    margin: 24px 0;
  }

}

/* Right column sections */
.section-block{ margin-bottom: 22px; }
.section-block h2{ font-size: 20px; margin-bottom: 6px; font-weight: 600; }
.section-block p{ margin: 4px 0 10px; line-height: 1.45; }

.restaurant-columns p.rm-dietary-text {
  font-size: 14px;
}

/* Hours */
.hours-status-area{ text-align: left; margin-bottom: 15px; }
.hours-status{ font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.hours-status.open-now{ color: #1a9b3b; }
.hours-status.closed-now{ color: #cc0000; }
.hours-status.closed-today{ color: #777; }
.hours-substatus{ font-size: 14px; color: #444; }

.hours-table{ margin-top: 10px; }
.hours-row{
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}
.hours-row:last-child{ border-bottom: none; }
.today-row{
  background: #f7fdf7;
  border-radius: 6px;
  padding: 6px 8px !important;
}
.hours-day{ font-weight: 500; }
.hours-time{ color: #333; }

.hours-toggle{
  margin-top: 10px;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  user-select: none;
}
.hours-toggle:hover{ opacity: .7; }

.hours-toggle-arrow{
  margin-left: 6px;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.hours-toggle-arrow.rotate{ transform: rotate(180deg); }

.hours-collapsed{ max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.hours-expanded{ max-height: 500px; transition: max-height 0.35s ease; }




.rm-map-wrap{
  overflow: hidden;
  border-radius: 10px;
}


.nearby-list{ margin: 0; padding: 0; list-style: none; }
.nearby-item{ border-bottom: 1px solid #f0f0f0; padding: 6px 0; }
.nearby-item:last-child{ border-bottom: none; }

.nearby-link{
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
}

.nearby-title{ font-size: 15px; font-weight: 500; flex-grow: 1; }
.nearby-tag{
  background: #e8f4ff;
  color: #0073e6;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Tabs */
.rm-tabs{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-bottom: 8px; }
.rm-tab{
  border: 1px solid #4a7f3b;
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.rm-tab.active{
  background: #99D98C;
  color: #000;
  border-color: #99D98C;
  border-radius: 8px;
  transform: scale(1.05);
  box-shadow: inset 0 0 0 1px #000, 0 1px 6px rgba(153, 217, 140, 0.25);
}
.rm-tab:hover{ background: #bbe6b2; border-color: #77c26c; }
.rm-tab-content-wrapper{ margin-top: 18px; }
.rm-tab-content{ display: none; animation: fadeIn 0.25s ease; }
.rm-tab-content.active{ display: block; }
@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }

.rm-tab:focus, .rm-tab:focus-visible{ outline: none; }
.rm-tab:focus-visible{ box-shadow: 0 0 0 3px rgba(153, 217, 140, 0.45); }
.rm-tab.active:focus-visible{
  box-shadow: inset 0 0 0 1px #000, 0 1px 6px rgba(153, 217, 140, 0.25), 0 0 0 3px rgba(153, 217, 140, 0.45);
}

/* Tabs (restaurant sections): clean, no grey left bar, minimal indents */
.rm-tab-block--sections .box-card > h3::after{
  display: none;
}

.rm-tab-block--sections .box-card h4{
  font-size: 1rem;
  font-weight: 800;
  margin: 16px 0 6px;
  padding: 0;
  border: 0;
  line-height: 1.35;
}

.rm-tab-block--sections .box-card h4 + p{
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.rm-tab-block--sections .box-card p{
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.rm-tab-block--sections .box-card ul{
  margin: 8px 0 12px 18px; /* small normal list indent */
}

.rm-tab-block--sections .box-card li{
  margin: 0 0 8px;
}

/* Last updated */
.menu-last-updated{
  font-size: 0.85rem;
  color: #777;
  margin-top: 4px;
  margin-bottom: 18px;
}

@media (max-width: 600px){
  .rm-tabs{ flex-direction: column; }
  .rm-tab{ width: 100%; }
}

