/*
 * Maverick ordering-page brand override
 * Target: themes/karenderia_v2 storefront / Vue menu page
 *
 * Recommended location:
 * themes/karenderia_v2/assets/css/maverick-brand.css
 *
 * Load after the normal Karenderia/theme CSS so these rules win.
 */

:root {
  /* Warm black + cream + mustard palette */
  --mav-black: #12110f;
  --mav-charcoal: #24211d;
  --mav-cream: #f3ecdf;
  --mav-paper: #fffaf1;
  --mav-white: #ffffff;
  --mav-gold: #f9a825;
  --mav-gold-dark: #d88b00;
  --mav-orange: #db642d;
  --mav-text: #171511;
  --mav-muted: #746d62;
  --mav-border: #d9cebd;
  --mav-soft-border: rgba(18, 17, 15, 0.12);
  --mav-shadow: 0 10px 28px rgba(18, 17, 15, 0.10);
  --mav-shadow-hover: 0 16px 36px rgba(18, 17, 15, 0.16);
  --mav-radius: 14px;
}

/* ==========================================================
   PAGE
   ========================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mav-cream) !important;
  color: var(--mav-text);
}

body,
button,
input,
select,
textarea,
.el-button,
.el-input__inner {
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: var(--mav-black);
}

a:hover,
a:focus {
  color: var(--mav-orange);
  text-decoration: none;
}

.section-menu {
  background:
    radial-gradient(circle at 10% 10%, rgba(249, 168, 37, 0.10), transparent 24rem),
    var(--mav-cream);
  padding-top: 28px;
  padding-bottom: 48px;
}

/* Main content width and spacing */
.section-menu > .container {
  max-width: 1320px;
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.section-menu h1,
.section-menu h2,
.section-menu h3,
.section-menu h4,
.section-menu h5,
.section-menu h6,
#vue-merchant-menu h1,
#vue-merchant-menu h2,
#vue-merchant-menu h3,
#vue-merchant-menu h4,
#vue-merchant-menu h5,
#vue-merchant-menu h6,
#vue-merchant-category h5 {
  color: var(--mav-black);
  font-weight: 800;
  letter-spacing: -0.025em;
}

#vue-merchant-menu section > h5,
#vue-merchant-menu .category-name,
#vue-merchant-menu .menu-category-title {
  margin: 34px 0 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#vue-merchant-menu section > h5::after,
#vue-merchant-menu .category-name::after,
#vue-merchant-menu .menu-category-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--mav-gold);
}

#vue-merchant-menu section > p {
  color: var(--mav-muted);
  max-width: 720px;
}

/* ==========================================================
   MERCHANT HEADER / TOP AREA
   Uses several selectors because Karenderia builds differ.
   ========================================================== */

.merchant-top-header,
.section-merchant-header,
.merchant-header,
.top-merchant-header,
#vue-merchant-details {
  color: var(--mav-paper);
}

.merchant-top-header,
.section-merchant-header,
.merchant-header,
.top-merchant-header {
  background: var(--mav-black) !important;
}

#vue-merchant-details > .container,
#vue-merchant-details .container {
  position: relative;
}

#vue-merchant-details h1,
#vue-merchant-details h2,
#vue-merchant-details h3,
#vue-merchant-details h4,
#vue-merchant-details h5,
#vue-merchant-details h6,
#vue-merchant-details p,
#vue-merchant-details a {
  color: inherit;
}

#vue-merchant-details .badge-yellow,
.badge-yellow {
  background: var(--mav-gold) !important;
  color: var(--mav-black) !important;
}

/* ==========================================================
   SEARCH
   ========================================================== */

#vue-merchant-menu .el-input__wrapper,
#vue-merchant-menu .el-textarea__inner,
#vue-merchant-menu input[type="text"],
#vue-merchant-menu input[type="search"] {
  background: var(--mav-paper) !important;
  border-color: var(--mav-border) !important;
  box-shadow: 0 0 0 1px var(--mav-border) inset !important;
  color: var(--mav-text) !important;
}

#vue-merchant-menu .el-input__wrapper {
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 18px;
}

#vue-merchant-menu .el-input__wrapper.is-focus,
#vue-merchant-menu .el-input__wrapper:focus-within {
  box-shadow: 0 0 0 2px var(--mav-gold) inset !important;
}

#vue-merchant-menu input::placeholder,
#vue-merchant-menu textarea::placeholder {
  color: #978e81 !important;
}

/* ==========================================================
   CATEGORY SIDEBAR
   ========================================================== */

#sticky-sidebar {
  top: 94px !important;
}

#vue-merchant-category .sticky-sidebar {
  background: var(--mav-black);
  border: 1px solid var(--mav-black);
  border-radius: var(--mav-radius);
  box-shadow: var(--mav-shadow);
  padding: 22px 14px;
}

#vue-merchant-category .sticky-sidebar h5 {
  color: var(--mav-paper);
  padding: 0 12px 12px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#menu-category {
  margin: 0;
}

#menu-category li + li {
  margin-top: 3px;
}

