/* =========================================================
   Premium Restaurant Frontend Redesign
   Layered overrides — keeps existing structure/markup working
   ========================================================= */

:root {
  --rp-ink: #14110f;
  --rp-ink-soft: #3d3632;
  --rp-muted: #6f6760;
  --rp-cream: #faf7f2;
  --rp-cream-2: #f3eee6;
  --rp-paper: #ffffff;
  --rp-line: rgba(20, 17, 15, 0.08);
  --rp-gold: #c4a35a;
  --rp-gold-deep: #a8843a;
  --rp-accent: var(--primary-color, #c4a35a);
  --rp-shadow: 0 18px 50px rgba(20, 17, 15, 0.08);
  --rp-shadow-sm: 0 8px 24px rgba(20, 17, 15, 0.06);
  --rp-radius: 18px;
  --rp-radius-sm: 12px;
  --rp-font: "DM Sans", "Inter", system-ui, sans-serif;
  --rp-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --primary-color: #b08d3f;
  --secondary-color: #14110f;
  --heading-color: #14110f;
  --paragraph-color: #5c554f;
  --default-color: #14110f;
  --white-color: #ffffff;
}

/* Base */
body.restaurant-premium,
.restaurant-premium {
  font-family: var(--rp-font) !important;
  background: var(--rp-cream) !important;
  color: var(--rp-ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.restaurant-premium h1,
.restaurant-premium h2,
.restaurant-premium h3,
.restaurant-premium h4,
.restaurant-premium h5,
.restaurant-premium .title,
.restaurant-premium .banner .title {
  font-family: var(--rp-display) !important;
  letter-spacing: -0.02em;
  color: var(--rp-ink) !important;
  font-weight: 600;
}

.restaurant-premium p,
.restaurant-premium .subtitle {
  font-family: var(--rp-font) !important;
  color: var(--rp-muted);
  line-height: 1.7;
}

/* Preloader */
.restaurant-premium .ct-preloader {
  background: var(--rp-ink);
}
.restaurant-premium .lds-ripple div {
  border-color: var(--rp-gold);
}

/* ========== Header (no absolute overlay — prevents content collision) ========== */
.restaurant-premium .main-header.header-1,
.restaurant-premium .main-header.header-4,
.restaurant-premium .main-header.header-light,
.restaurant-premium .main-header.header-section-menu {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(250, 247, 242, 0.92) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--rp-line);
  box-shadow: 0 8px 30px rgba(20, 17, 15, 0.04) !important;
  height: auto !important;
  min-height: 78px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  z-index: 1050 !important;
}

.restaurant-premium .main-header.header-absolute {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

/* Kill legacy huge top padding used for absolute headers */
.restaurant-premium .menu_page,
.restaurant-premium .about-us-page,
.restaurant-premium .product-single,
.restaurant-premium .contact-page,
.restaurant-premium .checkout-page,
.restaurant-premium .auth-wrapper {
  padding-top: 0 !important;
}

.restaurant-premium .oo-user-link {
  color: var(--rp-ink) !important;
  font-weight: 600 !important;
  text-decoration: none;
}

.restaurant-premium .main-header .navbar {
  padding: 14px 0;
  align-items: center;
}

.restaurant-premium .navbar-brand img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.restaurant-premium .navbar .menu-item > a {
  font-family: var(--rp-font) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rp-ink) !important;
  padding: 8px 4px !important;
  position: relative;
  transition: color 0.2s ease;
}

.restaurant-premium .navbar-nav {
  gap: 8px 22px;
  align-items: center;
}

.restaurant-premium .navbar .menu-item > a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 1.5px;
  background: var(--rp-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.restaurant-premium .navbar .menu-item > a:hover,
.restaurant-premium .navbar .menu-item > a.active {
  color: var(--rp-gold-deep) !important;
}

.restaurant-premium .navbar .menu-item > a:hover::after,
.restaurant-premium .navbar .menu-item > a.active::after {
  transform: scaleX(1);
}

.restaurant-premium .header-controls-inner {
  gap: 22px;
}

.restaurant-premium .header-controls-inner li span {
  font-size: 11px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600 !important;
  color: var(--rp-ink) !important;
}

.restaurant-premium .header-controls-inner svg path {
  fill: var(--rp-ink) !important;
}

.restaurant-premium .cart-item-count {
  background: var(--rp-gold) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(176, 141, 63, 0.35);
}

.restaurant-premium .aside-toggler {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--rp-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* Mobile aside */
.restaurant-premium .main-aside {
  background: var(--rp-ink) !important;
  color: #fff;
}
.restaurant-premium .main-aside .menu-item a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
.restaurant-premium .main-aside .menu-item a.active,
.restaurant-premium .main-aside .menu-item a:hover {
  color: var(--rp-gold) !important;
}

/* ========== Hero / Banner ========== */
.restaurant-premium .banner,
.restaurant-premium .banner-1,
.restaurant-premium .banner-4 {
  margin-top: 0 !important;
}

.restaurant-premium .banner-inner {
  min-height: clamp(420px, 72vh, 720px) !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  position: relative;
}

.restaurant-premium .banner-inner.dark-overlay::before,
.restaurant-premium .banner-inner.dark-overlay-2::before {
  background: linear-gradient(
    120deg,
    rgba(20, 17, 15, 0.78) 0%,
    rgba(20, 17, 15, 0.45) 55%,
    rgba(20, 17, 15, 0.25) 100%
  ) !important;
  opacity: 1 !important;
}

.restaurant-premium .banner .title {
  color: #fff !important;
  font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
  line-height: 1.1 !important;
  max-width: 14ch;
  margin-bottom: 0.35em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.restaurant-premium .banner .subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.05rem !important;
  max-width: 38rem;
  margin-bottom: 0;
}

.restaurant-premium .banner .d-flex.flex-column.gap40px,
.restaurant-premium .hero-content {
  gap: 28px !important;
  padding: 40px 0;
}

.restaurant-premium .hero-kicker {
  display: inline-block;
  font-family: var(--rp-font) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rp-gold) !important;
}

.restaurant-premium .btn-custom-outline,
.restaurant-premium a.btn-custom-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: none !important;
}

.restaurant-premium .btn-custom-outline:hover,
.restaurant-premium a.btn-custom-outline:hover {
  background: #fff !important;
  color: var(--rp-ink) !important;
  border-color: #fff !important;
}

/* ========== Buttons ========== */
.restaurant-premium .btn-custom,
.restaurant-premium a.btn-custom {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: var(--rp-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-family: var(--rp-font) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(176, 141, 63, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  text-decoration: none !important;
}

.restaurant-premium .btn-custom:hover,
.restaurant-premium a.btn-custom:hover {
  background: var(--rp-gold-deep) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(176, 141, 63, 0.35);
}

.restaurant-premium .btn-custom.primary {
  background: var(--rp-gold) !important;
}

/* ========== Sections ========== */
.restaurant-premium .section {
  padding: 88px 0 !important;
  background: transparent;
}

.restaurant-premium .section.section-padding.pt-0,
.restaurant-premium .section.pt-0 {
  padding-top: 24px !important;
}

.restaurant-premium .section-title-wrap {
  margin-bottom: 40px;
}

.restaurant-premium .section-title-wrap .custom-primary,
.restaurant-premium h5.custom-primary {
  color: var(--rp-gold) !important;
  font-family: var(--rp-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}

.restaurant-premium .section-title-wrap .title,
.restaurant-premium .section-header .title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem) !important;
  margin-bottom: 14px;
}

.restaurant-premium .section-ornament {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rp-gold), transparent);
  margin: 8px auto 0;
}

.restaurant-premium .section-title-wrap .subtitle {
  font-size: 1.05rem;
  max-width: 34rem;
}

/* About / service image */
.restaurant-premium .ct-single-img-wrapper {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--rp-shadow);
  position: relative;
}

