/* Navigation divider between JA links and static items */
.nav-item.nav-divider { display: flex; align-items: center; padding: 0 8px; }
.nav-item.nav-divider .nav-sep { display: inline-block; width: 1px; height: 20px; background: rgba(0,0,0,0.1); }
/*
Theme Name: LotoFlex
Description: Powered by LotoFlex
Author: LotoFlex
Version: 1.1.11
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lotoflex-bello
Tags: responsive, modern, flexible, customizable, tabler, bootstrap
*/

/* 
 * Theme uses Tabler UI Kit (https://tabler.io/) 
 * Based on Bootstrap 5 with modern design components
 */

/* Custom Theme Overrides */
:root {
    margin-left: 0;
    --lfx-bg: #ffffff;
    --lfx-surface: #ffffff;
    --lfx-surface-2: #f8f9fa;
    --lfx-border: #dee2e6;
    --lfx-border-strong: #c3c4c7;
    --lfx-text: #354052;
    --lfx-text-muted: #6c757d;
    --lfx-text-inverse: #ffffff;
    --lfx-primary: #206bc4;
    --lfx-primary-contrast: #ffffff;
    --lfx-secondary: #929dab;
    --lfx-secondary-contrast: #ffffff;
    --lfx-accent: #ff3b30;
    --lfx-success: #2fb344;
    --lfx-warning: #f76707;
    --lfx-danger: #d63384;
    --lfx-info: #4299e1;
    --lfx-link: #206bc4;
    --lfx-link-hover: #1a5aa7;
    --lfx-focus: #206bc4;
    --lfx-shadow-1: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --lfx-shadow-2: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --lfx-gradient-primary: linear-gradient(135deg, var(--lfx-primary) 0%, color-mix(in srgb, var(--lfx-primary) 75%, #000 25%) 100%);
    --lfx-gradient-secondary: linear-gradient(135deg, var(--lfx-secondary) 0%, color-mix(in srgb, var(--lfx-secondary) 75%, #000 25%) 100%);
    --lfx-gradient-accent: linear-gradient(135deg, var(--lfx-accent) 0%, color-mix(in srgb, var(--lfx-accent) 75%, #000 25%) 100%);
    --tblr-primary: var(--lfx-primary);
    --tblr-secondary: var(--lfx-secondary);
    --tblr-success: var(--lfx-success);
    --tblr-danger: var(--lfx-danger);
    --tblr-warning: var(--lfx-warning);
    --tblr-info: var(--lfx-info);
    --tblr-light: var(--lfx-surface-2);
    --tblr-dark: var(--lfx-text);
    --tblr-muted: var(--lfx-text-muted);
    --tblr-white: var(--lfx-surface);
    --tblr-gray-50: var(--lfx-surface-2);
    --tblr-border-color: var(--lfx-border);
    --tblr-border-color-light: color-mix(in srgb, var(--lfx-border) 60%, #fff 40%);
    --lotoflex-primary: var(--lfx-primary);
    --lotoflex-secondary: var(--lfx-secondary);
    color-scheme: light;
}

body[data-theme="dark"] {
    --lfx-icon-filter: brightness(0) invert(1);
}

body[data-theme="light"] {
    --lfx-icon-filter: none;
}

.site,
body {
    background-color: var(--lfx-bg);
    color: var(--lfx-text);
}

.page-wrapper,
.page-body {
    background-color: transparent;
}

.card {
    background-color: var(--lfx-surface);
    color: var(--lfx-text);
    border-color: var(--lfx-border);
    box-shadow: var(--lfx-shadow-1);
}

.card-header {
    background-color: var(--lfx-surface-2);
    color: var(--lfx-text);
    border-bottom-color: var(--lfx-border);
}

.card-footer {
    background-color: var(--lfx-surface-2);
    border-top-color: var(--lfx-border);
}

.datagrid-title,
.breadcrumb-item,
.text-muted {
    color: var(--lfx-text-muted) !important;
}

.breadcrumb-item a {
    color: var(--lfx-link);
}

.breadcrumb-item a:hover {
    color: var(--lfx-link-hover);
}

.page-title,
.card-title,
.datagrid-content {
    color: var(--lfx-text);
}

.lfx-text { color: var(--lfx-text) !important; }
.lfx-text-muted { color: var(--lfx-text-muted) !important; }
.lfx-text-inverse { color: var(--lfx-text-inverse) !important; }
.lfx-bg { background-color: var(--lfx-bg) !important; }
.lfx-surface { background-color: var(--lfx-surface) !important; }
.lfx-surface-2 { background-color: var(--lfx-surface-2) !important; }
.lfx-border { border-color: var(--lfx-border) !important; }
.lfx-border-strong { border-color: var(--lfx-border-strong) !important; }

.text-dark { color: var(--lfx-text) !important; }
.text-muted { color: var(--lfx-text-muted) !important; }
.text-white { color: var(--lfx-text-inverse) !important; }
.bg-light { background-color: var(--lfx-surface-2) !important; }
.bg-white { background-color: var(--lfx-surface) !important; }

.lfx-input-muted {
    background-color: var(--lfx-surface-2) !important;
    color: var(--lfx-text-muted) !important;
}

.lfx-warning-tint {
    background: color-mix(in srgb, var(--lfx-warning) 12%, transparent 88%) !important;
}

.lfx-success-tint {
    background: color-mix(in srgb, var(--lfx-success) 12%, transparent 88%) !important;
}

/* Custom Navigation Styles */
.navbar-nav-scroll {
    width: 100%;
}

.navbar-nav-scroll .d-flex {
    align-items: center;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-menu .nav-item {
    position: relative;
}

.nav-menu .nav-link {
    color: var(--tblr-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--tblr-border-radius);
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-menu .nav-link:hover,
.nav-menu .current-menu-item .nav-link {
    color: var(--tblr-primary);
    background-color: var(--tblr-primary-lt);
}

.nav-menu .nav-link i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Mega menu icon container + text color */
.lfx-mega-menu__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

body[data-theme="light"] .lfx-mega-menu__icon-wrap {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
}

.lfx-mega-menu__icon-wrap .lottery-logo {
    height: 28px;
    width: auto;
    margin: 0;
}

.lfx-mega-menu__emoji {
    font-size: 1.25rem;
    line-height: 1;
}

/* Offcanvas toggle + dark scheme tweaks */
.lfx-mobile-menu-toggle {
    border: none;
    background: none;
    padding: 0.25rem;
}

.lfx-mobile-menu-icon {
    width: 32px;
    height: 32px;
    display: block;
}

body[data-theme="dark"] .lfx-mobile-menu-icon {
    filter: brightness(0) invert(1);
}

body[data-theme="dark"] .offcanvas {
    background-color: var(--lfx-bg);
    color: var(--lfx-text);
}

body[data-theme="dark"] .offcanvas .text-dark,
body[data-theme="dark"] .offcanvas .offcanvas-title,
body[data-theme="dark"] .offcanvas .offcanvas-contact-section h6,
body[data-theme="dark"] .offcanvas .offcanvas-contact-section span,
body[data-theme="dark"] .offcanvas .offcanvas-social-section h6,
body[data-theme="dark"] .offcanvas .offcanvas-social-section span,
body[data-theme="dark"] .offcanvas .lfx-offcanvas-menu-link span {
    color: var(--lfx-text) !important;
}

body[data-theme="dark"] .offcanvas hr {
    border-color: var(--lfx-border);
}

body[data-theme="dark"] .offcanvas-cart-top__icon {
    filter: brightness(0) invert(1);
}

.lfx-offcanvas-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    object-fit: contain;
}

.lfx-offcanvas-social-icon {
    width: 24px;
    height: 24px;
}

body[data-theme="dark"] .lfx-offcanvas-social-icon {
    filter: brightness(0) invert(1);
}

.lfx-mega-menu__game-link,
.lfx-mega-menu__game-link .lottery-title,
.lfx-mega-menu__game-link .text-sm {
    color: var(--lfx-text);
}

body[data-theme="dark"] .lfx-mega-menu__game-link,
body[data-theme="dark"] .lfx-mega-menu__game-link .lottery-title,
body[data-theme="dark"] .lfx-mega-menu__game-link .text-sm {
    color: #f8f8f8;
}

.lfx-mega-menu__game-link:hover,
.lfx-mega-menu__game-link:hover .lottery-title,
.lfx-mega-menu__game-link:hover .text-sm {
    color: var(--lfx-text);
}

body[data-theme="dark"] .lfx-mega-menu__game-link:hover,
body[data-theme="dark"] .lfx-mega-menu__game-link:hover .lottery-title,
body[data-theme="dark"] .lfx-mega-menu__game-link:hover .text-sm {
    color: #f8f8f8;
}

/* Why buy widget theme tokens */
.why-buy-widget {
    background: var(--lfx-surface);
    color: var(--lfx-text);
    padding: 2rem 0;
}

.why-buy-title {
    color: var(--lfx-text);
}

.why-buy-item {
    background: var(--lfx-surface-2);
    border: 1px solid var(--lfx-border);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
}

.why-buy-icon svg {
    color: var(--lfx-primary);
}

.why-buy-text {
    color: var(--lfx-text);
}

/* Lottery Navigation Styles */
.lottery-nav-item {
    position: relative;
}

.lottery-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--tblr-border-radius);
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    color: var(--tblr-muted);
    white-space: nowrap;
}

.lottery-nav-link:hover,
.current-menu-item .lottery-nav-link {
    color: var(--tblr-primary);
    background-color: var(--tblr-primary-lt);
    transform: translateY(-1px);
}

.lottery-logo {
    height: 32px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    transition: all 0.15s ease-in-out;
    margin-bottom: 0.25rem;
}

.lottery-nav-link:hover .lottery-logo {
    transform: scale(1.05);
}

.lfx-default-menu__icon-wrap {
    width: 42px;
    height: 42px;
    overflow: hidden;
}

.lfx-default-menu__icon {
    width: 32px;
    height: 32px;
    max-width: 32px;
    object-fit: contain;
}

.lottery-title {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive Lottery Menu */
@media (max-width: 1200px) {
    .lottery-title {
        display: none;
    }
    
    .lottery-nav-link {
        padding: 0.5rem;
        justify-content: center;
    }
    
    .lottery-logo {
        margin-right: 0 !important;
        height: 28px;
        max-width: 45px;
    }
}

@media (max-width: 768px) {
    .lottery-nav-link {
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }
    
    .lottery-title {
        display: inline;
        margin-left: 0.5rem;
    }
    
    .lottery-logo {
        margin-right: 0.5rem !important;
        height: 24px;
        max-width: 35px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar-nav-scroll .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .nav-menu .nav-link {
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--tblr-light);
    border-top: 1px solid var(--tblr-border-color);
    margin-top: 3rem;
}

.site-footer h5 {
    color: var(--tblr-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.site-footer .list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.site-footer .list-unstyled a {
    color: var(--tblr-muted);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
    display: flex;
    align-items: center;
}

.site-footer .list-unstyled a:hover {
    color: var(--tblr-primary);
}

.site-footer .list-unstyled a i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.site-footer .site-info {
    color: var(--tblr-muted);
    font-size: 0.875rem;
}

.site-footer .site-info a {
    color: var(--tblr-muted);
    text-decoration: none;
}

.site-footer .site-info a:hover {
    color: var(--tblr-primary);
}

/* Footer menu — mobile improvements */
@media (max-width: 767.98px) {
    .site-footer > .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .site-footer .row.py-4 {
        padding-top: 1.75rem !important;
        padding-bottom: 0.5rem !important;
    }

    .site-footer .col-md-6.mb-4 {
        margin-bottom: 1.75rem !important;
    }

    .site-footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--tblr-border-color);
    }

    .site-footer .list-unstyled li {
        margin-bottom: 0;
    }

    .site-footer .list-unstyled a {
        font-size: 0.95rem;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .site-footer .list-unstyled a i {
        font-size: 1.1rem;
    }
}

/* Footer badge logos */
.footer-badges-row .col-auto {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-badge-logo {
    width: auto;
    opacity: 0.85;
    transition: opacity 0.15s ease-in-out;
}

.footer-badge-logo:hover {
    opacity: 1;
}

.footer-badge-lg {
    height: 48px;
}

.footer-badge-sm {
    height: 32px;
}

@media (max-width: 575.98px) {
    .footer-badges-row .col-auto {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .footer-badge-lg {
        height: 30px;
    }

    .footer-badge-sm {
        height: 20px;
    }
}

/* WordPress Content Styling */
.wp-block-group,
.wp-block-columns,
.entry-content {
    margin-bottom: 1.5rem;
}

/* Ensure WordPress blocks work with Tabler */
.alignwide {
    width: 100%;
    max-width: 100%;
}

.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Header Styles - Using Tabler Components */
.site-header {
    background-color: var(--tblr-white);
    border-bottom: 1px solid var(--tblr-border-color);
    padding: 1rem 0;
    margin-top: 0;
}

.site-header.site-header-static {
    padding-top: 0;
    padding-bottom: 0;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.site-branding a img{
    padding: 8px;
    max-height: 72px;
    min-width: 125px;
    object-fit: contain;
    object-position: left;
}

.site-title a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tblr-dark);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--tblr-primary);
}

.site-description {
    color: var(--tblr-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* WordPress Content */
.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--tblr-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.entry-content {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--tblr-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-meta {
    color: var(--tblr-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-meta a {
    color: var(--tblr-muted);
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--tblr-primary);
}

/* Sidebar Styles - Using Tabler Cards */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: var(--tblr-white);
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--tblr-box-shadow-sm);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tblr-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--tblr-border-color);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--tblr-border-color-light);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--tblr-muted);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.widget a:hover {
    color: var(--tblr-primary);
}

/* WordPress Specific Styles */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Comment Styles - Using Tabler Components */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tblr-border-color);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tblr-dark);
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    background: var(--tblr-gray-50);
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1rem;
    background: var(--tblr-gray-50);
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    text-decoration: none;
    color: var(--tblr-dark);
    transition: all 0.15s ease-in-out;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--tblr-primary-lt);
    border-color: var(--tblr-primary);
    color: var(--tblr-primary);
}

/* Utility Classes Override */
.alignwide {
    width: 100%;
    max-width: 100%;
}

.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--lfx-surface-2) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--lfx-border) 80%, transparent 20%);
    font-size: 0.875rem;
    color: var(--lfx-text) !important;
}

.top-bar a {
    color: var(--lfx-text);
}

.top-bar a:hover {
    color: var(--lfx-link);
}

.top-bar .text-sm {
    font-size: 0.8rem;
}

.top-bar .top-bar-left {
    min-height: 40px;
}

.top-bar .top-bar-right {
    min-height: 40px;
}

.top-bar .top-bar-actions {
    gap: 1rem;
}

.top-bar .auth-links .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

.top-bar .cart-link {
    position: relative;
}

.top-bar .cart-count {
    font-size: 0.6em;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top Bar Responsive Styles */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.8rem;
    }
    
    .top-bar .top-bar-actions {
        gap: 0.5rem;
    }
    
    .top-bar .text-sm {
        font-size: 0.75rem;
    }
    
    .top-bar .auth-links .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .top-bar .top-bar-actions {
        gap: 0.25rem;
    }
    
    .top-bar .cart-link .cart-count {
        font-size: 0.5em;
        min-width: 16px;
        height: 16px;
    }
}

