.contenido{
  margin: 10%;
  /*background-color: #FFF8BC;*/
}

/*.row{
  margin: 5%;
}*/

.contenido h1{
  text-align: center;
  margin-bottom: 5%;
  margin-top: 5%;
  font-weight: bolder;
}

.contenido h4{
  font-weight: bolder;
  text-align: center;
}

.contenido p{
  text-align: center;
}

.card-text{
  display: none;
}

.precio{
  font-weight: bolder;
  text-align: right;
}

/*Boton de Mostar mas*/

button{
  background: none;
  border: none;
  color: rgb(0, 0, 255);
  font-weight: bolder;
  cursor: pointer;
}

button:hover{
  color: rgb(66, 211, 255);
  text-decoration: underline;
}

.btnMenos{
  display: none;
}

.mostrar{
  display: block;
}

.ocultar{
  display: none;
}

/*Imagenes*/

.card-img-top {
    width: auto !important;
    max-width: none !important;
    display: block;
}

.imgWrapper {
  width: 100%;
  height: 220px;          /* ALTURA CONTROLADA */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;       /* RECORTA EL EXCESO */
}

.card img{
  height: 100%;
  object-fit: contain;       /* mantiene proporciones */
}

.rotacion{
  transform: rotate(90deg);  /* si necesitas rotarlas */
}

/*Cocos Hawaii contenido*/

/* Prevent Bootstrap rows from stretching cards to the same height.
   Bootstrap's .row uses align-items: stretch by default which makes
   columns (and their .card.h-100) match heights. We want cards to
   size to their own content so expanding one card doesn't stretch others. */
.contenido .row {
  align-items: flex-start;
}

/* Ensure cards that use .h-100 (to fill parent) don't forcibly stretch
  when inside the menu content rows. */
.contenido .card.h-100 {
  height: auto;
}

.card.h-100{
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.card.h-100:hover {
  transform: scale(1.08);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4);
}


/* Prevent images from overflowing the card border. Make the card a clipping
   container so rotated or oversized images are clipped to the card's rounded
   corners and border. */
.contenido .card {
  overflow: hidden;
  /* keep existing border-radius from Bootstrap but ensure clipping */
}

/* Sticky footer: make the page a column flex container so footer
stays at the bottom when content is short but flows naturally otherwise. */
html, body {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  /* allow main content to grow and push footer down */
  flex: 1 0 auto;
}

footer {
  /* ensure footer remains at the end of the page */
  margin-top: auto;
}

@media(max-width: 768px){
  
  .contenido {
    margin-top: 25%;
  }

}

/*The MIT License (MIT)

Copyright (c) 2011-2025 The Bootstrap Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.*/