/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}

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

body {
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  margin: 0;
}

.contenedor {
  width: 95%;
  max-width: 120rem;
  margin: 0 auto;
}

h1, h2, h3 {
  text-align: center;
}

a {
  text-decoration: none;
  color: #000000;
}

ul {
  list-style: none;
}

.displayNone {
  display: none;
}

@media (min-width: 480px) {
  .maxWidth {
    max-width: 80%;
  }
}

.centrarTexto {
  text-align: center;
}

.boton {
  background-color: #1c1c1c;
  opacity: 50%;
  color: #ffffff;
  padding: 0.5rem;
  width: 7rem;
  height: 2.5rem;
  border-radius: 5px;
}
.boton:hover {
  opacity: 100%;
}

.botonAdmin {
  width: auto;
  border-style: none;
  margin: 1rem;
}

.botonNegro {
  opacity: 100%;
}
.botonNegro:hover {
  background-color: #f1f1f1;
  color: #000000;
  border: 1px solid #1c1c1c;
}

.botonAdd {
  display: flex;
  align-items: center;
  background-color: #1c1c1c;
  opacity: 50%;
  color: #ffffff;
  padding: 0.5rem;
  width: 100%;
  text-align: center;
  justify-content: center;
  height: 2.5rem;
  border-radius: 5px;
}
.botonAdd:hover {
  opacity: 100%;
}

.textAlign {
  text-align: center;
}

.width80 {
  margin: 0 auto;
}
@media (min-width: 480px) {
  .width80 {
    max-width: 80%;
  }
}
@media (min-width: 1100px) {
  .width80 {
    max-width: 50%;
  }
}

.prueba {
  display: block;
  width: 12rem;
  height: 12rem;
  margin: 0 auto;
  background-color: red;
}

.hidden {
  display: none;
}

.espacio {
  margin: 2rem 0;
}

.boton {
  cursor: pointer;
}

.header {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-around;
  justify-items: center;
  align-items: center;
  padding: 1rem;
  width: 100%;
  position: absolute;
  z-index: 1;
}
@media (min-width: 1100px) {
  .header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "buscar logo carrito" "navegacion navegacion navegacion";
    flex-direction: row;
    width: 100%;
  }
}

.header2 {
  position: relative;
  background-color: #1c1c1c;
}

.abrirMenu {
  display: block;
  background: none;
  border: none;
  max-width: 2rem;
  justify-content: center;
  align-items: center;
  justify-items: center;
  color: #ffffff;
}
@media (min-width: 1100px) {
  .abrirMenu {
    display: none;
  }
}

.cerrarMenu {
  display: none;
  background: none;
  border: none;
  max-width: 2rem;
  justify-content: center;
  align-items: center;
  justify-items: center;
  color: #ffffff;
}
@media (min-width: 1100px) {
  .cerrarMenu {
    display: none;
  }
}

.buscarIcono {
  display: none;
  background: none;
  border: none;
  max-width: 2rem;
  justify-content: center;
  align-items: center;
  justify-items: center;
  color: #ffffff;
  cursor: pointer;
}
@media (min-width: 1100px) {
  .buscarIcono {
    display: grid;
    grid-column-start: buscar;
    grid-column-end: buscar;
  }
}

.navegacion {
  grid-column-start: navegacion;
  grid-column-end: navegacion;
  display: none;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1100px) {
  .navegacion {
    display: flex;
    position: relative;
  }
}

