/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/

/* Evita doble tap zoom en elementos interactivos */
button,
a,
.gallery-thumb,
.custom-qty-pill,
.single_add_to_cart_button {
  touch-action: manipulation;
}

/* ----------- INICIO Estilo boton add to cart ---------------- */
    .custom-qty-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  min-width:120px;
  border: 1px solid #000;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.custom-qty-pill button {
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #222;
}

.custom-qty-pill .qty-input {
  width: 42px;
  border: 0;
  text-align: center;
  font-size: 14px;
  background: transparent;
  outline: none;
  padding: 0;
}

button.qty-plus:hover, button.qty-minus:hover, button.qty-plus:focus, button.qty-minus:focus {
    background-color: transparent;
    color: #000;
}

/* Oculta flechas nativas */
.custom-qty-pill input[type=number]::-webkit-inner-spin-button,
.custom-qty-pill input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-qty-pill input[type=number] {
  -moz-appearance: textfield;
}


button.single_add_to_cart_button.button.alt {
    width: 100%;
    color: #fff;
    background-color: #000;
    border-color: #000;
}

button.single_add_to_cart_button.button.alt:hover{
    background-color:#333;
}

.custom-cart-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* El pill no crece */
.custom-qty-pill {
  flex: 0 0 auto;
}

/* El botón ocupa TODO lo demás */
.custom-cart-row .single_add_to_cart_button {
  flex: 1;
  width: 100%;
  height: 42px; /* igual al pill */
}

@media (max-width: 1000px) {
    .custom-cart-row{
        flex-direction: column;
    }
}

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

/* ----------- FIN Estilo boton add to cart ---------------- */

/* ----------- INICIO Estilo valoraciones estrellas ---------------- */
.custom-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.stars {
  display: flex;
}

.star {
  font-size: 25px;
  line-height: 1;
}

/* Colores */
.star.full {
  color: #8fa7f3;
}

.star.half {
  color: #8fa7f3;
  opacity: 0.5;
}

.star.empty {
  color: #ccc;
}

.rating-number {
  font-size: 14px;
  color: #333;
}

.rating-count {
  font-size: 14px;
  color: #777;
}

/* ----------- FIN Estilo valoraciones estrellas ---------------- */

/* ----------- INICIO Estilo valoraciones ---------------- */

.custom-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.review-header {
  font-size: 14px;
  margin-bottom: 5px;
	color: #000;
}

.review-stars {
  margin-bottom: 6px;
}

.star {
  font-size: 25px;
}

.star.full {
  color: #8fa7f3;
}

.star.empty {
  color: #ccc;
}

.review-text {
  font-size: 14px;
  color: #444;
}

.custom-reviews-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 1000px) {
  .custom-reviews-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}
}

.custom-reviews-pagination a {
  text-decoration: none;
}

.custom-reviews-pagination span {
  font-size: 14px;
}

/* ----------- FIN Estilo valoraciones ---------------- */

/* ----------- INICIO Formulario valoraciones ---------------- */

.custom-review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 100%;
}

.custom-review-form input,
.custom-review-form textarea {
  width: 100%;
  padding: 10px;
}

span.TituloPuntuacion {
    color: #000 !important;
}

.rating-group label {
  color: #8fa2ff;
  font-size: 16px;
}

.rating-group span {
  color: #8fa2ff;
}

.review-stars-input {
  display: flex;
  gap: 6px;
  font-size: 26px;
}

.review-stars-input input {
  display: none;
}

