/*
 Theme Name:   Ollie Child
 Theme URI:    https://benedettamtl.com/
 Description:  A child theme for the Ollie theme
 Author:       Tiffany Trivisonno
 Template:     ollie
 Version:      1.0
*/

@font-face {
    font-family: 'Antro Vectra';
    src: url('fonts/AntroVectra.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    overflow-x: clip;
}

/* Hide blocks by device*/

/* Hide on Mobile */
@media screen and (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* Hide on Tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hide-on-tablet {
    display: none !important;
  }
}

/* Hide on Desktop */
@media screen and (min-width: 1025px) {
  .hide-on-desktop {
    display: none !important;
  }
}

/* Mobile line break */
.line-break-mobile, .line-break-tablet {
  display: inline;
}

@media screen and (max-width: 767px) {
  .line-break-mobile {
    display: block;
    text-align: center;
    margin-top: -1.3rem;
  }
  .line-break-mobile-normal {
    display: block;
    text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .line-break-tablet {
    display: block;
    text-align: center;
    margin-top: -1.3rem;
  }
}


/* Mobile only remove padding */
@media screen and (max-width: 767px) {
.no-padding-mobile {
  padding: 0 !important;
}
}

/* Tablet only remove padding */
@media screen and (min-width: 768px) and (max-width: 1024px) {
.no-padding-tablet {
  padding: 0 !important;
}
}

/* Remove all padding */
.no-padding {
  padding: 0 !important;
}


/* Disable stacking on tablet */
@media screen and (min-width: 768px) {
  .no-stack-on-tablet {
    flex-direction: row !important;
    flex-wrap: nowrap;
  }
}

/* Enable stacking on tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .stack-on-tablet {
    flex-direction: column !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
  }
  .stack-on-tablet-padding {
    flex-direction: column !important;
  }

}

@media screen and (max-width: 767px) {
  .no-stack-on-mobile {
    flex-direction: row !important;
    flex-wrap: nowrap;
  }
}

@media (max-width: 768px) {
  .grid-stack-on-mobile {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

/* Header */

/* Smart Header*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: transform 0.3s ease;
}

.site-header.hide {
  transform: translateY(-100%);
}

/* Logo Animation*/
.site-logo {
  filter: brightness(0) saturate(100%) invert(100%); /* white base */
  transition: filter 0.5s ease;
}
.site-logo:hover {
  filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(2553%) hue-rotate(1deg) brightness(103%) contrast(108%);
}

/* Menu icon styling */
.wp-block-navigation__responsive-container-open {
  border-radius: 0;
  background: none;
  color: var(--wp--preset--color--primary);
  border: 1.5px solid var(--wp--preset--color--primary);
  transition: filter 0.5s ease;
}
.wp-block-navigation__responsive-container-open:hover {
  filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(2553%) hue-rotate(1deg) brightness(103%) contrast(108%);
}

.wp-block-navigation__responsive-container-close {
  border-radius: 0;
  background: none;
  border: 1.5px solid var(--wp--preset--color--main)
}

.wp-block-navigation__responsive-container.is-menu-open {
    max-width: 400px;
    min-width: 300px;
}

.wp-block-navigation__responsive-container {
  left: auto !important;
}

/* Header Logo Responsive*/
@media screen and (max-width: 767px) {
  .responsive-logo img {
    width: 0.5em;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator-benedetta::after {
  content: '↓';
  font-size: 2rem;
  color: inherit;
  opacity: 0.7;
}

/* Mobile only carousel swiper on columns */
@media screen and (max-width: 767px) {
  .carousel-swiper-wrapper {
    padding-right: 0;
    padding-left: 0;
  }
  
  .carousel-swiper-wrapper .swiper-slide {
    opacity: 0.8;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }

  .carousel-swiper-wrapper .swiper-slide-active {
    opacity: 1;
    transform: scale(2);
  }

  .carousel-swiper-wrapper .swiper-slide h3 {
    text-align: center;
    font-size: 1.5em;
  }

  .carousel-swiper-wrapper .swiper-slide p {
    text-align: center;
  }

  .carousel-swiper-wrapper .swiper-pagination {
    text-align: center;
    margin-top: 10rem;
  }

  .carousel-swiper-wrapper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
  }

  .carousel-swiper-wrapper .swiper-pagination-bullet-active {
    background: var(--wp--preset--color--main, #000);
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px){
  .carousel-swiper-wrapper .swiper-slide {
    opacity: 0.9;
    transform: scale(0.95);
    transition: all 0.3s ease;
  }
  .carousel-swiper-wrapper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
  }

  .carousel-swiper-wrapper .swiper-pagination {
    text-align: center;
    margin-top: 2rem;
  }

  .carousel-swiper-wrapper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
  }
  .carousel-swiper-wrapper .swiper-pagination-bullet-active {
    background: var(--wp--preset--color--main, #000);
  }
  .carousel-swiper-wrapper .swiper-slide{
    opacity: .7;
    transform: scale(.95);
    transition: transform .25s ease, opacity .25s ease;
  }
  .carousel-swiper-wrapper .swiper-slide-active,
  .carousel-swiper-wrapper .swiper-slide-next{
    opacity: 1;
    transform: scale(1);
  }

}

/* Clickable column*/
.clickable-column {
  position: relative;
  cursor: pointer;
}
.clickable-column .full-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: hidden;
  text-indent: -9999px;
  overflow: hidden;
}
.clickable-column > * {
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
.clickable-column:hover {
  color: var(--wp--preset--color--main);
  transform: scale(1.1);
  transition: color 0.5s ease, transform 0.5s ease;
}

.clickable-column:hover h3 {
  color: var(--wp--preset--color--main);
  transform: scale(1.1);
  transition: color 0.5s ease, transform 0.5s ease;
}
}

/* Columns have equal height */
.wp-block-columns.equal-height-columns {
  align-items: stretch !important;
}

.wp-block-columns.equal-height-columns > .wp-block-column {
  align-self: stretch !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.wp-block-columns.equal-height-columns
  > .wp-block-column.is-vertically-aligned-center,
.wp-block-columns.equal-height-columns
  > .wp-block-column.is-vertically-aligned-top,
.wp-block-columns.equal-height-columns
  > .wp-block-column.is-vertically-aligned-bottom {
  align-self: stretch !important;
}

.wp-block-columns.equal-height-columns
  > .wp-block-column
  > .wp-block-columns {
  align-items: center;
}

/* Base: allow heading to overlap left */
.overlap-heading {
  position: relative;
  left: -15rem;
  z-index: 2;
  white-space: nowrap;
}
@media (max-width: 767px) {
.overlap-heading {
  position: relative;
  top: -3rem;
  left: 0;
  z-index: 2;
  white-space: wrap;
}
}

/* Base: allow heading to overlap bottom */
.overlap-heading-bottom {
  position: relative;
  bottom: -2rem;
  z-index: 10;
  white-space: nowrap;
}
@media (max-width: 767px) {
.overlap-heading-bottom {
  position: relative;
  bottom: -3rem;
  left: 0;
  z-index: 2;
  white-space: wrap;
}
}

.overlap-50 {
  z-index: 2;
  position: relative;
  top: -5vh;
}


/* Base styles: default stacking on mobile */
@media (max-width: 767px) {
  .hero-columns {
    position: relative;
    flex-direction: column;
  }

  .text-column {
    position: absolute;
    top: 3rem;
    padding-left: 2rem !important;
    padding-bottom: 3rem !important;
    z-index: 5;
  }

  .image-column {
    z-index: 1;
  }
}

/* change buttons to tabs */

.tab-button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.tab-button {
  background: none;
  border: none;
  cursor: pointer;
}

.tab-button .wp-block-button__link.active {
  color: var(--wp--preset--color--primary-alt) !important;
  background: var(--wp--preset--color--primary-alt-accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Button animation */
.button-trim {
  display: inline-block;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.button-trim:before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  border: 4px solid white;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.button-trim:hover:before {
  opacity: 1;
}

.button-trim:active {
  transform: scale(0.96);
  transition: transform 0.1s ease-out;
  text-decoration: none;
}

/* Menu item animation */

.menu-item-hover {
  position: relative;
  display: inline-block;
  padding: 1em;
  overflow: hidden;
  transition: font-size 0.3s ease;
}

.menu-item-hover::before,
.menu-item-hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: var(--wp--preset--color--primary);
  transition: transform 0.5s ease;
}

.menu-item-hover::before {
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
}

.menu-item-hover::after {
  top: 0;
  left: 0;
  transform: translateX(100%);
}

.menu-item-hover:hover,
.menu-item-hover:focus,
.menu-item-hover:active {
  font-size: 1.3em;
  color: var(--wp--preset--color--main);
}

.wp-block-navigation .wp-block-navigation-item__content {
  text-decoration: none !important;
  box-shadow: none !important;
}

.menu-item-hover:hover::before,
.menu-item-hover:hover::after {
  transform: translateX(0);
}

.current-menu-item.menu-item-hover {
  color: var(--wp--preset--color--primary);
}

.current-menu-item.menu-item-hover::before,
.current-menu-item.menu-item-hover::after {
  transform: translateX(0);
}

/* Black & white Google Maps iframe */
.bw-map iframe {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%); /* Safari */
}

/* Optional: bring color back on hover */
.bw-map:hover iframe {
  filter: none;
  -webkit-filter: none;
}
  .sib-form {
    background-attachment: fixed;
    font-size: inherit !important;
    font-family: inherit !important;
    padding: 32px 12px 32px;
    margin: 0;
  }
  #sib-container {
    background: none !important;
    margin: 0 auto;
    padding: 0 !important;
    display: inline-block;
    width: 100%;
  }
  .sib-form .entry__field {
    -webkit-align-items: center;
    align-items: center;
    background: none;
    border: none;
    border-radius: 0px !important;
    border-bottom: 2px solid var(--wp--preset--color--primary);
    display: -webkit-inline-flex;
    display: inline-flex;
    margin: .25rem 0;
    max-width: 100%;
}
  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: inherit;
  }

  #sib-container input::placeholder {
    text-align: left;
    font-family: inherit;
  }

  #sib-container textarea::placeholder {
    text-align: left;
    font-family: inherit;
  }

  #sib-container a {
    text-decoration: underline;
    color: #2BB2FC;
  }

