/**
 * Child Theme Custom Styles
 * 
 * Estilos personalizados adicionales del child theme
 * 
 * @package FlyntChild
 */

.productCard-btnBuyNow {
    display: none !important;
}

span#radio-control-wc-payment-method-options-custom_payment__label:after {
content: "";
    width: 160px;
    height: 30px;
    background-image: url(https://nativesmokes4less.one/wp-content/uploads/2025/06/creditcards.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========================================
   GLOBAL - ELIMINAR BORDES PUNTEADOS DE FOCUS
   ======================================== */

/* Eliminar borde punteado del plugin EWWW Image Optimizer */
img.scaled-image {
    border: none !important;
    margin: 0 !important;
    outline: none !important;
}

/* Eliminar outline azul punteado en todos los elementos cuando están en focus */
*:focus,
*:focus-visible,
a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
div:focus,
div:focus-visible,
img:focus,
img:focus-visible,
span:focus,
span:focus-visible {
    outline: none !important;
    border-style: solid !important; /* Forzar solid en lugar de dotted/dashed */
}

/* Eliminar outline en elementos de WooCommerce */
.woocommerce a:focus,
.woocommerce button:focus,
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.woocommerce-page a:focus,
.woocommerce-page button:focus,
.woocommerce-page input:focus,
.woocommerce-page select:focus,
.woocommerce-page textarea:focus {
    outline: none !important;
}

/* Eliminar outline en elementos de My Account */
.woocommerce-account a:focus,
.woocommerce-account button:focus,
.woocommerce-MyAccount-navigation a:focus,
.woocommerce-MyAccount-content a:focus,
.woocommerce-MyAccount-content button:focus {
    outline: none !important;
}

/* ========================================
   ABOUT PAGE - LAYOUT 2 COLUMNAS CON SHORTCODES
   ======================================== */

/* About page - ajustes generales para About Native Smokes (page ID 92) */

/* Page Header del about */
.page-id-92 .page-header {
    background-color: #f9fafb !important;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.page-id-92 .page-header p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
    max-width: 1000px;
    margin: 0 auto;
}

/* Row con layout de 2 columnas */
.page-id-92 .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1570px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* DESHABILITADO - Esto se maneja en functions.php inline ahora */
/*
.page-id-92 .row > .col.large-6:first-child {
    flex: 1 1 55%;
    min-width: 300px;
}

.page-id-92 .row > .col.large-6:last-child {
    flex: 1 1 40%;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-id-92 .row > .col.large-6:last-child img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
*/

/* Título principal en la columna */
.page-id-92 .col h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: left;
}

/* Título dentro de párrafos (del shortcode [title]) */
.page-id-92 .col p[style*="text-align: left"] h2 {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #1f2937;
}

/* Ajustar párrafos que contienen títulos */
.page-id-92 .col > p:has(h2) {
    margin-bottom: 1.5rem;
    padding: 0;
}

.page-id-92 .col p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.page-id-92 .col a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.page-id-92 .col a:hover {
    text-decoration: underline;
}

/* Section dentro de la columna - para el carousel */
.page-id-92 .col .section {
    margin-top: 3rem;
    padding: 0;
}

/* Category carousel específico para about page */
.page-id-92 .category-carousel-wrapper {
    width: 100%;
    margin: 2rem 0 0 0;
}

/* Visibility classes - responsive */
.hide-for-small {
    display: block;
}

.hide-for-medium {
    display: block;
}

@media (max-width: 849px) {
    .hide-for-medium {
        display: none !important;
    }
}

@media (max-width: 549px) {
    .hide-for-small {
        display: none !important;
    }
}

.show-for-medium {
    display: none;
}

@media (max-width: 849px) {
    .show-for-medium {
        display: block !important;
    }
}

.page-id-92 .category-carousel-container {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.page-id-92 .category-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;
    will-change: transform;
}

.page-id-92 .category-carousel-slide {
    flex-shrink: 0;
    width: calc(33.333% - 0.67rem);
}

