/* =============================================
   INTRANITY DESIGN SYSTEM v1.0
   Marketplace de Produtos Digitais
   Cor predominante: Âmbar/Laranja (#F0260E)
   ============================================= */

:root {
  --color-primary: #F0260E;
  --color-primary-light: #F4442F;
  --color-primary-dark: #C41E0B;
  --color-primary-subtle: #FEF0EE;
  --color-primary-muted: #FACCC7;
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-surface-2: #F5F5F5;
  --color-surface-3: #EEEEEE;
  --color-border: #E8E8E8;
  --color-border-dark: #D0D0D0;
  --color-text: #1A1A1A;
  --color-text-secondary: #6B6B6B;
  --color-text-muted: #9E9E9E;
  --color-text-inverse: #FFFFFF;
  --color-success: #22C55E;
  --color-success-bg: #DCFCE7;
  --color-warning: #F59E0B;
  --color-warning-bg: #FEF3C7;
  --color-danger: #EF4444;
  --color-danger-bg: #FEE2E2;
  --color-info: #3B82F6;
  --color-info-bg: #DBEAFE;
  --font-display: 'Sora', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08),0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10),0 4px 8px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 48px rgba(0,0,0,.12),0 8px 16px rgba(0,0,0,.08);
  --shadow-primary: 0 4px 16px rgba(240,38,14,.25);
  --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
  --transition-base: 250ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 350ms cubic-bezier(.4,0,.2,1);
  --container-max: 1280px;
  --navbar-height: 64px;
  --bottombar-height: 118px;
  --sidebar-width: 260px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--color-bg);color:var(--color-text);line-height:1.6;-webkit-font-smoothing:antialiased;padding-top:var(--navbar-height);padding-bottom:var(--bottombar-height);overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,textarea,select{font-family:inherit}
ul,ol{list-style:none}

h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:700;line-height:1.2;color:var(--color-text)}
h1{font-size:clamp(28px,5vw,48px)}
h2{font-size:clamp(22px,4vw,36px)}
h3{font-size:clamp(18px,3vw,24px)}
h4{font-size:20px} h5{font-size:18px} h6{font-size:16px}
.text-gradient{background:linear-gradient(135deg,var(--color-primary),#F4442F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

.container{max-width:var(--container-max);margin:0 auto;padding:0 var(--space-lg)}
.section{padding:var(--space-3xl) 0}
.grid-auto{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--space-md)}
.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);padding:10px 20px;border-radius:var(--radius-md);font-size:14px;font-weight:600;letter-spacing:.01em;transition:all var(--transition-fast);cursor:pointer;border:1.5px solid transparent;white-space:nowrap;user-select:none}
.btn-sm{padding:7px 14px;font-size:13px}.btn-lg{padding:13px 26px;font-size:16px}.btn-xl{padding:16px 32px;font-size:17px}.btn-full{width:100%}
.btn-primary{background:var(--color-primary);color:#fff;border-color:var(--color-primary);box-shadow:var(--shadow-primary)}
.btn-primary:hover{background:var(--color-primary-dark);border-color:var(--color-primary-dark);transform:translateY(-1px);box-shadow:0 6px 20px rgba(240,38,14,.35)}
.btn-secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border-dark)}
.btn-secondary:hover{background:var(--color-surface-2);border-color:var(--color-text-secondary)}
.btn-outline{background:transparent;color:var(--color-primary);border-color:var(--color-primary)}
.btn-outline:hover{background:var(--color-primary-subtle)}
.btn-ghost{background:transparent;color:var(--color-text-secondary);border-color:transparent}
.btn-ghost:hover{background:var(--color-surface-2);color:var(--color-text)}
.btn-danger{background:var(--color-danger);color:#fff;border-color:var(--color-danger)}

/* BADGES */
.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:var(--radius-full);font-size:12px;font-weight:600;letter-spacing:.02em}
.badge-primary{background:var(--color-primary-subtle);color:var(--color-primary-dark)}
.badge-success{background:var(--color-success-bg);color:#15803D}
.badge-warning{background:var(--color-warning-bg);color:#92400E}
.badge-danger{background:var(--color-danger-bg);color:#991B1B}
.badge-info{background:var(--color-info-bg);color:#1D4ED8}
.badge-neutral{background:var(--color-surface-3);color:var(--color-text-secondary)}

/* CARDS */
.card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);overflow:hidden;transition:all var(--transition-base)}
.card-body{padding:var(--space-lg)}
.card-hover:hover{border-color:var(--color-primary-muted);box-shadow:var(--shadow-lg);transform:translateY(-2px)}

/* FORMS */
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:var(--space-md)}
.form-label{font-size:13px;font-weight:600;color:var(--color-text);letter-spacing:.01em}
.form-label .required{color:var(--color-danger);margin-left:2px}
.form-input{width:100%;padding:10px 14px;border-radius:var(--radius-md);border:1.5px solid var(--color-border-dark);background:var(--color-surface);color:var(--color-text);font-size:14px;font-family:inherit;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}
.form-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(240,38,14,.12)}
.form-input::placeholder{color:var(--color-text-muted)}
textarea.form-input{resize:vertical;min-height:100px;max-width:100%;word-break:break-word}
.form-hint{font-size:12px;color:var(--color-text-muted)}
.form-error{font-size:12px;color:var(--color-danger)}

/* HEADER */
.site-header{position:fixed;top:0;left:0;right:0;z-index:900;height:var(--navbar-height);background:rgba(255,255,255,.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--color-border);transition:box-shadow var(--transition-base)}
.site-header.scrolled{box-shadow:var(--shadow-md)}
.header-inner{display:flex;align-items:center;gap:var(--space-md);height:100%;max-width:var(--container-max);margin:0 auto;padding:0 var(--space-lg)}
.site-logo{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:22px;font-weight:800;color:var(--color-text);flex-shrink:0}
.logo-icon{width:36px;height:36px;background:var(--color-primary);border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center}
.header-search{flex:1;max-width:480px;position:relative}
.header-search input{width:100%;padding:9px 14px 9px 40px;border-radius:var(--radius-full);border:1.5px solid var(--color-border-dark);background:var(--color-surface-2);font-size:14px;transition:all var(--transition-fast)}
.header-search input:focus{background:var(--color-surface);border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(240,38,14,.10);outline:none}
.header-search .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--color-text-muted);pointer-events:none}
.header-actions{display:flex;align-items:center;gap:var(--space-sm);margin-left:auto}
.header-icon-btn{position:relative;width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);transition:all var(--transition-fast)}
.header-icon-btn:hover{background:var(--color-surface-2);color:var(--color-text)}
.header-icon-btn .badge-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;background:var(--color-primary);border-radius:50%;border:2px solid #fff}