/* Top Bar Animations */
.top-bar a {
    transition: all 0.3s ease;
}

.top-bar a:hover {
    transform: translateY(-1px);
}

/* Custom SVG Icons */
.cart-icon {
    width: 20px;
    height: 20px;
    filter: var(--lfx-icon-filter, none);
    transition: all 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.quantity-icon {
    width: 14px;
    height: 14px;
    transition: all 0.2s ease;
}

.quantity-btn.minus .quantity-icon {
    filter: brightness(0) saturate(100%) invert(45%) sepia(8%) saturate(629%) hue-rotate(175deg) brightness(93%) contrast(89%);
}

.quantity-btn.plus .quantity-icon {
    filter: brightness(0) invert(1); /* White for primary button */
}

.quantity-btn:hover .quantity-icon {
    transform: scale(1.2);
}

.quantity-btn:disabled .quantity-icon {
    opacity: 0.5;
    filter: grayscale(100%);
}


/* Extra padding-y utility classes */
.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.py-10 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}



/* Responsive icon sizes */
@media (max-width: 768px) {
    .cart-icon {
        width: 18px;
        height: 18px;
    }
    
    .quantity-icon {
        width: 12px;
        height: 12px;
    }
}

.top-bar .cart-link:hover .cart-count {
    transform: translateY(-1px) translateX(50%) scale(1.1);
}

