/* ===================================
   Modern CSS Reset v2.0
   Optimized for La Familia Gastro S.L.
   =================================== */

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

/* Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Remove default fieldset styles */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Remove default legend styles */
legend {
  padding: 0;
}

/* Remove default table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* Remove default form styles */
input,
textarea {
  border: none;
  outline: none;
  background: none;
}

/* Remove default select styles */
select {
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Remove default details styles */
details {
  display: block;
}

/* Remove default summary styles */
summary {
  display: list-item;
  cursor: pointer;
}

/* Remove default template styles */
template {
  display: none;
}

/* Remove default hidden styles */
[hidden] {
  display: none !important;
}

/* Remove default mark styles */
mark {
  background-color: transparent;
  color: inherit;
}

/* Remove default small styles */
small {
  font-size: inherit;
}

/* Remove default sub and sup styles */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Remove default code styles */
code,
kbd,
samp,
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Remove default pre styles */
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Remove default abbr styles */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/* Remove default bdo styles */
bdo {
  direction: inherit;
}

/* Remove default blockquote styles */
blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

/* Remove default hr styles */
hr {
  border: none;
  height: 1px;
  background-color: currentColor;
  opacity: 0.2;
}

/* Remove default address styles */
address {
  font-style: normal;
}

/* Remove default cite styles */
cite {
  font-style: normal;
}

/* Remove default dfn styles */
dfn {
  font-style: normal;
}

/* Remove default em styles */
em {
  font-style: normal;
}

/* Remove default i styles */
i {
  font-style: normal;
}

/* Remove default strong styles */
strong {
  font-weight: normal;
}

/* Remove default b styles */
b {
  font-weight: normal;
}

/* Remove default u styles */
u {
  text-decoration: none;
}

/* Remove default s styles */
s {
  text-decoration: none;
}

/* Remove default del styles */
del {
  text-decoration: none;
}

/* Remove default ins styles */
ins {
  text-decoration: none;
}

/* Remove default big styles */
big {
  font-size: inherit;
}

/* Remove default tt styles */
tt {
  font-family: inherit;
}

/* Remove default var styles */
var {
  font-style: normal;
}

/* Remove default kbd styles */
kbd {
  font-family: inherit;
  font-weight: normal;
}

/* Remove default samp styles */
samp {
  font-family: inherit;
}

/* Remove default xmp styles */
xmp {
  font-family: inherit;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Remove default plaintext styles */
plaintext {
  font-family: inherit;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Remove default listing styles */
listing {
  font-family: inherit;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Remove default blink styles */
blink {
  animation: none;
}

/* Remove default marquee styles */
marquee {
  animation: none;
}

/* Remove default nobr styles */
nobr {
  white-space: normal;
}

/* Remove default noframes styles */
noframes {
  display: none;
}

/* Remove default noscript styles */
noscript {
  display: none;
}

/* Remove default ruby styles */
ruby {
  ruby-align: start;
}

/* Remove default rt styles */
rt {
  line-height: normal;
}

/* Remove default rp styles */
rp {
  display: none;
}

/* ===================================
   Accessibility Improvements
   =================================== */

/* Focus styles for keyboard navigation */
:focus {
  outline: 2px solid #007acc;
  outline-offset: 2px;
}

/* Skip link styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
  transition: top 0.3s;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  * {
    border-color: currentColor !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

/* Print styles */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a,
  a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  
  thead {
    display: table-header-group;
  }
  
  tr,
  img {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  
  h2,
  h3 {
    page-break-after: avoid;
  }
}
