/**
 * WooCommerce Styles - Minimalist Design
 * 
 * @package World_Cup_Predictor
 */

/* ==========================================================================
   ESTILOS MINIMALISTAS GENERALES WOOCOMMERCE
   ========================================================================== */

/* Tipografía minimalista */
body.woocommerce,
body.woocommerce-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #374151;
}

/* Títulos minimalistas */
.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3 {
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.025em;
}

.woocommerce h1,
.woocommerce-page h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.woocommerce h2,
.woocommerce-page h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Botones minimalistas */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.2s;
    text-transform: none;
    letter-spacing: 0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover {
    background: #1f2937;
    color: #ffffff;
}

/* Botón secundario */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page a.button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page input.button.alt {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page input.button.alt:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Tablas minimalistas */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce-page table.shop_table th {
    background: #ffffff;
    color: #111827;
    font-weight: 600;
    padding: 16px;
    border-bottom: 2px solid #111827;
    text-transform: none;
    font-size: 14px;
    text-align: left;
}

.woocommerce table.shop_table td,
.woocommerce-page table.shop_table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

/* Formularios minimalistas */
.woocommerce form .form-row,
.woocommerce-page form .form-row {
    margin-bottom: 1rem;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    font-weight: 500;
    color: #111827;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="password"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="number"],
.woocommerce form textarea,
.woocommerce form select,
.woocommerce-page form input[type="text"],
.woocommerce-page form input[type="email"],
.woocommerce-page form input[type="password"],
.woocommerce-page form input[type="tel"],
.woocommerce-page form input[type="number"],
.woocommerce-page form textarea,
.woocommerce-page form select {
    border: 1px solid #d1d5db;
    border-radius: 0;
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.2s;
}

.woocommerce form input:focus,
.woocommerce form textarea:focus,
.woocommerce form select:focus,
.woocommerce-page form input:focus,
.woocommerce-page form textarea:focus,
.woocommerce-page form select:focus {
    border-color: #111827;
    outline: none;
    box-shadow: none;
}

/* My Account - Navegación */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 16px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #f9fafb;
    color: #111827;
    font-weight: 600;
}

/* My Account - Contenido */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 2rem;
}

/* Mensajes minimalistas */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 2px solid #111827;
    padding: 1rem 1.5rem;
    color: #374151;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    color: #111827;
}

.woocommerce-error {
    border-left-color: #dc2626;
    background: #ffffff;
}

.woocommerce-error::before {
    color: #dc2626;
}