.restaurant-premium .ct-single-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  pointer-events: none;
}

.restaurant-premium .ct-single-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.restaurant-premium .ct-single-img-wrapper:hover img {
  transform: scale(1.05);
}

/* ========== Menu cards ========== */
.restaurant-premium .menu_card .ct-mini-menu-item,
.restaurant-premium .ct-mini-menu-item {
  background: var(--rp-paper);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  padding: 22px 22px 18px !important;
  margin-bottom: 18px;
  box-shadow: var(--rp-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: calc(100% - 18px);
}

.restaurant-premium .ct-mini-menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow);
  border-color: rgba(176, 141, 63, 0.35);
}

.restaurant-premium .ct-mini-menu-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed rgba(20, 17, 15, 0.12);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.restaurant-premium .ct-mini-menu-top h5 {
  font-family: var(--rp-display) !important;
  font-size: 1.2rem !important;
  margin: 0;
}

.restaurant-premium .ct-mini-menu-top .price_sec,
.restaurant-premium .price_sec {
  color: var(--rp-gold-deep) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  white-space: nowrap;
}

.restaurant-premium .ct-mini-menu-bottom p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  min-height: 2.8em;
}

.restaurant-premium .order-item {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--rp-cream-2);
  border: 1px solid var(--rp-line);
  transition: background 0.2s ease, transform 0.2s ease;
}

