/* Frontend styles for Corremitierra CX */
.corremitierra-product-info {
    width: 100%;
}

.corremitierra-product-info,
.corremitierra-checkout {
	font-family: "Syne", sans-serif;
	color: #000000;
}

.corremitierra-product-info svg {
    padding: 0 !important;
    background: transparent !important;
}

.corremitierra-product-info__title,
.corremitierra-checkout__title {
	margin-bottom: 0 !important;
}

h3.corremitierra-product-info__section-title {
    font-size: 24px !important;
}

.corremitierra-product-info__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.corremitierra-product-info__meta-row {
    margin-top: -8px;
}

.corremitierra-product-info div p {
    color: #464646;
}

span.corremitierra-product-info__rating-label {
    color: #a3a3a3;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.corremitierra-product-info__rating {
    padding: 12px 0;
}

.corremitierra-product-info__price-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.corremitierra-product-info__stock-alert {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 6px;
}

.corremitierra-text-red {
	color: #FF3B30;
}

.corremitierra-product-info__error-message {
	color: #FF3B30;
	font-size: 14px;
	margin-top: 8px;
	margin-bottom: 16px;
	display: none;
}

.corremitierra-product-info__error-message.is-visible {
	display: block;
}

.corremitierra-product-info__input.has-error,
.corremitierra-product-info__select.has-error {
	border-color: #FF3B30 !important;
}

.corremitierra-product-info__form-field .iti__input.has-error {
	border-color: #FF3B30 !important;
}

.corremitierra-product-info__pay-button:disabled {
	background: #A3A3A3 !important;
	cursor: not-allowed !important;
	opacity: 0.6;
}

.corremitierra-product-info__stock-alert .corremitierra-product-info__stock-icon {
    padding-top:2px
}

.corremitierra-product-info__rating,
.corremitierra-checkout__rating {
	display: flex;
	align-items: center;
	gap: 8px;
}

.corremitierra-product-info__stars,
.corremitierra-checkout__stars {
	display: flex;
	gap: 4px;
}

.corremitierra-product-info__runners,
.corremitierra-product-info__accessories {
	margin-top: 24px;
}

.corremitierra-product-info__section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}


button.corremitierra-product-info__add-runner-btn {
    width: 100%;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: solid 1px #297DEE;
}

button.corremitierra-product-info__back-button {
    width: fit-content;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
	font-size: 16px !important;
}

button.corremitierra-product-info__add-runner-btn:hover, button.corremitierra-product-info__back-button:hover {
    background:#297DEE;
}
button.corremitierra-product-info__add-runner-btn, button.corremitierra-product-info__add-runner-btn path, button.corremitierra-product-info__back-button, button.corremitierra-product-info__back-button path  {
    transition: 0.15s
}
button.corremitierra-product-info__add-runner-btn:hover path, button.corremitierra-product-info__back-button:hover path {
    fill: #fff
} 

span.corremitierra-product-info__add-icon {
    margin-bottom: -6px;
}

.corremitierra-product-info__runner-chips, .corremitierra-checkout__runner-chips {
    display: flex;
    gap: 0;
    margin-top: 16px;
    margin-bottom: 12px;
    flex-direction: column;
}

.corremitierra-product-info__runner-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.corremitierra-runner-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid #D4D4D4;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.corremitierra-runner-chip__info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.corremitierra-runner-chip__name {
	font-size: 16px;
	font-weight: 600;
	color: #171717;
}

.corremitierra-runner-chip__details, .corremitierra-runner-chip__line .price * {
	font-size: 13px;
	color: #737373;
	line-height: 1.4;
}

.corremitierra-runner-chip__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.corremitierra-runner-chip__edit,
.corremitierra-runner-chip__remove {
	background: transparent;
	border: none;
	color: #007AFF;
	cursor: pointer;
	font-size: 14px;
	padding: 4px 8px;
	transition: opacity 0.2s;
}

.corremitierra-runner-chip__edit:hover,
.corremitierra-runner-chip__remove:hover {
	opacity: 0.7;
}

.corremitierra-runner-chip__remove {
	color: #DC2626;
}

.corremitierra-product-info__runner-list {
    padding: 32px 0;
	display: flex;
    flex-direction: column;
    gap: 10px;
}

button.corremitierra-runner-chip__edit {
    display: flex;
	border: none;
    padding: 0 !important;
    color: #000;
    text-decoration: underline;
    font-size: 14px !important;
    cursor: pointer;
}

