/* Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    /* Primary Colors */
    --color-primary: #3498db; /* Blue */
    --color-primary-dark: #2980b9; /* Dark Blue */
    --color-primary-light: #5dade2; /* Light Blue */
  
    /* Secondary Colors */
    --color-secondary: #2ecc71; /* Green */
    --color-secondary-dark: #27ae60; /* Dark Green */
    --color-secondary-light: #58d68d; /* Light Green */
  
    /* Accent Colors */
    --color-accent: #353535;
    --color-accent-dark: #d35400; /* Dark Orange */
  
    /* Neutral Colors */
    --color-white: #ffffff; /* White */
    --color-black: #000000; /* Black */
    --color-gray: #95a5a6; /* Gray */
    --color-gray-dark: #7f8c8d; /* Dark Gray */
    --color-gray-light: #bdc3c7; /* Light Gray */
  
    /* Background Colors */
    --color-background: #ffffff; /* Light Background */
    --color-navbar: #faf7f6;
    --color-background-dark: #2c3e50; /* Dark Background */
    --color-navbar-dark: #2c3e50;
  
    /* Text Colors */
    --color-text: #59758f; /* Dark Text */
    --color-text-hover: #59758f6c;
    --color-text-secondary: #af816e;
    --color-text-secondary-hover: #af826e73;
    --color-text-light: #ffffff; /* Light Text */
    --color-text-muted: #95a5a6; /* Muted Text */
  
    /* Status Colors */
    --color-success: #2ecc71; /* Success (Green) */
    --color-warning: #f1c40f; /* Warning (Yellow) */
    --color-error: #e74c3c; /* Error (Red) */
    --color-info: #3498db; /* Info (Blue) */
  }

  body{
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  
  .hero-video {
    display: block !important; /* Force display on all screen sizes */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensure video stays in the background */
  }
  
  .hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the video */
  }
  
  .hero-body {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5); /* Overlay for better readability */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo {
    max-width: 360px;
  }
  
  /* Smooth transition between sections */
  html {
    scroll-behavior: smooth;
  }
  
  section {
    scroll-snap-align: start;
    height: 100vh;
    overflow-y: auto;
  }
  
  #section2 {
    background-image: url('../images/background0.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    align-items: flex-end; /* Align content to the bottom */
    justify-content: center;
    text-align: center;
    padding-bottom: 2rem; /* Add some padding at the bottom */
  }
  
  #section2 .content-wrapper {
    max-width: 400px; /* Adjust as needed */
    margin: 0 auto;
    margin-bottom: 3rem;
  }
  
  #section2 .text-uppercase {
    text-transform: uppercase;
    color: var(--color-white);
    font-size: 2rem; /* Adjust font size as needed */
    margin-bottom: 1rem; /* Space between paragraphs */
  }
  
  #section2 .text-italic {
    font-style: italic;
    color: var(--color-white);
    font-size: 1.5rem; /* Adjust font size as needed */
  }
  
  #section3 {
    padding: 0;
  }

  .motto-title {
    color: var(--color-white);
    font-size: 3rem;
  }

  .motto-subtitle {
    color: var(--color-black);
    font-size: 1.5rem;
  }
  
  .image-showcase {
    padding-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 0; /* Remove gap between images */
    height: 100%; /* Ensure the showcase takes the full height of the section */
  }
  
  .image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure the container takes the full height of the showcase */
  }

  .zoom-img img {
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.25, 0.45, 0.45, 0.95);
  }

  .zoom-img:hover img {
    transform: scale(1.1);
    filter: brightness(1.05); /* Slight brightness increase */
  }
  
  .showcase-image {
    width: 100%;
    height: 100%; /* Ensure the image takes the full height of the container */
    object-fit: cover; /* Ensure the image covers the container without stretching */
    display: block;
  }
  
  .middle-image {
    position: relative;
    overflow: visible;
  }
  
  .overlay-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 4;
    padding: 1rem; /* Large horizontal padding, smaller vertical padding */
    white-space: nowrap; /* Prevent text from wrapping */
  }
  
  /* Section 4 Styles */
  
  #section4 .columns .column {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  
  .product-card {
    position: relative;
    text-align: center;
  }
  
  .wishlist-button {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    background-image: url(../images/icons/iconos_like.svg) ;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .wishlist-button.is-active{
    background-image: url(../images/icons/iconos_like_full.svg);
  }
  
  .product-image {
    width: 360px;
    height: 360px;
    margin-bottom: 1rem;
  }

  .product-details-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .product-details-image.active {
    opacity: 1;
  }


  .image-nav-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
  }

  .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-gray-light);
    cursor: pointer;
  }

  .nav-dot.active {
    background-color: var(--color-text-secondary);
  }
  
  .product-info {
    margin-bottom: 1rem;
  }

  .pre-order-ribbon {
    text-transform: uppercase;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.25rem 0rem;
    text-align: center;
    background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  }
  
  .product-title {
    text-transform: uppercase;
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  .product-rating {
    font-size: 0.9rem;
  }

  .product-rating img {
    width: 20px;
  }
  
  .add-to-cart-button {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background-image: url(../images/icons/iconos_detalle.svg);
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  
  .add-to-cart-button:hover {
    filter: brightness(70%); /* Darkens the image (70% of original brightness) */
  }
  
  .add-to-cart-button i {
    font-size: 2rem;
    font-weight: 100;
  }

  .show-all-btn {
    background-color: none;
    background-image: url(../images/icons/iconos_down_arrow.svg) ;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  /* Section 5 Styles */
  #section5 {
    padding: 2rem 0;
  }

  .product-grid-title {
    color: var(--color-text);
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 5;
    text-align: center;
  }
  
  /* Product Details Column */
  .product-details {
    padding-left: 2rem;
  }
  
  .product-name {
    color: var(--color-text);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
  }
  
  .product-price {
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0rem;
  }
  
  .product-summary {
    color: var(--color-black);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
  
  /* Collapsible Description */
  .description-section {
    border-top: 1px solid var(--color-text-secondary-hover);
    border-bottom: 1px solid var(--color-text-secondary-hover);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
  }

  .description-section p {
    color: var(--color-black);
  }
  
  .description-header {
    color: var(--color-text);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .toggle-description-button {
    background-color: transparent;
    border: none;
    padding: 1rem;
    cursor: pointer;
    background-color: none;
    background-image: url(../images/icons/iconos_down_arrow.svg) ;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .description-content {
    display: none;
    margin-top: 1rem;
  }
  
  .description-content.active {
    display: block;
  }
  
  /* Form Styles */
  .product-form .field {
    margin-bottom: 2rem;
  }
  
  .product-form .label {
    color: var(--color-text);
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .product-form .input,
  .product-form .add-to-cart-button-details {
    width: 10rem;
    padding: 0.75rem;
    border: 1px solid var(--color-text-secondary-hover);
    border-radius: 0;
    font-size: 1rem;
  }

  .product-select{
    width: 10rem;
    border: 1px solid var(--color-text-secondary-hover) !important;
    border-radius: 0!important;
    font-size: 1rem;
  }
  
  .product-form .add-to-cart-button-details {
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-white);
    cursor: pointer;
    background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  }
  
  .product-form .add-to-cart-button-details:hover {
    color: var(--color-white);
    background-color: var(--color-black);
  }
  
  /* Add to Wishlist Button */
  .add-to-wishlist-button {
    width: 11rem;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .add-to-wishlist-button.is-active{
    color: var(--color-accent-dark);
  }

  /*
  .add-to-wishlist-button:hover {
    color: var(--color-gray);
  }
  */

  .kapimi-btn {
    border-radius: 0 !important;
    border: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-white);
    cursor: pointer;
    background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  }

  .kapimi-btn:hover {
    color: var(--color-gray-light);
  }
  
  /* Responsive Styles */
  @media screen and (max-width: 768px) {
    .image-container:not(.middle-image) {
      display: none; /* Hide all images except the middle one on small screens */
    }
  
    .middle-image {
      flex: 1 1 100%; /* Allow the middle image to take full width */
    }
  }
  
  /* Navigation Bar Styles */
  .navbar {
    background-color: var(--color-navbar);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: block;
  }
  
  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0px;
  }
  
  .navbar-logo {
    flex-grow: 1;                   /* Allow the logo to take up available space */
    text-align: center;             /* Center the logo horizontally */
  }
  
  .navbar-logo .logo {
    margin-top: 10px;
    max-width: 250px;
    text-align: center;
  }
  
  .navbar-icons {
    display: flex;
    gap: 20px;
    margin-right: 1rem;
    z-index: 5;
  }

  .navbar-icon {
    display: flex;
    align-items: center;
  }
  
  .navbar-icon img{
    height: 30px;
  }
  
  .navbar-bottom {
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 80px;
    padding-top: 0px;
  }
  
  .navbar-link {
    text-transform: uppercase;
    font-weight:400;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
    padding: 0 0.75rem;
  }
  
  .navbar-link:hover {
    color: var(--color-text-hover);
    background-color: rgba(0, 0, 0, 0);
  }

  /* Shopping Cart Styles */
.shopping-cart-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: calc(100vh);
  background-color: var(--color-white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.shopping-cart-sidebar.active {
  right: 0;
}

.shopping-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}

.shopping-cart-overlay.active {
  display: block;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.cart-title {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.25rem;
}

.cart-close {
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.cart-item-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cart-item-details {
  padding-left: 1rem;
}

.cart-item-name {
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: bold;
}

.cart-item-price {
  color: var(--color-text-secondary);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-item-size {
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cart-item-actions {
  display: flex;
  align-items: center;
}

.cart-item-quantity {
  width: 60px;
  padding: 0.25rem;
  text-align: center;
  border: 1px solid var(--color-gray-light);
  margin-right: 0.5rem
}

.cart-item-remove {
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: bold;
}

.cart-item-remove:hover {
  color: var(--color-error);
}

.cart-note {
  margin-top: auto;
  padding-top: 1.5rem;
}

.cart-note-title {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-note-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.cart-checkout {
  margin-top: 1.5rem;
}

.checkout-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.checkout-button.disabled{
  cursor:not-allowed;
}

#result-message {
  color: unset;
}

.display-none {
  display: none;
}

.footer {
  margin-top: 3rem;
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
}

.footer .title {
  font-weight: 500;
  color: var(--color-white);
}

.footer a, p {
  color: var(--color-white);
  font-weight: 300;
}

.footer p, ul {
  margin-left: 0.5rem;
}

.footer button {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 4;
  background-color: var(--color-white);
  padding: 1.5rem;
}

.footer input {
  color: var(--color-white);
  background-color: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
}

.footer ::placeholder {
  color: var(--color-white);
  font-weight: 300;
  font-family: "Josefin Sans", sans-serif;
  opacity: 1; /* Firefox */
}

.footer ::-ms-input-placeholder { /* Edge 12 -18 */
  color: var(--color-gray-light);
}

.auth-form .label{
  color: var(--color-text-secondary);
}

.auth-form input {
  border-radius: 0;
  border-color: var(--color-text-secondary);
  color: var(--color-text-secondary);
}

.auth-form .button {
  margin-top: 2rem;
  font-size: 1.5rem;
  width: 100% !important;
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%) !important;
}

/* Bulma default form customization */

.box {
  background-color: #fff;
  border-radius:6px;
  box-shadow: none;
  display: block;
  padding: 1.25rem;
  border: solid 1px var(--color-text-secondary-hover);
}

.box button {
  padding: 1rem;
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

.box button:hover {
  color: var(--color-gray-light);
}

/* Checkout template styles */

.checkout-form .title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text);
}

.checkout-form .field:not(:has(input[type="submit"])) {
  border-color: var(--color-text-secondary-hover);
  border-radius: 5px;
  border-width: 1px;
  border-style: solid;
  padding: 0.5rem 0.75rem;
}

.checkout-form input {
  font-family: "Josefin Sans", sans-serif;
}

.checkout-form .label{
  margin-bottom: 0;
  font-weight: 300;
}

.checkout-form .input {
  border: none;
  box-shadow: none;
  padding: 0;
  height: auto;
}

.checkout-form input[type="submit"]{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 5px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

#continueBtn {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 5px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

/* Section legal style */

.section-legal {
  padding: 2rem;
}

.section-legal .title{
  font-size: 1.5rem;
  color: var(--color-text);
}

.section-legal ol li {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.section-legal p {
  color: var(--color-black);
  margin-bottom: 1rem;
}

.section-legal ul li {
  color: var(--color-black);
  font-weight: 300;
}
  
  /* Ensure the video is always visible */
  @media screen and (max-width: 768px) {
    .hero-video {
      display: block !important; /* Force display on mobile */
    }
  }

  .product-images {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: ns-resize;
  }

  .product-detail {
    position: fixed;
    top: 5.5rem;
    right: -100%; 
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
  }
  
  .product-detail.open {
    right: 0; 
  }

  .image-trash {
    position: absolute;
    top: .1rem;
    left: 1.4rem;
    cursor: pointer;
  }
  
  .is-checkradio{
    cursor: pointer;
  }

  #productImages img {
    width: 10rem;
    margin: 0 1rem;
}

.category-tag{
  cursor: pointer;
}

.tag {
  background-color: var(--color-navbar) !important;
  color: var(--color-black) !important;
}

/* FLASH */

[role="alert"] {
  margin: 1.5em;
  padding: 1.5em;
  position: fixed;
  border-radius: 5px;
  width: 25%;
  right: 11.4%;
  z-index: 999999999;
}

[role="alert"] > .close {
  position: absolute;
  top: 1px;
  right: 1px;
}

.padded {
  padding: 1.5em;
}

.info {
  background-color: #b0806e;
  color: var(--color-background);
  opacity: 0.75;
}

[role="dialog"] > input[type=checkbox] { display: none !important; }
input[type=checkbox]:checked ~ div {visibility:visible; opacity:1}
[role="dialog"] > div > *:not(.close) {width: 66%; margin-left:auto; margin-right:auto; border-radius: 5px;}
[role="dialog"] > div > .close, [role="alert"] > .close {
  background: url('data:image/svg+xml;utf8,<svg fill="%23000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 8.7070312 7.2929688 L 7.2929688 8.7070312 L 10.585938 12 L 7.2929688 15.292969 L 8.7070312 16.707031 L 12 13.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13.414062 12 L 16.707031 8.7070312 L 15.292969 7.2929688 L 12 10.585938 L 8.7070312 7.2929688 z"/></svg>') center right no-repeat;
  width:24px; height:24px; cursor: pointer; position:absolute; top:15px; right:15px;
  cursor: pointer;
}
/* FLASH */

.product_description{
  color: #363636;
}

/* Search modal style */

.search-modal-content {
      max-width: 600px;
      width: 90%;
      margin: 0 auto;
      }

.shipping-options .card {
        cursor: pointer;
        transition: all 0.3s ease;
        height: 100%;
    }
    .shipping-options .card:hover {
        box-shadow: 0 0.5em 1em -0.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02);
    }
    .shipping-options .radio {
        display: flex;
        align-items: center;
    }
    .shipping-options input[type="radio"] {
        margin-right: 10px;
    }