.restaurant-premium .order-item:hover {
  background: var(--rp-gold);
  transform: scale(1.05);
}

.restaurant-premium .order-item:hover svg path {
  fill: #fff !important;
}

/* Gallery */
.restaurant-premium .photo-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--rp-shadow-sm);
}

.restaurant-premium .photo-card img {
  transition: transform 0.5s ease;
}

.restaurant-premium .photo-card:hover img {
  transform: scale(1.06);
}

.restaurant-premium .customPrevBtn,
.restaurant-premium .customNextBtn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--rp-line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.restaurant-premium .customPrevBtn:hover,
.restaurant-premium .customNextBtn:hover {
  background: var(--rp-ink);
  border-color: var(--rp-ink);
}

.restaurant-premium .customPrevBtn:hover path,
.restaurant-premium .customNextBtn:hover path {
  fill: #fff !important;
}

/* Map */
.restaurant-premium .section-map,
.restaurant-premium .ct-contact-map-wrapper {
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  box-shadow: var(--rp-shadow);
}

.restaurant-premium .ct-contact-map iframe {
  filter: grayscale(0.15) contrast(1.05);
}

/* ========== Footer ========== */
.restaurant-premium .ct-footer.footer-dark,
.restaurant-premium footer.ct-footer {
  background: linear-gradient(180deg, #1a1613 0%, #0f0d0b 100%) !important;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0;
  border-top: 1px solid rgba(196, 163, 90, 0.2);
}

.restaurant-premium .footer-middle {
  padding: 72px 0 40px !important;
}

.restaurant-premium .footer-logo img {
  max-height: 48px;
  filter: brightness(1.05);
}

.restaurant-premium .footer-widget .widget-title {
  font-family: var(--rp-display) !important;
  color: #fff !important;
  font-size: 1.15rem !important;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.restaurant-premium .footer-widget .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--rp-gold);
}

.restaurant-premium .footer-widget.first_widget .widget-title::after,
.restaurant-premium .footer-widget .d-flex.flex-column.align-items-center .widget-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.restaurant-premium .footer-widget ul li a {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.restaurant-premium .footer-widget ul li a:hover {
  color: var(--rp-gold) !important;
  padding-left: 4px;
}

.restaurant-premium .social-links li a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.restaurant-premium .social-links li a:hover {
  background: var(--rp-gold);
  border-color: var(--rp-gold);
}

.restaurant-premium .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 18px 0 !important;
}

.restaurant-premium .footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0;
}

