html, body {
    min-height: 100vh !important; /* Cambiar de height: 100% a min-height: 100vh */
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
	
}


.container {
    flex-grow: 1;
}


footer {
    background-color: #E3E7EB;
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 0px;
    width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
}



.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 2px solid #007bff !important;
    border-radius: 4px;
}


.fontSubtitulo {
    font-size: 16px;
    font-weight: 500;
    color: #2F2F2F;
	text-align: center;
	margin-bottom: 0;
}


#couponMessage {
    font-size: 0.9em;
    margin-top: 5px;
}
#couponType {
    font-size: 0.9em;
    margin-top: 5px;
    font-style: italic;
}


.custom-border {
    border: 2px solid #007AFF;
}

.form-check-input.custom-border {
    border: 2px solid black;
    margin-top: 0;
}

/* inter-200 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../../assets/fonts/inter-v18-latin-200.woff2') format('woff2');
}

/* inter-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../../assets/fonts/inter-v18-latin-300.woff2') format('woff2');
}

/* inter-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../../assets/fonts/inter-v18-latin-600.woff2') format('woff2');
}

/* inter-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../../assets/fonts/inter-v18-latin-700.woff2') format('woff2');
}


/* Apply Inter font globally */


/* Apply Inter SemiBold 600 for headings, Bold 700 for titles/subtitles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.step-title, .step-subtitle, .title-header, .text-start {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
	font-size: 26px;
   
    color: #007AFF;
}

.title-header {
    background-color: #FFFFFF00;
    font-size: 26px;
    margin-bottom: 1rem;
	text-transform: uppercase;
}

.text-start {
    background-color: #FFFFFF00;
    font-size: 22px;
    margin-top: 10px;
}

.step-subtitle {
    margin-bottom: 0.5rem;
}

/* Styles for steps and category cards */
.step {
    display: none;
}

.step.active {
    display: block;
}




.category-card {
    cursor: pointer;
    margin: 5px;
    width: 180px; /* Increased from 150px */
    height: 160px; /* Increased from 150px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #B1ACAC;
    border-radius: 15px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-card:last-child {
    margin-right: 0;
}

.category-card.selected {
    border: 3px solid #00CAFF;
    box-shadow: 0 0 10px rgba(0, 202, 255, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    height: 50px;
    position: relative;
    width: 120px; /* Increased to accommodate up to 3 images */
}

.category-image {
    transition: opacity 0.5s ease-in-out;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    object-fit: contain;
}

.category-name {
    font-size: 14px; /* Explicitly set to match body */
    line-height: 1.2;
}

/* Updated rotate-icons to cycle through images with animation */
.rotate-icons {
    position: relative;
    width: 40px;
    height: 40px;
}

.rotate-icons .category-image {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease-in-out; /* Aumenta a 0.8s para una transición más suave */
    opacity: 0;
    width: 40px;
    height: 40px;
}

/* Elimina las animaciones y retrasos de rotateFade */
.rotate-icons .category-image[data-index="0"],
.rotate-icons .category-image[data-index="1"],
.rotate-icons .category-image[data-index="2"],
.rotate-icons .category-image[data-index="3"],
.rotate-icons .category-image[data-index="4"],
.rotate-icons .category-image[data-index="5"],
.rotate-icons .category-image[data-index="6"],
.rotate-icons .category-image[data-index="7"],
.rotate-icons .category-image[data-index="8"],
.rotate-icons .category-image[data-index="9"],
.rotate-icons .category-image[data-index="10"],
.rotate-icons .category-image[data-index="11"] {
    animation: none !important;
}

/* Elimina la animación rotateFade */
@keyframes rotateFade {
    /* Eliminado */
}

.blink-icon {
    animation: blink 1.5s infinite; /* Restored pronounced blink effect */
}

.rotate-icons .category-image {
    animation: none !important;
}

/* Updated blink animation to prevent disappearance */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; } /* Reduced opacity to 0.3 instead of 0 to prevent full disappearance */
}

/* Stepper styles */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.stepper-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007AFF;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stepper-step.active {
    background-color: #007AFF;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.stepper-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px;
}

.stepper-line {
    width: 60px;
    height: 2px;
    background-color: #00CAFF;
    position: relative;
}