/* BOTTOM NAV */
.bottom-nav{position:fixed;left:clamp(12px,2.5vw,42px);right:clamp(12px,2.5vw,42px);bottom:clamp(10px,1.6vw,22px);z-index:950;height:96px;max-width:1480px;margin:0 auto;background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 100%);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.92);border-radius:34px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;justify-items:center;padding:10px clamp(10px,2.2vw,30px);box-shadow:0 18px 45px rgba(15,23,42,.16),0 5px 16px rgba(240,106,0,.13),inset 0 1px 0 rgba(255,255,255,.95);overflow:visible}
.bottom-nav::before,.bottom-nav::after{content:'';position:absolute;bottom:-1px;width:84px;height:48px;pointer-events:none;opacity:.95;z-index:-1;background:linear-gradient(135deg,#ff6a00,#f0260e);filter:drop-shadow(0 8px 12px rgba(240,38,14,.18))}
.bottom-nav::before{left:-1px;border-bottom-left-radius:34px;clip-path:polygon(0 7%,47% 100%,0 100%)}
.bottom-nav::after{right:-1px;border-bottom-right-radius:34px;clip-path:polygon(100% 7%,53% 100%,100% 100%)}
.bottom-nav-paw{position:absolute;top:39px;font-size:22px;line-height:1;color:#ff9b66;opacity:.42;filter:saturate(1.35);pointer-events:none;transform:rotate(-8deg)}
.bottom-nav-paw-left{left:47.5%}
.bottom-nav-paw-right{right:33.2%;transform:rotate(10deg)}
.bottom-nav-item{width:100%;min-width:0;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:4px 5px;border-radius:22px;color:#2b2b2b;transition:transform var(--transition-fast),background var(--transition-fast),color var(--transition-fast);cursor:pointer;text-decoration:none;position:relative;appearance:none;-webkit-appearance:none}
.bottom-nav-item:hover{color:var(--color-primary);background:rgba(255,106,0,.06);transform:translateY(-2px)}
.bottom-nav-item.active{color:var(--color-primary)}
.bottom-nav-item.active::after{content:'';position:absolute;left:50%;bottom:2px;width:36px;height:5px;border-radius:999px;background:linear-gradient(90deg,#ff6a00,#f0260e);transform:translateX(-50%);box-shadow:0 5px 10px rgba(240,38,14,.22)}
.bottom-nav-item .nav-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;line-height:1;transition:transform var(--transition-fast),filter var(--transition-fast);position:relative}
.bottom-nav-item .nav-icon img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 5px 6px rgba(15,23,42,.10))}
.bottom-nav-item:hover .nav-icon,.bottom-nav-item.active .nav-icon{transform:translateY(-2px) scale(1.04)}
.bottom-nav-item .nav-label{font-family:var(--font-display);font-size:15px;font-weight:800;letter-spacing:-.02em;line-height:1;color:currentColor;text-shadow:0 1px 0 rgba(255,255,255,.6);white-space:nowrap}
.bottom-nav-item.nav-center{height:104px;align-self:end;justify-content:flex-start;gap:5px;padding-top:0;color:var(--color-primary);background:transparent;z-index:2}
.bottom-nav-item.nav-center:hover{background:transparent;transform:none}
.bottom-nav-item.nav-center .nav-icon-wrap{width:84px;height:84px;margin-top:-28px;margin-bottom:1px;border-radius:50%;background:radial-gradient(circle at 50% 42%,#fff 0 53%,rgba(255,255,255,.98) 54% 100%);padding:6px;box-shadow:0 11px 30px rgba(240,38,14,.24),0 4px 16px rgba(15,23,42,.13),inset 0 0 0 1px rgba(255,255,255,.95);transition:transform var(--transition-fast),box-shadow var(--transition-fast)}
.bottom-nav-item.nav-center .nav-icon-wrap img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(240,38,14,.19))}
.bottom-nav-item.nav-center:hover .nav-icon-wrap{transform:translateY(-3px) scale(1.04);box-shadow:0 14px 34px rgba(240,38,14,.30),0 5px 18px rgba(15,23,42,.14)}
.bottom-nav-item.nav-center.active::after{display:none}
.bottom-nav-badge{position:absolute;top:13px;right:calc(50% - 34px);min-width:22px;height:22px;background:linear-gradient(180deg,#ff6a00,#f0260e);color:#fff;border-radius:var(--radius-full);font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 6px;border:3px solid #fff;box-shadow:0 5px 12px rgba(240,38,14,.30);font-family:var(--font-display);line-height:1}
@media (max-width: 720px){
  :root{--bottombar-height:104px}
  .bottom-nav{left:8px;right:8px;bottom:8px;height:82px;border-radius:24px;padding:8px 5px;grid-template-columns:repeat(6,minmax(0,1fr));box-shadow:0 12px 30px rgba(15,23,42,.17),0 4px 14px rgba(240,106,0,.12)}
  .bottom-nav::before,.bottom-nav::after{width:46px;height:31px;border-bottom-left-radius:24px;border-bottom-right-radius:24px}
  .bottom-nav-paw{display:none}
  .bottom-nav-item{height:66px;gap:3px;border-radius:16px;padding:4px 1px}
  .bottom-nav-item .nav-icon{width:31px;height:31px}
  .bottom-nav-item .nav-label{font-size:10px;font-weight:800;letter-spacing:-.04em}
  .bottom-nav-item.active::after{bottom:0;width:25px;height:4px}
  .bottom-nav-item.nav-center{height:88px;gap:2px}
  .bottom-nav-item.nav-center .nav-icon-wrap{width:62px;height:62px;margin-top:-20px;padding:4px}
  .bottom-nav-badge{top:10px;right:calc(50% - 24px);min-width:18px;height:18px;font-size:10px;border-width:2px;padding:0 5px}
}
@media (max-width: 380px){
  .bottom-nav{left:6px;right:6px;padding-left:2px;padding-right:2px}
  .bottom-nav-item .nav-icon{width:28px;height:28px}
  .bottom-nav-item .nav-label{font-size:9px}
  .bottom-nav-item.nav-center .nav-icon-wrap{width:58px;height:58px}
}

/* HERO */
.hero{background:linear-gradient(160deg,var(--color-primary-subtle) 0%,#fff 60%);padding:var(--space-3xl) 0;overflow:hidden;position:relative}
.hero::before{content:'';position:absolute;top:-60px;right:-80px;width:500px;height:500px;background:radial-gradient(circle,rgba(240,38,14,.08) 0%,transparent 70%);pointer-events:none}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3xl);align-items:center;max-width:var(--container-max);margin:0 auto;padding:0 var(--space-lg)}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--color-primary-subtle);color:var(--color-primary-dark);padding:6px 14px;border-radius:var(--radius-full);font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:var(--space-lg)}
.hero-title{font-size:clamp(32px,5vw,52px);font-weight:800;line-height:1.1;margin-bottom:var(--space-md)}
.hero-desc{font-size:17px;color:var(--color-text-secondary);line-height:1.7;margin-bottom:var(--space-xl)}
.hero-stats{display:flex;gap:var(--space-xl);margin-top:var(--space-xl)}
.hero-stat-num{font-family:var(--font-display);font-size:28px;font-weight:800;color:var(--color-primary)}
.hero-stat-label{font-size:13px;color:var(--color-text-muted);margin-top:2px}

/* CATEGORIES */
.category-strip{display:flex;gap:var(--space-sm);overflow-x:auto;padding:var(--space-md) 0;scrollbar-width:none;-ms-overflow-style:none}
.category-strip::-webkit-scrollbar{display:none}
.category-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:var(--radius-full);border:1.5px solid var(--color-border-dark);background:var(--color-surface);color:var(--color-text-secondary);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:all var(--transition-fast);text-decoration:none}
.category-pill:hover,.category-pill.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}
.category-pill .emoji{font-size:16px}

/* PRODUCT CARD */
.product-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);overflow:hidden;transition:all var(--transition-base);cursor:pointer;position:relative;display:flex;flex-direction:column}
.product-card:hover{border-color:var(--color-primary-muted);box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.product-card-cover{aspect-ratio:16/9;background:var(--color-surface-3);position:relative;overflow:hidden}
.product-card-cover img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition-slow)}
.product-card:hover .product-card-cover img{transform:scale(1.04)}
.product-card-category{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.65);color:#fff;padding:3px 10px;border-radius:var(--radius-full);font-size:11px;font-weight:700;letter-spacing:.04em;backdrop-filter:blur(4px)}
.product-card-body{padding:14px;flex:1;display:flex;flex-direction:column}
.product-card-seller{display:flex;align-items:center;gap:7px;margin-bottom:10px}
.seller-avatar{width:24px;height:24px;border-radius:50%;background:var(--color-primary-muted);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--color-primary-dark);flex-shrink:0;overflow:hidden}
.seller-avatar img{width:100%;height:100%;object-fit:cover}
.seller-name{font-size:12px;color:var(--color-text-secondary);font-weight:500}
.product-card-title{font-size:15px;font-weight:700;line-height:1.35;margin-bottom:8px;color:var(--color-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-rating{display:flex;align-items:center;gap:5px;margin-bottom:10px}
.stars{color:var(--color-warning);font-size:13px;letter-spacing:1px}
.rating-count{font-size:12px;color:var(--color-text-muted)}
.product-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px;border-top:1px solid var(--color-border)}
.product-price{font-family:var(--font-display);font-size:18px;font-weight:800;color:var(--color-primary)}
.btn-add-cart{padding:7px 14px;border-radius:var(--radius-md);background:var(--color-primary);color:#fff;font-size:13px;font-weight:700;transition:all var(--transition-fast)}
.btn-add-cart:hover{background:var(--color-primary-dark);transform:scale(1.04)}

/* MODALS */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:var(--space-md);opacity:0;visibility:hidden;transition:all var(--transition-base)}
.modal-backdrop.open{opacity:1;visibility:visible}
.modal{background:var(--color-surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);width:100%;max-width:520px;max-height:90vh;overflow-y:auto;overflow-x:hidden;transform:scale(.96) translateY(10px);transition:transform var(--transition-base);position:relative}
.modal-backdrop.open .modal{transform:scale(1) translateY(0)}
.modal-lg{max-width:780px}.modal-xl{max-width:1000px}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-lg) var(--space-xl);border-bottom:1px solid var(--color-border);position:sticky;top:0;background:var(--color-surface);z-index:1}
.modal-title{font-size:18px;font-weight:700}
.modal-close{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary);transition:all var(--transition-fast);font-size:20px}
.modal-close:hover{background:var(--color-surface-2);color:var(--color-text)}
.modal-body{padding:var(--space-xl)}
.modal-footer{padding:var(--space-md) var(--space-xl) var(--space-xl);display:flex;gap:var(--space-sm)}

/* CART */
.cart-item{display:flex;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--color-border)}
.cart-item:last-child{border-bottom:none}
.cart-item-thumb{width:72px;height:48px;border-radius:var(--radius-sm);background:var(--color-surface-3);overflow:hidden;flex-shrink:0}
.cart-item-thumb img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1}
.cart-item-title{font-size:14px;font-weight:600;margin-bottom:4px}
.cart-item-seller{font-size:12px;color:var(--color-text-muted)}
.cart-item-price{font-size:16px;font-weight:800;color:var(--color-primary);align-self:center;flex-shrink:0}
.cart-summary{background:var(--color-surface-2);border-radius:var(--radius-lg);padding:var(--space-md);margin-top:var(--space-md)}
.cart-summary-row{display:flex;justify-content:space-between;font-size:14px;margin-bottom:8px;color:var(--color-text-secondary)}
.cart-summary-row.total{font-size:18px;font-weight:800;color:var(--color-text);margin-bottom:0;padding-top:8px;border-top:1px solid var(--color-border-dark)}

/* AUTH */
.auth-tabs{display:flex;background:var(--color-surface-2);border-radius:var(--radius-md);padding:3px;margin-bottom:var(--space-xl)}
.auth-tab{flex:1;padding:8px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;color:var(--color-text-secondary);text-align:center;cursor:pointer;transition:all var(--transition-fast)}
.auth-tab.active{background:var(--color-surface);color:var(--color-primary);box-shadow:var(--shadow-sm)}
.auth-divider{display:flex;align-items:center;gap:var(--space-md);margin:var(--space-lg) 0;color:var(--color-text-muted);font-size:13px}
.auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:var(--color-border)}

/* VENDOR DASHBOARD */
.dashboard-layout{display:grid;grid-template-columns:var(--sidebar-width) 1fr;min-height:calc(100vh - var(--navbar-height) - var(--bottombar-height))}
.dashboard-sidebar{background:var(--color-surface);border-right:1px solid var(--color-border);padding:var(--space-xl) 0;position:sticky;top:var(--navbar-height);height:calc(100vh - var(--navbar-height));overflow-y:auto}
.sidebar-section-title{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-muted);padding:0 var(--space-lg);margin-bottom:6px;margin-top:var(--space-lg)}
.sidebar-nav-item{display:flex;align-items:center;gap:10px;padding:10px var(--space-lg);color:var(--color-text-secondary);font-size:14px;font-weight:500;border-left:3px solid transparent;transition:all var(--transition-fast);cursor:pointer;text-decoration:none}
.sidebar-nav-item:hover{background:var(--color-surface-2);color:var(--color-text)}
.sidebar-nav-item.active{background:var(--color-primary-subtle);color:var(--color-primary);border-left-color:var(--color-primary);font-weight:700}
.sidebar-nav-item .icon{font-size:18px;flex-shrink:0}
.dashboard-main{padding:var(--space-xl);background:var(--color-bg)}

/* CREATE PRODUCT GRID — 2 colunas no desktop, 1 no mobile */
.create-product-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:var(--space-xl);
}
/* Grid de preço (Preço / Preço promocional) */
.price-grid-mobile{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:var(--space-sm);
}