.review-stars-input label {
  font-size: 30px;
  color: #ccc; /* gris por defecto */
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

/* estrellas activas */
.review-stars-input label.active {
  color: #8fa2ff;
}

/* hover */
.review-stars-input label:hover {
  transform: scale(1.1);
}

.review-success {
  color: #000;
}

.review-error {
  color: #000;
}

.custom-review-form button {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.custom-review-form button:hover, .custom-review-form button:focus  {
    background-color: #333;
}

input#rating-1, input#rating-2, input#rating-3, input#rating-4, input#rating-5{
	display:none;
}

/* ----------- FIN Formulario valoraciones ---------------- */

/* ----------- INICIO Configuracion carrito izquierda ---------------- */

.hp-cart-items-form {
  width: 100%;
  color: #000;
  font-size: 1rem;
}

.hp-cart-head {
  display: grid;
  grid-template-columns: 1fr 120px;
  text-transform: uppercase;
}

.hp-cart-head span:last-child {
  text-align: right;
}

.hp-cart-item {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 20px;
}

.hp-cart-product {
  display: flex;
  gap: 16px;
  align-items: flex-start;
	margin-bottom:20px;
}

.hp-cart-product:last-of-type {
	margin-bottom:0px;
}

.hp-cart-thumb {
  width: 78px;
  height: 108px;
  flex: 0 0 78px;
  overflow: hidden;
  display: block;
}

.hp-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-cart-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-cart-name {
  text-decoration: none;
  color: #000;
}

.hp-cart-unit-price {
  color: #000;
}

.hp-cart-meta {
  font-weight: 700;
  text-transform: uppercase;
}

.hp-cart-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Contador + y - */
.hp-cart-qty {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 132px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.hp-cart-qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.hp-cart-qty button:hover {
  background: transparent;
  color: #333;
}

button.hp-qty-minus, button.hp-qty-plus{
	background-color: #000;
	color: #fff;
	padding:8px;
}
button.hp-qty-minus, button.hp-qty-plus{
	background-color: #fff;
	color: #000;
	padding:0 15px;
}

button.hp-qty-minus:hover, button.hp-qty-plus:hover, button.hp-qty-minus:active, button.hp-qty-plus:active, button.hp-qty-minus:focus, button.hp-qty-plus:focus{
	background-color: #fff !important;
	color:#000 !important;
}

.hp-cart-qty input {
  width: 38px;
  height: 100%;
  text-align: center;
  color: #000;
  font-size: 13px;
  background: transparent;
  outline: none;
  padding: 0 !important;
  -moz-appearance: textfield;
  border: 0 solid transparent !important;
}

.hp-cart-qty input::-webkit-inner-spin-button,
.hp-cart-qty input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hp-cart-remove {
  width: 24px;
  height: 24px;
}

.hp-cart-remove::before {
  display: block;
  width: 100%;
  height: 100%;
}

.hp-cart-subtotal {
  text-align: right;
}

/* Texto antes de actualizar carrito */
.hp-cart-update-note {
  margin: 16px 0 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #000;
}

/* Botón actualizar carrito */
.hp-update-cart {
  margin-top: 0;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  cursor: pointer;
}

.hp-update-cart:hover {
  background: #333 !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .hp-cart-head {
    display: none;
  }

  .hp-cart-item {
    grid-template-columns: 1fr;
  }

  .hp-cart-subtotal {
    text-align: left;
  }
}

/* ----------- FIN Configuracion carrito izquierda ---------------- */


/* ----------- INICIO Configuracion carrito derecha ---------------- */

.hp-cart-summary {
  color: #000;
  font-size: 1rem;
}

.SeparadorCarrito {
  margin: 18px 0px !important;
}

.hp-coupon-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 0;
}

.hp-coupon-row input {
  border-radius: 999px 0 0 999px !important;
  width: 65% !important;
}

.BotonAplicarCupon {
  width: 100% !important;
  border-radius: 0 99px 99px 0 !important;
  background-color: #000 !important;
  color: #fff !important;
  text-align: center !important;
  padding: 8px 8px !important;
  border: 0 solid transparent !important;
}

button.BotonAplicarCupon {
  width: 35% !important;
}

.BotonAplicarCupon:hover {
  background-color: #333 !important;
}

.hp-summary-row,
.hp-summary-total {
  display: flex;
  justify-content: space-between;
}

