@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Instrument+Serif:ital@0;1&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --bs-primary: #016fb7;
  --bs-primary-rgb: 1, 111, 183;
  --bs-primary-hover: #005a91;
  --bs-link-color: #016fb7;
  --bs-pagination-active-bg: #016fb7;
  --bs-pagination-active-border-color: #016fb7;
  --bs-dark: #041c2b;
  --bs-border-radius: 3px;
  --bs-border-width: 1px;
  --primary-light: #f2f8fc;
  --accent: #f9923A;
}

html {
  font-size: 16px;
}
@media (min-width: 769px) and (max-width: 1280px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", sans-serif;
  font-size: 1rem;
  color: var(--bs-dark);
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}
a:hover {
  color: var(--bs-primary-hover);
}

@media (min-width: 1025px) {
  .container-fluid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Urbanist", sans-serif;
  font-weight: 300;
  letter-spacing: normal;
}
h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h1 em,
.h2 em,
.h3 em,
.h4 em,
.h5 em,
.h6 em {
  font-family: "Instrument Serif", serif;
}

.small,
small {
  font-size: 0.8rem;
}
.text-muted {
  opacity: 0.75;
}
.text-primary {
  color: var(--bs-primary) !important;
}
.bg-primary {
  background-color: var(--bs-primary) !important;
}
.bg-warning {
  background-color: var(--accent) !important;
  color: white !important;
}
/* Header y Navbar */
.preheader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  background-color: var(--primary-light);
  color: var(--accent);
  border-bottom: 1px solid #d3e2ec;
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.3px;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .preheader {
    font-size: 0.8rem;
  }
}

.header-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-bottom: 1px solid #d3e2ec;
}
.header-main .header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
}

/* Search Input */
.header-main input.form-control {
  border-radius: 8px;
  color: var(--bs-primary);
  height: 40px;
  overflow: visible;
}
.header-main input[type="search"]::-webkit-search-cancel-button {
  display: none;
}
#search-form-desktop {
  position: relative;
  display: flex;
  width: 100%;
}
#search-form-desktop .btn-search {
  position: absolute;
  right: 0.5rem;
  top: 48%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.2rem;
  margin: 0;
  cursor: pointer;
  color: var(--bs-primary);
}
#search-form-desktop .clear-btn {
  position: absolute;
  right: -2rem;
  top: 48%;
  transform: translateY(-50%);
  cursor: pointer;
  display: none;
}

/* Search Panel */
.search-panel {
  position: absolute;
  top: calc(100% - 48px); /* Justo antes del navbar */
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: #fff;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0;
}
.search-panel-body {
  padding: 0.5rem 0 1.5rem 0;
}
.search-products-container {
  display: flex;
  gap: 1rem;
}
.search-product-item {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 0 0 150px; /* Base para el tamaño de los productos */
}
.search-product-item:hover {
  color: var(--bs-primary);
}
.search-product-item img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}
.search-product-details .brand {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6c757d;
}
.search-product-details .name {
  font-size: 0.875rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  height: 2.625em; /* 2 líneas de texto */
  overflow: hidden;
}
.search-product-details .price {
  font-size: 1rem;
  font-weight: 700;
}

/* Estilos para el panel de búsqueda en móvil */
@media (max-width: 991.98px) {
  .search-panel.show,
  .search-panel.collapsing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    display: block !important;
  }
  .search-panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
  }
  .search-panel-body {
    overflow-y: auto;
    height: calc(100% - 60px); /* Altura del body = 100% - altura del header */
  }
  .search-products-container {
    flex-direction: column;
  }
  .search-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
  }
  .search-product-item img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
}
.search-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 940;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0;
}


/* Header Icons */
.header-main .header-icons {
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  gap: 1.5rem;
}
.header-main .header-icons a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--bs-primary);
}
.header-main .header-icons a:hover {
  color: var(--accent);
}
@media (max-width: 991.98px) {
  .header-main .header-icons {
    gap: 1rem;
  }
  .header-main .header-icons svg {
    height: 20px;
    width: 20px;
  }
  .header-main .header-icons a small {
    display: none;
  }
}

.header-main .badge {
  font-size: 0.6rem;
  font-weight: 600;
}

.navbar-custom {
  padding: 0;
  height: 48px;
  width: 100%;
}
.navbar-custom .container-fluid {
  padding-left: 1.5rem;
}
@media (max-width: 1024px) {
  .navbar-custom .container-fluid {
    padding-left: 0rem;
    padding-right: 0.5rem;
  }
}
@media (max-width: 991.98px) {
  .navbar-custom {
    height: auto;
    border-bottom: 1px solid #ecf1f5;
  }
  .navbar-custom .nav-link {
    border-bottom: 1px solid #ecf1f5 !important;
  }
}