/* SAFE MOBILE FALLBACK: sidebar fora do fluxo quando fechado */
@media(max-width:1024px){
    .dashboard-sidebar:not(.open){
        transform:translateX(-110%) !important;
        pointer-events:none !important;
        visibility:hidden !important;
    }
    /* Impede qualquer overflow horizontal da página */
    .dashboard-layout{
        overflow:hidden !important;
    }
}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-md);margin-bottom:var(--space-xl)}
.metric-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);padding:var(--space-lg)}
.metric-icon{width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:var(--space-sm)}
.metric-icon.orange{background:var(--color-primary-subtle)}.metric-icon.green{background:var(--color-success-bg)}.metric-icon.blue{background:var(--color-info-bg)}.metric-icon.amber{background:var(--color-warning-bg)}
.metric-value{font-family:var(--font-display);font-size:26px;font-weight:800;margin-bottom:2px}
.metric-label{font-size:13px;color:var(--color-text-muted)}
.metric-change{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600;margin-top:4px;padding:2px 8px;border-radius:var(--radius-full)}
.metric-change.up{background:var(--color-success-bg);color:#15803D}.metric-change.down{background:var(--color-danger-bg);color:#991B1B}
.balance-box{background:linear-gradient(135deg,var(--color-primary),#F4442F);border-radius:var(--radius-lg);padding:var(--space-lg);color:#fff;margin-bottom:var(--space-lg)}
.balance-label{font-size:13px;opacity:.85;margin-bottom:4px}
.balance-value{font-family:var(--font-display);font-size:32px;font-weight:800}
.balance-pending{font-size:13px;opacity:.7;margin-top:6px}
.pix-type-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-sm);margin-bottom:var(--space-md)}
.pix-type-btn{padding:10px;border-radius:var(--radius-md);border:1.5px solid var(--color-border-dark);font-size:12px;font-weight:600;text-align:center;cursor:pointer;transition:all var(--transition-fast);color:var(--color-text-secondary)}
.pix-type-btn.active{border-color:var(--color-primary);background:var(--color-primary-subtle);color:var(--color-primary-dark)}

/* PRODUCT CREATION */
.product-type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-sm);margin-bottom:var(--space-lg)}
.product-type-card{border:1.5px solid var(--color-border-dark);border-radius:var(--radius-lg);padding:var(--space-md);text-align:center;cursor:pointer;transition:all var(--transition-fast)}
.product-type-card:hover{border-color:var(--color-primary);background:var(--color-primary-subtle)}
.product-type-card.selected{border-color:var(--color-primary);background:var(--color-primary-subtle);box-shadow:0 0 0 3px rgba(240,38,14,.15)}
.product-type-card .type-icon{font-size:28px;margin-bottom:6px}
.product-type-card .type-label{font-size:12px;font-weight:700;color:var(--color-text)}
.upload-zone{border:2px dashed var(--color-border-dark);border-radius:var(--radius-lg);padding:var(--space-2xl);text-align:center;cursor:pointer;transition:all var(--transition-fast);color:var(--color-text-muted)}
.upload-zone:hover{border-color:var(--color-primary);background:var(--color-primary-subtle);color:var(--color-primary)}
.upload-icon{font-size:40px;margin-bottom:8px}

/* CHAT */
.chat-widget{position:fixed;bottom:calc(var(--bottombar-height) + 16px);right:var(--space-lg);z-index:800}
.chat-bubble{width:50px;height:50px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;box-shadow:var(--shadow-primary);transition:all var(--transition-fast);border:none}
.chat-bubble:hover{transform:scale(1.08);box-shadow:0 8px 24px rgba(240,38,14,.45)}
.chat-window{position:absolute;bottom:64px;right:0;width:360px;height:500px;background:var(--color-surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);border:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;transform:scale(.9);opacity:0;pointer-events:none;transition:all var(--transition-base)}
.chat-window.open{transform:scale(1);opacity:1;pointer-events:all}
.chat-window-header{padding:12px var(--space-md);border-bottom:1px solid var(--color-border);display:flex;align-items:center;gap:10px;background:var(--color-surface)}
.chat-contact-avatar{width:36px;height:36px;border-radius:50%;background:var(--color-primary-muted);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:var(--color-primary-dark);flex-shrink:0;overflow:hidden;position:relative}
.online-dot{width:10px;height:10px;background:var(--color-success);border-radius:50%;border:2px solid #fff;position:absolute;bottom:0;right:0}
.chat-messages{flex:1;overflow-y:auto;padding:var(--space-md);display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
.chat-msg{display:flex;gap:8px;max-width:80%}
.chat-msg.sent{align-self:flex-end;flex-direction:row-reverse}
.chat-msg-bubble{padding:8px 12px;border-radius:16px;font-size:13px;line-height:1.5;word-break:break-word}
.chat-msg.received .chat-msg-bubble{background:var(--color-surface-2);border-bottom-left-radius:4px;color:var(--color-text)}
.chat-msg.sent .chat-msg-bubble{background:var(--color-primary);color:#fff;border-bottom-right-radius:4px}
.chat-msg-time{font-size:10px;color:var(--color-text-muted);margin-top:3px;text-align:right}
.chat-msg.received .chat-msg-time{text-align:left}
.chat-input-bar{padding:10px var(--space-md);border-top:1px solid var(--color-border);display:flex;gap:8px;align-items:flex-end}
.chat-input-bar textarea{flex:1;border:1.5px solid var(--color-border-dark);border-radius:var(--radius-lg);padding:8px 12px;font-size:13px;font-family:inherit;resize:none;max-height:100px;transition:border-color var(--transition-fast)}
.chat-input-bar textarea:focus{outline:none;border-color:var(--color-primary)}
.chat-send-btn{width:36px;height:36px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast)}
.chat-send-btn:hover{background:var(--color-primary-dark);transform:scale(1.06)}
.chat-conv-item{display:flex;gap:10px;align-items:center;padding:12px var(--space-md);cursor:pointer;transition:background var(--transition-fast);border-bottom:1px solid var(--color-border)}
.chat-conv-item:hover{background:var(--color-surface-2)}
.chat-conv-item.active{background:var(--color-primary-subtle)}
.chat-conv-name{font-size:14px;font-weight:600}
.chat-conv-preview{font-size:12px;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-conv-unread{min-width:18px;height:18px;background:var(--color-primary);color:#fff;border-radius:var(--radius-full);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* PROFILE */
.profile-header{background:linear-gradient(160deg,var(--color-primary-subtle),#fff);border-radius:var(--radius-xl);padding:var(--space-xl);border:1px solid var(--color-border);margin-bottom:var(--space-xl)}
.profile-avatar{width:80px;height:80px;border-radius:50%;border:3px solid #fff;box-shadow:var(--shadow-md);object-fit:cover;background:var(--color-primary-muted);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:var(--color-primary-dark)}
.profile-name{font-size:22px;font-weight:800;margin-bottom:4px}
.profile-username{font-size:14px;color:var(--color-text-secondary);margin-bottom:var(--space-md)}
.profile-stats{display:flex;gap:var(--space-xl)}
.profile-stat{text-align:center}
.profile-stat-num{font-family:var(--font-display);font-size:20px;font-weight:800}
.profile-stat-label{font-size:12px;color:var(--color-text-muted)}

/* DATA TABLE */
.data-table{width:100%;border-collapse:collapse;font-size:14px}
.data-table thead th{background:var(--color-surface-2);padding:10px 14px;text-align:left;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted);border-bottom:1px solid var(--color-border)}
.data-table tbody td{padding:12px 14px;border-bottom:1px solid var(--color-border);color:var(--color-text)}
.data-table tbody tr:last-child td{border-bottom:none}
.data-table tbody tr:hover td{background:var(--color-surface-2)}

/* ORDERS */
.order-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);overflow:hidden;margin-bottom:var(--space-md)}
.order-card-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-md) var(--space-lg);background:var(--color-surface-2);border-bottom:1px solid var(--color-border)}
.order-card-body{padding:var(--space-lg)}
.order-download-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:var(--radius-md);font-size:13px;font-weight:600;background:var(--color-primary-subtle);color:var(--color-primary);border:1px solid var(--color-primary-muted);transition:all var(--transition-fast)}
.order-download-btn:hover{background:var(--color-primary);color:#fff}
.order-chat-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:var(--radius-md);font-size:13px;font-weight:600;background:var(--color-info-bg);color:var(--color-info);border:1px solid #BFDBFE;transition:all var(--transition-fast)}
.order-chat-btn:hover{background:var(--color-info);color:#fff}

/* CATEGORY FILTER */
.filter-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--radius-full);border:1.5px solid var(--color-border-dark);font-size:13px;font-weight:500;cursor:pointer;transition:all var(--transition-fast);background:var(--color-surface);color:var(--color-text-secondary)}
.filter-chip:hover{border-color:var(--color-primary);color:var(--color-primary)}
.filter-chip.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}

/* TOASTS */
.toast-container{position:fixed;top:calc(var(--navbar-height) + 12px);right:var(--space-lg);z-index:2000;display:flex;flex-direction:column;gap:var(--space-sm);pointer-events:none}
.toast{display:flex;align-items:center;gap:10px;background:var(--color-surface);border-radius:var(--radius-lg);padding:12px 16px;box-shadow:var(--shadow-xl);border:1px solid var(--color-border);pointer-events:all;animation:slideInRight .3s ease;max-width:340px;font-size:14px;font-weight:500}
.toast.success{border-left:3px solid var(--color-success)}.toast.error{border-left:3px solid var(--color-danger)}.toast.info{border-left:3px solid var(--color-info)}.toast.warning{border-left:3px solid var(--color-warning)}
@keyframes slideInRight{from{transform:translateX(110%);opacity:0}to{transform:translateX(0);opacity:1}}

/* EMPTY STATE */
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--space-3xl);text-align:center;color:var(--color-text-muted)}
.empty-state-icon{font-size:56px;margin-bottom:var(--space-md);opacity:.5}
.empty-state-title{font-size:18px;font-weight:700;color:var(--color-text-secondary);margin-bottom:var(--space-sm)}

