/* VEXORA PUBLIC MOBILE OVERRIDES */
/* Loaded only at max-width: 820px */

html,
body{
    width:100%;
    overflow-x:hidden;
}

body{
    font-size:15px;
}

/* SHARED HEADERS */

header,
.affiliate-header{
    height:auto !important;
    min-height:0 !important;
    padding:16px 18px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:14px !important;
    position:relative !important;
}

.logo,
.affiliate-header .logo{
    display:flex !important;
    justify-content:center !important;
    width:100% !important;
}

.logo img,
.affiliate-header .logo img{
    height:54px !important;
    width:auto !important;
}

nav,
.affiliate-header nav{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:8px !important;
}

nav a,
.affiliate-header nav a{
    font-size:13px !important;
    padding:9px 11px !important;
    border:1px solid rgba(255,255,255,0.08) !important;
    border-radius:999px !important;
    background:#151515 !important;
}

.dashboard-btn,
.header-actions,
.logout-btn{
    width:100% !important;
}

.header-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
}

.dashboard-btn,
.logout-btn{
    text-align:center !important;
    display:block !important;
}

/* LANDING HERO */

.hero,
.affiliate-hero{
    min-height:auto !important;
    padding:70px 20px !important;
    text-align:center !important;
    align-items:center !important;
    justify-content:center !important;
}

.hero-content{
    max-width:100% !important;
}

.hero h1,
.affiliate-hero h1{
    font-size:42px !important;
    line-height:1.08 !important;
    letter-spacing:-1px !important;
}

.hero p,
.affiliate-hero p{
    font-size:16px !important;
    line-height:1.65 !important;
    margin:20px auto 0 !important;
    max-width:100% !important;
}

.hero-btn,
.ghost-btn{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
}

.hero-actions{
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
}

/* LANDING SECTIONS */

.benefits,
.pricing,
.faq,
.page-section,
.affiliate-benefits,
.rank-section,
.split-section,
.portal-section{
    padding:70px 20px !important;
}

.benefits h2,
.pricing h2,
.faq h2,
.section-title-wrap h2,
.dashboard-title-wrap h2{
    font-size:36px !important;
    line-height:1.12 !important;
    margin-bottom:28px !important;
}

.section-title-wrap{
    margin-bottom:36px !important;
}

.section-title-wrap p,
.faq-subtitle{
    font-size:15px !important;
    line-height:1.7 !important;
    margin-bottom:34px !important;
}

.benefits-grid,
.pricing-grid,
.rank-grid,
.stats-grid,
.dashboard-grid,
.form-grid,
.calc-output{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
}

.benefit-card,
.pricing-card,
.rank-card,
.calculator-card,
.affiliate-form,
.dashboard-card,
.login-gate,
.custom-deal-box{
    padding:24px !important;
    border-radius:16px !important;
    min-height:auto !important;
}

.benefit-header{
    align-items:flex-start !important;
}

.benefit-card h3,
.pricing-card h3,
.rank-card h3{
    font-size:22px !important;
}

.account-tabs{
    max-width:100% !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:8px !important;
    margin-bottom:34px !important;
}

.account-tabs button{
    padding:13px 8px !important;
    font-size:13px !important;
}

.price,
.rank-percent{
    font-size:42px !important;
}

.old-price{
    left:18% !important;
}

.rule{
    gap:14px !important;
    align-items:flex-start !important;
}

.faq-question{
    padding:18px !important;
    gap:16px !important;
}

.faq-answer p{
    padding:0 18px 18px !important;
}

/* AFFILIATES */

.rank-grid{
    max-width:100% !important;
}

.custom-deal-box{
    margin-top:24px !important;
}

.slider-label-row{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:6px !important;
}

.vexora-range{
    height:16px !important;
    margin:10px 0 26px !important;
}

.vexora-range::-webkit-slider-thumb{
    width:28px !important;
    height:28px !important;
}

.vexora-range::-moz-range-thumb{
    width:28px !important;
    height:28px !important;
}

.split-preview{
    flex-direction:column !important;
    gap:10px !important;
}

.copy-row{
    grid-template-columns:1fr !important;
}

/* CHECKOUT */

.checkout-page{
    min-height:100vh !important;
    padding:28px 16px 38px !important;
}

.checkout-header{
    margin-bottom:22px !important;
}

.checkout-logo{
    height:52px !important;
}

.checkout-header h1{
    font-size:34px !important;
    line-height:1.12 !important;
}

.checkout-header p{
    font-size:15px !important;
    line-height:1.6 !important;
}

.checkout-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
    max-width:100% !important;
}

.checkout-card,
.order-summary{
    padding:22px !important;
    border-radius:16px !important;
}

.order-summary{
    position:static !important;
    top:auto !important;
}

.checkout-card h2,
.order-summary h2{
    font-size:22px !important;
}

.form-grid{
    grid-template-columns:1fr !important;
}

.full-width{
    grid-column:auto !important;
}

.addon-option,
.payment-option{
    padding:14px !important;
    gap:12px !important;
}

.addon-option strong,
.payment-option strong{
    font-size:14px !important;
}

