/* ============================================
   AFFILIATE PRO THEME - MAIN STYLES
   Version: 2.0.0
   ============================================ */

/* --------------------------------------------
   RESET & VARIABLES
   -------------------------------------------- */
:root {
    --king-orange: #FF5400;
    --king-orange-glow: rgba(255, 84, 0, 0.2);
    --king-dark: #1A1A1B;
    --king-bg: #F9FAFB;
    --gray-soft: #6B7280;
    --gray-hard: #374151;
    --white: #FFFFFF;
    --white-smoke: #F3F4F6;
    --king-border-light: rgba(0, 0, 0, 0.06);
    --whatsapp-green: #25D366;
    --instagram-gradient: #E1306C;
    --telegram-blue: #0088cc;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--king-bg);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--king-dark);
    line-height: 1.5;
}

/* --------------------------------------------
   TYPOGRAPHY
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------
   UTILITIES
   -------------------------------------------- */
.primary-text { color: var(--king-orange); }
.primary-bg { background-color: var(--king-orange) !important; }
.soft-text { color: var(--gray-soft); }
.white-text { color: var(--white); }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }

/* --------------------------------------------
   TOP ANNOUNCEMENT BAR
   -------------------------------------------- */
.top-announcement {
    background-color: var(--white-smoke);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--king-border-light);
}

.wa-badge {
    color: #000 !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --------------------------------------------
   NAVBAR
   -------------------------------------------- */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--king-border-light);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    height: 40px;
    width: auto;
}

.brand h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

/* --------------------------------------------
   NAV ACTIONS & USER MENU
   -------------------------------------------- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-logged-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.user-menu-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.user-link-icon {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--white-smoke);
    border-radius: 12px;
    color: var(--king-dark);
    transition: var(--transition-smooth);
    border: 1px solid var(--king-border-light);
    cursor: pointer;
}

.user-link-icon i {
    font-family: "dashicons";
    display: inline-block;
    line-height: 1;
    font-size: 20px;
    color: inherit;
}

.user-link-icon:hover {
    background-color: var(--white);
    color: var(--king-orange);
    box-shadow: 0 4px 12px var(--king-orange-glow);
    transform: translateY(-2px);
    border-color: var(--king-orange);
}

.user-link-icon.logout:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.btn-premium {
    position: relative;
    background: var(--king-orange);
    color: var(--white);
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: var(--transition-smooth);
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--king-orange-glow);
    filter: brightness(1.05);
}

.btn-premium.login-btn {
    color: #001529 !important;
    font-weight: 800;
}

/* --------------------------------------------
   CATEGORY NAVIGATION
   -------------------------------------------- */
.category-nav {
    background-color: var(--king-orange);
    padding: 0;
    position: sticky;
    top: 83px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 84, 0, 0.2);
}

.category-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.category-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    gap: 0;
}

.category-list li {
    flex: 1;
    display: flex;
}

.cat-item {
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 700;
    padding: 20px 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

.cat-item:hover {
    color: var(--white);
}

.cat-item.active {
    background: rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.btn-all-categories {
    background: rgba(0, 0, 0, 0.15) !important;
    font-weight: 800;
}

.btn-all-categories:hover {
    background: rgba(0, 0, 0, 0.25) !important;
}

/* --------------------------------------------
   MODAL
   -------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 16, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--king-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.close-modal {
    background: var(--white-smoke);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #E5E7EB;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-group a {
    text-decoration: none;
    color: var(--gray-soft);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 6px 0;
}

.category-group a:hover {
    color: var(--king-orange);
    padding-left: 8px;
}

/* --------------------------------------------
   MAIN CONTENT
   -------------------------------------------- */
.content-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 25px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--king-border-light);
    flex-wrap: wrap;
    gap: 15px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--gray-soft);
    font-weight: 500;
}

.breadcrumb a {
    color: #000 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb a:hover {
    text-decoration: none;
}

.breadcrumb strong {
    color: var(--king-dark);
    font-weight: 700;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--king-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-select {
    background-color: var(--white-smoke);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--king-dark);
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.premium-select:focus {
    border-color: var(--king-orange);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 84, 0, 0.1);
}