/* LOADING */
.skeleton{background:linear-gradient(90deg,var(--color-surface-3) 25%,var(--color-surface-2) 50%,var(--color-surface-3) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm)}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.spinner{width:24px;height:24px;border:2px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* CHECKOUT */
.checkout-steps{display:flex;align-items:center;gap:0;margin-bottom:var(--space-xl)}
.checkout-step{display:flex;align-items:center;flex:1}
.step-circle{width:32px;height:32px;border-radius:50%;background:var(--color-surface-3);color:var(--color-text-muted);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;transition:all var(--transition-base)}
.checkout-step.active .step-circle{background:var(--color-primary);color:#fff}
.checkout-step.done .step-circle{background:var(--color-success);color:#fff}
.step-line{flex:1;height:2px;background:var(--color-border);margin:0 8px}
.checkout-step.done .step-line{background:var(--color-success)}
.pix-container{display:flex;flex-direction:column;align-items:center;gap:var(--space-md);padding:var(--space-lg);background:var(--color-surface-2);border-radius:var(--radius-lg)}
.pix-qr{width:180px;height:180px;background:#fff;border-radius:var(--radius-md);border:2px solid var(--color-border);display:flex;align-items:center;justify-content:center}

/* FOOTER */
.site-footer{background:#111;color:rgba(255,255,255,.7);padding:var(--space-3xl) 0 calc(var(--space-xl) + var(--bottombar-height));margin-bottom:0}
.footer-logo{color:#fff;font-family:var(--font-display);font-size:24px;font-weight:800;margin-bottom:var(--space-sm)}
.footer-logo span{color:var(--color-primary)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:var(--space-2xl)}
.footer-col-title{color:#fff;font-weight:700;font-size:14px;margin-bottom:var(--space-md);letter-spacing:.04em}
.footer-link{display:block;font-size:14px;color:rgba(255,255,255,.55);margin-bottom:8px;transition:color var(--transition-fast)}
.footer-link:hover{color:var(--color-primary)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:var(--space-lg);margin-top:var(--space-2xl);display:flex;align-items:center;justify-content:space-between;font-size:13px;color:rgba(255,255,255,.4)}
.fee-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(240,38,14,.15);color:#F4442F;padding:4px 12px;border-radius:var(--radius-full);font-size:12px;font-weight:700}

/* SELLER RATING */
.seller-rating-bar{display:flex;align-items:center;gap:var(--space-sm);margin-bottom:6px}
.rating-bar-track{flex:1;height:6px;background:var(--color-surface-3);border-radius:var(--radius-full);overflow:hidden}
.rating-bar-fill{height:100%;background:var(--color-warning);border-radius:var(--radius-full)}

/* RESPONSIVE */
@media(max-width:1024px){
  .metric-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-inner{grid-template-columns:1fr}
}
@media(max-width:768px){
  :root{--space-lg:16px}
  .product-type-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr;gap:var(--space-xl)}
  .chat-window{width:320px}
}
@media(max-width:480px){
  .hero-stats{flex-wrap:wrap;gap:var(--space-md)}
  .pix-type-selector{grid-template-columns:repeat(2,1fr)}
  .chat-window{width:calc(100vw - 32px);right:-8px}
}

/* =============================================
   PRODUCT CARD LINK OVERLAY
   ============================================= */
.product-card { position: relative; }
.product-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--radius-lg);
}
.btn-add-cart {
    position: relative;
    z-index: 2;
}

/* =============================================
   CATEGORY SELECTOR — animação suave ao recolher
   ============================================= */
.category-selector-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}
.category-selector-open {
    max-height: 2000px;
    opacity: 1;
    overflow: visible;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.category-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary-subtle);
    border: 1.5px solid var(--color-primary-muted);
    border-radius: var(--radius-full);
    padding: 6px 14px 6px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-sm);
}
.category-selected-badge:hover {
    background: var(--color-primary-muted);
}
.category-selected-badge .change-btn {
    font-size: 11px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 2px 8px;
    cursor: pointer;
}

/* Upload zone animada */
.upload-zone {
    border: 2px dashed var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-text-muted);
    position: relative;
}
.upload-zone:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    transform: scale(1.01);
}
.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* =============================================
   RESPONSIVO MOBILE — Single Product
   ============================================= */
@media (max-width: 768px) {
    /* Single product: empilhar colunas */
    .single-product-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }
    /* Purchase box: não sticky em mobile */
    .purchase-box-sticky {
        position: static !important;
        top: auto !important;
    }
    /* Create product modal: empilhar colunas */
    .create-product-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    /* Grid de preço: 1 coluna em mobile também */
    .price-grid-mobile {
        grid-template-columns: 1fr !important;
    }
    /* Variações: coluna única no mobile */
    .variation-item > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    /* Textarea e inputs: não transbordar o modal no mobile */
    .modal textarea.form-input,
    .modal input.form-input,
    .modal select.form-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Colunas internas: evitar overflow horizontal sem clipar textarea */
    .create-product-grid > div {
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }
    /* Vendor dashboard: centralizar botões */
    .vendor-dash-header {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }
    .vendor-dash-header .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    /* Profile/loja: centralizar */
    .vendor-profile-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .vendor-profile-stats {
        justify-content: center !important;
    }
    /* Metric grid mobile */
    .metric-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Modal full width em mobile — sheet que sobe de baixo */
    .modal {
        margin: 0 !important;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
        /* Usa dvh para descontar bottom bar e safe-area do iOS */
        max-height: calc(100dvh - 64px) !important;
        height: calc(100dvh - 64px) !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        display: flex !important;
        flex-direction: column !important;
    }
    /* Fallback para browsers sem dvh */
    @supports not (height: 1dvh) {
        .modal {
            max-height: calc(100vh - 64px) !important;
            height: calc(100vh - 64px) !important;
        }
    }
    .modal-xl, .modal-lg {
        max-width: 100vw !important;
    }
    .modal-backdrop {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    /* Header fixo no topo */
    .modal-header {
        flex-shrink: 0 !important;
    }
    /* Body ocupa o espaço restante e scrolla internamente */
    .modal-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding: var(--space-md) !important;
        /* Garante que o conteúdo não fica atrás do footer */
        padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px)) !important;
    }
    /* Footer gruda no fundo, com safe-area do iPhone */
    .modal-footer {
        flex-shrink: 0 !important;
        padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px)) !important;
        border-top: 1px solid var(--color-border) !important;
        position: sticky !important;
        bottom: 0 !important;
        background: var(--color-surface) !important;
        z-index: 2 !important;
    }
    /* Título produto no mobile: scroll-margin para não ocultar sob header sticky */
    #product-title {
        scroll-margin-top: 80px;
    }
    /* Categoria grid mobile: 2 colunas */
    #product-type-grid-wrap .product-type-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Modal body: padding reduzido para dar mais espaço */
    .modal-body {
        padding: var(--space-md) !important;
    }
    /* Q&A section */
    .qa-answer-form {
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    .metric-grid {
        grid-template-columns: 1fr !important;
    }
    /* Textarea nunca transborda em telas muito pequenas */
    textarea.form-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important; /* evita zoom automático no iOS */
        resize: vertical; /* permite apenas redimensionar verticalmente */
    }
    input.form-input,
    select.form-input {
        font-size: 16px !important; /* evita zoom automático no iOS */
    }
    /* Modal body padding mínimo */
    .modal-body {
        padding: var(--space-sm) !important;
    }
    /* Grid de preço dentro do modal: empilhar em telas muito pequenas */
    .price-grid-mobile {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   DASHBOARD MOBILE — hamburger + drawer
   ============================================= */

/* Botão hamburger e header mobile: hidden por padrão (desktop) */
.dash-mobile-header{
    display:none;
    align-items:center;
    justify-content:space-between;
    padding:12px 16px;
    background:var(--color-surface);
    border-bottom:1px solid var(--color-border);
    position:sticky;
    top:var(--navbar-height);
    z-index:300;
    flex-shrink:0;
}
.dash-hamburger{
    background:none;border:none;cursor:pointer;
    padding:8px;border-radius:8px;line-height:0;
    color:var(--color-text);
    flex-shrink:0;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}
.dash-hamburger:hover,.dash-hamburger:focus{background:var(--color-bg);outline:none}

/* Overlay escuro atrás do sidebar */
.dash-sidebar-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:1099;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}
.dash-sidebar-overlay.open{display:block}

/* Botão fechar dentro do sidebar */
.dash-sidebar-close{
    display:none;
    background:none;border:none;font-size:24px;cursor:pointer;
    padding:8px 12px 8px 8px;
    align-self:flex-end;
    line-height:1;
    color:var(--color-text-muted);
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}
.dash-sidebar-close:hover,.dash-sidebar-close:focus{color:var(--color-text);outline:none}

/* ---- Regras mobile (≤ 1024px) ---- */
@media(max-width:1024px){

    /* Mostrar header mobile com hamburger */
    .dash-mobile-header{
        display:flex !important;
    }

    /* Layout: remover coluna do sidebar, tudo em 1 coluna */
    .dashboard-layout{
        display:block !important;
    }

    /* Sidebar vira drawer fora da tela à esquerda */
    .dashboard-sidebar{
        display:block !important;
        position:fixed !important;
        top:0 !important;
        left:0 !important;
        transform:translateX(-110%) !important;
        width:290px !important;
        height:100dvh !important;
        z-index:1100 !important;
        padding-top:8px !important;
        transition:transform .28s cubic-bezier(.4,0,.2,1) !important;
        box-shadow:none !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        border-right:none !important;
        visibility:visible !important;
    }

    /* Sidebar aberto desliza para dentro */
    .dashboard-sidebar.open{
        transform:translateX(0) !important;
        box-shadow:4px 0 24px rgba(0,0,0,.25) !important;
    }

    /* Botão fechar visível dentro do sidebar */
    .dash-sidebar-close{
        display:flex !important;
    }

    /* Conteúdo principal ocupa tela toda */
    .dashboard-main{
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        overflow-x:hidden !important;
        padding:var(--space-md) !important;
    }
}

/* =============================================
   ONLINE STATUS
   ============================================= */
.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
}
.online-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.online-badge.is-online .dot { background: var(--color-success); animation: pulse-online 2s infinite; }
.online-badge.is-offline .dot { background: var(--color-text-muted); }
.online-badge.is-online { color: var(--color-success); }
.online-badge.is-offline { color: var(--color-text-muted); }

@keyframes pulse-online {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* =============================================
   Q&A SECTION
   ============================================= */
.qa-section {
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-xl);
}
.qa-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}
.qa-question {
    display: flex;
    gap: 10px;
    margin-bottom: var(--space-sm);
}
.qa-question-icon { font-size: 18px; flex-shrink: 0; }
.qa-question-text { font-weight: 600; font-size: 14px; color: var(--color-text); line-height: 1.5; }
.qa-question-meta { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }
.qa-answer {
    background: var(--color-primary-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-top: var(--space-sm);
    display: flex;
    gap: 10px;
}
.qa-answer-icon { font-size: 16px; flex-shrink: 0; }
.qa-answer-text { font-size: 14px; color: var(--color-text); line-height: 1.5; }
.qa-ask-form { margin-top: var(--space-lg); }
.qa-ask-form textarea {
    width: 100%;
    border: 1.5px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color var(--transition-fast);
}
.qa-ask-form textarea:focus { outline: none; border-color: var(--color-primary); }
.qa-vendor-reply {
    width: 100%;
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}
.qa-vendor-reply textarea {
    flex: 1;
    border: 1.5px solid var(--color-border-dark);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 13px;
    font-family: inherit;
    resize: none;
    min-height: 60px;
}
.qa-vendor-reply textarea:focus { outline: none; border-color: var(--color-primary); }
.qa-no-answer {
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: var(--space-sm);
    padding: 8px 14px;
}

/* =============================================
   NOTIFICAÇÕES FLUTUANTES
   ============================================= */
.notif-widget {
    position: fixed;
    bottom: calc(var(--bottombar-height) + 80px);
    right: var(--space-lg);
    z-index: 800;
}
.notif-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    position: relative;
}
.notif-bubble:hover {
    background: var(--color-surface-2);
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
}
.notif-bubble .notif-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--color-danger);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
}
.notif-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    max-height: 420px;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: none;
    flex-direction: column;
}
.notif-panel.open { display: flex; }
.notif-panel-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.notif-panel-title { font-weight: 700; font-size: 15px; }
.notif-panel-list { overflow-y: auto; flex: 1; }
.notif-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background var(--transition-fast);
    text-decoration: none;
    color: inherit;
}
.notif-item:hover { background: var(--color-surface-2); }
.notif-item.unread { background: var(--color-primary-subtle); }
.notif-item.unread:hover { background: var(--color-primary-muted); }
.notif-icon { font-size: 24px; flex-shrink: 0; }
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; color: var(--color-text); line-height: 1.3; }
.notif-body { font-size: 12px; color: var(--color-text-secondary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: 10px; color: var(--color-text-muted); margin-top: 3px; }
.notif-empty {
    padding: var(--space-xl);
    text-align: center;
    color: var(--color-text-muted);
}

/* =============================================
   SAQUE — grid responsivo
   ============================================= */
.saque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}
/* Tabela de saques: scroll horizontal em mobile */
.saque-grid .data-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =============================================
   CHAT PAGE — layout responsivo
   ============================================= */
