@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:      #ffffff;
  --bg2:     #f9fafb;
  --bg3:     #f3f4f6;
  --border:  #e5e7eb;
  --border2: #d1d5db;
  --accent:  #6B5CE7;
  --accent2: #C42BB4;
  --text:    #111827;
  --text2:   #6b7280;
  --text3:   #9ca3af;
  --danger:  #dc2626;
  --success: #16a34a;
  --warning: #d97706;
  --max-w:   1140px;
  --nav-h:   60px;
  --r:       8px;
  --r-lg:    12px;
  --font:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', monospace;
  --sh1:     0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --sh2:     0 4px 16px rgba(0,0,0,.08);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: var(--font); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem); }

h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.muted { color: var(--text2); }
.small { font-size: .85rem; }
.gradient-text { background: linear-gradient(135deg,var(--accent),var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem); height: 100%; display: flex; align-items: center; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--text); flex-shrink: 0; }
.nav-logo em { color: var(--accent2); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem,2vw,1.8rem); margin: 0 auto; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: .875rem; font-weight: 500; transition: color .15s; white-space: nowrap; }
.nav-links a:hover,.nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.nav-social { width: 30px; height: 30px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--text2); text-decoration: none; transition: all .15s; }
.nav-social:hover { border-color: var(--accent); color: var(--accent); }
.nav-sep-v { width: 1px; height: 14px; background: var(--border); }
.nav-lang { font-size: .78rem; font-weight: 600; color: var(--text2); text-decoration: none; padding: 2px 3px; transition: color .15s; }
.nav-lang.active { color: var(--accent); }
.nav-lang:hover { color: var(--text); }
.nav-burger { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: .3rem .5rem; border-radius: var(--r); cursor: pointer; font-size: 1rem; line-height: 1; }
.mobile-menu { display: none; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: .5rem clamp(1rem,4vw,2rem) 1rem; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; box-shadow: var(--sh2); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .7rem 0; color: var(--text2); text-decoration: none; font-size: .9rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }
.cart-icon { position: relative; color: var(--text2); text-decoration: none; font-size: 1rem; padding: .25rem; transition: color .15s; }
.cart-icon:hover { color: var(--accent); }
.cart-badge { position: absolute; top: -4px; right: -4px; background: var(--accent2); color: #fff; border-radius: 50%; width: 15px; height: 15px; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
main { padding-top: var(--nav-h); }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--accent); color: #fff; border: none; padding: .58rem 1.3rem; border-radius: var(--r); font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s; white-space: nowrap; }
.btn-primary:hover { background: #5a4dd6; box-shadow: 0 4px 14px rgba(107,92,231,.3); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: transparent; color: var(--text); border: 1.5px solid var(--border2); padding: .56rem 1.3rem; border-radius: var(--r); font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s; white-space: nowrap; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .38rem .8rem; font-size: .8rem; }
.btn-add { width: 100%; background: var(--bg3); color: var(--accent); border: 1px solid var(--border); padding: .5rem 1rem; border-radius: var(--r); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn-add:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-add:disabled { opacity: .4; cursor: not-allowed; }
.btn-sm.btn-danger-sm { color: var(--danger); border-color: rgba(220,38,38,.25); }
.btn-sm.btn-danger-sm:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.w-full { width: 100%; }
.btn-white { display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--accent); border: none; padding: .58rem 1.3rem; border-radius: var(--r); font-size: .875rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: opacity .2s; }
.btn-white:hover { opacity: .9; }
.btn-ghost { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); padding: .56rem 1.3rem; border-radius: var(--r); font-size: .875rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* WA */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200; background: #25D366; color: #fff; border-radius: 50px; padding: .7rem 1.1rem; display: flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; font-size: .85rem; box-shadow: 0 4px 14px rgba(37,211,102,.4); animation: waF 3s ease-in-out infinite; }
.wa-float:hover { animation: none; box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.wa-float-label { white-space: nowrap; }
@keyframes waF { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* FORMS */
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: .78rem; font-weight: 600; color: var(--text2); margin-bottom: .35rem; }
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],textarea,select { width: 100%; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r); padding: .62rem 1rem; color: var(--text); font-family: var(--font); font-size: .9rem; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; }
input:focus,textarea:focus,select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107,92,231,.1); }
input:disabled { opacity: .5; cursor: not-allowed; background: var(--bg3); }
textarea { min-height: 100px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkbox-group { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .75rem; }
.checkbox-group input[type=checkbox] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.checkbox-group label { font-size: .85rem; color: var(--text2); margin-bottom: 0; font-weight: 400; }
.checkbox-group label a { color: var(--accent); }
.radio-card { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r); cursor: pointer; transition: all .15s; margin-bottom: .5rem; }
.radio-card:hover,.radio-card.selected { border-color: var(--accent); background: rgba(107,92,231,.03); }