.inline-group-expand.hidden {
  display: none;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: none;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
}

.is-style-list-check li::before {
  color: var(--wp--preset--color--main);
  font-weight: bold;
  top: inherit !important;
}

/* OpenTable Reservation Widget */

body:has([id^="ot-widget-container"]) p:not([id^="ot-widget-container"] p) {
  font-family: var(--wp--preset--font-family--helvetica-neue);
}

/* Base picker styles */
#ot-reservation-widget .ot-dtp-picker {
  border-radius: 0px;
  font-size: var(--wp--preset--font-size--small);
  font-family: var(--wp--preset--font-family--helvetica-neue);
  background-color: inherit;
}

#ot-reservation-widget .ot-dtp-picker a {
  text-decoration: none;
}

#ot-reservation-widget .ot-dtp-picker h1 {
  display: none;
}

#ot-reservation-widget .ot-dtp-picker.wide {
  width: min(1200px, 100%);
}

@media (max-width: 800px) {
  #ot-reservation-widget .ot-dtp-picker.wide {
    width: min(300px, 100%);
    margin-inline: auto;
  }
}

/* Form styles */
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form {
  border-radius: 0;
  height: auto;
  display: flex;
  gap: 10px;
  text-align: center;
  border: none;
  background-color: inherit;
}