button.corremitierra-runner-chip__edit svg,
button.corremitierra-runner-chip__remove svg,
button.corremitierra-runner-chip__edit svg *,
button.corremitierra-runner-chip__remove svg * {
    pointer-events: none;
}

button.corremitierra-runner-chip__edit, button.corremitierra-runner-chip__edit svg path {
	transition: 0.15s;
}

button.corremitierra-runner-chip__edit:hover {
    background: transparent;
    color: #297DEE !important;
    text-decoration: underline;
}

button.corremitierra-runner-chip__edit:hover svg path {
	fill: #297DEE !important;
}

button.corremitierra-runner-chip__remove {
    background: transparent;
    padding: 0 !important;
    color: #000;
    border: 0;
	margin-top: 4px;
    cursor: pointer;
}
button.corremitierra-runner-chip__remove:hover, button.corremitierra-runner-chip__remove:active, button.corremitierra-runner-chip__edit:active, button.corremitierra-runner-chip__remove:focus, button.corremitierra-runner-chip__edit:focus{
	background: transparent !important;
	color: inherit;
}
button.corremitierra-runner-chip__remove:hover svg path {
	fill: #DC2626 !important;
}

.corremitierra-product-info__accessories-list {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}

.corremitierra-product-info__accessory {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid #A3A3A3;
	border-radius: 12px;
}

.corremitierra-product-info__accessory-card {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #E5E5E5;
}

.corremitierra-product-info__accessory-card:last-child {
    border-bottom: none;
}

.corremitierra-product-info__accessory-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.corremitierra-product-info__accessory-details {
    display: flex;
    flex-direction: column;
}

.corremitierra-product-info__accessory-name {
    font-size: 22px;
    color: #232323;
}

.corremitierra-product-info__accessory-price {
    font-size: 16px;
    color: #464646;
}

.corremitierra-product-info__accessory-quantity {
    display: flex;
    align-items: center;
}

.corremitierra-product-info__quantity-input::-webkit-outer-spin-button,
.corremitierra-product-info__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.corremitierra-product-info__variation-select {
    border: 1px solid #A3A3A3;
    border-radius: 10px;
    padding: 8px 15px;
    height: 40px;
    min-width: 115px;
}

.corremitierra-product-info__checkbox-label {
    position: relative;
    cursor: pointer;
}

.corremitierra-product-info__accessory-input,
.corremitierra-product-info__checkbox-field input[type="checkbox"] {
    text-align: center;
	opacity: 0;
    width: 0;
    height: 0;
	-moz-appearance: textfield;
	appearance: textfield;
	border: none;
    position: absolute;
}

.corremitierra-product-info__form-section label, .corremitierra-corredor-terminos label {
    font-size: 18px !important;
}

.corremitierra-product-info__checkbox-label .corremitierra-product-info__checkbox-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 1px solid #A3A3A3;
    border-radius: 50%;
}

.corremitierra-product-info__checkbox-field .corremitierra-product-info__checkbox-custom {
    position: relative;
	left: 10px;
    top: 10px;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #fff;
    border: 1px solid #A3A3A3;
    border-radius: 50%;
    margin-top: 2px;
}

.corremitierra-product-info__accessory-input:checked ~ .corremitierra-product-info__checkbox-custom,
.corremitierra-product-info__checkbox-field input[type="checkbox"]:checked ~ .corremitierra-product-info__checkbox-custom {
    background-color: #297DEE;
    border-color: #297DEE;
}

.corremitierra-product-info__checkbox-custom:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.corremitierra-product-info__accessory-input:checked ~ .corremitierra-product-info__checkbox-custom:after,
.corremitierra-product-info__checkbox-field input[type="checkbox"]:checked ~ .corremitierra-product-info__checkbox-custom:after {
    display: block;
}

