/*********************************** Google fonts imports *********************************************/
/*category title font*/
@import url("https://fonts.googleapis.com/css2?family=Lobster+Two&display=swap");
/*page body fonts*/
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,700");

/************************************************Headings section**************************************/
/*main canva-picture banner*/
.main-header {
  width: 100%;
}
/*category title*/
.categoria-title {
  font-family: "Lobster Two", cursive;
}

/************************************************* Floating  *****************************************/
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation-play-state: paused; /* Stop pulsing on hover */
}

.whatsapp-float:hover .whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
}

.whatsapp-tooltip {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  right: 110%; /* Position to the left of the button */
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
}

/* Pulsing Animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Floating Cart Button */
.cart-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px; /* Positioned above the WhatsApp icon (40px + 60px + 10px margin) */
    right: 40px;
    background-color: #eee;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cart-float:hover {
    transform: scale(1.1);
}

/************************************************* Shopping Items Rows-Columns *****************************************/
* {
  box-sizing: border-box;
  font-family: Raleway;
  color: #777;
}

.heading {
  text-align: center;
}

.columns {
  float: left;
  width: 20%;
  padding: 12px;
  min-height: 300px;
}

.rows:after {
  content: "";
  display: table;
  clear: both;
}

/* Mobile Phone - Two Columns - If the screen is less than 768px the cols will go 50% - 768px*/
@media screen and (max-width: 800px) {
  .columns {
    width: 50%;
  }
}
/* Tablets - 3 Columns - If the screen is less than 768px the cols will go 50%*/
@media only screen and (min-width: 801px) and (max-width: 1200px) {
  .columns {
    width: 33%;
  }
}

/*Surface - 4 Columns - If the screen is less than 768px the cols will go 50%*/
@media only screen and (min-width: 1201px) and (max-width: 1201px) {
  .columns {
    width: 25%;
  }
}

/* ELSE - Five Columns  - 20% per column total 5 columns, for full pc monitor*/

/***************************************Shopping Item Box***************************************/
/*Image-arregloFloral*/
.shopingImage {
  width: 100%;
  max-width: 300px;
  max-height: 250px;
  border-radius: 1em;
}
.price {
  color: red;
  text-align: center;
}
.btn {
  text-align: center;
  vertical-align: middle;
  padding: 0.50em;
  cursor: pointer;
  float: right; /* Aligns the button to the right */
}
.btn-primary {
  color: white;
  background-color: #00412E; /* 56ccf2 , 00412E */
  border: none;
  border-radius: 0.3em;
}
.btn-primary:hover {
  background-color: #96BF8A; /* 2d9cbd , 96BF8A*/
}
.code-description {
  color: #333;
}
.btn-primary.clicked {
    background-color: #28a745;
    transform: scale(1.1);
}


/***************************************************** Cart Section **********************************/
.cart-header {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
}
.cart-column {
  display: flex;
  align-items: center;
  border-bottom: 1px solid black;
  margin-right: 1.5em;
  padding-bottom: 10px;
  margin-top: 10px;
  font-family: Raleway;
}
.cart-row {
  display: flex;
}
.cart-item {
  width: 45%;
}
.cart-price {
  width: 20%;
  font-size: 1.2em;
  color: #333;
}
.cart-quantity {
  width: 35%;
}
.cart-item-title {
  color: #333;
  margin-left: 1em;
  font-size: 1.2em;
}
.cart-item-image {
  width: 75px;
  height: auto;
  border-radius: 10px;
}
.cart-delivery-image {
  width: 100px;
  height: auto;
  border-radius: 10px;
}
.btn-danger {
  color: white;
  background-color: #eb5757;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  font-size: 1em;
}
.btn-danger:hover {
  background-color: #cc4c4c;
}
.cart-quantity-input {
  height: 34px;
  width: 50px;
  border-radius: 5px;
  border: 1px solid #56ccf5;
  background-color: #eee;
  color: #333;
  padding: 0;
  text-align: center;
  font-size: 1.2em;
  margin-right: 25px;
}

.cart-zona-input {
  height: 40px;
  width: 120px;
  border-radius: 5px;
  border: 1px solid #56ccf5;
  background-color: #eee;
  color: #333;
  padding: 0;
  text-align: center;
  font-size: 1.2em;
  margin-right: 25px;
}
.cart-row:last-child {
  border-bottom: 1px solid black;
}
.cart-row:last-child .cart-column {
  border: none;
}
.cart-total {
  text-align: end;
  margin-top: 10px;
  margin-right: 10px;
}
.cart-total-title {
  font-weight: bold;
  font-size: 1.5em;
  color: black;
  margin-right: 20px;
}
.cart-total-price {
  color: #333;
  font-size: 1.1em;
}
.btn-purchase {
  display: block;
  margin: 40px auto 80px auto;
  font-size: 1.75em;
  float: none;
}

/*This targets an element with the class error that is a child of .input-control. 
It's likely used to display error messages or indicators associated with input fields in an error state. 
It sets the text color to red, reduces the font size, and sets a specific height, likely to accommodate small error messages.*/
.input-control.error input {
  border-color: #ff3860;
}

/*Overall, this rule appears to be styling error messages or indicators within input controls. 
It makes the text red, sets a small font size, and restricts the height of the element to maintain a compact appearance.*/
.input-control .error {
  color: #ff3860;
  font-size: 9px;
  height: 13px;
}
/**********************************************Fotter Section**********************************/
.footer {
  text-align: center;
  margin-top: 20px;
  background-color: #00412E;
  color: white;
  padding: 10px;
  border-radius: 10px;
}

.footer p {
  margin: 5px;
}

/* Banner Animation */
#banner-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.main-header {
  width: 100%;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

/***************************************************** Cart Modal **********************************/
.cart-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Sit on top, higher than image modal */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
}

.cart-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cart-close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
}

.cart-close-button:hover,
.cart-close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}