/* --------------------------------------------
   OFFERS GRID
   -------------------------------------------- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--king-border-light);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--king-orange);
}

.card-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}

.discount-badge {
    background: var(--king-orange);
    color: #000;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.btn-favorito {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorito svg {
    width: 20px;
    fill: none;
    stroke: #64748b;
    stroke-width: 2px;
    transition: var(--transition-smooth);
}

.btn-favorito:hover {
    transform: scale(1.1);
}

.btn-favorito.active svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.card-image {
    padding: 40px 20px 20px;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.store-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-soft);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--king-dark);
    margin: 0 0 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.product-title a {
    text-decoration: none !important;
    color: #222 !important;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--king-orange) !important;
}

.price-wrapper {
    margin-bottom: 20px;
}

.old-price {
    font-size: 13px;
    color: var(--gray-soft);
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #D35400;
    font-weight: bold;
}

.current-price .currency {
    font-size: 14px;
    font-weight: 700;
    color: #000 !important;
}

.current-price .value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--white-smoke);
    flex-direction: column;
    gap: 12px;
}

.post-time {
    font-size: 11px;
    color: #333 !important;
    font-weight: 500;
}

.btn-get-offer {
    display: block;
    min-height: 48px;
    padding: 0 20px;
    line-height: 48px;
    text-align: center;
    margin-top: 16px;
    text-decoration: none;
    background: var(--king-dark);
    color: var(--white);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition-smooth);
    width: 100%;
    box-sizing: border-box;
}

.btn-get-offer:hover {
    background: var(--king-orange);
    box-shadow: 0 5px 15px var(--king-orange-glow);
    transform: translateY(-2px);
}

/* --------------------------------------------
   PAGINATION
   -------------------------------------------- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--white);
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    border: 1px solid #eee;
}

.pagination-wrapper a.page-numbers:hover {
    background: #fdfdfd;
    color: var(--king-orange) !important;
    border-color: var(--king-orange) !important;
    transform: translateY(-2px);
}

.pagination-wrapper .page-numbers.current {
    background: var(--king-orange) !important;
    color: var(--white);
    border-color: var(--king-orange) !important;
}

/* --------------------------------------------
   SINGLE OFFER PAGE
   -------------------------------------------- */
.offer-page {
    margin-top: 20px;
}

.product-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.product-layout.card-base {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.main-image-wrapper {
    position: relative;
    background: var(--white-smoke);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.discount-badge-float {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--king-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    z-index: 10;
}

.product-title-large {
    font-size: 32px;
    font-weight: 800;
    color: var(--king-dark);
    line-height: 1.2;
    margin: 10px 0 20px;
}

.store-tag {
    display: inline-flex;
    align-items: center;
    background: var(--white-smoke);
    color: var(--gray-hard);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.price-card-premium {
    background: var(--white-smoke);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
}

.current-price-large {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--king-orange);
}

.current-price-large .value {
    font-size: 48px;
    font-weight: 900;
}

.btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--king-orange);
    color: var(--white) !important;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 18px;
    margin-top: 20px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--king-orange-glow);
}

.safety-note {
    font-size: 12px;
    color: var(--gray-soft);
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

/* --------------------------------------------
   SIDEBAR
   -------------------------------------------- */
.sidebar-box {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}

.sidebar-box h4 {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 800;
}

.moderator-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.avatar-moderator {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eee;
}

.moderator-tag {
    background: rgba(255, 84, 0, 0.1);
    color: var(--king-orange);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    display: inline-block;
}

.share-grid {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.share-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white-smoke);
    color: var(--king-dark);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.share-item:hover {
    background: var(--king-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* --------------------------------------------
   FOOTER
   -------------------------------------------- */
.main-footer {
    background-color: var(--white);
    border-top: 1px solid var(--king-border-light);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--king-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--king-orange);
}

.footer-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--king-dark);
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-text, .news-text {
    color: var(--gray-soft);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-soft);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--king-orange);
    padding-left: 5px;
}

.news-form {
    display: flex;
    background: var(--white-smoke);
    padding: 6px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid transparent;
}

.news-form:focus-within {
    border-color: var(--king-orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 84, 0, 0.1);
}

.news-form input {
    border: none;
    background: transparent;
    padding: 12px;
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    font-size: 13px;
}

