:root {
  --cream: #fffbf2;
  --sand: #e8ddd3;
  --red: #ef402e;
  --dark: #201816;
  --muted: #74685f;
  --white: #ffffff;

  --shadow: 0 18px 45px rgba(32, 24, 22, 0.12);

  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: var(--cream);
  color: var(--dark);

  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  min-height: 100vh;
}

/* HEADER */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(255, 251, 242, 0.92);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(32, 24, 22, 0.06);
}

.topbar-inner {
  width: min(100%, 760px);

  margin: 0 auto;

  padding: 18px;

  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.logo-text span {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* LAYOUT */

.container {
  width: min(100%, 760px);

  margin: 0 auto;

  padding: 18px;
}

.section {
  padding: 24px 0;
}

.section-heading {
  margin-bottom: 18px;
}

/* HERO */

.hero {
  padding: 12px 0 24px;
}

.hero-card {
  position: relative;

  min-height: 680px;

  border-radius: 42px;

  overflow: hidden;

  background: var(--dark);

  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      to bottom,
      rgba(32, 24, 22, 0.1),
      rgba(32, 24, 22, 0.76)
    ),
    url("https://www.islandgrindvi.com/wp-content/uploads/2026/01/main-street-1.jpg");

  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;

  min-height: 680px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 30px;

  color: var(--white);
}

.pill {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  padding: 12px 18px;

  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.16);

  border: 1px solid rgba(255, 255, 255, 0.24);

  backdrop-filter: blur(10px);

  font-size: 15px;
  font-weight: 800;

  margin-bottom: 22px;
}

.review-pill-top {
  color: var(--white);
}

h1 {
  font-size: clamp(64px, 13vw, 96px);

  line-height: 0.9;

  letter-spacing: -0.08em;

  max-width: 640px;

  margin-bottom: 20px;
}

.hero-text {
  max-width: 700px;

  font-size: 21px;
  line-height: 1.35;

  color: rgba(255, 255, 255, 0.92);

  margin-bottom: 26px;
}

/* ORDER PANEL */