.ContenedorBotones {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.BotonProcederPago {
  width: 100%;
  border-radius: 99px;
  background-color: #000;
  color: #fff !important;
  text-align: center;
  padding: 8px 8px;
}

.BotonProcederPago:hover {
  background-color: #333;
}

.BotonProcederPago a {
  color: #fff !important;
}

.BotonContinuarComprando {
  text-align: center;
  width: 100%;
}

.BotonContinuarComprando a {
  color: #000 !important;
}

/* ----------- FIN Configuracion carrito derecha ---------------- */

/* ---------- INICIO checkoutform styles ---------- */

/* Oculta el mensaje toggle */
.woocommerce-form-coupon-toggle {
  display: none !important;
}

/* Fuerza el formulario visible */
.checkout_coupon {
  display: block !important;
}

/* Estilo contenedor */
.checkout_coupon {
  margin: 0px;
}

form#woocommerce-checkout-form-coupon {
    display: flex;
    width: 100%;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-first {
    width: 60%;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-last {
    width: 40%;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-first input {
	border-radius: 999px 0 0 999px;
	border: 1px solid #000 !important;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-last button {
    width: 100%;
	background-color: #000 !important;
	color: #fff !important;
	border-radius: 0 999px 999px 0;
	border: 1px solid #000 !important;
}

form#woocommerce-checkout-form-coupon p.form-row.form-row-last button:hover {
	background-color: #333 !important;
}

.woocommerce-message {
    border: 0 solid transparent;
    background-color: transparent;
    margin: 0;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message{
	background-color: transparent;
	border-top-color: transparent;
	font-size: 1rem;
	padding: 0em 0em 20pxm 3.5em;
}

span#coupon-error-notice {
    width: 100%;
    color: #000;
    font-size: 0.8em;
}


.checkoutform_form {
  width: 100%;
  color: #000;
	font-size: 1rem;
	font-family: "Montserrat";
}

.checkoutform_left {
  width: 100%;
}

.checkoutform_customer_details {
  width: 100%;
}

/* Separación general de campos */
.checkoutform_form .form-row {
  margin-bottom: 14px !important;
}

/* Labels */
.checkoutform_form label {
  color: #000;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.woocommerce-billing-fields h3{
	font-size: 1rem !important;
	font-family: "Montserrat" !important;
	text-transform:uppercase;
	color:#000 !important;
	letter-spacing: 0!important;
}

#ship-to-different-address span{
	font-family: "Montserrat" !important;
	color:#000 !important;
	letter-spacing: 0!important;
}

/* Inputs, selects y textarea */
.checkoutform_form input.input-text,
.checkoutform_form input[type="text"],
.checkoutform_form input[type="email"],
.checkoutform_form input[type="tel"],
.checkoutform_form input[type="password"],
.checkoutform_form select,
.checkoutform_form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d9d9d9 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #000 !important;
  padding: 8px 14px !important;
  font-size: 0.95rem;
  outline: none !important;
  box-shadow: none !important;
}

.select2-container--default .select2-results__option {
  font-size: 1rem; /* ajusta aquí */
	padding-left:20px;
}

.select2-container--default .select2-results__option--highlighted {
  background-color: #8FA7F3 !important; /* hover */
}

/* Campo enfocado */
.checkoutform_form input:focus,
.checkoutform_form select:focus,
.checkoutform_form textarea:focus {
  border-color: #000 !important;
  box-shadow: 0 0 0 1px #000 !important;
}

/* Placeholder */
.checkoutform_form input::placeholder,
.checkoutform_form textarea::placeholder {
  color: #666;
}

/* Select2 de WooCommerce */
.checkoutform_form .select2-container .select2-selection--single {
  height: 40px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 7px !important;
  display: flex;
  align-items: center;
}

.checkoutform_form .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #000 !important;
  padding-left: 14px !important;
  line-height: normal !important;
}

.checkoutform_form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
  right: 10px !important;
}

/* Checkbox */
.checkoutform_form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #3a3030;
  margin-right: 8px;
}

/* Métodos de envío / pago */
.checkoutform_payment_area {
  margin-top: 28px;
}