/* Floating cart */
.restaurant-premium .color-picker.cart-trigger,
.restaurant-premium .color-picker {
  background: var(--rp-ink) !important;
  border: 1px solid rgba(196, 163, 90, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.restaurant-premium .color-picker .cart-item-count-static {
  background: var(--rp-gold) !important;
}

/* Cart sidebar polish */
.restaurant-premium .cart-sidebar,
.restaurant-premium .main-cart-sidebar {
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
}

/* Forms / login pages inside frontend */
.restaurant-premium .form-control,
.restaurant-premium input.form-control,
.restaurant-premium select.form-control,
.restaurant-premium textarea.form-control {
  border-radius: 12px !important;
  border: 1px solid var(--rp-line) !important;
  background: #fff !important;
  min-height: 48px;
  box-shadow: none !important;
}

.restaurant-premium .form-control:focus {
  border-color: rgba(176, 141, 63, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(176, 141, 63, 0.12) !important;
}

/* Menu page product cards if present */
.restaurant-premium .product-card,
.restaurant-premium .menu-product,
.restaurant-premium .ct-product {
  border-radius: var(--rp-radius);
  overflow: hidden;
  border: 1px solid var(--rp-line);
  background: #fff;
  box-shadow: var(--rp-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.restaurant-premium .product-card:hover,
.restaurant-premium .menu-product:hover,
.restaurant-premium .ct-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow);
}

/* Subtle page rhythm */
.restaurant-premium .container {
  max-width: 1180px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .restaurant-premium .navbar-nav {
    display: none;
  }
  .restaurant-premium .banner-inner {
    min-height: 70vh !important;
    border-radius: 0 0 20px 20px;
  }
  .restaurant-premium .section {
    padding: 56px 0 !important;
  }
}

@media (max-width: 575px) {
  .restaurant-premium .banner .title {
    max-width: none;
  }
  .restaurant-premium .btn-custom {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   ONLINE ORDER — full redesign + anti-overlap fixes
   ========================================================= */

.restaurant-premium .oo-page {
  background: linear-gradient(180deg, #f7f2ea 0%, #faf7f2 28%, #fff 100%);
  min-height: 60vh;
  overflow-x: clip;
}

/* Hero */
.restaurant-premium .oo-hero {
  position: relative;
  isolation: isolate;
  min-height: 220px;
  padding: 48px 0 40px;
  background:
    linear-gradient(120deg, rgba(20, 17, 15, 0.88) 0%, rgba(20, 17, 15, 0.55) 55%, rgba(20, 17, 15, 0.4) 100%),
    var(--oo-hero-image, linear-gradient(135deg, #2a2218, #14110f));
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.restaurant-premium .oo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, #f7f2ea);
  z-index: 1;
}

.restaurant-premium .oo-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 163, 90, 0.22), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.restaurant-premium .oo-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.restaurant-premium .oo-kicker {
  display: inline-block;
  font-family: var(--rp-font) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rp-gold) !important;
  margin-bottom: 10px;
}

.restaurant-premium .oo-kicker.dark {
  color: var(--rp-gold-deep) !important;
}

.restaurant-premium .oo-title {
  font-family: var(--rp-display) !important;
  color: #fff !important;
  font-size: clamp(1.9rem, 4vw, 3rem) !important;
  line-height: 1.15;
  margin: 0 0 8px;
  max-width: 16ch;
}

.restaurant-premium .oo-sub {
  color: rgba(255, 255, 255, 0.78) !important;
  margin: 0;
  font-size: 0.98rem;
}

.restaurant-premium .oo-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 360px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.restaurant-premium .oo-search-wrap i {
  color: var(--rp-gold-deep);
}

.restaurant-premium .oo-search-input {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 100%;
  font-size: 14px;
  color: var(--rp-ink);
  min-height: auto !important;
}

.restaurant-premium .oo-search-input::placeholder {
  color: #9a9188;
}

/* Category bar — sticky under header, no absolute thumb overlap */
.restaurant-premium .oo-cat-bar,
.restaurant-premium .ct-menu-categories.menu-filter {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: rgba(250, 247, 242, 0.94) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rp-line);
  padding: 18px 0 10px !important;
  margin: 0 !important;
}

.restaurant-premium .oo-cat-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.restaurant-premium .oo-section-label {
  font-family: var(--rp-display) !important;
  font-size: 1.35rem !important;
  margin: 0;
  color: var(--rp-ink) !important;
}

.restaurant-premium .oo-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--rp-line);
  background: #fff;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--rp-ink);
  transition: all 0.2s ease;
}

.restaurant-premium .oo-nav-btn:hover {
  background: var(--rp-ink);
  color: #fff;
  border-color: var(--rp-ink);
}

/* Slick category track — kill fixed 200px height + absolute thumbs */
.restaurant-premium .oo-cat-bar .slick-track,
.restaurant-premium .menu-category-slider .slick-track {
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  display: flex !important;
  align-items: stretch;
}

.restaurant-premium .oo-cat-bar .slick-list,
.restaurant-premium .menu-category-slider .slick-list {
  margin: 0 -8px;
  padding: 8px 0 12px !important;
  overflow: hidden;
}

.restaurant-premium .oo-cat-bar .slick-slide,
.restaurant-premium .menu-category-slider .slick-slide {
  height: auto !important;
  padding: 0 8px;
}

.restaurant-premium .oo-cat-chip,
.restaurant-premium .ct-menu-category-item {
  width: 168px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 12px 14px !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid var(--rp-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--rp-shadow-sm);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative !important;
  overflow: visible;
}

.restaurant-premium .oo-cat-chip:hover,
.restaurant-premium .ct-menu-category-item:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 141, 63, 0.45) !important;
  box-shadow: var(--rp-shadow);
}

.restaurant-premium .oo-cat-chip.active,
.restaurant-premium .ct-menu-category-item.active,
.restaurant-premium .slick-current.ct-menu-category-item,
.restaurant-premium .slick-active.active {
  border-color: var(--rp-gold) !important;
  background: linear-gradient(180deg, #fff 0%, #fbf6ea 100%) !important;
  box-shadow: 0 12px 28px rgba(176, 141, 63, 0.16);
}

.restaurant-premium .oo-cat-thumb,
.restaurant-premium .menu-category-thumb {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  overflow: hidden;
  border: 2px solid rgba(176, 141, 63, 0.25);
  flex-shrink: 0;
}

.restaurant-premium .oo-cat-thumb img,
.restaurant-premium .menu-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-premium .oo-cat-meta,
.restaurant-premium .menu-category-desc {
  margin-top: 0 !important;
  gap: 2px !important;
  text-align: center;
  width: 100%;
}

.restaurant-premium .oo-cat-meta h6,
.restaurant-premium .ct-menu-category-item h6 {
  margin: 0;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--rp-ink) !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.restaurant-premium .oo-cat-chip.active h6,
.restaurant-premium .slick-current h6 {
  color: var(--rp-gold-deep) !important;
}

.restaurant-premium .oo-cat-meta p,
.restaurant-premium .ct-menu-category-item p {
  margin: 0;
  font-size: 11px !important;
  color: var(--rp-muted) !important;
}

/* Menu section / product grid */
.restaurant-premium .oo-menu-section {
  padding: 36px 0 80px !important;
  background: transparent !important;
}

.restaurant-premium .oo-menu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.restaurant-premium .oo-menu-head .title {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important;
}

.restaurant-premium .oo-menu-hint {
  margin: 0;
  color: var(--rp-muted);
  font-size: 0.95rem;
}

/* Product cards — auto height, no clipping */
.restaurant-premium .product,
.restaurant-premium .oo-card {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  background: #fff !important;
  border: 1px solid var(--rp-line) !important;
  border-radius: 22px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--rp-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.restaurant-premium .product:hover,
.restaurant-premium .oo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 141, 63, 0.4) !important;
  box-shadow: 0 22px 50px rgba(20, 17, 15, 0.1);
}

.restaurant-premium .product .product-thumb,
.restaurant-premium .oo-card-media {
  position: relative;
  display: block;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0ebe3;
}

.restaurant-premium .product .product-thumb img,
.restaurant-premium .oo-card-media img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.restaurant-premium .oo-card:hover .oo-card-media img {
  transform: scale(1.06);
}

.restaurant-premium .oo-card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(20, 17, 15, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.restaurant-premium .product .product-body,
.restaurant-premium .oo-card-body {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px;
  padding: 16px 16px 18px !important;
  background: #fff !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.restaurant-premium .oo-card-desc {
  min-width: 0;
  flex: 1;
}

.restaurant-premium .product .product-desc h4,
.restaurant-premium .oo-card-desc h4 {
  margin: 6px 0 8px !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
}

.restaurant-premium .product .product-desc h4 a {
  color: var(--rp-ink) !important;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.restaurant-premium .product .product-desc h4 a:hover {
  color: var(--rp-gold-deep) !important;
}

.restaurant-premium .product .product-price,
.restaurant-premium .oo-price {
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--rp-gold-deep) !important;
}

.restaurant-premium .oo-rating .fa-star {
  font-size: 11px;
  color: #e0b84e;
}

.restaurant-premium .oo-rating .far.fa-star {
  color: #d7d0c6;
}

.restaurant-premium .product-desc .rating-num {
  font-size: 11px !important;
  color: var(--rp-muted) !important;
}

.restaurant-premium .order-item,
.restaurant-premium .oo-add-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: var(--rp-cream-2) !important;
  border: 1px solid var(--rp-line);
  color: var(--rp-ink);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.restaurant-premium .order-item:hover,
.restaurant-premium .oo-add-btn:hover {
  background: var(--rp-gold) !important;
  border-color: var(--rp-gold);
  color: #fff;
  transform: scale(1.06);
}

.restaurant-premium .oo-add-btn i {
  font-size: 14px;
}

.restaurant-premium .oo-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px dashed var(--rp-line);
  border-radius: 24px;
}

.restaurant-premium .oo-empty i {
  font-size: 2rem;
  color: var(--rp-gold);
  margin-bottom: 12px;
}

/* Isotope items — prevent absolute collapse glitches */
.restaurant-premium .menu-container.oo-product-grid {
  min-height: 200px;
}

.restaurant-premium .menu-container .oo-item {
  float: none;
}

/* Food details / product-single */
.restaurant-premium .product-single {
  padding: 40px 0 80px !important;
}

.restaurant-premium .product-thumb img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px !important;
  box-shadow: var(--rp-shadow) !important;
}