@media (max-width: 800px) {
  #ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form {
    flex-direction: column;
  }
}

/* Selector styles */
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector {
  width: auto;
  float: none;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
}

@media (max-width: 800px) {
  #ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector {
    flex-basis: 3em;
    border-bottom: 2px solid var(--wp--preset--color--main);
  }
}

#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector-link {
  padding: 0px;
  flex: 1;
  color: inherit;
}

#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector-link .icon svg,
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector-link .icon svg path {
  fill: currentColor !important;
}

#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector:hover .ot-dtp-picker-selector-link,
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector-link:hover {
  color: var(--wp--preset--color--main) !important;
  outline: none !important;
}

#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector:hover .ot-dtp-picker-selector-link .icon svg,
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector:hover .ot-dtp-picker-selector-link .icon svg path {
  fill: var(--wp--preset--color--main) !important;
}

/* Remove focus outlines */
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .ot-dtp-picker-selector-link:focus,
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form select:focus {
  outline: none !important;
  box-shadow: none !important;
}
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form select {
  left: 0;
  color: var(--wp--preset--color--primary-accent);
}

#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-form .picker__box {
  color: var(--wp--preset--color--primary-accent);
}

/* Button styles */
#ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-button {
  flex: 1;
  width: auto;
  min-width: 0;
}

