/*GLOBAL*/
/*Tipografías*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Azules - principales (de más claro a más oscuro) */
  --primary-light: #1057A4;
  --primary-dark: #0C417B;
  --secondary-light: #4079B6;
  
  /* Naranjas/rojos - errores y advertencias */
  --error-light: #F04A0C;
  --error-dark: #B43809;
  
  /* Verdes - éxito */
  --success-light: #28a745;
  --success-dark: #1e7e34;
  
  /* Escala de grises (de más claro a más oscuro) */
  --background-light: #fff;
  --border-light: #ddd;
  --text-dark: #333;
}

/* * {
  outline: 1px solid red;
} */

@font-face {
    font-family: tommysoftbold;
    src: url('../media/fonts/tommy-soft-bold.otf');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: tommysoftmedium;
    src: url('../media/fonts/tommy-soft-medium.otf');
    font-style: normal;
}
@font-face {
    font-family: tommysoftmedium;
    src: url('../media/fonts/tommy-soft-regular.otf');
    font-style: normal;
}

.container {
    padding: 0;
}

.spacer {
    height: 110px;
}
a {
    width: 100%;
    color: var(--primary-light);
    text-decoration: none;
}

p {
    font-weight: 400;
    font-size: 14px;
}
h1, h2, h3, h4, h5, h6, p, li{
    font-family: "Montserrat";
    margin: 0 !important;
    color: var(--text-dark);
}
h5 {
    font-size: 18px;
}
.btn {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: var(--background-light);
}
.btn:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.btn.active {
    background: var(--primary-light);
    color: var(--background-light);
    border-color: var(--primary-dark);
}
.btn.active img {
    filter: none;
}

.btn-primary {
    background-color: var(--primary-light);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
}
.btn-secondary {
    background-color: var(--secondary-light);
}
.btn-secondary:hover {
    background-color: var(--primary-dark);
}
.btn-delete {
    background-color: var(--error-light);
}
.btn-success {
    background-color: var(--success-light);
}
.btn-success:hover {
    background-color: var(--success-dark);
}

.btn-default {
    background-color: var(--border-light);
    color: var(--text-dark);
}
.btn img {
    width: 16px;
    height: 16px;
    filter: grayscale(100%) brightness(0) opacity(0.6); 
}
.icon-btn {
  background-color: var(--background-light);
  border: 1px solid var(--primary-dark);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}
.icon-btn:hover {
  background-color: var(--primary-dark);
}

.icon-btn img {
  width: 18px;
  filter: invert(26%) sepia(87%) saturate(1111%) hue-rotate(182deg) brightness(96%) contrast(94%);
}
.icon-btn:hover img {
  filter: invert(97%) sepia(27%) saturate(3%) hue-rotate(183deg) brightness(116%) contrast(100%);
}
.icon-btn img:hover {
  filter: invert(97%) sepia(27%) saturate(3%) hue-rotate(183deg) brightness(116%) contrast(100%);
}
span {
    font-family: "Montserrat";
    font-size: 22px;
}
.error-message {
    font-weight: 600;
    color: var(--error-light) !important;
}

ul {
    margin-bottom: 0;
}
strong {
    font-weight: 600;
}
.icon {
    height: 15px;
}
.ver-mas {
    background: none;
    height: 20px;
    color: var(--primary-light);
    border: none;
    font-weight: 500;
}
.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition for slides */
}

.slider a {
    display: none;
    height: 100% !important;
}

.slider a img {
    width: 100%;
    flex-shrink: 0;
}

.slider a.active {
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--background-light);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.prev { left: 10px; }
.next { right: 10px; }

.indicators {
    text-align: center;
    position: absolute;
}

.indicators span {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indicators span.active {
    background: var(--background-light);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  animation: tpFadeIn 0.25s forwards;
}



/*HEADER*/
tomapedidos-ec-header-mobile .tp-ec-header {
  position: fixed;
  z-index: 100;
  background-color: var(--primary-light);
  width: 100%;
  padding: 10px 0px;
  justify-items: center;
}
tomapedidos-ec-header-mobile .tp-ec-header-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 0px;
}
tomapedidos-ec-header-mobile .tp-ec-logo{
  width: 100%;
}

tomapedidos-ec-header-mobile .tp-ec-header-content {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0px 25px;
  gap: 12px;
}
tomapedidos-ec-header-mobile .tp-ec-header-content h2 {
  color: var(--background-light);
  font-size: 18px;
}
.tp-ec-header-arrow-left img {
  height: 18px;
}