.top-bar .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: var(--tblr-border-radius);
}

.top-bar .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.top-bar .dropdown-item:hover {
    background-color: var(--tblr-primary-lt);
    color: var(--tblr-primary);
}

.top-bar .dropdown-item.active {
    background-color: var(--tblr-primary);
    color: var(--lfx-text-inverse);
}

/* Header spacing adjustment */
.site-header {
    margin-top: 0;
}

.navbar-nav-scroll {
    width: 100%;
}

.navbar-nav-scroll .d-flex {
    align-items: center;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-menu .nav-item {
    position: relative;
}

.nav-menu .nav-link {
    color: var(--tblr-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--tblr-border-radius);
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-menu .nav-link:hover,
.nav-menu .current-menu-item .nav-link {
    color: var(--tblr-primary);
    background-color: var(--tblr-primary-lt);
}

.nav-menu .nav-link i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar-nav-scroll .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .nav-menu .nav-link {
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }
}

/* Lottery Ticket Styles */
.lottery-tickets-grid {
    margin-bottom: 2rem;
}

.lottery-ticket {
    position: relative;
    border-radius: var(--tblr-border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* .lottery-ticket.selected {
    border-color: var(--tblr-primary);
    box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.1);
} */

.lottery-ticket-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.ticket-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lfx-gradient-accent);
    opacity: 0.9;
}