.navbar-custom .navbar-nav {
  gap: 0;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .navbar-custom .navbar-nav {
    display: flex;
    justify-content: space-between;
  }
}
@media (min-width: 992px) {
  .navbar-nav {
    align-items: center;
  }
}

.navbar-custom .nav-link {
  font-family: "Urbanist", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1rem !important;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease-in-out;
  position: relative;
}
@media (min-width: 992px) {
  .navbar-custom .nav-link,
  .navbar-custom .nav-link.active {
    color: var(--bs-primary);
  }
  .navbar-custom .nav-link:hover {
    border-bottom-color: var(--bs-primary);
  }
  .navbar-custom .navbar-nav .dropdown-toggle::after {
    display: none;
  }
  .navbar-custom .nav-link.active::after {
    display: block !important;
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--accent);
  }
  .offcanvas-body-custom {
    width: auto;
    justify-content: space-between;
    flex-grow: 1;
  }
}
@media (min-width: 992px) and (max-width: 1280px) {
  .navbar-custom .nav-link {
    font-size: 0.88rem;
    padding: 0.9rem 0.85rem !important;
  }
}
.btn-promociones {
  border: 1.64px solid var(--accent);
  color: var(--accent);
  font-family: "Urbanist", sans-serif;
  font-size: 0.75rem;
  font-weight: 500 !important;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}
.btn-promociones svg {
  height: 16px;
  width: auto;
}
.btn-promociones:hover {
  background-color: var(--accent);
  color: white;
}


/* Navbar con scroll horizontal */
.nav-scroll-container {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
}
@media (min-width: 1160px) {
  .nav-scroll-container {
    max-width: 92%;
  }
}
@media (min-width: 1400px) {
  .nav-scroll-container {
    max-width: 84%;
  }
}
.nav-scroll-container .navbar-nav {
  flex-wrap: nowrap;
}
.nav-scroll-container::-webkit-scrollbar {
  display: none;
}

/* --- Custom Offcanvas-like Navbar for Mobile --- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: #fff;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    padding: 0;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
  }

  .navbar-backdrop.show {
    opacity: 1;
    visibility: visible;
  }

  /* Estilo del contenido dentro del menú móvil */
  .offcanvas-body-custom {
    padding: 0;
  }

  .offcanvas-header-custom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #dee2e6;
  }

  /* Ocultar megamenú y mostrarlo como acordeón */
  .navbar-nav .dropdown-menu {
    display: none;
    width: auto;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }

  .navbar-nav .dropdown-menu.show {
    display: block;
  }

  .navbar-nav .dropdown-toggle::after {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  .navbar-nav .dropdown-menu .cta-card {
    display: none;
  }
}

/* --- Estilos Mega-Menu (Desktop) --- */
.megamenu {
  position: static;
  color: var(--bs-dark);
}

.megamenu .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
  margin-top: 1px;
  border-radius: 0;
  border: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  padding: 1rem 2.5rem;
}

.megamenu .dropdown-menu .megamenu-title {
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--bs-primary);
  font-size: 1.25rem;
}

.megamenu .dropdown-menu .megamenu-subsection {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.megamenu .dropdown-menu .megamenu-subsection a.subsection-title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-family: "Urbanist", sans-serif;
}
.megamenu .dropdown-menu .megamenu-subsection a {
  text-decoration: none;
  color: var(--bs-dark);
  display: block;
  padding: 0.2rem 0;
  line-height: 1.2;
  font-size: 0.9rem;
}

.megamenu .dropdown-menu .megamenu-subsection a:hover {
  color: var(--bs-primary);
}

/* Megamenu (Desktop) */
@media (min-width: 992px) {
  .megamenu:hover > .dropdown-menu {
    display: block;
  }
  .offcanvas-body-links {
    display: none;
  }
  .megamenu .cta-card {
    margin-bottom: 1.5rem;
    min-height: 94%;
  }
}

/* Megamenu Responsive */
@media (max-width: 991.98px) {
  .megamenu .dropdown-menu {
    box-shadow: none;
    border-bottom: 1px solid #ecf1f5;
  }
  .megamenu .dropdown-menu .megamenu-title {
    display: none;
  }
  .megamenu .dropdown-menu a {
    color: var(--bs-dark);
  }
  .offcanvas-body-links {
    border-top: none;
  }
  .offcanvas-body-links-item {
    display: flex;
    gap: 1rem;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ecf1f5;
    padding: 0.5rem 1rem;
  }
  .offcanvas-body-links-item .btn {
    padding-left: 0;
    padding-right: 0;
    width: auto !important;
    flex-grow: 0;
    font-size: 1rem !important;
    font-weight: 500 !important;
  }
  .offcanvas-body-links-item .btn-promociones {
    flex-shrink: 0;
    justify-content: flex-start;
    border:none;
    color: var(--accent);
    text-transform: uppercase;
  }
  .navbar-custom .nav-link {
    font-family: "Geist", sans-serif;
    font-weight: 500;
    color: var(--bs-dark);
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.5px;
  } 
  .megamenu .dropdown-menu .megamenu-subsection a.subsection-title {
    text-transform: none;
    font-size: 1rem;
    font-family: "Geist", sans-serif;
    margin-left: 0;
  }
  .megamenu .dropdown-menu .megamenu-subsection-2nd-level a,
  .megamenu .dropdown-menu .megamenu-subsection a.subsection-title a {
    margin-left: 1rem;
  }
  .megamenu .dropdown-menu .megamenu-subsection-2nd-level a {
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 400 !important;
  }
}






