:root {
  color-scheme: light;
  --red: #b9361c;
  --red-dark: #922a17;
  --orange: #e57a37;
  --cream: #f7f0e7;
  --paper: #fffdf9;
  --ink: #29231f;
  --muted: #81776e;
  --line: #e9dfd4;
  --green: #2e7d4a;
  --header-height: 74px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}

body.drawer-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.material-symbols-rounded {
  display: inline-block;
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  height: var(--header-height);
  padding: 0 clamp(20px, 5vw, 76px);
  background: var(--red);
  color: white;
  box-shadow: 0 3px 16px #30140920;

  img {
    width: 40px;
    height: 40px;
  }

}

#helmet{
  transform: rotate(-30deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}


.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}

.brand-name span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .27em;
  opacity: .8;
}

.main-nav {
  display: flex;
  flex: 1;
  max-width: 700px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 34px);
  margin: 0 auto;
}

.main-nav a {
  position: relative;
  padding: 27px 0;
  font-size: 12px;
  font-weight: 600;
  opacity: .9;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 1px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transition: transform .2s;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #ffffff75;
  border-radius: 50%;
  color: white;
  background: transparent;
  font-size: 26px;
}

.cart-button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #ffffff75;
  border-radius: 50%;
  color: white;
  background: transparent;
}

.cart-button .material-symbols-rounded {
  font-size: 21px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -5px;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  place-items: center;
  border-radius: 12px;
  background: #f5c644;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  overflow: hidden;
  padding: 72px clamp(24px, 10vw, 150px);
  color: white;
  background: #37241a url("./assets/hero.jpg") center 52% / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #20140ed9 0%, #20140e9c 45%, #20140e22 100%), linear-gradient(0deg, #20140e3b, transparent 38%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.hero .eyebrow {
  color: #efbe4d;
}

.hero h1 {
  margin: 0;
  font: 600 clamp(48px, 7vw, 82px)/1.04 var(--serif);
  letter-spacing: -.04em;
}

.hero h1 em {
  color: #f1bd45;
  font-weight: 600;
}