.addon-option p,
.payment-option p{
    font-size:13px !important;
}

.coupon-box{
    grid-template-columns:1fr !important;
}

.coupon-box button{
    height:46px !important;
}

.summary-row,
.summary-total{
    gap:16px !important;
}

.summary-total{
    font-size:19px !important;
}

.terms{
    font-size:14px !important;
}

/* LOGIN */

.login-page{
    min-height:100vh !important;
    padding:24px 16px !important;
    align-items:center !important;
}

.login-card{
    max-width:100% !important;
    padding:28px 22px !important;
    border-radius:18px !important;
}

.login-logo{
    height:54px !important;
}

.login-card h1{
    font-size:30px !important;
}

.login-options{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:12px !important;
}

.modal-box{
    width:calc(100% - 32px) !important;
    padding:24px !important;
}

.modal-buttons{
    flex-direction:column !important;
}

/* FOOTERS */

.footer,
.affiliate-footer{
    padding:42px 22px !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:30px !important;
    text-align:left !important;
}

.footer-logo,
.affiliate-footer img{
    height:54px !important;
}

.footer-socials{
    flex-wrap:wrap !important;
}

/* GENERIC SAFETY */

img,
video,
canvas{
    max-width:100% !important;
}

input,
select,
textarea,
button{
    font-size:16px !important;
}

table{
    min-width:720px;
}

/* REAL MOBILE DRAWER HEADER */

.mobile-shell-header{
    height:74px !important;
    min-height:74px !important;
    padding:0 18px !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    position:sticky !important;
    top:0 !important;
    z-index:1000 !important;
    background:#111111 !important;
    border-bottom:1px solid rgba(255,255,255,0.08) !important;
}

.mobile-shell-header .logo{
    width:auto !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

.mobile-shell-header .logo img{
    height:52px !important;
    width:auto !important;
}

.mobile-menu-toggle{
    position:absolute !important;
    left:18px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:42px !important;
    height:42px !important;
    border:none !important;
    background:transparent !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:6px !important;
    padding:0 !important;
    cursor:pointer !important;
    z-index:1002 !important;
}

.mobile-menu-toggle span{
    width:31px !important;
    height:5px !important;
    border-radius:999px !important;
    background:#66E6E4 !important;
    display:block !important;
}

.mobile-menu-backdrop{
    position:fixed !important;
    inset:0 !important;
    background:rgba(0,0,0,0.62) !important;
    z-index:1998 !important;
    opacity:0 !important;
    pointer-events:none !important;
    transition:0.25s !important;
}

.mobile-menu-drawer{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    width:84vw !important;
    max-width:360px !important;
    height:100dvh !important;
    background:#111111 !important;
    border-right:1px solid rgba(85,107,47,0.45) !important;
    z-index:1999 !important;
    transform:translateX(-105%) !important;
    transition:0.28s ease !important;
    padding:24px 18px !important;
    overflow-y:auto !important;
    box-shadow:18px 0 55px rgba(0,0,0,0.45) !important;
}

body.mobile-menu-open .mobile-menu-backdrop{
    opacity:1 !important;
    pointer-events:auto !important;
}

body.mobile-menu-open .mobile-menu-drawer{
    transform:translateX(0) !important;
}

.mobile-menu-close{
    position:absolute !important;
    top:14px !important;
    right:16px !important;
    width:38px !important;
    height:38px !important;
    border:none !important;
    background:transparent !important;
    color:#B5B5B5 !important;
    font-size:36px !important;
    line-height:1 !important;
    cursor:pointer !important;
}

.mobile-menu-title{
    color:white !important;
    font-size:24px !important;
    font-weight:800 !important;
    margin:18px 0 30px !important;
}

.mobile-menu-drawer nav,
.mobile-menu-drawer .header-actions,
.mobile-menu-drawer .auth-buttons{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
}

.mobile-menu-drawer nav{
    margin-bottom:22px !important;
}

.mobile-menu-drawer nav a,
.mobile-menu-drawer .header-actions a,
.mobile-menu-drawer .header-actions button,
.mobile-menu-drawer .auth-buttons a,
.mobile-menu-drawer .auth-buttons button{
    width:100% !important;
    min-height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    padding:0 18px !important;
    background:#151515 !important;
    color:white !important;
    border:1px solid rgba(255,255,255,0.08) !important;
    border-radius:12px !important;
    text-decoration:none !important;
    font-size:15px !important;
    font-weight:700 !important;
    text-align:left !important;
}

.mobile-menu-drawer nav a:hover,
.mobile-menu-drawer .header-actions a:hover,
.mobile-menu-drawer .header-actions button:hover,
.mobile-menu-drawer .auth-buttons a:hover,
.mobile-menu-drawer .auth-buttons button:hover{
    background:#556B2F !important;
    border-color:#6B8E23 !important;
    transform:none !important;
    box-shadow:none !important;
}

.mobile-menu-drawer .dashboard-btn{
    background:#556B2F !important;
    justify-content:center !important;
}

.mobile-menu-drawer .logout-btn{
    background:#151515 !important;
    justify-content:center !important;
}

.mobile-menu-drawer .hidden{
    display:none !important;
}