#menu-category .nav-link {
  display: block;
  color: rgba(255, 250, 241, 0.76);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

#menu-category .nav-link:hover,
#menu-category .nav-link:focus,
#menu-category .nav-link.active {
  background: var(--mav-gold);
  color: var(--mav-black);
  transform: translateX(3px);
}

/* Mobile category carousel/chips */
#vue-merchant-category .el-carousel,
#vue-merchant-category .category-carousel {
  color: var(--mav-text);
}

#vue-merchant-category .el-tag,
#vue-merchant-category .category-chip,
#vue-merchant-category .swiper-slide a {
  background: var(--mav-paper) !important;
  border: 1px solid var(--mav-border) !important;
  color: var(--mav-black) !important;
  border-radius: 999px !important;
  font-weight: 800;
}

#vue-merchant-category .el-tag:hover,
#vue-merchant-category .category-chip:hover,
#vue-merchant-category .swiper-slide a:hover {
  background: var(--mav-gold) !important;
  border-color: var(--mav-gold) !important;
}

/* ==========================================================
   MENU PRODUCT CARDS
   ========================================================== */

#vue-merchant-menu .list-item-rows {
  position: relative;
  background: var(--mav-paper);
  border: 1px solid var(--mav-soft-border);
  border-radius: var(--mav-radius);
  box-shadow: 0 5px 18px rgba(18, 17, 15, 0.07);
  margin-bottom: 14px;
  padding: 14px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

#vue-merchant-menu .list-item-rows::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--mav-gold);
  opacity: 0;
  transition: opacity 180ms ease;
}

#vue-merchant-menu .list-item-rows:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 168, 37, 0.58);
  box-shadow: var(--mav-shadow-hover);
}

#vue-merchant-menu .list-item-rows:hover::before {
  opacity: 1;
}

#vue-merchant-menu .list-item-rows h6 {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

#vue-merchant-menu .list-item-rows p {
  color: var(--mav-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

#vue-merchant-menu .list-item-rows .prices,
#vue-merchant-menu .list-item-rows .bold {
  color: var(--mav-black);
  font-weight: 900;
}

#vue-merchant-menu .list-item-rows del {
  color: #9b9183;
}

/* Existing Vue/Element images and forced fallback images */
#vue-merchant-menu .list-item-rows .el-image,
#vue-merchant-menu .list-item-rows .item-image-preview,
#vue-merchant-menu .list-item-rows .pn-forced-img {
  background: #e4dacb;
  border-radius: 12px !important;
  box-shadow: 0 5px 14px rgba(18, 17, 15, 0.12);
  overflow: hidden;
}

#vue-merchant-menu .list-item-rows .el-image img,
#vue-merchant-menu .list-item-rows .item-image-preview img,
#vue-merchant-menu .list-item-rows .pn-forced-img {
  object-fit: cover;
}

/* Promo and information tags */
#vue-merchant-menu .el-tag {
  --el-tag-bg-color: rgba(249, 168, 37, 0.13);
  --el-tag-border-color: rgba(216, 139, 0, 0.45);
  --el-tag-text-color: var(--mav-black);
  border-radius: 999px;
  font-weight: 800;
}

#vue-merchant-menu .el-tag--success {
  --el-tag-bg-color: rgba(249, 168, 37, 0.18);
  --el-tag-border-color: var(--mav-gold);
  --el-tag-text-color: var(--mav-black);
}

#vue-merchant-menu .zmdi-info-outline {
  color: var(--mav-orange);
}

/* Dish icons */
#vue-merchant-menu .el-avatar {
  background-color: var(--mav-gold) !important;
  border: 2px solid var(--mav-paper);
  box-shadow: 0 2px 8px rgba(18, 17, 15, 0.13);
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn-black,
#vue-merchant-menu .btn-black,
#vue-merchant-menu .btn-grey,
#vue-merchant-menu .quantity-add-cart,
#vue-merchant-menu .el-button:not(.is-link):not(.el-button--text),
.menu-right .btn-black,
.floating-cart .btn-black {
  background: var(--mav-black) !important;
  border-color: var(--mav-black) !important;
  color: var(--mav-paper) !important;
  border-radius: 999px !important;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.btn-black:hover,
.btn-black:focus,
#vue-merchant-menu .btn-grey:hover,
#vue-merchant-menu .quantity-add-cart:hover,
#vue-merchant-menu .el-button:not(.is-link):not(.el-button--text):hover,
.menu-right .btn-black:hover,
.floating-cart .btn-black:hover {
  background: var(--mav-gold) !important;
  border-color: var(--mav-gold) !important;
  color: var(--mav-black) !important;
  transform: translateY(-1px);
}

#vue-merchant-menu .el-button.is-disabled,
#vue-merchant-menu .el-button.is-disabled:hover,
#vue-merchant-menu .btn:disabled {
  background: #c9c0b3 !important;
  border-color: #c9c0b3 !important;
  color: #70695f !important;
  transform: none;
}

/* Small +/- quantity control */
#vue-merchant-menu .quantity {
  min-width: 116px;
  align-items: center;
  background: var(--mav-black);
  color: var(--mav-paper);
  border-radius: 999px;
  padding: 5px;
}