.order-panel {
  background: rgba(255, 255, 255, 0.97);

  color: var(--dark);

  border-radius: 38px;

  padding: 30px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.order-row {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 24px;

  margin-bottom: 24px;

  border-bottom: 1px solid rgba(32, 24, 22, 0.08);
}

.order-row div {
  display: flex;
  flex-direction: column;
}

.order-row span {
  font-size: 12px;

  color: var(--muted);

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.14em;

  margin-bottom: 8px;
}

.order-row strong {
  font-size: 24px;

  line-height: 1.1;
}

.cta-main {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 78px;

  background: var(--red);

  color: var(--white);

  border: none;

  border-radius: var(--radius-pill);

  font-size: 28px;
  font-weight: 900;

  cursor: pointer;

  box-shadow: 0 16px 32px rgba(239, 64, 46, 0.24);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-main:hover {
  transform: translateY(-2px);

  box-shadow: 0 20px 40px rgba(239, 64, 46, 0.28);
}

.cta-note {
  text-align: center;

  color: var(--muted);

  font-size: 14px;

  margin-top: 18px;
}

/* TEXT */

.eyebrow {
  color: var(--red);

  font-size: 13px;
  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.14em;

  margin-bottom: 10px;
}

h2 {
  font-size: 58px;

  line-height: 0.95;

  letter-spacing: -0.07em;
}

/* CATEGORY PILLS */

.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 18px;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-btn {
  border: 1px solid rgba(32, 24, 22, 0.08);
  background: var(--white);
  color: var(--dark);

  padding: 12px 18px;

  border-radius: var(--radius-pill);

  font-size: 15px;
  font-weight: 800;

  white-space: nowrap;

  box-shadow: 0 8px 18px rgba(32, 24, 22, 0.05);

  cursor: pointer;
}

.category-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* MENU */

.cards {
  display: grid;
  gap: 14px;
}

.menu-card {
  display: flex;
  align-items: center;

  gap: 18px;

  background: var(--white);

  border-radius: var(--radius-lg);

  padding: 20px;

  border: 1px solid rgba(32, 24, 22, 0.06);

  box-shadow: 0 10px 24px rgba(32, 24, 22, 0.06);
}

.menu-image {
  width: 72px;
  height: 72px;

  flex: 0 0 auto;

  border-radius: 22px;

  object-fit: cover;
}

.menu-info {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;
}

.menu-card h3 {
  font-size: 24px;

  line-height: 1;

  letter-spacing: -0.04em;

  margin-bottom: 6px;
}

.menu-card p {
  color: var(--muted);

  font-size: 15px;
}

.add-btn {
  border: none;

  background: var(--dark);
  color: var(--white);

  padding: 12px 18px;

  border-radius: var(--radius-pill);

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  white-space: nowrap;
}

/* FEATURE BOX */

.feature-box {
  background: var(--sand);

  border-radius: var(--radius-xl);

  padding: 30px;
}

.steps {
  display: grid;

  gap: 14px;

  margin-top: 20px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;

  gap: 14px;

  background: rgba(255, 255, 255, 0.56);

  border-radius: 22px;

  padding: 18px;
}

.step-num {
  width: 44px;
  height: 44px;

  border-radius: 50%;

  background: var(--red);

  color: var(--white);

  display: grid;
  place-items: center;

  font-weight: 900;
}

.step strong {
  display: block;

  margin-bottom: 4px;

  font-size: 16px;
}

.step p {
  color: var(--muted);

  font-size: 14px;
}

/* INFO GRID */

.info-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.info-card {
  background: var(--white);

  border-radius: var(--radius-lg);

  padding: 22px;

  border: 1px solid rgba(32, 24, 22, 0.06);
}

.info-card span {
  display: block;

  color: var(--muted);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.1em;

  margin-bottom: 8px;
}

.info-card strong {
  font-size: 20px;

  line-height: 1.1;
}

/* REVIEW */

.review-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  background: var(--dark);

  color: var(--white);

  border-radius: 30px;

  padding: 24px;
}

.review-pill strong {
  display: block;

  font-size: 20px;

  margin-bottom: 4px;
}

.review-pill span {
  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
}

.review-button {
  background: var(--white);

  color: var(--dark) !important;

  padding: 14px 18px;

  border-radius: var(--radius-pill);

  font-size: 14px;
  font-weight: 900;

  white-space: nowrap;
}

/* CART */

.cart-drawer {
  position: fixed;

  left: 0;
  right: 0;
  bottom: -100%;

  background: var(--white);

  border-top-left-radius: 32px;
  border-top-right-radius: 32px;

  padding: 24px;

  z-index: 200;

  transition: bottom 0.3s ease;

  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
}

.cart-drawer.open {
  bottom: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 20px;
}

.cart-header h3 {
  font-size: 28px;
  letter-spacing: -0.05em;
}

#closeCart {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(32, 24, 22, 0.08);
}

.cart-item strong {
  font-size: 16px;
}

.cart-item span {
  color: var(--muted);
  font-weight: 700;
}

.cart-total {
  display: flex;
  justify-content: space-between;

  padding-top: 20px;
  margin-top: 20px;

  border-top: 2px solid rgba(32, 24, 22, 0.08);

  font-size: 20px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 10px;
}