/* Breadcrumbs minimalistas */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce-page .woocommerce-breadcrumb a {
    color: #111827;
    text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce-page .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Links minimalistas */
.woocommerce a,
.woocommerce-page a {
    color: #111827;
    text-decoration: underline;
    text-decoration-color: #d1d5db;
    transition: text-decoration-color 0.2s;
}

.woocommerce a:hover,
.woocommerce-page a:hover {
    text-decoration-color: #111827;
}

/* Tabs minimalistas */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-page div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active {
    background: transparent;
    border-bottom-color: #111827;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a {
    color: #6b7280;
    font-weight: 500;
    text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active a {
    color: #111827;
}

/* ==========================================================================
   FIX HEADER Y LOGO EN PÁGINAS WOOCOMMERCE
   ========================================================================== */

/* Forzar tamaño del logo en páginas WooCommerce - Máxima especificidad */
body.woocommerce nav img,
body.woocommerce-page nav img,
body.woocommerce header img,
body.woocommerce-page header img,
body.woocommerce nav a img,
body.woocommerce-page nav a img,
.woocommerce nav img,
.woocommerce-page nav img,
.woocommerce header img,
.woocommerce-page header img {
    max-height: 48px !important;
    height: 48px !important;
    width: auto !important;
    max-width: 100% !important;
}

/* Asegurar que el custom logo también respete el tamaño */
body.woocommerce .custom-logo,
body.woocommerce-page .custom-logo,
body.woocommerce .custom-logo-link img,
body.woocommerce-page .custom-logo-link img,
body.woocommerce nav .custom-logo,
body.woocommerce-page nav .custom-logo,
.woocommerce .custom-logo,
.woocommerce-page .custom-logo,
.woocommerce .custom-logo-link img,
.woocommerce-page .custom-logo-link img {
    max-height: 28px !important;
    height: auto !important;
    width: auto !important;
    display: block !important;
}

/* Logo con clase theme-logo */
body.woocommerce .theme-logo,
body.woocommerce-page .theme-logo {
    max-height: 48px !important;
    height: 48px !important;
    width: auto !important;
}

/* Override para checkout header */
body.woocommerce-checkout .shopify-checkout-header .theme-logo {
    max-height: 20px !important;
    height: 20px !important;
    width: auto !important;
}

/* Contenedor del logo - con padding adicional */
body.woocommerce nav .flex.items-center,
body.woocommerce-page nav .flex.items-center,
.woocommerce nav .flex.items-center,
.woocommerce-page nav .flex.items-center {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Link del logo */
body.woocommerce nav a,
body.woocommerce-page nav a,
body.woocommerce header a,
body.woocommerce-page header a {
    display: inline-flex !important;
    align-items: center !important;
}

/* Altura del nav en WooCommerce - más espacio */
body.woocommerce nav,
body.woocommerce-page nav,
body.woocommerce header nav,
body.woocommerce-page header nav {
    min-height: 80px !important;
}

body.woocommerce nav > div,
body.woocommerce-page nav > div {
    min-height: 80px !important;
}

/* ==========================================================================
   CHECKOUT SHOPIFY STYLE - RESET Y BASE
   ========================================================================== */

/* Ocultar Header y Footer en Checkout */
body.woocommerce-checkout header,
body.woocommerce-checkout nav,
body.woocommerce-checkout footer,
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .site-footer {
    display: none !important;
}

/* Reset completo del checkout para diseño Shopify */
body.woocommerce-checkout {
    background: #fafafa !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout .site-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .shopify-checkout-wrapper,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-checkout form.checkout {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fafafa !important;
}

body.woocommerce-checkout .shopify-checkout-wrapper {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

body.woocommerce-checkout .woocommerce {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout .site-main {
    padding: 0 !important;
    margin: 0 !important;
}

/* Eliminar espacios innecesarios del contenedor principal */
body.woocommerce-checkout .entry,
body.woocommerce-checkout article {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Eliminar wrapper de WooCommerce con padding (Tailwind classes) */
body.woocommerce-checkout main {
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    background: transparent !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-checkout main > div {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Eliminar cualquier padding de Tailwind en el checkout */
body.woocommerce-checkout .px-4,
body.woocommerce-checkout .px-6,
body.woocommerce-checkout .px-8,
body.woocommerce-checkout .sm\:px-6,
body.woocommerce-checkout .lg\:px-8,
body.woocommerce-checkout [class*="px-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-checkout .pt-32,
body.woocommerce-checkout .pb-20,
body.woocommerce-checkout [class*="pt-"],
body.woocommerce-checkout [class*="pb-"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-checkout .max-w-7xl,
body.woocommerce-checkout .max-w-4xl,
body.woocommerce-checkout [class*="max-w-"] {
    max-width: 100% !important;
}

/* Checkout Header - Minimalista */
.shopify-checkout-header {
    background: #000 !important;
    border-bottom: none !important;
    padding: 0px 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.checkout-header-content {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

@media (max-width: 768px) {
    .checkout-header-content {
        padding: 0 24px !important;
    }
}

.shopify-checkout-header .checkout-logo img,
.shopify-checkout-header .checkout-logo .theme-logo {
    height: auto !important;
    width: 150px !important;
    display: block !important;
    margin: 14px !important;
}

/* Botón Return to Home */
.checkout-home-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 20px !important;
    background: #fff !important;
    color: #000 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: 1px solid #fff !important;
    border-radius: 4px !important;
    transition: all 0.15s ease !important;
}

.checkout-home-btn:hover {
    background: #f9fafb !important;
    border-color: #f9fafb !important;
    color: #000 !important;
}

.checkout-home-btn i {
    font-size: 12px !important;
}

@media (max-width: 768px) {
    .checkout-home-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    
    .checkout-home-btn span {
        display: none !important;
    }
}

/* Breadcrumb - Oculto para diseño minimalista */
.shopify-breadcrumb {
    display: none !important;
}

/* Main Grid - 50/50 Exacto */
.shopify-checkout-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    min-height: calc(100vh - 60px) !important;
    background: #fafafa !important;
}

@media (max-width: 1000px) {
    .shopify-checkout-grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 24px !important;
    }
    
    .shopify-main-column {
        order: 1 !important;
    }
    
    .shopify-sidebar-column {
        order: 2 !important;
    }
}

/* Left Column - Formularios (Blanco) */
.shopify-main-column {
    background: #fff !important;
    padding: 32px 48px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    min-height: calc(100vh - 60px) !important;
    align-self: stretch !important;
}

.shopify-main-column .checkout-container {
    max-width: 100% !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .shopify-main-column {
        padding: 24px !important;
    }
}

/* Right Column - Resumen (Gris Claro) */
.shopify-sidebar-column {
    background: #fafafa !important;
    border-left: 1px solid #e5e7eb !important;
    padding: 32px 48px !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    align-self: stretch !important;
}

@media (max-width: 1000px) {
    .shopify-sidebar-column {
        border-left: none !important;
        border-top: 1px solid #e5e7eb !important;
        padding: 24px !important;
    }
}

/* Sections - Compacto */
.shopify-section {
    margin-bottom: 24px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.shopify-section:last-child {
    margin-bottom: 0 !important;
}

.section-header-shopify {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.section-header-shopify h2 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
}

.section-header-shopify h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
}

.payment-badges {
    display: flex !important;
    gap: 8px !important;
    color: #d1d5db !important;
    font-size: 20px !important;
}

.section-fields {
    background: #fff !important;
    border: none !important;
    padding: 0 !important;
}

/* Form Fields - Compacto */
.shopify-style-checkout .form-row,
body.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

.shopify-style-checkout .form-row:last-child {
    margin-bottom: 0 !important;
}

.shopify-style-checkout .form-row label,
body.woocommerce-checkout .form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    letter-spacing: -0.01em !important;
}

.shopify-style-checkout .form-row input.input-text,
.shopify-style-checkout .form-row textarea,
.shopify-style-checkout .form-row select,
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    transition: all 0.15s ease !important;
    background: #fff !important;
    color: #1a1a1a !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

.shopify-style-checkout .form-row input.input-text:focus,
.shopify-style-checkout .form-row textarea:focus,
.shopify-style-checkout .form-row select:focus,
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus {
    border-color: #1a1a1a !important;
    outline: none !important;
    box-shadow: none !important;
}

.shopify-style-checkout .form-row input.input-text::placeholder,
body.woocommerce-checkout .form-row input.input-text::placeholder {
    color: #9ca3af !important;
}

/* Col2-set - Columnas de formularios */
.shopify-style-checkout .col2-set,
body.woocommerce-checkout .col2-set {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shopify-style-checkout .col2-set .col-1,
.shopify-style-checkout .col2-set .col-2,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

/* Order Summary Sidebar - Minimalista */
.order-summary-sidebar {
    max-width: 100% !important;
    margin: 0 !important;
}

/* Order Review - Separar resumen y pago */
.shopify-sidebar-column #order_review {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* Resumen del pedido (tabla) - Compacto */
.shopify-sidebar-column .woocommerce-checkout-review-order-table {
    width: 100% !important;
    border: none !important;
    margin: 0 0 20px 0 !important;
    background: transparent !important;
    border-collapse: collapse !important;
}

.shopify-sidebar-column .woocommerce-checkout-review-order-table th,
.shopify-sidebar-column .woocommerce-checkout-review-order-table td {
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-size: 14px !important;
    background: transparent !important;
}

.shopify-sidebar-column .woocommerce-checkout-review-order-table th {
    font-weight: 500 !important;
    color: #6b7280 !important;
    text-align: left !important;
    letter-spacing: -0.01em !important;
}

.shopify-sidebar-column .woocommerce-checkout-review-order-table td {
    font-weight: 500 !important;
    color: #1a1a1a !important;
    text-align: right !important;
}

.shopify-sidebar-column .woocommerce-checkout-review-order-table .order-total th,
.shopify-sidebar-column .woocommerce-checkout-review-order-table .order-total td {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    padding-top: 12px !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: none !important;
    letter-spacing: -0.02em !important;
}

/* Payment Section - Compacto */
.shopify-sidebar-column #payment {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e5e7eb !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    list-style: none !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_method {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
    transition: all 0.15s ease !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_method:hover {
    border-color: #d1d5db !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_method:last-child {
    margin-bottom: 0 !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_method label {
    font-weight: 500 !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_method input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    margin: 0 !important;
    accent-color: #1a1a1a !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_method img {
    max-height: 20px !important;
    margin-left: auto !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .payment_box {
    padding: 16px !important;
    background: #fafafa !important;
    border-top: 1px solid #f0f0f0 !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    border-radius: 0 0 6px 6px !important;
}

/* Place Order Button - Minimalista */
.shopify-sidebar-column .woocommerce-checkout-payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .place-order button {
    width: 100% !important;
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    font-family: inherit !important;
}

.shopify-sidebar-column .woocommerce-checkout-payment .place-order button:hover {
    background: #000 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   ESTILOS ADICIONALES MINIMALISTAS
   ========================================================================== */

/* Ocultar elementos innecesarios */
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
    display: none !important;
}

/* Mejorar tipografía general */
body.woocommerce-checkout {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #1a1a1a !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Limpiar títulos de secciones WooCommerce */
body.woocommerce-checkout h3 {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
}

body.woocommerce-checkout h2 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
}

/* Checkbox y radio buttons más limpios */
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
    accent-color: #1a1a1a !important;
}

/* Links más sutiles */
body.woocommerce-checkout a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: opacity 0.15s ease !important;
}

body.woocommerce-checkout a:hover {
    opacity: 0.7 !important;
}

/* Ocultar "Create an account?" checkbox si no es necesario */
body.woocommerce-checkout .create-account {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

body.woocommerce-checkout .create-account label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

/* Mejorar espaciado entre secciones de formulario */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Eliminar espacios antes del primer campo */
body.woocommerce-checkout .woocommerce-billing-fields .form-row:first-child,
body.woocommerce-checkout .woocommerce-shipping-fields .form-row:first-child {
    margin-top: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3 {
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Limpiar productos en el resumen */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    font-weight: 500 !important;
    color: #1a1a1a !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    font-weight: 500 !important;
    color: #1a1a1a !important;
}

/* Ocultar términos y condiciones si no es necesario */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.5 !important;
}

/* Mejorar select dropdowns */
body.woocommerce-checkout select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 40px !important;
}

/* Eliminar espacios innecesarios del wrapper */
.shopify-checkout-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .shopify-checkout-header {
        padding: 12px 0 !important;
    }
    
    .shopify-checkout-header .checkout-container {
        padding: 0 16px !important;
    }
    
    .shopify-checkout-grid {
        padding: 0 0px 24px 0px !important;
    }
    
    .shopify-main-column,
    .shopify-sidebar-column {
        padding: 16px !important;
    }
}

/* ==========================================================================
   GENERAL WOOCOMMERCE STYLES
   ========================================================================== */

.woocommerce,
.woocommerce-page {
    font-family: 'Inter', sans-serif;
}

/* Botones principales */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #7c3aed;
    color: #fff;
    padding: 12px 32px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Botón añadir al carrito */
.woocommerce .product .add_to_cart_button {
    background-color: #fbbf24;
    color: #581c87;
}

.woocommerce .product .add_to_cart_button:hover {
    background-color: #f59e0b;
    color: #581c87;
}

/* Botón primario (comprar ahora) */
.woocommerce button.single_add_to_cart_button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    font-size: 18px;
    padding: 16px 48px;
    width: 100%;
    max-width: 400px;
}

.woocommerce button.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-3px);
}

/* ==========================================================================
   PÁGINA DE PRODUCTO
   ========================================================================== */

.woocommerce div.product {
    background: #fff;
    padding: 40px;
    border: 1px solid #e5e7eb;
}

.woocommerce div.product .product_title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.woocommerce div.product p.price {
    font-size: 3rem;
    font-weight: 900;
    color: #7c3aed;
    margin-bottom: 30px;
}

.woocommerce div.product p.price del {
    color: #9ca3af;
    font-size: 2rem;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
    color: #7c3aed;
}

/* Pestañas de producto */
.woocommerce div.product .woocommerce-tabs {
    background: #f9fafb;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #e5e7eb;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #e5e7eb;
    padding: 0;
    margin: 0 0 30px 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 30px 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #6b7280;
    padding: 15px 0;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

/* ==========================================================================
   ARCHIVO DE PRODUCTOS (TIENDA)
   ========================================================================== */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: none;
    border-color: #7c3aed;
}

.woocommerce ul.products li.product img {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #7c3aed;
    margin-bottom: 20px;
}

/* ==========================================================================
   CARRITO Y CHECKOUT
   ========================================================================== */

.woocommerce-cart table.cart,
.woocommerce table.shop_table {
    border: 1px solid #e5e7eb;
    background: #fff;
}

.woocommerce-cart table.cart th,
.woocommerce table.shop_table th {
    background: #f9fafb;
    color: #111827;
    font-weight: 700;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.woocommerce-cart table.cart td,
.woocommerce table.shop_table td {
    padding: 20px 15px;
    border-top: 1px solid #e5e7eb;
}

.woocommerce .cart-collaterals .cart_totals {
    background: #fff;
    border: 2px solid #7c3aed;
    padding: 30px;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals table {
    border: none;
}

.woocommerce .cart-collaterals .cart_totals .order-total {
    font-size: 1.5rem;
    font-weight: 900;
    color: #7c3aed;
}

/* Formulario de checkout */
.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    width: 100%;
    transition: all 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: none;
}

.woocommerce #payment {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    padding: 30px;
    margin-top: 30px;
}

.woocommerce #payment .payment_methods {
    padding: 0;
    border: none;
}

.woocommerce #payment .payment_method_paypal img {
    max-width: 100px;
}

/* ==========================================================================
   MENSAJES Y NOTIFICACIONES
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
    background: #fff;
}

.woocommerce-message {
    border-left-color: #10b981;
    background: #d1fae5;
    color: #065f46;
}

.woocommerce-info {
    border-left-color: #3b82f6;
    background: #dbeafe;
    color: #1e40af;
}

.woocommerce-error {
    border-left-color: #ef4444;
    background: #fee2e2;
    color: #991b1b;
}

/* ==========================================================================
   BADGE Y ETIQUETAS
   ========================================================================== */

.woocommerce span.onsale {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    min-height: auto;
    line-height: 1.5;
}

/* ==========================================================================
   SINGLE PRODUCT - REAL THEMEFOREST STYLE
   ========================================================================== */

.tf-single-product {
    max-width: 100%;
}

/* Breadcrumb */
.tf-single-product .woocommerce-breadcrumb {
    font-size: 14px;
    color: #6b7280;
}

.tf-single-product .woocommerce-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.tf-single-product .woocommerce-breadcrumb a:hover {
    color: #111827;
}

/* Product Images Gallery */
.tf-single-product .woocommerce-product-gallery {
    margin: 0;
    width: 100%;
}

.tf-single-product .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.tf-single-product .woocommerce-product-gallery__image {
    width: 100%;
    margin: 0;
}

.tf-single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Thumbnails */
.tf-single-product .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

.tf-single-product .flex-control-thumbs li {
    flex: 1;
    max-width: 100px;
}

.tf-single-product .flex-control-thumbs li img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tf-single-product .flex-control-thumbs li img:hover,
.tf-single-product .flex-control-thumbs li img.flex-active {
    border-color: #7c3aed;
}

/* Product Tabs */
.tf-single-product .woocommerce-tabs {
    background: transparent;
    border: none;
    padding: 0;
}

.tf-single-product .woocommerce-tabs .tabs {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tf-single-product .woocommerce-tabs .tabs li {
    flex: 1;
    border: none;
    margin: 0;
    background: transparent;
    border-radius: 0;
}

.tf-single-product .woocommerce-tabs .tabs li::before,
.tf-single-product .woocommerce-tabs .tabs li::after {
    display: none;
}

.tf-single-product .woocommerce-tabs .tabs li a {
    display: block;
    padding: 18px 24px;
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 0;
}

.tf-single-product .woocommerce-tabs .tabs li.active a,
.tf-single-product .woocommerce-tabs .tabs li a:hover {
    color: #111827;
    background: #fff;
    border: none;
}

.tf-single-product .woocommerce-tabs .tabs li.active {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 1;
}

.tf-single-product .woocommerce-tabs .panel {
    padding: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    margin-top: -1px;
}

/* Sidebar Purchase Box */
.tf-single-product form.cart {
    margin: 0;
}

.tf-single-product form.cart .quantity {
    display: none;
}

.tf-single-product .single_add_to_cart_button {
    width: 100%;
    background: #22c55e;
    color: #fff;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tf-single-product .single_add_to_cart_button:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: none;
}

.tf-single-product .single_add_to_cart_button:active {
    transform: translateY(0);
}

/* Remove any default WooCommerce styles that conflict */
.tf-single-product .summary {
    margin: 0;
    padding: 0;
}

.tf-single-product .product_meta {
    display: none;
}

/* Reviews */
.tf-single-product #reviews {
    padding: 0;
}

.tf-single-product #reviews .woocommerce-Reviews-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tf-single-product .comment-text {
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin-bottom: 20px;
    background: #f9fafb;
}

.tf-single-product .star-rating {
    color: #fbbf24;
}

/* Responsive */
@media (max-width: 1024px) {
    .tf-single-product .sticky {
        position: relative !important;
        top: auto !important;
    }
}

/* ==========================================================================
   CHECKOUT - STRIPE STYLE
   ========================================================================== */

.stripe-checkout-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Grid */
.shopify-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 120px);
}