.listado {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1100px) {
  .listado {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.logoContenedor {
  grid-column-start: logo;
  grid-column-end: logo;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.logoContenedor img {
  max-width: auto;
  max-height: 5rem;
}
@media (min-width: 1100px) {
  .logoContenedor img {
    max-width: 8rem;
  }
}

.logoContenedor:hover {
  cursor: pointer;
}

.carritoIcono {
  background: #1c1c1c;
  opacity: 30%;
  border-radius: 5px;
  padding: 2px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  align-items: flex-start;
  position: fixed;
  right: 2rem;
  top: 2rem;
}
@media (min-width: 1100px) {
  .carritoIcono {
    display: flex;
  }
}

.lista {
  padding: 0.5rem;
  border-radius: 5px;
  color: #ffffff;
}

.lista:hover {
  background-color: #ffffff;
  opacity: 50%;
  color: #1c1c1c;
  cursor: pointer;
}

#cuentaCarrito {
  background-color: #1c1c1c;
  border-radius: 100%;
  display: inline-block;
  width: 20px;
  aspect-ratio: 1;
  text-align: center;
  line-height: 20px;
}

.banner {
  background: url("../../src/img/joyasHero.jpg") fixed center/cover;
  height: 700px;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  color: #ffffff;
}

.banner::before {
  content: "";
  height: 100%;
  width: 100%;
  background-color: #1c1c1c;
  opacity: 50%;
}

.bannerInfo {
  position: absolute;
  text-align: center;
  margin: auto;
  margin-bottom: 5rem;
}

.banner2 {
  background: url(../../src/img/joyasHero2.webp) fixed center/cover;
  background-repeat: no-repeat;
}
.banner2 input {
  width: 100%;
  border: 1px solid #1c1c1c;
  height: 2rem;
  padding: 0.5rem;
  border-radius: 5px;
}
.banner2 textarea {
  width: 100%;
  height: 10rem;
  resize: none;
}

.form-contacto {
  position: absolute;
  vertical-align: bottom;
  top: 2rem;
}

.banner2::before {
  content: "";
  height: 100%;
  width: 100%;
  background-color: #1c1c1c;
  opacity: 50%;
}

.galeriaSugerencias {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: center;
  align-items: center;
  padding-bottom: 2rem;
}

.galeria {
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  gap: 1rem;
}
.galeria img {
  max-width: 100%;
}
@media (min-width: 480px) {
  .galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .galeria {
    grid-template-columns: repeat(4, 1fr);
  }
}

.loNuevo {
  background-color: #f1f1f1;
}

@media (min-width: 1100px) {
  .galeriaNuevo {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  text-align: start;
  margin-bottom: 1rem;
}

.footer {
  background-color: #1c1c1c;
}

.contentFooter {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 12rem;
  color: #ffffff;
  justify-content: space-between;
  align-items: center;
}

p {
  text-align: center;
}

.footer-bottom {
  background-color: gray;
  width: 100%;
  height: 2rem;
  text-align: center;
  margin: 0;
  justify-content: center;
}

.mision {
  background-color: #1c1c1c;
}

.misionContent {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0.5rem;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.misionContent img {
  max-width: 95%;
}
@media (min-width: 480px) {
  .misionContent img {
    width: 80%;
  }
}
@media (min-width: 768px) {
  .misionContent {
    display: grid;
    grid-template-columns: 50% 50%;
    justify-items: center;
    align-items: center;
  }
}

.misionInfo {
  color: #ffffff;
  max-width: 95%;
}
@media (min-width: 480px) {
  .misionInfo {
    max-width: 80;
  }
}

.galeriaPrincipal {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}

.botonAdd {
  border: none;
}

.card {
  display: flex;
  flex-direction: column;
}
.card img {
  width: 320px;
  height: 240px;
  object-fit: cover;
}

.botonAdd {
  cursor: pointer;
}

.contenidoForm {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  gap: 0.5rem;
}
.contenidoForm label {
  font-weight: bold;
}
.contenidoForm input, .contenidoForm select, .contenidoForm textarea {
  border: 1px solid gray;
  border-radius: 5px;
  padding: 0.5rem;
}
.contenidoForm textarea {
  height: 7rem;
}

.formEnvio {
  max-width: 95%;
  margin: 0 auto;
  background-color: gray;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}
@media (min-width: 480px) {
  .formEnvio {
    max-width: 80%;
  }
}
@media (min-width: 1100px) {
  .formEnvio {
    max-width: 60%;
  }
}

.formCampo {
  display: flex;
  flex-direction: column;
}
.formCampo input {
  height: 2rem;
  border-radius: 5px;
  border: solid 1px;
}

.formCampoRadio {
  margin: 1rem;
}

.enviar {
  display: block;
  width: auto;
  margin: 0 auto;
  border: 1px solid #1c1c1c;
  cursor: pointer;
}

.formCrear {
  max-width: 80%;
  margin: 0 auto;
}

.alerta {
  margin: 0 auto;
  max-width: 80%;
}
.alerta .error {
  background-color: #ed4337;
  margin: 1rem 0;
  padding: 0.5rem;
  border-radius: 5px;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
}

.contBP {
  display: flex;
  justify-content: space-between;
  max-width: 80%;
  margin: 0 auto;
}

table.productos {
  text-align: center;
  width: 80%;
  margin: 0 auto;
}
table.productos thead {
  background-color: gray;
}
table.productos thead th {
  color: #ffffff;
  padding: 0.5rem;
}
table.productos .imagenTabla {
  width: 10rem;
  height: 120px;
  object-fit: cover;
}

.botonesTabla {
  display: grid;
  justify-items: center;
  height: auto;
  gap: 0.5rem;
  height: 100%;
}

.imagenS {
  width: 15rem;
}

.producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.cardProducto img {
  margin: 0 auto;
  max-width: 100%;
}
@media (min-width: 480px) {
  .cardProducto img {
    max-width: 20rem;
  }
}
@media (min-width: 1100px) {
  .cardProducto img {
    max-width: 20rem;
  }
}
.cardProducto p {
  margin: 0.5rem;
}

.card {
  background-color: #f1f1f1;
  border-radius: 5px;
  padding: 0.5rem;
}

.cardNombre {
  font-weight: 700;
}

#ham-menu {
  display: none;
}

.label[for=ham-menu] {
  display: block;
  position: fixed;
  top: 24px;
  left: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #1c1c1c;
  opacity: 15%;
  border-radius: 10px;
}
@media (min-width: 1100px) {
  .label[for=ham-menu] {
    display: none;
  }
}

.ham-menu {
  width: auto;
  height: 100%;
  position: fixed;
  top: 0;
  visibility: hidden;
  transform: translate(-110%);
  z-index: 998;
  background-color: #1c1c1c;
  transition: 1s;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1100px) {
  .ham-menu {
    display: none;
  }
}

.ham-menu > ul {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  padding: 20px;
  height: 50%;
}

.ham-menu > ul > li {
  font-size: 2rem;
  white-space: nowrap;
  letter-spacing: 0.15em;
  cursor: pointer;
  color: #ffffff;
}

#ham-menu:checked + label {
  background-color: transparent;
  border-color: #1c1c1c;
}

#ham-menu:checked ~ div.ham-menu {
  transform: translate(0px);
  visibility: visible;
}

.full-page-green {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1c;
  opacity: 50%;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: 500ms;
  position: fixed;
  top: 0;
  left: 0;
}
@media (min-width: 1100px) {
  .full-page-green {
    display: none;
  }
}

#ham-menu:checked ~ div.full-page-green {
  display: block;
  opacity: 0.8;
  visibility: visible;
}

