/* Kamari Eats: Cheerful & Appetizing Kitchen Storefront */
:root {
  --paper: #FFF8EB;
  --surface: #FFFFFF;
  --ink: #241812;
  --muted: #685346;
  --line: #F0DECA;
  --line-strong: #E5CCA8;
  --soft-bg: #FFF4DF;
  --soft-surface: #FFECC4;
  --butter-bg: #FFF2D1;
  --butter-border: #FCD68A;
  --accent-chili: #C62828;
  --accent-chili-hover: #A81F1F;
  --accent-amber: #B45309;
  --accent-amber-hover: #92400E;
  --wa-green: #107C41;
  --wa-green-hover: #0C6233;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-card: 16px;
  --radius-photo: 12px;
  --radius-btn: 10px;
  --radius-badge: 8px;
  --shadow-subtle: 0 4px 20px rgba(78, 44, 20, 0.06);
  --shadow-card-hover: 0 10px 28px rgba(198, 40, 40, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Accessibility: Clear, intentional focus indicator */
:focus-visible {
  outline: 3px solid var(--accent-chili);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--accent-chili);
  border-radius: var(--radius-btn);
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 248, 235, 0.94);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1;
}

.wordmark span {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-chili);
  background: #FFE8E8;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-left: 6px;
}

.brand-tag {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--accent-amber);
  background: var(--butter-bg);
  border: 1px solid var(--butter-border);
  padding: 4px 10px;
  border-radius: 20px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(78, 44, 20, 0.04);
  transition: all 0.15s ease;
}

.header-link:hover {
  background: var(--soft-bg);
  border-color: var(--line-strong);
  color: var(--accent-chili);
}

/* Catalog / Menu Section */
.catalog {
  padding-top: 36px;
  padding-bottom: 40px;
}

.catalog-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--accent-chili);
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.location-badge svg {
  width: 15px;
  height: 15px;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5.5vw, 44px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin: 0 0 12px 0;
}

.intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.intro strong {
  color: var(--accent-chili);
  font-weight: 800;
}

.availability-card {
  background: var(--butter-bg);
  border: 1px solid var(--butter-border);
  border-left: 4px solid var(--accent-amber);
  padding: 16px 20px;
  border-radius: var(--radius-badge);
}

.availability-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-amber);
  margin: 0 0 4px 0;
}

.availability-desc {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* Products Grid */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.product-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--soft-bg);
  border-radius: var(--radius-photo);
  overflow: hidden;
  border: 1px solid rgba(78, 44, 20, 0.08);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transition: transform 0.35s ease;
}

.product-photo.mac img {
  object-position: 50% 77%;
}

.product-card:hover .product-photo img {
  transform: scale(1.03);
}

.flavor-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.20);
}

.flavor-korean {
  background: var(--accent-chili);
  color: #FFFFFF;
}

.flavor-bolognese {
  background: var(--accent-amber);
  color: #FFFFFF;
}

.product-body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-header h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 0 0 10px 0;
}

.description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px 0;
}

/* Feature bullets */
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.feature-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-chili);
}

.mac ~ .product-body .feature-icon,
article:nth-child(2) .feature-icon {
  color: var(--accent-amber);
}

/* Purchase Box */
.purchase-box {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 2px 0 0 0;
}

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

/* Buttons */
.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  background: var(--wa-green);
  color: #FFFFFF;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 10px rgba(16, 124, 65, 0.25);
  transition: all 0.15s ease;
}

.order-button:hover {
  background: var(--wa-green-hover);
  box-shadow: 0 5px 14px rgba(16, 124, 65, 0.35);
  transform: translateY(-1px);
}

.order-button:active {
  transform: translateY(1px);
}

.btn-icon {
  width: 19px;
  height: 19px;
  color: currentColor;
}

/* Menu Notes Strip */
.menu-notes-strip {
  background: var(--butter-bg);
  border: 1px solid var(--butter-border);
  border-radius: var(--radius-photo);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.06);
}

.note-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-bullet {
  color: var(--accent-amber);
  font-weight: 900;
  font-size: 14px;
}

.note-divider {
  display: none;
  color: var(--accent-amber);
}

/* Order Info Section */
.order-info {
  border-top: 1px solid var(--line);
  padding-block: 48px;
}

.info-header {
  margin-bottom: 30px;
}

.info-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 0 0 8px 0;
}

.info-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

/* Order Steps Grid */
.order-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 30px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-photo);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(78, 44, 20, 0.04);
  transition: border-color 0.15s ease;
}

.step-card:hover {
  border-color: var(--line-strong);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--soft-surface);
  color: var(--accent-chili);
  border: 1px solid var(--butter-border);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Info Action Cards */
.info-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.action-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-photo);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(78, 44, 20, 0.04);
}

.action-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.action-title-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.action-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-chili);
  margin-top: 2px;
}

.schedule-card .action-icon {
  color: var(--accent-amber);
}

.action-title-group h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.action-title-group p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.action-title-group strong {
  color: var(--ink);
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.secondary-btn {
  background: var(--soft-bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.secondary-btn:hover {
  background: var(--soft-surface);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: 36px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .wordmark {
  font-size: 25px;
}

.footer-brand .wordmark span {
  font-size: 11px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.footer-back-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-chili);
}

.footer-back-link:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Responsive Media Queries */
@media (min-width: 680px) {
  .wrap {
    width: min(1080px, calc(100% - 64px));
  }

  .brand-tag {
    display: inline-block;
  }

  .catalog {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .catalog-heading {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
  }

  .heading-copy {
    flex: 1;
  }

  .availability-card {
    flex: 0 0 280px;
  }

  .products {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .product-header h2 {
    font-size: 25px;
  }

  .menu-notes-strip {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
  }

  .note-divider {
    display: inline;
  }

  .order-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .info-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .action-card-body {
    justify-content: space-between;
    height: 100%;
  }

  .action-button {
    align-self: flex-start;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-meta {
    border-top: none;
    padding-top: 0;
    text-align: right;
    align-items: flex-end;
  }
}

@media (min-width: 1000px) {
  .catalog {
    padding-top: 56px;
  }

  .products {
    gap: 36px;
  }

  .product-card {
    padding: 26px;
  }

  .product-photo {
    aspect-ratio: 16 / 10;
  }

  .product-header h2 {
    font-size: 27px;
  }

  .purchase-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .order-button {
    padding: 13px 26px;
  }

  .order-info {
    padding-block: 56px;
  }
}

@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .wordmark {
    font-size: 24px;
  }

  .wordmark span {
    font-size: 11px;
  }

  .header-link {
    font-size: 12px;
    padding: 6px 10px;
  }

  h1 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .skip-link, .header-link, .order-button, .action-button, .site-header {
    display: none;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #CCCCCC;
  }
}