tomapedidos-ec-header-mobile .tp-ec-header-search {
  position: relative;
  width: 83vw;
}
tomapedidos-ec-header-mobile .tp-ec-header-search input {
  color: var(--text-dark);
  width: 100%;
  height: 35px;
  padding: 10px 40px 10px 40px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}
tomapedidos-ec-header-mobile .tp-ec-header-search input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 8px 2px var(--primary-dark);
  padding: 10px 40px 10px 20px;
}
tomapedidos-ec-header-mobile .tp-ec-header-search .search-icon {
  position: absolute;
  top: 47%;
  left: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
}

tomapedidos-ec-header-mobile .tp-ec-header-search input:focus + .search-icon {
  display: none;
}
tomapedidos-ec-header-mobile .tp-ec-header-search .search-icon img {
  height: 16px;
  transition: transform 0.3s ease;
  filter: invert(100%) sepia(10%) saturate(138%) hue-rotate(336deg) brightness(114%) contrast(55%);
}

tomapedidos-ec-header-mobile .tp-ec-header-search .search-icon:hover img {
  transform: scale(1.1); /* Efecto de hover */
}
tomapedidos-ec-header-mobile .tp-ec-header-search input::placeholder {
  color: var(--border-light);
}

/*SEARCH OVERLAY*/
.search-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 500;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
}
.search-overlay.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.search-header-overlay {
  width: 100%;
  display: flex;
  background-color: var(--primary-light);
  box-shadow: 0px 9px 15px rgba(0, 0, 0, 0.3);
}
.content-search-header {
    display: flex;
    align-items: center;
    padding: 0px 10px 10px !important;
}

.tp-ec-header-arrow-left {
  cursor: pointer;
  background: none;
  border: none;
  padding-bottom: 3px;
}

.search-input-container {
  width: 90%;
  display: flex;
  align-items: center;
  padding: 5px;
}
.search-input-container input {
  flex: 1;
  padding: 8px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  outline: none;
}
.search-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.search-results-overlay {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}
/*Selector*/

.search-selector {
  background-color: var(--background-light);
  border-bottom: 2px solid var(--border-light);
  padding: 15px 10px 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-history {
  background-color: var(--background-light);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 15px;
}
.search-selector-results-overlay {
  display: flex;
  gap: 10px;
}
.search-selector-overlay {
  width: 100%;
}
.search-selector-overlay div {
  width: 100%;
}

.submit-cart-result {
  position: fixed;
  align-self: center;
  width: 95vw;
  height: 80vh;
  background-color: var(--background-light);
  z-index: 10000;
  border: 2px solid var(--border-light);
  border-radius: 10px;
}

/* ESTILO DEL LABEL */
.radio-container {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  gap: 10px;
}
/* OCULTAR INPUT RADIO NATIVO */
.radio-container input {
  display: none;
}

/* CÍRCULO EXTERNO */
.checkmark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
/* PUNTO INTERNO AL SELECCIONAR */
.radio-container input:checked + .checkmark {
  background-color: var(--background-light);
}

.radio-container input:checked + .checkmark::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
}


/*BREADCRUMB*/
tomapedidos-ec-breadcrumb .tp-ec-breadcrumb {
  background-color: var(--tp-ec-light-bg-background-color);
  position: fixed;
  z-index: 100;
  width: 100%;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);

}
#tp-ec-breadcrumb > a{
  width: 40px !important;
}
/*NAVBAR*/
.white-space {
  margin-top: 4rem;
}
.tp-ec-navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--primary-light);
  padding: 8px 20px 10px 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 110;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
}
.content-navbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.tp-ec-navbar-item {
  cursor: pointer;
}

.tp-ec-navbar-item img {
  filter: brightness(0) invert(1); /* blanco sobre fondo azul */
}
.tp-ec-navbar a {
  display: grid;
  justify-items: center;
}
.tp-ec-navbar a span {
  color: var(--background-light);
  font-size: 14px;
  height: 17px;
}

.tp-ec-navbar-cart {
  position: relative;
  width: 15%;
}
.tp-ec-navbar-cart a {
  width: auto;
  position: absolute;
  top: -34px;
  left: 2px;
  background-color: var(--background-light);
  padding: 0.7rem;
  border-radius: 50px;
  border: 1px solid var(--primary-light);
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.tp-ec-navbar-cart a span {
  position: absolute;
  top: 55px;
}
.tp-ec-navbar-cart img {
  filter: invert(21%) sepia(88%) saturate(2177%) hue-rotate(200deg) brightness(86%) contrast(87%);
}
.tp-ec-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: var(--background-light);
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  transition: right 0.3s ease;
  z-index: 108;
}