/* MAIN */
main section {
  padding: 2.5rem 0;
  background-color: var(--primary-light);
}
main section .pretitle {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 500;
}
main section .section-title {
  color: var(--bs-dark);
}

/* Slider Demo - Cambiar por el plugin de Magento */
.slider-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  height: 60vh;
  min-height: 480px;
  max-height: 560px;
  color: #fff;
  background-color: #666;
  background-image: url("../img/slider/slider-03.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Brands Slider - Cambiar por el plugin de Magento */
#brands {
  padding: 2rem;
  background: white;
  overflow: hidden;
}
#brands img {
  width: auto;
  max-width: 80px;
  height: auto;
}
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.slide-track {
  display: flex;
  width: calc(250px * 14); /* 7 logos x2 (duplicados) */
  animation: scroll 30s linear infinite;
}
.slide-track img {
  height: 50px;        /* ajusta altura según diseño */
  margin: 0 2rem;      /* espacio entre logos */
  flex-shrink: 0;
  object-fit: contain;
}
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Breadcrumb (scroll horiz) */
#breadcrumb-section {
  padding: 1.5rem 0 0.5rem 0;
  background: white;
}

.breadcrumb {
  color: var(--bs-dark);
  opacity: 0.5;
  margin-bottom: 0.5rem;
  background-color: transparent;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
}
.breadcrumb::-webkit-scrollbar {
  height: 3px;
}
.breadcrumb::-webkit-scrollbar-track {
  background: transparent;
}
.breadcrumb::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.breadcrumb::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.25rem;
}
.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.25rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #6c757d;
  padding-right: 0.25rem;
  font-size: 0.8rem;
}
.breadcrumb-item a {
  transition: color 0.2s ease;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bs-dark);
  text-decoration: underline;
}
.breadcrumb-item a:hover {
  color: var(--bs-dark);
  text-decoration: underline;
}
.breadcrumb-item.active,
.breadcrumb-item.active a {
  color: var(--bs-dark);
  text-decoration: none;
}




/* Features Icons Section */
#features-icons {
  color: #041c2b;
  background: white;
}
#features-icons .features-icons-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  padding: 1rem 3rem;
  font-family: "Urbanist", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
}
@media (max-width: 767.98px) {
  #features-icons .features-icons-item {
    flex-direction: row;
    text-align: left;
    padding: 0.5rem 1rem;
  }
  .most-buyed .row {
    background: white;
  }
}
#features-icons.features-icons-product {
  border-radius: 8px;
  background: var(--primary-light);
  padding: 1rem;
}
#features-icons.features-icons-product .features-icons-item {
  flex-direction: row;
  text-align: left;
  padding: 0.5rem;
  gap: 0.5rem;
  font-size: 0.75rem;
}
#features-icons.features-icons-product .features-icons-item img {
  height: 24px !important;
  width: auto;
}

#testimonials {
  padding: 5rem 0;
}


/* ---- FOOTER ---- */
#footer {
  background-color: #f2f8fc;
  color: var(--bs-primary);
}
#footer .prefooter {
  padding: 4rem 0 1rem 0;
}
#footer .prefooter h5 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px !important;
  margin-bottom: 1.6rem;
  color: var(--bs-primary);
}

#footer .prefooter ul {
  font-size: 0.9rem;
  padding: 0;
  list-style: none;
}

#footer .prefooter .img-symbol {
  height: 5vh;
  max-height: 64px;
  min-height: 32px;
  margin-bottom: 1rem;
}

#footer a {
  color: var(--bs-primary);
  text-decoration: none;
}

#footer a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

#footer .socials {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  #footer .socials {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

#footer .social-icons {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
@media (max-width: 768px) {
  #footer .social-icons {
    justify-content: center;
  }
}
#footer .social-icons a {
  font-size: 1.5rem;
}
#footer .social-icons a:hover {
  color: var(--accent);
}
#footer .social-icons a.small {
  font-size: 0.9rem;
}

#footer .copyright {
  border-top: 1px solid #d3e2ec;
  background-color: #e1e9f2;
  color: var(--bs-primary);
  padding: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
}