.ticket-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0rem;
    color: var(--lfx-text-inverse);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticket-number {
    font-size: 1.9rem;
    font-weight: 800;
    text-align: center;
    margin-top: 0rem;
    letter-spacing: 2px;
    color: var(--lfx-text);
    background-color: var(--lfx-surface);
    position: absolute;
    left: 32%;
    min-width: 150px;
    top: 19px;
    border-radius: 12px;
    box-shadow: 6px 3px 3px rgba(0,0,0,0.3);
}




.lottery-ticket-controls {
    padding: 1rem;
    background: var(--lfx-surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stock-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--tblr-primary);
    line-height: 1;
}

.stock-label {
    font-size: 0.75rem;
    color: var(--tblr-muted);
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--tblr-dark);
    min-width: 30px;
    text-align: center;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.quantity-btn.minus:disabled,
.quantity-btn.plus:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Selected Numbers List */
.selected-numbers-list {
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
}

.selected-number-item {
    padding: 0.5rem;
    background: var(--tblr-light);
    border-radius: var(--tblr-border-radius);
    margin-bottom: 0.5rem;
}

.empty-selection {
    padding: 2rem 1rem;
}

/* Footer Styles */
.footer-signature-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 150px;
}

.footer-signature-container svg {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    object-position: left;
}