.tp-ec-sidebar.open {
  right: 0;
}
.sidebar-header {
  display: flex;
  padding: 16px;
  background-color: var(--primary-light);
}
.sidebar-header a{
  display: flex;
  gap: 10px;
  align-items: center;
}
.profile-image img {
  border-radius: 50px;
}
.sidebar-header > a > div.profile-information > div:nth-child(2) > img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(161deg) brightness(104%) contrast(104%) !important;
}
.profile-information h4, .profile-information p {
  color: var(--background-light);
}
.profile-information div {
  display: flex;
  align-items: center;
  gap: 10px;
  filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(89deg) brightness(93%) contrast(104%);
}
.sidebar-header > button > a > img {
  width: 22px; 
}
.sidebar-options {
    display: flex;
    flex-direction: column;
    background-color: var(--background-light);
    margin: 16px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.sidebar-options a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  padding: 0.5rem 1rem;
}
.sidebar-options a div{
  display: flex;
  gap: 10px;

}
.sidebar-options a p {
  color: var(--primary-light);
}
.sidebar-options a img {
  filter: invert(21%) sepia(88%) saturate(2177%) hue-rotate(200deg) brightness(86%) contrast(87%);
}



/*SLIDER*/
.slider-container {
  padding-bottom: 15px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

/* Estilo del carousel */
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  justify-content: center;
}

.product-detail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Botones de navegación */
button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--background-light);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.3s ease;
}
button.prev:hover,
button.next:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: rgba(0, 0, 0, 0.8);
}
button.prev:active,
button.next:active {
    transform: translateY(-50%) scale(0.9);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicators span {
  width: 12px;
  height: 12px;
  background-color: rgba(192, 192, 192, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.indicators span.active {
  background-color: var(--primary-light);
  transform: scale(0.9);
}

.indicators span:hover {
  transform: scale(1.2);
  background-color: var(--primary-dark);
}

/*SHOWCASE*/
tomapedidos-ec-homepage .category-container {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12)
}
tomapedidos-ec-homepage .manufacturer-container {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12)
}
tomapedidos-ec-homepage .brand-container {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12)
}
tomapedidos-ec-homepage .most-sold-product-container {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12)
}
.tp-ec-showcase {
  position: relative;
  padding-bottom: 10px;
  overflow: visible;
}
.tp-ec-showcase i {
  font-size: 26px;
}
.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}
.showcase-toolbar button {
  width: 30%;
  border-radius: 5px;
}
/*SHOWCASE SLIDER*/
.showcase-slider {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  display: flex;
  overflow-x: auto;
  padding: 10px 15px;
  gap: 15px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none; /* Oculta scrollbar en IE y Edge */
  
}
tomapedidos-ec-product-list-category-page {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
tomapedidos-ec-product-list-category-page h3 {
  padding-left: 0.5rem;
}

.category-container, .manufacturer-container, .brand-container, .most-sold-product-container{
  text-align: center;
  padding: 10px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.showcase-slider a {
  width: 250px;
}
/* ========================================
   BOTONES DE NAVEGACIÓN (solo desktop)
   ======================================== */

.nav-btn {
  display: none;
}

/*--LAYOUT PRODUCT LIST PAGE--*/
tomapedidos-ec-product-list-page {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 60px;
}

/*TOOLBAR*/
.toolbar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding: 0.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: none;
  background-color: var(--background-light);
  color: var(--text-dark);
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}

.chip img {
  width: 18px;
  height: 18px;
  filter: invert(26%) sepia(88%) saturate(1157%) hue-rotate(184deg) brightness(90%) contrast(92%);
}

.chip:hover {
  background-color: var(--border-light);
}

.chip.active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--background-light);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
  
}
.chip.active img {
  filter: invert(100%) sepia(5%) saturate(7477%) hue-rotate(171deg) brightness(105%) contrast(103%);
}

/*DOUBLE COLUMN PRODUCT LIST*/
.row-product {
  padding: 15px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 15px;
  background: var(--background-light);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}

/* Ajuste de columnas */
tomapedidos-ec-double-column-product-list .column {
  width: 47%; /* Ajuste a un 50% para que se mantengan alineadas */
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box; /* Evita que el padding y border sumen al ancho */
}

