/* Your custom DaMò changes go here. This file loads after style.css. */

/* Keep the template's circular loader while replacing only its central artwork. */
.preloader .preloader-logo {
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

.preloader .preloader-logo .damo-preloader-logo,
.preloader .preloader-logo img[src="/assets/images/damo/logo.png"] {
  display: block;
  width: 78px !important;
  height: 78px !important;
  max-width: 78px;
  object-fit: contain;
}

/* Official DaMò logo: natural PNG aspect ratio is preserved on all breakpoints. */
.menu-logo-wrap .damo-site-logo,
.hamburger_logo .damo-site-logo {
  display: block;
  width: clamp(4.75rem, 7vw, 6rem);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .menu-logo-wrap .damo-site-logo,
  .hamburger_logo .damo-site-logo {
    width: 4.75rem;
  }
}

/* Final navigation, contact and footer details. */
.hamburger_logo .damo-hamburger-logo {
  width: min(180px, 52vw);
  height: auto;
  object-fit: contain;
}

.damo-form-privacy {
  max-width: 620px;
  margin: 14px 0 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.78;
}

.damo-form-privacy a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.damo-address-line {
  white-space: nowrap;
}

/* Preserve both About highlight icons after responsive/lazy-image styles run. */
.about-three__content .highlight-items .highlight-item .highlight-icon {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.about-three__content .highlight-items .highlight-item .highlight-icon img {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: contain;
}

.mainmenu > ul .damo-header-order-item {
  display: flex;
  align-items: center;
}

.mainmenu > ul .damo-home-nav-item {
  display: none !important;
}

.mainmenu > ul {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
}

.mainmenu > ul .damo-header-order {
  min-width: auto;
  padding: 11px 18px;
  white-space: nowrap;
  color: #8b1e1e !important;
}

.mainmenu > ul .damo-header-order::before,
.mainmenu > ul .damo-header-order::after {
  pointer-events: none;
}

.mean-nav .damo-header-order-item {
  display: none !important;
}

.footer-three__main .main-wrapper {
  justify-content: space-between;
}

@media (max-width: 575.98px) {
  .damo-address-line {
    white-space: normal;
  }
}

/* WHY DAMÒ: preserve the original six-card layout while balancing longer copy. */
.choose-us-three {
  background-color: #8b1e1e;
  background-image: url('/assets/images/damo/background-pasta-pattern-red.svg') !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.choose-us-three .shape-1 img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.choose-us-three .choose-us-three__thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.choose-us-three .choose-us-three__thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 58%;
}

.choose-us-three .choose-us-three__item {
  min-height: 174px;
}

.choose-us-three .choose-us-three__item .item-icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 1199.98px) {
  .choose-us-three .choose-us-three__item {
    min-height: 196px;
  }
}

@media (max-width: 991.98px) {
  .choose-us-three .choose-us-three__item {
    min-height: 190px;
  }
}

@media (max-width: 767.98px) {
  .choose-us-three {
    background-position: 42% center;
  }

  .choose-us-three .shape-1 {
    display: block !important;
    top: 22px;
    left: 16px;
  }

  .choose-us-three .shape-1 img {
    width: 88px;
    height: 88px;
  }

  .choose-us-three .choose-us-three__item {
    min-height: 0;
  }

  .choose-us-three .choose-us-three__thumb {
    aspect-ratio: 4 / 5;
  }

  .choose-us-three .choose-us-three__thumb img {
    object-position: 50% 60%;
  }
}

/* Popular Dishes: keep the template cards while presenting official menu copy. */
.popular-dishes-three .popular-dishes-three__item .item-thumb {
  overflow: hidden;
}

/* Homepage Gallery is intentionally retained in the source for future restoration. */
.gallery-three,
.video-three {
  display: none !important;
}

/* Testimonials: real public reviews, without personal profile photos. */
.testimonial-three .author-info {
  min-height: 48px;
}

.testimonial-three .author-content {
  margin-left: 0;
}

.testimonial-three .author-designation {
  display: block;
}

.testimonial-three .item-text {
  overflow-wrap: anywhere;
}

/* Homepage blocks intentionally retained in source for possible future restoration. */
.team-three,
.cta-three,
.brands-three,
.instagram-three {
  display: none !important;
}

/* Location and contact request section. */
.reservation-three .reservation-three__thumb {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reservation-three .damo-map-wrap {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #ece7df;
}

.reservation-three .damo-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.reservation-three .thumb-info.damo-location-info {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  border-radius: 0 0 20px 20px;
}

.reservation-three .damo-location-info .info-block {
  min-width: 0;
}

.reservation-three .damo-location-info a {
  color: inherit;
  text-decoration: none;
}

.reservation-three .damo-location-info a:hover,
.reservation-three .damo-location-info a:focus-visible {
  text-decoration: underline;
}

.reservation-three .damo-directions-link {
  display: inline-flex;
  margin-top: 8px;
  font-family: var(--ff-boldonse);
  font-size: 12px;
  text-transform: uppercase;
}

.reservation-three .damo-contact-intro {
  margin: 22px 0 0;
  max-width: 620px;
}

.reservation-three .damo-contact-form textarea {
  min-height: 150px;
  height: 150px !important;
  resize: vertical;
}

.reservation-three .damo-contact-form .damo-field:has(textarea) .input-wrap {
  height: 150px;
}

.reservation-three .damo-contact-form input,
.reservation-three .damo-contact-form select,
.reservation-three .damo-contact-form textarea {
  width: 100%;
}

.reservation-three .damo-contact-form .input-wrap {
  height: auto;
}

.reservation-three .damo-contact-form .input-wrap textarea {
  padding: 18px 20px;
}

.reservation-three .damo-field-error {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  color: #8b1e1e;
  font-size: 13px;
}

.reservation-three .damo-field.is-invalid input,
.reservation-three .damo-field.is-invalid select,
.reservation-three .damo-field.is-invalid textarea {
  border-color: #8b1e1e;
  box-shadow: 0 0 0 2px rgba(139, 30, 30, 0.12);
}

.reservation-three .damo-form-status {
  display: none;
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid currentColor;
  font-weight: 600;
}

.reservation-three .damo-form-status.is-visible {
  display: block;
}

.reservation-three .damo-form-status.is-success {
  color: #2f6b3a;
}

.reservation-three .damo-form-status.is-error {
  color: #8b1e1e;
}

.damo-honeypot,
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.damo-turnstile-slot {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 20px;
}

@media (max-width: 767.98px) {
  .reservation-three .damo-map-wrap,
  .reservation-three .damo-map-wrap iframe {
    min-height: 380px;
  }

  .reservation-three .thumb-info.damo-location-info {
    grid-template-columns: 1fr;
  }

  .reservation-three .damo-contact-form input,
  .reservation-three .damo-contact-form select,
  .reservation-three .damo-contact-form textarea,
  .reservation-three .damo-contact-form button {
    min-height: 48px;
    font-size: 16px;
  }
}

.popular-dishes-three .popular-dishes-three__item .item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.popular-dishes-three .popular-dishes-three__item .item-content {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.popular-dishes-three .popular-dishes-three__item .item-description {
  max-width: 34rem;
  margin: 0;
  color: var(--color-gray);
  font-family: var(--ff-dm-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

/* DaMò homepage hero: preserve the template slider and animations with the local hero image. */
.hero-three__bg-slider .slide-bg {
  background-image: url('/assets/images/damo/hero.jpg') !important;
  background-position: center;
  background-size: cover;
}

.hero-three__content .content-info .hero-title {
  margin-bottom: 20px;
}

.hero-three__content .hero-title,
.hero-three__content .hero-title span {
  color: var(--color-white);
}

.hero-three__content .hero-title .damo-title-accent {
  color: #d23541 !important;
}

.damo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.hero-three .damo-hero-order {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* The existing overlay header remains fixed and gains contrast only after scrolling. */
.restaurant-page > header,
body > header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.restaurant-page > header .menu-area,
body > header .menu-area {
  transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.restaurant-page > header.damo-header-scrolled .menu-area,
body > header.damo-header-scrolled .menu-area {
  background-color: rgba(17, 17, 17, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Homepage about section: two-photo editorial composition. */
.about-three .damo-about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.6vw, 24px);
  width: 100%;
}

.about-three .damo-about-gallery__item {
  margin: 0;
  overflow: hidden;
  background: #ece7df;
  aspect-ratio: 3 / 4;
  border-radius: 0;
}

.about-three .damo-about-gallery__item--secondary {
  margin-top: clamp(44px, 6vw, 82px);
}

.about-three .damo-about-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-three .damo-mission-word {
  color: inherit;
  transition: color 80ms linear;
}

.about-three .ratings {
  align-items: center;
}

.about-three .rating-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-three .rating-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.about-three .damo-rating-score {
  color: var(--primary-color);
  font-family: var(--ff-boldonse);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .about-three .damo-about-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-three .damo-about-gallery__item,
  .about-three .damo-about-gallery__item--secondary {
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }
}

/* Homepage menu: original menu styling with accessible category tabs and real dish photography. */
.menu-three .item-price {
  display: none !important;
}

.menu-three .damo-menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 70px);
}

.menu-three .damo-menu-tab {
  border: 1px solid rgba(var(--primary-color-rgb), 0.22);
  background: transparent;
  color: var(--primary-color);
  font-family: var(--ff-boldonse);
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  padding: 14px 20px;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.menu-three .damo-menu-tab:hover,
.menu-three .damo-menu-tab:focus-visible,
.menu-three .damo-menu-tab.active {
  border-color: #8b1e1e;
  background: #8b1e1e;
  color: var(--color-white);
}

.menu-three .damo-menu-panel .menu-three__wrapper {
  align-items: flex-start;
}

.menu-three .damo-menu-panel .menu-three__thumb {
  position: sticky;
  top: 150px;
}

.menu-three .damo-menu-panel .menu-three__thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.menu-three .damo-menu-panel .menu-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.menu-three .damo-menu-panel .menu-three__item .item-icon {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border-radius: 50%;
}

.menu-three .damo-menu-panel .menu-three__item .item-icon img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
}

.menu-three .damo-menu-panel .item-title {
  max-width: none;
}

.menu-three .damo-menu-panel .item-header .item-line {
  margin-left: 14px;
}

.menu-three .damo-menu-source-category {
  display: block;
  color: #8b1e1e;
  font-family: var(--ff-dm-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 3px 0 6px;
  text-transform: uppercase;
}

.menu-three .damo-menu-intro {
  margin: 0 0 28px;
}

.menu-three .damo-menu-item--no-photo {
  padding-left: 0;
}

@media (max-width: 991.98px) {
  .menu-three .damo-menu-panel .menu-three__thumb {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .menu-three .damo-menu-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-three .damo-menu-tab {
    min-height: 54px;
    padding: 10px 8px;
    font-size: 11px;
  }

  .menu-three .damo-menu-panel .menu-three__item .item-icon {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }
}