.stepper-line.completed {
    background-color: #00CAFF;
    color: #000000;
}

.stepper-step.completed .stepper-icon::before {
    content: "✔";
    color: #FFFFFF;
}

.stepper-step.active .stepper-icon::before,
.stepper-step:not(.completed):not(.active) .stepper-icon::before {
    content: attr(data-step);
    color: #FFFFFF;
}

/* Styles for the search input with icon inside */
.search-input {
    position: relative;
    padding-left: 35px !important;
    padding-right: 35px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 10px center;
    background-size: 20px;
    width: 300px;
    border-color: #000;
}

/* Styles for the clear button */
.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
}

.clear-search:hover {
    color: #000;
}

/* Styles for the right column */
#searchResults {
    max-height: 150px;
    overflow-y: auto;
    border: 2px solid #007bff !important;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    scroll-behavior: smooth;
}

.search-result-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 2px solid #007bff !important;
    display: flex;
    align-items: center;
}

#selectedProductDetails{
	max-height: 600px !important; 
	overflow-y: auto; 
	border: 2px solid #007bff !important;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

#summaryCard {
    background-color: #ffffff;
    color: #000000;
}

/* Ensure 6 category cards per row with responsive design */
#categoryGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the cards horizontally */
    gap: 10px; /* Consistent spacing between cards */
    padding: 10px; /* Padding for the grid container */
}

/* Individual category card styling */
#categoryGrid .category-card {
    flex: 0 0 calc(16.666% - 8.333px); /* 6 cards per row: (100% / 6) - (gap adjustment) */
    min-width: 150px; /* Ensures cards don't shrink too much */
    box-sizing: border-box; /* Include padding and border in width */
    
    background-color: white; /* White background for cards */
    border-radius: 10px; /* Slightly larger rounded corners for a softer look */
    border: 2px solid #007AFF; /* Subtle light gray border, matching the image  #e5e5e5 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* More pronounced shadow: increased blur and opacity */
    
    text-align: center; /* Center content inside cards */
    padding: 15px 10px; /* Padding inside cards */
    
    display: flex; /* Flexbox for centering content */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    height: 120px; /* Fixed height for uniformity */
    cursor: pointer; /* Indicate the card is clickable */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Smooth transition for hover */
}

/* Hover effect with more pronounced shadow */
#categoryGrid .category-card:hover {
    transform: translateY(-5px); /* Slightly higher lift for hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover: increased blur, spread, and opacity */
}

/* Styling for the content inside the card (image and name) */
.category-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Occupy full height of the card */
    width: 100%;
}

.category-card .icon-container {
    margin-bottom: 8px; /* Space between icon and text */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* Fixed height for the icon container */
}

.category-card .category-image {
    width: 40px; /* Icon size */
    height: 40px;
    object-fit: contain; /* Ensure the image fits without distortion */
}

.category-card .category-name {
    font-size: 0.85em; /* Font size for the category name */
    font-weight: 500; /* Medium weight for clarity */
    color: #333; /* Darker text color for better contrast */
    line-height: 1.2; /* Line height for multi-line names */
}

/* Medium screens: 4 cards per row */
@media (max-width: 1024px) {
    #categoryGrid .category-card {
        flex: 0 0 calc(25% - 7.5px); /* 4 cards per row */
        min-width: 160px; /* Adjusted for medium screens */
        height: 110px; /* Slightly smaller height */
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); /* Slightly reduced shadow for smaller screens */
    }
    #categoryGrid .category-card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); /* Adjusted hover shadow */
    }
    .category-card .category-image {
        width: 35px;
        height: 35px;
    }
    .category-card .category-name {
        font-size: 0.8em;
    }
}

/* Small screens: 2 cards per row */
@media (max-width: 640px) {
    #categoryGrid .category-card {
        flex: 0 0 calc(50% - 5px); /* 2 cards per row */
        min-width: 140px; /* Adjusted for small screens */
        height: 100px; /* Smaller height */
        padding: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Further reduced shadow */
    }
    #categoryGrid .category-card:hover {
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25); /* Adjusted hover shadow */
    }
    .category-card .category-image {
        width: 30px;
        height: 30px;
    }
    .category-card .category-name {
        font-size: 0.75em;
    }
}