[for=ham-menu] > div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column wrap;
  align-content: center;
  align-items: center;
}

.menu-line {
  display: block;
  width: 17px;
  height: 2px;
  margin: 10px 0 5px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  background-color: #ffffff;
  transition: 500ms;
  transform-origin: right center;
}

[for=ham-menu] > div > span:nth-child(4),
[for=ham-menu] > div > span:nth-child(5),
[for=ham-menu] > div > span:nth-child(6) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  transform-origin: left center;
}

#ham-menu:checked + label span:nth-child(2),
#ham-menu:checked + label span:nth-child(5) {
  transform: scale(0);
}

#ham-menu:checked + label span:nth-child(1) {
  transform: translateY(17px) rotate(45deg);
}

#ham-menu:checked + label span:nth-child(4) {
  transform: translateY(17px) rotate(-45deg);
}

#ham-menu:checked + label span:nth-child(3) {
  transform: translateY(-17px) rotate(-45deg);
}

#ham-menu:checked + label span:nth-child(6) {
  transform: translateY(-17px) rotate(45deg);
}

.a {
  font-size: 1.6rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  display: inline;
  padding: 7px;
  color: #ffffff;
}

.text {
  font-size: 2.5rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
}

.title {
  font-size: 3rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  padding: 10px;
}

.heading {
  font-size: 6rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
}

.carrito-contenedor {
  max-width: 80%;
  margin: 0 auto;
}
.carrito-contenedor img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
}

.producto-en-carrito {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(3, 50% 25% 25%);
  align-items: center;
  margin: 1rem 0;
  font-size: small;
  justify-items: center;
}
@media (min-width: 1100px) {
  .producto-en-carrito {
    justify-items: normal;
    font-size: medium;
  }
}

.total-carrito {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0;
}

.botones-carrito {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 2rem;
  margin: 2rem 0;
}
.botones-carrito .boton-carrito {
  width: 10rem;
  cursor: pointer;
}

.producto-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 1100px) {
  .producto-contenido {
    flex-direction: row;
  }
}

.producto-info {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.producto-info p {
  margin: 0.3rem 0;
}
@media (min-width: 1100px) {
  .producto-info {
    flex-direction: row;
    column-gap: 1rem;
    margin-left: 1rem;
    justify-content: space-around;
  }
}

@media (min-width: 1100px) {
  .br {
    display: none;
  }
}

.producto-subtotal {
  text-align: center;
}