@media (max-width: 1000px) {
    .shopify-checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .shopify-sidebar-column {
        order: -1;
    }
}

/* Left Column - Main Form */
.shopify-main-column {
    background: #fff;
    padding: 40px 60px;
}

@media (max-width: 768px) {
    .shopify-main-column {
        padding: 30px 20px;
    }
}

/* Right Column - Order Summary */
.shopify-sidebar-column {
    background: #fafafa;
    border-left: 1px solid #e5e7eb;
    padding: 40px;
}

@media (max-width: 1000px) {
    .shopify-sidebar-column {
        border-left: none;
        border-bottom: 1px solid #e5e7eb;
    }
}

/* Express Checkout */
.express-checkout-section {
    margin-bottom: 20px;
}

.or-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.or-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e5e7eb;
}

.or-divider span {
    background: #fff;
    padding: 0 16px;
    position: relative;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

/* Shopify Sections */
.shopify-section {
    margin-bottom: 30px;
}

.section-header-shopify {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header-shopify h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.payment-badges {
    display: flex;
    gap: 8px;
    color: #9ca3af;
    font-size: 24px;
}

.section-fields {
    background: #fff;
}

/* Form Fields - Shopify Style */
.shopify-style-checkout .form-row {
    margin-bottom: 12px;
}

.shopify-style-checkout .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.shopify-style-checkout .form-row input.input-text,
.shopify-style-checkout .form-row textarea,
.shopify-style-checkout .form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
    color: #1a1a1a;
}

.shopify-style-checkout .form-row input.input-text:focus,
.shopify-style-checkout .form-row textarea:focus,
.shopify-style-checkout .form-row select:focus {
    border-color: #0070f3;
    outline: none;
    box-shadow: none;
}

/* Shopify Checkbox */
.shopify-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    cursor: pointer;
}