/* Responsive: 3 columnas para accesorios */
@media (max-width: 768px) {
    .corremitierra-product-info__accessory-card {
        display: grid;
        grid-template-columns: auto 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0;
        align-items: start;
        padding: 16px 12px;
    }

    /* Columna 1: Checkbox - ocupa las 2 filas */
    .corremitierra-product-info__accessory-selection {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
    }

    /* Columna 2 fila 1: Imagen */
    .corremitierra-product-info__accessory-image {
        grid-column: 2;
        grid-row: 1;
        text-align: center;
    }

    .corremitierra-product-info__accessory-image img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        border-radius: 8px;
    }

    /* Columna 2 fila 2: Cantidad */
    .corremitierra-product-info__accessory-quantity {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: center;
    }

    /* Columna 3 fila 1: Detalles */
    .corremitierra-product-info__accessory-details {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .corremitierra-product-info__accessory-name {
        font-size: 16px;
    }

    .corremitierra-product-info__accessory-price {
        font-size: 14px;
    }

    /* Columna 3 fila 2: Variaciones */
    .corremitierra-product-info__accessory-variations {
        grid-column: 3;
        grid-row: 2;
    }

    .corremitierra-product-info__variation-select {
        width: 100%;
        min-width: unset;
        padding: 6px 12px;
        height: 36px;
        font-size: 14px;
    }

    .corremitierra-product-info__quantity-btn {
        width: 16px;
        height: 16px;
        padding: 0px;
    }

    .corremitierra-product-info__quantity-btn svg {
        width: 16px;
        height: 24px;
    }

    .corremitierra-product-info__quantity-input {
        width: 40px;
        height: 32px;
        font-size: 14px;
    }
}

input.corremitierra-product-info__quantity-input {
    height: 50px !important;
    width: 55px !important;
    border: none !important;
    color: #000 !important;
    font-size: 22px !important;
	text-align: center !important;
}

button.corremitierra-product-info__quantity-btn {
    border: none;
    display: flex;
    height: 50px;
    width: 50px; 
}

button.corremitierra-product-info__quantity-btn:hover, button.corremitierra-product-info__quantity-btn:focus {
    background: #f0f0f0;
	transition: 0.1s;
}

button.corremitierra-product-info__quantity-btn:active {
	background: #297DEE;
}

button.corremitierra-product-info__quantity-btn:active svg path {
	fill: #ffffff;
} 

.corremitierra-product-info__pay-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 14px 32px;
	background: #007AFF !important;
	color: #ffffff !important;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	margin-top: 24px;
	width: 100% !important;
    transition: 0.1s !important;
    height: 52px !important;
	border: none !important;
}

.corremitierra-product-info__pay-button:hover {
    color: #fff;
    background: #0062CC !important;
}

/* Runner Form (inline replacement, not modal) */
.corremitierra-product-info__runner-form {
	display: none;
	animation: fadeIn 0.3s ease-in-out;
}

.corremitierra-product-info__runner-form:not([hidden]) {
	display: block;
}

.corremitierra-product-info__main-content[hidden] {
	display: none;
}

.corremitierra-product-info__main-content {
	animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.corremitierra-product-info__form-header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 16px;
}

.corremitierra-product-info__back-button {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: none;
	padding: 8px 0;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	color: #007AFF;
	transition: opacity 0.2s;
}

.corremitierra-product-info__back-button:hover {
	opacity: 0.7;
}

.corremitierra-product-info__back-button svg {
	width: 8px;
    height: 10px;
    padding-top: 2px !important;
}

.corremitierra-product-info__form-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: #171717;
}

.corremitierra-product-info__form-divider {
	height: 1px;
	background: #E5E5E5;
	margin: 20px 0;
}

.corremitierra-product-info__form-content {
	max-width: 960px;
	margin: 0 auto;
}

/* Legacy modal styles (hidden but kept for compatibility) */
.corremitierra-product-info__modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.corremitierra-product-info__modal-content {
	background: #ffffff;
	padding: 24px;
	border-radius: 16px;
	max-width: 960px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
}

.corremitierra-product-info__modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.corremitierra-product-info__modal-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	color: #171717;
}

