
/* BETTASUPPLY.SHOP — FOOD PAGE */

/* PAGE BASE */
.food-page {
  min-height: 70vh;
  color: #f5f6ff;
  background: #05091e;
  padding-bottom: 70px;
}

.food-page *,
.site-header *,
.site-footer *,
.cart-drawer * {
  box-sizing: border-box;
}

/* HEADER AND NAVIGATION */
.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #05091e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  width: min(1200px, 100%);
  min-height: 86px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-star {
  color: #72e5ed;
  font-size: 29px;
  line-height: 1;
}

.brand-name {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-name small {
  margin-top: 4px;
  color: #72e5ed;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.nav-links a {
  color: #c6cce0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #72e5ed;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #0d1430;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.icon-button:hover {
  border-color: #72e5ed;
  background: #121d3c;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 50px;
  background: #72e5ed;
  color: #071021;
  font-size: 10px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

/* SEARCH PANEL */
.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  width: 100%;
  padding: 18px 24px;
  background: #0b1230;
  border-bottom: 1px solid rgba(114, 229, 237, 0.2);
}

.search-panel[hidden] {
  display: none;
}

.search-panel-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  outline: none;
  background: #05091e;
  color: #fff;
  font: inherit;
}

.search-panel input:focus {
  border-color: #72e5ed;
}

.search-panel button {
  padding: 12px 15px;
  border: 0;
  border-radius: 10px;
  background: #72e5ed;
  color: #071021;
  font-weight: 700;
  cursor: pointer;
}

/* FOOD INTRO */
.food-intro {
  max-width: 1000px;
  margin: 0 auto;
  padding: 95px 24px 65px;
  text-align: center;
}

.food-kicker {
  margin-bottom: 18px;
  color: #72e5ed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.food-intro h1 {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
}

.food-intro h1 em {
  color: #72e5ed;
  font-weight: 600;
}

.food-intro > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: #b8bfd5;
  font-size: 16px;
  line-height: 1.8;
}

/* PRODUCT SECTION */
.food-products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px 40px;
}

.food-section-heading {
  margin-bottom: 28px;
}

.food-section-heading h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
}

.food-section-heading p {
  margin: 0;
  color: #aeb6d0;
  line-height: 1.7;
}

#foodMessage {
  margin: 20px 0;
  color: #aeb6d0;
  line-height: 1.6;
}

/* PRODUCT GRID */
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.food-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: #0d1430;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.food-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 229, 237, 0.5);
}

.food-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111a38;
}

.food-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.food-card-content {
  padding: 20px;
}

.food-card-category {
  margin: 0 0 10px;
  color: #72e5ed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.food-card-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
}

.food-card-description {
  min-height: 48px;
  margin: 0 0 18px;
  color: #b8bfd5;
  font-size: 14px;
  line-height: 1.7;
}

.food-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.food-card-price {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}

.food-add-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 17px;
  background: #72e5ed;
  color: #071021;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.food-add-button:hover {
  transform: translateY(-1px);
  background: #a0f4f7;
}

.food-add-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* FOOTER */
.food-footer,
.site-footer {
  padding: 25px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #05091e;
  color: #929bb8;
  text-align: center;
  font-size: 13px;
}

.food-footer p,
.site-footer p {
  margin: 0;
}

/* CART DRAWER */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.65);
}

.cart-backdrop[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  padding: 25px;
  overflow-y: auto;
  border-left: 1px solid rgba(114, 229, 237, 0.2);
  background: #080e26;
  color: #f5f6ff;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-drawer-header h2 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
}

.cart-drawer button {
  cursor: pointer;
}

.cart-items {
  flex: 1;
  padding: 20px 0;
}

.cart-item,
.live-cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item img,
.live-cart-item img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #111a38;
  object-fit: contain;
}

.cart-item-details,
.live-cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h3,
.live-cart-item-details h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
}

.cart-item-details p,
.live-cart-item-details p {
  margin: 0;
  color: #b8bfd5;
  font-size: 13px;
}

.cart-remove,
.live-cart-remove {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: #b8bfd5;
  font-size: 12px;
}

.cart-remove:hover,
.live-cart-remove:hover {
  border-color: #72e5ed;
  color: #72e5ed;
}

.cart-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.checkout-button {
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 999px;
  background: #72e5ed;
  color: #071021;
  font-size: 14px;
  font-weight: 800;
}

.checkout-button:hover {
  background: #a0f4f7;
}

.checkout-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* RESPONSIVE TABLET */
@media (max-width: 950px) {
  .nav-shell {
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 760px) {
  .nav-shell {
    min-height: 74px;
    padding: 14px 18px;
  }

  .brand-name {
    font-size: 19px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 105;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 22px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #05091e;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-actions {
    gap: 8px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .food-intro {
    padding: 70px 20px 48px;
  }

  .food-products {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .food-intro {
    padding: 58px 20px 45px;
  }

  .food-intro h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .food-products {
    padding-right: 18px;
    padding-left: 18px;
  }

  .food-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .food-card-content {
    padding: 18px;
  }

  .food-card-description {
    min-height: 0;
  }

  .cart-drawer {
    padding: 20px;
  }
}
