/*
Theme Name: Zilom
Theme URI: https://themesgavias.com/wp/zilom/
Author URI: http://gaviasthemes.com/
Author: Gaviasthemes Team
Description: The 2021 theme for WordPress is a fully responsive theme that looks great on any device.
Version: 1.3.2
Tested up to: 5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, sticky-post, theme-options, translation-ready
Text Domain: zilom

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.wp-caption-text{
   font-weight: 400;
   font-size: 14px;
   font-style: italic;
   color: #3f3836;
}
.gallery-caption{
   font-weight: 500;
}
.bypostauthor{
   text-align: left;
}

.woocommerce-password-hint {
    display: none !important;
}

/* Estilo personalizado para el botón "Proceder al pago" en el carrito */
.wc-block-cart__submit-button {
    display: block;
    width: 100%;
    background-color: #0071a1;
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wc-block-cart__submit-button:hover {
    background-color: #005f8d;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Ajuste al texto interno */
.wc-block-components-button__text {
    display: block;
    width: 100%;
}

/* Botón especial "Realizar el pedido" - checkout WooCommerce Blocks */
.wc-block-components-checkout-place-order-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0071a1, #0093d6);
    color: #fff !important;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 113, 161, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Texto interno del botón */
.wc-block-components-checkout-place-order-button__text {
    position: relative;
    z-index: 2;
}

/* Hover effect */
.wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(135deg, #005f8d, #007cb6);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 113, 161, 0.4);
}

/* Añadir pequeño efecto cuando está deshabilitado */
.wc-block-components-checkout-place-order-button:disabled,
.wc-block-components-checkout-place-order-button[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Espaciado general para el formulario de Stripe */
.p-CardForm {
  padding: 16px;
  border-radius: 8px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
}

/* Espaciado entre campos */
.p-Field {
  margin-bottom: 20px;
}

/* Inputs más aireados */
.p-Input-input {
  padding: 12px 16px !important;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

/* Estilo del contenedor Stripe en el checkout */
.wcstripe-payment-element {
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  margin-top: 20px;
}

/* Elimina márgenes negativos que Stripe agrega automáticamente */
.wcstripe-payment-element iframe {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 6px;
}

/* boton de acceder checkout */
/* Estilo del nuevo botón "Iniciar sesión" */
.wc-custom-login-button {
    display: block;
    width: 100%;
    background-color: #0071a1;
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.wc-custom-login-button:hover {
    background-color: #005f8d;
    text-decoration: none;
}

/* Separador visual */
.wc-continue-as-guest-separator {
    text-align: center;
    font-weight: 500;
    color: #666;
    margin: 10px 0 24px;
    position: relative;
    font-size: 15px;
}

.wc-continue-as-guest-separator::before,
.wc-continue-as-guest-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.wc-continue-as-guest-separator::before {
    left: 0;
}

.wc-continue-as-guest-separator::after {
    right: 0;
}