@media (min-width: 768px) {
  #footer .copyright {
    font-size: 0.8rem !important;
  }
  #footer ul li {
    margin: 0.7rem 0;
  }
}

/* Pagination */
.page-link {
  color: var(--bs-primary);
}
.active > .page-link,
.page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}




/* --- Form Elements --- */
/* Inputs and Selects */
input.form-control,
select.form-select {
  border-radius: 3px;
  font-size: 0.88rem;
  color: var(--bs-body-color);
  border: 1px solid #ced4da;
  transition: all 0.3s ease-in-out;
  height: 40px;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Urbanist", sans-serif;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  height: 40px;
}
.btn:hover {
  text-decoration: none;
}
.btn-sm {
  height: 32px;
}
.btn-lg {
  height: 48px;
  font-size: 1rem;
}
@media (max-width: 767.98px) {
  input.form-control,
  select.form-select,
  .btn {
    height: 36px;
  }
  .btn-sm {
    height: 26px;
  }
  .btn-lg {
    height: 42px;
  }
}
/*
.btn svg {
  height: 18px;
  width: auto;
}*/
.btn-primary {
  background-color: var(--bs-primary);
  color: white;
  border: none;
}
.btn-primary:hover {
  background-color: var(--bs-primary-hover);
  color: white;
}

.btn-link {
  color: var(--bs-primary);
}
.btn-link:hover {
  color: var(--bs-primary-hover);
  text-decoration: underline;
}

.btn-light {
  background-color: #f2f8fc;
  color: var(--bs-primary);
  border-color: #f2f8fc;
}
.btn-light:hover {
  color: #e6f7ff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-outline-primary {
  background: #f2f8fc;
  color: var(--bs-primary);
  border: 1px solid #d3e2ec;
  border-radius: 100px;
}
.btn-outline-primary:hover {
  background: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
}
.input-group .btn:active,
.input-group .btn:focus,
.input-group .btn:hover {
  background: transparent;
  color: var(--bs-primary-hover);
  border-color: transparent;
}

/* Checkboxes */
.form-check-input[type="checkbox"]:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Radios */
.form-check-input[type="radio"]:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Opcional: hover/focus con el mismo color */
.form-check-input:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Input Group */
.input-group {
  gap: 0;
}
.input-group input.form-control {
  border-radius: 3px !important;
}
.input-group .btn {
  border: none;
  color: var(--bs-primary);
}







/* ------ INDEX PAGE ------ */
/* --- Estilos CTA Grid --- */
.cta-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
}
.cta-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
  color: white;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 50%);
}
.cta-card-content {
  position: relative;
  z-index: 2;
  margin-bottom: auto;
}
.cta-card .category {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta-card h3 {
  font-size: 2.2rem;
  font-weight: 300 !important;
  line-height: 1.12;
  margin: 1rem 0 1.5rem 0;
}
.cta-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.cta-card .cta-link {
  color: white;
  font-family: "Urbanist", sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
}
.price-rounded {
  display: block;
  background-color: transparent;
  color: #041c2b;
  font-weight: bold;
  border-radius: 50%;
  border: 1.5px solid #041c2b;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
/* Asignación de areas en el grid */
.cta-card.card-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background-color: #041c2b;
}
.cta-card.card-1 .cta-card-content {
  max-width: 220px;
  margin-right: auto;
}
.cta-card.card-1 .cta-card-content h3 {
  max-width: 160px;
}
.cta-card.card-2 {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}
.cta-card.card-2 .cta-card-content {
  max-width: 220px;
  margin-left: auto;
}
.cta-card.card-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.cta-card.card-3 .cta-card-content {
  max-width: 180px;
  margin-right: auto;
}
.cta-card.card-4 {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
}
.cta-card.card-4 .cta-card-content {
  max-width: 220px;
  margin-right: auto;
}
.cta-card.card-5 {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
}
.cta-card.card-5 .cta-card-content {
  max-width: 190px;
  margin-right: auto;
}
/* Para las cards sin imagen de fondo */
.cta-card.card-1::before,
.cta-card.card-5::before {
  background: none;
}
.cta-card.card-5 {
  background-color: #fbd78d;
  color: #041c2b;
}
.cta-card.card-5 .cta-link {
  color: #041c2b;
}

@media (max-width: 991.98px) {
  .cta-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .cta-card {
    height: auto;
    border-radius: 0;
    padding-bottom: 2rem;
  }
  .cta-card h3 {
    font-size: 1.8rem;
  }
  .cta-card.card-2 .cta-card-content {
    max-width: 150px;
    margin-right: auto;
    margin-left: 0;
  }
}

.card-group .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
  transition: ease-in-out box-shadow 0.2s;
}
.card-group .card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card-group .card img {
  width: 100%;
  height: auto;
}










