:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #f8f8f5;
  background: #171918;
  letter-spacing: 0;
  --yellow: #ffd129;
  --muted: #b5bcb6;
  --red: #c83a32;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
header {
  padding: 24px max(24px, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #101211;
  border-bottom: 5px solid var(--red);
}
.brand { display: flex; align-items: center; gap: 26px; min-width: 0; }
.brand img { width: 166px; height: 166px; object-fit: contain; border-radius: 6px; }
h1 { font: italic bold 48px Georgia, serif; margin: 0; color: var(--yellow); }
h1 span { display: block; font: 800 19px Arial, sans-serif; text-transform: uppercase; margin-top: 8px; color: #fff; }
header p { font-size: 13px; line-height: 1.6; color: #b5bcb6; max-width: 310px; margin: 16px 0 0; }
header a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: bold; white-space: nowrap; padding: 12px 0; }
header b { display: inline-grid; place-items: center; background: var(--yellow); color: #171918; min-width: 30px; height: 30px; border-radius: 50%; }
main { max-width: 1240px; margin: auto; padding: 30px 24px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 0 24px; margin-bottom: 8px; border-bottom: 1px solid #343a36; }
nav a { font-size: 14px; font-weight: bold; text-decoration: none; color: #b5bcb6; padding: 10px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { color: var(--yellow); border-bottom-color: var(--yellow); }
h2 { font-size: 25px; text-transform: uppercase; color: var(--yellow); margin: 0 0 18px; line-height: 1.2; }
.category { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; scroll-margin-top: 24px; margin: 30px 0 38px; }
.category > h2 { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.category > h2::before { content: ''; width: 5px; height: 25px; background: var(--red); flex-shrink: 0; }
.product { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 20px; min-height: 172px; border: 1px solid #3b433c; background: #222723; border-radius: 8px; transition: border-color .15s, background .15s; }
.product:hover { border-color: #ae922e; background: #292f29; }
.product h3 { font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.product p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.product-action { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.product-action strong { white-space: nowrap; font-size: 20px; color: var(--yellow); }
.add { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 6px; color: #171918; background: var(--yellow); font-size: 27px; transition: background .15s; }
.add:hover { background: #ffe878; }
aside { color: #242925; align-self: start; position: sticky; top: 24px; background: #f7f8f4; border-top: 5px solid var(--red); padding: 24px; box-shadow: 0 12px 35px #0003; }
aside h2 { font-size: 23px; color: #252b25; padding-bottom: 18px; border-bottom: 1px solid #d9dfd5; margin-bottom: 0; }
.empty { color: #6d756b; font-size: 14px; padding: 24px 0; margin: 0; }
.cart-item { padding: 18px 0; border-bottom: 1px solid #d9dfd5; }
.cart-item h3 { font-size: 15px; margin: 0 0 6px; line-height: 1.4; }
.cart-item p { font-size: 13px; line-height: 1.5; color: #687162; margin: 4px 0; overflow-wrap: anywhere; }
.cart-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 8px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button, .dialog-head button, .remove { border: 1px solid #485247; background: #2b332c; color: #fff; border-radius: 4px; width: 34px; height: 34px; font-size: 22px; flex-shrink: 0; }
aside .stepper button, aside .remove { background: #fff; border-color: #c6cfc2; color: #353e32; }
.stepper input { width: 42px; text-align: center; background: transparent; color: inherit; border: 0; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.cart-controls { display: flex; align-items: center; gap: 8px; }
label { display: block; font-size: 13px; font-weight: bold; margin: 20px 0 8px; }
textarea { resize: vertical; width: 100%; color: #fff; background: #171918; border: 1px solid #54614f; border-radius: 5px; padding: 12px; line-height: 1.5; font-size: 14px; }
aside textarea { background: #fff; color: #242925; border-color: #ccd4c6; }
textarea::placeholder { color: #858c80; }
.total { display: flex; align-items: center; justify-content: space-between; font-size: 20px; padding: 22px 0; }
.total strong { font-size: 27px; }
.primary { background: var(--yellow); border: 0; border-radius: 5px; padding: 14px 18px; color: #201609; font-weight: bold; min-height: 48px; }
aside > .primary { width: 100%; background: #237e48; color: #fff; }
aside > .primary:hover:not(:disabled) { background: #17673a; }
.primary:disabled { background: #d9dfd5; color: #7c8577; cursor: default; }
dialog { width: min(510px, calc(100% - 24px)); max-height: 90dvh; overflow: auto; background: #222723; color: #fff; border: 1px solid #56614e; border-radius: 8px; padding: 24px; box-shadow: 0 20px 80px #0008; }
dialog::backdrop { background: #000b; backdrop-filter: blur(4px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dialog-head h2 { font-size: 23px; }
#description { color: var(--muted); font-size: 14px; line-height: 1.6; }
fieldset { border: 0; margin: 24px 0 0; padding: 0; }
legend { font-weight: bold; margin-bottom: 10px; font-size: 14px; }
.extra-option { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 0; border-bottom: 1px solid #3b433c; font-weight: normal; }
.extra-option input { accent-color: var(--yellow); width: 18px; height: 18px; }
.extra-option span { flex: 1; }
.extra-option strong { font-size: 14px; color: var(--yellow); }
.dialog-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 24px; }
.delivery-options label { display: flex; align-items: center; gap: 8px; line-height: 1.5; font-weight: normal; margin: 8px 0; padding: 10px 12px; background: #e9eee4; border-radius: 4px; }
.delivery-options input { accent-color: #237e48; flex-shrink: 0; }
.shipping { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 14px; color: #5c6855; }
[hidden] { display: none !important; }
#status { font-size: 13px; color: #b82e27; line-height: 1.5; margin-bottom: 0; }
:focus-visible { outline: 2px solid #d79d00; outline-offset: 4px; }
@media (max-width: 1000px) { .category { grid-template-columns: 1fr; } .product { min-height: 145px; } }
@media (max-width: 850px) {
  main { grid-template-columns: 1fr; gap: 12px; padding: 22px 18px 36px; }
  aside { position: static; }
  header { padding: 20px 18px; }
  .brand { gap: 16px; }
  .brand img { width: 112px; height: 112px; }
  h1 { font-size: 34px; }
  h1 span { font-size: 15px; }
  header p { font-size: 12px; max-width: 240px; margin-top: 10px; }
  .category { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h2 { font-size: 23px; }
}
@media (max-width: 560px) {
  header { gap: 12px; flex-wrap: wrap; }
  header > a { margin-left: auto; font-size: 13px; padding: 4px 0; }
  .brand img { width: 106px; height: 106px; }
  .brand { gap: 14px; }
  h1 { font-size: 31px; }
  header p { max-width: 195px; }
  nav { gap: 6px 18px; padding-bottom: 12px; }
  nav a { font-size: 13px; }
  .category { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .product { display: grid; grid-template-columns: minmax(0, 1fr) 66px; gap: 16px; padding: 18px; min-height: 124px; }
  .product h3 { font-size: 17px; }
  .product-action { flex-direction: column; align-items: flex-end; gap: 14px; }
  .product-action strong { font-size: 18px; }
  .dialog-bottom { gap: 10px; }
  .dialog-bottom .primary { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.category-photo { grid-column: 1 / -1; margin: 0 0 8px; }
.category-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 6px; }
.product.with-photo { padding: 0; overflow: hidden; }
.product-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #101211; display: block; }
.product.with-photo .product-copy { padding: 0 20px; }
.product.with-photo .product-action { padding: 0 20px 20px; }
.mobile-order { display: none; }
header { border-bottom-width: 8px; }
header p { background: #8d2926; color: #fff; max-width: 345px; padding: 8px 12px; border-left: 3px solid var(--yellow); }
html { scroll-behavior: smooth; }
#pedido { scroll-margin-top: 18px; }
@media (max-width: 850px) {
  body { padding-bottom: 88px; }
  .mobile-order { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--yellow); color: #171918; text-decoration: none; font-size: 16px; font-weight: bold; box-shadow: 0 -4px 20px #0004; }
  .mobile-order b { display: inline-grid; place-items: center; margin-left: 8px; width: 26px; height: 26px; border-radius: 50%; background: #171918; color: var(--yellow); font-size: 13px; }
  .mobile-order > strong { margin-left: auto; }
}
@media (max-width: 560px) {
  .product.with-photo { grid-template-columns: minmax(0, 1fr) 82px; gap: 16px; }
  .product-photo { grid-column: 1 / -1; }
  .product.with-photo .product-copy { padding: 0 0 20px 18px; }
  .product.with-photo .product-action { padding: 0 18px 20px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root { background: #201915; --muted: #c9c4be; }
body { background: linear-gradient(#130e0bc4, #130e0bc4), #201915 url('photos/wood.png') repeat; background-size: auto, 650px 650px; }
header { background: #181310; }
main > section { min-width: 0; }
nav { border-color: #655142; }
nav a { color: #ece6df; }
.category > h2 { text-shadow: 0 2px 5px #0008; }
.category { align-items: start; }
.product { background: #291c18; border-color: #795440; box-shadow: 0 5px 16px #0003; }
.product:hover { background: #36201b; border-color: var(--yellow); }
.category-photo { background: #291c18; border-top: 3px solid #ae342e; border-bottom: 3px solid #ae342e; }
.category-photo img { max-height: 320px; border-radius: 0; }
.product-photo { background: #211612; }
dialog { background: #291c18; border-color: #886a51; }
.extra-option { border-color: #624737; }
.stepper button, .dialog-head button { background: #422a20; border-color: #89614c; }
aside .stepper button { background: #fff; border-color: #c6cfc2; }
@media (max-width: 560px) { .category-photo img { max-height: none; } }
.gallery { margin: 24px 0 30px; }
.gallery h2 { font-size: 19px; text-transform: none; margin-bottom: 14px; }
.gallery-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: #af853a #291c18; }
.gallery-strip button { flex: 0 0 146px; width: 146px; padding: 0; border: 1px solid #795440; border-radius: 6px; background: #291c18; color: #fff; overflow: hidden; text-align: left; }
.gallery-strip img { display: block; width: 100%; height: 98px; object-fit: contain; background: #181310; }
.gallery-strip span { display: block; padding: 9px 10px; font-size: 12px; line-height: 1.4; }
.gallery-strip button:hover { border-color: var(--yellow); }
#photo-viewer { width: min(900px, calc(100% - 24px)); }
#photo-viewer .dialog-head h2 { font-size: 20px; text-transform: none; }
#gallery-image { width: 100%; height: min(60dvh, 600px); object-fit: contain; display: block; background: #181310; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid #89614c; border-radius: 4px; background: #422a20; color: var(--yellow); font-size: 24px; }
#gallery-position { color: #c9c4be; font-size: 14px; }
.gallery-strip img { transition: transform .35s ease; }
.gallery-strip button:hover img { transform: scale(1.045); }
.gallery-strip button { transition: border-color .2s, box-shadow .2s; }
.gallery-strip button:hover { box-shadow: 0 4px 14px #0005; }
.product { transition: border-color .2s, background .2s, transform .2s; }
.product:hover { transform: translateY(-2px); }
.add { transition: transform .15s, background .15s; }
.add:active { transform: scale(.92); }
.reveal-pending { opacity: 0; transform: translateY(14px); }
.reveal-ready { animation: reveal-in .45s ease both; }
dialog[open] { animation: dialog-in .2s ease both; }
.order-feedback { animation: order-pop .35s ease; }
.photo-enter { animation: photo-in .25s ease; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes order-pop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes photo-in { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .product:hover, .gallery-strip button:hover img { transform: none; }
}
:root { font-family: "Avenir Next", "Segoe UI", Arial, sans-serif; }
body { background-image: linear-gradient(#130e0be8, #130e0be8), url('photos/wood.png'); }
h2, .product h3 { font-family: "Avenir Next Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif; font-weight: 800; }
.product { min-height: 184px; padding: 22px; gap: 20px; }
.product-copy { min-height: 82px; }
.product h3 { font-size: 20px; }
.product p { font-size: 13px; line-height: 1.55; }
.product-action { margin-top: auto; }
.product-action strong, .cart-bottom strong, .total strong, .subtotal strong { font-variant-numeric: tabular-nums; }
nav a[aria-current="location"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.gallery-heading h2 { margin: 0; }
.gallery-arrows { display: flex; gap: 8px; }
.gallery-arrows button { width: 34px; height: 34px; font-size: 20px; border: 1px solid #795440; color: var(--yellow); background: #291c18; border-radius: 4px; }
.gallery-arrows button:disabled { opacity: .35; cursor: default; }
.gallery-strip button { flex-basis: 154px; width: 154px; }
.gallery-strip img { height: 104px; }
.gallery-strip span { min-height: 36px; }
.subtotal { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #5c6855; font-size: 14px; margin-top: 24px; }
.shipping { margin-top: 12px; }
.total { border-top: 1px solid #d9dfd5; margin-top: 18px; padding: 18px 0 22px; }
@media (max-width: 560px) {
  .product { min-height: 136px; padding: 18px; align-items: center; }
  .product-copy { min-height: 0; }
  .product-action { margin-top: 0; }
  .product h3 { font-size: 18px; }
}

/* Compact header and light catalog inspired by the reference menu. */
:root { color: #292b2a; background: #f8f8f8; --muted: #6c6d6b; --red: #c73935; }
body { background: #f8f8f8; }
header { position: sticky; top: 0; z-index: 20; min-height: 72px; padding: 10px 24px; background: #080808; border: 0; color: #fff; box-shadow: 0 2px 7px #0002; }
.brand { gap: 12px; }
.brand img { width: 52px; height: 52px; }
h1 { font: 700 22px "Avenir Next", "Segoe UI", Arial, sans-serif; color: #fff; }
h1 span { display: inline; margin: 0; font: inherit; text-transform: none; }
header p { display: none; }
header a { font-size: 14px; }
.menu-search { margin: 0 0 0 auto; width: min(260px, 30%); }
.menu-search input { width: 100%; border: 1px solid #555; background: #242424; color: #fff; padding: 11px 14px; border-radius: 5px; font-size: 14px; }
.menu-search input::placeholder { color: #ccc; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main { max-width: 1600px; padding: 26px 24px 50px; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
main > section { display: grid; grid-template-columns: 175px minmax(0, 1fr); column-gap: 24px; align-items: start; }
nav { position: sticky; top: 98px; display: flex; flex-direction: column; grid-column: 1; grid-row: 1 / 3; padding: 0; gap: 0; margin: 0; border: 0; }
nav::before { content: 'CATEGORÍAS'; color: var(--red); font-weight: 800; font-size: 17px; padding: 12px 10px 18px; }
nav a { color: #484b47; padding: 14px 12px; border: 0; font-size: 14px; font-weight: 500; }
nav a:hover, nav a[aria-current="location"] { background: #e9e9e7; color: #242724; border: 0; }
.gallery, #products { grid-column: 2; min-width: 0; }
.gallery { margin: 0 0 8px; }
.gallery h2 { color: #393c38; font-size: 17px; text-shadow: none; }
.gallery-strip button { background: #fff; color: #333; border: 1px solid #e2e3df; flex-basis: 128px; width: 128px; }
.gallery-strip img { height: 86px; }
.gallery-strip button:hover { border-color: #c73935; }
.gallery-arrows button { background: #fff; color: #b8322e; border-color: #ddd; }
.category { margin-top: 22px; gap: 12px; align-items: stretch; scroll-margin-top: 96px; }
.category > h2 { font-size: 21px; color: var(--red); text-shadow: none; margin: 0 0 3px; }
.category > h2::before { display: none; }
.product { background: #fff; border: 1px solid #e5e5e3; box-shadow: none; padding: 18px; min-height: 166px; border-radius: 8px; }
.product:hover { background: #fff; border-color: #c8c9c5; box-shadow: 0 4px 12px #00006; }
.product h3 { color: #30332f; font-size: 17px; font-weight: 700; }
.product p { color: #71746e; font-size: 14px; }
.product-copy { min-height: 74px; }
.product-action strong { color: #333831; font-size: 17px; }
.add { background: #f7f7f5; color: #c73935; border: 1px solid #e2e2dc; width: 38px; height: 38px; }
.add:hover { background: #faeae8; }
aside { top: 98px; background: #fff; border: 1px solid #e2e3df; box-shadow: none; padding: 20px; }
aside h2 { font-size: 20px; }
.total strong { font-size: 24px; }
dialog { background: #fff; color: #292b2a; border-color: #ddd; }
dialog h2 { color: var(--red); }
dialog textarea { background: #fafafa; color: #333; border-color: #ccc; }
.extra-option { border-color: #e7e7e3; }
.extra-option strong { color: #b82c26; }
.stepper button, .dialog-head button, .gallery-controls button { background: #f5f5f3; color: #333; border-color: #d6d6d0; }
.primary { background: #c73935; color: #fff; }
#photo-viewer .dialog-head h2 { color: #30332f; }
#gallery-position { color: #6c6d6b; }
.no-results { padding: 24px 0; color: #6c6d6b; }
#pedido { scroll-margin-top: 96px; }
@media (max-width: 1150px) { .category { grid-template-columns: 1fr; } main > section { grid-template-columns: 145px minmax(0, 1fr); gap: 18px; } }
@media (max-width: 850px) {
  main { grid-template-columns: 1fr; padding: 20px 18px 36px; }
  main > section { display: block; }
  nav { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; margin: 0 0 20px; border-bottom: 1px solid #ddd; }
  nav::before { display: none; }
  nav a { white-space: nowrap; flex-shrink: 0; padding: 12px; }
  aside { position: static; }
  .category { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-order { background: #c73935; color: #fff; }
  .mobile-order b { background: #fff; color: #c73935; }
  header { gap: 16px; padding: 10px 18px; flex-wrap: wrap; }
  .menu-search { width: 100%; order: 3; }
  .brand img { width: 44px; height: 44px; }
  h1 { font-size: 19px; }
  header a { margin-left: auto; font-size: 13px; }
  header h1 span { font: inherit; }
  .category, #pedido { scroll-margin-top: 144px; }
}
@media (max-width: 560px) {
  .category { grid-template-columns: 1fr; }
  .product { min-height: 122px; grid-template-columns: minmax(0, 1fr) 68px; }
  .product-copy { min-height: 0; }
  .product h3 { font-size: 17px; }
}