.chat-page-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - var(--navbar-height) - var(--bottombar-height));
    max-width: var(--container-max);
    margin: 0 auto;
    overflow: hidden;
}
.chat-sidebar {
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-surface);
}
.chat-sidebar-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.chat-sidebar-list {
    overflow-y: auto;
    flex: 1;
}
.chat-main {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    overflow: hidden;
}
.chat-active-header {
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-surface);
    flex-shrink: 0;
}
.chat-input-bar {
    padding: var(--space-md) var(--space-xl);
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}
.chat-attach-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-surface-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--color-text-secondary);
    flex-shrink: 0;
    border: none; cursor: pointer;
    transition: background var(--transition-fast);
}
.chat-attach-btn:hover { background: var(--color-surface-3); }
.chat-textarea {
    flex: 1;
    border: 1.5px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    transition: border-color var(--transition-fast);
    background: var(--color-surface);
    color: var(--color-text);
}
.chat-textarea:focus { border-color: var(--color-primary); outline: none; }
.chat-send-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: none; cursor: pointer;
    transition: all var(--transition-fast);
}
.chat-send-btn:hover { transform: scale(1.08); }
/* Botão voltar — oculto no desktop, visível no mobile */
.chat-back-btn {
    display: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-surface-2);
    border: none; cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: var(--color-text);
    align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}
.chat-back-btn:hover { background: var(--color-surface-3); }

@media (max-width: 768px) {
    /* Saque: empilhar colunas */
    .saque-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }
    /* Pix type selector: 2 colunas no mobile */
    .pix-type-selector {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Chat: layout single-column, toggle via JS */
    .chat-page-layout {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
    }
    .chat-sidebar,
    .chat-main {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: calc(100vh - var(--navbar-height) - var(--bottombar-height));
    }
    /* Estado inicial mobile: sidebar visível, chat oculto */
    .chat-sidebar { display: flex; }
    .chat-main { display: none; }

    /* Classes controladas pelo JS para toggle */
    .chat-sidebar.chat-mobile-hidden { display: none !important; }
    .chat-sidebar.chat-mobile-visible { display: flex !important; }
    .chat-main.chat-mobile-hidden { display: none !important; }
    .chat-main.chat-mobile-visible { display: flex !important; }

    /* Botão voltar: visível no mobile */
    .chat-back-btn { display: flex !important; }

    /* Input bar padding reduzido */
    .chat-input-bar {
        padding: var(--space-sm) var(--space-md) !important;
    }
    .chat-active-header {
        padding: var(--space-sm) var(--space-md) !important;
    }
}

/* Utility: hover underline */
.hover-underline:hover { text-decoration: underline !important; }

/* =============================================
   LOGO IMAGEM — HEADER & FOOTER
   ============================================= */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo-img {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-logo:hover .site-logo-img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Footer logo */
.footer-logo-img-wrap {
    display: inline-block;
    margin-bottom: 12px;
}
.footer-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Torna visível em fundo escuro do footer */
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.footer-logo-img-wrap:hover .footer-logo-img {
    opacity: 1;
}


/* =============================================
   PRODUCT IMAGE QUALITY + GALLERY
   ============================================= */
.intranity-single-media-main,
.intranity-gallery-thumb,
.intranity-gallery-preview-item {
    background:#fff;
}
.intranity-single-media-main img,
.intranity-gallery-thumb img,
.intranity-gallery-preview-item img {
    image-rendering:auto;
    backface-visibility:hidden;
}
.intranity-single-media-main{
    border-radius:var(--radius-xl);
    overflow:hidden;
    margin-bottom:var(--space-sm);
    box-shadow:var(--shadow-md);
    background:#fff;
    aspect-ratio:16/10;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:zoom-in;
}
.intranity-single-media-main img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
.intranity-single-gallery-thumbs{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(74px,1fr));
    gap:10px;
    margin:0 0 var(--space-lg);
}
.intranity-gallery-thumb{
    border:2px solid var(--color-border);
    border-radius:var(--radius-md);
    overflow:hidden;
    aspect-ratio:1/1;
    cursor:pointer;
    padding:0;
    transition:all .18s ease;
}
.intranity-gallery-thumb:hover,
.intranity-gallery-thumb.active{
    border-color:var(--color-primary);
    box-shadow:0 0 0 3px rgba(240,38,14,.12);
}
.intranity-gallery-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
.intranity-single-lightbox{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
    background:rgba(0,0,0,.88);
    backdrop-filter:blur(8px);
    align-items:center;
    justify-content:center;
    padding:24px;
}
.intranity-single-lightbox.open{display:flex;}
.intranity-single-lightbox img{
    max-width:94vw;
    max-height:90vh;
    width:auto;
    height:auto;
    border-radius:14px;
    box-shadow:0 30px 80px rgba(0,0,0,.65);
    background:#fff;
}
.intranity-single-lightbox-close{
    position:absolute;
    top:16px;
    right:16px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:2;
}
.intranity-gallery-preview-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(74px,1fr));
    gap:8px;
    margin-top:var(--space-sm);
}
.intranity-gallery-preview-item{
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    overflow:hidden;
    aspect-ratio:1/1;
}
.intranity-gallery-preview-item img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
@media(max-width:768px){
    .grid-auto{grid-template-columns:1fr;gap:var(--space-lg)}
    .intranity-single-media-main{aspect-ratio:4/3}
}

/* Single product favorite button */
.intranity-single-favorite{font-weight:700}
.intranity-single-favorite:hover{color:var(--color-primary)}

/* ─── EBOOK CARDS — capa portrait ─────────────────────────────────── */
/* Grid de eBooks usa colunas mais estreitas para capa de livro ficar bonita */
.grid-eBooks,
.grid-ebooks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* Dentro do grid de ebooks, a capa é retrato (proporção de livro) */
.grid-eBooks .product-card-cover,
.grid-ebooks .product-card-cover {
    aspect-ratio: 3 / 4 !important;
}

/* Imagem da capa ocupa 100% sem cortar o topo/base */
.grid-eBooks .product-card-cover img,
.grid-ebooks .product-card-cover img {
    object-fit: cover;
    object-position: center top;
}

/* Responsivo */
@media (max-width: 1024px) {
    .grid-eBooks,
    .grid-ebooks {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .grid-eBooks,
    .grid-ebooks {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

/* ─── PRODUCT DESCRIPTION — preserva espaçamentos do editor ───────── */
.product-description p {
    margin-bottom: 1em;
}
.product-description p:last-child {
    margin-bottom: 0;
}
.product-description ul,
.product-description ol {
    margin: 0.75em 0 1em 1.5em;
    padding: 0;
}
.product-description li {
    margin-bottom: 4px;
    line-height: 1.7;
}
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4 {
    margin: 1.25em 0 0.5em;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}
.product-description strong {
    color: var(--color-text);
    font-weight: 700;
}

/* =============================================
   GAMES SUBCATEGORIES — create product modal
   ============================================= */
.games-subcategory-panel {
    margin-top: var(--space-md);
    border: 1.5px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    background: var(--color-surface-2);
    padding: var(--space-md);
}
.games-subcategory-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-md);
}
.games-subcategory-header strong {
    display: block;
    color: var(--color-text-primary);
    font-size: 15px;
}
.games-subcategory-header small {
    display: block;
    color: var(--color-text-muted);
    font-size: 12px;
    margin-top: 2px;
}
.games-subcategory-back {
    border: 1px solid var(--color-border-dark);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.games-subcategory-back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-subtle);
}
.games-subcategory-search {
    margin-bottom: var(--space-md);
    background: #fff;
}
.games-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}
.games-subcategory-card {
    min-height: 76px !important;
    padding: 12px 8px !important;
}
.games-subcategory-card .type-icon {
    font-size: 20px !important;
    margin-bottom: 5px !important;
}
.games-subcategory-card .type-label {
    font-size: 12px !important;
    line-height: 1.25 !important;
}
.games-subcategory-empty,
.games-subcategory-empty-filter {
    grid-column: 1 / -1;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px dashed var(--color-border-dark);
    color: var(--color-text-muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 768px) {
    .games-subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 300px;
    }
    .games-subcategory-header {
        align-items: flex-start;
    }
}

/* Loja > Games: dropdown premium de subcategorias */
.games-store-subcategory-filter{
  position:relative;
  z-index:35;
}
.games-store-subcategory-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border:1px solid rgba(255,106,0,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at top left, rgba(255,138,61,.18), transparent 34%),
    linear-gradient(135deg, #fff8f3 0%, #ffffff 48%, #fff3e9 100%);
  box-shadow:0 18px 44px rgba(15,23,42,.08);
  overflow:visible;
}
.games-store-subcategory-main{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:1 1 auto;
}
.games-store-subcategory-icon{
  width:54px;
  height:54px;
  min-width:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  font-size:24px;
  background:linear-gradient(135deg, rgba(255,106,0,.14), rgba(255,154,84,.28));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px rgba(255,106,0,.16);
}
.games-store-subcategory-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.games-store-subcategory-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--color-primary);
}
.games-store-subcategory-copy strong{
  font-size:18px;
  line-height:1.2;
  font-weight:800;
  color:var(--color-text);
}
.games-store-subcategory-copy span:not(.games-store-subcategory-eyebrow){
  font-size:13px;
  line-height:1.45;
  color:var(--color-text-muted);
}
.games-store-subcategory-select-wrap{
  min-width:310px;
  max-width:390px;
  width:100%;
  display:flex;
  flex-direction:column;
  gap:7px;
  position:relative;
}
.games-store-subcategory-label{
  font-size:12px;
  font-weight:800;
  color:var(--color-text-secondary);
}
.games-store-subcategory-dropdown{
  position:relative;
  width:100%;
}
.games-store-subcategory-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1.5px solid rgba(255,106,0,.22);
  border-radius:17px;
  background:#fff;
  color:var(--color-text);
  padding:12px 13px;
  min-height:50px;
  font:inherit;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,23,42,.055);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.games-store-subcategory-trigger:hover,