/* --- PRODUCT PAGE --- */
.product-page {
  background-color: #fff;
}
.product-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.product-badges .offer-badge {
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.product-gallery .main-image {
  /*border: 1px solid #e9ecef;*/
  text-align: center;
}
.product-gallery .main-image img {
  width: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto;
}

.product-gallery .thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}
@media (max-width: 360px) {
  .product-gallery .thumbnails {
    overflow-x: scroll;
    justify-content: flex-start;
  }
}

.product-gallery .thumb {
  cursor: pointer;
  border: 1px solid #e9ecef;
  border-radius: 2px;
  padding: 2px;
  transition: border-color 0.2s;
}

.product-gallery .thumb.active,
.product-gallery .thumb:hover {
  border-color: var(--bs-primary);
}

.product-gallery .thumb img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .product-gallery .thumb {
    padding: 1px;
  }
 .product-gallery .thumb img {
    width: 48px;
    height: 48px;
  } 
}
.product-details {
  color: #041c2b !important;
}
.product-details .product-brand {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--bs-dark);
  font-weight: 600;
}
.product-details .product-title {
  font-size: 1.8rem;
  font-weight: 600;
}
.product-details .product-subtitle {
  font-size: 1rem;
}
.product-details .price-section {
  display: flex;
  align-items: end;
  gap: 1rem;
}
.product-details .price-section .original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: #6c757d;
  font-weight: normal;
}
.product-details .price-section .current-price {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: normal;
}
.product-details .discount-badge {
  font-size: 0.7rem;
  font-weight: bold;
  position: relative;
  top: -1rem;
  border-radius: 20px;
}
hr {
  border-top-color: var(--bs-dark);
  opacity: 0.1;
}
.variants h6 {
  font-size: 0.75rem;
  font-weight: bold !important;
  text-transform: uppercase;
  color: #041c2b;
}
.size-selector {
  overflow-x: scroll;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.size-selector .btn {
  background-color: #f8f9fa;
  border: 2px solid #f8f9fa;
  font-weight: 600;
  height: 36px;
  border-radius: var(--bs-border-radius) !important;
  padding-left: 0;
  padding-right: 0;
  min-width: 64px;
}
.size-selector .btn-sm {
  height: 32px;
}
.size-selector .btn.active {
  border-color: var(--bs-primary);
  background-color: #fff;
}
.availability-note {
  color: #dc3545;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.5rem 0 0 0;
}
.color-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: var(--bs-border-radius);
  cursor: pointer;
  border: 2px solid #dee2e6;
  transition: border-color 0.2s;
}
.color-swatch.active {
  border-color: var(--bs-primary);
}
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ced4da;
  border-radius: 3px;
  width: 80px;
  padding: 0;
}
.quantity-selector button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0 0.24rem;
  font-size: 1rem;
}
.quantity-selector input {
  width: 100%;
  min-width: 24px;
  height: 32px;
  font-size: 0.8rem;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 500;
}

.add-to-cart-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
}
.add-to-cart-section .btn {
  width: 100%;
  gap: 0.25rem;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 360px) {
  .add-to-cart-section {
    flex-direction: column;
    gap: 0.2rem;
  }
}

