@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--primary-text);
}

:root {
  --primary: #fbab27;
  --secoundary: #c1090d;
  --primary-text: #000000;
  --ico: #000000;
  --white: #ffffff;
  --bg: #fff0f0;
  --bg-2: #e9e9e9;
  --sub-text: #888ea0;
  --border: 1px solid #000000;
  --lite-border: 1px solid #e9e9e9;
  --lite-border-dash: 1px dashed #e9e9e9;
}

[class*="grid"] {
  display: grid;
}

.align-center {
  align-items: center;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  padding-bottom: 5rem;
}

i svg {
  width: unset;
  height: 1.8rem;
}

p,
a,
input,
select,
textarea,
button {
  font-size: 1.6rem;
  font-weight: 400;
}

p {
  color: var(--sub-text);
}

h1,
h2,
h3 {
  text-transform: capitalize;
}

img,
video {
  max-width: 100%;
}

i {
  font-size: 2rem;
  line-height: 1;
}

.container {
  max-width: 940px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

.container-max {
  max-width: 1540px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

button,
.btn {
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 1rem;
  background: var(--ico);
  color: white;
  text-transform: capitalize;
  line-height: 1;
  transition: 0.3s;
  font-weight: 500;
  border-radius: 5rem;
  font-size: 1.6rem;
}

button:hover {
  background: var(--primary);
  border-color: transparent;
}

button.empty {
  background: transparent;
  padding: 0;
  padding-bottom: 0.5rem;
  border: unset;
  color: var(--primary-text);
  border-bottom: var(--border);
  border-radius: unset;
}

button.center {
  margin: auto;
  margin-top: 3rem;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
}

section {
  padding: 2rem 0;
}

/* header */
header {
  transition: 0.3s;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 999;
}

header .top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

header.cetagory-details .logo {
  display: none;
}

header.cetagory-details.active .top-nav .ico {
  background: var(--primary);
}

header.cetagory-details.active .top-nav .ico i {
  color: var(--primary-text);
}

header.cetagory-details h1 {
  font-weight: 600;
}

header.cetagory-details.active h1 {
  color: var(--white);
}

header .top-nav .ico {
  width: 3rem;
}

header .logo img {
  height: 7rem;
}

header .logo .white {
  display: none;
}

header.active .logo .dark {
  display: none;
}

header.active .logo .white {
  display: block;
}

input {
  background: transparent;
  width: 100%;
}

.search {
  padding: 0.5rem;
  border: var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  border-radius: 5rem;
  gap: 1rem;
  padding-left: 2rem;
  width: 100%;
}

.all-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ico {
  width: 5rem;
  aspect-ratio: 1/1;
  background: var(--ico);
  border-radius: 50%;
  padding: 0;
  border: unset;
  overflow: hidden;
}

.ico i {
  color: var(--white);
}

.flex {
  display: flex;
  gap: 1.5rem;
}

header .flex {
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
}

header.active {
  background: var(--secoundary);
  position: fixed;
}

header.active .flex {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

main {
  overflow: hidden;
  padding: 2rem 0;
  margin-top: 6rem;
}

.promotion-banner {
  background: var(--secoundary);
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  border-radius: 2rem;
}

.promotion-banner h1 {
  color: var(--white);
  font-size: 3rem;
}

.promotion-banner h1 span {
  color: var(--white);
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
}

.promotion-banner .image {
  position: absolute;
  right: -1rem;
  width: unset;
  height: calc(100% + 3rem);
  transform: rotate(-15deg);
}

.promotion-banner .image img {
  filter: drop-shadow(0 8px 10px #00000065);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

/* section */
.sec-title {
  margin-bottom: 2rem;
}

.sec-title h2 {
  font-size: 2rem;
}

.product-card {
  max-width: 18rem;
  width: 100%;
  padding: 1rem;
  background: var(--white);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0 0.5rem;
  height: 100%;
  border: var(--lite-border);
  min-height: 26rem;
  text-align: center;
}

.product-card .pricing {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: var(--ico);
  border-bottom-left-radius: 0.8rem;
  border-bottom-right-radius: 0.8rem;
  z-index: 2;
}

.product-card .pricing h4 {
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
}

.product-card .details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-card .frame {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 1rem;
}

.product-card .add-to-plate {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: none;
}

.product-card .add-to-plate button {
  width: 100%;
  padding: 1rem;
  border-radius: 0;
}

.product-card.selected {
  border: var(--border);
}

.product-card.selected .add-to-plate {
  display: block;
}

.product-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card .details h3 {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

.product-card .details .flex {
  gap: 0.5rem;
  align-items: center;
}

.prepair {
  gap: 1.5rem;
}

.prepair p {
  font-size: 1.2rem;
  font-weight: 600;
  gap: 0.5rem;
  align-items: center;
}

.prepair i {
  font-size: 1.5rem;
  color: var(--primary);
}

.product-card .details h4 {
  font-size: 1.6rem;
}

.product-slider {
  padding-left: 2rem;
  max-width: 940px;
  width: 100%;
  margin: auto;
}

.mb-5 {
  margin-bottom: 5rem;
}

.order-breakdown {
  overflow: hidden;
  height: 0px;
  transition: 0.3s;
}

.order-breakdown.active {
  height: var(--h);
  overflow-y: scroll;
  transition: 0.3s;
  max-height: 50rem;
}

.order-breakdown .item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  gap: 1rem;
  height: 8rem;
  border-bottom: var(--lite-border-dash);
}

.order-breakdown .item h3 {
  font-size: 1.6rem;
  font-weight: 500;
}

.order-breakdown .item h4 {
  font-size: 2rem;
  font-weight: 800;
}

.quantity {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  text-align: center;
  right: 1rem;
  bottom: 1rem;
}

.quantity i {
  font-size: 3rem;
}

.quantity input {
  width: 2rem;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
}

.order-breakdown .item:last-child {
  border: unset;
}

.card-2 {
  background: var(--white);
  border-radius: 1.5rem;
  border: var(--lite-border);
  padding: 1.5rem 2.5rem;
  gap: 1rem;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
}

.card-2 .frame {
  width: 8.5rem;
  aspect-ratio: 1/1;
  border-radius: 1rem;
  overflow: hidden;
}

.card-2 .quantity {
  margin-top: auto;
}

.card-2 .details h2 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.card-2 .details .pricing h4 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--secoundary);
}

.card-2 .details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-breakdown.order-page {
  height: 100%;
  max-height: 100%;
  overflow: unset !important;
  padding-bottom: 5rem;
}

.order-breakdown.order-page .total-cost {
  margin-top: 1.5rem;
}

.table-number h2 {
  font-size: 3rem;
}

.table-number p span {
  color: var(--primary-text);
}

.table-number {
  margin-bottom: 1.5rem;
}

.order-more {
  width: 100%;
  position: fixed;
  bottom: 0;
  border-radius: 0;
  left: 0;
}

.product .quantity {
  display: none;
}

.product.selected .quantity {
  display: flex;
}

.product.selected {
  border-color: var(--primary-text);
  position: relative;
  overflow: hidden;
}

.product.selected::before {
  content: "Selected";
  position: absolute;
  left: -2.7rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  height: 2rem;
  background: var(--ico);
  color: var(--white);
  font-size: 1rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 1;
}

.product-card.selected::before {
  display: none;
}

.category h2 {
  font-size: 2rem;
}

.category {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#menu-container h6 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
}

.bottom-calc {
  background: var(--ico);
  position: fixed;
  height: 7rem;
  left: 0;
  width: 100%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
}

.bottom-calc h3 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--bg);
}

.bottom-calc h3:nth-child(2) {
  color: var(--primary);
}

.remove {
  width: 2.5rem;
  height: 2.5rem;
  background: #ff3434;
  color: white;
  border-radius: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem !important;
}

.product.product-card.selected .quantity {
  background: #ffffff38;
  backdrop-filter: blur(10px);
  left: 0;
  bottom: 0;
  width: 100%;
  justify-content: center;
  height: 5rem;
}

.product.hidden {
  display: none;
}

.search {
  display: none;
}

.des {
  font-size: 1.2rem;
  line-height: 1;
}

p.tag {
  line-height: 1;
  padding: 0.5rem 0.6rem;
  background: #fbc727;
  color: black;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  right: 0.5rem;
  top: 0.5rem;
  border-radius: 5rem;
}

.sizes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  background: white;
  border-radius: 5rem;
  padding: 0.2rem;
  border: var(--lite-border);
  padding-left: 1rem;
  width: fit-content;
}