tomapedidos-ec-double-column-product-list .product {
  display: flex;
  flex-direction: column;
  height: 420px;
  gap: 10px;
  margin: 1rem 0rem;
}
.product img {
  max-width: 100%;
  display: block;
}
.product h2 {
  height: 60px;
  font-size: 18px;
  margin: 10px 0px !important;
}
.product h4 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  overflow-wrap: break-word;
  margin-bottom: 15px;
}
.product span {
  font-size: 14px;
}
/*--PRODUCT DETAIL PAGE--*/
tomapedidos-ec-product-detail-page .product-detail {
  margin-top: 50px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
tomapedidos-ec-quantity-and-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
tomapedidos-ec-quantity-and-price .stock, .price {
    display: flex;
    justify-content: space-between;
}
tomapedidos-ec-quantity-and-price .quantity-and-total-price {
  display: flex;
  justify-content: space-between;
}
tomapedidos-ec-quantity-and-price .custom-select {
  border-radius: 5px;
}
.product-features {
  border-bottom: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light) ;
  padding: 10px 0px;
  margin: 10px 0px;
}


/*Quantity Button*/
.quantity-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  border: 1px solid var(--border-light) ;
  border-radius: 10px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
}
.quantity-btn-increase, .quantity-btn-decrease {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background-light);
  font-size: 20px;
  width: 30px;
  height: 26px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quantity-btn-increase:hover {
  transform: scale(1.1);
  box-shadow: 0 0px 2px var(--success-dark);
  background-color: var(--success-light);
  color: var(--background-light);
}

.quantity-btn-increase:active {
  background-color: var(--success-dark);
  transform: scale(0.9);
  box-shadow: 0 3px 6px rgba(0, 123, 255, 0.2);
}
.quantity-btn-decrease:hover {
  transform: scale(1.1);
  box-shadow: 0 0px 2px var(--error-dark);
  background-color: var(--error-light); 
  color: var(--background-light);
}
.quantity-btn-decrease:active {
  background-color: var(--error-dark);
  transform: scale(0.9);
  box-shadow: 0 3px 6px rgba(3, 83, 170, 0.2);
}