.page-id-92 .category-carousel-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-id-92 .category-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.page-id-92 .category-carousel-image {
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 */
    position: relative;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-id-92 .category-carousel-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.page-id-92 .category-carousel-label {
    padding: 0.875rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
}

/* Dots de navegación */
.page-id-92 .category-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.page-id-92 .category-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.page-id-92 .category-carousel-dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.page-id-92 .category-carousel-dot.active {
    background: #dc2626;
    width: 24px;
    border-radius: 5px;
}

/* Mobile - apilado verticalmente */
@media (max-width: 1023px) {
    .page-id-92 .row {
        flex-direction: column;
    }
    
    /* DESHABILITADO - Esto se maneja en functions.php inline ahora */
    /*
    .page-id-92 .row > .col.large-6:first-child,
    .page-id-92 .row > .col.large-6:last-child {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .page-id-92 .row > .col.large-6:last-child {
        order: -1;
        margin-bottom: 2rem;
    }
    */
    
    .page-id-92 .category-carousel-slide {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 549px) {
    .page-id-92 .page-header {
        padding: 2rem 1rem !important;
    }
    
    .page-id-92 .page-header p {
        font-size: 1rem;
    }
    
    .page-id-92 .col h2 {
        font-size: 1.5rem;
    }
    
    .page-id-92 .category-carousel-slide {
        width: 100%;
    }
}

/* ========================================
   CONTAINER PARA PÁGINAS WOOCOMMERCE
   ======================================== */

/* My Account - Todo el contenido centrado */
body.woocommerce-account main,
body.woocommerce-account .woocommerce,
body.woocommerce-account .site-main {
    max-width: 1570px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Login y Register pages */
body.woocommerce-page.login main,
body.woocommerce-page.register main,
.woocommerce-form-login,
.woocommerce-form-register {
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Shop page - grid de productos */
body.archive.woocommerce main,
body.woocommerce-shop main,
body.post-type-archive-product main,
.woocommerce .products,
.woocommerce-page .products,
.woocommerce-products-header {
    max-width: 1570px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0.15rem !important;
    padding-right: 0.15rem !important;
}

/* Página de producto individual */
body.single-product main,
body.single-product .product,
body.single-product article {
    max-width: 1570px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* ========================================
   CART PAGE - MEJORAS DE ESPACIADO Y MOBILE
   ======================================== */

/* Cart layout - Mejor espaciado */
.cart-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1rem !important;
}

/* Desktop: Layout de 2 columnas */
@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr 400px !important;
        gap: 2rem !important;
    }
}

/* Cart table - Espaciado mejorado */
.cart-table {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

/* Cart item - Más compacto en mobile */
.cart-item {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 1rem !important;
    padding: 1rem !important;
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
}

@media (min-width: 640px) {
    .cart-item {
        grid-template-columns: 100px 1fr 100px 80px 100px !important;
        gap: 1.5rem !important;
    }
}

/* Producto en cart - Layout mobile */
.cart-item-product {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

/* Remove button - Más pequeño y discreto */
.cart-item .remove-btn {
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 18px !important;
    color: #9ca3af !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
}

.cart-item .remove-btn:hover {
    color: #dc2626 !important;
}

/* Thumbnail del producto */
.cart-item .product-thumbnail {
    width: 80px !important;
    height: 80px !important;
}

@media (min-width: 640px) {
    .cart-item .product-thumbnail {
        width: 100px !important;
        height: 100px !important;
    }
}

/* Cart item name */
.cart-item-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    line-height: 1.3 !important;
}

/* Precio en cart */
.cart-item-price {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

/* Quantity controls en cart */
.quantity-controls {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.qty-btn {
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #d1d5db !important;
    background: #ededed !important;
    font-size: 14px !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.qty-btn:hover {
    background: #d1d5db !important;
    color: #374151 !important;
}

.qty-input,
input.qty {
    width: 50px !important;
    height: 32px !important;
    text-align: center !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Cart totals sidebar - Mejor espaciado */
.cart-totals {
    background: #f9fafb !important;
    padding: 1.5rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    height: fit-content !important;
}

/* Continue shopping button */
.continue-shopping {
    margin-top: 1rem !important;
}

.continue-shopping-btn {
    color: #6b7280 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.continue-shopping-btn:hover {
    color: #374151 !important;
}

/* Breadcrumb - Más compacto */
.breadcrumb {
    margin-bottom: 1.5rem !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.breadcrumb-item {
    font-size: 13px !important;
    color: #6b7280 !important;
}

.breadcrumb-item.active {
    font-weight: 600 !important;
    color: #374151 !important;
}

/* ======================================== */

/* Scroll to Top Button Custom Styles */
.scrolltop-wrap {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.scrolltop-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.scrolltop-wrap a:hover {
    background: #0284c7;
    transform: translateY(-4px);
}

#scrolltop-bg {
    fill: none;
}

#scrolltop-arrow {
    fill: #ffffff;
}

/* Stock Display Styles */
.in-stock-master {
    margin: 1rem 0;
}

.in-stock-div,
.not-in-stock-div {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.in-stock-div {
    background: #d1fae5;
    color: #065f46;
}

.not-in-stock-div {
    background: #fee2e2;
    color: #991b1b;
}

/* Archive Search Styles */
.flatsome-archive-search-wrapper {
    margin-bottom: 2rem;
}

.archive-search-container {
    max-width: 600px;
}

.archive-search-form input[type="search"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.3s ease;
}

.archive-search-form input[type="search"]:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.archive-search-info {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.clear-search-link {
    color: #0ea5e9;
    text-decoration: none;
}

.clear-search-link:hover {
    text-decoration: underline;
}

/* PO Box Warning Styles */
.po-box-warning {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.strike-notice {
    display: block;
    padding: 1rem;
    border-radius: 0.375rem;
}

/* Custom Responsive Utilities */
@media (max-width: 768px) {
    .scrolltop-wrap {
        bottom: 1rem;
        right: 1rem;
    }
    
    .scrolltop-wrap a {
        width: 40px;
        height: 40px;
    }
}


/* ============================================================================
   FLATSOME DESIGN COMPATIBILITY
   Estilos portados desde Flatsome Child para mantener el diseño visual
   ============================================================================ */

/* Primary Colors */
:root {
  --fs-color-primary: #e62d2e;
  --fs-color-success: #00ac00;
  --fs-color-warning: #ff9800;
  --fs-color-yellow: #ffff00;
}

/* WooCommerce Product Buttons */
a.primary.is-small.mb-0.button.product_type_variable.is-flat.cfvsw_ajax_add_to_cart,
a.primary.is-small.mb-0.button.product_type_easy_product_bundle.add_to_cart_button.is-flat,
a.primary.is-small.mb-0.button.product_type_variable.add_to_cart_button.is-flat.cfvsw_ajax_add_to_cart,
.primary.is-small.mb-0.button.product_type_simple.is-flat,
.primary.is-small.mb-0.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-flat,
.primary.is-small.mb-0.button.wp-element-button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-flat,
.primary.is-small.mb-0.button.wp-element-button.product_type_simple.is-flat,
.button.primary.is-bevel.is-small.mb-0 {
  width: 100%;
  background-color: var(--fs-color-primary);
  color: white;
  font-weight: bold;
}

/* Brand Products Grid */
.brand-products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.title-brand {
  text-align: center;
  font-size: 36px;
}

.brand-products .col-inner {
  box-shadow: 0 1px 3px -2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}

.brand-products .product-small.type-product {
  padding: 0 9.8px 19.6px;
}

/* Variation Swatches */
.cfvsw-selected-swatch {
  border-color: var(--fs-color-success) !important;
  font-size: 18px;
  margin-bottom: 0;
  color: white;
  background-color: var(--fs-color-success);
}

.cfvsw-swatches-option {
  border-radius: 5px !important;
  font-weight: 700;
  line-height: 1.3;
}

.woocommerce-variation-availability {
  display: none;
}

/* Checkout Forms */
.wp-block-woocommerce-checkout input::placeholder {
  color: transparent !important;
}

h2.billing-h2 {
  font-size: 32px;
  color: #555555;
  margin-top: 10px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

#billing_address_2_field>label, 
#shipping_address_2_field>label {
  opacity: 100;
  width: auto;
}

input#billing_email {
  margin-bottom: 10px;
}

div#shipping_address_header_field,
div#billing_address_header_field {
  border-top-style: solid;
  margin-top: 10px;
  margin-bottom: 10px;
  border-top-color: #ECECEC;
  padding-top: 10px;
  padding-bottom: 5px;
}

p#shipping_country_field,
p#billing_country_field {
  display: flex;
  column-gap: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  line-height: 1em;
  font-size: 1em;
  padding: 0;
}

form.woocommerce-form.woocommerce-form-login.login {
  padding: 15px 30px 30px;
  border-style: dashed;
  border-width: 2px;
  border-color: var(--fs-color-primary);
}

/* Breadcrumbs */
.breadcrumbs a {
  text-transform: uppercase;
}

/* Load More Button */
.loadMoreBtn {
  position: relative;
  z-index: 1;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: var(--fs-color-primary);
  border-color: rgba(0, 0, 0, .05);
  color: #fff;
  font-weight: bold;
  padding: 5px;
  width: 20%;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Payment Methods */
li.wc_payment_method {
  display: flex;
  flex-wrap: wrap;
}

.payment_box.payment_method_zeni {
  width: 100%;
}

/* Product Section */
.product-section a.button.is-outline {
  display: block;
  margin: 0 auto;
  width: 200px;
}

.product-title {
  min-height: 55.02px;
}

.product-small {
  min-height: 430.02px;
}

/* Footer */
.absolute-footer.dark.medium-text-center.small-text-center {
  padding-bottom: 10px;
}

.copyright-footer {
  color: white;
}

/* Mega Menu */
h2.mega-menu-main-header {
  font-size: 32px;
  padding: 0 25px;
  margin: 0 0 10px;
  line-height: 30px;
  height: 32px;
  font-weight: 700;
  font-style: normal;
}

h2.mega-menu-main-header-right {
  font-size: 32px;
  padding: 0 10px;
  margin: 0 0 25px;
  line-height: 32px;
  height: 32px;
  font-weight: 700;
  font-style: normal;
}

.nav li.has-icon-left>a>i,
.nav li.has-icon-left>a>img,
.nav li.has-icon-left>a>svg {
  margin-right: 8px;
}

.header-bottom-nav > li > a {
  line-height: 30px;
}

/* Mobile Responsive */
@media (max-width: 800px) {
  .brand-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .mobile-affilliate {
    display: none;
  }
}

/* Search Forms */
@media (max-width: 1270px) {
  .header-search-form {
    display: none !important;
  }
}

@media (min-width: 1270px) {
  .header-search.header-search-lightbox {
    display: none !important;
  }
}

/* Reviews */
.ns4l-reviews-wrapper * {
  font-family: 'Poppins', sans-serif;
}

.campaign-reviews :is(.tm-title, .tm-overall, .tm-content, .go4269172405) {
  display: none !important;
}

.tm-widget {
  padding: 0 !important;
}

/* Checkboxes and Radios */
input[type=checkbox]+label,
input[type=radio]+label {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
}

/* ===============================================
   MY ACCOUNT - LOGIN & REGISTER (Adaptado de Flatsome)
   =============================================== */

/* Account Container */
.account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.flynt-account-login h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.account-login-inner,
.account-register-inner {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.flynt-account-login .row-divided > .col + .col {
  border-left: 1px solid #ececec;
}

@media (max-width: 849px) {
  .flynt-account-login .row-divided > .col {
    border-left: none !important;
    border-bottom: 1px solid #ececec;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }
  
  .flynt-account-login .row-divided > .col:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

/* Form Styles */
.woocommerce-form p.form-row label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

.woocommerce-form input.input-text {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ebeef0;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.woocommerce-form input.input-text:focus {
  border-color: #e62d2e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 45, 46, 0.1);
}

.woocommerce-form button[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #e62d2e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.woocommerce-form button[type="submit"]:hover {
  background: #f9b600;
  transform: translateY(0px);
  color: white;
}

.lost_password a {
  color: #666;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.lost_password a:hover {
  color: #e62d2e;
}

/* ===============================================
   MY ACCOUNT DASHBOARD (Diseño Moderno)
   =============================================== */

/* Welcome Section */
.flynt-welcome-section {
  background: #e62d2e;
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.welcome-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.welcome-avatar {
  flex-shrink: 0;
}

.welcome-avatar img {
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  width: 80px;
  height: 80px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.welcome-text {
  flex: 1;
}

.welcome-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.welcome-subtitle a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.welcome-subtitle a:hover {
  opacity: 0.8;
}

/* Account Cards Grid */
.flynt-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.flynt-account-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 2px solid #ebeef0;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.flynt-account-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #e62d2e;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flynt-account-card:hover {
  border-color: #e62d2e;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(230, 45, 46, 0.15);
}

.flynt-account-card:hover::before {
  opacity: 1;
}

/* Card Icon */
.account-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e62d2e;
  border-radius: 10px;
  color: #fff;
  transition: transform 0.3s ease;
}

.account-card-icon svg {
  width: 24px;
  height: 24px;
}

.flynt-account-card:hover .account-card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Card Content */
.account-card-content {
  flex: 1;
  min-width: 0;
}

.account-card-title {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.account-card-description {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}

/* Card Arrow */
.account-card-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #ccc;
  transition: all 0.3s ease;
}

.account-card-arrow svg {
  width: 100%;
  height: 100%;
}

.flynt-account-card:hover .account-card-arrow {
  color: #e62d2e;
  transform: translateX(4px);
}

/* ===============================================
   MY ACCOUNT NAVIGATION (Sidebar)
   =============================================== */

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(230, 45, 46, 0.1);
  border-color: #e62d2e;
  color: #e62d2e;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(230, 45, 46, 0.15);
  border-color: #e62d2e;
  color: #e62d2e;
  font-weight: 700;
}

/* ===============================================
   RESPONSIVE DESIGN - Mobile
   =============================================== */

@media (max-width: 768px) {
  .flynt-welcome-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .welcome-header {
    flex-direction: column;
    text-align: center;
  }
  
  .welcome-title {
    font-size: 1.5rem;
  }
  
  .welcome-subtitle {
    font-size: 0.9rem;
  }
  
  .flynt-account-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .flynt-account-card {
    padding: 1.25rem;
  }
  
  .account-card-icon {
    width: 40px;
    height: 40px;
  }
  
  .account-card-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .account-card-title {
    font-size: 1rem;
  }
  
  .account-card-description {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .welcome-avatar img {
    width: 60px;
    height: 60px;
  }
  
  .welcome-title {
    font-size: 1.3rem;
  }
  
  .flynt-account-card {
    padding: 1rem;
    gap: 1rem;
  }
}

/* ===============================================
   ANIMATIONS
   =============================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flynt-account-card {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.flynt-account-card:nth-child(1) { animation-delay: 0.05s; }
.flynt-account-card:nth-child(2) { animation-delay: 0.10s; }
.flynt-account-card:nth-child(3) { animation-delay: 0.15s; }
.flynt-account-card:nth-child(4) { animation-delay: 0.20s; }
.flynt-account-card:nth-child(5) { animation-delay: 0.25s; }
.flynt-account-card:nth-child(6) { animation-delay: 0.30s; }
.flynt-account-card:nth-child(7) { animation-delay: 0.35s; }
.flynt-account-card:nth-child(8) { animation-delay: 0.40s; }

/* ===============================================
   AGE GATE MODAL - PERSONALIZACIÓN COLORES DE MARCA
   =============================================== */

/* Wrapper del modal - fondo BLANCO COMPLETO que bloquea el sitio */
.age-gate-wrapper,
.age-gate__wrapper {
    --ag-background-color: rgb(255, 255, 255) !important;
    --ag-background-opacity: 1 !important;
    background-color: #ffffff !important;
}

/* Background color debe ser blanco sólido */
.age-gate-background-color,
.age-gate__background-color {
    background: #ffffff !important;
    opacity: 1 !important;
}

/* Contenedor principal del formulario age-gate */
.age-gate,
.age-gate__form {
    --ag-form-background: #ffffff !important;
    --ag-form-radius: 16px !important;
    --ag-form-shadow: 0 20px 60px rgba(230, 45, 46, 0.25) !important;
    --ag-form-border: 3px solid #e62d2e !important;
    --ag-form-padding: 40px !important;
}

/* Logo del Age Gate - usar el mismo logo del header */
img.age-gate-logo,
img.age-gate__logo,
img.age-gate-logo-image,
img.age-gate__logo-image,
.age-gate__heading img,
.age-gate-heading img {
    content: url('/wp-content/uploads/2025/10/ns4l-logo-new-optimized.webp') !important;
    width: 200px !important;
    height: auto !important;
    max-width: 200px !important;
    margin: 0 auto 25px !important;
    display: block !important;
    object-fit: contain !important;
}

/* Logo heading title - si no hay imagen, mostrar como background */
.age-gate-heading-title-logo,
.age-gate__heading-title--logo {
    background-image: url('/wp-content/uploads/2025/10/ns4l-logo-new-optimized.webp') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 200px !important;
    height: 80px !important;
    margin: 0 auto 25px !important;
    display: block !important;
}

/* Si el heading no tiene logo, agregar el logo antes del título */
.age-gate-heading-title:not(:has(img))::before,
.age-gate__heading-title:not(:has(img))::before,
.age-gate-headline:not(:has(img))::before,
.age-gate__headline:not(:has(img))::before {
    content: '';
    display: block;
    width: 200px;
    height: 80px;
    margin: 0 auto 25px;
    background-image: url('/wp-content/uploads/2025/10/ns4l-logo-new-optimized.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Fallback para PNG si no hay webp */
@supports not (background-image: url('/wp-content/uploads/2025/10/ns4l-logo-new-optimized.webp')) {
    img.age-gate-logo,
    img.age-gate__logo,
    img.age-gate-logo-image,
    img.age-gate__logo-image {
        content: url('/wp-content/uploads/2025/05/ns4l-logo-new.png') !important;
    }
    
    .age-gate-heading-title-logo,
    .age-gate__heading-title--logo,
    .age-gate-heading-title:not(:has(img))::before,
    .age-gate__heading-title:not(:has(img))::before,
    .age-gate-headline:not(:has(img))::before,
    .age-gate__headline:not(:has(img))::before {
        background-image: url('/wp-content/uploads/2025/05/ns4l-logo-new.png') !important;
    }
}

/* Títulos del modal */
.age-gate-heading-title,
.age-gate__heading-title,
.age-gate-headline,
.age-gate__headline {
    --ag-text-heading-color: #e62d2e !important;
    color: #e62d2e !important;
    --ag-text-headline-color: #e62d2e !important;
}

/* Subtítulos y texto adicional */
.age-gate-subheadline,
.age-gate__subheadline,
.age-gate-additional-information,
.age-gate__additional-information {
    --ag-text-subheadline-color: #333333 !important;
    color: #333333 !important;
}

/* Botón de confirmación "YES" - VERDE */
button.age-gate-submit-yes,
button.age-gate__submit--yes,
button.age-gate-button--yes {
    --ag-button-color-background: #00ac00 !important;
    background-color: #00ac00 !important;
    --ag-button-color-text: #ffffff !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

button.age-gate-submit-yes:hover,
button.age-gate__submit--yes:hover,
button.age-gate-button--yes:hover {
    --ag-button-color-hover: #009900 !important;
    background-color: #009900 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 172, 0, 0.4) !important;
}

/* Botón de rechazo "NO" - ROJO */
button.age-gate-submit-no,
button.age-gate__submit--no,
button.age-gate-button--no {
    --ag-button-color-background: #e62d2e !important;
    background-color: #e62d2e !important;
    --ag-button-color-text: #ffffff !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

button.age-gate-submit-no:hover,
button.age-gate__submit--no:hover,
button.age-gate-button--no:hover {
    --ag-button-color-hover: #d12626 !important;
    background-color: #d12626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(230, 45, 46, 0.4) !important;
}

/* Inputs del formulario */
.age-gate input[type="text"],
.age-gate__input,
.age-gate select,
.age-gate__select {
    --ag-input-border: 2px solid #e5e7eb !important;
    border: 2px solid #e5e7eb !important;
    --ag-input-radius: 8px !important;
    border-radius: 8px !important;
    --ag-input-padding: 12px 16px !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}

.age-gate input[type="text"]:focus,
.age-gate__input:focus,
.age-gate select:focus,
.age-gate__select:focus {
    border-color: #e62d2e !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(230, 45, 46, 0.1) !important;
}

/* Contenedor del checkbox "Remember me" - alineado horizontalmente */
.age-gate-remember-wrapper,
.age-gate__remember-wrapper {
    /* display: flex !important; */
    justify-content: center !important;
    align-items: center !important;
    /* width: 100% !important; */
    margin: 0 0 20px !important;
    padding: 1px 12px !important;
    background: #f9fafb !important;
    border-radius: 10px !important;
    /* border: 2px solid #e5e7eb !important; */
    transition: all 0.3s ease !important;
}

.age-gate-remember-wrapper:hover,
.age-gate__remember-wrapper:hover {
    border-color: #e62d2e !important;
    background: rgba(230, 45, 46, 0.05) !important;
}

/* Label del remember - flex horizontal */
.age-gate-remember,
.age-gate__remember {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
}

/* Checkbox de "Remember me" - más grande y con color de marca */
.age-gate-remember input[type="checkbox"],
.age-gate__remember input[type="checkbox"] {
    accent-color: #e62d2e !important;
    width: 22px !important;
    height: 22px !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Texto del remember - más prominente */
.age-gate-remember-text,
.age-gate__remember-text,
.age-gate-remember label,
.age-gate__remember label {
    color: #333333 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    margin: 0 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    position: relative !important;
    left: -6px !important;
    width: 8rem !important;
    border: none !important;
}

/* Logo personalizado */
.age-gate-heading-title-logo,
.age-gate__heading-title--logo {
    --ag-logo-max-width: 200px !important;
    max-width: 200px !important;
    margin-bottom: 20px !important;
}

/* Mensajes de error */
.age-gate-error,
.age-gate__error {
    --ag-text-error-color: #e62d2e !important;
    color: #e62d2e !important;
    background: rgba(230, 45, 46, 0.1) !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border-left: 4px solid #e62d2e !important;
}

/* Ajustes responsive para mobile */
@media (max-width: 768px) {
    .age-gate,
    .age-gate__form {
        --ag-form-padding: 25px !important;
    }
    
    /* Logo más pequeño en mobile */
    img.age-gate-logo,
    img.age-gate__logo,
    img.age-gate-logo-image,
    img.age-gate__logo-image,
    .age-gate__heading img,
    .age-gate-heading img {
        width: 150px !important;
        max-width: 150px !important;
        margin-bottom: 20px !important;
    }
    
    .age-gate-heading-title-logo,
    .age-gate__heading-title--logo,
    .age-gate-heading-title:not(:has(img))::before,
    .age-gate__heading-title:not(:has(img))::before,
    .age-gate-headline:not(:has(img))::before,
    .age-gate__headline:not(:has(img))::before {
        width: 150px !important;
        height: 60px !important;
        margin-bottom: 20px !important;
    }
    
    .age-gate-heading-title,
    .age-gate__heading-title {
        font-size: 1.5rem !important;
    }
    
    /* Remember wrapper más compacto */
    .age-gate-remember-wrapper,
    .age-gate__remember-wrapper {
        padding: 1px 10px !important;
    }
    
    /* Checkbox y texto más pequeños en mobile */
    .age-gate-remember input[type="checkbox"],
    .age-gate__remember input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
    }
    
    .age-gate-remember-text,
    .age-gate__remember-text,
    .age-gate-remember label,
    .age-gate__remember label {
        font-size: 14px !important;
        left: -4px !important;
        width: 7rem !important;
    }
    
    /* Botones apilados verticalmente en mobile */
    button.age-gate-submit-yes,
    button.age-gate__submit--yes,
    button.age-gate-submit-no,
    button.age-gate__submit--no {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
    }
    
    .age-gate-buttons,
    .age-gate__buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
}

/* Add your custom styles here */
@media (min-width: 768px) {
    .navigationHeader-secondary-menus > a:first-child {
	    display: none;
    }
}

@media (max-width: 768px) {
    .wc-block-components-notices__snackbar {
      bottom: auto !important
    }
}


.productCard-limitedEditionBadge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  max-width: 80px;
  max-height: 80px;
}