.sizes button {
  padding: 0;
  width: 3rem;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: transparent;
  border: var(--lite-border);
  color: var(--primary-text);
}

.size-button.active {
  background: var(--ico);
  color: var(--bg);
}

.pricing {
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
}

.sizes p {
  font-size: 1.2rem;
  color: var(--primary-text);
  font-weight: 500;
}

.pizza {
  padding: 1rem 2rem;
}

.pizza-item {
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  position: relative;
  border: var(--lite-border);
}

.pizza-item .tag {
  position: relative;
  width: fit-content;
  left: 0;
  top: 0;
  margin-bottom: 0.5rem;
}

.new-tag {
  background: #f74d4d !important;
  color: white !important;
}

.pizza-item h2 {
  font-size: 2rem;
}

.pizza-item p {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 15px;
}

th,
td {
  padding: 8px;
  border: 1px solid #ddd;
}

.best-deal {
  background-color: #fffae6;
  font-weight: bold;
}

@media (max-width: 600px) {
  table {
    font-size: 13px;
  }

  th,
  td {
    padding: 6px;
  }
}

.title {
  margin-bottom: 1rem;
  font-size: 3rem;
  text-align: center;
}

button i {
  color: var(--bg);
}

button {
  color: var(--bg);
}

.bottom-calc :is(button, a) {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.bottom-calc button:hover {
  background: var(--ico);
}


td span {
  text-decoration: line-through;
  color: red;
  margin-right: 10px;
  display: inline-block;
}

.product.unavailable {
  opacity: 0.7;
  pointer-events: none;
}

.product.unavailable .frame img {
  filter: grayscale(1);
  opacity: 0.5;
}

.not-available-text {
  color: #ff0000;
  font-style: italic;
  font-size: 1.4rem;
  margin-top: 5px;
}

.product.unavailable .pricing {
  display: none;
}

.product.unavailable .quantity {
  display: none;
}

.pizza-item.unavailable {
  background: #f3f3f3 !important;
  border: 1.5px solid #e0e0e0 !important;
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
}

.pizza-item .not-available-text {
  color: #d32f2f;
  font-weight: bold;
  font-size: 2rem;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: 0.5px;
  text-align: left;
}

.discount-price {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.discount-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.discount-prices-row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.discount-badge {
  background-color: #e53e3e;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  margin-left: 0;
  display: inline-block;
}

.original-price {
  text-decoration: line-through;
  color: #e53e3e;
  font-size: 1.8rem;
  font-weight: 700;
}

.discounted-price {
  color: #04604e;
  font-weight: bold;
  font-size: 1.7rem;
}

@keyframes beat {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.05);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.02);
  }

  70% {
    transform: scale(1);
  }
}

.best {
  animation: beat 1s ease-in-out infinite;
  transform-origin: center;
}

.best.selected {
  animation: unset;
}

.ttdx{
    display: flex;
    align-items: center;
    gap: 0.3rem;
}