@import "./common.css";
@import "./partials/button.css";
@import "./partials/dialog.css";
@import "./partials/header.css";
@import "./partials/footer.css";
@import "./partials/pizza-carousel.css";
@import "./partials/information-component.css";
@import "./partials/menu-item.css";
@import "./partials/house-favourite.css";
@import "./partials/hours-dialog.css";
@import "./partials/menu-search-dialog.css";
@import "./partials/fulfillment-dialog.css";
@import "./partials/change-location-dialog.css";
@import "./partials/navigation-dialog.css";
@import "./partials/cart-dialog.css";
@import "./partials/item-configurator.css";
@import "./partials/masthead.css";
@import "./partials/menu-chips.css";
@import "./partials/icon-button.css";
@import "./partials/connect-with-us.css";
@import "./partials/testimonials-carousel.css";

.menu {
  padding: 0;
}

.menu__header {
  color: #232323;
  text-align: center;
  font-family: Antonio;
  font-size: 55px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.menu-layout {
  --sidebar-w: 417px;
  display: block;
}
.menu-layout--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
}

/* Main */
.menu-layout__main {
  min-width: 0;
}

.menu__container {
  padding: 0 60px;
}

.deals-host {
  padding: 60px 60px 0 60px;
}

/* Deals */
.deals-strip {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.deals-strip__header {
  display: flex;
  align-items: center;
  gap: 40px;
}
.deals-strip__eyebrow {
  color: #f64d3e;
  font-family: "Antonio";
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  text-transform: uppercase;
}
.deals-strip__title {
  color: #232323;
  font-family: "Antonio";
  font-size: 55px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.deals-strip__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.deal {
  display: grid;
  grid-template-columns: 105px 1fr max-content;
  align-items: center;
  border-bottom: 1px dashed #e4e4e4;
  padding: 10px 20px 30px 20px;
  background: #fff;
}
.deal__body {
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deal__name {
  color: #232323;
  font-family: "Antonio";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}
.deal__sub {
  color: #7e7e7e;
  font-family: "Inter Tight";
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}
.deal__action-price {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deal__price {
  color: #232323;
  text-align: right;
  font-family: "Inter Tight";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 18px */
  text-transform: uppercase;
}

.deal__apply {
  width: 40px;
  height: 40px;
  border-radius: 80px;
  border: none;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.deal__apply:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

/* Menu grid */
.menu-title {
  margin: 24px 0 12px;
  font: 800 22px/1.2 "Inter Tight";
  letter-spacing: 0.02em;
}
.menu-section {
  margin: 24px 0 36px;
}
.menu-section__title {
  display: flex;
  height: 60px;
  padding: 10px 0;
  margin: 60px 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  background: #232323;

  color: #fff;
  text-align: center;
  font-family: "Antonio";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.menu-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  transition: grid-template-columns 0.2s ease;
}

@media (min-width: 767px) {
  .menu-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .menu-layout--with-sidebar .menu-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 1024px) {
  .deals-strip__list {
    gap: 100px;
  }
  .menu-section__title {
    font-size: 36px;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-layout--with-sidebar .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .menu-layout--with-sidebar .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.menu-card__media {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #fafafa;
}
.menu-card__body {
  padding: 12px;
  display: grid;
  gap: 8px;
}
.menu-card__name {
  font: 700 14px/1.2 "Inter Tight";
  color: #232323;
}
.menu-card__desc {
  font: 500 12px/1.4 "Inter Tight";
  color: #666;
}
.menu-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card__price {
  font: 800 14px/1 "Inter Tight";
}
.menu-card__add {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid #232323;
  background: transparent;
  font: 800 12px/1 "Inter Tight";
  text-transform: uppercase;
  cursor: pointer;
}

.cart__title {
  color: #232323;
  font-family: "Inter Tight";
  font-size: 18px;
  font-style: normal;
  height: 55px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 20px;
}

.deal__icon {
  width: 105px;
  height: 105px;
}

.order-sidebar {
  padding: 100px 33px 0px 33px;
  position: sticky;
  top: 0px;
  height: 100vh;
  align-self: start;
  background: #f5f5f5;
}
.cart__header {
  display: grid;
  gap: 20px;
}
.cart__mode {
  display: flex;
  background: #e4e4e4;
  border-radius: 999px;
}
.cart-item__topping {
  color: #7e7e7e;
  font-family: "Inter Tight";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}
.cart__mode-btn {
  display: flex;
  width: 50%;
  padding: 10px 37px;
  flex-direction: column;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  color: #232323;
  text-align: center;
  font-family: "Inter Tight";
  font-size: 15px;
  font-style: normal;
  line-height: 100%;
}
.cart__mode-btn-title {
  font-weight: 600;
  text-transform: capitalize;
}
.cart__mode-btn-time {
  font-weight: 400;
}
.cart__mode-btn.is-active {
  background: #232323;
  color: #fff;
}
.cart__address-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
}
.cart__address {
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  justify-content: space-between;
  transition: opacity 200ms ease, max-height 200ms ease, margin 200ms ease,
    padding 200ms ease;
}
.cart--pickup .cart__address {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}
.cart__address-title {
  color: #232323;
  font-family: "Inter Tight";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  display: flex;
  height: 55px;
  flex-direction: column;
  justify-content: center;
}
.cart__change {
  margin-right: 17px;
  background: transparent;
}

.cart__items {
  list-style: none;
  padding: 28px 0;
  display: grid;
  gap: 10px;
}
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-bottom: 1px dashed #e4e4e4;
}
.cart-item__detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item__qty {
  margin-right: 10px;
}
.cart-item__detail-title {
  color: #232323;
  font-family: "Antonio";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}
.cart-item__actions {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
}
.cart-item__price {
  color: #232323;
  font-family: "Inter Tight";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
}
.cart-item__remove,
.cart-item__edit {
  color: #7e7e7e;
  font-family: "Inter Tight";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
}
.cart__summary {
  display: grid;
  gap: 15px;
}
.cart-row {
  display: flex;
  justify-content: space-between;
  color: #232323;
  font-family: "Inter Tight";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}
.cart-row--bold {
  font-weight: 800;
  color: #232323;
}
.cart__checkout {
  margin-top: 50px;
  display: flex;
  height: 54px;
  padding: 0 36.5px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: #232323;
  color: #fff;
}
.about {
  padding: 60px 69px;
}
.section__subtitle {
  color: #f64d3e;
  font-family: "Antonio";
  font-size: 22px;
  font-style: normal;
  padding: 10px 0;
  font-weight: 600;
  line-height: 30px;
  text-transform: uppercase;
}

.section__title {
  color: #232323;
  font-family: "Antonio";
  font-size: 60px;
  padding: 10px 0;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section__description {
  color: #7e7e7e;
  font-family: "Inter Tight";
  font-size: 32px;
  font-style: normal;
  padding: 10px 0;
  font-weight: 400;
  line-height: 150%;
  max-width: 1243px;
}

/* Collapsible shell behavior */
.order-sidebar .cart__mobile-bar {
  display: none; /* desktop hidden */
}

.cart__toogle-mobile {
  display: none;
}

/* Tablet & Mobile */
@media (max-width: 1024px) {
  .deal__icon {
    width: 71px;
    height: 71px;
  }

  .deals-strip__title,
  .menu__header {
    font-size: 40px;
  }

  .about {
    gap: 20px;
  }
  .section__title {
    font-size: 40px;
  }
  .section__subtitle {
    font-size: 18px;
  }
  .section__description {
    font-size: 20px;
  }
  .menu-section__title {
    margin: 30px 0;
    height: 40px;
  }
  .deal__body {
    margin-left: 0px;
  }
  .deal {
    padding: 10px 20px 20px 20px;
  }
  .about {
    padding: 0px 20px 30px 20px;
  }
  .deals-strip {
    gap: 0px;
  }
  .deals-strip__header {
    height: 100px;
  }
  .menu-layout--with-sidebar {
    grid-template-columns: 1fr;
  }
  .order-sidebar {
    position: static;
    padding: 10px 20px;
    height: auto;
    background: linear-gradient(
        0deg,
        rgba(35, 35, 35, 0.5) 0%,
        rgba(35, 35, 35, 0.5) 100%
      ),
      linear-gradient(0deg, #f64d3e 0%, #f64d3e 100%), #fff;
  }
  .deals-host,
  .menu__container {
    padding: 10px 20px;
  }
  .cart-item__detail-title,
  .cart-item__price,
  .cart-item__topping,
  .cart-item__remove,
  .cart-item__edit,
  .cart-row {
    color: #fff;
  }
  .deals-strip__header {
    justify-content: center;
  }
  .deals-strip__eyebrow {
    display: none;
  }
  .cart__toogle-mobile {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-family: "Inter Tight";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
  }
  .cart__toogle-mobile-title {
    height: 55px;
    display: flex;
    align-items: center;
  }
  /* Collapsed bar */
  .order-sidebar .cart__mobile-bar {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .cart__mobile-bar-left {
    width: 100%;
    display: inline-flex;
    align-items: center;
    height: 55px;
    gap: 8px;
    justify-content: space-between;
  }
  .cart__mobile-title {
    font-family: "Inter Tight";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
  }
  .cart__mobile-badge {
    display: flex;
    width: 26px;
    height: 26px;
    padding: 0 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-family: "Antonio";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
  }
  .cart__mobile-right {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Inter Tight";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-transform: uppercase;
    justify-content: space-between;
  }

  /* Collapsible content: closed by default */
  .order-sidebar .cart__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease, opacity 160ms ease;
    opacity: 0;
  }

  /* When open */
  .order-sidebar.is-open .cart__content {
    max-height: 80vh; /* enough to show list; adjust as needed */
    opacity: 1;
  }
}