.shopify-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.shopify-checkbox span {
    font-size: 14px;
    color: #6b7280;
}

/* Progress Indicator */
.checkout-progress {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: none;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #7c3aed;
    color: #fff;
}

.step-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #111827;
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 10px;
    align-self: center;
    margin-top: -20px;
}

.progress-line.active {
    background: #7c3aed;
}

/* Checkout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary-column {
        order: -1;
    }
}

/* Checkout Form Column */
.checkout-form-column {
    background: #fff;
    padding: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: none;
}

/* Express Checkout */
.express-checkout-section {
    text-align: center;
}

.divider-or {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider-or::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e5e7eb;
}

.divider-or span {
    position: relative;
    background: #fff;
    padding: 0 20px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* Checkout Sections */
.checkout-section {
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.section-header {
    background: #f9fafb;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.section-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.section-content {
    padding: 30px;
}

/* Form Fields */
.stripe-style-checkout .form-row {
    margin-bottom: 20px;
}

.stripe-style-checkout .form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.stripe-style-checkout .form-row input.input-text,
.stripe-style-checkout .form-row textarea,
.stripe-style-checkout .form-row select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.stripe-style-checkout .form-row input.input-text:focus,
.stripe-style-checkout .form-row textarea:focus,
.stripe-style-checkout .form-row select:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: none;
}

/* Order Summary Sidebar - Shopify Style */
.order-summary-sidebar {
    max-width: 500px;
    margin: 0 auto;
}

/* Summary Products */
.summary-products {
    margin-bottom: 20px;
}

.summary-product-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-product-item:last-child {
    border-bottom: none;
}

.product-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.product-thumbnail {
    width: 64px;
    height: 64px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

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

.product-thumbnail .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 24px;
}

.quantity-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #6b7280;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.product-details {
    flex: 1;
}