.corremitierra-product-info__modal-close {
	background: transparent;
	border: none;
	padding: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.corremitierra-product-info__modal-close svg {
	width: 24px;
	height: 24px;
}

.corremitierra-product-info__modal-divider {
	height: 1px;
	background: #E5E5E5;
	margin: 20px 0;
}

.corremitierra-product-info__form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.corremitierra-product-info__form-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.corremitierra-product-info__form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.corremitierra-product-info__field-label {
	font-size: 16px;
	font-weight: 500;
	color: #171717;
}

.corremitierra-product-info__form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.corremitierra-product-info__form-row .corremitierra-product-info__form-field--small {
	grid-column: span 1;
}

.corremitierra-product-info__form-row .corremitierra-product-info__form-field--large {
	grid-column: span 1;
}

.corremitierra-product-info__input,
.corremitierra-product-info__select {
    padding: 12px 16px !important;
    border: 1px solid #D4D4D4 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background: #FFFFFF;
    transition: border-color 0.2s !important;
}

.corremitierra-product-info__input:focus,
.corremitierra-product-info__select:focus {
	outline: none;
	border-color: #007AFF;
}

.corremitierra-product-info__input::placeholder {
	color: #A3A3A3;
}

.corremitierra-product-info__input--disabled {
	background: #F5F5F5;
	color: #737373;
	cursor: not-allowed;
}

/* intl-tel-input integration */
.corremitierra-product-info__form-field .iti {
	width: 100%;
	display: block;
}

.corremitierra-product-info__form-field .iti__input {
	width: 100%;
	padding: 12px 16px 12px 52px !important;
	border: 1px solid #D4D4D4 !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	background: #FFFFFF;
	transition: border-color 0.2s !important;
}

.corremitierra-product-info__form-field .iti__input:focus {
	outline: none;
	border-color: #007AFF !important;
}

.corremitierra-product-info__form-field .iti__selected-country {
	padding: 0 0 0 12px;
}

.corremitierra-product-info__form-field .iti__dropdown {
	margin-top: 4px;
	border: 1px solid #D4D4D4;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.corremitierra-product-info__form-field .iti__search-input {
	padding: 8px 12px;
	border: 1px solid #D4D4D4;
	border-radius: 6px;
	margin: 8px;
	width: calc(100% - 16px);
}

.corremitierra-product-info__form-field .iti__country-list {
	max-height: 200px;
	border-radius: 8px;
}

.corremitierra-product-info__form-field .iti__country:hover,
.corremitierra-product-info__form-field .iti__country.iti__highlight {
	background-color: #F5F5F5;
}

button.iti__selected-country:hover, button.iti__selected-country:focus, button.iti__selected-country:active {
    border-radius: 0;
    color: #000;
    background: transparent !important;
}

.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover, .iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary {
    background: transparent !important;
}

.button.iti__selected-country {
    color: #000;
}

.iti__selected-dial-code, .iti__country-list li {
    font-size: 16px;
}

.iti__tel-input {
    padding-left: 96px !important;
}

.iti__search-input {
    padding: 8px 32px !important;
    font-size: 16px !important;
}

span.iti__search-icon {
    left: 20px;
}

input[list]::-webkit-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  position: relative;
}

.corremitierra-product-info__chip-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.corremitierra-product-info__chip-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.corremitierra-product-info__chip-title {
	font-size: 16px;
	font-weight: 500;
	color: #171717;
}

.corremitierra-product-info__chip-subtitle {
	font-size: 14px;
	color: #737373;
	margin: 0;
}

.corremitierra-product-info__chip-note {
	font-size: 12px;
	color: #737373;
	margin: 8px 0 0;
	line-height: 1.5;
}

.corremitierra-product-info__chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.corremitierra-product-info__chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 20px;
	border: 1px solid #D4D4D4;
	border-radius: 999px;
	cursor: pointer;
	background: #FFFFFF;
	transition: all 0.2s;
}

.corremitierra-product-info__chip input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.corremitierra-product-info__chip input[type="radio"]:checked + span {
	color: #007AFF;
}

.corremitierra-product-info__chip:has(input[type="radio"]:checked) {
	border: 1px solid #007AFF;
	border-color: #007AFF;
}

.corremitierra-product-info__chip span {
	font-size: 16px;
	font-weight: 500;
	color: #171717;
	transition: color 0.2s;
}

.corremitierra-product-info__chip.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.corremitierra-product-info__radio-group {
	display: flex;
	gap: 24px;
	margin-top: 8px;
}

.corremitierra-product-info__radio-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #171717;
	cursor: pointer;
}

.corremitierra-product-info__radio-group input[type="radio"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #297DEE !important;
}

.corremitierra-product-info__checkbox-field {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: #171717;
	line-height: 1.5;
	position: relative;
}

.corremitierra-product-info__checkbox-field input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	cursor: pointer;
}

.corremitierra-product-info__link {
	color: #007AFF;
	text-decoration: underline;
}

.corremitierra-product-info__form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
}

.corremitierra-product-info__save-runner {
	width: 100% !important;
	background: #007AFF !important;
	color: #ffffff !important;
	border: none !important;
	padding: 12px 32px !important;
	border-radius: 999px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
}

.corremitierra-product-info__save-runner:hover {
	background: #0062CC !important;
}

.corremitierra-product-info__save-runner:active {
	background: #004999 !important;
}

/* Legacy styles kept for compatibility */
.corremitierra-product-info__form-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.corremitierra-product-info__form-full {
	grid-column: 1 / -1;
}

.corremitierra-product-info__checkboxes {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}