.games-store-subcategory-dropdown.is-open .games-store-subcategory-trigger{
  border-color:rgba(255,106,0,.42);
  box-shadow:0 13px 28px rgba(255,106,0,.12);
  transform:translateY(-1px);
}
.games-store-subcategory-trigger-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.games-store-subcategory-selected-icon,
.games-store-subcategory-option-icon{
  width:30px;
  height:30px;
  min-width:30px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,106,0,.10);
  font-size:16px;
}
.games-store-subcategory-selected-text{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  font-weight:800;
  text-align:left;
}
.games-store-subcategory-chevron{
  width:28px;
  height:28px;
  min-width:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:var(--color-primary);
  background:rgba(255,106,0,.10);
  font-size:18px;
  line-height:1;
  transition:transform .18s ease;
}
.games-store-subcategory-dropdown.is-open .games-store-subcategory-chevron{
  transform:rotate(180deg);
}
.games-store-subcategory-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:100%;
  min-width:min(390px, calc(100vw - 32px));
  max-height:410px;
  display:none;
  padding:10px;
  border:1px solid rgba(255,106,0,.16);
  border-radius:20px;
  background:#fff;
  box-shadow:0 24px 60px rgba(15,23,42,.18);
  overflow:hidden;
  z-index:999;
}
.games-store-subcategory-dropdown.is-open .games-store-subcategory-menu{
  display:block;
  animation:gamesDropdownIn .16s ease both;
}
@keyframes gamesDropdownIn{
  from{opacity:0;transform:translateY(-6px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.games-store-subcategory-search-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  margin-bottom:8px;
  border:1px solid rgba(255,106,0,.14);
  border-radius:14px;
  background:linear-gradient(180deg,#fffaf6,#fff);
}
.games-store-subcategory-search-input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--color-text);
  font:inherit;
  font-size:13px;
  font-weight:700;
}
.games-store-subcategory-search-input::placeholder{
  color:rgba(75,85,99,.7);
}
.games-store-subcategory-list{
  max-height:320px;
  overflow:auto;
  padding-right:3px;
}
.games-store-subcategory-list::-webkit-scrollbar{width:8px}
.games-store-subcategory-list::-webkit-scrollbar-track{background:#fff4eb;border-radius:999px}
.games-store-subcategory-list::-webkit-scrollbar-thumb{background:rgba(255,106,0,.45);border-radius:999px}
.games-store-subcategory-option{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:14px;
  color:var(--color-text);
  text-decoration:none;
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.games-store-subcategory-option:hover{
  background:#fff4eb;
  transform:translateX(2px);
}
.games-store-subcategory-option.is-active{
  background:linear-gradient(135deg, rgba(255,106,0,.14), rgba(255,106,0,.07));
  box-shadow:inset 0 0 0 1px rgba(255,106,0,.16);
}
.games-store-subcategory-option.is-hidden{display:none}
.games-store-subcategory-option-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.games-store-subcategory-option-text strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13.5px;
  line-height:1.15;
  font-weight:800;
}
.games-store-subcategory-option-text small{
  color:var(--color-text-muted);
  font-size:11.5px;
  line-height:1.2;
  font-weight:600;
}
.games-store-subcategory-no-results{
  display:none;
  padding:16px 8px 8px;
  color:var(--color-text-muted);
  text-align:center;
  font-size:13px;
  font-weight:700;
}
.games-store-subcategory-no-results.is-visible{display:block}
.intranity-single-category-link:hover{filter:brightness(.96);transform:translateY(-1px)}
@media (max-width:860px){
  .games-store-subcategory-card{
    align-items:stretch;
    flex-direction:column;
  }
  .games-store-subcategory-select-wrap{
    min-width:0;
    max-width:none;
  }
  .games-store-subcategory-menu{
    left:0;
    right:auto;
    min-width:100%;
  }
}
@media (max-width:640px){
  .games-store-subcategory-filter{z-index:60}
  .games-store-subcategory-card{padding:15px 14px;border-radius:18px;gap:14px}
  .games-store-subcategory-main{align-items:flex-start}
  .games-store-subcategory-icon{width:46px;height:46px;min-width:46px;border-radius:14px;font-size:21px}
  .games-store-subcategory-copy strong{font-size:16px}
  .games-store-subcategory-copy span:not(.games-store-subcategory-eyebrow){font-size:12px}
  .games-store-subcategory-trigger{padding:11px 12px;min-height:48px;border-radius:15px}
  .games-store-subcategory-menu{position:absolute;width:100%;max-height:390px;border-radius:18px}
  .games-store-subcategory-list{max-height:300px}
}

/* =============================================
   BLOG — cards, arquivo e single posts
   ============================================= */
.screen-reader-text{
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
  word-wrap:normal !important;
}
.intranity-home-blog{
  background:linear-gradient(180deg,#fff 0%,#fff8f6 100%);
  position:relative;
  overflow:hidden;
}
.intranity-home-blog::before{
  content:'';
  position:absolute;
  inset:auto -120px -220px auto;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(240,38,14,.10),transparent 68%);
  pointer-events:none;
}
.intranity-home-blog-header{position:relative;z-index:1}
.intranity-home-blog-subtitle{
  margin-top:8px;
  max-width:640px;
  color:var(--color-text-secondary);
}
.intranity-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  position:relative;
  z-index:1;
}
.intranity-blog-grid.home-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.intranity-blog-grid.compact{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.intranity-blog-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(240,38,14,.10);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 34px rgba(15,23,42,.06);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.intranity-blog-card:hover{
  transform:translateY(-4px);
  border-color:rgba(240,38,14,.32);
  box-shadow:0 20px 48px rgba(15,23,42,.10);
}
.intranity-blog-card.is-featured{
  grid-column:span 2;
}
.intranity-blog-card-link{
  position:absolute;
  inset:0;
  z-index:1;
}
.intranity-blog-card-media{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:linear-gradient(135deg,#fff1ed,#f4f4f5);
}
.intranity-blog-card.is-featured .intranity-blog-card-media{aspect-ratio:16/8.2}
.intranity-blog-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.intranity-blog-card:hover .intranity-blog-card-media img{transform:scale(1.04)}
.intranity-blog-card-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 20% 20%,rgba(240,38,14,.18),transparent 34%),
    linear-gradient(135deg,#fff7f4,#f2f4f7);
  font-size:46px;
}
.intranity-blog-card-cat{
  position:absolute;
  left:12px;
  top:12px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 24px);
  padding:6px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--color-primary-dark);
  border:1px solid rgba(240,38,14,.18);
  box-shadow:0 8px 22px rgba(15,23,42,.12);
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.intranity-blog-card-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.intranity-blog-card-meta{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  color:var(--color-text-muted);
  font-size:12px;
  font-weight:700;
}
.intranity-blog-card-title{
  color:var(--color-text);
  font-size:18px;
  font-weight:850;
  line-height:1.24;
  letter-spacing:-.015em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.intranity-blog-card.is-featured .intranity-blog-card-title{font-size:24px}
.intranity-blog-card-excerpt{
  color:var(--color-text-secondary);
  font-size:14px;
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.intranity-blog-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--color-border);
  font-size:13px;
}
.intranity-blog-card-author{
  color:var(--color-text-muted);
  font-weight:700;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.intranity-blog-card-cta{
  color:var(--color-primary);
  font-weight:900;
  white-space:nowrap;
}
.intranity-blog-hero{
  background:
    radial-gradient(circle at 85% 10%,rgba(240,38,14,.14),transparent 36%),
    linear-gradient(135deg,#fff 0%,#fff7f4 55%,#fff 100%);
  padding:72px 0 52px;
  overflow:hidden;
}
.intranity-blog-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:36px;
  align-items:center;
}
.intranity-blog-hero h1{
  margin-top:10px;
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.intranity-blog-hero p{
  max-width:720px;
  margin-top:16px;
  color:var(--color-text-secondary);
  font-size:17px;
  line-height:1.75;
}
.intranity-blog-search{
  margin-top:26px;
  display:flex;
  max-width:680px;
  padding:6px;
  border:1px solid rgba(240,38,14,.16);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}
.intranity-blog-search input{
  min-width:0;
  flex:1;
  border:0;
  outline:0;
  padding:12px 14px;
  background:transparent;
  color:var(--color-text);
  font-size:14px;
  font-weight:650;
}
.intranity-blog-search button{
  padding:12px 18px;
  border-radius:13px;
  background:var(--color-primary);
  color:#fff;
  font-weight:850;
  box-shadow:var(--shadow-primary);
}
.intranity-blog-hero-card{
  padding:26px;
  border:1px solid rgba(240,38,14,.16);
  border-radius:28px;
  background:rgba(255,255,255,.86);
  box-shadow:0 24px 70px rgba(15,23,42,.10);
  backdrop-filter:blur(12px);
}
.intranity-blog-hero-card span{font-size:42px;display:block;margin-bottom:12px}
.intranity-blog-hero-card strong{display:block;font-size:22px;line-height:1.18;color:var(--color-text)}
.intranity-blog-hero-card p{font-size:14px;margin-top:10px;line-height:1.65}
.intranity-blog-list-section{background:#fff}
.intranity-blog-cats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.intranity-blog-cat-pill{
  display:inline-flex;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--color-border);
  background:#fff;
  color:var(--color-text-secondary);
  font-size:13px;
  font-weight:800;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}
.intranity-blog-cat-pill:hover,
.intranity-blog-cat-pill.active{
  border-color:rgba(240,38,14,.28);
  background:var(--color-primary-subtle);
  color:var(--color-primary-dark);
}
.intranity-blog-pagination{
  margin-top:34px;
  display:flex;
  justify-content:center;
}
.intranity-blog-pagination ul{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.intranity-blog-pagination a,
.intranity-blog-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border-radius:13px;
  border:1px solid var(--color-border);
  background:#fff;
  font-weight:850;
  color:var(--color-text-secondary);
}
.intranity-blog-pagination .current{
  background:var(--color-primary);
  color:#fff;
  border-color:var(--color-primary);
}
.intranity-blog-empty{
  text-align:center;
  padding:58px 22px;
  border:2px dashed var(--color-border-dark);
  border-radius:28px;
  background:var(--color-surface-2);
}
.intranity-blog-empty span{font-size:46px;display:block;margin-bottom:10px}
.intranity-blog-empty p{color:var(--color-text-secondary);margin-top:8px}
.intranity-single-post-wrap{background:#fff}
.intranity-single-hero{
  background:
    radial-gradient(circle at 90% 0%,rgba(240,38,14,.12),transparent 34%),
    linear-gradient(180deg,#fff 0%,#fff8f6 100%);
  padding:54px 0 38px;
}
.intranity-single-hero-inner{max-width:980px}
.intranity-blog-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px;
  color:var(--color-text-muted);
  font-size:13px;
  font-weight:800;
}
.intranity-blog-breadcrumb a:hover{color:var(--color-primary)}
.intranity-single-cat{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:var(--color-primary-subtle);
  color:var(--color-primary-dark);
  border:1px solid rgba(240,38,14,.18);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.intranity-single-hero h1{
  max-width:980px;
  font-size:clamp(34px,5vw,62px);
  line-height:1.04;
  letter-spacing:-.04em;
}
.intranity-single-excerpt{
  max-width:860px;
  margin-top:18px;
  color:var(--color-text-secondary);
  font-size:18px;
  line-height:1.75;
}
.intranity-single-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-top:26px;
  padding-top:20px;
  border-top:1px solid rgba(240,38,14,.14);
}
.intranity-single-author{
  display:flex;
  align-items:center;
  gap:11px;
}
.intranity-single-author-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 8px 22px rgba(15,23,42,.10);
}
.intranity-single-author span{
  display:block;
  font-size:12px;
  color:var(--color-text-muted);
  font-weight:800;
}
.intranity-single-author strong{display:block;color:var(--color-text);font-weight:900}
.intranity-single-meta-items{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  color:var(--color-text-secondary);
  font-size:13px;
  font-weight:800;
}
.intranity-single-cover-wrap{margin-top:28px}
.intranity-single-cover{
  overflow:hidden;
  border-radius:30px;
  border:1px solid rgba(240,38,14,.10);
  background:#fff;
  box-shadow:0 22px 60px rgba(15,23,42,.10);
}
.intranity-single-cover-img{
  width:100%;
  max-height:560px;
  object-fit:cover;
}
.intranity-single-cover figcaption{
  padding:10px 16px;
  color:var(--color-text-muted);
  font-size:12px;
  background:#fff;
}
.intranity-single-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:30px;
  align-items:start;
  padding-top:34px;
  padding-bottom:34px;
}
.intranity-single-content-card{
  min-width:0;
  border:1px solid var(--color-border);
  border-radius:28px;
  background:#fff;
  box-shadow:0 12px 34px rgba(15,23,42,.055);
  overflow:hidden;
}
.intranity-single-content{
  padding:clamp(22px,4vw,46px);
  color:#242424;
  font-size:18px;
  line-height:1.86;
}
.intranity-single-content > *:first-child{margin-top:0}
.intranity-single-content > *:last-child{margin-bottom:0}
.intranity-single-content p,
.intranity-single-content ul,
.intranity-single-content ol,
.intranity-single-content blockquote,
.intranity-single-content figure,
.intranity-single-content table{margin:0 0 1.35em}
.intranity-single-content h2,
.intranity-single-content h3,
.intranity-single-content h4{
  margin:1.75em 0 .7em;
  letter-spacing:-.02em;
}
.intranity-single-content h2{font-size:clamp(26px,3vw,36px)}
.intranity-single-content h3{font-size:clamp(22px,2.5vw,28px)}
.intranity-single-content a{
  color:var(--color-primary);
  font-weight:800;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.intranity-single-content ul,
.intranity-single-content ol{padding-left:1.35em;list-style:revert}
.intranity-single-content li{margin-bottom:.55em}
.intranity-single-content blockquote{
  padding:18px 20px;
  border-left:4px solid var(--color-primary);
  border-radius:0 18px 18px 0;
  background:var(--color-primary-subtle);
  color:var(--color-text);
  font-weight:650;
}
.intranity-single-content img{
  border-radius:20px;
  box-shadow:0 14px 34px rgba(15,23,42,.08);
}
.intranity-single-content table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  display:block;
  max-width:100%;
}
.intranity-single-content th,
.intranity-single-content td{
  border:1px solid var(--color-border);
  padding:10px;
}
.intranity-single-content th{background:var(--color-surface-2)}
.intranity-single-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:0 clamp(22px,4vw,46px) clamp(22px,4vw,36px);
  color:var(--color-text-secondary);
  font-size:13px;
  font-weight:800;
}
.intranity-single-tags a{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:var(--color-surface-2);
  color:var(--color-primary-dark);
}
.intranity-single-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:18px clamp(22px,4vw,46px) clamp(22px,4vw,46px);
  border-top:1px solid var(--color-border);
}
.intranity-single-nav a{
  display:block;
  padding:16px;
  border:1px solid var(--color-border);
  border-radius:18px;
  color:var(--color-text-secondary);
  font-size:13px;
  line-height:1.5;
}
.intranity-single-nav a:hover{border-color:rgba(240,38,14,.28);background:var(--color-primary-subtle);color:var(--color-primary-dark)}
.intranity-single-nav strong{color:var(--color-text);font-size:15px}
.intranity-single-sidebar{
  display:flex;
  flex-direction:column;
  gap:16px;
  position:sticky;
  top:calc(var(--navbar-height) + 18px);
}
.intranity-single-side-card{
  padding:20px;
  border:1px solid rgba(240,38,14,.12);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.intranity-single-side-card .side-card-icon{font-size:28px;display:block;margin-bottom:8px}
.intranity-single-side-card strong{display:block;font-size:17px;line-height:1.25;color:var(--color-text)}
.intranity-single-side-card p{margin-top:8px;color:var(--color-text-secondary);font-size:14px;line-height:1.65}
.intranity-single-side-card.cta{
  background:linear-gradient(135deg,#fff7f4,#fff);
}
.intranity-single-side-card.cta .btn{margin-top:14px;text-decoration:none}
.intranity-related-posts{background:#fff8f6}
.intranity-page-links{margin-top:22px;font-weight:800;color:var(--color-text-secondary)}
@media(max-width:1100px){
  .intranity-blog-grid.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .intranity-blog-hero-inner{grid-template-columns:1fr}
  .intranity-blog-hero-card{max-width:520px}
  .intranity-single-layout{grid-template-columns:1fr}
  .intranity-single-sidebar{position:static;order:2}
  .intranity-single-content-card{order:1}
}
@media(max-width:860px){
  .intranity-blog-grid,
  .intranity-blog-grid.home-grid,
  .intranity-blog-grid.compact{grid-template-columns:1fr}
  .intranity-blog-card.is-featured{grid-column:auto}
  .intranity-blog-card.is-featured .intranity-blog-card-title{font-size:20px}
  .intranity-blog-card.is-featured .intranity-blog-card-media{aspect-ratio:16/10}
  .intranity-blog-hero{padding:46px 0 36px}
  .intranity-blog-search{flex-direction:column;border-radius:20px}
  .intranity-blog-search button{width:100%}
  .intranity-single-hero{padding:38px 0 30px}
  .intranity-single-meta{align-items:flex-start}
  .intranity-single-cover{border-radius:22px}
  .intranity-single-nav{grid-template-columns:1fr}
}
@media(max-width:640px){
  .intranity-home-blog .section-header-row{align-items:stretch}
  .intranity-home-blog .btn{width:100%}
  .intranity-blog-card-body{padding:16px}
  .intranity-blog-hero h1,
  .intranity-single-hero h1{letter-spacing:-.025em}
  .intranity-blog-cats{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;margin-right:calc(var(--space-lg) * -1)}
  .intranity-blog-cat-pill{white-space:nowrap}
  .intranity-single-content{font-size:16.5px;line-height:1.82}
  .intranity-single-layout{padding-top:22px}
}

/* =============================================
   PREMIUM BOTTOM NAV OVERRIDE
   ============================================= */
:root{--bottombar-height:138px;}
.intranity-premium-bottom-nav{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:14px !important;
  transform:translateX(-50%) !important;
  width:min(calc(100vw - 76px), 1490px) !important;
  max-width:1490px !important;
  min-height:124px !important;
  padding:16px 24px 18px !important;
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  align-items:end !important;
  justify-items:center !important;
  gap:0 !important;
  border-radius:38px !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.05) !important;
  box-shadow:0 10px 30px rgba(15,23,42,.08), 0 3px 12px rgba(243,90,19,.11) !important;
  overflow:visible !important;
  z-index:9999 !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.intranity-premium-bottom-nav::before,
.intranity-premium-bottom-nav::after{
  content:'' !important;
  position:absolute !important;
  bottom:-1px !important;
  width:86px !important;
  height:48px !important;
  background:linear-gradient(135deg,#ff6a00,#f35a13) !important;
  z-index:-1 !important;
  filter:drop-shadow(0 8px 12px rgba(243,90,19,.15)) !important;
}
.intranity-premium-bottom-nav::before{
  left:-1px !important;
  border-bottom-left-radius:38px !important;
  clip-path:polygon(0 7%, 56% 100%, 0 100%) !important;
}
.intranity-premium-bottom-nav::after{
  right:-1px !important;
  border-bottom-right-radius:38px !important;
  clip-path:polygon(100% 7%, 44% 100%, 100% 100%) !important;
}
.intranity-premium-bottom-nav .bottom-nav-paw{
  position:absolute !important;
  top:54px !important;
  font-size:21px !important;
  line-height:1 !important;
  color:#f7c4a7 !important;
  opacity:.8 !important;
  pointer-events:none !important;
}
.intranity-premium-bottom-nav .bottom-nav-paw-left{left:55.3% !important; transform:translateX(-50%) rotate(-12deg) !important;}
.intranity-premium-bottom-nav .bottom-nav-paw-right{left:63.1% !important; transform:translateX(-50%) rotate(11deg) !important;}
.intranity-premium-bottom-nav a.bottom-nav-item,
.intranity-premium-bottom-nav button.bottom-nav-item{
  width:100% !important;
  min-width:0 !important;
  min-height:88px !important;
  padding:2px 6px 10px !important;
  border:0 !important;
  border-radius:24px !important;
  background:transparent !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  color:#2d2f35 !important;
  text-decoration:none !important;
  position:relative !important;
  box-shadow:none !important;
  cursor:pointer !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}
.intranity-premium-bottom-nav .bottom-nav-item:hover{background:rgba(255,106,0,.04) !important; transform:translateY(-1px) !important;}
.intranity-premium-bottom-nav .bottom-nav-item.active{color:#f35a13 !important;}
.intranity-premium-bottom-nav .bottom-nav-item.active::after{
  content:'' !important;
  position:absolute !important;
  left:50% !important;
  bottom:2px !important;
  transform:translateX(-50%) !important;
  width:42px !important;
  height:5px !important;
  border-radius:999px !important;
  background:#f35a13 !important;
  box-shadow:0 5px 12px rgba(243,90,19,.24) !important;
}
.intranity-premium-bottom-nav .nav-icon{
  width:54px !important;
  height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  flex:0 0 auto !important;
}
.intranity-premium-bottom-nav .nav-icon img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block !important;
}
.intranity-premium-bottom-nav .nav-label{
  display:block !important;
  font-family:var(--font-display) !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.08 !important;
  letter-spacing:-.03em !important;
  color:currentColor !important;
  white-space:nowrap !important;
}
.intranity-premium-bottom-nav .nav-home .nav-icon img,
.intranity-premium-bottom-nav .nav-explore .nav-icon img,
.intranity-premium-bottom-nav .nav-panel .nav-icon img,
.intranity-premium-bottom-nav .nav-profile .nav-icon img{transform:scale(.98) !important;}
.intranity-premium-bottom-nav .nav-chat .nav-icon img{transform:scale(.88) !important;}
.intranity-premium-bottom-nav .bottom-nav-item.nav-center{
  min-height:108px !important;
  justify-content:flex-start !important;
  gap:8px !important;
  padding-top:0 !important;
  color:#f35a13 !important;
  z-index:2 !important;
}
.intranity-premium-bottom-nav .bottom-nav-item.nav-center:hover{background:transparent !important; transform:none !important;}
.intranity-premium-bottom-nav .bottom-nav-item.nav-center::after{display:none !important;}
.intranity-premium-bottom-nav .bottom-nav-item.nav-center .nav-icon-wrap{
  width:116px !important;
  height:116px !important;
  margin-top:-42px !important;
  margin-bottom:0 !important;
  padding:8px !important;
  border-radius:999px !important;
  background:#fff !important;
  box-shadow:0 8px 20px rgba(243,90,19,.16), inset 0 0 0 6px rgba(248,240,236,.95) !important;
}
.intranity-premium-bottom-nav .bottom-nav-item.nav-center .nav-icon-wrap img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  transform:scale(1.08) !important;
}
.intranity-premium-bottom-nav .bottom-nav-badge{
  position:absolute !important;
  top:10px !important;
  right:calc(50% - 32px) !important;
  min-width:28px !important;
  height:28px !important;
  padding:0 7px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:#f35a13 !important;
  color:#fff !important;
  border:3px solid #fff !important;
  font-family:var(--font-display) !important;
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1 !important;
  box-shadow:0 6px 12px rgba(243,90,19,.2) !important;
}
.intranity-premium-bottom-nav .bottom-nav-item:focus-visible{box-shadow:0 0 0 3px rgba(243,90,19,.15) !important;}

@media (max-width: 860px){
  :root{--bottombar-height:112px;}
  .intranity-premium-bottom-nav{
    left:8px !important;
    right:8px !important;
    bottom:8px !important;
    transform:none !important;
    width:auto !important;
    min-height:88px !important;
    padding:10px 6px 10px !important;
    border-radius:26px !important;
  }
  .intranity-premium-bottom-nav::before,
  .intranity-premium-bottom-nav::after{
    width:46px !important;
    height:28px !important;
  }
  .intranity-premium-bottom-nav .bottom-nav-paw{display:none !important;}
  .intranity-premium-bottom-nav a.bottom-nav-item,
  .intranity-premium-bottom-nav button.bottom-nav-item{
    min-height:66px !important;
    padding:2px 2px 6px !important;
    gap:5px !important;
    border-radius:16px !important;
  }
  .intranity-premium-bottom-nav .nav-icon{width:34px !important; height:34px !important;}
  .intranity-premium-bottom-nav .nav-label{font-size:10px !important;}
  .intranity-premium-bottom-nav .bottom-nav-item.active::after{width:24px !important; height:4px !important; bottom:0 !important;}
  .intranity-premium-bottom-nav .bottom-nav-item.nav-center{min-height:90px !important; gap:4px !important;}
  .intranity-premium-bottom-nav .bottom-nav-item.nav-center .nav-icon-wrap{width:68px !important; height:68px !important; margin-top:-24px !important; padding:5px !important;}
  .intranity-premium-bottom-nav .bottom-nav-item.nav-center .nav-icon-wrap img{transform:scale(1.06) !important;}
  .intranity-premium-bottom-nav .bottom-nav-badge{top:7px !important; right:calc(50% - 22px) !important; min-width:22px !important; height:22px !important; font-size:11px !important; border-width:2px !important;}
}
@media (max-width: 380px){
  .intranity-premium-bottom-nav{left:6px !important; right:6px !important;}
  .intranity-premium-bottom-nav .nav-icon{width:30px !important; height:30px !important;}
  .intranity-premium-bottom-nav .nav-label{font-size:9px !important;}
  .intranity-premium-bottom-nav .bottom-nav-item.nav-center .nav-icon-wrap{width:62px !important; height:62px !important;}
}

/* =========================================================
   FIX REAL 2026-05-08 — Busca mobile larga, eBooks 1x1 e share spacing
   ========================================================= */
#search-dropdown.intranity-search-dropdown,
#search-dropdown{
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
    box-sizing: border-box !important;
}
#search-dropdown .search-dropdown-inner{
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
#search-dropdown .search-result-item{
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    padding: 11px 12px !important;
    border-radius: 18px !important;
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: 0 !important;
    min-width: 0 !important;
    transition: background .15s ease, transform .15s ease !important;
}
#search-dropdown .search-result-item:hover{
    background: var(--color-surface-2) !important;
    transform: translateY(-1px) !important;
}
#search-dropdown .search-result-thumb{
    width: 58px !important;
    height: 42px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    background: var(--color-surface-2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
}
#search-dropdown .search-result-info{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}
#search-dropdown .search-result-info strong{
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: var(--color-text) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
#search-dropdown .search-result-info small{
    font-size: 11px !important;
    color: var(--color-text-muted) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