.news-form button {
    background: var(--king-orange);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 0 20px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.news-form button:hover {
    background: #E64C00;
}

.social-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--white-smoke);
    color: var(--king-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    background: var(--white);
    color: var(--king-orange);
    border-color: var(--king-orange);
    transform: translateY(-4px);
}

.social-btn[aria-label="WhatsApp"]:hover {
    color: #25D366;
    border-color: #25D366;
}

.social-btn[aria-label="Instagram"]:hover {
    color: #E1306C;
    border-color: #E1306C;
}

.social-btn[aria-label="Telegram"]:hover {
    color: #0088cc;
    border-color: #0088cc;
}

.footer-bottom {
    background-color: #F9FAFB;
    border-top: 1px solid var(--king-border-light);
    padding: 30px 0;
}

.footer-bottom-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 600;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    color: #333 !important;
}

.footer-bottom-content p a {
    color: var(--king-orange) !important;
}

/* --------------------------------------------
   MOBILE TAB BAR
   -------------------------------------------- */
.mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2500;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--king-border-light);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 calc(env(safe-area-inset-bottom) + 10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.mobile-tab-bar.active-scroll {
    transform: translateY(0);
    visibility: visible;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--gray-soft);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.tab-item svg {
    width: 22px;
    height: 22px;
}

.tab-item.active {
    color: var(--king-orange);
}

/* --------------------------------------------
   AUTH PAGES
   -------------------------------------------- */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.auth-container {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    background: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}

.auth-tab {
    flex: 1;
    padding: 18px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: #8e9aaf;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: var(--king-orange);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--king-orange);
    border-radius: 10px 10px 0 0;
}

.auth-box {
    display: none;
    padding: 40px;
    animation: fadeIn 0.4s ease-out;
}

.auth-box.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-box h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.auth-box p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group .input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fbfbfb;
}

.input-group .input:focus {
    border-color: var(--king-orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 84, 0, 0.1);
    outline: none;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    font-size: 13px;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lost-pass-link {
    font-size: 13px;
    color: var(--king-orange);
    text-decoration: none;
    font-weight: 500;
}

.lost-pass-link:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    padding: 16px;
    background: var(--king-orange);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
	text-align:center !important;
}

.auth-submit:hover {
    background: #E64C00;
    transform: translateY(-2px);
}

.auth-error {
    background: #fff5f5;
    color: #e03131;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    border-left: 4px solid #fa5252;
    margin-bottom: 20px;
}

.auth-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f7ff;
    color: #0056b3;
    padding: 12px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 20px;
}

/* --------------------------------------------
   ACCOUNT PAGE
   -------------------------------------------- */
.account-page {
    padding: 20px 0;
}

.account-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.update-alert {
    background: #dcfce7;
    color: #166534;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.card-title {
    margin-bottom: 24px;
}