.corremitierra-checkout__columns {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 32px;
}

.corremitierra-checkout__summary {
	padding: 0;
}

/* Chips de corredores con radio buttons */
.corremitierra-checkout__runner-chip {
	display: block;
	position: relative;
	cursor: pointer;
	margin-bottom: 12px;
}

.corremitierra-checkout__runner-chip input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.corremitierra-checkout__runner-chip-content {
	border: 2px solid #E5E5E5;
	border-radius: 12px;
	padding: 16px;
	transition: all 0.2s ease;
	position: relative;
	padding-left: 48px;
}

.corremitierra-checkout__runner-chip-content::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: 2px solid #D1D5DB;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.corremitierra-checkout__runner-chip input[type="radio"]:checked ~ .corremitierra-checkout__runner-chip-content {
	border-color: #007AFF;
	background-color: #F0F7FF;
}

.corremitierra-checkout__runner-chip input[type="radio"]:checked ~ .corremitierra-checkout__runner-chip-content::before {
	border-color: #007AFF;
	background-color: #007AFF;
	box-shadow: inset 0 0 0 3px #F0F7FF;
}

.corremitierra-checkout__runner-chip-name {
	font-weight: 600;
	font-size: 18px;
	color: #000;
	margin-bottom: 8px;
}

.corremitierra-checkout__runner-chip-meta {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.corremitierra-checkout__runner-chip-line {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #6B7280;
	flex-wrap: wrap;
	line-height: 1.4;
}

.corremitierra-checkout__runner-chip-line span:first-child {
	font-weight: 500;
}

.corremitierra-checkout__item:last-child {
    border-bottom: none;
}

/* Radio buttons del billing mode */
.corremitierra-checkout__billing-options > label {
	display: block;
	position: relative;
	cursor: pointer;
	padding-left: 32px;
	margin-bottom: 16px;
	font-size: 16px !important;
	user-select: none;
}

.corremitierra-checkout__billing-options > label input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.corremitierra-checkout__billing-options > label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: 2px solid #D1D5DB;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.corremitierra-checkout__billing-options > label input[type="radio"]:checked ~ span::before,
.corremitierra-checkout__billing-options > label:has(input[type="radio"]:checked)::before {
	border-color: #007AFF;
	background-color: #007AFF;
	box-shadow: inset 0 0 0 3px white;
}

/* Items del resumen de compra */
.corremitierra-checkout__item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: solid 1px #a3a3a3;
    border-radius: 0;
    margin-bottom: 12px;
}

.corremitierra-checkout__item-image {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
}

.corremitierra-checkout__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.corremitierra-checkout__item-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.corremitierra-checkout__item-name {
	font-weight: 600;
	font-size: 16px;
	color: #000;
}

.corremitierra-checkout__item-runner {
	display: block;
	font-size: 14px;
	color: #6B7280;
}

.corremitierra-checkout__item-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.corremitierra-checkout__item-total {
	font-weight: 700;
	font-size: 18px;
	color: #000;
}

.corremitierra-checkout__item-remove {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: #DC2626;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.corremitierra-checkout__item-remove:hover {
	background-color: #FEE2E2;
	border-radius: 8px;
}

button.corremitierra-checkout__item-remove {
    border: none !important;
    color: #000 !important;
}
button.corremitierra-checkout__item-remove:hover {
   background: none !important; 
   color: #FF3B30 !important;
}

.corremitierra-checkout__item-remove:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 960px) {
	.corremitierra-checkout__columns {
		grid-template-columns: 1fr;
	}
	
	.corremitierra-checkout__item {
		grid-template-columns: 50px 4fr 1fr 1fr;
	}
	
	.corremitierra-checkout__item-image {
		width: 50px;
		height: 50px;
	}
	
	.corremitierra-checkout__item-remove {
		grid-column: 4;
		grid-row: 1 / -1;
	}
}

/* INTL TEL INPUT */
.iti__country-list {
  overflow-y: none !important;
}

.input-full, .input-full label {
    width: 100% !important;
}

.corremitierra-checkout__billing-form .col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.corremitierra-checkout__billing-form .input-full {
    grid-column: 1 / -1;
}
.input-half {
    width: 100% !important;
    display: inline-block;
}

.input-half label, .input-half select {
    width: 100% !important;
}

.corremitierra-checkout__billing-form-field {
    padding: 8px 0;
}

.corremitierra-checkout__subtotal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.corremitierra-checkout__totals {
    padding: 20px 0px;
}