#search-dropdown .search-result-price{
    font-family: var(--font-display) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    color: var(--color-primary) !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
#search-dropdown .search-result-all{
    display: block !important;
    margin-top: 5px !important;
    padding: 15px 12px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg,#fff7f4,#fff) !important;
    border: 1px solid rgba(240,38,14,.14) !important;
    color: var(--color-primary) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
}
#search-dropdown .search-result-all:hover{
    background: #fff1ea !important;
    color: var(--color-primary-dark) !important;
}

.intranity-product-search-page{padding-top:calc(var(--navbar-height) + var(--space-2xl)) !important;}
.intranity-product-search-head{margin-bottom:var(--space-xl) !important;}
.intranity-product-search-grid{align-items:stretch !important;}
.intranity-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:var(--space-2xl)}
.intranity-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);font-size:13px;font-weight:800;color:var(--color-text);text-decoration:none}
.intranity-pagination .page-numbers.current,.intranity-pagination .page-numbers:hover{background:var(--color-primary);border-color:var(--color-primary);color:#fff}
.intranity-search-empty{margin-top:var(--space-xl)}

.share-product-block{
    margin-bottom: clamp(36px, 7vw, 96px) !important;
}

@media (max-width:768px){
    .header-search{position:relative !important;}
    #search-dropdown.intranity-search-dropdown,
    #search-dropdown{
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        border-radius: 24px !important;
        max-height: min(470px, calc(100vh - 120px)) !important;
        box-shadow: 0 24px 70px rgba(15,23,42,.22), 0 10px 26px rgba(240,38,14,.12) !important;
    }
    #search-dropdown .search-dropdown-inner{padding:10px !important;gap:7px !important;}
    #search-dropdown .search-result-item{padding:12px 10px !important;border-radius:18px !important;gap:10px !important;}
    #search-dropdown .search-result-thumb{width:64px !important;height:46px !important;border-radius:13px !important;}
    #search-dropdown .search-result-info strong{
        font-size:13px !important;
        white-space:normal !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
    }
    #search-dropdown .search-result-price{font-size:12px !important;}
    #search-dropdown .search-result-all{font-size:13px !important;padding:15px 10px !important;border-radius:18px !important;}

    /* eBooks: obrigatoriamente 1 card por linha no mobile, na home e na categoria */
    .grid-ebooks,
    .grid-eBooks,
    .section-ebooks .grid-ebooks,
    .section-ebooks .grid-eBooks,
    body.tax-product_cat .grid-ebooks,
    body.tax-product_cat .grid-eBooks,
    .woocommerce .grid-ebooks,
    .woocommerce .grid-eBooks{
        grid-template-columns: minmax(0, 1fr) !important;
        gap: var(--space-lg) !important;
    }
    .grid-ebooks > .product-card,
    .grid-eBooks > .product-card{
        width: 100% !important;
        max-width: 100% !important;
    }
    .grid-ebooks .product-card-cover,
    .grid-eBooks .product-card-cover{
        aspect-ratio: 3 / 4 !important;
    }

    .share-product-block{
        margin-bottom: calc(var(--bottombar-height,112px) + 32px) !important;
    }
    .intranity-product-search-page{
        padding-top:calc(var(--navbar-height) + var(--space-xl)) !important;
        padding-bottom:calc(var(--bottombar-height,112px) + 30px) !important;
    }
    .intranity-product-search-head{align-items:flex-start !important;gap:var(--space-md) !important;}
}
@media (max-width:640px){
    .grid-ebooks,
    .grid-eBooks{
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ===== Intranity: selector de variações/ofertas no single product ===== */
.intr-offer-selector{
    margin:0 0 var(--space-lg);
    padding:12px;
    border:1.5px solid #bbf7d0;
    border-radius:var(--radius-lg);
    background:linear-gradient(135deg,#f0fdf4,#f8fafc);
}
.intr-offer-title{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:10px;
    font-size:12px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#15803d;
}
.intr-offer-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.intr-offer-option{
    display:flex;
    gap:10px;
    align-items:flex-start;
    cursor:pointer;
    padding:10px;
    border:1.5px solid rgba(134,239,172,.7);
    border-radius:14px;
    background:#fff;
    transition:all .18s ease;
}
.intr-offer-option:hover,
.intr-offer-option.selected{
    border-color:#22c55e;
    box-shadow:0 10px 24px rgba(34,197,94,.12);
    transform:translateY(-1px);
}
.intr-offer-radio{
    margin-top:4px;
    accent-color:#16a34a;
    flex-shrink:0;
}
.intr-offer-info{
    min-width:0;
    flex:1;
}
.intr-offer-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}
.intr-offer-name{
    font-weight:850;
    font-size:13px;
    line-height:1.3;
    color:var(--color-text);
    overflow-wrap:anywhere;
}
.intr-offer-price{
    font-weight:900;
    font-size:13px;
    color:var(--color-primary);
    white-space:nowrap;
}
.intr-offer-desc{
    margin-top:4px;
    color:var(--color-text-muted);
    font-size:12px;
    line-height:1.45;
    overflow-wrap:anywhere;
}
.intr-offer-delivery{
    display:inline-flex;
    align-items:center;
    gap:4px;
    margin-top:7px;
    padding:4px 7px;
    border-radius:999px;
    background:#f8fafc;
    color:#64748b;
    font-size:11px;
    font-weight:750;
}
@media(max-width:520px){
    .intr-offer-row{flex-direction:column;gap:3px}
    .intr-offer-price{white-space:normal}
}