.checkoutform_left_order_review {
  margin-top: 12px;
}

/* Botón de finalizar compra */
.checkoutform_form #place_order {
  width: 100%;
  min-height: 40px;
  border-radius: 999px !important;
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  padding: 12px 18px !important;
  font-size: 1rem !important;
  cursor: pointer;
}

.checkoutform_form #place_order:hover {
  background: #333 !important;
}

/* Mensajes WooCommerce */
.checkoutform_form .woocommerce-error,
.checkoutform_form .woocommerce-info,
.checkoutform_form .woocommerce-message {
  border-top-color: #000;
  background: #f7f7f7;
  color: #000;
}

table td, table th {
  border: 0px solid #000 !important;
	border-top: 1px solid #000 !important;
	border-bottom: 1px solid #000 !important;
	text-align:left;
	background-color:transparent !important;
}

#payment .payment_method_wompi img {
  display: none !important;
}

#payment .payment_method_wompi {
  background: transparent !important;
}

#payment {
  background: transparent !important;
}

#payment .payment_method_wompi .payment_box {
  display: none !important;
}

#payment ul.payment_methods {
  border: 0 !important;
  padding: 0 !important;
}

#payment li {
  border: 0 !important;
}

ul#shipping_method label {
    padding-left: 5px;
}

/* Quitar viñeta del envío */
.checkoutform_form #shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.checkoutform_form #shipping_method li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.checkoutform_form #shipping_method li::marker {
  content: "" !important;
}

/* Responsive */
@media (max-width: 767px) {
  .checkoutform_title {
    font-size: 1.2rem;
  }

  .checkoutform_form input.input-text,
  .checkoutform_form input[type="text"],
  .checkoutform_form input[type="email"],
  .checkoutform_form input[type="tel"],
  .checkoutform_form input[type="password"],
  .checkoutform_form select,
  .checkoutform_form textarea {
    min-height: 40px !important;
  }
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{
	top: 1em;
}

/* ---------- FIN checkoutform styles ---------- */



/* ---------- INICIO Checkout resumen derecha estilo tarjeta ---------- */

.hp-checkout-summary {
  width: 100%;
  overflow: hidden;
  color: #000;
	font-size: 1rem !important;
}

.hp-checkout-summary .hp-checkout-title {
  margin: 0;
}

.hp-summary-products {
  padding: 14px 18px;
}

.hp-summary-product {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: start;
  position: relative;
  margin-bottom:20px;
}

.hp-summary-product:last-of-type {
  margin-bottom:0px;
}

.hp-summary-thumb {
  width: 48px;
  height: 66px;
  position: relative;
}

.hp-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-summary-thumb::after {
  content: attr(data-qty);
  position: absolute;
  top: -10px;
  right: -10px;
  width: 18px;
  height: 18px;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: #fff;
  color: #888;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.hp-summary-name {
  font-weight: 600;
}

.hp-summary-unit-price {
  margin-top: 10px;
  }

.hp-summary-meta {
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Ocultar cualquier cupón dentro del resumen derecho si aparece */
.hp-checkout-summary .woocommerce-form-coupon-toggle,
.hp-checkout-summary .checkout_coupon,
.hp-checkout-summary .hp-coupon-form {
  display: none !important;
}

#hp_checkout_summary_refresh.hp-summary-loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (max-width: 767px) {
  .hp-summary-product {
    grid-template-columns: 52px 1fr;
  }

  .hp-summary-price {
    grid-column: 2;
    padding-top: 0;
  }
}

/* ---------- FIN Checkout resumen derecha estilo tarjeta ---------- */



.custom-product-price del {
    position: relative;
    text-decoration: none;
    opacity: .45;
	margin-right: 15px;
}

.custom-product-price del::after {
    content: "";
    position: absolute;
    left: 0;
    top: 45%;
    width: 100%;
    height: 3px;
    background: #000;
    transform: translateY(-50%);
	opacity: .45;
}


.custom-product-price ins {
    text-decoration: none;
}