#vue-merchant-menu .qty-btn {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--mav-gold);
  color: var(--mav-black) !important;
}

#vue-merchant-menu .qty {
  min-width: 30px;
  text-align: center;
  font-weight: 900;
}

/* Size selector buttons */
#vue-merchant-menu .btn-group-toggle {
  flex-wrap: wrap;
  gap: 7px;
}

#vue-merchant-menu .btn-group-toggle .btn {
  margin: 0;
  background: var(--mav-paper);
  border: 1px solid var(--mav-border);
  color: var(--mav-black);
  border-radius: 999px !important;
  font-weight: 800;
}

#vue-merchant-menu .btn-group-toggle .btn:hover,
#vue-merchant-menu .btn-group-toggle .btn.active {
  background: var(--mav-gold);
  border-color: var(--mav-gold);
  color: var(--mav-black);
}

/* ==========================================================
   CART
   ========================================================== */

.menu-right > div,
.menu-right .cart,
.menu-right .cart-container,
.menu-right .cart-summary,
.menu-right .order-summary {
  border-radius: var(--mav-radius);
}

.menu-right .cart,
.menu-right .cart-container,
.menu-right .cart-summary,
.menu-right .order-summary {
  background: var(--mav-paper) !important;
  border: 1px solid var(--mav-soft-border);
  box-shadow: var(--mav-shadow);
}

.menu-right h4,
.menu-right h5,
.menu-right h6 {
  color: var(--mav-black);
  font-weight: 900;
}

.menu-right .total,
.menu-right .grand-total,
.menu-right .cart-total {
  color: var(--mav-black);
  font-weight: 900;
}

.floating-cart {
  width: min(94vw, 520px);
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(18, 17, 15, 0.24));
}

.floating-cart .btn {
  min-height: 64px;
  background: var(--mav-black) !important;
  border: 2px solid var(--mav-gold) !important;
  color: var(--mav-paper) !important;
}

.floating-cart count {
  position: absolute;
  top: 50%;
  right: 18px;
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  background: var(--mav-gold);
  color: var(--mav-black);
  border-radius: 999px;
  font-weight: 900;
}

/* ==========================================================
   ELEMENT UI / ELEMENT PLUS DIALOGS AND DRAWERS
   ========================================================== */

.el-dialog,
.el-drawer,
.el-message-box {
  background: var(--mav-paper) !important;
  border-radius: var(--mav-radius) !important;
}

.el-dialog__title,
.el-drawer__header,
.el-message-box__title {
  color: var(--mav-black) !important;
  font-weight: 900 !important;
}

.el-overlay {
  background: rgba(18, 17, 15, 0.66) !important;
}

.el-radio__input.is-checked .el-radio__inner,
.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: var(--mav-gold) !important;
  border-color: var(--mav-gold-dark) !important;
}

.el-radio__input.is-checked + .el-radio__label,
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: var(--mav-black) !important;
}

/* ==========================================================
   REVIEWS / DETAILS
   ========================================================== */

#section-about,
#section-gallery,
#section-address,
#section-review,
#section-booking {
  background: var(--mav-paper);
  border: 1px solid var(--mav-soft-border);
  border-radius: var(--mav-radius);
  box-shadow: 0 5px 18px rgba(18, 17, 15, 0.06);
  padding: 22px !important;
}

#section-about h5,
#section-gallery h5,
#section-address h5,
#section-review h5,
#section-booking h5 {
  color: var(--mav-black);
  font-weight: 900;
}

/* ==========================================================
   SKELETONS
   ========================================================== */

.el-skeleton__item {
  background:
    linear-gradient(
      90deg,
      #e8dfd1 25%,
      #f7f0e5 37%,
      #e8dfd1 63%
    ) !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 991.98px) {
  .section-menu {
    padding-top: 18px;
  }

  #vue-merchant-menu .list-item-rows {
    padding: 12px;
  }

  #vue-merchant-menu section > h5 {
    margin-top: 26px;
  }

  #section-about,
  #section-gallery,
  #section-address,
  #section-review,
  #section-booking {
    margin-inline: 8px;
  }
}

@media (max-width: 767.98px) {
  body {
    background: var(--mav-cream) !important;
  }

  #vue-merchant-menu .list-item-rows {
    border-radius: 12px;
  }

  #vue-merchant-menu .list-item-rows .fixed-height {
    align-items: flex-start !important;
  }

  #vue-merchant-menu .list-item-rows .el-image,
  #vue-merchant-menu .list-item-rows .pn-forced-img {
    width: 82px !important;
    height: 82px !important;
  }

  #vue-merchant-menu .list-item-rows h6 {
    font-size: 0.98rem;
  }

  #vue-merchant-menu .list-item-rows p {
    font-size: 0.88rem;
  }

  #vue-merchant-menu .quantity-wrapper,
  #vue-merchant-menu .quantity-add-cart,
  #vue-merchant-menu .el-button {
    margin-top: 10px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.section-join-us {
    display:none !important;
}