.corremitierra-checkout__total {
    padding-top: 20px;
    margin-top: 20px;
    padding-bottom: 20px;
    border-top: solid 1px #a3a3a3;
    border-bottom: solid 1px #a3a3a3;
}

.corremitierra-product-info__rating{
	border-bottom: solid 1px #a3a3a3;
}

span.totals__title {
    padding-left: 16px;
    text-align: left;
	font-weight: bold;
    font-size: 16px;
}

.corremitierra-checkout__coupon .woocommerce-info {
    padding: 16px 0;
    background: transparent;
    border: none;
    margin: 0 0 8px;
}

.corremitierra-checkout__coupon .woocommerce-info:before {
    content: '';
}

.corremitierra-checkout__coupon input#coupon_code {
    padding: 12px 16px !important;
    border: 1px solid #D4D4D4 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background: #FFFFFF;
    transition: border-color 0.2s !important;
}
.corremitierra-checkout__coupon button.button {
    width: 100%;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height:48px;
    border: solid 1px #297DEE;
}
.corremitierra-checkout__coupon button.button:hover {
    background: #297DEE;
    color:#fff !important;
}

.corremitierra-checkout__coupon {
    border-bottom: solid 1px #a3a3a3;
    margin-bottom: 20px
}

ul.wc_payment_methods.payment_methods.methods {
    padding: 10px !important;
}
ul.wc_payment_methods.payment_methods.methods li.wc_payment_method {
    padding: 20px !important;
    margin: 20px 0 !important;
    background: #F2F0F1 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.30);
}

.woocommerce-checkout-payment {
    border-radius: 20px !important;
    background: transparent !important;
}

button#place_order {
    display: inline-flex;
    justify-content: center;
    font-size: 16px;
    font-weight: normal !important;
    align-items: center;
    padding: 14px 32px;
    background: #000 !important;
    color: #ffffff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 24px;
    width: 100% !important;
    transition: 0.1s !important;
    height: 48px !important;
    border: none !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: transparent !important;
    padding: 0 !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

label[for="payment_method_wompi"] img:last-child {
    display: none;
}

label[for="payment_method_wompi"] img:first-child {
    display: inline-block;
    width: 70px;
    margin: 0 !important;
}

span.corremitierra-cx__wompi-methods {
    display: flex;
    padding: 10px 0 0;
    justify-content: space-between;
    margin: 0;
}

span.corremitierra-cx__wompi-methods img {
    margin: 0 !important;
}

h2.corremitierra-checkout__title span {
    color: #000;
}
h2.corremitierra-checkout__title {
    color: #297DEE;
}
/* Estilos para el campo de teléfono de facturación con intlTelInput */
.corremitierra-checkout__billing-form .js-billing-phone {
    width: 100%;
}

.corremitierra-checkout__billing-form .iti {
    width: 100%;
}

.corremitierra-checkout__billing-form .iti__input {
    width: 100%;
}

.corremitierra-checkout__billing-form .iti__input.has-error {
    border-color: #FF3B30 !important;
}
.corremitierra-checkout h3 {
	font-size: 25px !important;
}
.corremitierra-checkout__billing label.factura_runner_option {
    display: none !important;
}

/* ==========================================================================
   Elementor Pagination Progress Bar
   ========================================================================== */

/**
 * Progress bar component for Elementor Grid Loop pagination
 * Displays current page indicator and visual progress
 */
.corremitierra-elementor-progress {
	padding-top: 50px;
    padding-bottom: 20px;
    font-family: "Syne", sans-serif;
}

/**
 * Counter text showing "Resultado X de Y"
 */
.corremitierra-elementor-progress__counter {
    text-align: center;
    margin-bottom: 10px;
    font-size: clamp(22px, 5vw, 16px);
    color: #000000;
    font-weight: 400;
}

/**
 * Progress bar container - black background
 */
.corremitierra-elementor-progress__bar {
    padding: 4px;
    width: 100%;
	max-width: 250px;
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/**
 * Progress bar fill - white foreground
 * Width is set inline via JavaScript based on current page / total pages
 */
.corremitierra-elementor-progress__fill {
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Responsive: Mobile devices */
@media (max-width: 767px) {
	.corremitierra-elementor-progress {
		padding-top: 30px;
   		padding-bottom: 16px;
	}
    
  	.corremitierra-elementor-progress__bar  {
		max-width: 100%;
	}
    .corremitierra-elementor-progress__counter {
        font-size: 16px;
    }
    
}

.corremitierra-elementor-progress {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}