/* Extra small screens: 1 card per row */
@media (max-width: 400px) {
    #categoryGrid .category-card {
        flex: 0 0 100%; /* 1 card per row */
        min-width: unset; /* Full width */
        height: 90px; /* Smaller height */
        padding: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Minimal shadow for very small screens */
    }
    #categoryGrid .category-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* Adjusted hover shadow */
    }
    .category-card .category-image {
        width: 28px;
        height: 28px;
    }
    .category-card .category-name {
        font-size: 0.7em;
    }
}

.search-result-image {
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin-right: 10px;
}

.selected-product-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}

#productImage {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: none;
}

#selectedProductImage {
    display: block !important;
    visibility: visible !important;
}

.input-group .btn-outline-secondary {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.input-group .input-group-text {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

#countrySelectBtn {
    min-width: 200px;
}

#countrySelectTarget {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 10px;
}

#couponCodeContainer {
    display: none;
}

.form-check {
    margin-bottom: 10px;
}

#addedProductsTrigger {
	cursor: pointer;
	position: relative;
	margin-left: 10px;
}
#addedProductsCountBadge {
	position: absolute;
	top: -10px;
	right: -10px;
	background-color: red;
	color: white;
	border-radius: 50%;
	padding: 2px 6px;
	font-size: 12px;
}

 #countrySelect {
            min-width: 200px;
        }
		
.form-control {
    border: 2px solid #007bff !important;
}	

#step3 .form-check-input, #step3 .form-control {
	border: 2px solid #007bff !important;
	border-radius: 4px;
}

#step2 #summaryCard {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centra horizontalmente el contenido del card */
    padding: 20px; /* Ajustado a 20px para coincidir con tu diseño original */
    box-sizing: border-box;
}

#step2 #summaryCard .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centra los elementos hijos (tabla) */
    height: 100%;
    width: 100%;
}

#step2 #summaryCard .card-body table {
    width: 100%; /* Asegura que la tabla ocupe el ancho completo del card-body */
    display: flex;
    justify-content: center; /* Centra la tabla horizontalmente */
    align-items: center; /* Centra verticalmente */
}

#step2 #summaryCard .card-body table td {
    padding: 0 10px; /* Espaciado uniforme entre celdas */
    vertical-align: middle; /* Alineación vertical centrada */
}

#step2 #summaryCard .card-body table td:first-child {
    font-size: 1.2em; /* "Su tranquilidad costará" text size */
    text-align: left; /* Aligned to the left dentro del centrado general */
}



#step2 #summaryCard .card-body table td:nth-child(2) {
    font-size: 1.8em; /* Larger size for the price */
    font-weight: bold; /* Bold price */
    color: #FFFFFF; /* Blue color for the price */
    text-align: right; /* Price aligned to the right dentro del centrado */
    padding-left: 10px; /* Espacio entre texto y precio */
}

#step2 #summaryCard .card-body table td:nth-child(3),
#step2 #summaryCard .card-body table td:nth-child(4) {
    display: none; /* Oculta las celdas vacías si no son necesarias */
}


.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #007AFF;
    --bs-btn-border-color: #007AFF;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: #000 !important;
    pointer-events: none;
    background-color: #D6E3ED !important;
    border-color: #D6E3ED !important;
    opacity: var(--bs-btn-disabled-opacity);
}

.form-check-input[type=radio] {
    border-radius: 50%;
    border-color: #000;
}

.select2-default-option {
    color: #6c757d; /* Gray color to differentiate */
    font-style: italic;
}


.culqi-checkout-custom {
    width: 100%;
    height: 500px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
    overflow-y: auto;
}

#culqi-container {
    padding: 15px;
}
.card {
    border: 1px solid #007bff;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #007bff;
}
	
	
.margin-footer {
	padding-bottom: 70px !important;	
}
	
@media (min-width: 1024px) {

}


/* Estilos para el Modal de Procesamiento de Pago */
.payment-overlay {
    position: fixed; /* Se queda fijo en la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Se asegura que esté por encima de todo */
    color: #333;
}

.payment-modal-content {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.payment-modal-content h5 {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.payment-modal-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Animación del spinner */
.spinner {
    border: 4px solid #f3f3f3; /* Gris claro */
    border-top: 4px solid #007bff; /* Azul primario */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.bannerCupon img {
	width: 100%;
	height: auto;
}