.btn-wishlist {
  color: var(--bs-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2px;
  width: 68% !important;
}
.btn-wishlist:hover {
  color: var(--bs-primary-hover);
}

/* Product Tabs */
.product-tabs {
  margin: 3rem auto;
  background: white;
}
.product-tabs .nav-tabs {
  border-bottom: 1px solid #d3e2ec;
  overflow-x: scroll;
}
.product-tabs .nav-link {
  color: #6c757d;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  width: calc(560px/3);
  padding-left: 0;
  padding-right: 0;
}
.product-tabs .nav-link.active {
  color: var(--bs-primary);
  background: var(--primary-light);
  border: none;
  border-bottom: 2px solid var(--bs-primary);
}
.product-tabs .tab-content {
  width: 90%;
  max-width: 560px;
  border: none;
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 0;
  font-size: 0.9rem;
}
.square-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.square-list li {
  position: relative;
  padding: 4px 0 4px 24px;
}
.square-list li::after {
  content:"";
  width: 16px;
  height: 16px;
  background: var(--bs-primary);
  opacity: 0.2;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 4px;
  line-height: 16px;
}
@media (min-width: 1680px) {
  .product-tabs .nav-link {
    width: calc(720px/3);
  }
  .product-tabs .tab-content {
    max-width: 720px;
  }
}
@media (max-width: 767.98px) {
  .product-gallery .main-image img {
    height: auto;
    max-width: 80%;
  }
  .product-details {
    padding: 2rem 0 0 0;
  }
  .product-tabs .nav-link {
    width: 30vw;
    font-size: 0.75rem;
    letter-spacing: 0.1px;
  }
}





/* Product Cards */
.product-card {
  border-radius: var(--bs-border-radius);
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #fff;
  transition: all 0.3s ease-in-out;
  min-height: 100%;
}
.product-card:hover {
  z-index: 2;
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--primary-light);
}
.product-card .img-container {
  padding: 1rem;
}
.product-card img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  overflow: hidden;
}
.product-card .product-header {
  padding: 1rem 0 0.5rem 0;
}
.product-card .product-header,
.product-card .product-pricing {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.product-card .product-pricing {
  margin-bottom: 0.5rem;
}
.product-card .product-content {
  color: var(--bs-dark);
}
.product-card .product-brand {
  font-size: 0.8rem;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  text-transform: uppercase;
}
.product-card .product-info {
  font-size: 0.8rem;
  margin: 0 0 1.2rem 0;
  line-height: 1.2;
  height: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .original-price {
  font-size: 0.7rem;
  text-decoration: line-through;
  color: #6c757d;
  font-weight: normal;
}
.product-card .current-price {
  font-size: 0.9rem;
  font-weight: 600;
}
.product-card .btn-add-to-cart {
  margin-top: 0;
  font-size: 0.9rem;
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  border-radius: var(--bs-border-radius);
  border: none;
  background-color: var(--bs-primary);
  color: #fff;
  display: flex;
  padding-left: 0;
  padding-right: 0;
}
.product-card:hover .btn-add-to-cart {
  opacity: 1;
}
.product-card:hover .btn-add-to-cart:hover {
  background-color: var(--bs-primary-hover);
}
@media (min-width: 768px) {
  .product-card {
    padding-bottom: 2rem;
  }
  .product-card .product-info {
    height: 48px;
  }
  .product-card .product-header {
    padding: 0.5rem 1.25rem;
  }
  .product-card .product-content {
    padding: 0rem 1.5rem 1rem 1.5rem;
  }
  .product-card .btn-add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    border-radius: 0;
  }
  .product-card .variants {
    margin: 0.5rem 0;
  }
}
.product-card .variants .color-selector {
  gap: 2px;
}
.product-card .variants .color-selector .color-swatch {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: var(--bs-border-radius);
}
.product-card svg {
  height: 16px !important;
  width: auto !important;
}
@media (max-width: 767.98px) {
  .product-card {
    height: 430px;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .product-card .btn-add-to-cart {
    margin-top: auto;
  }
}







/* --- ARCHIVE PAGE --- */
#archive-banner {
  max-height: 320px;
  min-height: 220px;
  width: 100%;
  aspect-ratio: 4 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  padding: 2rem;
}
#archive-banner .archive-banner-content {
  max-width: 280px;
  margin-right: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}
#archive-banner .archive-banner-content .lead {
  line-height: 1.2;
}
#archive-banner .archive-banner-content .btn {
  color: white;
  text-decoration: underline;
  text-align: start;
  padding: 0.5rem 0;
}



/* --- CATEGORY PAGE --- */
#category-banner {
  max-height: 320px;
  width: 100%;
  aspect-ratio: 4 / 1;
  background-size: cover;
  background-position: center 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
#category-banner .banner-pretitle {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 1.1rem;
}
#category-banner .banner-title {
  margin: 0 !important;
  font-size: 3rem;
}
@media (max-width: 768px) {
  #category-banner {
    aspect-ratio: 3 / 1;
    max-height: 240px;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    left: -1rem;
    width: calc(100% + 2rem);
    border-radius: 0;
  }
  #category-banner .banner-pretitle {
    font-size: 0.9rem;
  }
  #category-banner .banner-title {
    font-size: 2rem;
  }
}

#category-description .category-description-content {
  max-width: 560px;
  margin: 0 auto;
}
#category-description h4,
#category-description h6 {
  color: var(--bs-primary);
  font-weight: 600 !important;
}
#category-description h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
#category-description p,
#category-description ul {
  color: var(--bs-dark);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 1rem;
}