.product-details h4 {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.product-details .wc-item-meta {
    font-size: 13px;
    color: #6b7280;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Discount Code */
.discount-code-wrapper {
    margin: 20px 0;
}

.discount-details {
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}

.discount-details summary {
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #0070f3;
    font-weight: 500;
}

.discount-details summary:hover {
    background: #f9fafb;
}

.discount-details summary i:first-child {
    color: #6b7280;
}

.discount-details summary i:last-child {
    margin-left: auto;
    font-size: 12px;
}

.discount-form {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
}

.discount-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
}

.discount-form input:focus {
    border-color: #0070f3;
    outline: none;
    box-shadow: none;
}

.apply-coupon-btn {
    padding: 10px 20px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
}

.apply-coupon-btn:hover {
    background: #e5e7eb;
}

/* Order Totals */
.order-totals-summary {
    margin: 20px 0;
}

.order-totals-summary table {
    width: 100%;
    border: none;
}

.order-totals-summary th,
.order-totals-summary td {
    padding: 12px 0;
    border: none;
    font-size: 14px;
}

.order-totals-summary th {
    font-weight: 500;
    color: #6b7280;
    text-align: left;
}

.order-totals-summary td {
    font-weight: 500;
    color: #1a1a1a;
    text-align: right;
}

.order-totals-summary .order-total th {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.order-totals-summary .order-total td {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Order Summary Column */
.order-summary-column {
    position: sticky;
    top: 100px;
}

.order-summary-sticky {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

/* Cart Items in Summary */
.cart-items-summary {
    margin-bottom: 25px;
}

.summary-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-cart-item:last-child {
    border-bottom: none;
}

.item-image {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 24px;
}

.item-quantity {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #7c3aed;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #111827;
    margin: 0 0 5px 0;
    font-size: 15px;
}

.item-price {
    font-weight: 700;
    color: #111827;
    font-size: 16px;
}

/* Coupon Section */
.coupon-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.coupon-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7c3aed;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-toggle:hover {
    color: #6d28d9;
}

.coupon-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-input:focus {
    border-color: #7c3aed;
    outline: none;
}

.coupon-button {
    padding: 12px 24px;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-button:hover {
    background: #6d28d9;
}

/* Order Totals Table */
.stripe-style-checkout .shop_table {
    border: none;
    background: transparent;
}

.stripe-style-checkout .shop_table th,
.stripe-style-checkout .shop_table td {
    border: none;
    padding: 12px 0;
    font-size: 15px;
}

.stripe-style-checkout .shop_table .order-total th,
.stripe-style-checkout .shop_table .order-total td {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

/* Security Badges */
.security-badges {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

/* Guarantee Box */
.guarantee-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

/* Payment Section - Shopify Style */
.woocommerce-checkout-payment {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0;
}

.woocommerce-checkout-payment .payment_methods {
    border: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce-checkout-payment .payment_method {
    background: #fff;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
}

.woocommerce-checkout-payment .payment_method:last-child {
    border-bottom: none;
}

.woocommerce-checkout-payment .payment_method:hover {
    background: #f9fafb;
}

.woocommerce-checkout-payment .payment_method label {
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 15px;
}

.woocommerce-checkout-payment .payment_method input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.woocommerce-checkout-payment .payment_method img {
    max-height: 24px;
    margin-left: auto;
}

.woocommerce-checkout-payment .payment_box {
    padding: 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}

/* Complete Order Button - Shopify Style */
.woocommerce-checkout-payment .place-order {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    margin: 0;
}

.woocommerce-checkout-payment .place-order button {
    width: 100%;
    background: #0070f3;
    color: #fff;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
}

.woocommerce-checkout-payment .place-order button:hover {
    background: #0060d9;
    transform: translateY(-1px);
    box-shadow: none;
}

.woocommerce-checkout-payment .place-order button:active {
    transform: translateY(0);
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 13px;
    color: #6b7280;
}

.woocommerce-terms-and-conditions-checkbox-text a {
    color: #0070f3;
    text-decoration: none;
}

.woocommerce-terms-and-conditions-checkbox-text a:hover {
    text-decoration: underline;
}

/* Footer Links */
.checkout-footer-links {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.checkout-footer-links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}

.checkout-footer-links a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Payment Section OLD */
.woocommerce-checkout-payment-old {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.woocommerce-checkout-payment .payment_methods {
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout-payment .payment_method {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.woocommerce-checkout-payment .payment_method.active,
.woocommerce-checkout-payment .payment_method:hover {
    border-color: #7c3aed;
    background: #faf5ff;
}

.woocommerce-checkout-payment .payment_method label {
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout-payment .place-order {
    margin-top: 20px;
}

.woocommerce-checkout-payment .place-order button {
    width: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-checkout-payment .place-order button:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .woocommerce div.product {
        padding: 20px;
    }
    
    .woocommerce div.product .product_title {
        font-size: 1.75rem;
    }
    
    .woocommerce div.product p.price {
        font-size: 2rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .woocommerce button.single_add_to_cart_button {
        font-size: 16px;
        padding: 14px 32px;
    }
    
    /* Responsive Checkout */
    .checkout-form-column {
        padding: 20px;
    }
    
    .checkout-progress {
        padding: 20px;
    }
    
    .progress-step {
        font-size: 12px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        display: none;
    }
    
    .order-summary-sticky {
        padding: 20px;
    }
}

/* ==========================================================================
   VARIACIONES DE PRODUCTOS
   ========================================================================== */

.woocommerce div.product form.cart .variations {
    margin-bottom: 30px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    padding: 10px 0;
    border: none;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 600;
    color: #374151;
}

.woocommerce div.product form.cart .variations select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    min-width: 200px;
}

/* ==========================================================================
   MINI CART (WIDGET)
   ========================================================================== */

.woocommerce-mini-cart {
    padding: 20px;
}

.woocommerce-mini-cart__total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c3aed;
    padding: 15px 0;
    border-top: 2px solid #e5e7eb;
}

.woocommerce-mini-cart__buttons {
    margin-top: 15px;
}

/* ==========================================================================
   SHOPIFY CHECKOUT - RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1000px) {
    .shopify-checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .shopify-sidebar-column {
        order: -1;
        padding: 30px 20px;
    }
    
    .shopify-main-column {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .shopify-checkout-header {
        padding: 15px 0;
    }
    
    .shopify-checkout-header .checkout-logo img {
        max-height: 32px;
    }
    
    .shopify-breadcrumb {
        font-size: 12px;
    }
    
    .shopify-main-column {
        padding: 20px 16px;
    }
    
    .shopify-sidebar-column {
        padding: 20px 16px;
    }
    
    .section-header-shopify h2 {
        font-size: 16px;
    }
    
    .payment-badges {
        font-size: 20px;
    }
    
    .checkout-footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .discount-form {
        flex-direction: column;
    }
    
    .apply-coupon-btn {
        width: 100%;
    }
}

/* ==========================================================================
   SHOPIFY CHECKOUT - ADDITIONAL ENHANCEMENTS
   ========================================================================== */

/* Loading State */
.woocommerce-checkout-payment .place-order button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages - Shopify Style */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    background: #fff;
    border: 1px solid #d1d5db;
    border-left: 4px solid #0070f3;
    border-radius: 5px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.woocommerce-error {
    border-left-color: #ef4444;
    color: #991b1b;
}

.woocommerce-message {
    border-left-color: #10b981;
    color: #065f46;
}

/* Smooth Animations */
.shopify-section,
.summary-product-item,
.payment_method {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus Styles */
.shopify-style-checkout input:focus,
.shopify-style-checkout select:focus,
.shopify-style-checkout textarea:focus {
    outline: none;
    border-color: #0070f3;
    box-shadow: none;
}

/* Trust Badges */
.checkout-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 5px;
    font-size: 12px;
    color: #6b7280;
}

.checkout-trust-badges i {
    color: #10b981;
}