@media (max-width: 800px) {
  #ot-reservation-widget .ot-dtp-picker .ot-dtp-picker-button {
    flex-basis: 3em;
    width: 100%;
  }
}

/* Picker specific styles */
#ot-reservation-widget .ot-party-size-picker,
#ot-reservation-widget .ot-date-picker,
#ot-reservation-widget .ot-time-picker {
  border-left: none;
  border-bottom: 2px solid var(--wp--preset--color--main);
}

#ot-reservation-widget .ot-party-size-picker .ot-dtp-picker-selector-link:before,
#ot-reservation-widget .ot-date-picker .ot-dtp-picker-selector-link:before,
#ot-reservation-widget .ot-time-picker .ot-dtp-picker-selector-link:before {
  font-size: inherit;
  top: auto;
  color: inherit;
}

#ot-reservation-widget .ot-party-size-picker .ot-dtp-picker-selector-link:after,
#ot-reservation-widget .ot-date-picker .ot-dtp-picker-selector-link:after,
#ot-reservation-widget .ot-time-picker .ot-dtp-picker-selector-link:after {
  font-size: 0.7rem;
}

/* Button styles */
#ot-reservation-widget .ot-button,
#ot-reservation-widget .ot-button.ot-button-widget {
  border-radius: 0;
  border: none;
}

#ot-reservation-widget .ot-button:hover,
#ot-reservation-widget .ot-button:focus,
#ot-reservation-widget .ot-button.ot-button-widget:hover,
#ot-reservation-widget .ot-button.ot-button-widget:focus {
  color: var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--main);
}

#ot-reservation-widget input[type="submit"] {
  font-family: var(--wp--preset--font-family--helvetica-neue) !important;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Button widget type */
#ot-reservation-widget.parent-widget-type-button {
  font-family: var(--wp--preset--font-family--helvetica-neue);
  padding: 0;
  width: 100% !important;
}

#ot-reservation-widget.parent-widget-type-button .ot-button,
#ot-reservation-widget.parent-widget-type-button .ot-button-widget {
  border-radius: 0 !important;
  border: none !important;
  font-family: var(--wp--preset--font-family--helvetica-neue) !important;
  font-weight: 500 !important;
  letter-spacing: 0.1rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding-top: var(--wp--preset--spacing--small) !important;
  padding-bottom: var(--wp--preset--spacing--small) !important;
  padding-left: var(--wp--preset--spacing--large) !important;
  padding-right: var(--wp--preset--spacing--large) !important;
}

#ot-reservation-widget.parent-widget-type-button .ot-button:hover,
#ot-reservation-widget.parent-widget-type-button .ot-button:focus,
#ot-reservation-widget.parent-widget-type-button .ot-button-widget:hover,
#ot-reservation-widget.parent-widget-type-button .ot-button-widget:focus {
  background-color: var(--wp--preset--color--main) !important;
  color: var(--wp--preset--color--primary) !important;
}