/* --- Asides (Cats & Filtros) --- */
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 0.8rem 0;
  font-family: "Urbanist", sans-serif;
  font-size: 0.8rem;
  gap: 1rem;
}
.sidebar-heading h6 {
  margin-right: auto;
  margin-bottom: 0;
  font-size: 0.85rem;
}
.sidebar-heading .sidebar-heading-btn {
  font-size: 0.85rem;
  font-weight: 500;
}
.filters-sidebar .accordion,
.offcanvas-body .accordion {
  background-color: transparent;
}
.filters-sidebar .accordion-item,
.offcanvas-body .accordion-item {
  border: none;
}
.filters-sidebar .accordion-button,
.offcanvas-body .accordion-button {
  background-color: transparent;
  color: var(--bs-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.4rem 0;
  font-family: "Urbanist", sans-serif;
  box-shadow: none !important;
}
.filters-sidebar .accordion-button:not(.collapsed),
.offcanvas-body .accordion-button:not(.collapsed) {
  color: var(--bs-dark);
  background-color: transparent;
}
.filters-sidebar .accordion-button:after,
.offcanvas-body .accordion-button:after,
.dropdown-toggle::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 16 16' fill='none' stroke='%23016fb7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='2,5 8,11 14,5'/%3e%3c/svg%3e");
  background-size: 13px 13px;
  width: 13px;
  height: 13px;
  opacity: 0.5;
  border: none;
}
.filters-sidebar .accordion-body,
.offcanvas-body .accordion-body {
  padding: 0.25rem 0;
}
.subcategory-list a,
.subcategory-list label {
  display: block;
  padding: 0.1rem 0;
  color: var(--bs-dark);
  text-decoration: none;
  font-size: 0.9rem;
}
.subcategory-list a.active,
.subcategory-list a:hover {
  color: var(--bs-primary);
}

@media (max-width: 767.98px) {
  .sidebar-heading {
    margin: 0 0 0.5rem 0;
  }
  .filters-sidebar .accordion-item,
  .offcanvas-body .accordion-item {
    border-top: 1px solid var(--primary-light);
  }
  .filters-sidebar .accordion-button,
  .offcanvas-body .accordion-button {
    padding: 0.75rem 0; 
  }
}








/* --- OFFCANVAS CART --- */
.shopping-cart .offcanvas-header {
  border-bottom: none;
}
.shopping-cart .offcanvas-title {
  color: var(--bs-primary);
  font-weight: bold;
}
.cart-promo-banner {
  text-align: center;
  padding: 6px;
  background-color: var(--primary-light);
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  border-top: 1px solid #d3e2ec;
  border-bottom: 1px solid #d3e2ec;
}
.cart-item {
  display: flex;
  padding: 1rem 0;
  border-top: 1px solid #e9ecef;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 1rem;
}
.cart-item-details {
  flex-grow: 1;
}
.brand {
  font-size: 0.82rem;
  color: var(--bs-dark);
  font-weight: 700;
  text-transform: uppercase;
}
.name {
  font-weight: 400;
  opacity: 0.9;
  font-size: 0.88rem;
  margin: 0;
}
.cart-item-price {
  font-weight: 600;
  font-size: 1rem;
}
.cart-summary {
  margin-top: auto; /* Empuja el resumen hacia abajo */
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}









/* --- CART PAGE --- */
#cart-page .cart-table-header {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem 0.5rem 1rem;
  border-bottom: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.cart-table-header .col-product {
  flex-basis: 40%;
}
.cart-table-header .col-price {
  flex-basis: 20%;
  text-align: center;
}
.cart-table-header .col-quantity {
  flex-basis: 20%;
  text-align: center;
}
.cart-table-header .col-subtotal {
  flex-basis: 20%;
  text-align: right;
}
.desktop-cart-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #dee2e6;
}
.desktop-cart-item .col-product {
  flex-basis: 40%;
  display: flex;
  align-items: center;
  position: relative;
}
.desktop-cart-item .col-price {
  flex-basis: 20%;
  text-align: center;
  font-weight: bold;
}
.desktop-cart-item .col-quantity {
  flex-basis: 20%;
  display: flex;
  justify-content: center;
}
.desktop-cart-item .col-subtotal {
  flex-basis: 20%;
  text-align: right;
  font-weight: 600;
  font-size: 1rem;
}
.desktop-cart-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-right: 1.5rem;
}
.desktop-cart-item .price-original {
  text-decoration: line-through;
  color: #6c757d;
  font-weight: normal;
  margin-left: 0.5rem;
}
.desktop-cart-summary {
  padding: 2rem 0 0 0;
}
.desktop-cart-summary .promo-banner {
  background-color: var(--primary-light);
  color: var(--accent);
  font-family: "Urbanist", sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem;
  text-align: center;
  font-weight: 600;
}

#cart #cross-selling {
  padding-top: 4rem;
  padding-bottom: 1rem;
}
#cross-selling .product-card .btn {
  opacity: 1;
}
@media (max-width: 767.98px) {
  .cart-table-header {
    display: none !important;
  }
  .desktop-cart-item {
    flex-wrap: wrap;
    padding: 1rem 0;
  }
  .desktop-cart-item .col-product {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 0 0.5rem 0;
    width: 100%;
    flex-basis: 100%;
  }
  .desktop-cart-item .col-price,
  .desktop-cart-item .col-quantity,
  .desktop-cart-item .col-subtotal {
    flex-basis: auto;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
  }
  .desktop-cart-item .col-price {
    flex-basis: 40%;
    text-align: left;
  } 
}