/* Signature: admin logo + LotoFlex "utiliza" block */
.footer-signature {
    gap: 2rem;
}

.footer-signature__admin-logo img,
.footer-signature__admin-logo svg {
    max-height: 105px;
    width: auto;
    object-fit: contain;
}

.footer-signature__lf-block {
    gap: 0.35rem;
}

.footer-signature__utiliza-label {
    font-size: 0.75rem;
    color: var(--tblr-muted, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.footer-signature__lf-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .footer-signature {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-signature__admin-logo img,
    .footer-signature__admin-logo svg {
        max-height: 105px;
    }

    .footer-signature__lf-block {
        align-items: center;
    }

    .footer-signature__lf-logo {
        height: 48px;
    }
}

.nav-menu-offcanvas a {
    font-size: 1rem;
    font-weight: 400;
    text-align: right;
    padding: 0.35rem 0.5rem;
    color: var(--tblr-dark);
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0;
}

.offcanvas-auth .btn { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.offcanvas-navigation .mb-1 { margin-bottom: 0.25rem !important; }
.offcanvas-navigation a.small { font-size: 0.95rem; }

/* Offcanvas header actions */
.lf-offcanvas-header{
    justify-content: space-between;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.lf-offcanvas-body{
    padding: 0.5rem;
}
.offcanvas-actions { gap: 0.5rem; }
.offcanvas-cart-top { border: 0; background: transparent; }
.offcanvas-cart-top__icon { width: 18px; height: 18px; }
.offcanvas-cart-top__label { font-weight: 500; }
.offcanvas-cart-top .cart-count-badge { top: -4px; left: auto; right: -8px; transform: none; }
.offcanvas-close { transform: scale(1.2); } /* ~20% more prominent */

/* Prize Info Alert */
.alert-info {
    border-left: 4px solid var(--tblr-info);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lottery-ticket-image {
        height: 160px;
    }
    
    .ticket-number {
        font-size: 2rem;
    }
    

    
    .lottery-ticket-controls {
        padding: 0.75rem;
    }
    
    .stock-number {
        font-size: 1.25rem;
    }
    
    .quantity-display {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .lottery-tickets-grid .col-md-6 {
        width: 100%;
    }
    
    .lottery-ticket-image {
        height: 190px;
    }
    
    .ticket-number {
        font-size: 2rem;
        top: 10px;
        left: 35%;
    }
}

/* Loading Animation */
.lottery-ticket.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Cart Button States */
#add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#add-to-cart-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.custom-logo-link img {
    max-width: 130px;
    height: auto;
}

/* Fixed Header Styles */
.site-header.fixed-top {
    z-index: 1040;
    background: var(--lfx-surface);
    box-shadow: var(--lfx-shadow-1);
    border-bottom: 1px solid var(--lfx-border);
    padding: 0px 0;
}

@media (max-width: 768px) {
    .site-header.fixed-top {
        padding: 0px 0;
    }
}

/* Cart count badges */
.cart-count-badge {
    display: none;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    line-height: 1;
}

.cart-count-badge.is-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile floating cart action */
.mobile-cart-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: none;
}

.mobile-cart-fab.is-visible {
    display: block;
}

.mobile-cart-fab__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 3.5rem;
    padding: 0 1rem 0 0.75rem;
    border-radius: 999px;
    background: var(--lfx-accent);
    color: var(--lfx-text-inverse);
    box-shadow: var(--lfx-shadow-2);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border: 0;
    outline: none;
    cursor: pointer;
}

.mobile-cart-fab__link:hover {
    color: var(--lfx-text-inverse);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--lfx-shadow-2);
}

.mobile-cart-fab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
}

