@import url(https://fonts.googleapis.com/css?family=Open+Sans:600,300);

html {
    overflow-y: scroll;
}

body {
    /*padding-top: 10px;*/
    background: #EDF7FA;
    font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

.navbar-logo {
    max-height: 60px;
}

.product-card {
    margin-bottom: 20px;
}

.product-img, .category-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hero-section {
  height: 60vh;
  position: relative;
  color: white;
  text-align: center;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,175,189,.7), rgba(100,216,243,.7), rgba(234,236,198,.7), rgba(245,146,176,.7), rgba(52,219,216,.7)) 0 0 / 1000% no-repeat, url(../images/hero.png) 0 0 / cover no-repeat;
    -webkit-animation: gradientAnimation 40s ease infinite;
    animation: gradientAnimation 40s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-content h1 {
  color: #fff;
  font : normal 600 72px/1 'Open Sans', sans-serif;
  white-space: nowrap;
}

.hero-content .lead {
  font-size: 40px;
  font-weight: 300;
}

.hero-section-mobile {
    padding: 40px 20px;
    background: linear-gradient(45deg, rgba(255,175,189,.7), rgba(100,216,243,.7), rgba(234,236,198,.7), rgba(245,146,176,.7), rgba(52,219,216,.7));
    color: white;
    text-align: center;
    height: 60vh;
}

.hero-section-mobile h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@-webkit-keyframes gradientAnimation {
  0%   { background-position: 0% 30%, 0 0;}
  50%  { background-position: 100% 70%, 0 0;}
  100% { background-position: 0% 30%, 0 0;}
}

@keyframes gradientAnimation {
  0%   { background-position: 0% 30%, 0 0;}
  50%  { background-position: 100% 70%, 0 0;}
  100% { background-position: 0% 30%, 0 0;}
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .lead {
        font-size: 24px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

:root{
      --blue: #B2DCE5;
      --bg: #EDF7FA;
      --card-radius: 0.75rem;
}

.custom-card{
      position: relative;
      /*top: 20vh;*/
      border-radius: var(--card-radius);
      transition: all .2s ease-in-out;
      overflow: hidden;
}

.card-top{
      background: var(--blue);
      height: 200px;
      border-top-left-radius: var(--card-radius);
      border-top-right-radius: var(--card-radius);
      position: relative;
}

.custom-card-img{
      width: 100%;
      height: 100%;
      object-fit: cover;
}

.overlay{
      position: absolute;
      inset: 0 auto auto 0;
      height: 100%;
      width: 100%;
      border-top-left-radius: var(--card-radius);
      border-top-right-radius: var(--card-radius);
      z-index: 10;
      background: rgba(0,0,0,.55);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      opacity: 0;
      transition: opacity 700ms ease;
}
.overlay-title{
      color: #fff;
      font-weight: 500;
      margin: 0;
      text-align: center;
}
.card-top:hover .overlay,
.overlay:focus{
      opacity: 1;
}

.triangle{
      width: 0;
      height: 0;
      border-left: 3em solid transparent;
      border-right: 3em solid transparent;
      border-top: 3em solid var(--blue);
      position: relative;
      margin: 0 auto -1.75em auto;
      top: -.25em;
      z-index: 20;
}

.card-middle{
      background: #efefef;
      padding: 2rem 1rem 1rem 1rem;
}
.card-middle .more{
      font-family: "Open Sans", Arial, sans-serif;
      font-weight: 400;
      margin: 0;
}

.card-bottom{
      background: #f7f7f7;
      padding: 1rem 1rem 1rem 1rem;
      border-bottom-left-radius: var(--card-radius);
      border-bottom-right-radius: var(--card-radius);
}
.card-title{
      font-weight: 100;
      margin: 0;
}

.close{
      display: block;
      width: 28px;
      height: 28px;
      margin: auto;
      transition: transform 400ms ease;
}
.closeRotate{
      transform: rotate(45deg);
}
.container-fluid{
    margin-left: 60px;
    margin-right: 60px;
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toast {
    padding: 15px 20px;
    margin-bottom: 10px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toast.show {
    opacity: 1;
}

/* Card styles from card_demo */
.product-card-container {
  position: relative;
  margin: auto;
  overflow: hidden;
  width: 550px;
  height: 300px;
  background: #F5F5F5;
  box-shadow: 5px 5px 15px rgba(186, 126, 126, .5);
  border-radius: 10px;
  margin-bottom: 20px; /* Added for spacing */
}

.product-card-container p {
  font-size: 0.6em;
  color: #BA7E7E;
  letter-spacing: 1px;
}

.product-card-container h1 {
  font-size: 1.2em;
  color: #4E4E4E;
  margin-top: -5px;
}

.product-card-container h2 {
  color: #C3A1A0;
  margin-top: -5px;
}

.product-card-container .images {
    width: 290px;
    /*height: 80%;*/
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.product-card-container img {
  /*
  width: 100%;
  height: 100%;
  */
  width: 290px;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
}

.product-card-container .product {
  position: absolute;
  width: 40%;
  height: 100%;
  top: 10%;
  left: 60%;
}

.product-card-container .desc {
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 17px;
  color: #4E4E4E;
  font-size: .7em;
  line-height: 1.6em;
  margin-right: 25px;
  text-align: justify;
  height: 120px; /* Set a fixed height */
  overflow-y: auto; /* Add scroll for long descriptions */
}

.product-card-container button {
  background: #caafb2; /* darken($light, 10%) -> #caafb2 */
  padding: 10px;
  display: inline-block;
  outline: 0;
  border: 0;
  margin: -1px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F5F5F5;
  cursor: pointer;
  border-radius: 5px;
}

.product-card-container button:hover {
  background: #BA7E7E;
  transition: all .4s ease-in-out;
}

.product-card-container .add {
  width: 67%;
}
/*
.product-card-container .like {
  width: 22%;
  margin-right: -30px;
  margin-left: 5px;
}
*/
/* End of card styles */

/* Style for moved buttons */
.product-card-container .buttons {
    position: absolute;
    top: 240px;
    left: 24px;
    width: 250px;
    display: flex;
    justify-content: center;
}

.product-card-container .add {
  width: 90%;
}
.dd-to-cart-btn, .view-details{
  border-radius: 10px;
}


.product-card-container form button {
    background: #caafb2;
    padding: 10px;
    display: inline-block;
    outline: 0;
    border: 0;
    margin: -1px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #F5F5F5;
    cursor: pointer;
    margin-right: -30px;
    margin-left: 5px;
    border-radius: 5px;
}

.progress-bar-step.clickable .step-circle {
    cursor: pointer;
}

.progress-bar-step.clickable:hover .step-circle {
    background-color: #e9ecef; /* A light grey for hover */
}

.progress-bar-step.active.clickable:hover .step-circle {
    background-color: #0b5ed7; /* A slightly darker blue for active hover */
}


/* Cart Wizard Styles */
.cart-wizard-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.progress-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.progress-bar-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ccc;
    font-weight: bold;
    position: relative;
    width: 25%;
    z-index: 1;
}

.progress-bar-step .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.progress-bar-step .step-label {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.4s ease;
}

.progress-bar-step.active .step-circle {
    border-color: #0d6efd;
    background-color: #0d6efd;
    color: #fff;
}

.progress-bar-step.active .step-label {
    color: #0d6efd;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    top: 18.5px;
    left: 12.5%;
    width: 75%;
    height: 3px;
    background-color: #ccc;
    z-index: 0;
}

.progress-bar-line {
    width: 100%;
    height: 3px;
    background-color: #0d6efd;
    position: absolute;
    top: 18.5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 0;
    transition: transform 0.4s ease;
}


.form-section-container {
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Adjust as needed */
}

.form-section {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    transform: translateX(50px);
}

.form-section.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.form-section.exit-to-left {
    opacity: 0;
    transform: translateX(-50px);
    position: absolute;
}

.btn .material-icons {
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 1.2em;
}

/* Estilos para la sección de pago (Propuesta 2) */
.form-section[data-step="4"] .payment-methods img {
    height: 25px; /* Ajusta el tamaño de los iconos de pago */
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.form-section[data-step="4"] .payment-methods {
    display: flex;
    align-items: center;
}

.form-section[data-step="4"] .card-title {
    font-weight: 600;
    color: #333;
}

.form-section[data-step="4"] .list-group-item {
    padding-left: 0;
    padding-right: 0;
}

.form-section[data-step="4"] .input-group-text {
    background-color: #e9ecef;
    border-left: 0;
}

/* Opcional: Iconos de Bootstrap Icons para los inputs */
/* Asegúrate de incluir la CDN de Bootstrap Icons si no la tienes:
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
*/
.form-section[data-step="4"] .input-group .bi {
    font-size: 1.1em;
    color: #555;
}
.payment-icon { height:22px; width:auto; vertical-align:middle; }

.main-content{
  max-width: 95%;
  padding: 0 50px;
}
.container-card-catalog{
  margin-right: 135px;
}
/* Legend that shows the active search or category filter */
.results-legend {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer a:hover {
  color: #ffd700; /* resalta enlaces en hover con tono dorado */
}
.footer hr {
  opacity: .2;
}