/* --- CHECKOUT PAGE --- */
#checkout-page {
  padding: 0;
}
#checkout-page .checkout-page-title {
  padding: 0 1.5rem 1rem 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--bs-primary);
}
/* --- Checkout 3 Columnas (desktop) / Accordion (mobile) --- */
#checkout-grid {
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* columnas igual de altas */
}

#checkout-grid .checkout-section {
  background-color: #fff;
  border-radius: 0;
  border: none;
  border-right: 1px solid #dee2e6;
  flex: 0 0 100%;   /* Mobile: 1 columna por fila */
  padding: 1.5rem; /* Padding base en mobile */
  box-sizing: border-box;
}

/* Desktop: Comportamiento columnas */
@media (min-width: 992px) {
  #checkout-page .checkout-page-title {
    padding: 0 1.5rem 1rem 3rem;
  }
  
  #checkout-grid .checkout-section {
    flex: 0 0 33.3333%; /* 3 columnas iguales */
  }

  #checkout-grid .checkout-section:first-child {
    padding: 1.5rem 1.5rem 1.5rem 3rem;
  }

  #checkout-grid .checkout-section:nth-child(2) {
    padding: 1.5rem;
  }

  #checkout-grid .checkout-section:last-child {
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    border-right: none;
  }
}

/* Mobile: Comportamiento accordion */
@media (max-width: 991.98px) {
  #checkout-grid .checkout-section {
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0;
  }
  #checkout-grid .checkout-section,
  #checkout-grid .checkout-section#shippingPayment {
    border-bottom: none;
  }
  
  .checkout-section .checkout-section-header {
    margin: 0 0 1rem 0;
  }

  .checkout-section .checkout-section-preheader {
    padding: 1rem 1.5rem;
    margin: -1.5rem -1.5rem 0 -1.5rem;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    font-size: 0.8rem;
    opacity: 0.9;
  }
  
  .checkout-section .checkout-section-preheader::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 16 16' fill='none' stroke='%23016fb7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='2,5 8,11 14,5'/%3e%3c/svg%3e");
  background-size: 13px 13px;
  width: 13px;
  height: 13px;
  opacity: 0.5;
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(-180deg);
    transition: transform 0.3s ease;
  }
  
  .checkout-section .checkout-section-preheader.collapsed::after {
    transform: translateY(-50%) rotate(0deg);
  }

  .checkout-section#orderSummary {
    order: 1;
  }
  .checkout-section#customerData {
    order: 2;
  }
  .checkout-section#shippingPayment {
    order: 3;
  }
  
  .checkout-section .checkout-section-content {
    padding: 1.5rem 0;
    display: none;
  }
  
  .checkout-section .checkout-section-content.show {
    display: block;
  }
}

/* Estilos de headers y labels */
.checkout-section-preheader {
  padding: 0;
  margin: 0;
  font-family: "Urbanist", sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--bs-primary);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-section-header {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bs-primary);
  text-transform: uppercase;
  margin: 1.5rem 0;
  font-family: "Urbanist", sans-serif;
}

.checkout-section-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--bs-dark);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

#checkout .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Order summary específico 
#checkout-grid .checkout-section .order-summary {
  background: var(--primary-light);
}

@media (min-width: 992px) {
  #checkout-grid .checkout-section .order-summary {
    position: sticky;
    top: 144px;
  }
}
*/
.list-group {
  margin-bottom: 3rem;
}
.list-group-item {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}
.list-group-item .form-check-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

/* Productos en resumen */
.summary-product {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.summary-product img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1rem;
  display: none;
}

.summary-product-details {
  flex-grow: 1;
  padding: 0.5rem 0;
}
.summary-product-details p {
  margin-bottom: 0;
}
.summary-product-details small {
  color: #6c757d;
}

/* Opciones de envío */
.shipping-option {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.shipping-option:hover {
  border-color: var(--bs-primary);
  background-color: #f8f9ff;
}

.shipping-option.selected {
  border-color: var(--bs-primary);
  border-width: 2px;
  background-color: #f0f8ff;
}

.shipping-option .form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.table-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.table-cart-item-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.table-cart-item-price {
  font-weight: 600;
}


























/* Animación pulse personalizada */
.animate__pulse {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Variante más sutil */
.animate__pulse-subtle {
  animation: pulseSubtle 0.3s ease-in-out;
}

@keyframes pulseSubtle {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Con cambio de color para botones de favoritos */
.animate__pulse-heart {
  animation: pulseHeart 0.5s ease-in-out;
}

@keyframes pulseHeart {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.15);
    filter: brightness(1.1);
    color: lightblue;
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.btn.animate__pulse,
.btn.animate__pulse-subtle,
.btn.animate__pulse-heart {
  transition: none !important;
}

/* Opcional: desactivar animaciones si el usuario prefiere reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .animate__pulse,
  .animate__pulse-subtle,
  .animate__pulse-heart {
    animation: none;
  }
}