.mobile-cart-fab__icon img {
    width: 1.2rem;
    height: 1.2rem;
}

.mobile-cart-fab__badge {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
}

.mobile-cart-fab__label {
    font-weight: 600;
    font-size: 0.95rem;
}

/* FAB cart color adjustments */
.mobile-cart-fab__icon {
    background: var(--lfx-text); /* contrast circle behind cart */
}

.mobile-cart-fab__icon img {
    filter: var(--lfx-icon-filter, none);
    margin-left: -3px;
}

.mobile-cart-fab__badge.badge {
    background-color: var(--lfx-success) !important;
    color: var(--lfx-text-inverse) !important;
}

@media (min-width: 768px) {
    .mobile-cart-fab {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   Blog Archive & Single Post Styles
   ═══════════════════════════════════════════════════════════ */

.lfx-blog-archive {
    padding: 3rem 0 4rem;
}

.lfx-blog-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.lfx-blog-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lfx-text, #1a1a2e);
    margin: 0 0 0.5rem;
}

.lfx-blog-header__desc {
    font-size: 1.05rem;
    color: var(--lfx-text-muted, #6c757d);
    max-width: 600px;
    margin: 0 auto;
}

/* Card grid */
.lfx-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 991px) {
    .lfx-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lfx-blog-grid {
        grid-template-columns: 1fr;
    }
    .lfx-blog-header__title {
        font-size: 1.5rem;
    }
}

/* Blog card */
.lfx-blog-card {
    background: var(--lfx-card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lfx-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lfx-blog-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lfx-blog-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--lfx-bg-subtle, #f4f6f8);
}

.lfx-blog-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lfx-text-muted, #adb5bd);
}

.lfx-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lfx-blog-card:hover .lfx-blog-card__img {
    transform: scale(1.04);
}

.lfx-blog-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lfx-blog-card__date {
    font-size: 0.8rem;
    color: var(--lfx-text-muted, #6c757d);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lfx-blog-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--lfx-text, #1a1a2e);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.lfx-blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--lfx-text-muted, #6c757d);
    line-height: 1.55;
    margin: 0 0 1rem;
    flex: 1;
}

.lfx-blog-card__more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lfx-primary, #206bc4);
}

/* Blog pagination */
.lfx-blog-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.lfx-blog-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.lfx-blog-pagination .page-numbers li {
    list-style: none;
}

.lfx-blog-pagination .page-numbers a,
.lfx-blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--lfx-text, #354052);
    background: var(--lfx-card-bg, #fff);
    border: 1px solid var(--lfx-border, #dee2e6);
    transition: background 0.15s, color 0.15s;
}

.lfx-blog-pagination .page-numbers a:hover {
    background: var(--lfx-primary, #206bc4);
    color: #fff;
    border-color: var(--lfx-primary, #206bc4);
}

.lfx-blog-pagination .page-numbers .current {
    background: var(--lfx-primary, #206bc4);
    color: #fff;
    border-color: var(--lfx-primary, #206bc4);
}

/* Empty state */
.lfx-blog-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--lfx-text-muted, #6c757d);
    font-size: 1.1rem;
}

/* ── Single post (content-post.php) ─────────────────────── */

.lfx-blog-article {
    max-width: 780px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
}

.lfx-blog-article__header {
    margin-bottom: 2rem;
    text-align: center;
}

.lfx-blog-article__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--lfx-text, #1a1a2e);
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

@media (max-width: 575px) {
    .lfx-blog-article__title {
        font-size: 1.6rem;
    }
}

.lfx-blog-article__meta {
    font-size: 0.9rem;
    color: var(--lfx-text-muted, #6c757d);
}

.lfx-blog-article__meta-sep {
    margin: 0 0.5rem;
}

.lfx-blog-article__featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.lfx-blog-article__img {
    width: 100%;
    height: auto;
    display: block;
}

.lfx-blog-article__content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lfx-text, #354052);
}

.lfx-blog-article__content p {
    margin-bottom: 1.25rem;
}

.lfx-blog-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.lfx-blog-article__content h2,
.lfx-blog-article__content h3,
.lfx-blog-article__content h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--lfx-text, #1a1a2e);
}

.lfx-blog-article__content blockquote {
    border-left: 4px solid var(--lfx-primary, #206bc4);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--lfx-bg-subtle, #f8f9fa);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--lfx-text-muted, #495057);
}

.lfx-blog-article__content ul,
.lfx-blog-article__content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.lfx-blog-article__content li {
    margin-bottom: 0.35rem;
}