.quantity-input {
  width: 60px;
  height: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: 200;
  color: var(--text-dark);
  border: none;
  border-radius: 6px;
  background-color: var(--background-light);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quantity-input:focus {
    border: 1px solid var(--primary-light);
}
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/*--TOTAST--*/

.tp-toast {
  width: 70%;
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: var(--background-light);
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInOut 2.5s ease;
  z-index: 10000;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.tp-toast img {
  filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(78deg) brightness(104%) contrast(101%);  
}
.tp-toast.success {
  background: var(--success-light);
}
.tp-toast.error {
  background: var(--error-dark);
}



@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}


/*--SHOPPING CART PAGE--*/
.shopping-cart-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
/*payment*/
tomapedidos-ec-payment .payment-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0.5rem;
}
tomapedidos-ec-payment-method .payment-method-container, tomapedidos-ec-progress-bar .progress-container{
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.custom-select {
  width: 100%;
  padding: 5px 15px;
  font-size: 0.8rem;
  color: var(--text-dark);
  background-color: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" class="bi bi-chevron-down" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M1.646 6.646a.5.5 0 0 1 .708 0L8 12.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.custom-select:hover,
.custom-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.3);
  outline: none;

}
.custom-select:focus {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.custom-select option {
  width: 80%;
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 10px;
  font-size: 0.8rem;
  font-family: Arial, sans-serif;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.custom-select option:active {
  background-color: var(--primary-dark);
}
.custom-select option:hover {
  background-color: var(--primary-dark);
  color: var(--background-light);
}
.custom-select option:checked {
  background-color: var(--primary-dark);
  color: var(--background-light);
}

/*Progress bar*/
.progress-wrapper {
  display: flex;
  padding: 0.6vh 0;
  align-items: center;
  gap: 10px;
}

/* Valores inicial y final */
.start-value, .end-value {
  font-size: 14px;
  color: var(--text-dark);
}

/* Contenedor de la barra */
.progress-bar-container {
  flex: 1;
  height: 20px;
  background-color: var(--border-light);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

/* Barra de progreso */
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
  border-radius: 50px 0 0 50px;
  transition: width 0.4s ease-in-out;
  position: relative;
}

/* Efecto animado */
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  filter: blur(3px);
  animation: shine 1.5s infinite ease-in-out;
}

/* Animación de brillo */
@keyframes shine {
  0% {
      opacity: 0;
      transform: translateX(-20px);
  }
  50% {
      opacity: 0.6;
      transform: translateX(0);
  }
  100% {
      opacity: 0;
      transform: translateX(20px);
  }
}

/*shopping cart product card widget*/
.shopping-cart-product-container {
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
}

tomapedidos-ec-shopping-cart-product-card-mobile .product-card-container {
  gap: 15px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.product-image img{
  height: 100px;
  border-radius: 10px;
}

.product-card-details {
  width: 100%;
}
/* Nombre del producto */
.product-name {
  font-size: 18px;
  margin-bottom: 5px;
}

/* Valor unitario */
.product-value {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* Fila Precio Total */
.price-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 10px;
}

.price-info{
  flex: 1;
  margin-right: 20px;
}

.price-label {
  font-size: 12px;
  color: var(--text-dark);
}

.price-value {
  font-size: 16px;
  font-weight: bold;
}

.price-placeholder {
  width: 150px;
}

/* Precio Base */
.price-base {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* Fila de descuento */
.discount-row {
  position: relative;
  height: 40px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.discount-value {
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: line-through;
}

.discount-percent {
  width: 50%;
  font-size: 14px;
  font-weight: bold;
  color: var(--success-light);
}

/* Ícono de basura */
.delete-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border: none;
  background-color: var(--error-light);
  border-radius: 5px;
  cursor: pointer;  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);

}

.delete-icon img {
  height: 18px;
}
  /*Total Price*/
.spacer-shopping-cart {
  height: 150px;
}
.total-price {
  position: fixed;
  bottom: 42px;
  left: 0;
  width: 100%;
  background-color: var(--background-light);
  border-top: 1px solid var(--border-light);
  padding: 20px 10px 35px 10px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

/* Filas */
.total-price div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

/* Etiquetas */
.total-price .label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Valores */
.total-price .value {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
}
/*PROFILE PAGE*/
.profile-page-container {
  padding: 15px;
}
/*profile header*/
.profile-header-container {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-picture img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.profile-header-info .name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.profile-header-info .email {
  font-size: 0.9rem;
  color: var(--text-dark);
}
.profile-body {
  display: flex;
  flex-direction: column;
  background-color: var(--background-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
/*Profile info*/
.profile-info {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
}
/* Efecto hover */
.profile-info:hover {
  transform: translateY(-3px);
}
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  overflow: hidden;
}
.icon-container:last-child {
  background-color: transparent;
}

.icon-container img {
  width: 60%;
  height: 17px;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(216deg) brightness(107%) contrast(102%);
}
.arrow-right {
  filter: invert(24%) sepia(29%) saturate(5586%) hue-rotate(200deg) brightness(86%) contrast(88%) !important;
}
.profile-details {
  flex-grow: 1;
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-details h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}
.profile-details p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
}


/*LOGIN PAGE*/
.login-container {
  display: flex  ;
  flex-direction: column;
  justify-content: center;
  height: 72vh;
  padding: 20px;
  text-align: center;
}
.login-header {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px 0;
}

.social-login {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
tomapedidos-ec-social-login-widget > div {
  display: flex;
  gap: 10px;
}
.social-login button {
  color: var(--primary-dark);
}
.social-login button:hover {
  background: var(--primary-light);
  color: var(--background-light);
}
.social-login button img {
  filter: invert(21%) sepia(79%) saturate(2241%) hue-rotate(199deg) brightness(90%) contrast(88%) !important;
}
.social-login button:hover img {
  filter: invert(100%) sepia(5%) saturate(69%) hue-rotate(213deg) brightness(117%) contrast(100%) !important;
}

.social-login-container {
  justify-content: center;
}



.login-form {
  margin: 20px 0px;
}

.login-form p {
  margin-bottom: 10px;
  font-size: 14px;
  text-align: left;
}

.login-form .input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.login-form input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  box-sizing: border-box;
}

.login-form .helper-text {
  font-family: "Montserrat";
  position: absolute;
  bottom: -18px;
  right: 0;
  font-size: 12px;
  color: #007BFF;
  cursor: pointer;
}
.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/*MODAL COMPONENTS*/
.overlay {
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 10px 30px;
}

.modal-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--background-light);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}
.modal-title {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin: 15px 0px 5px 0px;
}
.modal-container input {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 5px 10px;
}
.modal-container input:focus {
  outline: none;
  border-color: var(--primary-light);
}

.info-client div {
  display: flex;
  gap: 10px;
}
.info-client > div:nth-child(1) > h4 {
  width: 100%;
  text-align: center;
}
.info-client p {
  color: var(--text-dark);
}
.modal-buttons {
  display: flex;
  gap: 5px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-group {
  display: flex;
  gap: 5px;
}
.form-group label {
  width: 51%;
  text-align: left;
}
tomapedidos-ec-account-access-widget {
  display: grid;
  gap: 15px;
}
/* Botón devolver */
.modal-container .go-back {
  gap: 5px;
  height: 30px;
  width: 30px;
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #06386f;
  color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}
.modal-container .go-back:hover {
  background-color: #042d58;
}

.modal-container .go-back img {
   filter: invert(20%) sepia(90%) saturate(1891%) hue-rotate(198deg) brightness(95%) contrast(88%);
}
/*CREATE ACCOUNT PAGE*/
.create-account-container {
  background-color: var(--background-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  text-align: left;
  height: 80vh;
  justify-content: center;
  border-radius: 10px;

}
.create-account-container form {
  padding: 0px 10px;
}
.create-account-container input, .create-account-container select {
  height: 50px;
  width: 100%;
  padding: 0px 10px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
select {
  width: 49%;
}

/*HISTORY PAGE*/
.link-card {
  text-decoration: none;
}
.history-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  text-align: left;
}
tomapedidos-ec-history-page > div > h4 {
  color: var(--primary-light);
}
.card-container {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}
.card-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.card-body, .card-footer {
  padding: 0px;
}
.card-body div {
  display: flex;
  justify-content: space-between;
}
.card-footer {
  justify-content: end;
  background-color: var(--background-light);
  padding-top: 15px;
  margin-top: 20px;
}
/*HISTORY PRODUCT DETAIL*/
.product-detail-container > div:nth-child(1) {
  display: flex;
  justify-content: center;
}
.product-detail-description{
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0px;
  background-color: var(--background-light);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
}
.product-detail-description div, .product-detail-price div, .products-detail > div {
  display: flex;
  justify-content: space-between;
}
.products-detail {
  background-color: var(--background-light);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}
.product-and-price-even, .product-and-price-odd {
  padding: 12px;
}
.product-and-price-odd {
  background-color: #e9f3ff;
}
.products-detail > div:nth-child(1) > p:nth-child(1) {
  width: 70%;
}
.products-detail > div:nth-child(2)  {
  text-align: end;
}
/*SUCCESS PAGE*/
.success-container {
  background-color: var(--background-light);
  border-radius: 10px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
  padding: 50px;
  text-align: center;
}
.success-container p {
  font-size: 16px;
}
/*WIZARD PAGE*/
.wizard-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  text-align: center;
}

.card-title img {
  height: 250px;
}
.card-table {
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  width: 100%;
}

.table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-row.header {
  font-weight: bold;
}
.buttons-wizard {
  display: flex;
  width: 100%;
  gap: 10px;
}

/* ========================================
            NAVEGACIÓN DEKSTOP
   ======================================== */

@media (min-width: 992px) {


/*GLOBAL*/
span {
  font-size: unset !important;
}
/*HEADER*/
  .tp-header-desktop {
    background: var(--primary-light);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .left-side {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .tp-search-container {
    position: relative;
    width: 320px;
  }

  .tp-search-input {
    display: flex;
    align-items: center;
    background: var(--background-light);
    border-radius: 10px;
    padding: 6px 10px;
    height: 40px;
  }

  .tp-search-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    outline: none;
  }

  .tp-search-input button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    padding-left: 0;
  }

  .tp-search-input img {
    width: 18px;
    opacity: 0.6;
  }

  .tp-search-dropdown {
    background: var(--background-light);
    position: absolute;
    top: 46px;
    left: 0;
    width: 100%;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.12);
    z-index: 100;
  }

  .search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
  }

  .search-item:hover {
    background: var(--border-light);
  }

  .search-item img {
    width: 70px;
    border-radius: 6px;
    object-fit: cover;
  }
  .history img {
    width: 20px;
    border-radius: 6px;
    object-fit: cover;
  }
  

  .search-item .name {
    font-size: 14px;
    font-weight: 500;
  }

  .search-item span {
    font-size: 12px;
    opacity: 0.7;
  }

  /* Ver más resultados */
  .search-more {
    text-align: center;
    padding: 10px 8px;
    margin-top: 4px;
  }

  .right-side {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 24px;
  }

  .right-side a {
    color: var(--background-light);
    text-decoration: none;
    font-size: 15px;
  }
  .links-header {
    display: flex;
    justify-content: right;
    list-style: none
  }

  .links-header a {
    width: 130px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .links-header a:hover{
    background-color: var(--primary-dark);
    padding: 10px 15px;
    border-radius: 10px;
  }
  .links-header a img {
    margin-bottom: 2px;
    height: 22px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(234deg) brightness(109%) contrast(104%);
  }
  .buttons-header {
    display: flex;
    align-items: end;
    gap: 10px;
  }
  /*PROFILE DROPWDOWN DESKTOP*/
  .profile-dropdown {
    width: 270px;
    background-color: var(--background-light);
    position: absolute;
    top: 50px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
    z-index: 100;
  }
  .profile-dropdown a {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
  }
    .profile-information {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .profile-information .user-name {
    font-size: 16px;
  }
  .profile-menu-wrapper {
    position: relative;
  }
  .profile-information img {
    border-radius: 50px;
  }
  .profile-information-dropdown {
    display: grid;
    gap: 5px;
  }
  .profile-information-dropdown > div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .profile-information-dropdown > div:nth-child(2) > p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
  }
  .profile-information-dropdown h4{
    font-size: 16px;
    color: var(--primary-light);
  }
  .profile-information div {
    filter: none;
  }
  .profile-dropdown button {
    width: 100%;
  }

  .spacer {
    display: none;
  }
  /*SLIDER*/
  .slider-container {
    max-width: unset !important;
  }
  .slider a img {
    width: 100%;
    height: unset;
    flex-shrink: 0;
  } 
  .category-container {
    width: 15.5rem;
  }

  .showcase-toolbar {
    padding: 0;
  }
  .showcase-toolbar button {
    width: 10%;
  }
  .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    background: var(--background-light);
    color: var(--primary-light);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  }

  .tp-ec-showcase:hover .nav-btn {
    opacity: 1;
    visibility: visible;
  }

  .nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
  }
  .nav-btn:active {
    transform: translateY(-50%) scale(0.9);
    box-shadow: 0 0px 5px rgba(16, 87, 164, 0.5);
  }

  .prev-btn {
    left: -17px;
  }

  .next-btn {
    right: -17px;
  }

    .tp-ec-navbar-items {
    padding: 0 0vw;
  }
  .tp-ec-header-arrow-left {
    display: none;
  }
  .search-overlay.desktop {
    position: absolute;
    top: 89px;
    left: 16.5%;
    width: 50%;
    max-height: 400px;
    background: var(--background-light);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
  }

  .search-overlay.desktop.show {
    opacity: 1;
    visibility: visible;
  }
  tomapedidos-ec-header-mobile .tp-ec-header-search input:focus {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.6);
  }

  /* Ocultamos la cabecera azul que solo tiene sentido en mobile */
  .search-overlay.desktop .search-header-overlay {
    display: none;
  }

  /* Espaciado del contenedor de resultados */
  .search-overlay.desktop .search-history {
    padding: 10px;
  }

  /* En desktop, los resultados se ven tipo lista limpia */
  .search-overlay.desktop .search-results-overlay {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
  }

  .search-overlay.desktop .search-results-overlay:hover {
    background-color: var(--background-light);
  }
  /*BREADCRUMB*/
  .breadcrumb-wrapper {
    display: none;
  }
  tomapedidos-ec-breadcrumb .tp-ec-breadcrumb {
    background-color: unset;
    position: unset;
    box-shadow: none;

  }


  /*CATEGORY PAGE*/
  .row-product .column {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 20px;
  }
  /*PRODUCT LIST PAGE*/

  tomapedidos-ec-double-column-product-list .column {
    width: 85%;
  }
  tomapedidos-ec-double-column-product-list .product {
    height: 34rem;
  }
  tomapedidos-ec-product-list-page > tomapedidos-ec-double-column-product-list > .row-product  > .column >  tomapedidos-ec-product > .product > a > img {
    height: 16rem;
  }
  /*SHOPPING CAR PAGE*/
  .total-price {
    display: none;
  }
  .shopping-cart-container {
    flex-direction: row;
    margin: 50px 0px;
  }
  .shopping-cart-container > tomapedidos-ec-payment {
    display: none;
  }
  .shopping-cart-product-container {
    width: 264%;
    column-count: 2;
    border-radius: 0.75rem;
    padding: 30px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  }
  .product-card-desktop {
    width: 100%;
    height: 190px;
    display: inline-grid;
    grid-template-columns: 100px 1fr 125px;
    align-items: center;
    gap: 16px;
  }

  .product-image img {
    width: 100%;
    border-radius: 0.5rem;
  }

  .product-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  .product p {
    align-items: center;
    height: 40px;
  }

  .product-name {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
  }

  .product-presentation {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
  }

  .product-unit {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
  }

  .product-quantity {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .product-total {
    text-align: right;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
  }
  .submit-cart-result {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 998;
    align-self: center;
    margin: auto;
    width: 50%;
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.12);
  }
  /*SUCCESS*/
  .success-container {
    align-items: center;
  }
  .success-container a {
    width: 300px;    
  }
  /*PRODUCT DETAIL PAGE*/
  tomapedidos-ec-product-detail-information-desktop .product-detail {
    flex-direction: unset;
  }
  tomapedidos-ec-product-detail-information-desktop > .product-detail > div:nth-child(1) > tomapedidos-ec-slider > .slider-container {
    width: 80%;
    padding-bottom: 0;
  }
  tomapedidos-ec-product-detail-information-desktop > .product-detail > .product-detail-information {
    display: grid;
    gap: 15px;
  }
  tomapedidos-ec-quantity-and-price {
    display: block;
    column-count: 3;
  }
  tomapedidos-ec-product-detail-information-desktop > .product-detail > div:nth-child(2) > tomapedidos-ec-quantity-and-price > div.price > h2 {
    font-size: 16px;
  }
  tomapedidos-ec-product-detail-information-desktop > .product-detail > div:nth-child(2) > tomapedidos-ec-quantity-and-price > .quantity-and-total-price {
    justify-content: center;
  }
  tomapedidos-ec-product-detail-information-desktop > .product-detail > div:nth-child(2) > tomapedidos-ec-quantity-and-price > .button-shopping-cart {
    display: flex;
    justify-content: end;
  }

  /*TOTAL PRICE*/
  .summary-card {
    position: fixed;
    width: 350px;
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    box-shadow: 0 0px 10px rgba(0,0,0,0.12);
    padding: 1.5rem;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  .summary-row.total {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .label {
    color: var(--text-dark);
    font-size: 0.95rem;
  }

  .value {
    font-weight: 500;
    font-size: 0.95rem;
  }

  .total-value {
    color: var(--text-dark);
    font-size: 1.1rem;
  }

  .summary-action {
    text-align: center;
    margin-top: 1rem;
  }

  .btn-primary {
    color: var(--background-light);
    border: none;
    border-radius: 0.5rem;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  /*TOAST*/
  .tp-toast {
    width: 300px !important;
  }
  tomapedidos-ec-quantity-and-price .tp-toast {
    width: 300px !important;
  }
  tomapedidos-ec-quantity-and-price .tp-toast img {
    width: 30px;
  }
  /*WIZARD PAGE*/
  .wizard-container {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
    margin-top: 50px;
  }
  .wizard-container .column {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 15px;
  }
  .wizard-container .card-container {
    height: auto;
    display: flex;
    width: 32.5%;
    flex-direction: column;
    box-shadow: none;
  }
  .wizard-container > div > div > div.card-title > img {
    height: 15rem;
  }
  .table-row span {
    font-size: 18px;
  }
  .wizard-container .card-table {
    margin: 0;
  }
  .wizard-container .card-footer {
    margin: 0;
  }
  /*MODAL LOGIN*/
  .login-container {
    background-color: var(--background-light);
    height: auto;
    padding: 50px;
    border-radius: 15px;
  }
  .modal-login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 420px;
    max-width: 90%;
    border-radius: 12px;
    padding: 24px;
    z-index: 999;
    opacity: 0;
    animation: tpModalUp 0.28s ease-out forwards;
  }
  .modal-container {
    position: relative;
  }


  .modal-login .close-btn:hover {
    opacity: 1;
  }

  /* Animaciones */
  @keyframes tpFadeIn {
    to {
      opacity: 1;
    }
  }

  @keyframes tpModalUp {
    from {
      opacity: 0;
      transform: translate(-50%, -40%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }
  .login-form .helper-text {
    bottom: -20px;
    font-size: 12px !important;
  }
  tomapedidos-ec-header-desktop > .modal-login > tomapedidos-ec-login > div > .login-header {
    gap: 16px;
    padding: 10px 0;
  }
  tomapedidos-ec-header-desktop > .modal-login > tomapedidos-ec-login > .login-header > .social-login {
    gap: 0px;
  }
  tomapedidos-ec-header-desktop > .modal-login > tomapedidos-ec-login > .login-header > .social-login > .modal-title {
    margin-bottom: 0px !important;
  }
  tomapedidos-ec-header-desktop > .modal-login > tomapedidos-ec-login > div > .login-header > tomapedidos-ec-logo > .tp-ec-logo > img {
    height: 50px;
  }
  tomapedidos-ec-header-desktop >.modal-login > tomapedidos-ec-login > div > .login-header > h1 {
    font-size: 24px;
  }


  /*PROFILE PAGE*/
  .profile-body {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: unset;
    box-shadow: none;
    border: none;
    gap: 15px;
  }
  tomapedidos-ec-profile-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }
  .profile-info {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    cursor: pointer;
  }
  .profile-details {
    width: 250px;
    margin-left: 30px;
    margin-right: 0;
    display: flex;
    flex-direction: column;
  }
}