.card-title h3 {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-title p {
    color: #64748b;
    font-size: 0.9rem;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-group.half {
    flex: 0 0 calc(50% - 10px);
}

.form-group.qt {
    flex: 0 0 calc(20% - 16px);
}

.form-group.st {
    flex: 1;
}

.premium-form-v2 label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.premium-form-v2 input[type="text"],
.premium-form-v2 input[type="email"],
.premium-form-v2 input[type="date"],
.premium-form-v2 select {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fdfdfd;
    width: 100%;
}

.premium-form-v2 input:focus,
.premium-form-v2 select:focus {
    border-color: var(--king-orange);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 84, 0, 0.1);
    background: var(--white);
}

.disabled-field {
    background: #f1f5f9 !important;
    color: #94a3b8;
    cursor: not-allowed;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.premium-cat-pill {
    cursor: pointer;
}

.premium-cat-pill input {
    display: none;
}

.pill-inner {
    display: inline-block;
    padding: 10px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    transition: all 0.2s;
}

.premium-cat-pill input:checked + .pill-inner {
    background: var(--king-dark);
    color: var(--white);
    border-color: var(--king-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-save-profile {
    width: 100%;
    padding: 16px;
    background: var(--king-orange);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save-profile:hover {
    background: var(--king-dark);
}

.newsletter-wrapper {
    margin-bottom: 32px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #475569;
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* --------------------------------------------
   SEARCH OVERLAY
   -------------------------------------------- */
.search-full-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.search-full-overlay.active {
    display: flex;
}

.search-content {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}

.search-field-big {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 4px solid var(--king-orange);
    font-size: 42px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 20px;
    outline: none;
    color: var(--king-dark);
    text-align: center;
}

.search-hint {
    margin-top: 20px;
    color: var(--gray-soft);
    font-size: 14px;
}

.close-search {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--king-dark);
    transition: var(--transition-smooth);
}

.close-search:hover {
    color: var(--king-orange);
    transform: rotate(90deg);
}

/* --------------------------------------------
   TEXT PAGE
   -------------------------------------------- */
.text-page-wrapper {
    max-width: 800px;
    margin: 40px auto 100px;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--king-border-light);
}

.text-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.text-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--king-dark);
    margin-top: 10px;
}

.text-body h2 {
    font-size: 20px;
    margin: 40px 0 20px;
}

.text-body p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.text-body blockquote {
    background: #fff7f3;
    border-left: 4px solid var(--king-orange);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

/* --------------------------------------------
   NO RESULTS
   -------------------------------------------- */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* --------------------------------------------
   RESPONSIVE
   -------------------------------------------- */
@media (max-width: 1200px) {
    .nav-container, .category-container, .content-container, 
    .footer-container, .footer-bottom-content {
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .mobile-tab-bar {
        display: flex;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    .main-footer {
        padding-bottom: 80px;
    }
    
    .product-page-wrapper {
        grid-template-columns: 1fr;
    }
    
    .product-layout.card-base {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .category-list {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .category-list::-webkit-scrollbar {
        display: none;
    }
    
    .category-list li {
        flex: none;
    }
    
    .cat-item {
        padding: 15px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-column {
        grid-column: span 2;
    }
    
    .modal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .category-nav {
        display: none !important;
    }
    
    .modal-content {
        padding: 25px;
        margin: 20px;
    }
    
    .product-title-large {
        font-size: 24px;
    }
    
    .current-price-large .value {
        font-size: 36px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group.half,
    .form-group.qt {
        flex: 1;
    }
    
    .text-page-wrapper {
        padding: 30px;
        margin: 20px;
    }
}

@media (max-width: 640px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .card-image {
        height: 160px;
        padding: 30px 15px 15px;
    }
    
    .product-title {
        font-size: 13px;
        min-height: 36px;
    }
    
    .current-price .value {
        font-size: 20px;
    }
    
    .btn-get-offer {
        font-size: 11px;
        padding: 0 12px;
    }
    
    .brand img {
        height: 30px;
    }
    
    .btn-premium {
        padding: 8px 16px;
        font-size: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .news-column {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .search-field-big {
        font-size: 24px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-wrapper {
        padding: 20px 15px;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .auth-box h2 {
        font-size: 22px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .text-title {
        font-size: 24px;
    }
}

@media (min-width: 769px) {
    .mobile-tab-bar {
        display: none !important;
    }
}

/* --------------------------------------------
   ANIMATIONS
   -------------------------------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------
   PRINT STYLES
   -------------------------------------------- */
@media print {
    .navbar, .category-nav, .footer, .mobile-tab-bar, 
    .btn-get-offer, .btn-favorito, .share-box {
        display: none !important;
    }
    
    .offer-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}



/**
 * Affiliate Pro Theme - Custom CSS
 */

/* Load More Button */
.load-more-wrapper {
    text-align: center;
    margin: 50px 0;
}

.load-more-button {
    background: var(--king-orange, #FF5400);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-button:hover {
    background: #E64C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 84, 0, 0.3);
}

.load-more-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Infinite Scroll */
.infinite-scroll-trigger {
    text-align: center;
    padding: 30px;
    color: #666;
}

.infinite-loader {
    display: inline-block;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Melhorias no card */
.offer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-favorito.active svg {
    fill: #ef4444;
    stroke: #ef4444;
}

/* Search overlay */
.search-full-overlay.active {
    display: flex !important;
}

/* Estilos adicionais do tema */
.load-more-wrapper {
    text-align: center;
    margin: 50px 0;
}