/* Cart drawer polish */
.restaurant-premium .cart-sidebar {
  background: #fff !important;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.16) !important;
  z-index: 1100 !important;
}

.restaurant-premium .cart-sidebar-header {
  border-bottom: 1px solid var(--rp-line);
  padding: 18px 20px !important;
}

.restaurant-premium .cart-sidebar-header h3 {
  font-family: var(--rp-display) !important;
  margin: 0;
}

.restaurant-premium .cart-sidebar-body {
  padding: 16px 18px 24px !important;
}

.restaurant-premium .cart-sidebar .btn-custom {
  width: 100%;
  justify-content: center;
}

.restaurant-premium .cart-sidebar-overlay {
  z-index: 1090 !important;
}

/* Checkout / auth spacing */
.restaurant-premium .checkout-billing,
.restaurant-premium .auth-form,
.restaurant-premium .contact-page .card {
  border-radius: 20px;
  border: 1px solid var(--rp-line);
  box-shadow: var(--rp-shadow-sm);
  background: #fff;
}

/* Home banner should not sit under sticky header incorrectly */
.restaurant-premium .banner.restaurant-hero {
  margin-top: 0 !important;
}

/* When header is no longer absolute, hero height stays cinematic without top collision */
.restaurant-premium .banner + .section,
.restaurant-premium .restaurant-hero + .section {
  margin-top: 0;
}

