:root{
  --black:#080808;--black-soft:#111;--black-card:#171717;
  --white:#f5f5f5;--muted:#999;--line:#303030;
  --gold:#d4af37;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--white);font-family:Arial,sans-serif;-webkit-tap-highlight-color:transparent}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid white;outline-offset:3px}
a{color:inherit;text-decoration:none}
.topbar{min-height:104px;padding:20px 7%;display:flex;justify-content:space-between;align-items:center;gap:25px;background:#050505;border-bottom:1px solid #242424;position:relative;z-index:5}
.brand{font-family:Georgia,serif;font-size:43px;line-height:1;letter-spacing:-2px;color:white;white-space:nowrap;user-select:none;cursor:pointer}
.brand span,.footer-brand span{color:#aaa}
.brand-sub{color:#999;font-size:9px;letter-spacing:4px;margin-top:8px}
.header-right{display:flex;align-items:center;gap:30px}
.main-nav{display:flex;gap:25px;align-items:center}
.main-nav a{color:#bbb;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;transition:color .2s}
.main-nav a:hover{color:white}

.secret-admin-btn{
  position:absolute;top:15px;right:15px;width:30px;height:30px;background:transparent;border:none;opacity:0.02;z-index:99;cursor:pointer;
}
.secret-admin-btn:hover{opacity:0.2;background:#fff}

.hero{margin:0;min-height:570px;background:#111;color:white;position:relative;overflow:hidden}
.hero-slide{min-height:570px;padding:80px 10%;display:flex;align-items:center;position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s;overflow:hidden;background:radial-gradient(ellipse at 78% 50%,#303030 0%,#171717 38%,#090909 76%)}
.hero-slide.active{opacity:1;visibility:visible;z-index:1}
.hero-slide:before{content:"";position:absolute;width:600px;height:600px;border:1px solid #ffffff18;border-radius:50%;right:7%;top:50%;transform:translateY(-50%);box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05,0 0 0 165px #ffffff03}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080808 0%,#080808ee 43%,#08080855 100%);pointer-events:none}
.hero-slide.has-media:before{display:none}
.hero-slide.has-media:after{background:linear-gradient(90deg,#080808 0%,#080808e8 35%,#08080866 100%)}
.hero-background, .hero-slide picture img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-content{position:relative;z-index:2;max-width:620px}
.eyebrow{color:#aaa;font-size:10px;letter-spacing:4px;text-transform:uppercase}
.hero h1{font-family:Georgia,serif;font-size:clamp(48px,7vw,88px);font-weight:400;line-height:.98;letter-spacing:-2px;margin:25px 0;white-space:pre-line}
.hero p{color:#c2c2c2;line-height:1.8;font-size:14px;max-width:410px}
.hero-button{margin-top:24px;background:white;color:black;border:1px solid white;padding:16px 25px;font-size:10px;letter-spacing:2px;text-transform:uppercase;transition:.25s}
.hero-button:hover{background:transparent;color:white}
.hero-controls{position:absolute;z-index:3;left:10%;bottom:35px;display:flex;align-items:center;gap:12px}
.hero-arrow{width:38px;height:38px;border:1px solid #777;background:transparent;color:white;font-size:20px;transition:.2s}
.hero-arrow:hover{background:white;color:black}
.hero-dots{display:flex;align-items:center;gap:8px;margin-left:8px}
.hero-dot{width:22px;height:3px;padding:0;border:0;background:#555;transition:.3s}
.hero-dot.active{width:42px;background:white}
.hero-count{color:#aaa;font-size:10px;letter-spacing:2px;margin-left:8px}

.brand-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #252525;border-bottom:1px solid #252525;background:#0d0d0d}
.brand-strip-item{padding:25px 15px;text-align:center;border-right:1px solid #252525}
.brand-strip-item:last-child{border-right:0}
.brand-strip-item strong{display:block;font-family:Georgia,serif;font-size:17px;font-weight:400;margin-bottom:7px}
.brand-strip-item span{color:#888;font-size:9px;letter-spacing:1.5px;text-transform:uppercase}

main{padding:75px 7% 100px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.section-head h2{font-family:Georgia,serif;font-weight:400;font-size:40px;margin:10px 0;color:white}
.section-head p{color:var(--muted);font-size:12px;margin:0}
.section-link{color:#bbb;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;border-bottom:1px solid #555;padding-bottom:7px}

.featured-section{margin-bottom:85px}
.featured-section[hidden]{display:none}
.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 20px}
.catalog-section{border-top:1px solid #292929;padding-top:65px}

.tools{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.tools-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.search{flex:1;min-width:220px;padding:15px 16px;border:1px solid var(--line);background:#111;color:white;outline:none}
.search::placeholder{color:#777}
.search:focus{border-color:#aaa}
.sort-select{padding:15px;background:#111;border:1px solid var(--line);color:white;outline:none;font-size:10px;text-transform:uppercase;letter-spacing:1.2px}
.filters{display:flex;gap:7px;flex-wrap:wrap}
.filter{
  background:transparent;color:#bbb;border:1px solid #444;padding:12px 18px;font-size:9px;text-transform:uppercase;letter-spacing:1.2px;transition:.2s;
}
.filter:hover{border-color:var(--gold);color:var(--gold)}
.filter.active{background:var(--gold);color:#000000;border-color:var(--gold);font-weight:bold}

.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 22px}
.product-card{cursor:pointer;min-width:0;position:relative}
.product-image{aspect-ratio:4/5;background:#191919;overflow:hidden;position:relative;border:1px solid #252525}
.product-image img,.product-image video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.product-card:hover .product-image img{transform:scale(1.045)}
.image-placeholder{height:100%;display:grid;place-items:center;font-family:Georgia,serif;font-size:25px;color:#555}
.product-tag{position:absolute;top:13px;left:13px;z-index:2;background:white;color:black;padding:8px 10px;font-size:8px;letter-spacing:1.5px;text-transform:uppercase}
.wishlist-btn{position:absolute;top:13px;right:13px;z-index:3;background:#0009;border:1px solid #666;color:#aaa;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:23px;line-height:1;font-family:Arial,sans-serif;transition:color .2s,background .2s,border-color .2s,transform .2s}
.wishlist-btn:hover{color:#ddd;border-color:#aaa;transform:scale(1.06)}
.wishlist-btn.active{background:#2a1114;color:#ff3b4f;border-color:#ff3b4f}
.wishlist-btn.active:hover{color:#ff6675}

.product-info{padding:16px 2px}
.product-category{color:#999;font-size:9px;letter-spacing:2px;text-transform:uppercase}
.product-name{font-family:Georgia,serif;font-size:22px;font-weight:400;color:white;margin:9px 0 7px}
.product-description{color:#888;font-size:11px;line-height:1.7;margin:0 0 12px}
.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-price{font-size:13px;font-weight:bold;color:white}
.product-view{color:#aaa;font-size:9px;letter-spacing:1.3px;text-transform:uppercase;border-bottom:1px solid #555;padding-bottom:4px}

/* CARD ESPECIAL: CRIE SUA PEÇA / SEU MODELO */
.custom-order-card{
  border:2px dashed var(--gold)!important;
  background:linear-gradient(180deg,#15130b 0%,#0d0c07 100%)!important;
}
.custom-order-card .product-tag{
  background:var(--gold);
  color:#000;
  font-weight:bold;
}

.empty{grid-column:1/-1;padding:65px 20px;text-align:center;color:#888;border:1px solid #292929}
.empty p{font-size:13px}

.social-proof-section{background:#0b0b0b;border-top:1px solid #242424;border-bottom:1px solid #242424;padding:65px 7%;margin-top:70px}
.social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:30px}
.social-card{background:#141414;border:1px solid #2b2b2b;aspect-ratio:1/1;overflow:hidden;position:relative;display:grid;place-items:center;font-family:Georgia,serif;color:#666}
.social-card img,.social-card video{width:100%;height:100%;object-fit:cover}
.social-card-tag{position:absolute;bottom:10px;left:10px;background:#000d;color:white;font-size:9px;padding:5px 8px;letter-spacing:1px}

.tracking-section{background:#121212;border:1px solid #2b2b2b;padding:45px 8%;margin-top:60px;text-align:center}
.tracking-box{display:flex;max-width:500px;margin:20px auto 0;gap:10px}
.tracking-input{flex:1;padding:13px;border:1px solid #444;background:#080808;color:white;outline:none}

.timeline{display:flex;justify-content:space-between;position:relative;margin:25px 0;padding:0 10px}
.timeline::before{content:'';position:absolute;top:15px;left:30px;right:30px;height:2px;background:#333;z-index:1}
.timeline-step{position:relative;z-index:2;text-align:center;flex:1}
.timeline-dot{width:32px;height:32px;background:#1a1a1a;border:2px solid #444;color:#777;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;font-size:11px;font-weight:bold}
.timeline-step.completed .timeline-dot{background:#152b1b;border-color:#2a5934;color:#a8e6b4}
.timeline-step.active .timeline-dot{background:#d4af37;border-color:#d4af37;color:#000}
.timeline-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#888}
.timeline-step.active .timeline-label{color:#fff;font-weight:bold}

.accessible-receipt{background:#141414;border:2px solid #333;padding:24px;margin-top:20px;text-align:left;border-radius:8px;color:#eee}
.receipt-header-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #292929;padding-bottom:14px;margin-bottom:16px;flex-wrap:wrap;gap:10px}
.receipt-protocol{font-family:Georgia,serif;font-size:22px;color:var(--gold);font-weight:bold;letter-spacing:1px}
.receipt-grid-finance{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.receipt-finance-box{background:#0c0c0c;border:1px solid #292929;padding:14px 12px;border-radius:6px;text-align:center}
.receipt-finance-box small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#999;margin-bottom:6px}
.receipt-finance-box strong{font-size:18px;color:#fff}
.receipt-btn-row{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}

.about-section{background:#111;border:1px solid #292929;padding:55px 8%;margin-top:60px;text-align:center}
.about-section .eyebrow{margin-bottom:15px}
.about-section h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(30px,5vw,48px);margin:0 0 18px}
.about-section p{max-width:620px;margin:0 auto;color:#999;font-size:13px;line-height:1.9}

footer{background:#050505;color:#888;padding:55px 7% 30px;text-align:center;border-top:1px solid #242424}
.footer-brand{color:white;font-family:Georgia,serif;font-size:36px;letter-spacing:-1.5px;margin-bottom:12px}
.footer-tagline{font-size:9px;letter-spacing:3px;color:#999}
.footer-bottom{border-top:1px solid #222;margin-top:35px;padding-top:20px;font-size:9px;letter-spacing:1px;color:#666}

.modal-overlay{display:none;position:fixed;inset:0;z-index:20;background:#000f;padding:15px;align-items:center;justify-content:center}
.modal-overlay.open{display:flex}
/* Checkout sempre acima do cabeçalho */
#sizeModal {
    z-index: 80;
}
#sizeGuideModal{z-index:50}
.modal{background:#141414;color:white;border:1px solid #333;width:100%;max-width:760px;max-height:92vh;overflow:auto;padding:28px;position:relative}
.modal-close{float:right;border:1px solid #444;color:white;background:#222;padding:9px 13px}
.modal-title{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:5px 0 20px}
.primary{background:white;color:black;border:1px solid white;padding:13px 18px}
.secondary{background:#252525;color:white;border:1px solid #444;padding:13px 18px}
.gold-button{background:white;color:black;border:1px solid white;padding:15px 20px;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;transition:.2s;font-weight:bold}
.gold-button:hover,.primary:hover{background:transparent;color:white}
.full{width:100%}

/* GRADE MULTI-TAMANHO */
.multi-size-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;margin-top:10px}
.multi-size-cell{background:#0c0c0c;border:1px solid #333;padding:6px;text-align:center;border-radius:4px}
.multi-size-cell label{display:block;font-size:10px;font-weight:bold;color:#aaa;margin-bottom:4px}
.multi-size-cell input{width:100%;text-align:center;padding:6px 2px;background:#181818;border:1px solid #444;color:#fff;border-radius:2px}

/* PAINEL ADMINISTRATIVO TELA CHEIA */
#adminModal.fullscreen-panel{padding:0}
#adminModal.fullscreen-panel .modal{
  width:100vw;max-width:100vw;height:100vh;max-height:100vh;border:0;border-radius:0;padding:0;background:#090909;display:flex;flex-direction:column;
}
.admin-shell{display:flex;flex-direction:column;height:100%}
.admin-shell-header{padding:18px 30px;background:#050505;border-bottom:1px solid #222;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}
.admin-shell-nav{display:flex;gap:10px;overflow-x:auto;padding:14px 30px;background:#0f0f0f;border-bottom:1px solid #242424;flex-shrink:0}
.admin-shell-body{flex:1;overflow-y:auto;padding:30px 4%}
.admin-tab-btn{background:#1a1a1a;color:#aaa;border:1px solid #333;padding:10px 18px;font-size:10px;letter-spacing:1px;text-transform:uppercase;white-space:nowrap;transition:.2s}
.admin-tab-btn:hover{color:#fff;border-color:#666}
.admin-tab-btn.active{background:var(--gold);color:#000;border-color:var(--gold);font-weight:bold}

.order-card{background:#121212;border:1px solid #292929;padding:18px;margin-bottom:18px;border-radius:7px;border-left:8px solid #777;transition:border-color .25s,box-shadow .25s;box-shadow:inset 5px 0 14px rgba(255,255,255,.025);}
.order-card[data-status="Aberto"]{border-left-color:#e4b83f;box-shadow:inset 6px 0 18px rgba(228,184,63,.13),0 0 0 1px rgba(228,184,63,.12);}
.order-card[data-status="Em Produção"]{border-left-color:#35a9e8;box-shadow:inset 6px 0 18px rgba(53,169,232,.14),0 0 0 1px rgba(53,169,232,.12);}
.order-card[data-status="Concluído"]{border-left-color:#39c879;box-shadow:inset 6px 0 18px rgba(57,200,121,.13),0 0 0 1px rgba(57,200,121,.12);}
.order-card[data-status="Cancelado"]{border-left-color:#ef6262;box-shadow:inset 6px 0 18px rgba(239,98,98,.13),0 0 0 1px rgba(239,98,98,.12);}
.order-pill{font-size:9px;padding:4px 8px;border-radius:3px;text-transform:uppercase;letter-spacing:1px;display:inline-block}
.pay-pendente{background:#332211;color:#f0c088;border:1px solid #5c3f24}
.pay-sinal{background:#1d293d;color:#9bcbe8;border:1px solid #2c496e}
.pay-pago{background:#152b1b;color:#a8e6b4;border:1px solid #2a5934}
.stock-alert-box{background:#1a1515;border:1px solid #552222;color:#f5b5b5;padding:14px 18px;margin-bottom:20px;border-radius:4px;font-size:12px;line-height:1.6}

.detail-gallery{margin:15px 0 24px}
.gallery-stage{height:390px;background:#090909;border:1px solid #292929;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in}
.gallery-stage img,.gallery-stage video{width:100%;height:100%;object-fit:contain}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;border:1px solid #555;background:#080808dd;color:white;width:42px;height:42px;font-size:24px;border-radius:50%}
.gallery-prev{left:12px}.gallery-next{right:12px}
.gallery-counter{position:absolute;bottom:12px;right:12px;background:#080808dd;color:white;padding:7px 12px;font-size:11px}
.thumbnails{display:flex;gap:8px;overflow-x:auto;padding:12px 0}
.thumb{width:65px;height:65px;flex-shrink:0;border:2px solid transparent;padding:0;background:#222}
.thumb.active{border-color:white}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb-video{display:grid;place-items:center;height:100%;background:#292929;color:white;font-size:22px}

.lightbox-overlay{display:none;position:fixed;inset:0;z-index:9999;background:#000f;align-items:center;justify-content:center;padding:20px}
.lightbox-overlay.open{display:flex}
.lightbox-content{position:relative;max-width:90vw;max-height:90vh;display:flex;align-items:center;justify-content:center}
.lightbox-content img{max-width:100%;max-height:85vh;object-fit:contain}
.lightbox-close{position:absolute;top:-40px;right:0;background:transparent;color:white;border:1px solid #555;padding:8px 14px;font-size:14px}
.lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);background:#1118;color:white;border:1px solid #555;width:45px;height:45px;font-size:24px}
.lightbox-prev{left:-60px}.lightbox-next{right:-60px}

.detail-name{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:10px 0}
.detail-description{color:#aaa;line-height:1.8;font-size:13px}
.detail-price{font-size:20px;margin:18px 0}

.admin-list{display:grid;gap:10px}
.admin-row{border:1px solid #333;padding:13px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#101010}
.admin-row small{display:block;color:#999;margin-top:5px}
.admin-row-actions{display:flex;gap:6px}
.admin-row-actions button{padding:9px 11px}
.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field label{display:block;color:#ddd;font-size:10px;font-weight:bold;letter-spacing:1px;text-transform:uppercase;margin-bottom:7px}
.field input,.field textarea,.field select{width:100%;padding:13px;border:1px solid #444;background:#0b0b0b;color:white;outline:none;border-radius:0}
.field input[type="checkbox"]{width:auto;accent-color:white}
.field input[type="file"]{font-size:11px}
.field textarea{resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{border-color:white}
.field-full{grid-column:1/-1}
.field small{color:#888;font-size:10px;display:block;margin-top:6px}
.preview{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.preview img,.preview video{width:90px;height:90px;object-fit:cover;background:#222;border:1px solid #333}
.form-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

.size-list{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.size-option{background:#222;color:white;border:1px solid #444;padding:10px 16px;font-size:12px;transition:.15s}
.size-option:hover{border-color:#888}
.size-option.selected{background:white;color:black;border-color:white;font-weight:bold}
.size-guide-btn{background:transparent;border:0;color:#aaa;font-size:10px;text-decoration:underline;cursor:pointer;padding:0;margin-top:6px;display:inline-block}
.size-guide-btn:hover{color:white}
.size-guide-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:12px}
.size-guide-table th,.size-guide-table td{border:1px solid #333;padding:8px 10px;text-align:center}
.size-guide-table th{background:#181818;color:#ccc}

.checkout-product-summary{display:flex;gap:14px;align-items:center;padding:12px;background:#0d0d0d;border:1px solid #2b2b2b;margin-bottom:18px}
.checkout-product-thumb{width:62px;height:74px;background:#1a1a1a;border:1px solid #333;flex-shrink:0;overflow:hidden;display:grid;place-items:center;font-family:Georgia,serif;font-size:11px;color:#666}
.checkout-product-thumb img{width:100%;height:100%;object-fit:cover}
.checkout-product-meta{min-width:0;flex:1}
.checkout-product-meta small{display:block;color:#888;font-size:9px;letter-spacing:1.5px;text-transform:uppercase}
.checkout-product-meta strong{display:block;font-family:Georgia,serif;font-size:19px;font-weight:400;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkout-product-meta span{color:#ccc;font-size:12px}
.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}
.qty-control{display:flex;align-items:center;border:1px solid #444;background:#0b0b0b;height:44px}
.qty-btn{width:42px;height:100%;border:0;background:#1a1a1a;color:white;font-size:18px}
.qty-btn:hover{background:#2a2a2a}
.qty-input{flex:1;width:100%;text-align:center;border:0!important;background:transparent!important;padding:0!important;height:100%;font-weight:bold}
.checkout-total-bar{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;background:#0c0c0c;border:1px solid #2e2e2e;margin:16px 0}
.checkout-total-bar span{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#999}
.checkout-total-bar strong{font-size:17px;color:white}
.dashboard-kpi{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}
.kpi-box{background:#111;border:1px solid #333;padding:12px;text-align:center}
.kpi-box span{display:block;color:#888;font-size:9px;letter-spacing:1px;text-transform:uppercase;margin-bottom:4px}
.kpi-box strong{font-size:18px;color:white}
.order-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid #262626;padding-bottom:10px;margin-bottom:10px}
.order-status{padding:5px 9px;font-size:8px;letter-spacing:1.5px;text-transform:uppercase;border:1px solid #444}
.order-status.aberto{background:#2a2411;color:#f0d588;border-color:#5c4f24}
.order-status.pago{background:#152b1b;color:#a8e6b4;border-color:#2a5934}
.order-status.producao{background:#1a2530;color:#9bcbe8;border-color:#325c7e}
.order-status.concluído{background:#181818;color:#ccc;border-color:#444}
.order-status.cancelado{background:#2e1515;color:#e89b9b;border-color:#7e3232}
.order-body{display:grid;grid-template-columns:55px 1fr;gap:12px;font-size:12px;color:#bbb;line-height:1.6}

.campaign-admin-card{border:1px solid #383838;padding:17px;margin:18px 0;background:#101010}
.campaign-admin-card h3{font-family:Georgia,serif;font-weight:400;font-size:21px;margin:0 0 15px}
.campaign-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.campaign-admin-card .field{margin-bottom:12px}
.campaign-media-preview{width:100%;max-width:280px;aspect-ratio:16/9;background:#222;border:1px solid #333;margin-top:10px;overflow:hidden}
.campaign-media-preview img,.campaign-media-preview video{width:100%;height:100%;object-fit:cover}
.campaign-status{display:flex;align-items:center;gap:8px;color:#ccc;font-size:11px;margin:12px 0}
.campaign-status input{accent-color:white}
.status-message{padding:12px;border:1px solid #383838;background:#101010;color:#bbb;font-size:12px;line-height:1.6;margin:12px 0}
.login-box{max-width:440px;margin:40px auto;background:#111;padding:30px;border:1px solid #333}
.loading{padding:50px;text-align:center;color:#999}
.social-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:25px 0}
.social-btn{display:inline-flex;align-items:center;padding:10px 20px;border:1px solid #444;border-radius:30px;color:white;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;transition:.2s}
.social-btn:hover{border-color:white;background:white;color:black}

/* CSS IMPRESSÃO */
@media print{
  body *{visibility:hidden!important}
  #printContainer, #printContainer *{visibility:visible!important}
  #printContainer{
    position:absolute!important;left:0!important;top:0!important;width:100%!important;
    background:#fff!important;color:#000!important;padding:20px!important;
  }
}

@media(max-width:850px){
  .product-grid,.featured-grid,.social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar{padding-left:5%;padding-right:5%}
  .hero-slide{padding-left:8%;padding-right:8%}
  .hero-controls{left:8%}
  .dashboard-kpi{grid-template-columns:repeat(2,1fr)}
  .lightbox-prev{left:10px}.lightbox-next{right:10px}
}
@media(max-width:600px){
  .topbar{min-height:88px;padding:12px 4%;flex-direction:column;gap:10px;align-items:center}
  .brand{font-size:28px;text-align:center}
  .brand-sub{font-size:7px;letter-spacing:2px;text-align:center}
  .header-right{width:100%;justify-content:center}
  .main-nav{display:flex;gap:15px;overflow-x:auto;width:100%;justify-content:center;padding-bottom:5px;white-space:nowrap}
  .main-nav a{font-size:9px;letter-spacing:1px}
  .hero,.hero-slide{min-height:490px}
  .hero-slide{padding:35px 7% 85px}
  .hero-slide:before{width:400px;height:400px;right:-260px;top:55%}
  .hero-slide:after{background:linear-gradient(90deg,#080808 0%,#080808dd 65%,#08080877 100%)}
  .hero-slide.has-media:after{background:linear-gradient(90deg,#080808 0%,#080808e8 65%,#08080888 100%)}
  .hero h1{font-size:clamp(47px,12vw,67px)}
  .hero p{font-size:12px;max-width:310px}
  .hero-controls{left:7%;bottom:23px}
  .brand-strip-item{padding:19px 7px}
  .brand-strip-item strong{font-size:14px}
  .brand-strip-item span{font-size:7px;letter-spacing:1px}
  main{padding:50px 5% 70px}
  .section-head{display:block}
  .section-head h2{font-size:32px}
  .section-link{display:inline-block;margin-top:17px}
  .product-grid,.featured-grid,.social-grid{gap:25px 12px}
  .product-name{font-size:18px}
  .product-description{font-size:10px}
  .product-info{padding:12px 1px}
  .product-tag{top:8px;left:8px;font-size:7px;padding:7px}
  .product-view{font-size:8px}
  .about-section,.social-proof-section{padding:38px 7%;margin-top:45px}
  .modal{padding:18px}
  .gallery-stage{height:280px}
  .admin-form,.campaign-admin-grid,.checkout-grid{grid-template-columns:1fr}
  .field-full{grid-column:auto}
  .admin-row{align-items:flex-start;flex-direction:column}
  .footer-brand{font-size:32px}
  .admin-shell-header{padding:15px}
  .admin-shell-nav{padding:10px 15px}
  .receipt-grid-finance{grid-template-columns:1fr}
}

/* ESTILOS PARA QUICK VIEW, PREÇO RISCADO E SELOS */
.product-price-wrapper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-old-price { font-size: 11px; color: #777; text-decoration: line-through; }
.discount-badge { background: #152b1b; color: #a8e6b4; font-size: 8px; padding: 2px 6px; border-radius: 3px; font-weight: bold; border: 1px solid #2a5934; }
.quick-view-btn { display:none; }
.product-info { display:none !important; }
.product-card .product-image { aspect-ratio:4/5; }
#quickViewModal .modal { max-width:780px; padding:22px; }
.qv-gallery { width:100%; }
.qv-photo-stage { height:min(56vh,520px); min-height:280px; background:#090909; position:relative; display:grid; place-items:center; overflow:hidden; touch-action:pan-y; }
.qv-photo-stage img { width:100%; height:100%; object-fit:contain; display:block; }
.qv-arrow { position:absolute; top:50%; transform:translateY(-50%); width:42px; height:52px; border:1px solid #ffffff55; background:#0009; color:white; font-size:32px; line-height:1; z-index:2; }
.qv-arrow.prev { left:12px; } .qv-arrow.next { right:12px; }
.qv-counter { position:absolute; right:12px; bottom:12px; background:#000b; color:#fff; padding:6px 10px; border-radius:20px; font-size:11px; }
.qv-dots { display:flex; justify-content:center; gap:8px; padding:13px 0 3px; }
.qv-dot { width:7px; height:7px; border:0; border-radius:50%; padding:0; background:#555; } .qv-dot.active { background:var(--gold); transform:scale(1.25); }
.qv-product-info { padding:20px 2px 2px; }
.qv-eyebrow { color:#aaa; font-size:10px; text-transform:uppercase; letter-spacing:2px; }
.qv-product-info h2 { font:400 28px Georgia,serif; margin:7px 0 9px; }
.qv-price { display:flex; align-items:center; gap:10px; font-size:20px; margin:8px 0 12px; }
.qv-price strong { color:var(--gold); } .qv-price del { color:#777; font-size:13px; }
.qv-product-info p { color:#bbb; font-size:13px; line-height:1.7; margin:0 0 18px; }
.qv-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.qv-actions button { min-height:48px; }
.custom-badge-tag { position: absolute; top: 13px; right: 13px; z-index: 2; background: var(--gold); color: #000; padding: 6px 10px; font-size: 8px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; }


@media (max-width: 600px) {
  #quickViewModal { padding:0; align-items:stretch; }
  #quickViewModal .modal { width:100%; max-width:none; height:100dvh; max-height:100dvh; border:0; padding:14px 16px calc(18px + env(safe-area-inset-bottom)); overflow-y:auto; }
  #quickViewModal .modal-close { position:sticky; top:0; z-index:5; float:right; margin-bottom:8px; }
  .qv-photo-stage { height:48vh; min-height:260px; max-height:440px; }
  .qv-product-info { padding-top:16px; }
  .qv-product-info h2 { font-size:25px; }
  .qv-actions { grid-template-columns:1fr; }
  .product-grid,.featured-grid { gap:10px; }
  .product-image { aspect-ratio:3/4; }
}


/* BARRA DE NAVEGAÇÃO MOBILE PREMIUM */
.mobile-bottom-bar { display: none; }
@media (max-width: 850px) {
  main { padding-bottom: 150px; }
  footer { padding-bottom: 120px; }
  body.admin-open .mobile-bottom-bar { display: none !important; }
  .mobile-bottom-bar {
    display: flex; position: fixed; bottom: 20px; left: 4%; right: 4%;
    background: rgba(18, 18, 18, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 24px;
    padding: 12px 20px; z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    justify-content: space-between; align-items: center;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: transparent; border: none; color: #777; padding: 5px; width: 60px;
    font-size: 8.5px; font-weight: bold; letter-spacing: 0.5px; transition: 0.25s; text-transform: uppercase; position: relative;
  }
  .nav-item svg { width: 22px; height: 22px; fill: currentColor; transition: transform 0.2s cubic-bezier(0.25, 1.5, 0.5, 1); }
  .nav-item.active { color: var(--gold); }
  .nav-item.active svg { transform: scale(1.15); }
  .nav-item:active svg { transform: scale(0.9); }
  .nav-badge {
    position: absolute; top: -3px; right: 8px; background: var(--gold); color: #000;
    font-size: 8px; font-weight: bold; width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.2s; border: 2px solid #141414;
  }
  .nav-badge.show { opacity: 1; }
}


/* CARROSSEL DE DESTAQUES */
.featured-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -7%; 
  padding: 0 7%;
  touch-action: pan-y;
}
.featured-grid {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: nowrap !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.featured-grid .product-card {
  flex: 0 0 85% !important; /* 1 imagem por vez ocupando 85% no mobile */
  max-width: 450px;
}
.featured-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.featured-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #444;
  border: none;
  padding: 0;
  transition: 0.3s;
  cursor: pointer;
}
.featured-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}
@media(min-width: 851px) {
  .featured-grid .product-card { flex: 0 0 calc(33.333% - 14px) !important; }
  .featured-carousel-wrapper { margin: 0; padding: 0; }
}


.quick-stock-input {
  width: 60px;
  background: #181818;
  border: 1px solid #444;
  color: #fff;
  text-align: center;
  padding: 4px;
  font-size: 11px;
}


body.checkout-open .mobile-bottom-bar { display: none !important; }

/* ==========================================================
   ALERTAS VISUAIS DINÂMICOS PARA PEDIDOS PARADOS (ADM)
   ========================================================== */
.order-card.alert-warning {
  border-left-color: #f0c088 !important;
  background: #1a160d !important;
}

.order-card.alert-danger {
  border-left-color: #e89b9b !important;
  background: #1f0f0f !important;
  animation: pulseAlert 2s infinite;
}

.stagnant-badge {
  background: #7e3232;
  color: #fff;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  display: inline-block;
  margin-top: 6px;
}

@keyframes pulseAlert {
  0% { border-left-color: #e89b9b; }
  50% { border-left-color: #ff4d4d; box-shadow: inset 0 0 15px rgba(255, 77, 77, 0.15); }
  100% { border-left-color: #e89b9b; }
}
/* ==========================================================
   ESTILOS DOS BOTÕES DE FILTRO DE ALERTA (PAINEL ADMIN)
   ========================================================== */
.ord-filter-btn.filter-danger {
  background: #2e1515 !important;
  color: #e89b9b !important;
  border-color: #7e3232 !important;
}
.ord-filter-btn.filter-danger:hover, .ord-filter-btn.filter-danger.active-filter {
  background: #7e3232 !important;
  color: #fff !important;
}

.ord-filter-btn.filter-warning {
  background: #241a0d !important;
  color: #f0c088 !important;
  border-color: #5c3f24 !important;
}
.ord-filter-btn.filter-warning:hover, .ord-filter-btn.filter-warning.active-filter {
  background: #5c3f24 !important;
  color: #fff !important;
}


/* Acesso ao simulador 3D de canecas */
.mug-simulator-card{
  display:flex;align-items:center;gap:22px;
  margin:0 0 28px;padding:22px 25px;
  border:1px solid #765b22;border-radius:8px;
  background:linear-gradient(110deg,#19150d 0%,#111 62%,#1d180e 100%);
  color:#f5f5f5;transition:border-color .2s,transform .2s,background .2s;
}
.mug-simulator-card:hover{
  border-color:#d4af37;transform:translateY(-2px);
  background:linear-gradient(110deg,#211b10 0%,#141414 62%,#28200f 100%);
}
.mug-simulator-icon{
  display:grid;place-items:center;flex:0 0 58px;height:58px;
  border:1px solid #806326;border-radius:7px;
  color:#e0bd68;font-size:29px;background:#211b10;
}
.mug-simulator-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.mug-simulator-kicker{font-size:9px;letter-spacing:2px;color:#d4af37}
.mug-simulator-copy strong{font-family:Georgia,serif;font-size:25px;font-weight:400}
.mug-simulator-copy>span:last-child{font-size:12px;line-height:1.5;color:#aaa}
.mug-simulator-action{
  flex:0 0 auto;padding:12px 16px;border:1px solid #a8873b;
  border-radius:4px;color:#e0bd68;font-size:9px;
  font-weight:bold;letter-spacing:1.2px;white-space:nowrap;
}
@media(max-width:600px){
  .mug-simulator-card{gap:13px;padding:16px;margin-bottom:22px;flex-wrap:wrap}
  .mug-simulator-icon{flex-basis:48px;height:48px;font-size:24px}
  .mug-simulator-copy strong{font-size:21px}
  .mug-simulator-copy>span:last-child{font-size:11px}
  .mug-simulator-action{margin-left:61px;padding:10px 12px;font-size:8px}
}


/* Simuladores 3D lado a lado no catálogo */
.simulator-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:0 0 28px;
}
.simulator-links .mug-simulator-card{
  margin:0;
  min-width:0;
}
@media(max-width:700px){
  .simulator-links{grid-template-columns:1fr;gap:12px}
}

/* ÁREA DO CLIENTE F17 — identidade visual integrada ao catálogo */
.customer-overlay{z-index:80;align-items:stretch;justify-content:center;padding:0;background:rgba(0,0,0,.88);overflow:auto}
.customer-shell{position:relative;width:min(100%,1040px);min-height:100%;margin:auto;background:var(--customer-bg,#0b0b0b);border-left:1px solid var(--customer-border,#303030);border-right:1px solid var(--customer-border,#303030);padding:38px clamp(18px,4vw,48px) 54px;color:var(--customer-text,#f5f1e8);overflow:auto}
.customer-close{position:absolute;right:22px;top:20px;z-index:2;border-radius:3px}
.customer-brand{display:flex;align-items:baseline;gap:2px;font-family:Georgia,serif;font-size:22px;letter-spacing:-1px;color:var(--customer-text,#f5f1e8)}
.customer-brand b{color:var(--gold);font-weight:400}.customer-brand small{margin-left:12px;font:9px Arial,sans-serif;letter-spacing:2px;color:var(--customer-primary,#c9a95b)}
.customer-intro{max-width:620px;margin:56px auto 28px;text-align:center}.customer-eyebrow{display:block;color:var(--gold);font-size:9px;font-weight:700;letter-spacing:2px}.customer-intro h1,.customer-top h1{font:400 clamp(28px,4vw,42px) Georgia,serif;margin:10px 0;color:var(--customer-text,#f5f1e8)}.customer-intro p,.customer-top p{font-size:13px;line-height:1.7;color:var(--customer-muted,#999);margin:0}
.customer-auth-card{max-width:470px;margin:0 auto;padding:22px;background:var(--customer-surface,#111111);border:1px solid var(--customer-border,#303030);border-radius:7px}.customer-auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--customer-border,#303030);margin-bottom:18px}.customer-auth-tabs button{background:none;border:0;color:var(--customer-muted,#999);padding:12px;cursor:pointer;font-size:12px}.customer-auth-tabs button.active{color:var(--gold);border-bottom:2px solid var(--gold)}
.customer-form{display:grid;gap:13px}.customer-form label{display:grid;gap:6px;font-size:11px;color:var(--customer-muted,#999)}.customer-form input{width:100%;padding:13px;background:var(--customer-input,#090909);border:1px solid var(--customer-border,#303030);border-radius:4px;color:var(--customer-text,#f5f1e8);font-size:14px;outline:none}.customer-form input:focus{border-color:var(--gold)}
.customer-primary{width:100%;padding:14px;background:var(--gold);color:var(--customer-bg,#0b0b0b);border:0;border-radius:4px;font-weight:700;cursor:pointer;letter-spacing:.3px}.customer-primary:disabled{opacity:.6;cursor:wait}.customer-link{display:block;margin:15px auto 0;background:none;border:0;color:var(--customer-primary,#c9a95b);text-decoration:underline;cursor:pointer;font-size:11px}.customer-privacy{margin:18px 0 0;color:var(--customer-muted,#999);font-size:10px;line-height:1.6;text-align:center}.customer-message{padding:11px 13px;margin-bottom:15px;background:var(--customer-warning-bg,#211d12);border:1px solid var(--customer-warning-border,#66542c);color:var(--customer-warning-text,#e8d39b);border-radius:4px;font-size:12px;line-height:1.5}
.customer-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:50px 0 25px;border-bottom:1px solid var(--customer-border,#303030)}.customer-logout,.customer-refresh{background:transparent;border:1px solid var(--customer-warning-border,#66542c);color:var(--customer-primary,#c9a95b);padding:10px 14px;border-radius:3px;cursor:pointer;font-size:11px}.customer-dashboard{max-width:900px;margin:24px auto}.customer-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 36px}.customer-kpis>div{padding:17px;background:var(--customer-surface-2,#171717);border:1px solid var(--customer-border,#303030);border-radius:5px}.customer-kpis small{display:block;color:var(--customer-muted,#999);font-size:10px}.customer-kpis strong{display:block;color:var(--customer-primary,#c9a95b);font:28px Georgia,serif;margin-top:8px}.customer-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:14px}.customer-section-head h2{font:400 27px Georgia,serif;margin:7px 0 0}.customer-order-card{display:flex;gap:16px;padding:16px;margin-bottom:12px;background:var(--customer-surface,#111111);border:1px solid var(--customer-border,#303030);border-radius:5px}.customer-order-image{width:92px;height:108px;flex:0 0 92px;background:var(--customer-surface-2,#171717);border-radius:4px;overflow:hidden;display:grid;place-items:center}.customer-order-image img{width:100%;height:100%;object-fit:cover}.customer-order-placeholder{font:22px Georgia,serif;color:var(--gold)}.customer-order-main{min-width:0;flex:1}.customer-order-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.customer-order-head b{font-size:14px;color:var(--customer-text,#f5f1e8)}.customer-status{font-size:9px;color:#e0c27a;border:1px solid #5a4a2b;border-radius:20px;padding:5px 8px;white-space:nowrap}.customer-order-main>small{display:block;color:var(--customer-muted,#999);font-size:10px;margin-top:6px}.customer-order-meta{display:flex;flex-wrap:wrap;gap:8px 15px;color:#aaa;font-size:10px;margin:13px 0}.customer-order-values{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--customer-muted,#999);font-size:10px}.customer-order-values b{color:var(--customer-text,#f5f1e8);margin-left:4px}.customer-order-main details{margin-top:12px;color:var(--customer-primary,#c9a95b);font-size:11px}.customer-order-main details p{color:#aaa;white-space:pre-wrap}.customer-empty,.customer-error{padding:30px 20px;text-align:center;background:var(--customer-surface,#111111);border:1px dashed var(--customer-border,#303030);border-radius:5px}.customer-empty>span{font-size:26px;color:var(--gold)}.customer-empty h3{font:400 23px Georgia,serif;color:var(--customer-text,#f5f1e8)}.customer-empty p,.customer-note p,.customer-error p{color:var(--customer-muted,#999);font-size:12px;line-height:1.6}.customer-empty .customer-primary{max-width:230px;margin-top:10px}.customer-note{margin-top:28px;padding:17px;background:var(--customer-surface,#111111);border-left:2px solid var(--gold)}.customer-note b{font-size:12px;color:var(--customer-text,#f5f1e8)}.customer-note p{margin:7px 0}.customer-note a{color:var(--customer-primary,#c9a95b);font-size:11px}.customer-error{border-color:var(--customer-danger-border,#81443e);color:var(--customer-danger,#e6b0a8);text-align:left}.customer-error small{color:var(--customer-muted,#999)}.customer-lock{overflow:hidden}
@media(max-width:620px){.customer-shell{padding:25px 16px 40px}.customer-close{right:14px;top:14px}.customer-brand{font-size:19px}.customer-intro{margin-top:54px}.customer-auth-card{padding:17px}.customer-top{padding-top:54px;align-items:start}.customer-kpis{gap:7px}.customer-kpis>div{padding:12px 9px}.customer-kpis small{font-size:9px}.customer-kpis strong{font-size:23px}.customer-order-card{gap:11px;padding:11px}.customer-order-image{width:66px;height:82px;flex-basis:66px}.customer-order-head{display:block}.customer-status{display:inline-block;margin-top:6px}.customer-order-meta{gap:6px 10px}.customer-order-values{gap:7px 12px}}

/* ÁREA DO CLIENTE F17 — notificações, protocolo e acompanhamento por pedido */
.customer-notifications-section{margin:0 0 34px;padding:18px;background:#101010;border:1px solid #2b2b2b;border-radius:6px}
.customer-notifications-section .customer-section-head{margin-bottom:13px}
.customer-unread-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:5px;border-radius:20px;background:#9e2929;color:#fff;font:700 11px Arial,sans-serif;vertical-align:middle}
.customer-notification{padding:13px 14px;margin:9px 0;background:#171717;border:1px solid #333;border-left:3px solid #555;border-radius:4px}
.customer-notification.unread{background:#211d13;border-color:#66542b;border-left-color:#d7b75f;box-shadow:0 0 0 1px rgba(215,183,95,.08)}
.customer-notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#f1e5c6;font-size:12px}
.customer-new-label{font-size:9px;font-weight:800;letter-spacing:1px;color:#17130a;background:#e3c36e;padding:4px 7px;border-radius:3px}
.customer-notification p{margin:8px 0;color:#d2d0c9;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-notification-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
.customer-notification-foot small{color:#888;font-size:10px}
.customer-notification-foot button{border:1px solid #66542b;background:#17140e;color:#e4c979;padding:6px 10px;border-radius:3px;font-size:10px;cursor:pointer}
.customer-no-notifications{padding:15px;color:#929292;background:#141414;border:1px dashed #353535;border-radius:4px;font-size:12px;line-height:1.6}
.customer-orders-heading{margin-top:28px}
.customer-protocol-box{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:11px 0 5px;padding:9px 11px;background:#0b0b0b;border:1px solid #393327;border-radius:4px}
.customer-protocol-box>div{display:grid;gap:4px;min-width:0}
.customer-protocol-box small{font-size:8px;letter-spacing:1.5px;color:#a68b4c;font-weight:700}
.customer-protocol-box b{font:600 13px ui-monospace,SFMono-Regular,Consolas,monospace;color:#f1d88d;overflow-wrap:anywhere}
.customer-protocol-box button{flex:0 0 auto;border:1px solid #66542b;background:#17140e;color:#e4c979;padding:6px 10px;border-radius:3px;font-size:10px;cursor:pointer}
.customer-latest-message{margin-top:12px;padding:11px 12px;background:#211d13;border:1px solid #66542b;border-left:3px solid #d7b75f;border-radius:4px}
.customer-latest-message b{display:block;color:#f0d68e;font-size:10px;letter-spacing:.4px}
.customer-latest-message p{margin:6px 0 0;color:#eee0bc;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-order-timeline{margin-top:13px;padding-top:10px;border-top:1px solid #2d2d2d;color:#d7bd77;font-size:11px}
.customer-order-timeline summary{cursor:pointer;font-weight:700;list-style-position:inside}
.customer-timeline{margin:12px 0 2px 5px;padding-left:17px;border-left:1px solid #51452b}
.customer-timeline-event{position:relative;padding:0 0 15px 8px;color:#eee}
.customer-timeline-event:last-child{padding-bottom:2px}
.customer-timeline-dot{position:absolute;left:-22px;top:2px;width:9px;height:9px;border-radius:50%;background:#a58a4d;border:2px solid #0b0b0b;box-shadow:0 0 0 1px #8a713d}
.customer-timeline-event.message .customer-timeline-dot{background:#e2bd5f;box-shadow:0 0 0 1px #d6b45e}
.customer-timeline-event b{font-size:11px;color:#e7d29d}
.customer-timeline-event p{margin:5px 0;color:#c4c0b5;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-timeline-event small{color:#777;font-size:9px}
.customer-order-highlight{outline:2px solid #d7b75f;box-shadow:0 0 22px rgba(215,183,95,.2);transition:box-shadow .25s ease}
@media(max-width:620px){.customer-notifications-section{padding:12px}.customer-notification{padding:11px}.customer-notification-foot{align-items:flex-start;flex-direction:column}.customer-protocol-box b{font-size:11px}.customer-order-timeline{font-size:10px}}


/* ==========================================================================
   ATUALIZAÇÃO COMPLETA V9 — CABEÇALHO MOBILE, ESTÚDIO 3D, RESUMO FINANCEIRO,
   CHAT POR PEDIDO, CAIXA DE ENTRADA ADMIN E ACESSIBILIDADE
   ========================================================================== */

/* 1. NOVO CABEÇALHO COMPACTO E MENU DE TRÊS BARRINHAS (ATUALIZAÇÃO 1) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 76px;
  padding: 12px 5%;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-header-visible {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.mob-top-link {
  padding: 9px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #e6e6e6;
  border-radius: 4px;
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.mob-top-link:hover {
  color: var(--gold);
}
.mob-account-highlight,
.desktop-account-highlight {
  background: var(--gold) !important;
  color: #111 !important;
  font-weight: 700 !important;
  padding: 9px 11px !important;
  border-radius: 5px;
  border: 1px solid var(--gold);
  font-size: 11px !important;
  letter-spacing: 0.4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.22);
}
.header-unread-badge {
  background: #9e2929;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
}
.hamburger-btn {
  width: 42px;
  height: 40px;
  border: 1px solid #3a3a3a;
  background: #141414;
  border-radius: 5px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.hamburger-line {
  width: 18px;
  height: 2px;
  background: #f5f5f5;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu oculto (Drawer) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-drawer-backdrop.open {
  opacity: 1;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(310px, 86vw);
  height: 100dvh;
  background: #0e0e0e;
  border-left: 1px solid #2e2e2e;
  z-index: 95;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.75);
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #262626;
}
.mobile-drawer-brand {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #fff;
}
.mobile-drawer-brand span {
  color: var(--gold);
}
.mobile-drawer-close {
  background: #1a1a1a;
  color: #f5f5f5;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12px;
  min-height: 40px;
}
.mobile-drawer-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 6px;
  background: #151515;
  border: 1px solid #262626;
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 600;
  min-height: 48px;
  transition: border-color 0.2s, background 0.2s;
}
.mobile-drawer-link:hover,
.mobile-drawer-link:focus-visible {
  border-color: var(--gold);
  background: #1d1910;
  color: var(--gold);
}

@media (max-width: 850px) {
  .desktop-nav-wrapper {
    display: none !important;
  }
  .mobile-header-visible {
    display: flex;
  }
  .topbar {
    min-height: 64px;
    padding: 8px 3.5%;
    flex-direction: row !important;
    overflow-x: clip;
  }
  .brand {
    font-size: clamp(20px, 5.5vw, 26px);
    letter-spacing: -1px;
    text-align: left;
    flex-shrink: 1;
  }
  .brand-sub {
    display: none;
  }
  main {
    padding-bottom: 60px !important;
  }
  footer {
    padding-bottom: 40px !important;
  }
}

@media (max-width: 390px) {
  .mob-top-link {
    padding: 7px 5px;
    font-size: 10.5px;
  }
  .mob-account-highlight {
    padding: 7px 8px !important;
    font-size: 10.5px !important;
  }
  .hamburger-btn {
    width: 38px;
    height: 38px;
  }
}

/* 2. ESTÚDIO 3D — DOIS CARTÕES LADO A LADO NO CELULAR (ATUALIZAÇÃO 2) */
.studio-3d-section {
  margin: 0 0 65px;
  padding: 32px 0 10px;
  border-top: 1px solid #262626;
}
.studio-3d-head h2 {
  letter-spacing: 1px;
}
.studio-3d-subtitle {
  color: var(--gold) !important;
  font-size: 15px !important;
  font-weight: 600;
  margin-top: 4px !important;
}
.studio-3d-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0;
}
@media (max-width: 700px) {
  .studio-3d-section {
    margin-bottom: 45px;
    padding-top: 24px;
  }
  .studio-3d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .studio-compact-card {
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: space-between;
    padding: 14px 12px !important;
    gap: 10px !important;
    margin: 0 !important;
    min-height: 190px;
  }
  .studio-compact-card .mug-simulator-icon {
    width: 42px;
    height: 42px !important;
    flex: 0 0 42px !important;
    font-size: 21px !important;
  }
  .studio-compact-card .mug-simulator-kicker {
    font-size: 8px !important;
    letter-spacing: 1px !important;
  }
  .studio-compact-card .mug-simulator-copy strong {
    font-size: 16px !important;
    line-height: 1.2;
  }
  .studio-compact-card .mug-simulator-copy > span:last-child {
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: #ccc !important;
  }
  .studio-compact-card .mug-simulator-action {
    margin-left: 0 !important;
    width: 100%;
    text-align: center;
    padding: 10px 8px !important;
    font-size: 10px !important;
  }
}

/* 3. RESUMO FINANCEIRO PADRONIZADO: TOTAL, JÁ PAGO, RESTANTE (ATUALIZAÇÃO 3) */
.standardized-finance-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.std-finance-item {
  background: var(--customer-bg,#0b0b0b);
  border: 1px solid var(--customer-border,#303030);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
}
.std-finance-item small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--customer-muted,#999);
  margin-bottom: 5px;
}
.std-finance-item strong {
  display: block;
  font-size: 15px;
  color: var(--customer-text,#f5f1e8);
  word-break: break-word;
}
.std-finance-item.paid-positive {
  border-color: var(--customer-success,#a8e6b4);
}
.std-finance-item.paid-positive strong {
  color: var(--customer-success,#a8e6b4);
}
.std-finance-item.highlight-remaining {
  border-color: var(--customer-warning-border,#66542c);
  background: var(--customer-warning-bg,#211d12);
}
.std-finance-item.highlight-remaining strong {
  color: var(--customer-primary,#c9a95b);
}
.std-finance-item.settled {
  border-color: var(--customer-success,#a8e6b4);
  background: var(--customer-surface,#111111);
}
.std-finance-item.settled strong {
  color: var(--customer-success,#a8e6b4);
}
@media (max-width: 480px) {
  .standardized-finance-summary {
    gap: 6px;
  }
  .std-finance-item {
    padding: 10px 6px;
  }
  .std-finance-item small {
    font-size: 9px;
  }
  .std-finance-item strong {
    font-size: 13px;
  }
}

/* 4. CHECKOUT INTELIGENTE (ATUALIZAÇÃO 4) */
.smart-checkout-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #141c16;
  border: 1px solid #2f5c39;
  color: #d4f2dc;
  font-size: 12px;
  line-height: 1.5;
}

/* 5. CONVERSA POR PEDIDO & CAIXA DE ENTRADA ADMIN (ATUALIZAÇÕES 5 E 6) */
.order-chat-box {
  margin-top: 14px;
  padding: 14px;
  background: #0e0e0e;
  border: 1px solid #353024;
  border-radius: 6px;
}
.order-chat-messages {
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px;
  margin-bottom: 12px;
}
.chat-bubble {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
}
.chat-bubble.from-customer {
  align-self: flex-end;
  background: var(--customer-warning-bg,#211d12);
  border: 1px solid var(--customer-warning-border,#66542c);
  color: var(--customer-text,#f5f1e8);
}
.chat-bubble.from-admin {
  align-self: flex-start;
  background: var(--customer-surface-2,#171717);
  border: 1px solid var(--customer-border,#303030);
  color: var(--customer-text,#f5f1e8);
}
.chat-bubble-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 10px;
  color: var(--customer-primary,#c9a95b);
  font-weight: 700;
}
.chat-bubble-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 5px;
  font-size: 10px;
  color: var(--customer-muted,#999);
}
.chat-compose-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.chat-compose-row textarea {
  flex: 1;
  background: #080808;
  border: 1px solid #444;
  color: #fff;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  resize: vertical;
  min-height: 46px;
}
.chat-compose-row button {
  padding: 0 16px;
  min-height: 46px;
  font-weight: 700;
  font-size: 12px;
}

/* Caixa de entrada administrativa */
.admin-inbox-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  min-height: 540px;
}
.admin-inbox-sidebar {
  background: #111;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-inbox-list {
  flex: 1;
  overflow-y: auto;
  max-height: 620px;
}
.admin-inbox-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #222;
  padding: 14px;
  color: #eee;
  display: block;
  transition: background 0.15s;
}
.admin-inbox-item:hover {
  background: #181818;
}
.admin-inbox-item.active {
  background: #1f1b11;
  border-left: 4px solid var(--gold);
}
.admin-inbox-item.needs-attention {
  background: #211810;
}
.admin-inbox-thread {
  background: #111;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 850px) {
  .admin-inbox-layout {
    grid-template-columns: 1fr;
  }
}

/* 6. ACESSIBILIDADE GLOBAL (ATUALIZAÇÃO 7) */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
}
.toast-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #152b1b;
  border: 1px solid #3c7d4b;
  color: #e9faee;
  padding: 14px 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75);
}

/* Barra flutuante inferior mobile solicitada */
.f17-bottom-bar {
  display: none;
}
@media (max-width: 850px) {
  body.checkout-open .f17-bottom-bar,
  body.admin-open .f17-bottom-bar {
    display: none !important;
  }
  .f17-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 15px;
    left: 4%;
    right: 4%;
    background: rgba(18, 18, 18, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 22px;
    padding: 10px 16px;
    z-index: 70;
    box-shadow: 0 10px 30px rgba(0,0,0,0.85);
    justify-content: space-around;
    align-items: center;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .f17-bbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #bbb;
    padding: 4px;
    width: 64px;
    font-size: 8.5px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
  }
  .f17-bbar-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s;
  }
  .f17-bbar-item:hover, .f17-bbar-item:active {
    color: var(--gold);
  }
  main {
    padding-bottom: 120px !important;
  }
  footer {
    padding-bottom: 90px !important;
  }
}

/* Modal z-index e melhorias para Quick View e Voltar */
#quickViewModal, #detailModal {
  z-index: 120 !important;
}
.qv-back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #262626;
}
.qv-back-btn {
  background: #222;
  border: 1px solid #444;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
}
.qv-back-btn:hover {
  background: #333;
  border-color: var(--gold);
  color: var(--gold);
}

/* Correções F17: ampliação sempre acima das janelas e botão de fechar independente da imagem */
#lightboxModal { z-index: 99999 !important; }
#lightboxModal .lightbox-close { z-index: 3; cursor: pointer; }
#lightboxModal .lightbox-arrow { z-index: 2; cursor: pointer; }
#lightboxModal img { cursor: zoom-out; }

/* F17 Coverflow 3D para a seção Destaques */
#featuredCarouselWrapper{overflow:hidden;perspective:1100px;padding:22px 0 12px;touch-action:pan-y;}
#featuredGrid{position:relative;display:block!important;height:clamp(330px,48vw,470px);transform:none!important;}
#featuredGrid .product-card{position:absolute;left:50%;top:0;width:min(68%,430px);max-width:430px;flex:none!important;margin:0;transform-origin:center center;transition:transform .65s cubic-bezier(.2,.75,.25,1),opacity .5s ease,filter .5s ease;backface-visibility:hidden;}
#featuredGrid .product-card.coverflow-active{filter:none;}
#featuredGrid .product-card.coverflow-prev,#featuredGrid .product-card.coverflow-next{filter:saturate(.72) brightness(.78);}
#featuredGrid .product-card.coverflow-hidden{pointer-events:none;}
@media(max-width:600px){#featuredGrid{height:390px;}#featuredGrid .product-card{width:78%;}#featuredGrid .product-card.coverflow-prev{transform:translateX(-82%) scale(.72)!important;}#featuredGrid .product-card.coverflow-next{transform:translateX(-18%) scale(.72)!important;}#featuredGrid .product-card.coverflow-active{transform:translateX(-50%) scale(1)!important;}}
@media(min-width:601px){#featuredGrid .product-card{width:min(46%,430px);}#featuredGrid .product-card.coverflow-prev{transform:translateX(-125%) scale(.76)!important;}#featuredGrid .product-card.coverflow-next{transform:translateX(25%) scale(.76)!important;}#featuredGrid .product-card.coverflow-active{transform:translateX(-50%) scale(1)!important;}}
#featuredGrid .product-card.coverflow-active{transform:translateX(-50%) scale(1);opacity:1;z-index:5;}
#featuredGrid .product-card.coverflow-prev{transform:translateX(-125%) scale(.76);opacity:.48;z-index:3;}
#featuredGrid .product-card.coverflow-next{transform:translateX(25%) scale(.76);opacity:.48;z-index:3;}
#featuredGrid .product-card.coverflow-hidden{transform:translateX(-50%) scale(.58);opacity:0;z-index:1;}

/* Filtros de pedidos: botões destacados no desktop e select preservado no mobile */
.orders-filter-desktop{display:none;flex-wrap:wrap;gap:9px;}
.orders-filter-option{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 13px;border:1px solid #3a3a3a;border-radius:7px;background:#171717;color:#dedede;font-size:12px;font-weight:700;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s;}
.orders-filter-option:hover{border-color:var(--gold);background:#242018;color:#fff;transform:translateY(-1px);}
.orders-filter-option>span{font-size:15px;line-height:1;}
.orders-filter-option small{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:20px;padding:0 5px;border-radius:20px;background:#303030;color:#cfcfcf;font-size:10px;}
.orders-filter-option.is-active{border-color:var(--gold);background:linear-gradient(135deg,#4b3b13,#211c10);color:#ffe39a;box-shadow:inset 0 0 0 1px #d4af3740,0 3px 12px #0005;}
.orders-filter-option.is-active small{background:var(--gold);color:#17120a;}
.orders-filter-mobile{display:block;}
@media(min-width:851px){.orders-filter-desktop{display:flex}.orders-filter-mobile{display:none}}


/* MENU ADMINISTRATIVO — grade compacta, no máximo duas linhas em desktop */
.admin-shell-nav{
  display:grid !important;grid-template-columns:repeat(9,minmax(0,1fr));align-items:stretch;gap:9px !important;
  padding:13px 18px !important;overflow:visible !important;
  background:linear-gradient(180deg,#12110e 0%,#090909 100%) !important;
  border-top:1px solid #d4af3740 !important;border-bottom:1px solid #d4af3750 !important;
}
.admin-tab-btn{
  position:relative;isolation:isolate;display:inline-flex !important;align-items:center;justify-content:flex-start;gap:7px;
  flex:initial;min-width:0;width:100%;min-height:30px;padding:1px 1px !important;
  border:1.5px solid #d4af37 !important;border-radius:10px !important;
  background:linear-gradient(145deg,#211d12 0%,#111 72%) !important;
  color:#fff !important;font-size:10.5px !important;font-weight:800 !important;letter-spacing:.15px !important;
  text-transform:none !important;white-space:normal !important;text-align:left;
  text-shadow:0 1px 5px #000,0 0 9px #fff2;
  box-shadow:inset 0 0 10px #d4af3714,0 0 7px #d4af3745,0 4px 12px #0009;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.admin-tab-btn::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;background:linear-gradient(110deg,#d4af371c,transparent 48%,#fff08);opacity:.55}
.admin-tab-btn:hover{transform:translateY(-2px);color:#fff !important;border-color:#ffe28a !important;background:linear-gradient(145deg,#403216,#1a170f) !important;box-shadow:inset 0 0 13px #d4af3730,0 0 8px #d4af37a6,0 0 19px #d4af375c,0 7px 17px #000b}
.admin-tab-btn.active{color:#fff !important;border:2px solid #ffe08a !important;background:linear-gradient(145deg,#574318 0%,#28200f 75%) !important;box-shadow:inset 0 0 0 1px #fff3,inset 0 0 18px #d4af3745,0 0 9px #ffe08ab8,0 0 24px #d4af3780,0 6px 17px #000b}
.admin-tab-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#d4af3728 !important;border:1px solid #e7c65d99 !important;color:#ffe49b;font-size:19px;line-height:1;filter:drop-shadow(0 0 4px #d4af3766)}
.admin-tab-label{line-height:1.15;font-weight:800 !important;color:#fff !important;overflow-wrap:anywhere}
.admin-tab-count{margin-left:auto;padding:4px 8px;border-radius:20px;background:#d4af3738 !important;border:1px solid #d4af3790;color:#ffe49b !important;font-size:10px;font-weight:900}
/* Temas dinâmicos do ADM aplicados via variáveis CSS (--adm-*) */

/* Seções recolhíveis independentes de extratos, contas e materiais (Itens 6 e 9) */
.f17-collapsible {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}
.f17-collapsible-summary {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--gold);
  list-style: none;
  user-select: none;
}
.f17-collapsible-summary::-webkit-details-marker { display: none; }
.f17-collapsible-summary::after {
  content: "▾";
  font-size: 14px;
  transition: transform .2s ease;
}
.f17-collapsible[open] .f17-collapsible-summary {
  border-bottom: 1px solid #2b2b2b;
}
.f17-collapsible[open] .f17-collapsible-summary::after {
  transform: rotate(180deg);
}
.f17-collapsible-body {
  padding: 15px;
  min-width: 0;
}
.f17-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.f17-status-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #252525;
  color: #ddd;
  border: 1px solid #444;
  white-space: nowrap;
}
.f17-status-pill[data-state="Quitado"],
.f17-status-pill[data-state="Quitado / Compensado"] {
  background: #132a1c;
  color: #9ef7c9;
  border-color: #2f7a54;
}
.f17-status-pill[data-state="Compensado"] {
  background: #132533;
  color: #9bcbe8;
  border-color: #325c7e;
}
.f17-status-pill[data-state="Parcialmente pago"] {
  background: #2b2111;
  color: #ffd18a;
  border-color: #806326;
}
.f17-status-pill[data-state="Pendente"] {
  background: #2b1515;
  color: #f5b5b5;
  border-color: #7e3232;
}
@media (max-width: 640px) {
  .f17-collapsible-summary {
    padding: 12px;
    font-size: 13px;
    flex-wrap: wrap;
  }
  .f17-collapsible-body {
    padding: 12px 10px;
  }
}
@media(min-width:761px) and (max-width:1250px){.admin-shell-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px !important;padding:12px !important}.admin-tab-btn{min-height:50px;padding:7px !important}.admin-tab-icon{width:28px;height:28px;flex-basis:28px}}
@media(max-width:760px){
 .admin-shell-nav{display:flex !important;gap:9px !important;padding:12px 12px !important;overflow-x:auto !important;overflow-y:hidden !important;flex-wrap:nowrap !important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
 .admin-tab-btn{flex:0 0 auto;min-width:158px;max-width:210px;min-height:54px;padding:8px 11px !important;scroll-snap-align:start}
 .admin-tab-icon{width:31px;height:31px;flex-basis:31px;font-size:17px}
 .admin-shell-nav::-webkit-scrollbar{height:5px}.admin-shell-nav::-webkit-scrollbar-thumb{background:#d4af3780;border-radius:10px}
}

/* Consulta de histórico de parceiro/colaborador: gráficos e lançamentos confortáveis */
.f17-relationship-chart{background:#171717;border:1px solid #383838;border-radius:10px;padding:14px;margin:14px 0;min-width:0;overflow:hidden}
.f17-relationship-chart h4{font-size:14px;line-height:1.4}
.f17-relationship-chart-canvas{position:relative;width:100%;height:280px;min-width:0}
.f17-relationship-chart-canvas canvas{display:block;width:100%!important;max-width:100%}
#f17RelationshipPortal #f17PortalOutput{min-width:0;overflow:hidden}
#f17RelationshipPortal #f17PortalOutput .dashboard-kpi{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#f17RelationshipPortal #f17PortalOutput .kpi-box{min-width:0;border-radius:8px;padding:12px 9px}
#f17RelationshipPortal #f17PortalOutput .kpi-box span{font-size:10px;line-height:1.35}
#f17RelationshipPortal #f17PortalOutput .kpi-box strong{display:block;font-size:clamp(15px,3vw,21px);line-height:1.25;overflow-wrap:anywhere}
@media(max-width:640px){
  #f17RelationshipPortal{padding:13px!important;margin-left:8px!important;margin-right:8px!important}
  #f17RelationshipPortal #f17PortalOutput .dashboard-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
  #f17RelationshipPortal #f17PortalOutput .dashboard-kpi .kpi-box:last-child:nth-child(odd){grid-column:1/-1}
  .f17-relationship-chart{padding:11px;margin:12px 0}
  .f17-relationship-chart-canvas{height:300px}
  #f17RelationshipPortal #f17PortalOutput label{display:block!important;margin:9px 0!important;max-width:100%}
  #f17RelationshipPortal #f17PortalOutput select,#f17RelationshipPortal #f17PortalOutput input[type=date]{display:block;width:100%;max-width:100%;margin-top:5px;box-sizing:border-box}
  #f17RelationshipPortal #f17PortalOutput [data-portal-receipt]{flex:0 0 auto}
}
.f17-history-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:11px;align-items:center;border-top:1px solid #353535;padding:13px 2px;min-width:0}
.f17-history-item>img,.f17-history-item>div:first-child{width:58px;height:58px;object-fit:cover;border-radius:6px}
.f17-history-item>div:nth-child(2){min-width:0;overflow-wrap:anywhere;line-height:1.4}
.f17-history-item b{overflow-wrap:anywhere}
.f17-history-amount{display:block;text-align:right;white-space:normal;max-width:160px}
.f17-history-amount small{line-height:1.45}
@media(max-width:640px){.f17-history-item{grid-template-columns:48px minmax(0,1fr);gap:10px;padding:12px 0}.f17-history-item>img,.f17-history-item>div:first-child{width:48px;height:48px}.f17-history-amount{grid-column:2;text-align:left;max-width:none;font-size:15px}.f17-history-item>div:nth-child(2){font-size:13px}.f17-history-item small{font-size:11px;line-height:1.45}}


/* F17 · prévia de personalização sobre a foto do produto */
.sport-preview-layer{position:absolute;z-index:2;max-width:82%;white-space:nowrap;overflow:visible;text-overflow:clip;color:#fff;font-family:Arial,sans-serif;font-weight:900;font-size:clamp(12px,4.2vw,24px);letter-spacing:.08em;line-height:1;text-align:center;cursor:grab;touch-action:none;user-select:none;padding:5px 7px;border:1px solid transparent;border-radius:3px;transform-origin:center center}
.sport-preview-layer.is-selected{border:1px dashed rgba(212,175,55,.95);background:rgba(0,0,0,.06)}
.sport-preview-layer .sport-resize-handle{display:none!important;pointer-events:auto}
.sport-preview-layer.is-selected .sport-resize-handle{display:block!important;visibility:visible!important;opacity:1!important}
.sport-preview-layer:active{cursor:grabbing;background:rgba(0,0,0,.12)}
.sport-resize-handle{position:absolute;width:18px;height:18px;min-width:18px;min-height:18px;border:2px solid #171717;border-radius:50%;background:#f0c75e;z-index:10;touch-action:none;touch-action: none;pointer-events:auto;box-shadow:0 0 0 2px rgba(255,255,255,.95);box-sizing:border-box}
.sport-resize-handle[data-handle="nw"]{left:-8px;top:-8px;cursor:nwse-resize}.sport-resize-handle[data-handle="n"]{left:50%;top:-8px;transform:translateX(-50%);cursor:ns-resize}.sport-resize-handle[data-handle="ne"]{right:-8px;top:-8px;cursor:nesw-resize}.sport-resize-handle[data-handle="e"]{right:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}.sport-resize-handle[data-handle="se"]{right:-8px;bottom:-8px;cursor:nwse-resize}.sport-resize-handle[data-handle="s"]{left:50%;bottom:-8px;transform:translateX(-50%);cursor:ns-resize}.sport-resize-handle[data-handle="sw"]{left:-8px;bottom:-8px;cursor:nesw-resize}.sport-resize-handle[data-handle="w"]{left:-8px;top:50%;transform:translateY(-50%);cursor:ew-resize}
.sport-preview-number{font-size:clamp(28px,12vw,64px);letter-spacing:0}
#personalizationImagePreview img{max-width:180px;max-height:180px;object-fit:contain}



/* DESTAQUE DO CARD PERSONALIZADO */
.custom-order-card {
    background: linear-gradient(145deg, #102B46, #091725) !important;
    border: 2px solid #369DEB !important;
}

.custom-order-card .product-image {
     background: linear-gradient(145deg, #102B46, #091725);
    border: 1px solid #369DEB;
}

.custom-order-card .product-info {
    background: linear-gradient(145deg, #102B46, #091725) !important;
}

.custom-order-card:hover {
    box-shadow: 0 0 25px rgba(54,157,235,.35);
    transform: translateY(-4px);
}
/* PIX COPIÁVEL NA ÁREA DO CLIENTE */
.customer-pix-box{margin:14px 0;padding:14px;background:#0d1710;border:1px solid #315b3a;border-radius:6px;display:grid;gap:9px;color:#e8f5e9}
.customer-pix-box>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.customer-pix-box>div:first-child b{color:#a8e6b4;font-size:13px}
.customer-pix-box>div:first-child small{font-weight:700;color:#fff}
.customer-pix-key{display:flex;align-items:center;gap:8px;min-width:0}
.customer-pix-key span{flex:1;min-width:0;overflow-wrap:anywhere;padding:9px;background:#101c13;border:1px solid #315b3a;border-radius:4px;font-size:12px;color:#d6e8d9}
.customer-pix-key button{flex-shrink:0;padding:10px 12px;border:1px solid #5b9a68;background:#1d4828;color:#fff;border-radius:4px;cursor:pointer;font-size:12px;font-weight:700}
.customer-pix-box>small{color:#a9b9ab;font-size:11px;line-height:1.5}
@media(max-width:520px){.customer-pix-key{align-items:stretch;flex-direction:column}.customer-pix-key button{width:100%}}


/* Subcategorias do catálogo: ficam em uma segunda linha, visíveis somente
   após selecionar uma categoria principal. */
.subcategory-filters{
  display:flex;
  flex:0 0 100%;
  flex-wrap:wrap;
  gap:7px;
  margin:4px 0 0 14px;
  padding:9px 0 2px 12px;
  border-left:2px solid var(--gold);
}
.subcategory-filter{
  font-size:9px;
  opacity:.88;
}
.admin-row .danger{
  border-color:#8b3434;
  color:#ff9b9b;
}
.admin-row .danger:hover{
  background:#351515;
  border-color:#d45b5b;
}

/* Indicador de vídeo na vitrine e mídia de vídeo no quick view */
.product-video-tag{position:absolute;left:12px;bottom:12px;z-index:3;background:#111d;color:#fff;border:1px solid #d6b33c;padding:6px 9px;border-radius:3px;font-size:9px;font-weight:700;letter-spacing:1px;pointer-events:none}
.qv-photo-stage video{width:100%;height:100%;max-height:100%;object-fit:contain;background:#090909;display:block}
.qv-dot.qv-video-dot{width:22px;height:22px;border-radius:50%;font-size:10px;color:#fff;display:grid;place-items:center;line-height:1}
.qv-dot.qv-video-dot.active{background:var(--gold);color:#111}

/* Vídeos de produto: preservar a proporção original (incluindo 9:16) e manter os controles acessíveis. */
.gallery-stage video.product-video-view,
.qv-photo-stage video.product-video-view{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  background:#090909;
  cursor:default;
  position:relative;
  z-index:1;
}
.gallery-counter,.qv-counter{pointer-events:none;z-index:3}
.gallery-arrow,.qv-arrow{z-index:4}


/* CORREÇÃO QUICK VIEW — vídeos verticais e navegação de mídia */
#quickViewModal .qv-photo-stage{
  display:flex;
  align-items:center;
  justify-content:center;
}
#quickViewModal .qv-photo-stage video.qv-product-video{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center;
  flex:0 1 auto;
  background:#090909;
}
#quickViewModal .qv-dots{align-items:center;min-height:34px}
#quickViewModal .qv-dot.qv-video-dot{
  width:30px;height:30px;flex:0 0 30px;font-size:12px;
  border:1px solid #a88b34;background:#262116;color:#f0cf62;
}
#quickViewModal .qv-dot.qv-video-dot.active{background:var(--gold);color:#111}


/* Identificação cromática das fichas: especificidade maior para vencer o tema administrativo. */
.admin-shell[data-admin-theme] .order-card[data-status="Aberto"]{border-left:8px solid #e4b83f!important;box-shadow:inset 6px 0 18px rgba(228,184,63,.16),0 0 0 1px rgba(228,184,63,.16)!important}
.admin-shell[data-admin-theme] .order-card[data-status="Em Produção"]{border-left:8px solid #35a9e8!important;box-shadow:inset 6px 0 18px rgba(53,169,232,.17),0 0 0 1px rgba(53,169,232,.15)!important}
.admin-shell[data-admin-theme] .order-card[data-status="Concluído"]{border-left:8px solid #39c879!important;box-shadow:inset 6px 0 18px rgba(57,200,121,.16),0 0 0 1px rgba(57,200,121,.15)!important}
.admin-shell[data-admin-theme] .order-card[data-status="Cancelado"]{border-left:8px solid #ef6262!important;box-shadow:inset 6px 0 18px rgba(239,98,98,.16),0 0 0 1px rgba(239,98,98,.15)!important}
@media(max-width:760px){#reportResultContainer>div[style*="grid-template-columns:minmax"]{grid-template-columns:1fr!important}}

/* Galeria de artes para canecas: ações Ver em 3D e Comprar */
.mug-gallery-actions{display:flex;gap:7px;align-items:center}
.mug-gallery-actions button{flex:1;min-width:0}
.mug-gallery-buy-btn{border:1px solid #3c8050;background:#183522;color:#c8f0d2;border-radius:5px;padding:9px 12px;font-size:10px;font-weight:800;letter-spacing:.7px;cursor:pointer;white-space:nowrap}
.mug-gallery-buy-btn:hover{background:#245133}
@media(max-width:600px){.mug-gallery-actions{width:100%}}


/* FÁBRICA17 — INTELIGÊNCIA DO CATÁLOGO */
.f17-analytics-wrap{--fa-bg:#100f0d;--fa-panel:#191714;--fa-panel-2:#211d18;--fa-border:#383027;--fa-text:#f3eee5;--fa-muted:#a79d8e;--fa-accent:#efa34f;color:var(--fa-text);padding:2px 0 18px}
.f17-analytics-loading,.f17-analytics-error{padding:28px;border:1px solid var(--fa-border);border-radius:14px;background:var(--fa-panel);color:var(--fa-muted)}
.f17-analytics-error{border-color:#74433b;color:#f0c4b8}.f17-analytics-error p{margin:10px 0;color:#d5c4b7;overflow-wrap:anywhere}
.f17-analytics-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.f17-analytics-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--fa-accent);margin-bottom:7px}
.f17-analytics-header h2{font:400 clamp(25px,3vw,34px)/1.1 Georgia,serif;margin:0;color:#fff}
.f17-analytics-header p{color:var(--fa-muted);font-size:12px;margin:8px 0 0}
.f17-analytics-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.f17-analytics-controls select,.f17-analytics-custom-range input{background:#171411;color:#f5eee3;border:1px solid #504331;border-radius:8px;padding:10px 12px;min-height:39px}
.f17-analytics-controls .secondary{border-radius:8px;min-height:39px;padding:9px 13px}
.f17-analytics-custom-range{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;padding:12px 14px;margin:12px 0;background:var(--fa-panel);border:1px solid var(--fa-border);border-radius:10px}
.f17-analytics-custom-range[hidden]{display:none}.f17-analytics-custom-range label{display:grid;gap:5px;color:var(--fa-muted);font-size:11px}
.f17-analytics-custom-range input{color-scheme:dark}.f17-analytics-custom-range button{padding:9px 15px;min-height:39px}
.f17-analytics-period-line{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--fa-border);padding:9px 1px 13px;color:#938a7e;font-size:10px}
.f17-analytics-period-line span:first-child{display:flex;align-items:center;gap:7px}.f17-analytics-period-line i{width:7px;height:7px;border-radius:50%;background:#69c69e;box-shadow:0 0 10px #69c69e}
.f17-analytics-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:16px 0}
.f17-analytics-kpi{position:relative;min-height:120px;padding:15px 15px 13px;border:1px solid var(--fa-border);border-radius:11px;background:linear-gradient(145deg,#211d18,#171512);overflow:hidden}
.f17-analytics-kpi:after{content:"";position:absolute;width:82px;height:82px;border-radius:50%;right:-30px;top:-36px;background:rgba(239,163,79,.055)}
.f17-analytics-kpi-icon{display:block;color:var(--fa-accent);font-size:20px;line-height:1;margin-bottom:10px}
.f17-analytics-kpi small{display:block;color:var(--fa-muted);font-size:10px;letter-spacing:.35px}
.f17-analytics-kpi strong{display:block;font:500 clamp(22px,2vw,29px)/1.15 Georgia,serif;color:#fff;margin:7px 0 5px;white-space:nowrap}
.f17-analytics-kpi em{display:block;font-style:normal;color:#827a6f;font-size:9px;line-height:1.4}
.f17-analytics-empty{padding:13px 16px;margin:10px 0 16px;border:1px dashed #80613a;border-radius:10px;background:rgba(239,163,79,.055)}
.f17-analytics-empty strong{color:#f1c17e;font-size:12px}.f17-analytics-empty p{margin:5px 0 0;color:#b8aa99;font-size:11px;line-height:1.5}
.f17-analytics-main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:12px;margin-bottom:12px}
.f17-analytics-lower-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.8fr);gap:12px}
.f17-analytics-panel{min-width:0;background:var(--fa-panel);border:1px solid var(--fa-border);border-radius:12px;padding:15px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.f17-analytics-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.f17-analytics-panel-head h3{font-size:13px;letter-spacing:.1px;color:#f6efe3;margin:0 0 5px;font-weight:700}
.f17-analytics-panel-head p{font-size:10px;color:#938a7e;margin:0;line-height:1.4}
.f17-analytics-pill{flex:0 0 auto;padding:5px 8px;border:1px solid #4b3c29;border-radius:20px;color:#d8ad70;font-size:9px}
.f17-analytics-chart-area{position:relative;height:280px;width:100%}.f17-analytics-short-chart{height:185px}
.f17-analytics-donut-area{height:190px;max-width:280px;margin:0 auto;position:relative}
.f17-analytics-heatmap{display:grid;gap:4px;overflow-x:auto;padding-bottom:3px}
.f17-heat-hours,.f17-heat-row{display:grid;grid-template-columns:27px repeat(24,minmax(7px,1fr));gap:3px;min-width:280px;align-items:center}
.f17-heat-hours span{font-size:7px;color:#766e63;text-align:center;height:10px}.f17-heat-day{font-size:9px;color:#a79d8e}
.f17-heat-cell{display:block;height:12px;border-radius:2px;background:#29251f;border:1px solid rgba(255,255,255,.025)}
.f17-heat-cell.level-1,.f17-heat-legend .level-1{background:#55412b}.f17-heat-cell.level-2,.f17-heat-legend .level-2{background:#906438}.f17-heat-cell.level-3,.f17-heat-legend .level-3{background:#c1803d}.f17-heat-cell.level-4,.f17-heat-legend .level-4{background:#e39a4b}.f17-heat-cell.level-5,.f17-heat-legend .level-5{background:#ffd18d}
.f17-heat-legend{display:flex;gap:4px;align-items:center;justify-content:flex-end;margin-top:12px;color:#80786d;font-size:8px}.f17-heat-legend i{width:11px;height:8px;border-radius:2px;background:#29251f}.f17-analytics-table-wrap{overflow-x:auto;margin-top:4px}
.f17-analytics-table{width:100%;border-collapse:collapse;color:#d8d0c4;font-size:10px}.f17-analytics-table th{color:#918779;text-align:left;font-size:9px;font-weight:600;padding:8px;border-bottom:1px solid #393128;white-space:nowrap}.f17-analytics-table td{padding:9px 8px;border-bottom:1px solid rgba(255,255,255,.055);vertical-align:middle}.f17-analytics-table tr:last-child td{border-bottom:0}.f17-analytics-table td:first-child{display:flex;align-items:center;gap:8px;min-width:160px}.f17-analytics-table td b{display:block;color:#eee7dc;font-size:10px;font-weight:600}.f17-analytics-table td small{display:block;color:#80786d;font-size:9px;margin-top:3px}.f17-analytics-rank{display:inline-grid;place-items:center;min-width:21px;height:21px;border-radius:6px;background:#2a241d;color:#e9b16b;font-size:9px}
.f17-analytics-category-list,.f17-analytics-source-list{display:grid;gap:0;margin-top:10px}.f17-analytics-category-list>div,.f17-analytics-source-list>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 1px;border-top:1px solid rgba(255,255,255,.055);font-size:10px;color:#bcb2a5}.f17-analytics-category-list b,.f17-analytics-source-list b{color:#eee0c8;font-size:10px}.f17-analytics-source-list span{display:flex;align-items:center;gap:8px}.f17-analytics-source-list i{width:6px;height:6px;border-radius:50%;background:#e8a052}
.f17-analytics-recent-list{display:grid;gap:0}.f17-analytics-recent-item{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.055)}.f17-analytics-recent-item:last-child{border-bottom:0}.f17-recent-dot{width:7px;height:7px;border-radius:50%;background:#d99a4e}.f17-recent-dot.is-fav{background:#66c49e}.f17-analytics-recent-item b{display:block;color:#e9e2d7;font-size:10px}.f17-analytics-recent-item small{display:block;color:#81796e;font-size:9px;margin-top:3px}.f17-analytics-recent-item time{color:#81796e;font-size:8px;white-space:nowrap}
.f17-analytics-no-data{color:#80786d;font-size:10px;padding:12px 0}.f17-analytics-footnote{margin-top:13px;color:#7f776c;font-size:9px;line-height:1.55}
@media(max-width:1100px){.f17-analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.f17-analytics-main-grid{grid-template-columns:1fr}.f17-analytics-lower-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.f17-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.f17-analytics-kpi{padding:12px;min-height:112px}.f17-analytics-kpi strong{font-size:23px}.f17-analytics-lower-grid{grid-template-columns:1fr}.f17-analytics-panel{padding:12px}.f17-analytics-chart-area{height:235px}.f17-analytics-short-chart{height:175px}.f17-analytics-donut-area{height:175px}.f17-analytics-controls{width:100%}.f17-analytics-controls select{flex:1;min-width:0}.f17-analytics-custom-range{align-items:stretch}.f17-analytics-custom-range label{flex:1;min-width:120px}.f17-analytics-custom-range button{width:100%}.f17-analytics-header h2{font-size:27px}}

/* FÁBRICA17 ETAPA 3 — estatísticas complementares */
.f17-analytics-comparison{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
.f17-analytics-comparison>div{background:linear-gradient(145deg,#201b16,#171512);border:1px solid #493a29;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:6px;min-width:0}
.f17-analytics-comparison small{color:#b9a98f;font-size:11px}
.f17-analytics-comparison strong{font:600 22px Georgia,serif;color:#f4ead9}
.f17-analytics-comparison span{font-size:11px;color:#a9a093}
.f17-analytics-extra-grid{margin-top:14px}
.f17-analytics-order-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;padding:12px}
.f17-analytics-order-summary strong{font:600 23px Georgia,serif;color:#f1b35f}
.f17-analytics-order-summary span{font-size:11px;color:#aaa093}
.f17-analytics-export{display:flex;justify-content:flex-end;margin:14px 0}
@media(max-width:900px){.f17-analytics-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.f17-analytics-comparison{grid-template-columns:1fr 1fr}.f17-analytics-comparison>div{padding:11px}.f17-analytics-comparison strong{font-size:18px}}

/* FÁBRICA17 ETAPA 4 — recomendações no detalhe do produto */
.f17-reco-host{grid-column:1/-1;width:100%;margin-top:22px;padding-top:18px;border-top:1px solid rgba(211,164,91,.22)}
.f17-reco-section{margin:0 0 22px}
.f17-reco-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px}
.f17-reco-heading h3{margin:0;color:var(--gold,#d6a45c);font-size:15px;letter-spacing:.04em;text-transform:uppercase}
.f17-reco-heading p{margin:4px 0 0;color:#aaa;font-size:11px}
.f17-reco-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.f17-reco-card{min-width:0;text-align:left;display:flex;flex-direction:column;gap:6px;padding:8px;background:#171717;border:1px solid #303030;border-radius:9px;color:#eee;cursor:pointer}
.f17-reco-card:hover{border-color:var(--gold,#d6a45c)}
.f17-reco-image{width:100%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#222;border-radius:6px;color:#aaa;font-size:10px}
.f17-reco-image img{width:100%;height:100%;object-fit:cover}
.f17-reco-name{font-size:12px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.f17-reco-price{font-size:11px;color:var(--gold,#d6a45c)}
.f17-reco-loading{color:#999;font-size:12px;padding:12px 0}
@media(max-width:600px){.f17-reco-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.f17-reco-host{margin-top:16px;padding-top:14px}.f17-reco-card{padding:6px}}

/* FÁBRICA17 - Administração de recomendações */
.f17-reco-admin{padding:22px;color:var(--adm-text,#eee);max-width:1100px;margin:auto}
.f17-reco-admin header{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.f17-reco-admin header small{letter-spacing:2px;color:var(--adm-accent,#54d99a)}
.f17-reco-admin h2{margin:7px 0;font-size:25px}.f17-reco-admin header p,.f17-reco-admin-card p{color:#9da9a3;font-size:13px}
.f17-reco-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}
.f17-reco-admin-card{padding:18px;border:1px solid var(--adm-border,#285b45);border-radius:13px;background:var(--adm-panel,#10271e);margin-bottom:14px}
.f17-reco-admin-card h3{margin:0 0 12px}.f17-reco-admin-check{display:flex;align-items:center;gap:9px}.f17-reco-admin-check input{accent-color:#40d99a;width:17px;height:17px}
.f17-reco-admin-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.f17-reco-admin label:not(.f17-reco-admin-check){display:flex;flex-direction:column;gap:7px;font-size:12px;color:#c5d2ca}
.f17-reco-admin select{min-width:125px;padding:9px;border:1px solid #39785c;border-radius:7px;background:#0b1c15;color:#fff}
.f17-reco-admin-actions{display:flex;align-items:center;gap:14px;margin:18px 0}.f17-reco-admin-actions button{padding:11px 20px;border:0;border-radius:8px;background:#43d99a;color:#062216;font-weight:700;cursor:pointer}
@media(max-width:600px){.f17-reco-admin{padding:12px}.f17-reco-admin header{align-items:flex-start}}

/* FÁBRICA17 — seleção manual de recomendações */
.f17-reco-product-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px;max-height:230px;overflow:auto;padding:10px;margin-top:8px;border:1px solid var(--adm-border,#285b45);border-radius:8px;background:#091a12}
.f17-reco-product-option{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;padding:7px;border-radius:6px;background:rgba(255,255,255,.035);font-size:11px!important}
.f17-reco-product-option input{accent-color:#40d99a;flex:0 0 auto}
.f17-reco-product-option[hidden]{display:none!important}
.f17-reco-product-search{width:100%;margin-top:8px;padding:10px;border:1px solid #39785c;border-radius:7px;background:#0b1c15;color:#fff}
.f17-reco-admin-list-label{display:block;margin-top:14px}
.f17-reco-home{margin:22px 0}
.f17-reco-home[hidden]{display:none}

/* F17: posicionamento independente dos selos para não ficarem sob o favorito */
.product-image{position:relative}
.product-image .product-tag{top:12px;left:12px;z-index:4;max-width:calc(100% - 92px)}
.product-image .custom-badge-tag{top:12px;left:12px;right:auto;z-index:5;max-width:calc(100% - 112px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-image .wishlist-btn{position:absolute;top:12px;right:12px;z-index:8}
.product-image .product-video-tag{z-index:4}


/* F17: menu administrativo compacto e responsivo */
@media (min-width: 1100px){
 .admin-shell-nav{grid-template-columns:repeat(9,minmax(0,1fr)) !important;}
}
@media (min-width: 760px) and (max-width:1099px){
 .admin-shell-nav{grid-template-columns:repeat(6,minmax(0,1fr)) !important;}
}
@media (max-width:759px){
 .admin-shell-nav{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px !important;padding:10px !important;}
 .admin-tab-btn{min-height:48px;padding:7px !important;font-size:10px !important;}
}


/* F17 FIX 2026-11-27 — evitar sobreposição entre Destaque e selo personalizado */
.product-image .custom-badge-tag{
  top:48px !important;
  left:12px !important;
  right:auto !important;
  z-index:5;
  max-width:calc(100% - 24px);
}
@media(max-width:600px){
  .product-image .custom-badge-tag{top:43px !important;left:8px !important;max-width:calc(100% - 16px)}
}

/* F17 FIX — reservar uma faixa inferior para a navegação do carrossel */
.hero-slide{padding-bottom:118px}
.hero-content{position:relative;z-index:4}
.hero-button{position:relative;z-index:4}
.hero-controls{z-index:6;bottom:24px}
@media(max-width:600px){
  .hero-slide{padding-bottom:112px}
  .hero-controls{left:7%;right:7%;bottom:18px;gap:8px;flex-wrap:wrap}
  .hero-count{margin-left:4px}
}


/* FÁBRICA17 — Carrinho multiproduto */
.f17-cart-toggle{position:fixed;right:18px;top:86px;z-index:1100;background:#d4af37;color:#111;border:0;border-radius:30px;padding:11px 16px;font-weight:800;box-shadow:0 5px 22px #0008;cursor:pointer}.f17-cart-toggle span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;background:#111;color:#f4d36c;border-radius:50%;font-size:11px}.f17-cart-backdrop{position:fixed;inset:0;background:#0009;z-index:3000;opacity:0;visibility:hidden;transition:.2s}.f17-cart-backdrop.open{opacity:1;visibility:visible}.f17-cart-panel{position:absolute;right:0;top:0;height:100%;width:min(420px,96vw);background:#101010;border-left:1px solid #3b3320;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s}.f17-cart-backdrop.open .f17-cart-panel{transform:translateX(0)}.f17-cart-head{padding:20px;border-bottom:1px solid #292929;display:flex;justify-content:space-between;align-items:center}.f17-cart-head small{color:#d4af37;letter-spacing:2px}.f17-cart-head h2{margin:4px 0 0;color:#fff}.f17-cart-head button{background:none;border:0;color:#fff;font-size:22px;cursor:pointer}.f17-cart-items{padding:14px 16px;overflow:auto;flex:1}.f17-cart-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #292929}.f17-cart-item>img{width:76px;height:86px;object-fit:cover;background:#222;border-radius:5px}.f17-cart-item-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.f17-cart-item-info strong{color:#f5f5f5;font-size:13px}.f17-cart-item-info small{color:#aaa;font-size:11px}.f17-cart-item-info b{color:#e4c45e;font-size:13px}.f17-cart-actions{display:flex;gap:6px;margin-top:3px}.f17-cart-actions button{background:#222;color:#ddd;border:1px solid #444;border-radius:4px;padding:4px 9px;cursor:pointer}.f17-cart-actions button:last-child{margin-left:auto;color:#e6a2a2}.f17-cart-empty{text-align:center;color:#aaa;padding:55px 15px}.f17-cart-empty strong{display:block;color:#eee;margin:12px 0}.f17-cart-foot{padding:16px;border-top:1px solid #333;background:#0c0c0c}.f17-cart-total{display:flex;justify-content:space-between;color:#ddd;margin-bottom:14px}.f17-cart-total strong{color:#e4c45e;font-size:19px}.f17-cart-foot button{margin-top:7px}.f17-cart-foot button:disabled{opacity:.4;cursor:not-allowed}.f17-checkout-cart-summary{display:grid;gap:8px;padding:14px;background:#101010;border:1px solid #393124;border-radius:5px;color:#ddd}.f17-checkout-cart-summary b{color:#e4c45e}.f17-cart-open{overflow:hidden}@media(max-width:600px){.f17-cart-toggle{top:auto;bottom:84px;right:12px}.f17-cart-panel{width:100vw}}

/* Oculta o atalho do carrinho enquanto o painel administrativo estiver aberto. */
body.admin-open #f17CartToggle{display:none!important}