/* FLASH */
.flash-msg { border-radius: var(--r); padding: .8rem 1rem; font-size: .875rem; margin-bottom: 1rem; }
.flash-success { background: #d1e7dd; border: 1px solid #a3cfbb; color: #0a3622; }
.flash-error   { background: #f8d7da; border: 1px solid #f1aeb5; color: #58151c; }
.flash-info    { background: #cff4fc; border: 1px solid #9eeaf9; color: #055160; }
.flash-warning { background: #fff3cd; border: 1px solid #ffe69c; color: #664d03; }

/* BADGES */
.badge { display: inline-flex; align-items: center; padding: .18rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 600; }
.badge-success { background: #d1e7dd; color: #0a3622; }
.badge-warning { background: #fff3cd; color: #664d03; }
.badge-danger  { background: #f8d7da; color: #58151c; }
.badge-info    { background: #cff4fc; color: #055160; }

/* TABLES */
.table-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; box-shadow: var(--sh1); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
thead { background: var(--bg3); }
th { padding: .7rem 1rem; text-align: left; font-size: .7rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
td { padding: .8rem 1rem; font-size: .875rem; border-top: 1px solid var(--border); vertical-align: middle; }
tr:hover td { background: rgba(107,92,231,.02); }
.empty-td { text-align: center; color: var(--text3); padding: 3rem !important; }

/* SECTIONS */
.section { padding: clamp(2rem,5vw,3.5rem) clamp(1rem,4vw,2rem); max-width: var(--max-w); margin: 0 auto; }
.loja-section { max-width: var(--max-w); margin: 0 auto; padding: clamp(1.5rem,4vw,2.5rem) clamp(1rem,4vw,2rem); }
.section-title { font-size: clamp(1.2rem,3vw,1.6rem); font-weight: 700; }
.section-sub { color: var(--text2); font-size: .93rem; margin-top: .4rem; margin-bottom: 1.8rem; }
.legal-strip { background: #fff3cd; border: 1px solid #ffe69c; border-radius: var(--r); padding: .8rem 1rem; display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.5rem; font-size: .82rem; color: #664d03; line-height: 1.6; }
.legal-strip a { color: var(--accent); }

/* PRODUCTS */
.filter-bar { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filter-bar input { flex: 1; min-width: 180px; }
.filter-btn { background: var(--bg); border: 1px solid var(--border); color: var(--text2); padding: .48rem .9rem; border-radius: var(--r); font-size: .82rem; cursor: pointer; font-family: var(--font); font-weight: 500; transition: all .15s; text-decoration: none; }
.filter-btn:hover,.filter-btn.active { border-color: var(--accent); color: var(--accent); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 1rem; }
.product-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .2s; box-shadow: var(--sh1); }
.product-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--sh2); }
.product-link { text-decoration: none; color: inherit; display: block; }
.product-img { width: 100%; aspect-ratio: 1; background: var(--bg3); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-badge { position: absolute; top: 8px; right: 8px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; padding: .18rem .5rem; border-radius: 4px; }
.product-info { padding: .9rem; }
.product-name { font-weight: 600; font-size: .88rem; margin-bottom: .2rem; }
.product-desc { color: var(--text2); font-size: .78rem; line-height: 1.5; margin-bottom: .8rem; }
.product-footer { display: flex; align-items: flex-end; justify-content: space-between; }
.product-price { font-family: var(--mono); font-size: 1rem; font-weight: 700; color: var(--accent); }
.price-note { font-size: .68rem; color: var(--text3); }
.product-card-actions { padding: 0 .9rem .9rem; }
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 2.5rem; opacity: .2; margin-bottom: 1rem; }
.empty-state p { color: var(--text2); margin-bottom: 1.5rem; }

/* CATEGORIES */
.cat-hero { background: var(--bg2); border-bottom: 1px solid var(--border); padding: clamp(1.5rem,4vw,2rem) 0; }
.cat-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem,4vw,2rem); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: .75rem; }
.cat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1rem; display: flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; transition: all .2s; box-shadow: var(--sh1); }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh2); }
.cat-card-all { border-style: dashed; }
.cat-card-icon { width: 42px; height: 42px; border-radius: var(--r); border: 1px solid; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.cat-card-info { flex: 1; min-width: 0; }
.cat-card-name { font-weight: 600; font-size: .86rem; margin-bottom: .12rem; }
.cat-card-desc { font-size: .74rem; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-card-count { font-size: .7rem; font-family: var(--mono); font-weight: 600; margin-top: .18rem; }
.cat-card-arrow { font-size: .9rem; color: var(--text3); transition: transform .2s; flex-shrink: 0; }
.cat-card:hover .cat-card-arrow { transform: translateX(3px); color: var(--accent); }

/* PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); max-width: 960px; margin: 0 auto; }
.product-gallery { display: flex; flex-direction: column; gap: .6rem; }
.gallery-main { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-lg); aspect-ratio: 1; overflow: hidden; }
.gallery-thumbs { display: flex; gap: .5rem; }
.gallery-thumb { width: 64px; height: 64px; border: 2px solid var(--border); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: border-color .15s; flex-shrink: 0; }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-specs { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: .9rem; margin-bottom: 1rem; }
.spec-row { display: flex; justify-content: space-between; padding: .38rem 0; font-size: .82rem; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--text2); }
.spec-val { font-family: var(--mono); font-weight: 600; }
.qty-ctrl { display: flex; align-items: center; gap: 6px; }
.qty-btn { background: var(--bg3); border: 1px solid var(--border); color: var(--text); width: 30px; height: 30px; border-radius: var(--r); cursor: pointer; font-size: .95rem; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ORCAMENTO */
.orcamento-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.5rem,4vw,2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; box-shadow: var(--sh1); }
.upload-zone { border: 2px dashed var(--border2); border-radius: var(--r); padding: 2rem 1rem; text-align: center; cursor: pointer; transition: all .2s; background: var(--bg3); }
.upload-zone:hover,.upload-zone.drag { border-color: var(--accent); background: rgba(107,92,231,.03); }
.upload-text { color: var(--text2); font-size: .85rem; }
.upload-text strong { color: var(--accent); }
.file-info { margin-top: .6rem; background: #cff4fc; border: 1px solid #9eeaf9; border-radius: var(--r); padding: .5rem .9rem; color: #055160; font-size: .82rem; }

/* AUTH */
.auth-section { display: flex; align-items: center; justify-content: center; min-height: calc(100svh - var(--nav-h)); padding: 2rem; background: var(--bg2); }
.auth-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); width: 100%; max-width: 420px; padding: 2.5rem; box-shadow: var(--sh2); }
.modal-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.modal-tab { flex: 1; padding: .6rem; text-align: center; font-size: .875rem; font-weight: 600; color: var(--text2); cursor: pointer; border-bottom: 2px solid transparent; transition: all .15s; background: transparent; border-left: none; border-right: none; border-top: none; font-family: var(--font); }
.modal-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.modal-footer { margin-top: 1rem; font-size: .78rem; color: var(--text3); text-align: center; }
.modal-footer a { color: var(--accent); }

/* CART */
.cart-items { margin-bottom: 1rem; }
.cart-item { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .9rem; }
.cart-item-price { color: var(--accent); font-family: var(--mono); font-size: .82rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; border-top: 2px solid var(--border2); }
.cart-total-label { color: var(--text2); font-weight: 600; }
.cart-total-value { font-family: var(--mono); font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.cart-legal { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: .7rem 1rem; font-size: .75rem; color: var(--text3); margin-bottom: 1rem; line-height: 1.6; }

/* CHECKOUT */
.checkout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; max-width: 940px; margin: 0 auto; }
.checkout-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1rem; box-shadow: var(--sh1); }
.checkout-card h3 { font-size: .93rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.step-num { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sticky-summary { position: sticky; top: calc(var(--nav-h) + 1rem); }
.order-summary-item { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.iva-line { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text2); padding: .28rem 0; }
.total-line { display: flex; justify-content: space-between; padding-top: .7rem; border-top: 2px solid var(--border2); font-weight: 700; font-family: var(--mono); }

/* PROFILE */
.profile-header { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; box-shadow: var(--sh1); }
.profile-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.profile-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; overflow-x: auto; }
.ptab { padding: .7rem 1.1rem; font-size: .875rem; font-weight: 600; color: var(--text2); text-decoration: none; border-bottom: 2px solid transparent; transition: all .15s; white-space: nowrap; }
.ptab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(4px); z-index: 500; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); width: 100%; max-width: 420px; padding: 2rem; position: relative; box-shadow: var(--sh2); max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: .9rem; right: .9rem; background: var(--bg3); border: 1px solid var(--border); color: var(--text2); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .82rem; transition: all .15s; }
.modal-close:hover { color: var(--danger); border-color: var(--danger); }

/* RGPD */
.rgpd-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 400; background: var(--bg); border-top: 1px solid var(--border); padding: .9rem clamp(1rem,4vw,2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; box-shadow: 0 -2px 10px rgba(0,0,0,.07); }
.rgpd-text { font-size: .82rem; color: var(--text2); flex: 1; min-width: 200px; }
.rgpd-text a { color: var(--accent); }
.rgpd-btns { display: flex; gap: .5rem; flex-shrink: 0; }

/* FOOTER */
.pp-footer-cta { background: linear-gradient(135deg,#6B5CE7,#C42BB4); padding: clamp(2rem,5vw,3rem) clamp(1rem,4vw,2rem); text-align: center; }
.pp-footer-cta h3 { font-size: clamp(1.2rem,3vw,1.5rem); font-weight: 700; color: #fff; margin-bottom: 5px; }
.pp-footer-cta p { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 1.4rem; }
.pp-footer-cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.pp-footer-mid { background: #1a1a2e; padding: clamp(1.5rem,4vw,2.5rem) clamp(1rem,4vw,2rem); }
.pp-footer-cols { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.pp-footer-col h4 { font-size: .68rem; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.pp-footer-col a { display: block; color: #9ca3af; font-size: .8rem; margin-bottom: .4rem; text-decoration: none; transition: color .15s; }
.pp-footer-col a:hover { color: #c4b5fd; }
.pp-footer-social { display: flex; gap: 6px; margin-top: .75rem; }
.pp-footer-social a { width: 30px; height: 30px; border-radius: var(--r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #9ca3af; text-decoration: none; transition: all .15s; }
.pp-footer-social a:hover { background: rgba(107,92,231,.3); color: #fff; }
.pp-footer-bottom { background: #111120; padding: 10px clamp(1rem,4vw,2rem); text-align: center; }
.pp-footer-bottom p { font-size: .72rem; color: #374151; }

/* LEGAL */
.legal-page { max-width: 760px; margin: 0 auto; }
.legal-page h2 { font-size: clamp(1.3rem,3vw,1.6rem); margin-bottom: .4rem; }
.legal-page h3 { font-size: .93rem; font-weight: 700; color: var(--accent); margin: 1.5rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.legal-page h3:first-of-type { border-top: none; padding-top: 0; }
.legal-page p,.legal-page li { color: var(--text2); font-size: .9rem; line-height: 1.85; margin-bottom: .75rem; }
.legal-page ul { padding-left: 1.4rem; }
.legal-date { font-size: .78rem; color: var(--text3); margin-bottom: 2rem; display: block; }

/* BACKOFFICE */
.bo-layout { display: flex; min-height: 100vh; }
.bo-sidebar { width: 210px; background: #1a1a2e; flex-shrink: 0; display: flex; flex-direction: column; padding: 1rem 0; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; z-index: 50; }
.bo-main { margin-left: 210px; flex: 1; padding: 2rem; min-height: 100vh; background: var(--bg2); }
.bo-nav-item { display: flex; align-items: center; gap: .6rem; padding: .6rem 1.1rem; color: #9ca3af; font-size: .83rem; font-weight: 500; text-decoration: none; transition: all .15s; border-left: 3px solid transparent; }
.bo-nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.bo-nav-item.active { color: #c4b5fd; background: rgba(107,92,231,.18); border-left-color: var(--accent); }
.bo-nav-section { padding: .75rem 1.1rem .25rem; font-size: .63rem; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: .1em; }
.bo-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem; }
.bo-header h2 { font-size: 1.25rem; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: .75rem; margin-bottom: 1.75rem; }
.stat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--sh1); }
.stat-label { font-size: .72rem; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text); font-family: var(--mono); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-social,.nav-lang,.nav-sep-v { display: none; }
  .product-detail { grid-template-columns: 1fr; max-width: 500px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .orcamento-box { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .pp-footer-cols { grid-template-columns: 1fr 1fr; }
  .bo-sidebar { width: 190px; }
  .bo-main { margin-left: 190px; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2,1fr); gap: .6rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .pp-footer-cols { grid-template-columns: 1fr; }
  .wa-float-label { display: none; }
  .wa-float { padding: .8rem; border-radius: 50%; }
  .bo-sidebar { display: none; }
  .bo-main { margin-left: 0; padding: 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
  .btns,.pp-btns { flex-direction: column; }
}

/* ── Extra classes used across pages ────────────────────────── */
.breadcrumb { margin-bottom:1.2rem; }
.breadcrumb a { color:var(--text2); text-decoration:none; font-size:.875rem; }
.breadcrumb a:hover { color:var(--accent); }
.section-tag { font-size:.72rem; font-weight:600; color:var(--accent); background:rgba(107,92,231,.08); padding:.2rem .6rem; border-radius:99px; margin-left:.5rem; }
.direito-box { background:#f0fdf4; border:1px solid #a3cfbb; border-radius:var(--r); padding:.85rem 1rem; font-size:.82rem; color:#0a3622; line-height:1.6; margin-top:.5rem; }
.product-detail-info { display:flex; flex-direction:column; }
.gallery-badge { position:absolute; top:10px; right:10px; background:linear-gradient(135deg,#6B5CE7,#C42BB4); color:#fff; font-size:.72rem; font-weight:700; padding:.2rem .6rem; border-radius:4px; }
.orç-steps { display:flex; flex-direction:column; gap:.75rem; margin-top:1rem; }
.orç-step { display:flex; align-items:flex-start; gap:.75rem; font-size:.875rem; color:var(--text2); }
.orç-step-num { width:24px; height:24px; border-radius:50%; background:var(--accent); color:#fff; font-size:.72rem; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.info-box { background:var(--bg2); border:1px solid var(--border); border-radius:var(--r); padding:1rem; }
.info-box p { font-size:.82rem; color:var(--text2); margin-bottom:.4rem; line-height:1.6; }
.info-box p:last-child { margin-bottom:0; }
.orç-left h3 { font-size:1rem; font-weight:700; margin-bottom:.5rem; }
.orç-left p { font-size:.875rem; color:var(--text2); line-height:1.7; }
.qty-num { font-family:var(--mono); font-weight:600; min-width:24px; text-align:center; }