/* Prevent double-preloader flash stacking */
.restaurant-premium .ct-preloader + .ct-preloader {
  display: none !important;
}

/* Ensure main aside never covers sticky header incorrectly */
.restaurant-premium .main-aside {
  z-index: 1200 !important;
}
.restaurant-premium .aside-overlay {
  z-index: 1190 !important;
}

/* Submenu dropdowns above content */
.restaurant-premium .navbar .submenu,
.restaurant-premium .header-controls-inner .submenu {
  z-index: 1200 !important;
  border-radius: 14px;
  border: 1px solid var(--rp-line);
  box-shadow: var(--rp-shadow);
  overflow: hidden;
}

/* Responsive online order */
@media (max-width: 991px) {
  .restaurant-premium .oo-cat-bar,
  .restaurant-premium .ct-menu-categories.menu-filter {
    top: 70px;
    position: relative; /* avoid sticky + mobile header collisions */
  }

  .restaurant-premium .oo-hero {
    min-height: 200px;
    padding: 36px 0 32px;
  }

  .restaurant-premium .oo-search-wrap {
    width: 100%;
    min-width: 0;
  }

  .restaurant-premium .oo-hero-inner {
    align-items: stretch;
  }

  .restaurant-premium .product .product-thumb img,
  .restaurant-premium .oo-card-media img {
    height: 100% !important;
  }
}

@media (max-width: 575px) {
  .restaurant-premium .oo-cat-chip,
  .restaurant-premium .ct-menu-category-item {
    width: 140px !important;
  }

  .restaurant-premium .oo-title {
    max-width: none;
  }

  .restaurant-premium .product .product-body,
  .restaurant-premium .oo-card-body {
    padding: 14px !important;
  }
}