.qty-btn {
  width: 32px;
  height: 32px;

  border: none;

  border-radius: 50%;

  background: var(--sand);

  color: var(--dark);

  font-size: 18px;
  font-weight: 900;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-controls span {
  font-size: 14px;
  font-weight: 800;

  min-width: 20px;
  text-align: center;
}

.checkout-btn {
  width: 100%;

  margin-top: 24px;

  border: none;

  background: var(--red);
  color: var(--white);

  min-height: 64px;

  border-radius: var(--radius-pill);

  font-size: 20px;
  font-weight: 900;

  cursor: pointer;

  box-shadow: 0 14px 30px rgba(239, 64, 46, 0.22);
}

.checkout-form {
  display: none;

  margin-top: 20px;
}

.checkout-form.open {
  display: block;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;

  margin-bottom: 14px;

  padding: 16px;

  border: 1px solid rgba(32, 24, 22, 0.1);

  border-radius: 18px;

  background: var(--cream);

  font-size: 16px;

  font-family: inherit;
}

.checkout-form textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-order-btn {
  width: 100%;

  border: none;

  background: var(--dark);
  color: var(--white);

  min-height: 60px;

  border-radius: var(--radius-pill);

  font-size: 18px;
  font-weight: 900;

  cursor: pointer;
}

/* FOOTER */

footer {
  padding: 24px 0 120px;

  text-align: center;

  color: var(--muted);

  font-size: 14px;
}

.bottom-order {
  position: fixed;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 100;

  padding: 14px 18px 20px;

  background:
    linear-gradient(
      to top,
      rgba(255, 251, 242, 1),
      rgba(255, 251, 242, 0)
    );
}

.bottom-order-inner {
  width: min(100%, 760px);

  margin: 0 auto;
}

/* MOBILE */

@media (max-width: 700px) {

  .container {
    padding: 14px;
  }

  .hero-card,
  .hero-content {
    min-height: 720px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 18px;
  }

  .order-panel {
    padding: 22px;
  }

  .order-row {
    flex-direction: column;

    gap: 18px;
  }

  .order-row strong {
    font-size: 18px;
  }

  .cta-main {
    min-height: 70px;

    font-size: 24px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .review-pill {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-button {
    width: 100%;

    text-align: center;
  }
}

@media (max-width: 520px) {

  .hero-card,
  .hero-content {
    min-height: 680px;
  }

h1 {
  font-size: 48px;
  line-height: 0.92;
  letter-spacing: -0.045em;
  max-width: 100%;
  word-break: keep-all;
}

  h2 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .pill {
    font-size: 13px;
  }

  .menu-card {
    align-items: flex-start;
  }

  .menu-card h3 {
    font-size: 20px;
  }

  .menu-image {
    width: 62px;
    height: 62px;
  }
	.checkout-options {
  margin: 10px 0 18px;
}

.option-label {
  font-size: 13px;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 18px 0 10px;
}

.option-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-pill {
  border: 1px solid rgba(32, 24, 22, 0.08);
  background: var(--cream);
  color: var(--dark);
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.option-pill.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
	.custom-tip-wrap {
  display: none;
  margin-top: 12px;
}

.custom-tip-wrap.open {
  display: block;
}

.custom-tip-wrap input {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(32, 24, 22, 0.1);
  border-radius: 18px;
  background: var(--cream);
  font-size: 16px;
}

.order-success {
  display: none;
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(56, 193, 114, 0.1);
  text-align: center;
}

.order-success.open {
  display: block;
}

.success-icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.order-success h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.order-success p {
  color: var(--muted);
}
}
/* MODIFIER MODAL */

.mod-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(32, 24, 22, 0.5);
  z-index: 300;
  backdrop-filter: blur(4px);
}

.mod-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 480px);
  max-height: 80vh;
  background: var(--white);
  border-radius: var(--radius-xl);
  z-index: 400;
  overflow: hidden;
  flex-direction: column;
}

.mod-modal-overlay.open,
.mod-modal.open {
  display: flex;
}

.mod-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(32, 24, 22, 0.08);
  flex-shrink: 0;
}

.mod-modal-header h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.mod-modal-header p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

.mod-modal-close {
  border: none;
  background: rgba(32, 24, 22, 0.07);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mod-modal-body {
  overflow-y: auto;
  padding: 16px 24px;
  flex: 1;
}

.mod-modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(32, 24, 22, 0.08);
  flex-shrink: 0;
}

.mod-modal-footer .cta-main {
  min-height: 62px;
  font-size: 22px;
}

.mod-group {
  margin-bottom: 22px;
}

.mod-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 10px;
}

.mod-group-hint {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(32, 24, 22, 0.06);
  color: var(--muted);
}

.mod-group.mod-error .mod-group-label {
  color: var(--red);
}

.mod-group.mod-error .mod-options {
  border: 1.5px solid var(--red);
  border-radius: 16px;
  padding: 4px;
}

.mod-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mod-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.mod-option:hover {
  background: rgba(32, 24, 22, 0.04);
}

.mod-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}

.mod-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 520px) {
  .mod-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-height: 88vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .mod-modal.open {
    display: flex;
  }
}
/* TOPBAR PILL */

.topbar-inner {
  justify-content: space-between;
}

.topbar-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(32, 24, 22, 0.05);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.open {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.status-dot.closed {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.topbar-clock {
  font-size: 12px;
  color: var(--muted);
}

/* HOURS CARD */

.hours-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(32, 24, 22, 0.06);
  box-shadow: 0 10px 24px rgba(32, 24, 22, 0.06);
}

.hours-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hours-header .eyebrow {
  margin-bottom: 0;
}

.hours-status {
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.hours-status.open {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.hours-status.closed {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--muted);
}

.hours-row.today {
  background: rgba(239, 64, 46, 0.06);
  color: var(--dark);
  font-weight: 700;
}

.hours-day {
  font-weight: 600;
}

.hours-row.today .hours-day {
  color: var(--red);
}