.hero-copy {
  max-width: 390px;
  margin: 20px 0 27px;
  color: #f5eee7d9;
  font-size: 15px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 21px;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button .material-symbols-rounded {
  font-size: 16px;
}

.view-all-link .material-symbols-rounded {
  font-size: 14px;
  vertical-align: middle;
}


.button-dark {
  background: var(--red);
  color: white;
}

.button-dark:hover {
  background: var(--red-dark);
}

.delivery-info {
  position: absolute;
  left: clamp(25px, 8vw, 120px);
  bottom: 58px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.delivery-item {
  display: flex;
  min-width: 90px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
  text-align: center;
}

.delivery-item .material-symbols-rounded {
  color: #f1bd45;
  font-size: 60px;
}

.delivery-item p {
  margin: 0;
}

.delivery-item p strong,
.delivery-item p span {
  display: block;
}

.delivery-item p strong {
  color: #ffffffc9;
  font-size: 10px;
  font-weight: 500;
}

.delivery-item p span {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ffffff9c;
  border-radius: 50%;
  color: white;
  background: #ffffff1a;
  transform: translateX(-50%);
}

.scroll-cue .material-symbols-rounded {
  font-size: 22px;
}

.promise-icon {
  color: var(--red);
  font-size: 25px;
}

.menu-section {
  max-width: 1180px;
  min-height: 500px;
  margin: 0 auto;
  padding: 76px 24px 95px;
}

.home-products {
  min-height: 0;
  padding-top: 68px;
  padding-bottom: 20px;
}

.home-featured {
  padding-top: 55px;
}

.home-product-grid {
  margin-top: 34px;
}

.view-all-link {
  display: block;
  width: fit-content;
  margin: 22px 0 0 auto;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.view-all-link span {
  padding-left: 6px;
}

.view-all-link:hover {
  color: var(--red-dark);
}

.section-heading {
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.closing-banner h2 {
  margin: 0;
  font: 600 clamp(34px, 4vw, 46px)/1.2 var(--serif);
}

.section-heading>p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.category-hero {
  min-height: 200px;
  padding: 56px 24px 47px;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
}

.category-hero .eyebrow {
  margin-bottom: 13px;
  color: var(--red);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .22em;
}

.category-hero h1 {
  margin: 0;
  font: 700 clamp(40px, 5vw, 48px)/1.12 var(--serif);
}

.category-hero>p:not(.eyebrow) {
  margin: 11px 0 0;
  color: #8a8176;
  font-size: 13px;
  line-height: 1.5;
}

.category-menu {
  padding-top: 37px;
}

.category-menu .menu-tools {
  margin-top: 0;
}

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

.menu-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 37px 0 28px;
}

.search-box {
  display: flex;
  width: min(250px, 100%);
  height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid #d9cbbd;
  border-radius: 3px;
  color: var(--muted);
  background: #fffaf4;
}

.search-box .material-symbols-rounded {
  font-size: 19px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.product-card {
  position: relative;
  padding: 0.5vw;
  display: flex;
  flex: 0 1 calc((100% - 54px) / 4);
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #efe6dc;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 5px 16px #5c3c1b0d;
  transition: transform .22s, box-shadow .22s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px #5c3c1b18;
}

.product-image {
  display: grid;
  height: 175px;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 6px solid #f1a344;
  border-radius: 50%;
  outline: 2px solid #d65b24;
  background: radial-gradient(circle at 50% 50%, #f8d45c 0 64%, #fff0c2 65% 71%, #e99435 72% 100%);
  box-shadow: inset 0 0 0 3px #fff3d4, 0 6px 12px #9b4a1f22;
  transition: transform .3s;
}

.product-placeholder .material-symbols-rounded {
  font-size: 56px;
}

.product-card:hover .product-placeholder {
  transform: rotate(-8deg) scale(1.05);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 15px 15px;
}

.product-info h4 {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 700;
}

.product-description {
  display: -webkit-box;
  min-height: 33px;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}

.product-price {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.add-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  color: white;
  background: var(--green);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.add-button:hover {
  background: #22623a;
}

.add-button .material-symbols-rounded {
  font-size: 16px;
}

.empty-state,
.error-state,
.loading-state {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
}

.error-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loading-state p {
  font-size: 12px;
}

.loader {
  width: 18px;
  height: 18px;
  border: 2px solid #dbc9b8;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.closing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0;
  padding: 50px max(24px, calc((100% - 1130px) / 2));
  background: #eadcc9;
}

.closing-banner .eyebrow {
  margin-bottom: 8px;
}

.closing-banner h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.site-footer {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px clamp(24px, 6vw, 90px);
  color: white;
  background: var(--red);
}

.footer-brand {
  min-width: auto;
}

.footer-copy {
  text-align: center;
}

.footer-copy p {
  margin: 0 0 7px;
  font: 600 15px var(--serif);
}

.footer-copy span {
  color: #ffffffb8;
  font-size: 10px;
}

.back-top {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  font-size: 19px;
}

.cart-backdrop {
  position: fixed;
  z-index: 29;
  inset: 0;
  background: #1d1713a6;
}

.cart-drawer {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  display: flex;
  width: min(420px, 100%);
  height: 100dvh;
  flex-direction: column;
  padding: 25px;
  background: var(--paper);
  box-shadow: -10px 0 40px #0002;
  transform: translateX(105%);
  transition: transform .25s ease;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header .eyebrow {
  margin-bottom: 4px;
}

.cart-header h2 {
  margin: 0;
  font: 600 30px var(--serif);
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 8px 0;
}

.cart-empty {
  padding: 35px 5px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-name {
  font-size: 13px;
  font-weight: 700;
}

.cart-item-price {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.quantity-control button {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: white;
}

.quantity-control button .material-symbols-rounded {
  font-size: 16px;
}

.quantity-control span {
  min-width: 12px;
  font-size: 12px;
  text-align: center;
}

.remove-item {
  justify-self: end;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  text-decoration: underline;
}

.cart-item-note {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  margin-top: 4px;
}

.cart-item-note span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.cart-item-note textarea {
  width: 100%;
  min-height: 54px;
  resize: vertical;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline-color: var(--red);
  color: var(--ink);
  background: white;
  font-size: 11px;
  line-height: 1.45;
}

.cart-item-note textarea::placeholder {
  color: #a99d91;
}

.cart-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
}

.cart-total strong {
  color: var(--red);
  font-size: 18px;
}

.checkout-button {
  width: 100%;
}

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

.cart-disclaimer {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 12px 16px;
  border-radius: 4px;
  color: white;
  background: #29231f;
  box-shadow: 0 6px 22px #0002;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    height: var(--header-height);
    padding: 0 20px;
  }

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

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-width: none;
    max-height: calc(100vh - 66px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    margin: 0;
    padding: 8px 20px 14px;
    background: var(--red);
    box-shadow: 0 12px 18px #30140930;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #ffffff30;
    font-size: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .product-card {
    flex-basis: calc((100% - 26px) / 3);
  }

  .product-image {
    height: 145px;
  }

  .product-info {
    padding: 13px 11px;
  }

  .product-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 62px;
  }

  .cart-drawer {
    width: 100vw;
  }

  .site-header {
    height: var(--header-height);
    padding: 0 14px;
  }

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

  .brand-name span {
    font-size: 7px;
  }

  .main-nav {
    max-height: calc(100vh - 62px);
    padding: 6px 14px 12px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .cart-button {
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
  }

  .hero {
    align-items: flex-start;
    padding: 78px 25px 145px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 13px;
  }

  .delivery-info {
    right: 17px;
    bottom: 66px;
    gap: 10px;
  }

  .delivery-item {
    min-width: 73px;
    gap: 5px;
  }

  .delivery-item .material-symbols-rounded {
    font-size: 30px;
  }

  .delivery-item p strong {
    font-size: 8px;
  }

  .delivery-item p span {
    font-size: 11px;
  }

  .menu-section {
    padding: 57px 17px 65px;
  }

  .home-products {
    padding-top: 51px;
    padding-bottom: 12px;
  }

  .home-featured {
    padding-top: 43px;
  }

  .home-product-grid {
    margin-top: 25px;
  }

  .section-heading>p:last-child {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.6;
  }

  .category-hero {
    padding: 52px 20px 43px;
  }

  .category-hero h1 {
    font-size: 43px;
  }

  .category-hero .eyebrow {
    font-size: 11px;
  }

  .category-hero>p:not(.eyebrow) {
    font-size: 15px;
  }

  .menu-tools {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 13px;
    margin: 25px 0;
  }

  .category-menu .menu-tools {
    align-items: center;
  }

  .search-box {
    width: 100%;
    height: 46px;
  }

  .search-box input {
    font-size: 14px;
  }

  .category-results {
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    flex-basis: 88%;
  }

  .product-image {
    height: 210px;
  }

  .product-placeholder {
    width: 90px;
    height: 90px;
  }

  .product-placeholder .material-symbols-rounded {
    font-size: 46px;
  }

  .product-info {
    padding: 16px 15px;
  }

  .product-info h4 {
    font-size: 17px;
    line-height: 1.3;
  }

  .product-description {
    min-height: 44px;
    font-size: 14px;
    line-height: 1.55;
  }

  .product-bottom {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-top: 16px;
  }

  .product-price {
    font-size: 16px;
  }

  .add-button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .add-button .material-symbols-rounded {
    font-size: 19px;
  }

  .empty-state,
  .error-state,
  .loading-state {
    font-size: 14px;
  }

  .loading-state p {
    font-size: 14px;
  }

  .cart-empty,
  .cart-item-name {
    font-size: 15px;
  }

  .cart-item-price,
  .quantity-control span {
    font-size: 14px;
  }

  .quantity-control button {
    width: 32px;
    height: 32px;
  }

  .remove-item,
  .cart-item-note span,
  .cart-disclaimer {
    font-size: 12px;
  }

  .cart-item-note textarea {
    min-height: 64px;
    font-size: 14px;
  }

  .cart-total {
    font-size: 16px;
  }

  .cart-total strong {
    font-size: 20px;
  }

  .checkout-button {
    min-height: 52px;
    font-size: 14px;
  }

  .closing-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 37px 22px;
  }

  .site-footer {
    min-height: 155px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px;
  }

  .footer-copy {
    order: 3;
    width: 100%;
    text-align: left;
  }

  .back-top {
    margin-left: auto;
  }
}