:root {
  --red: #da291c;
  --red-dark: #b01e0a;
  --red-hover: #9d2211;
  --black: #181818;
  --black-2: #232323;
  --surface: #303030;
  --white: #ffffff;
  --body: #969696;
  --muted: #666666;
  --line: #303030;
  --light: #f7f7f7;
  --light-2: #ebebeb;
  --success: #03904a;
  --warning: #f13a2c;
  --info: #4c98b9;
  --max: 1280px;
  --header: 72px;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-headings: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font-size: 16px;
  --heading-font-weight: 500;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-font-size);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.light-page { background: var(--light); color: var(--black); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.btn, .main-nav, .mobile-nav { font-family: var(--font-ui); }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.container.narrow { max-width: 820px; }
.muted { color: var(--body); }
.text-dark { color: var(--black); }
.text-red { color: var(--red); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.uppercase { text-transform: uppercase; letter-spacing: .08em; }
.small { font-size: .82rem; }
.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.space-between { justify-content: space-between; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hidden { display: none !important; }

.site-header {
  height: var(--header);
  background: rgba(24, 24, 24, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .15em; font-size: 1.2rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--red); font-weight: 900; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.main-nav a { color: #e7e7e7; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link, .icon-button {
  width: 44px; height: 44px; border: 1px solid #3b3b3b; background: transparent; color: white;
  display: grid; place-items: center; position: relative;
}
.icon-link:hover, .icon-button:hover { border-color: var(--red); color: var(--red); }
.cart-badge { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: var(--red); color: white; font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.mobile-menu-button { display: none; }
.mobile-nav { display: none; padding: 16px 20px 24px; background: var(--black); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: grid; gap: 14px; }

.hero {
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10,10,10,.93) 0%, rgba(10,10,10,.62) 45%, rgba(10,10,10,.12) 100%),
    radial-gradient(circle at 80% 25%, rgba(218,41,28,.36), transparent 30%),
    linear-gradient(135deg, #0d0d0d 0%, #2e2e2e 60%, #151515 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}
.hero-machine {
  position: absolute; right: -4%; bottom: 3%; width: min(62vw, 880px); height: 72%;
  opacity: .96; filter: drop-shadow(0 35px 60px rgba(0,0,0,.58));
}
.hero-content { position: relative; z-index: 2; padding: 96px 0; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: #d9d9d9; }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.1; font-family: var(--font-headings); font-weight: var(--heading-font-weight); }
.hero h1 { margin-top: 20px; font-size: clamp(3rem, 7vw, 6.4rem); max-width: 850px; font-weight: var(--heading-font-weight); letter-spacing: -.045em; }
.hero p { color: #c3c3c3; font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 590px; margin: 24px 0 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  min-height: 48px; padding: 0 28px; border: 1px solid transparent; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 750;
  transition: .18s ease;
}
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-hover); }
.btn-secondary { background: transparent; border-color: rgba(255,255,255,.8); color: white; }
.btn-secondary:hover { background: white; color: var(--black); }
.btn-dark { background: var(--black); color: white; }
.btn-dark:hover { background: #000; }
.btn-light { background: white; color: var(--black); border-color: #d6d6d6; }
.btn-light:hover { border-color: var(--black); }
.btn-danger { background: #8d1812; color: white; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .7rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.section { padding: 88px 0; }
.section-light { background: var(--light); color: var(--black); }
.section-white { background: white; color: var(--black); }
.section-red { background: var(--red); color: white; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.035em; }
.section-header p { max-width: 540px; color: var(--body); margin: 10px 0 0; }
.section-light .section-header p, .section-white .section-header p { color: var(--muted); }

.category-card { min-height: 190px; padding: 28px; background: #242424; border: 1px solid #393939; display: flex; flex-direction: column; justify-content: space-between; transition: .2s ease; }
.category-card:hover { transform: translateY(-4px); border-color: var(--red); background: #292929; }
.category-card .category-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--red); font-size: 1.4rem; }
.category-card h3 { font-size: 1.1rem; margin-top: 26px; }
.category-card span { color: var(--body); font-size: .82rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { background: white; color: var(--black); border: 1px solid #e0e0e0; min-width: 0; display: flex; flex-direction: column; transition: .18s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #bdbdbd; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.product-image-wrap { aspect-ratio: 4 / 3; background: #ededed; overflow: hidden; position: relative; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-badges { position: absolute; left: 12px; top: 12px; display: grid; gap: 7px; }
.badge { display: inline-flex; width: fit-content; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 30px; background: var(--black); color: white; font-size: .63rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.badge-red { background: var(--red); }
.badge-success { background: var(--success); }
.badge-warning { background: #b66a00; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-code { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { font-size: 1.02rem; margin: 8px 0 10px; min-height: 2.25em; }
.product-description { color: var(--muted); font-size: .82rem; margin: 0 0 18px; flex: 1; }
.price-row { display: flex; flex-direction: column; margin-bottom: 15px; }
.old-price { text-decoration: line-through; color: #8b8b8b; font-size: .75rem; }
.price { font-size: 1.35rem; font-weight: 800; }
.product-actions { display: grid; grid-template-columns: 1fr 48px; gap: 8px; }

.benefit-card { border-top: 2px solid var(--red); padding: 28px 0 0; }
.benefit-card h3 { margin: 16px 0 8px; font-size: 1.05rem; }
.benefit-card p { margin: 0; color: var(--body); font-size: .9rem; }
.brand-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; overflow: hidden; }
.brand-list { display: flex; align-items: center; gap: 48px; justify-content: space-around; flex-wrap: wrap; }
.brand-list span { color: #d4d4d4; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

.page-hero { padding: 80px 0 56px; background: var(--black); color: white; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: var(--heading-font-weight); letter-spacing: -.04em; }
.page-hero p { color: var(--body); max-width: 650px; }
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.filter-panel { background: white; padding: 22px; border: 1px solid #ddd; position: sticky; top: calc(var(--header) + 20px); align-self: start; }
.filter-panel h3 { font-size: 1rem; margin-bottom: 18px; }
.form-group { display: grid; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: #4b4b4b; }
.input, select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cfcfcf; border-radius: 4px; background: white; color: var(--black); outline: none;
}
textarea { min-height: 120px; resize: vertical; }
.input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,41,28,.1); }
.search-bar { display: flex; gap: 8px; }
.catalog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.catalog-top p { margin: 0; color: var(--muted); }
.catalog-top select { width: 220px; }
.empty-state { padding: 70px 30px; text-align: center; background: white; border: 1px solid #ddd; }

.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.product-gallery { background: #e9e9e9; border: 1px solid #d5d5d5; }
.product-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3.7rem); font-weight: var(--heading-font-weight); letter-spacing: -.04em; margin: 12px 0 18px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .82rem; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 14px 0; }
.product-price-box { margin: 24px 0; }
.product-price-box .price { font-size: 2rem; }
.stock-line { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.stock-dot.out { background: var(--warning); }
.buy-box { border: 1px solid #d2d2d2; background: white; padding: 20px; margin: 22px 0; }
.quantity-control { display: grid; grid-template-columns: 50px 70px 50px; width: fit-content; border: 1px solid #cfcfcf; }
.quantity-control button { background: white; border: 0; font-size: 1.2rem; }
.quantity-control input { border: 0; text-align: center; width: 100%; min-height: 46px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.spec-table th, .spec-table td { padding: 12px; border-bottom: 1px solid #ddd; text-align: left; font-size: .85rem; }
.spec-table th { width: 36%; color: var(--muted); font-weight: 600; }
.notice { padding: 15px 17px; background: #fff5e1; border-left: 3px solid #d78a00; color: #583800; font-size: .86rem; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-item { background: white; color: var(--black); border: 1px solid #ddd; padding: 16px; display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; }
.cart-item img { width: 110px; height: 88px; object-fit: cover; background: #eee; }
.cart-item h3 { font-size: 1rem; margin: 0 0 6px; }
.cart-item .code { color: var(--muted); font-size: .72rem; }
.cart-item-price { text-align: right; }
.summary-card { background: white; color: var(--black); border: 1px solid #ddd; padding: 24px; position: sticky; top: calc(var(--header) + 20px); }
.summary-card h2 { font-size: 1.35rem; margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: #545454; }
.summary-total { border-top: 1px solid #ccc; margin-top: 10px; padding-top: 16px; font-size: 1.2rem; font-weight: 800; color: var(--black); }
.shipping-list { display: grid; gap: 9px; margin: 12px 0; }
.shipping-option { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px solid #ddd; padding: 12px; cursor: pointer; }
.shipping-option:has(input:checked) { border-color: var(--red); background: #fff8f7; }
.shipping-option small { color: var(--muted); display: block; }

.auth-shell { min-height: calc(100vh - var(--header)); display: grid; grid-template-columns: 1fr 1fr; background: var(--light); color: var(--black); }
.auth-art { background: radial-gradient(circle at 20% 20%, rgba(218,41,28,.55), transparent 35%), linear-gradient(135deg, #101010, #353535); padding: 70px; color: white; display: flex; flex-direction: column; justify-content: end; }
.auth-art h1 { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: var(--heading-font-weight); letter-spacing: -.04em; }
.auth-form { display: grid; place-items: center; padding: 60px 30px; }
.auth-card { width: min(480px, 100%); background: white; border: 1px solid #ddd; padding: 36px; }
.auth-card h2 { font-size: 2rem; margin-bottom: 8px; }
.alert { padding: 13px 15px; margin: 14px 0; border: 1px solid; font-size: .86rem; }
.alert-error { background: #fff0ef; border-color: #e6aaa5; color: #7b1b15; }
.alert-success { background: #ebfff4; border-color: #9cd3b5; color: #075c31; }
.alert-info { background: #eef8fc; border-color: #a7cfdf; color: #24566a; }

.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.account-sidebar { background: white; border: 1px solid #ddd; padding: 22px; height: fit-content; }
.account-content { display: grid; gap: 20px; }
.card { background: white; color: var(--black); border: 1px solid #ddd; padding: 24px; }
.card-dark { background: var(--surface); color: white; border: 1px solid #444; padding: 24px; }
.order-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid #ddd; }
.order-card:last-child { border-bottom: 0; }
.status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 30px; font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; background: #e3e3e3; color: #333; }
.status-paid, .status-delivered { background: #d9f5e5; color: #07663a; }
.status-pending, .status-awaiting_freight { background: #fff0cf; color: #704b00; }
.status-processing, .status-shipped, .status-ready_pickup { background: #dceffa; color: #17516e; }
.status-cancelled { background: #f8dedd; color: #821c18; }
.pix-box { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; }
.pix-box img { width: 240px; height: 240px; border: 1px solid #ddd; padding: 10px; }
.code-box { word-break: break-all; background: #f2f2f2; border: 1px solid #ddd; padding: 12px; font-family: monospace; font-size: .78rem; }
.timeline { border-left: 2px solid #ddd; padding-left: 24px; display: grid; gap: 18px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--red); left: -30px; top: 5px; }

.admin-body { background: #ececec; color: var(--black); }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { background: var(--black); color: white; padding: 26px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar .brand { padding: 0 10px 28px; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { padding: 12px 13px; color: #bbb; font-size: .85rem; display: flex; align-items: center; gap: 10px; border-left: 3px solid transparent; }
.admin-nav a:hover, .admin-nav a.active { color: white; background: #242424; border-left-color: var(--red); }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 70px; background: white; border-bottom: 1px solid #d2d2d2; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; position: sticky; top: 0; z-index: 20; }
.admin-content { padding: 30px; }
.admin-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.admin-title h1 { font-size: 2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border: 1px solid #d5d5d5; padding: 20px; border-top: 3px solid var(--red); }
.stat-card span { color: #777; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-card strong { font-size: 1.65rem; display: block; margin-top: 8px; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid #d5d5d5; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 14px; border-bottom: 1px solid #e3e3e3; text-align: left; font-size: .8rem; vertical-align: middle; }
.table th { background: #f5f5f5; text-transform: uppercase; letter-spacing: .06em; color: #575757; font-size: .68rem; }
.table tr:hover td { background: #fafafa; }
.thumb { width: 56px; height: 44px; object-fit: cover; background: #eee; }
.admin-card { background: white; border: 1px solid #d5d5d5; padding: 24px; }
.admin-card h2 { font-size: 1.15rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check-row { display: flex; flex-wrap: wrap; gap: 18px; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--red); }
.form-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid #ddd; padding: 16px; display: flex; justify-content: flex-end; gap: 10px; margin: 26px -24px -24px; }
.upload-zone { border: 2px dashed #bbb; background: #fafafa; padding: 36px; text-align: center; }
.image-preview { max-width: 320px; max-height: 240px; object-fit: contain; background: #eee; border: 1px solid #ddd; }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.site-footer { background: #121212; color: var(--body); border-top: 1px solid #2b2b2b; padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.footer-grid h3 { color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px; }
.footer-grid a { display: block; margin: 9px 0; font-size: .84rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { border-top: 1px solid #2b2b2b; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: .76rem; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; background: #111; color: white; border-left: 4px solid var(--red); padding: 15px 18px; min-width: 280px; box-shadow: 0 12px 35px rgba(0,0,0,.3); transform: translateY(120px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-machine { opacity: .55; right: -18%; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 330px; }
}

@media (max-width: 820px) {
  :root { --header: 64px; }
  .container { width: min(100% - 28px, var(--max)); }
  .main-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .header-actions .account-link { display: none; }
  .hero { min-height: 700px; }
  .hero-machine { width: 100%; right: -26%; bottom: 8%; opacity: .36; }
  .hero-content { padding: 72px 0; }
  .hero h1 { font-size: clamp(3rem, 13vw, 5.6rem); }
  .section { padding: 64px 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout, .product-detail, .cart-layout, .checkout-layout, .account-grid { grid-template-columns: 1fr; }
  .filter-panel, .summary-card { position: static; }
  .filter-panel { display: none; }
  .filter-panel.open { display: block; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; padding: 40px 24px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-nav { grid-template-columns: repeat(3, 1fr); }
  .admin-sidebar .brand { justify-content: center; }
  .admin-topbar { position: static; }
  .form-grid, .admin-split { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pix-box { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-grid, .grid-2, .grid-3, .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .header-actions { gap: 5px; }
  .icon-link, .icon-button { width: 40px; height: 40px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: 620px; }
  .hero-machine { display: none; }
  .section-header { align-items: start; flex-direction: column; }
  .product-grid { gap: 14px; }
  .cart-item { grid-template-columns: 74px 1fr; }
  .cart-item img { width: 74px; height: 66px; }
  .cart-item-price { grid-column: 1 / -1; text-align: left; }
  .auth-card { padding: 24px; }
  .admin-content { padding: 20px 14px; }
  .admin-topbar { padding: 0 14px; }
  .admin-nav { grid-template-columns: repeat(2, 1fr); }
  .table th, .table td { padding: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Atualização visual baseada na identidade institucional da ALLIKON */
.brand-logo { min-width: 190px; }
.brand-logo img { width: 190px; height: 44px; object-fit: contain; object-position: left center; }
.footer-logo img { width: 210px; height: 52px; }
.hero-official {
  min-height: min(790px, calc(100vh - var(--header)));
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.76) 38%, rgba(8,8,8,.25) 70%, rgba(8,8,8,.15) 100%),
    var(--hero-url);
  background-size: cover;
  background-position: center;
}
.hero-official::before {
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.58));
  mask-image: none;
}
.hero-official .hero-content { padding-bottom: 86px; }
.hero-official h1 { max-width: 670px; font-size: clamp(3rem, 6.5vw, 6rem); }
.hero-official p { max-width: 540px; font-weight: 500; }
.product-image-wrap { background: linear-gradient(180deg, #f7f7f7, #e9e9e9); }
.product-image-wrap img { object-fit: contain; padding: 12px; }
.product-gallery { background: linear-gradient(180deg, #fafafa, #e9e9e9); min-height: 520px; display: grid; place-items: center; }
.product-gallery img { object-fit: contain; padding: 24px; max-height: 620px; }
.product-actions.single-action { grid-template-columns: 1fr; }
.consult-price { font-size: 1rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.consult-price-large { font-size: 1.65rem; }
.preserve-lines { white-space: pre-line; }
.institutional-grid, .about-layout, .newsletter-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.institutional-grid h2, .about-layout h2, .newsletter-grid h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: var(--heading-font-weight); letter-spacing: -.04em; margin: 18px 0 22px; }
.institutional-grid p, .about-copy, .newsletter-grid p { color: var(--body); font-size: 1.02rem; line-height: 1.75; margin-bottom: 28px; }
.institutional-panel { border: 1px solid #444; background: #222; }
.institutional-panel > div { padding: 25px 28px; border-bottom: 1px solid #444; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.institutional-panel > div:last-child { border-bottom: 0; }
.institutional-panel strong { color: var(--red); font-size: 1.55rem; font-weight: 800; }
.institutional-panel span { color: #bfbfbf; text-align: right; }
.light-panel { background: white; border-color: #ddd; }
.light-panel > div { border-color: #ddd; }
.light-panel span { color: #666; }
.benefit-light { color: var(--black); }
.benefit-light p { color: var(--muted); }
.newsletter-section { background: #242424; }
.newsletter-form { background: #303030; padding: 30px; border: 1px solid #434343; }
.newsletter-form label { color: #ddd; }
.newsletter-form .input { background: #181818; color: white; border-color: #4b4b4b; }
.contact-line { color: white !important; }
.about-hero { background: linear-gradient(120deg, rgba(0,0,0,.92), rgba(218,41,28,.35)), var(--hero-url); }
.value-card { border-top: 3px solid var(--red); background: #242424; padding: 32px; }
.value-card > span { color: var(--red); font-weight: 800; letter-spacing: .12em; }
.value-card h2 { margin: 20px 0 15px; font-size: 1.8rem; }
.value-card p { color: var(--body); line-height: 1.7; }
.product-content-grid .card { min-height: 100%; }

@media (max-width: 1000px) {
  .brand-logo { min-width: 150px; }
  .brand-logo img { width: 150px; }
  .institutional-grid, .about-layout, .newsletter-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 820px) {
  .brand-logo { min-width: 135px; }
  .brand-logo img { width: 135px; height: 38px; }
  .hero-official { min-height: 660px; background-position: 62% center; }
  .hero-official .hero-content { padding: 70px 0; }
  .hero-official h1 { font-size: clamp(2.7rem, 13vw, 4.8rem); }
  .institutional-panel > div { align-items: flex-start; flex-direction: column; }
  .institutional-panel span { text-align: left; }
  .product-gallery { min-height: 340px; }
}
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: white; }

/* Editor visual do site */
.admin-logo { width: 175px; max-height: 48px; object-fit: contain; object-position: left center; }
.editor-title { align-items: center; }
.editor-title p { margin: 8px 0 0; }
.site-editor-layout { display: grid; grid-template-columns: minmax(560px, 1fr) minmax(380px, .8fr); gap: 24px; align-items: start; }
.site-editor-form { display: grid; gap: 14px; min-width: 0; }
.editor-panel { background: white; border: 1px solid #d5d5d5; }
.editor-panel > summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-left: 4px solid transparent; }
.editor-panel > summary::-webkit-details-marker { display: none; }
.editor-panel[open] > summary { border-left-color: var(--red); border-bottom: 1px solid #e1e1e1; }
.editor-panel > summary > span:first-child { display: grid; gap: 3px; }
.editor-panel > summary strong { font-size: 1rem; }
.editor-panel > summary small { color: #777; font-size: .76rem; font-weight: 400; }
.editor-panel > summary > span:last-child { font-size: 1.2rem; transition: transform .2s ease; }
.editor-panel[open] > summary > span:last-child { transform: rotate(180deg); }
.editor-panel-body { padding: 22px; }
.editor-panel textarea { min-height: 92px; resize: vertical; }
.editor-section-toggle { margin-bottom: 20px; padding: 12px 14px; background: #f5f5f5; border: 1px solid #ddd; font-weight: 700; }
.asset-preview { border: 1px solid #d5d5d5; background: #efefef; min-height: 90px; display: grid; place-items: center; overflow: hidden; }
.asset-preview img { width: 100%; height: 100%; object-fit: contain; }
.asset-preview-logo { height: 110px; padding: 20px; background: #222; }
.asset-preview-icon { width: 110px; height: 110px; padding: 18px; }
.asset-preview-hero { min-height: 220px; max-height: 320px; margin-bottom: 20px; background: #202020; }
.asset-preview-hero img { object-fit: cover; }
.file-input { padding: 9px; background: #fafafa; }
.color-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.color-field { display: grid; gap: 7px; }
.color-field > span { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: #4b4b4b; }
.color-field > div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.color-field input[type="color"] { width: 52px; height: 48px; padding: 3px; border: 1px solid #cfcfcf; background: white; }
.editor-menu-grid { display: grid; gap: 10px; }
.menu-edit-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.switch-label { min-width: 92px; min-height: 48px; padding: 0 12px; border: 1px solid #d0d0d0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: .8rem; font-weight: 700; }
.switch-label input { accent-color: var(--red); width: 18px; height: 18px; }
.editor-subsection { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid #e2e2e2; }
.editor-subsection:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.stat-editor-grid, .benefit-editor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.stat-editor, .benefit-editor { display: grid; gap: 8px; padding: 16px; background: #f5f5f5; border-top: 3px solid var(--red); }
.stat-editor label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: #666; }
.benefit-editor strong { margin-bottom: 3px; }
.editor-save-bar { position: sticky; bottom: 0; z-index: 10; padding: 14px 16px; background: rgba(255,255,255,.97); border: 1px solid #d5d5d5; box-shadow: 0 -8px 24px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.editor-save-bar span { color: #666; font-size: .8rem; }
.site-preview-panel { position: sticky; top: 94px; background: white; border: 1px solid #d5d5d5; padding: 14px; min-width: 0; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.site-preview-panel iframe { width: 100%; height: calc(100vh - 185px); min-height: 620px; border: 1px solid #cfcfcf; background: white; }
.site-preview-panel > p { margin: 10px 0 0; }

@media (max-width: 1280px) {
  .site-editor-layout { grid-template-columns: 1fr; }
  .site-preview-panel { position: static; }
  .site-preview-panel iframe { height: 720px; }
}
@media (max-width: 820px) {
  .stat-editor-grid, .benefit-editor-grid, .color-grid { grid-template-columns: 1fr; }
  .editor-title { align-items: flex-start; flex-direction: column; }
  .site-preview-panel iframe { min-height: 560px; height: 70vh; }
}
@media (max-width: 560px) {
  .editor-panel-body { padding: 16px; }
  .menu-edit-row { grid-template-columns: 1fr; }
  .switch-label { justify-self: start; }
  .editor-save-bar { flex-direction: column; align-items: stretch; }
}


/* Tipografia e edição direta na prévia — versão 2.2 */
.admin-body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; }
.font-settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.font-choice { display: grid; gap: 8px; padding: 15px; background: #f6f6f6; border: 1px solid #dedede; }
.font-choice label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: #555; }
.font-choice select { min-height: 48px; }
.font-preview-line { min-height: 58px; display: flex; align-items: center; padding: 10px 12px; background: white; border: 1px solid #ddd; font-size: 1.25rem; overflow: hidden; }
.font-upload-box { margin-top: 18px; padding: 18px; border: 1px dashed #aaa; background: #fafafa; }
.font-upload-box h3 { margin-bottom: 7px; }
.font-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.font-library-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid #ddd; background: white; }
.font-library-card strong { display: block; margin-bottom: 3px; }
.font-library-card .font-sample { font-size: 1.1rem; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font-library-card form { margin: 0; }
.typography-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.editor-field-active { outline: 3px solid rgba(218,41,28,.24); outline-offset: 3px; animation: editorFieldPulse .8s ease; }
@keyframes editorFieldPulse { 0% { outline-color: rgba(218,41,28,.8); } 100% { outline-color: rgba(218,41,28,.24); } }
.preview-selection-status { margin: 0 0 12px; padding: 10px 12px; background: #f5f5f5; border-left: 3px solid var(--red); color: #555; font-size: .78rem; }
.preview-toolbar-left { display: grid; gap: 3px; }
.preview-toolbar-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.preview-toolbar select { min-height: 38px; padding: 0 9px; border: 1px solid #ccc; background: white; }

.editor-preview { cursor: default; }
.editor-preview-notice { position: fixed; right: 12px; bottom: 12px; z-index: 1000; background: #181818; color: white; border-left: 4px solid var(--red); padding: 10px 14px; font: 700 12px/1.3 var(--font-ui); letter-spacing: .03em; box-shadow: 0 8px 28px rgba(0,0,0,.3); pointer-events: none; }
.editor-preview [data-editor-key] { position: relative; cursor: pointer !important; outline: 1px dashed rgba(218,41,28,.56); outline-offset: 4px; transition: outline-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.editor-preview [data-editor-key]:hover { outline: 3px solid var(--red); background-color: rgba(218,41,28,.12); box-shadow: 0 0 0 6px rgba(218,41,28,.08); }
.editor-preview [data-editor-key]::after { content: "Editar"; position: absolute; left: 0; top: calc(100% + 7px); z-index: 999; display: none; padding: 4px 7px; background: var(--red); color: white; font: 700 10px/1 var(--font-ui); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; pointer-events: none; }
.editor-preview [data-editor-key]:hover::after { display: block; }
.editor-preview .editor-preview-selected { outline: 4px solid var(--red) !important; background-color: rgba(218,41,28,.16) !important; box-shadow: 0 0 0 7px rgba(218,41,28,.12) !important; }
.editor-preview a, .editor-preview button, .editor-preview input, .editor-preview select, .editor-preview textarea { cursor: pointer; }

@media (max-width: 820px) {
  .font-settings-grid, .font-library, .typography-controls { grid-template-columns: 1fr; }
}

/* Catálogo separado: pulverizadores e peças */
.catalog-sector-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.catalog-sector-card { display: flex; flex-direction: column; gap: 5px; padding: 18px; border: 1px solid #d7d7d7; background: #fff; color: #181818; transition: .18s ease; }
.catalog-sector-card strong { font: 700 .9rem/1.2 var(--font-ui); text-transform: uppercase; letter-spacing: .04em; }
.catalog-sector-card span { color: #666; font-size: .8rem; }
.catalog-sector-card:hover, .catalog-sector-card.active { border-color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.catalog-crosslink { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; margin-bottom: 20px; background: #ededed; border-left: 4px solid var(--red); }
.catalog-crosslink div { display: grid; gap: 3px; }
.catalog-crosslink span { color: #666; font-size: .88rem; }
.catalog-home-grid .category-card p { margin: 8px 0 16px; color: var(--body); font-size: .86rem; }
.admin-catalog-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid #ddd; }
.admin-catalog-tabs a { padding: 11px 16px; color: #555; font: 700 .78rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid transparent; }
.admin-catalog-tabs a.active { color: #181818; border-color: var(--red); }
.admin-product-filter { display: grid; grid-template-columns: minmax(220px, 1fr) 180px 210px auto; gap: 10px; align-items: end; }
.catalog-type-badge { display: inline-flex; padding: 4px 8px; font: 700 .68rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .04em; }
.catalog-type-badge.sprayer { background: #181818; color: #fff; }
.catalog-type-badge.part { background: #e8e8e8; color: #181818; }
.catalog-classification-box { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px; margin-bottom: 24px; background: #f2f2f2; border-left: 4px solid var(--red); }
.catalog-classification-box .form-group { margin: 0; }
[data-sprayer-sector][hidden] { display: none !important; }
.font-selected-files { display: grid; gap: 6px; margin-top: 10px; }
.font-selected-files span { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; background: #eee; font-size: .8rem; }
.font-selected-files:empty { display: none; }

@media (max-width: 1000px) {
  .catalog-sector-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-product-filter { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .catalog-sector-nav, .catalog-classification-box, .admin-product-filter { grid-template-columns: 1fr; }
  .catalog-crosslink { align-items: stretch; flex-direction: column; }
}

/* Peças — filtro Circuito de pulverização e listagem compacta */
.parts-category-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.parts-category-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 14px; border: 1px solid #cfcfcf; background: #fff; color: #181818; font: 700 .76rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .04em; }
.parts-category-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 25px; height: 22px; padding: 0 7px; background: #ececec; font-size: .7rem; }
.parts-category-chip:hover, .parts-category-chip.active { border-color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.parts-category-chip.active span { background: var(--red); color: #fff; }
.parts-compact-list { overflow: hidden; border: 1px solid #d5d5d5; background: #fff; }
.parts-compact-row { display: grid; grid-template-columns: 160px minmax(260px, 1fr) 150px; gap: 18px; align-items: center; min-height: 58px; padding: 12px 16px; border-bottom: 1px solid #e6e6e6; color: #181818; }
.parts-compact-row:last-child { border-bottom: 0; }
.parts-compact-row:not(.parts-compact-head):hover { background: #f7f7f7; box-shadow: inset 4px 0 0 var(--red); }
.parts-compact-head { min-height: 46px; background: #181818; color: #fff; font: 700 .72rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .06em; }
.parts-compact-code { color: #666; font: 700 .76rem/1.2 var(--font-ui); letter-spacing: .03em; }
.parts-compact-price { justify-self: end; color: var(--red); font: 800 1rem/1 var(--font-ui); white-space: nowrap; }

@media (max-width: 700px) {
  .parts-compact-row { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .parts-compact-row strong { grid-column: 1 / -1; grid-row: 1; }
  .parts-compact-code { grid-column: 1; grid-row: 2; }
  .parts-compact-price { grid-column: 2; grid-row: 2; }
  .parts-compact-head { display: none; }
}

/* Checkout sequencial em quatro etapas — versão 2.6 */
.checkout-page-body { background: #f5f6f7; }
.checkout-page { min-height: calc(100vh - var(--header)); padding: 34px 0 70px; color: #143b1e; }
.checkout-page-container { max-width: 1480px; }
.checkout-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.checkout-heading h1 { color: var(--black); font-size: clamp(2rem, 4vw, 3.2rem); margin: 10px 0 8px; }
.checkout-heading p { color: #5f6861; margin: 0; }
.checkout-login-link { color: var(--red); font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.checkout-experience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 390px); gap: 30px; align-items: start; }
.checkout-form-columns { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; min-width: 0; }

.checkout-step { background: white; border: 1px solid #dfe3e0; border-radius: 5px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.checkout-step.active { border-color: var(--success); box-shadow: 0 0 0 1px rgba(3,144,74,.08); }
.checkout-step.completed .checkout-step-number { background: var(--success); }
.checkout-step-header { width: 100%; border: 0; background: white; color: #073d18; display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; align-items: start; text-align: left; padding: 14px 14px 13px; }
.checkout-step-header:hover { background: #fbfcfb; }
.checkout-step-number { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #9b9b9b; color: white; font-size: .78rem; font-weight: 800; margin-top: 1px; }
.checkout-step-header strong { display: block; font-size: 1.32rem; color: #003c13; line-height: 1.15; }
.checkout-step-header small { display: block; margin-top: 5px; color: #2e6038; font-size: .85rem; line-height: 1.45; font-weight: 400; }
.checkout-step-status { color: var(--success); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding-top: 5px; }
.checkout-step-content { padding: 8px 20px 22px; border-top: 1px solid #edf0ee; }
.checkout-form-group { display: grid; gap: 6px; margin-bottom: 14px; }
.checkout-form-group > label { color: #145524; font-size: .8rem; font-weight: 500; }
.checkout-form-group .input, .checkout-form-group select, .checkout-form-group textarea { min-height: 42px; border-color: #d3d6d4; border-radius: 8px; color: #183d22; padding: 9px 12px; }
.checkout-form-group textarea { min-height: 92px; }
.checkout-form-group .input:focus, .checkout-form-group select:focus, .checkout-form-group textarea:focus { border-color: var(--success); box-shadow: 0 0 0 3px rgba(3,144,74,.10); }
.checkout-optional { color: #7d857f; font-weight: 400; }
.checkout-person-toggle-row { display: flex; justify-content: flex-end; margin: -4px 0 4px; }
.checkout-link-button { border: 0; background: transparent; color: #007b31; padding: 4px 0; font-size: .82rem; }
.checkout-link-button:hover { text-decoration: underline; }
.checkout-date-grid { display: grid; grid-template-columns: .9fr .95fr .9fr; gap: 16px; }
.checkout-password-field { display: grid; grid-template-columns: 1fr 42px; }
.checkout-password-field .input { border-radius: 8px 0 0 8px; }
.checkout-password-field button { border: 1px solid #d3d6d4; border-left: 0; border-radius: 0 8px 8px 0; background: #f4f4f4; color: #657068; }
.checkout-checkbox { display: flex; gap: 8px; align-items: flex-start; color: #1d512b; font-size: .78rem; line-height: 1.45; margin: 4px 0 16px; }
.checkout-checkbox input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--success); flex: 0 0 auto; }
.checkout-main-action { border-radius: 7px; min-height: 43px; }
.checkout-inline-message { min-height: 0; font-size: .78rem; margin-top: 8px; }
.checkout-inline-message.success { color: #087440; }
.checkout-inline-message.error { color: #a3251b; }
.checkout-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.checkout-span-2 { grid-column: 1 / -1; }
.checkout-inline-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.checkout-inline-input .btn { min-height: 42px; padding: 0 15px; font-size: .68rem; border-radius: 7px; }
.checkout-shipping-list { margin: 12px 0 16px; display: grid; gap: 10px; }
.checkout-shipping-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #52665a; font-size: .84rem; }
.checkout-shipping-intro p { margin: 0; }
.checkout-empty-step { padding: 16px; border: 1px dashed #cfd7d1; border-radius: 7px; background: #f8faf8; color: #607066; font-size: .82rem; }
.checkout-loading { padding: 14px; background: #f5f7f5; color: #46604d; font-size: .82rem; }
.checkout-payment-options { display: grid; gap: 9px; margin-bottom: 16px; }
.checkout-payment-card { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border: 1px solid #d8ded9; border-radius: 7px; padding: 12px; cursor: pointer; }
.checkout-payment-card:has(input:checked) { border-color: var(--success); background: #f1fbf5; box-shadow: inset 3px 0 0 var(--success); }
.checkout-payment-card input { margin-top: 4px; accent-color: var(--success); }
.checkout-payment-card strong { display: block; color: #0e4b22; }
.checkout-payment-card small { display: block; color: #627067; margin-top: 2px; line-height: 1.4; }
.checkout-card-fields { margin: 12px 0 16px; }
.checkout-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-secure-note { color: #647069; font-size: .72rem; text-align: center; margin: 12px 0 0; }
.checkout-summary-card { background: white; border: 1px solid #dfe3e0; border-radius: 5px; padding: 16px 12px 14px; position: sticky; top: calc(var(--header) + 20px); color: #0c4a1f; }
.checkout-summary-card h2 { font-size: 1.34rem; color: #003b13; margin: 0 0 20px; }
.checkout-summary-toggle { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 2px; color: #164f25; text-align: left; padding: 0 0 9px; }
.checkout-summary-toggle > strong { text-align: right; font-size: .98rem; }
.checkout-summary-toggle > small { font-size: .74rem; color: #487653; }
.checkout-summary-toggle > span:last-child { grid-row: 2; grid-column: 2; text-align: right; }
.checkout-summary-items { border-top: 1px solid #edf0ee; border-bottom: 1px solid #edf0ee; padding: 8px 0; margin-bottom: 8px; }
.checkout-summary-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 8px 0; font-size: .76rem; }
.checkout-summary-item > span > strong { display: block; color: #153d20; font-size: .78rem; }
.checkout-summary-item small { display: block; color: #778078; margin-top: 2px; }
.checkout-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .98rem; }
.checkout-summary-row strong { font-weight: 500; text-align: right; }
.checkout-discount-row strong { color: #00a867; }
.checkout-summary-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #d4d8d5; border-radius: 5px; background: #f7f7f7; padding: 10px; margin-top: 7px; font-size: 1.05rem; }
.checkout-summary-total strong { color: #00a867; font-size: 1.08rem; }
.checkout-summary-help { color: #6d776f; font-size: .72rem; line-height: 1.45; margin: 12px 2px 0; }
.checkout-page .shipping-option { border-radius: 7px; color: #2e4c35; }
.checkout-page .shipping-option:has(input:checked) { border-color: var(--success); background: #f1fbf5; }
.checkout-page .shipping-option input { accent-color: var(--success); }

@media (max-width: 1180px) {
  .checkout-experience { grid-template-columns: 1fr 340px; }
}
@media (max-width: 860px) {
  .checkout-page { padding-top: 24px; }
  .checkout-heading { align-items: flex-start; flex-direction: column; }
  .checkout-experience { grid-template-columns: 1fr; }
  .checkout-summary-card { position: static; order: -1; }
  .checkout-form-columns { gap: 18px; }
}
@media (max-width: 520px) {
  .checkout-page .container { width: min(100% - 18px, var(--max)); }
  .checkout-step-header { grid-template-columns: 25px 1fr; }
  .checkout-step-status { grid-column: 2; padding: 0; }
  .checkout-date-grid, .checkout-address-grid, .checkout-card-grid { grid-template-columns: 1fr; }
  .checkout-span-2 { grid-column: auto; }
  .checkout-inline-input { grid-template-columns: 1fr; }
}

/* Cadastro de cliente v2.5 */
.register-page-container { max-width: 1180px; }
.register-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 30px; align-items: start; }
.register-form-card { overflow: visible; }
.register-static-header { cursor: default; border-bottom: 1px solid #edf0ee; }
.register-static-header:hover { background: white; }
.register-form-content { padding: 22px 22px 26px; }
.register-benefits-card { position: sticky; top: calc(var(--header) + 20px); background: #fff; border: 1px solid #dfe3e0; border-radius: 5px; padding: 28px; color: #163f22; }
.register-benefits-card h2 { color: #073d18; font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 10px 0 24px; }
.register-benefit { display: grid; gap: 5px; padding: 16px 0; border-top: 1px solid #edf0ee; }
.register-benefit strong { color: #075220; }
.register-benefit span { color: #657069; font-size: .88rem; line-height: 1.55; }
@media (max-width: 860px) {
  .register-layout { grid-template-columns: 1fr; }
  .register-benefits-card { position: static; }
}

/* MONTE SEU PULVERIZADOR — versão 3.1 */
.nav-builder-link { position: relative; color: var(--white) !important; border: 1px solid color-mix(in srgb, var(--red) 75%, white 10%); padding: 10px 13px !important; background: linear-gradient(135deg, color-mix(in srgb, var(--red) 22%, transparent), transparent); }
.nav-builder-link > span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 20%, transparent); display: inline-block; margin-right: 8px; animation: builderPulse 1.8s infinite; }
.nav-builder-link:hover, .nav-builder-link.active { background: var(--red); border-color: var(--red); }
@keyframes builderPulse { 50% { box-shadow: 0 0 0 9px transparent; } }

.builder-home-section { background: var(--black); padding: 30px 0; }
.builder-home-card { min-height: 220px; display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; gap: 42px; align-items: center; position: relative; overflow: hidden; border: 1px solid #3b3b3b; padding: 34px 40px; background: radial-gradient(circle at 15% 50%, rgba(218,41,28,.26), transparent 35%), linear-gradient(115deg, #222 0%, #151515 70%); }
.builder-home-card::after { content: "FULL CUSTOM"; position: absolute; right: 20px; bottom: -25px; font: 800 5.2rem/1 var(--font-headings); color: rgba(255,255,255,.035); letter-spacing: -.04em; pointer-events: none; }
.builder-home-card h2 { font-size: clamp(1.8rem, 3.4vw, 3.4rem); margin: 8px 0 12px; max-width: 760px; }
.builder-home-card p { color: #bdbdbd; max-width: 720px; margin: 0; }
.builder-home-button { position: relative; z-index: 2; white-space: nowrap; }
.builder-home-visual { height: 170px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(184,115,51,.28); background: #111; box-shadow: inset 0 0 32px rgba(0,0,0,.42); }
.builder-home-sprayer-art { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: saturate(.88) contrast(1.04); }

.configurator-page-body { background: #0f0f10; }
.configurator-hero { padding: 52px 0 30px; background: radial-gradient(circle at 80% 10%, rgba(218,41,28,.23), transparent 32%), #111; border-bottom: 1px solid #2d2d2d; }
.configurator-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.configurator-hero h1 { font-size: clamp(2.5rem, 6vw, 5.8rem); letter-spacing: -.055em; margin: 10px 0 14px; max-width: 1050px; }
.configurator-hero p { color: #b7b7b7; max-width: 900px; font-size: 1.06rem; line-height: 1.65; margin: 0; }
.configurator-hero-badge { flex: 0 0 145px; height: 145px; border: 1px solid #444; display: grid; place-content: center; text-align: center; transform: rotate(3deg); background: #191919; }
.configurator-hero-badge strong { color: var(--red); font-size: 2.5rem; line-height: 1; }.configurator-hero-badge span { color: #fff; text-transform: uppercase; font-size: .72rem; letter-spacing: .13em; margin-top: 8px; }
.configurator-section { padding: 28px 0 70px; background: linear-gradient(180deg, #111 0%, #181818 42%, #101010 100%); }
.configurator-intro { max-width: 900px; padding-top: 18px; padding-bottom: 28px; }
.configurator-intro[hidden], .configurator-shell[hidden] { display: none !important; }
.configurator-intro-card { border: 1px solid #343434; background: #f5f5f4; color: #171717; padding: clamp(24px, 4vw, 46px); box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.configurator-intro-card .eyebrow { color: var(--red); }
.configurator-intro-card h2 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.04em; }
.configurator-intro-card > p { color: #666; line-height: 1.6; max-width: 720px; }
.configurator-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 18px; }
.configurator-intro-grid .form-group { margin: 0; }
.configurator-intro-grid label { color: #333; font-size: .75rem; font-weight: 800; }
.configurator-intro-card > .btn { min-width: 220px; }
.configurator-intro-note { margin: 16px 0 0 !important; font-size: .72rem; color: #777 !important; }
.configurator-final-customer { border: 1px solid #d5d5d5; background: #fff; padding: 22px; display: grid; gap: 5px; max-width: 540px; }
.configurator-final-customer span { color: var(--red); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.configurator-final-customer strong { font-size: 1.35rem; }
.configurator-final-customer small { color: #666; font-size: .82rem; }
.configurator-shell { display: grid; grid-template-columns: 245px minmax(0, 1fr) 350px; gap: 18px; align-items: start; max-width: 1700px; }

.configurator-steps { border: 1px solid #343434; background: #171717; position: sticky; top: calc(var(--header) + 18px); max-height: calc(100vh - var(--header) - 35px); overflow: auto; scrollbar-width: thin; }
.configurator-steps-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 17px 11px; font-size: .7rem; color: #aaa; letter-spacing: .1em; }
.configurator-steps-head strong { color: var(--red); font-size: .8rem; }
.configurator-progress-bar { height: 3px; background: #2d2d2d; margin: 0 17px 10px; overflow: hidden; }.configurator-progress-bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s ease; }
.configurator-steps nav { display: grid; }
.configurator-step { display: grid; grid-template-columns: 31px 1fr 18px; gap: 10px; align-items: center; border: 0; border-top: 1px solid #292929; background: transparent; color: #fff; padding: 11px 14px; text-align: left; position: relative; }
.configurator-step:hover { background: #202020; }.configurator-step.active { background: linear-gradient(90deg, rgba(218,41,28,.18), transparent); }.configurator-step.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.configurator-step > span { width: 29px; height: 29px; border: 1px solid #4a4a4a; display: grid; place-items: center; color: #aaa; font-size: .64rem; font-weight: 800; }
.configurator-step.active > span { background: var(--red); border-color: var(--red); color: #fff; }.configurator-step.completed > span { background: #fff; color: #111; border-color: #fff; }
.configurator-step strong { display: block; font-size: .78rem; font-weight: 700; }.configurator-step small { display: block; color: #777; font-size: .64rem; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.configurator-step.completed small { color: #bbb; }
.configurator-step i { color: #555; font-style: normal; opacity: 0; }.configurator-step.completed i { color: #36b879; opacity: 1; }
.configurator-reset { width: 100%; padding: 14px; background: #111; color: #999; border: 0; border-top: 1px solid #303030; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }.configurator-reset:hover { color: white; }

.configurator-workspace { min-width: 0; min-height: 770px; border: 1px solid #343434; background: #f5f5f4; color: #181818; }
.configurator-group { display: none; padding: 32px; min-height: 770px; flex-direction: column; }.configurator-group.active { display: flex; }
.configurator-group-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; padding-bottom: 23px; border-bottom: 1px solid #ddd; margin-bottom: 23px; }
.configurator-group-header > div > span { color: var(--red); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }.configurator-group-header h2 { font-size: clamp(1.85rem, 4vw, 3rem); margin: 5px 0 8px; color: #151515; letter-spacing: -.03em; }.configurator-group-header p { color: #696969; margin: 0; max-width: 700px; line-height: 1.55; }.configurator-group-header em { color: #555; border: 1px solid #ccc; padding: 7px 10px; font-size: .68rem; font-style: normal; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.configurator-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.configurator-options.dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.configurator-option { min-height: 145px; border: 1px solid #d5d5d5; background: white; color: #171717; padding: 19px; text-align: left; position: relative; display: flex; flex-direction: column; transition: border-color .18s, transform .18s, box-shadow .18s; }
.configurator-option:hover { border-color: #999; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.07); }.configurator-option.selected { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red), 0 8px 24px rgba(218,41,28,.12); }.configurator-option.disabled { display: flex; opacity: .58; background: #eeeeec; border-style: dashed; cursor: not-allowed; transform: none; box-shadow: none; }
.configurator-option.disabled:hover { border-color: #c8c8c8; transform: none; box-shadow: none; }
.configurator-option.disabled .configurator-option-check { background: #dededb; border-color: #c7c7c4; }
.configurator-option-reason { display: block; margin-top: 10px; padding-top: 9px; border-top: 1px solid #d5d5d2; color: #8f251d; font-size: .66rem; font-weight: 700; line-height: 1.4; }
.configurator-option-check { width: 24px; height: 24px; border: 1px solid #bbb; display: grid; place-items: center; position: absolute; right: 14px; top: 14px; color: transparent; font-size: .75rem; }.configurator-option.selected .configurator-option-check { color: white; background: var(--red); border-color: var(--red); }
.configurator-option-badge { align-self: flex-start; background: #181818; color: #fff; padding: 4px 7px; font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; margin: -4px 36px 11px 0; }.configurator-option.selected .configurator-option-badge { background: var(--red); }
.configurator-option > strong { font-size: 1rem; max-width: calc(100% - 25px); }.configurator-option > p { color: #757575; font-size: .76rem; line-height: 1.48; margin: 8px 0 16px; flex: 1; }.configurator-option-price { color: var(--red); font-size: .75rem; font-weight: 800; }
.configurator-group-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }.configurator-group-actions .btn { min-width: 145px; }.configurator-group-actions button:disabled { opacity: .35; cursor: not-allowed; }

.configurator-live-panel { position: sticky; top: calc(var(--header) + 18px); display: grid; gap: 14px; max-height: calc(100vh - var(--header) - 35px); overflow: auto; scrollbar-width: thin; }
.configurator-visual-card, .configurator-summary-card { border: 1px solid #343434; background: #181818; color: #fff; }
.configurator-live-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #303030; }.configurator-live-top span { color: #777; font-size: .62rem; letter-spacing: .11em; }.configurator-live-top strong { font-size: .66rem; color: var(--red); }
.sprayer-visual { height: 225px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 45%, #333 0, #1b1b1b 48%, #101010 100%); --boom-width: 82%; }
.sprayer-ground { position: absolute; left: 6%; right: 6%; bottom: 31px; height: 1px; background: #555; }.sprayer-ground::after { content: ""; position: absolute; inset: 5px 0 auto; height: 15px; opacity: .12; background: repeating-linear-gradient(90deg,#fff 0 1px,transparent 1px 10px); }
.sprayer-boom { position: absolute; width: var(--boom-width); left: calc((100% - var(--boom-width))/2); top: 48px; height: 8px; display: flex; gap: 4px; transition: width .35s,left .35s; }.sprayer-boom span { flex: 1; height: 4px; background: var(--red); box-shadow: 0 0 9px rgba(218,41,28,.6); position: relative; }.sprayer-boom span::after { content: ""; position: absolute; inset: 6px 0 auto; height: 22px; background: repeating-linear-gradient(90deg,transparent 0 19px,#aaa 19px 20px); opacity: .45; }
.sprayer-frame { position: absolute; left: 50%; transform: translateX(-50%); bottom: 38px; width: 180px; height: 112px; border-bottom: 7px solid #d9d9d9; transition: width .3s; }
.sprayer-tank { position: absolute; width: 116px; height: 80px; left: 31px; top: 1px; border-radius: 44% 44% 17% 17%; background: linear-gradient(145deg,#f7f7f7,#a9a9a9); color: #181818; display: grid; place-content: center; text-align: center; border: 3px solid #777; box-shadow: inset -14px -10px 25px rgba(0,0,0,.18); }.sprayer-tank strong { font-size: 1rem; }.sprayer-tank small { color: var(--red); font-weight: 900; font-size: .56rem; letter-spacing: .12em; margin-top: 3px; }
.sprayer-pump { position: absolute; right: 5px; bottom: 12px; width: 30px; height: 30px; border: 3px solid #999; border-radius: 50%; display: grid; place-items: center; color: #aaa; font-size: .65rem; }
.sprayer-wheel { position: absolute; bottom: -27px; width: 50px; height: 50px; border: 8px solid #121212; border-radius: 50%; background: #777; box-shadow: 0 0 0 2px #555; }.wheel-one { left: 22px; }.wheel-two { right: 22px; }.sprayer-linkage { display: none; position: absolute; left: -42px; bottom: 3px; width: 45px; height: 25px; border: 4px solid #aaa; border-right: 0; transform: skewX(-25deg); }
.sprayer-visual[data-mount="acoplado"] .wheel-two { display: none; }.sprayer-visual[data-mount="acoplado"] .wheel-one { left: 64px; }.sprayer-visual[data-mount="acoplado"] .sprayer-linkage { display: block; }.sprayer-visual[data-mount="acoplado"] .sprayer-frame { width: 165px; }
.configurator-live-specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #303030; }.configurator-live-specs div { padding: 11px 14px; border-right: 1px solid #303030; border-bottom: 1px solid #303030; }.configurator-live-specs div:nth-child(2n) { border-right: 0; }.configurator-live-specs span { display: block; color: #707070; font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }.configurator-live-specs strong { display: block; margin-top: 4px; font-size: .76rem; }
.configurator-summary-card { padding: 16px; }.configurator-summary-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; border-bottom: 1px solid #303030; padding-bottom: 12px; }.configurator-summary-head span { color: #777; font-size: .58rem; letter-spacing: .1em; }.configurator-summary-head h3 { font-size: 1.2rem; margin: 3px 0 0; }.configurator-summary-head > span { border: 1px solid #444; padding: 5px 7px; white-space: nowrap; }
.configurator-summary-list { max-height: 245px; overflow: auto; padding: 8px 0; scrollbar-width: thin; }.configurator-summary-list > p { color: #777; font-size: .75rem; }.configurator-summary-item { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid #292929; }.configurator-summary-item span { display: block; color: #777; font-size: .55rem; text-transform: uppercase; letter-spacing: .06em; }.configurator-summary-item strong { display: block; font-size: .72rem; margin-top: 2px; }.configurator-summary-item em { color: #bcbcbc; font-size: .67rem; font-style: normal; align-self: center; }
.configurator-price-box { background: var(--red); padding: 14px; margin-top: 8px; }.configurator-price-box span { display: block; font-size: .58rem; letter-spacing: .1em; opacity: .85; }.configurator-price-box strong { display: block; font-size: 1.8rem; margin: 3px 0; }.configurator-price-box small { font-size: .64rem; opacity: .8; }.configurator-disclaimer { color: #777; font-size: .62rem; line-height: 1.5; margin: 12px 1px 0; }

.configurator-final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }.configurator-final-grid .full { grid-column: 1 / -1; }.configurator-final-grid .form-group { margin: 0; }.configurator-final-grid label { color: #444; font-size: .72rem; }.configurator-final-grid .input, .configurator-final-grid select, .configurator-final-grid textarea { border-radius: 0; background: white; }.configurator-final-grid textarea { min-height: 90px; }.configurator-final-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; }.configurator-whatsapp-button { background: #078d4c; }.configurator-whatsapp-button:hover { background: #056f3c; }.configurator-submit-message { font-size: .78rem; color: #087440; min-height: 18px; margin: 10px 0 0; }

/* Administração do configurador */
.configurator-admin-settings { margin-bottom: 20px; }.admin-section-title { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }.admin-section-title h2 { margin: 0 0 5px; }
.configurator-admin-group { padding: 0; margin-bottom: 13px; overflow: hidden; }.configurator-admin-group > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; background: #fafafa; }.configurator-admin-group > summary::-webkit-details-marker { display: none; }.configurator-admin-group > summary > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; }.configurator-admin-group > summary span { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; background: var(--red); color: white; font-size: .68rem; }.configurator-admin-group > summary strong { font-size: 1rem; }.configurator-admin-group > summary small { color: #777; }.configurator-admin-group-body { padding: 20px; border-top: 1px solid #e7e7e7; }.configurator-group-edit { padding-bottom: 18px; border-bottom: 1px solid #e5e5e5; }
.configurator-admin-options { margin-top: 16px; overflow-x: auto; padding-bottom: 4px; }
.configurator-admin-option-head, .configurator-admin-option-row {
  display: grid;
  grid-template-columns: 38px 48px minmax(190px, 1.05fr) minmax(235px, 1.25fr) minmax(145px, .72fr) minmax(180px, .88fr) minmax(150px, .7fr) 38px;
  gap: 9px;
  align-items: center;
  min-width: 1110px;
}
.configurator-admin-option-head { color: #777; font-size: .63rem; text-transform: uppercase; letter-spacing: .05em; padding: 0 4px 7px; white-space: nowrap; }
.configurator-admin-option-list { display: grid; }
.configurator-admin-option-row { padding: 8px 4px; border-top: 1px solid #eee; background: #fff; transition: opacity .15s, background .15s, box-shadow .15s; }
.configurator-admin-option-row .input { width: 100%; min-width: 0; height: 48px; }
.configurator-admin-option-row.is-dragging { opacity: .45; background: #fff0ee; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.configurator-drag-handle { width: 34px; height: 40px; display: grid; place-items: center; border: 1px solid #d3d3d3; background: #f7f7f7; color: #777; cursor: grab; font: inherit; font-size: 1rem; line-height: 1; letter-spacing: -5px; padding-right: 5px; user-select: none; }
.configurator-drag-handle:hover, .configurator-drag-handle:focus { color: var(--red); border-color: var(--red); background: #fff7f6; outline: none; }
.configurator-drag-handle:active { cursor: grabbing; }
.configurator-application-select { width: 100%; min-width: 0; height: 48px; border: 1px solid #d4d4d4; background: #fff; padding: 0 10px; font: inherit; color: #202020; }
.configurator-application-select:focus { outline: 2px solid rgba(218,41,28,.18); border-color: var(--red); }
.configurator-application-select:disabled { background: #f2f2f2; color: #666; cursor: not-allowed; }
.configurator-price-input { width: 100%; min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }
.configurator-option-row-action { width: 34px; height: 34px; }
.configurator-active-check { display: grid; place-items: center; }
.configurator-active-check input { width: 18px; height: 18px; accent-color: var(--red); }
.configurator-order-status { margin: 8px 3px 0; color: #087440; font-weight: 700; }
.configurator-option-row-action { border: 1px solid #d3d3d3; background: #f7f7f7; color: #666; cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; }
.configurator-option-row-action:hover, .configurator-option-row-action.active { color: #fff; background: var(--red); border-color: var(--red); }
.configurator-simple-rule {
  grid-column: 3 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(220px, .75fr);
  gap: 16px;
  align-items: stretch;
  margin: 8px 0 2px;
  padding: 14px 16px;
  border: 1px solid #e3e3e3;
  background: #fafafa;
}
.configurator-simple-rule > div { min-width: 0; display: grid; align-content: center; gap: 4px; }
.configurator-simple-rule > div span { color: var(--red); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.configurator-simple-rule > div strong { color: #181818; font-size: .88rem; line-height: 1.25; }
.configurator-simple-rule > div small { color: #666; font-size: .72rem; line-height: 1.45; }
.configurator-simple-rule label { display: grid; grid-template-columns: 1fr 120px; gap: 10px; align-items: center; min-width: 0; }
.configurator-simple-rule label > span { display: grid; align-items: center; min-height: 48px; padding: 0 14px; border: 1px solid #d7d7d7; background: #fff; color: #444; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.configurator-simple-rule label .input { height: 48px; text-align: center; font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.configurator-holder-rule { border-left: 3px solid #bf2a20; }
.configurator-boom-rule { border-left: 3px solid #1f6d4f; }
.configurator-rule-editor { grid-column: 1 / -1; padding: 18px; margin: 3px 0 7px; border: 1px solid #e1c4c0; border-left: 4px solid var(--red); background: #fff9f8; }
.configurator-rule-editor[hidden] { display: none; }
.configurator-rule-editor-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.configurator-rule-editor-head strong { font-size: .92rem; }
.configurator-rule-editor-head p { margin: 4px 0 0; color: #696969; font-size: .72rem; line-height: 1.45; }
.configurator-rule-editor-head > span { white-space: nowrap; background: #181818; color: #fff; padding: 5px 8px; font-size: .62rem; text-transform: uppercase; }
.configurator-rule-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.configurator-rule-groups fieldset { min-width: 0; border: 1px solid #ddd; background: #fff; padding: 11px; }
.configurator-rule-groups legend { padding: 0 5px; font-size: .72rem; font-weight: 800; }
.configurator-rule-groups fieldset > p { color: #777; font-size: .62rem; margin: 0 0 8px; }
.configurator-rule-options { display: flex; flex-wrap: wrap; gap: 6px; }
.configurator-rule-check { position: relative; }
.configurator-rule-check input { position: absolute; opacity: 0; pointer-events: none; }
.configurator-rule-check span { display: block; border: 1px solid #d5d5d5; background: #f7f7f7; padding: 6px 8px; font-size: .66rem; cursor: pointer; }
.configurator-rule-check input:checked + span { color: #fff; background: var(--red); border-color: var(--red); }
.configurator-rule-check.inactive span { opacity: .45; text-decoration: line-through; }
.configurator-rule-note { margin-top: 12px; padding: 9px 11px; background: #f1f1ef; color: #555; font-size: .68rem; }

.configurator-branch-map-card { margin-bottom: 20px; border-top: 4px solid #181818; }
.configurator-branch-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.configurator-branch-stats span { min-width: 78px; padding: 8px 10px; background: #f2f2f0; color: #555; font-size: .64rem; text-align: center; }
.configurator-branch-stats strong { display: block; color: #181818; font-size: 1.05rem; }
.configurator-branch-stats .danger { background: #fff0ee; color: #a72017; }
.configurator-map-toolbar { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 12px; }
.configurator-map-toolbar button { border: 1px solid #d3d3d3; background: #fff; padding: 8px 11px; font: inherit; font-size: .68rem; cursor: pointer; }
.configurator-map-toolbar button.active, .configurator-map-toolbar button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.configurator-map-toolbar > span { margin-left: auto; color: #777; font-size: .68rem; }
.configurator-map-warnings { margin: 10px 0; border: 1px solid #efb4af; background: #fff5f4; padding: 10px 13px; }
.configurator-map-warnings summary { cursor: pointer; color: #a11f16; font-weight: 800; font-size: .74rem; }
.configurator-map-warnings ul { margin: 10px 0 0 18px; padding: 0; color: #71322e; font-size: .7rem; line-height: 1.55; }
.configurator-map-details > summary { cursor: pointer; border: 1px solid #d5d5d5; background: #f7f7f7; padding: 11px 13px; font-size: .74rem; font-weight: 800; }
.configurator-branch-map { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 11px; margin-top: 12px; max-height: 660px; overflow: auto; padding: 2px; }
.configurator-branch-stage { border: 1px solid #dedede; background: #fafafa; min-width: 0; }
.configurator-branch-stage > header { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: center; padding: 10px; background: #181818; color: #fff; position: sticky; top: 0; z-index: 1; }
.configurator-branch-stage > header > span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--red); font-size: .65rem; }
.configurator-branch-stage > header strong, .configurator-branch-stage > header small { display: block; }
.configurator-branch-stage > header strong { font-size: .78rem; }
.configurator-branch-stage > header small { color: #999; font-size: .6rem; margin-top: 2px; }
.configurator-branch-stage > div { display: grid; gap: 7px; padding: 8px; }
.configurator-branch-node { border: 1px solid #ddd; background: #fff; padding: 9px; }
.configurator-branch-node[hidden] { display: none; }
.configurator-branch-node.unreachable { border-color: #df5147; background: #fff2f1; }
.configurator-branch-node-title { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.configurator-branch-node-title strong { font-size: .72rem; }
.configurator-branch-node-title span { background: #b92318; color: #fff; padding: 3px 5px; font-size: .54rem; text-transform: uppercase; white-space: nowrap; }
.configurator-branch-node p { margin: 6px 0 0; color: #666; font-size: .62rem; line-height: 1.45; }
.configurator-branch-node p.unlocks { color: #176f48; }
.configurator-map-help { margin: 11px 1px 0; }
.quote-selection-list { display: grid; gap: 3px; padding: 8px 0; min-width: 270px; font-size: .72rem; }.quote-selection-list span { white-space: normal; }
.configurator-admin-option-row-new { background: #fff8f7; border-left: 3px solid var(--red); animation: configurator-row-in .2s ease-out; }
.configurator-remove-new-option { width: 34px; height: 34px; border: 1px solid #d9d9d9; background: #fff; color: #9b1f16; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.configurator-remove-new-option:hover { background: #fff0ee; border-color: var(--red); }
.configurator-add-option-button { width: 100%; margin-top: 12px; min-height: 48px; border: 1px dashed #c7372d; background: #fff8f7; color: #9f2118; font: inherit; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; }
.configurator-add-option-button span { display: grid; place-items: center; width: 24px; height: 24px; background: var(--red); color: #fff; font-size: 1.15rem; line-height: 1; }
.configurator-add-option-button:hover { background: #ffefed; border-style: solid; }
.configurator-add-option-help { margin: 7px 2px 0; }
@keyframes configurator-row-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }


@media (max-width: 1380px) {
  .configurator-shell { grid-template-columns: 220px minmax(0, 1fr) 315px; }
  .configurator-options.dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { gap: 10px; }.main-nav a { font-size: .68rem; }
}
@media (max-width: 1080px) {
  .builder-home-card { grid-template-columns: 210px 1fr; }.builder-home-button { grid-column: 2; justify-self: start; }
  .configurator-shell { grid-template-columns: 210px minmax(0,1fr); }.configurator-live-panel { grid-column: 1 / -1; position: static; max-height: none; grid-template-columns: 1fr 1fr; }.configurator-steps { top: 15px; }.configurator-workspace { min-height: 700px; }.configurator-group { min-height: 700px; }
  .configurator-simple-rule { grid-template-columns: 1fr; }
  .configurator-simple-rule label { grid-template-columns: 1fr 120px; }
}
@media (max-width: 780px) {
  .nav-builder-link { border: 0; background: rgba(218,41,28,.16); }
  .builder-home-card { grid-template-columns: 1fr; padding: 28px 24px; }.builder-home-visual { display: none; }.builder-home-button { grid-column: auto; }
  .configurator-hero { padding-top: 35px; }.configurator-hero-inner { align-items: flex-start; }.configurator-hero-badge { display: none; }
  .configurator-shell { grid-template-columns: 1fr; }.configurator-steps { position: static; max-height: none; overflow: visible; }.configurator-steps nav { grid-template-columns: repeat(14, minmax(42px, 1fr)); overflow-x: auto; }.configurator-step { display: flex; min-width: 45px; padding: 9px 7px; justify-content: center; border-top: 0; border-right: 1px solid #292929; }.configurator-step > div, .configurator-step > i { display: none; }.configurator-step > span { flex: 0 0 29px; }.configurator-reset { display: none; }
  .configurator-workspace, .configurator-group { min-height: 680px; }.configurator-group { padding: 23px 18px; }.configurator-options, .configurator-options.dense { grid-template-columns: 1fr; }.configurator-option { min-height: 125px; }.configurator-live-panel { grid-template-columns: 1fr; }.configurator-summary-card { order: -1; }.configurator-summary-list { max-height: 190px; }.configurator-final-grid { grid-template-columns: 1fr; }.configurator-final-grid .full { grid-column: auto; }.configurator-group-header { flex-direction: column; }
  .configurator-admin-option-head { display: none; }.configurator-admin-options { overflow-x: visible; }.configurator-admin-option-row { grid-template-columns: 38px 38px minmax(0,1fr); min-width: 0; padding: 12px 0; }.configurator-admin-option-row > .input, .configurator-admin-option-row > .configurator-application-select { grid-column: 3; }.configurator-admin-option-row .configurator-drag-handle { grid-column: 1; grid-row: 1 / 7; align-self: start; }.configurator-admin-option-row .configurator-active-check { grid-column: 2; grid-row: 1 / 7; align-self: start; padding-top: 12px; }.configurator-admin-option-row .configurator-option-row-action { display: none; }.configurator-admin-option-row .configurator-remove-new-option { grid-column: 3; justify-self: end; }.configurator-simple-rule { grid-column: 3; margin-top: 10px; }.configurator-simple-rule label { grid-template-columns: 1fr 96px; }
}
@media (max-width: 480px) {
  .configurator-section .container { width: min(100% - 14px, var(--max)); }.configurator-group-actions, .configurator-final-actions { flex-direction: column-reverse; }.configurator-group-actions .btn, .configurator-final-actions .btn { width: 100%; }.sprayer-visual { height: 205px; }
}


.configurator-new-tab-card { margin-bottom: 20px; border-top: 4px solid var(--red); }
.configurator-new-tab-card .status { white-space: nowrap; }
.configurator-first-option { margin-top: 8px; padding: 18px; background: #f7f7f7; border: 1px solid #e3e3e3; }
.configurator-first-option .admin-section-title { margin-bottom: 12px; }
.configurator-first-option h3 { margin: 0 0 4px; }
.configurator-group-edit select { width: 100%; }
@media (max-width: 760px) {
  .configurator-new-tab-card .admin-section-title { display: grid; }
  .configurator-first-option { padding: 13px; }
}

/* Área do Cliente v3.2 */
.nav-customer-area-link { color: #fff !important; border: 1px solid rgba(255,255,255,.42); padding: 9px 13px; }
.nav-customer-area-link:hover, .nav-customer-area-link.active { border-color: var(--red); background: var(--red); color: #fff !important; }
.customer-login-shell { min-height: calc(100vh - var(--header)); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(430px, .85fr); background: #f5f5f5; color: var(--black); }
.customer-login-visual { position: relative; min-height: 720px; display: flex; align-items: end; padding: 72px; overflow: hidden; color: #fff; background: radial-gradient(circle at 74% 28%, rgba(218,41,28,.72), transparent 25%), linear-gradient(135deg, #0b0b0b 0%, #242424 58%, #111 100%); }
.customer-login-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 50px 50px; transform: perspective(800px) rotateX(58deg) scale(1.6); transform-origin: bottom; opacity: .55; }
.customer-login-visual::after { content: "ALLIKON"; position: absolute; right: -25px; top: 90px; writing-mode: vertical-rl; font: 800 clamp(5rem, 9vw, 10rem)/1 var(--font-headings); letter-spacing: .08em; color: rgba(255,255,255,.045); }
.customer-login-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.86), transparent 75%); }
.customer-login-copy { position: relative; z-index: 2; max-width: 720px; }
.customer-login-copy h1 { font-size: clamp(3.2rem, 6vw, 6.8rem); letter-spacing: -.05em; margin: 18px 0; }
.customer-login-copy p { color: #d1d1d1; max-width: 650px; font-size: 1.12rem; }
.customer-sector-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.customer-sector-pills span { border: 1px solid rgba(255,255,255,.35); padding: 9px 14px; font: 700 .7rem/1 var(--font-ui); text-transform: uppercase; letter-spacing: .1em; }
.customer-login-panel { display: grid; place-items: center; padding: 50px; }
.customer-login-card { width: min(100%, 520px); background: #fff; border: 1px solid #ddd; padding: clamp(30px, 5vw, 56px); }
.customer-login-card h2 { font-size: 2.4rem; letter-spacing: -.035em; margin: 18px 0 12px; }
.customer-login-card > p { margin: 0 0 25px; }
.customer-login-form label, .customer-password-card label { display: grid; gap: 7px; font-size: .82rem; font-weight: 650; }
.customer-login-form input, .customer-password-card input { width: 100%; height: 52px; border: 1px solid #cfcfcf; padding: 0 15px; color: #181818; background: #fff; }
.password-field { display: grid; grid-template-columns: 1fr 48px; }
.password-field input { border-right: 0; }
.password-toggle { border: 1px solid #cfcfcf; background: #f2f2f2; }
.customer-login-help { margin-top: 25px; padding: 18px; background: #f4f4f4; border-left: 3px solid var(--red); }
.customer-login-help p { margin: 5px 0 0; font-size: .82rem; color: #656565; }
.customer-support-link { display: inline-block; margin-top: 20px; color: var(--red); font-size: .84rem; font-weight: 700; }
.customer-password-section { min-height: 70vh; display: grid; align-items: center; }
.customer-password-card { background: #fff; border: 1px solid #ddd; padding: clamp(30px, 6vw, 60px); }
.customer-password-card h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 18px 0; }
.customer-password-card > p { color: #666; margin-bottom: 28px; }
.customer-area-hero { background: #181818; color: #fff; padding: 76px 0 62px; position: relative; overflow: hidden; }
.customer-area-hero::after { content: ""; position: absolute; width: 450px; height: 450px; border-radius: 50%; right: -100px; top: -220px; background: rgba(218,41,28,.2); filter: blur(10px); }
.customer-area-hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: end; position: relative; z-index: 1; }
.customer-area-hero h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.05em; margin: 16px 0; }
.customer-area-hero p { color: #bbb; font-size: 1.08rem; max-width: 720px; }
.customer-welcome-card { border-left: 3px solid var(--red); padding: 12px 0 12px 24px; display: grid; gap: 5px; }
.customer-welcome-card span, .customer-welcome-card small { color: #aaa; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.customer-welcome-card strong { font-size: 1.15rem; }
.customer-welcome-card form { margin-top: 12px; }
.customer-library-section { background: #f5f5f5; color: #181818; }
.customer-library-header { margin-bottom: 26px; }
.tutorial-sector-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 48px; }
.tutorial-sector-tabs a { min-height: 100px; padding: 20px; background: #fff; border: 1px solid #ddd; display: grid; align-content: center; gap: 5px; transition: .18s; }
.tutorial-sector-tabs a span { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tutorial-sector-tabs a small { color: #727272; }
.tutorial-sector-tabs a:hover, .tutorial-sector-tabs a.active { background: #181818; color: #fff; border-color: #181818; transform: translateY(-2px); }
.tutorial-sector-tabs a.active { border-bottom: 4px solid var(--red); }
.tutorial-sector-tabs a:hover small, .tutorial-sector-tabs a.active small { color: #bbb; }
.tutorial-sector-section { margin-bottom: 64px; }
.tutorial-sector-heading { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid #ccc; margin-bottom: 20px; }
.tutorial-sector-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900; font-size: 1.2rem; }
.tutorial-sector-heading h3 { font-size: 1.65rem; }
.tutorial-sector-heading p { color: #727272; margin: 3px 0 0; }
.tutorial-sector-heading > span { color: #666; font-size: .8rem; }
.tutorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.tutorial-card { min-width: 0; background: #fff; border: 1px solid #ddd; display: flex; flex-direction: column; }
.tutorial-card.featured { border-top: 4px solid var(--red); }
.tutorial-video-frame { position: relative; aspect-ratio: 16/9; background: #121212; overflow: hidden; display: grid; place-items: center; }
.tutorial-video-frame video, .tutorial-video-frame iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.tutorial-video-placeholder { color: #fff; display: grid; place-items: center; gap: 9px; text-align: center; }
.tutorial-video-placeholder span { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #777; border-radius: 50%; padding-left: 3px; }
.tutorial-external-video { color: #fff; border: 1px solid #777; padding: 12px 18px; font-size: .75rem; font-weight: 700; }
.tutorial-featured-badge, .tutorial-duration { position: absolute; top: 10px; padding: 6px 9px; font: 700 .62rem/1 var(--font-ui); letter-spacing: .08em; }
.tutorial-featured-badge { left: 10px; background: var(--red); color: #fff; }
.tutorial-duration { right: 10px; background: rgba(0,0,0,.75); color: #fff; }
.tutorial-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tutorial-card-body > span { color: var(--red); font: 750 .65rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.tutorial-card-body h4 { margin: 10px 0; font-size: 1.25rem; line-height: 1.25; }
.tutorial-card-body p { color: #666; font-size: .88rem; margin: 0 0 20px; flex: 1; }
.tutorial-complete-button { border: 0; border-top: 1px solid #e1e1e1; background: transparent; text-align: left; padding: 14px 0 0; color: #555; font-size: .76rem; font-weight: 700; }
.tutorial-complete-button:hover, .tutorial-complete-button.completed { color: var(--success); }
.tutorial-empty-state, .tutorial-library-empty { background: #fff; border: 1px dashed #bbb; padding: 34px; text-align: center; color: #666; }
.tutorial-empty-state p, .tutorial-library-empty p { margin: 5px 0 0; }
.tutorial-library-empty span { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: #181818; color: #fff; }

/* Administração da Área do Cliente */
.admin-page-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.admin-page-header h1 { font-size: 2.15rem; margin: 7px 0; }
.admin-page-header p { color: #666; margin: 0; }
.admin-panel { background: #fff; border: 1px solid #d5d5d5; padding: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 20px; }
.panel-heading h2 { font-size: 1.2rem; margin-bottom: 5px; }
.panel-heading p { color: #777; margin: 0; font-size: .85rem; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.admin-stat { background: #fff; border: 1px solid #d5d5d5; padding: 20px; display: grid; gap: 5px; }
.admin-stat span { color: #777; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-stat strong { font-size: 2rem; }
.admin-customer-area-grid { display: grid; grid-template-columns: minmax(420px,.9fr) minmax(520px,1.1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.tutorial-admin-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; }
.tutorial-admin-form input, .tutorial-admin-form select, .tutorial-admin-form textarea { width: 100%; border: 1px solid #cfcfcf; padding: 12px; background: #fff; }
.tutorial-admin-form input, .tutorial-admin-form select { min-height: 46px; }
.tutorial-admin-form small { color: #777; font-weight: 400; }
.tutorial-upload-zone { border: 1px dashed #aaa; background: #fafafa; padding: 18px; display: grid; gap: 10px; }
.tutorial-upload-zone p { margin: 3px 0 0; color: #777; font-size: .8rem; }
.form-divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: #999; font-size: .7rem; }
.form-divider::before, .form-divider::after { content: ""; height: 1px; background: #ddd; }
.tutorial-admin-thumb { width: 180px; aspect-ratio: 16/9; object-fit: cover; border: 1px solid #ddd; margin-top: 8px; }
.tutorial-admin-checks { padding: 12px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.check-line { display: inline-flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; }
.check-line input { width: 18px !important; min-height: 18px !important; }
.admin-tutorial-list { display: grid; gap: 9px; max-height: 750px; overflow: auto; padding-right: 4px; }
.admin-tutorial-row { border: 1px solid #ddd; padding: 14px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; }
.admin-tutorial-row.inactive { opacity: .62; background: #f4f4f4; }
.admin-tutorial-icon { width: 38px; height: 38px; background: #181818; color: #fff; display: grid; place-items: center; }
.admin-tutorial-copy { min-width: 0; display: grid; gap: 4px; }
.admin-tutorial-copy span { color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.admin-tutorial-copy strong, .admin-tutorial-copy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-tutorial-copy small { color: #777; }
.admin-tutorial-actions { display: flex; gap: 5px; }
.admin-tutorial-actions form { display: inline-flex; }
.admin-empty { text-align: center; padding: 48px 20px; border: 1px dashed #bbb; color: #777; }
.customer-access-panel { margin-bottom: 30px; }
.customer-access-table td:first-child { min-width: 220px; }
.customer-access-table td:first-child small { display: block; color: #777; margin-top: 3px; }
.customer-access-actions { flex-wrap: nowrap; }
.customer-access-actions form { display: inline-flex; }
.admin-note { margin-top: 15px; background: #fff7e8; border-left: 3px solid #d48600; padding: 13px 15px; font-size: .82rem; }

@media (max-width: 1180px) {
  .customer-login-shell { grid-template-columns: 1fr 480px; }
  .customer-login-visual { padding: 45px; }
  .tutorial-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-customer-area-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .customer-login-shell { grid-template-columns: 1fr; }
  .customer-login-visual { min-height: 460px; }
  .customer-login-panel { padding: 30px 20px 50px; }
  .customer-area-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .tutorial-sector-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .admin-page-header { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
  .customer-login-visual { min-height: 400px; padding: 30px 20px; }
  .customer-login-copy h1 { font-size: 3.2rem; }
  .customer-login-panel { padding: 20px 14px 40px; }
  .customer-login-card { padding: 28px 20px; }
  .tutorial-sector-tabs, .tutorial-grid { grid-template-columns: 1fr; }
  .tutorial-sector-heading { grid-template-columns: 45px 1fr; }
  .tutorial-sector-heading > span { grid-column: 2; }
  .admin-tutorial-row { grid-template-columns: 38px 1fr; }
  .admin-tutorial-actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .tutorial-admin-form .grid-2, .tutorial-admin-form .grid-3 { grid-template-columns: 1fr; }
}

/* Cabeçalho organizado e suporte técnico — versão 3.3 */
.site-header .header-inner {
  width: min(1540px, calc(100% - 32px));
  max-width: none;
  gap: 18px;
}
.site-header .brand-logo { flex: 0 0 auto; }
.site-header .brand-logo img { width: auto; max-width: 190px; max-height: 48px; object-fit: contain; }
.site-header .main-nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 24px);
}
.site-header .main-nav > a { white-space: nowrap; font-size: .73rem; }
.site-header .header-actions { flex: 0 0 auto; margin-left: auto; }
.header-customer-area-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
  background: var(--red);
  border-color: var(--red);
  font: 750 .72rem/1.15 var(--font-ui);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.header-customer-area-link:hover,
.header-customer-area-link.active { background: var(--red-hover); border-color: var(--red-hover); }

.customer-support-cta {
  margin-top: 72px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 92% 15%, rgba(218,41,28,.42), transparent 28%),
    linear-gradient(115deg, #181818 0%, #262626 72%, #181818 100%);
  border-left: 6px solid var(--red);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}
.customer-support-copy > span {
  display: block;
  color: var(--red);
  font: 800 .68rem/1 var(--font-ui);
  letter-spacing: .14em;
  margin-bottom: 10px;
}
.customer-support-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 3.25rem);
  letter-spacing: -.035em;
}
.customer-support-copy p {
  margin: 8px 0 0;
  color: #d7d7d7;
  font: 750 clamp(.9rem, 1.4vw, 1.15rem)/1.4 var(--font-ui);
  letter-spacing: .04em;
}
.customer-support-button {
  min-width: 210px;
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.customer-support-button span { font-size: 1.2rem; }

@media (max-width: 1320px) {
  .site-header .header-inner { width: min(100% - 24px, 1320px); gap: 12px; }
  .site-header .brand-logo img { max-width: 165px; }
  .site-header .main-nav { gap: 11px; }
  .site-header .main-nav > a { font-size: .66rem; }
  .header-customer-area-link { padding: 0 13px; font-size: .66rem; }
}
@media (max-width: 1120px) {
  .site-header .main-nav { display: none; }
  .site-header .mobile-menu-button { display: grid; }
  .header-customer-area-link { display: none; }
}
@media (max-width: 760px) {
  .customer-support-cta { grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; }
  .customer-support-button { width: 100%; }
}

/* Cadastro completo de clientes e Google — versão 3.4 */
.customer-area-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.customer-registration-panel, .google-access-panel { margin-bottom: 20px; }
.customer-panel-heading { align-items: center; }
.customer-registration-form { display: grid; gap: 18px; }
.customer-form-section { border: 1px solid #ddd; background: #fff; padding: 20px; }
.customer-form-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.customer-form-section-title > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; }
.customer-form-section-title div { display: grid; gap: 2px; }
.customer-form-section-title strong { font-size: 1rem; }
.customer-form-section-title small { color: #777; font-size: .76rem; }
.customer-registration-form label { display: grid; gap: 6px; font-size: .76rem; font-weight: 750; color: #333; }
.customer-registration-form label > small { color: #777; font-weight: 400; }
.customer-registration-form input,
.customer-registration-form textarea,
.customer-registration-form select { width: 100%; border: 1px solid #cfcfcf; background: #fff; min-height: 46px; padding: 11px 12px; font: inherit; color: #222; }
.customer-registration-form textarea { min-height: 88px; resize: vertical; }
.customer-form-grid .span-2 { grid-column: span 2; }
.customer-form-grid .span-3 { grid-column: 1 / -1; }
.customer-address-grid { grid-template-columns: 145px minmax(280px, 1.7fr) 110px minmax(160px, .8fr) minmax(150px, .8fr) minmax(160px, .9fr) 80px; gap: 12px; }
.customer-login-admin-grid { align-items: stretch; }
.customer-access-summary { border: 1px solid #d8d8d8; background: #f7f7f7; padding: 12px 14px; display: grid; align-content: center; gap: 3px; }
.customer-access-summary span { color: #777; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.customer-access-summary strong { font-size: 1.05rem; }
.customer-access-summary small { color: #777; }
.customer-permission-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-choice-card { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px !important; border: 1px solid #ddd; background: #fafafa; padding: 13px; cursor: pointer; }
.admin-choice-card input { width: 18px !important; height: 18px; min-height: 18px !important; margin-top: 1px; accent-color: var(--red); }
.admin-choice-card span { display: grid; gap: 3px; }
.admin-choice-card strong { font-size: .78rem; }
.admin-choice-card small { color: #777; font-weight: 400; font-size: .7rem; line-height: 1.35; }
.google-linked-admin-card { margin-top: 14px; display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; border: 1px solid #d7e2ff; background: #f6f8ff; padding: 12px; }
.google-linked-admin-card img, .google-avatar-placeholder { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fff; color: #4285f4; font-weight: 900; border: 1px solid #d8d8d8; }
.google-linked-admin-card div { display: grid; gap: 3px; }
.google-linked-admin-card small { color: #666; }
.customer-form-actions { display: flex; gap: 9px; justify-content: flex-end; }
.google-admin-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 20px; align-items: start; }
.google-setup-steps { display: grid; gap: 10px; }
.google-setup-steps > div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 11px 12px; border: 1px solid #e2e2e2; background: #fafafa; }
.google-setup-steps > div > span { width: 30px; height: 30px; display: grid; place-items: center; background: #181818; color: #fff; font-weight: 800; }
.google-setup-steps p { margin: 5px 0 0; color: #555; font-size: .78rem; line-height: 1.45; }
.google-setup-steps code { display: block; margin-top: 6px; max-width: 100%; overflow-wrap: anywhere; background: #eee; padding: 6px 8px; color: #222; }
.google-settings-form { display: grid; gap: 12px; }
.customer-list-heading { align-items: center; }
.customer-search-form { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.customer-search-form input { min-width: 280px; min-height: 38px; border: 1px solid #ccc; padding: 8px 10px; }
.customer-note-preview { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9a6811 !important; }
.customer-access-table td { vertical-align: middle; }
.customer-access-table td:nth-child(7) { min-width: 150px; font-size: .72rem; color: #666; }
.google-badge { color: #2457a7; background: #eef4ff; border-color: #cbdcff; }
.badge-warning { background: #fff3d8; color: #936000; border: 1px solid #efd18f; }
.badge-danger { background: #ffebea; color: #9d2219; border: 1px solid #edbbb7; }

.customer-login-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 18px 0; color: #999; font-size: .68rem; font-weight: 700; }
.customer-login-divider::before, .customer-login-divider::after { content: ""; height: 1px; background: #ddd; }
.google-login-button { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #cfcfcf; background: #fff; color: #222; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.google-login-button:hover { border-color: #4285f4; background: #f7faff; }
.google-login-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); color: #fff; font-weight: 900; box-shadow: inset 0 0 0 6px #fff; }
.google-login-note { margin: 9px 0 0; color: #777; font-size: .72rem; text-align: center; }
.google-login-disabled { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px dashed #ccc; color: #777; background: #fafafa; }
.google-login-disabled div { display: grid; gap: 2px; }
.google-login-disabled strong { font-size: .78rem; }
.google-login-disabled small { font-size: .68rem; }

.google-profile-shell { min-height: calc(100vh - var(--header)); padding: 70px 20px; display: grid; place-items: center; background: radial-gradient(circle at 15% 10%, rgba(218,41,28,.1), transparent 28%), #f3f3f3; }
.google-profile-card { width: min(610px, 100%); background: #fff; border: 1px solid #d7d7d7; padding: clamp(26px, 5vw, 48px); box-shadow: 0 18px 50px rgba(0,0,0,.08); }
.google-profile-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.google-brand-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); color: #fff; font-size: 1.2rem; font-weight: 900; box-shadow: inset 0 0 0 11px #fff; }
.google-profile-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 4px 0 0; }
.google-profile-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; }
.google-profile-form input { width: 100%; min-height: 48px; border: 1px solid #ccc; padding: 11px 13px; }
.google-profile-form input:disabled { background: #f3f3f3; color: #666; }
.google-consent-line { display: flex !important; align-items: center; gap: 9px !important; font-weight: 500 !important; }
.google-consent-line input { width: 18px; min-height: 18px; accent-color: var(--red); }
.google-cancel-link { display: block; margin: 15px auto 0; border: 0; background: transparent; color: #666; text-decoration: underline; cursor: pointer; }
.google-pending-card { text-align: center; }
.google-pending-icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #0a9150; color: #fff; font-size: 2rem; }
.google-pending-card p { color: #666; line-height: 1.6; }
.google-pending-email { margin: 18px 0; padding: 12px; background: #f3f3f3; border: 1px solid #ddd; font-weight: 700; }

@media (max-width: 1180px) {
  .customer-area-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-address-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .customer-address-grid .street-field { grid-column: span 2; }
  .customer-permission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .google-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .customer-area-stat-grid, .customer-form-grid, .customer-address-grid, .customer-login-admin-grid, .customer-permission-grid { grid-template-columns: 1fr; }
  .customer-form-grid .span-2, .customer-form-grid .span-3, .customer-address-grid .street-field { grid-column: auto; }
  .customer-list-heading { align-items: flex-start; flex-direction: column; }
  .customer-search-form { width: 100%; }
  .customer-search-form input { min-width: 0; flex: 1 1 100%; }
  .google-linked-admin-card { grid-template-columns: 42px 1fr; }
  .google-linked-admin-card .btn { grid-column: 1 / -1; }
  .customer-form-actions { flex-direction: column; }
  .customer-form-actions .btn { width: 100%; }
  .google-profile-form .grid-2 { grid-template-columns: 1fr; }
}

/* Ícones enviados pela ALLIKON — versão 3.5 */
.header-action-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: invert(1);
  opacity: .94;
  pointer-events: none;
}
.icon-link:hover .header-action-icon,
.icon-link:focus-visible .header-action-icon { opacity: 1; }
.header-cart-icon { width: 24px; height: 24px; }

/* Galeria e miniaturas do catálogo atualizado — versão 3.5 */
.product-gallery[data-product-gallery] {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
}
.product-gallery-stage {
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.product-gallery-stage > img {
  width: 100%;
  height: auto;
  max-height: 600px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0;
}
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px;
  overflow-x: auto;
  border-top: 1px solid #d5d5d5;
  background: #fff;
}
.product-gallery-thumb {
  width: 82px;
  height: 68px;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
  cursor: pointer;
}
.product-gallery-thumb.active { border: 2px solid var(--red); }
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  aspect-ratio: auto;
}
.parts-compact-product {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.parts-compact-product img {
  width: 72px;
  height: 52px;
  flex: 0 0 72px;
  object-fit: contain;
  padding: 4px;
  background: #f4f4f4;
  border: 1px solid #e2e2e2;
}
.parts-compact-product strong { line-height: 1.28; }
@media (max-width: 760px) {
  .product-gallery-stage { min-height: 320px; padding: 14px; }
  .parts-compact-row strong { grid-column: auto; grid-row: auto; }
  .parts-compact-product { grid-column: 1 / -1; grid-row: 1; }
  .parts-compact-product img { width: 56px; height: 44px; flex-basis: 56px; }
}

@media (max-width: 1180px) {
  .configurator-rule-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configurator-branch-map { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
}
@media (max-width: 760px) {
  .configurator-rule-groups, .configurator-branch-map { grid-template-columns: 1fr; }
  .configurator-rule-editor { grid-column: 1 / -1 !important; padding: 13px; }
  .configurator-rule-editor-head, .configurator-branch-map-card .admin-section-title { display: grid; }
  .configurator-branch-stats { justify-content: flex-start; }
  .configurator-map-toolbar > span { width: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  .configurator-admin-option-row .configurator-option-row-action { display: grid; grid-column: 3; justify-self: end; }
}

/* Editor visual de liberações e bloqueios v3.7 */
.configurator-map-title-actions { display: flex; align-items: flex-start; gap: 12px; }
.configurator-access-editor { margin: 14px 0; border: 1px solid #cfcfca; background: #fff; }
.configurator-access-editor > summary { cursor: pointer; list-style: none; padding: 14px 16px; background: #181818; color: #fff; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.configurator-access-editor > summary::-webkit-details-marker { display: none; }
.configurator-access-editor-intro { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #e2e2e2; background: #f8f8f6; }
.configurator-access-editor-intro p { margin: 0; color: #555; font-size: .72rem; line-height: 1.5; }
.configurator-access-editor-intro > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.access-legend { padding: 5px 8px; font-size: .59rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.access-legend.allowed { background: #0b8b4b; color: #fff; }
.access-legend.blocked { background: #c82b20; color: #fff; }
.access-legend.free { background: #e9e9e6; color: #333; }
.configurator-access-targets { display: grid; gap: 13px; padding: 14px; max-height: 780px; overflow: auto; }
.configurator-access-stage { border: 1px solid #d9d9d5; background: #fafafa; }
.configurator-access-stage > header { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 11px 13px; background: #303030; color: #fff; }
.configurator-access-stage > header > span { width: 32px; height: 32px; display: grid; place-items: center; background: var(--red); font-size: .65rem; }
.configurator-access-stage > header strong, .configurator-access-stage > header small { display: block; }
.configurator-access-stage > header strong { font-size: .82rem; }
.configurator-access-stage > header small { margin-top: 2px; color: #aaa; font-size: .61rem; }
.configurator-access-option-list { display: grid; gap: 7px; padding: 8px; }
.configurator-access-option { border: 1px solid #ddd; background: #fff; }
.configurator-access-option > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; }
.configurator-access-option > summary::-webkit-details-marker { display: none; }
.configurator-access-option > summary strong, .configurator-access-option > summary small { display: block; }
.configurator-access-option > summary strong { font-size: .75rem; }
.configurator-access-option > summary small { margin-top: 2px; color: #777; font-size: .59rem; text-transform: capitalize; }
.configurator-access-option > summary > span { padding: 4px 7px; font-size: .55rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.configurator-access-option > summary > span.free { background: #e7f4ed; color: #087744; }
.configurator-access-option > summary > span.partial { background: #fff0ca; color: #765400; }
.configurator-access-option > summary > span.blocked { background: #ffe2df; color: #a32018; }
.configurator-access-dependencies { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; padding: 0 10px 11px; border-top: 1px solid #eee; }
.configurator-access-dependencies fieldset { min-width: 0; margin: 10px 0 0; padding: 10px; border: 1px solid #ddd; }
.configurator-access-dependencies legend { width: 100%; display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 0 4px; font-size: .68rem; }
.configurator-access-status { padding: 3px 6px; font-size: .52rem; font-weight: 800; white-space: nowrap; }
.configurator-access-status.free { background: #e2f3ea; color: #087544; }
.configurator-access-status.partial { background: #fff0c9; color: #765400; }
.configurator-access-status.blocked { background: #ffe0dc; color: #9c2119; }
.configurator-access-tools { display: flex; gap: 5px; margin-bottom: 8px; }
.configurator-access-tools button { border: 1px solid #ccc; background: #f7f7f7; padding: 5px 7px; font: inherit; font-size: .57rem; cursor: pointer; }
.configurator-access-tools button:first-child:hover { background: #0b8b4b; border-color: #0b8b4b; color: #fff; }
.configurator-access-tools button:last-child:hover { background: #c82b20; border-color: #c82b20; color: #fff; }
.configurator-access-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.configurator-access-choice { position: relative; }
.configurator-access-choice input { position: absolute; opacity: 0; pointer-events: none; }
.configurator-access-choice span { display: flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #c9362c; background: #fff0ee; color: #a3261d; font-size: .63rem; cursor: pointer; user-select: none; }
.configurator-access-choice span i { width: 7px; height: 7px; border-radius: 50%; background: #c9362c; }
.configurator-access-choice input:checked + span { border-color: #0b8b4b; background: #e8f5ee; color: #076c3c; }
.configurator-access-choice input:checked + span i { background: #0b8b4b; }
.configurator-access-choice.inactive span { opacity: .5; text-decoration: line-through; }
.configurator-access-save { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid #d8d8d8; background: rgba(255,255,255,.97); }
.configurator-access-save span { color: #666; font-size: .68rem; }
.configurator-rule-block-all { display: inline-flex; margin: 0 0 8px; position: relative; }
.configurator-rule-block-all input { position: absolute; opacity: 0; }
.configurator-rule-block-all span { display: block; padding: 6px 8px; border: 1px solid #d7a6a1; background: #fff4f2; color: #9b241c; font-size: .62rem; cursor: pointer; }
.configurator-rule-block-all input:checked + span { background: #bd281e; color: #fff; border-color: #bd281e; }
@media (max-width: 1000px) {
  .configurator-map-title-actions { display: grid; }
  .configurator-access-dependencies { grid-template-columns: 1fr; }
  .configurator-access-editor-intro { display: grid; }
  .configurator-access-editor-intro > div { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .configurator-access-option > summary, .configurator-access-save { align-items: flex-start; flex-direction: column; }
  .configurator-access-save .btn { width: 100%; }
}
.configurator-rule-check.blocked-by-group span { opacity: .35; cursor: not-allowed; }

/* v3.8 — mapeamento simples de ramificações */
.simple-branch-notice { display:flex; gap:10px; align-items:center; margin:14px 0; padding:11px 13px; border-left:4px solid var(--red); background:#f5f5f3; color:#555; font-size:.72rem; }
.simple-branch-notice strong { color:#181818; white-space:nowrap; }
.simple-branch-step { margin-top:14px; padding:14px; border:1px solid #d8d8d4; background:#fff; }
.simple-branch-step-title { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
.simple-branch-step-title > span { flex:0 0 30px; width:30px; height:30px; display:grid; place-items:center; background:#181818; color:#fff; font-size:.72rem; font-weight:800; }
.simple-branch-step-title strong, .simple-branch-step-title small { display:block; }
.simple-branch-step-title strong { font-size:.83rem; color:#181818; }
.simple-branch-step-title small { margin-top:2px; color:#777; font-size:.63rem; }
.simple-branch-stage-tabs { display:flex; gap:7px; overflow-x:auto; padding-bottom:4px; }
.simple-branch-stage-tab { min-width:145px; display:flex; gap:8px; align-items:center; border:1px solid #d2d2d2; background:#f7f7f5; padding:9px 10px; color:#333; cursor:pointer; text-align:left; }
.simple-branch-stage-tab span { width:27px; height:27px; flex:0 0 27px; display:grid; place-items:center; background:#303030; color:#fff; font-size:.58rem; }
.simple-branch-stage-tab strong { font-size:.66rem; line-height:1.25; }
.simple-branch-stage-tab:hover, .simple-branch-stage-tab.active { border-color:var(--red); background:#fff1ef; color:#9d2211; }
.simple-branch-stage-tab.active span { background:var(--red); }
.simple-branch-source-options { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:8px; }
.simple-branch-source-card { min-width:0; display:grid; gap:4px; border:1px solid #d5d5d5; background:#fafafa; padding:11px; cursor:pointer; text-align:left; }
.simple-branch-source-card > span { width:max-content; padding:3px 6px; background:#e6f4ec; color:#087546; font-size:.5rem; font-weight:800; }
.simple-branch-source-card strong { font-size:.73rem; color:#181818; }
.simple-branch-source-card small { color:#777; font-size:.58rem; line-height:1.35; }
.simple-branch-source-card:hover, .simple-branch-source-card.active { border-color:var(--red); background:#fff4f2; }
.simple-branch-source-card.active { box-shadow:inset 4px 0 0 var(--red); }
.simple-branch-source-card.inactive { opacity:.58; }
.simple-branch-source-card.inactive > span { background:#ededed; color:#666; }
.simple-branch-current { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:11px; padding:9px 11px; background:#181818; color:#fff; }
.simple-branch-current span { color:#aaa; font-size:.6rem; text-transform:uppercase; letter-spacing:.08em; }
.simple-branch-current strong { font-size:.75rem; }
.simple-branch-targets { display:grid; gap:11px; }
.simple-branch-target-stage { border:1px solid #dadada; background:#f8f8f6; }
.simple-branch-target-stage > header { display:flex; gap:9px; align-items:center; padding:9px 11px; background:#303030; color:#fff; }
.simple-branch-target-stage > header > span { width:28px; height:28px; display:grid; place-items:center; background:var(--red); font-size:.58rem; }
.simple-branch-target-stage > header strong, .simple-branch-target-stage > header small { display:block; }
.simple-branch-target-stage > header strong { font-size:.72rem; }
.simple-branch-target-stage > header small { color:#aaa; font-size:.55rem; margin-top:1px; }
.simple-branch-target-grid { display:grid; grid-template-columns:repeat(3,minmax(190px,1fr)); gap:7px; padding:8px; }
.simple-branch-target-card { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; border:1px solid #d8d8d8; background:#fff; padding:9px; }
.simple-branch-target-card.enabled { border-left:4px solid #0b8b4b; }
.simple-branch-target-card.blocked { border-left:4px solid #cf2f24; background:#fff7f6; }
.simple-branch-target-card.globally-inactive { opacity:.58; }
.simple-branch-target-card strong, .simple-branch-target-card small { display:block; }
.simple-branch-target-card strong { font-size:.68rem; color:#181818; }
.simple-branch-target-card small { margin-top:3px; color:#777; font-size:.54rem; }
.simple-branch-toggle { width:116px; display:flex; align-items:center; justify-content:flex-start; gap:7px; border:0; padding:8px 9px; color:#fff; cursor:pointer; font:inherit; font-size:.56rem; font-weight:800; }
.simple-branch-toggle i { width:9px; height:9px; border-radius:50%; background:#fff; }
.simple-branch-toggle.enabled { background:#0b8b4b; }
.simple-branch-toggle.blocked { background:#c62d23; }
.simple-branch-toggle:disabled { opacity:.5; cursor:wait; }
.simple-branch-save-state { position:sticky; bottom:0; margin-top:12px; padding:10px 12px; border:1px solid #d5d5d5; background:rgba(255,255,255,.97); color:#666; font-size:.66rem; z-index:2; }
.simple-branch-save-state.saving { border-color:#c7a641; background:#fff9df; color:#725d11; }
.simple-branch-save-state.saved { border-color:#41a471; background:#eef9f3; color:#096d3f; }
.simple-branch-save-state.error { border-color:#d14a40; background:#fff0ee; color:#9d2219; }
.configurator-option-row-action-disabled { display:grid; place-items:center; color:#999; background:#eee; cursor:not-allowed; }

@media (max-width: 1180px) {
  .simple-branch-source-options { grid-template-columns:repeat(3,minmax(150px,1fr)); }
  .simple-branch-target-grid { grid-template-columns:repeat(2,minmax(190px,1fr)); }
}
@media (max-width: 760px) {
  .simple-branch-notice { display:grid; }
  .simple-branch-source-options, .simple-branch-target-grid { grid-template-columns:1fr; }
  .simple-branch-target-card { grid-template-columns:1fr; }
  .simple-branch-toggle { width:100%; justify-content:center; }
}

/* Configurador inteligente v4.0 */
.configurator-selection-status { white-space: nowrap; }
.configurator-selection-guide { display:flex; justify-content:space-between; gap:16px; align-items:center; margin:-8px 0 18px; padding:12px 14px; border-left:4px solid var(--red); background:#fff1ef; color:#5b211d; }
.configurator-selection-guide[hidden] { display:none; }
.configurator-selection-guide strong { font-size:.8rem; }
.configurator-selection-guide span { white-space:nowrap; padding:5px 8px; background:#181818; color:#fff; font-size:.64rem; font-weight:800; }
.configurator-selection-guide.complete { border-left-color:#0b8b4b; background:#edf8f2; color:#155b39; }
.configurator-selection-guide.complete span { background:#0b8b4b; }
.configurator-variant-family { cursor:default; }
.configurator-variant-family.disabled { opacity:.48; }
.configurator-color-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:2px 0 16px; }
.configurator-color-choice { min-width:0; display:grid; grid-template-columns:22px 1fr; column-gap:8px; row-gap:1px; align-items:center; padding:9px; border:1px solid #d9d9d9; background:#fff; color:#252525; text-align:left; cursor:pointer; }
.configurator-color-choice i { grid-row:1 / 3; width:22px; height:22px; border-radius:50%; background:var(--variant-color); border:2px solid #fff; box-shadow:0 0 0 1px #aaa; }
.configurator-color-choice span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.7rem; font-weight:800; }
.configurator-color-choice b { color:#888; font-size:.55rem; font-weight:600; }
.configurator-color-choice:hover { border-color:var(--red); background:#fff7f6; }
.configurator-color-choice.selected { border-color:var(--red); background:#fff0ee; box-shadow:inset 0 0 0 1px var(--red); }
.configurator-color-choice.selected b { color:var(--red); }
.configurator-color-choice.disabled { opacity:.32; cursor:not-allowed; }
.configurator-variant-family.selected > .configurator-option-check { opacity:1; transform:scale(1); }

/* Prévia modular em SVG */
.sprayer-visual-v4 { height:290px; --tank-scale:.86; --boom-scale:.75; background:radial-gradient(circle at 50% 34%,#373737 0,#1e1e1e 54%,#0f0f0f 100%); }
.sprayer-visual-v4 svg { width:100%; height:100%; display:block; overflow:visible; }
.visual-grid path { stroke:#fff; stroke-width:1; opacity:.055; }
.visual-tire { fill:#111; stroke:#555; stroke-width:5; }
.visual-rim { fill:#8a8a8a; stroke:#d0d0d0; stroke-width:4; }
.visual-tractor-body { fill:#d92c20; stroke:#6f1711; stroke-width:5; }
.visual-hitch-arm { fill:none; stroke:#bdbdbd; stroke-width:8; stroke-linecap:round; }
.visual-drawbar { fill:none; stroke:#bababa; stroke-width:10; stroke-linecap:round; }
.visual-machine { transform-origin:455px 260px; }
.visual-boom-layer { transform-origin:420px 153px; transform:scaleX(var(--boom-scale)); transition:transform .35s ease; }
.visual-boom-main,.visual-boom-brace,.visual-boom-tip { fill:none; stroke:#da291c; stroke-width:12; stroke-linecap:round; stroke-linejoin:round; filter:url(#redGlow); }
.visual-boom-brace { stroke-width:5; filter:none; opacity:.7; }
.visual-boom-tip { stroke-width:7; }
.visual-nozzle-line path { fill:none; stroke:#b8b8b8; stroke-width:3; stroke-dasharray:3 10; }
.visual-frame-upright { fill:none; stroke:#a5a5a5; stroke-width:8; }
.visual-tank-layer { transform-box:fill-box; transform-origin:center bottom; transform:scale(var(--tank-scale)); transition:transform .35s ease; }
.visual-tank-highlight { fill:none; stroke:#fff; stroke-width:5; opacity:.6; }
.visual-tank-cap { fill:#242424; stroke:#999; stroke-width:2; }
.visual-brand { fill:#da291c; font:900 26px/1 sans-serif; letter-spacing:2px; }
.visual-tank-text { fill:#181818; font:800 18px/1 sans-serif; }
.visual-pump-layer circle { fill:#222; stroke:#c3c3c3; stroke-width:5; }
.visual-pump-layer path { stroke:#da291c; stroke-width:5; }
.visual-pump-layer text { fill:#bdbdbd; font:700 10px/1 sans-serif; }
.visual-acoplado-stand path { stroke:#a8a8a8; stroke-width:8; stroke-linecap:round; }
.visual-nozzle-slots > g circle:first-child { fill:#1b1b1b; stroke:#d3d3d3; stroke-width:3; }
.visual-nozzle-slots > g .color { fill:#707070; stroke:#fff; stroke-width:1; transition:fill .25s; }
.visual-nozzle-slots > g.filled circle:first-child { stroke:#da291c; }
.visual-gps,.visual-lights { opacity:0; transition:opacity .25s; }
.visual-gps.visible,.visual-lights.visible { opacity:1; }
.visual-gps path,.visual-gps circle { fill:none; stroke:#da291c; stroke-width:5; stroke-linecap:round; }
.visual-lights rect { fill:#f6e46b; stroke:#fff; stroke-width:2; filter:url(#redGlow); }
.sprayer-visual-v4[data-mount="acoplado"] .visual-arrasto-wheels,.sprayer-visual-v4[data-mount="acoplado"] .visual-drawbar { display:none; }
.sprayer-visual-v4[data-mount="arrasto"] .visual-tractor,.sprayer-visual-v4[data-mount="arrasto"] .visual-acoplado-stand { display:none; }
.sprayer-visual-v4[data-mount="arrasto"] .visual-machine { transform:translateX(-22px); }
.sprayer-visual-v4[data-mount="acoplado"] .visual-machine { transform:translateX(52px) scale(.92); }
.visual-mode-label { position:absolute; left:14px; top:14px; display:grid; gap:4px; pointer-events:none; }
.visual-mode-label span { width:max-content; padding:5px 8px; background:var(--red); color:#fff; font-size:.58rem; font-weight:900; letter-spacing:.11em; }
.visual-mode-label strong { color:#ddd; font-size:.58rem; letter-spacing:.06em; }
.visual-live-tags { position:absolute; left:12px; right:12px; bottom:10px; display:flex; flex-wrap:wrap; gap:5px; pointer-events:none; }
.visual-live-tags span { padding:4px 6px; background:rgba(0,0,0,.72); border:1px solid #444; color:#ddd; font-size:.52rem; }
.configurator-live-specs { grid-template-columns:repeat(2,1fr); }

/* Regra dinâmica no painel */
.configurator-selection-effect { grid-column:1 / -1; border:1px solid #e0e0e0; background:#fafafa; }
.configurator-selection-effect > summary { display:flex; align-items:center; gap:9px; cursor:pointer; list-style:none; padding:9px 12px; }
.configurator-selection-effect > summary::-webkit-details-marker { display:none; }
.configurator-selection-effect > summary span { width:25px; height:25px; display:grid; place-items:center; background:#181818; color:#fff; }
.configurator-selection-effect > summary strong { font-size:.72rem; }
.configurator-selection-effect > summary small { margin-left:auto; color:#777; font-size:.62rem; }
.configurator-selection-effect-grid { display:grid; grid-template-columns:minmax(220px,1.4fr) minmax(130px,.5fr) minmax(130px,.5fr); gap:12px; padding:12px; border-top:1px solid #e1e1e1; background:#fff; }
.configurator-selection-effect-grid .form-group { margin:0; }
.configurator-selection-effect-grid select,.configurator-selection-effect-grid input { width:100%; height:42px; }
.configurator-selection-effect-grid p { grid-column:1 / -1; margin:0; padding:8px 10px; background:#fff1ef; color:#6d302b; font-size:.65rem; }

/* Famílias e cores dos bicos no admin */
.nozzle-color-admin { margin-top:24px; border-top:4px solid var(--red); }
.nozzle-family-admin-list { display:grid; gap:10px; }
.nozzle-family-admin { border:1px solid #ddd; }
.nozzle-family-admin > summary { display:flex; justify-content:space-between; align-items:center; cursor:pointer; list-style:none; padding:14px 16px; background:#f7f7f7; }
.nozzle-family-admin > summary::-webkit-details-marker { display:none; }
.nozzle-family-admin > summary strong,.nozzle-family-admin > summary small { display:block; }
.nozzle-family-admin > summary small { margin-top:3px; color:#777; font-size:.65rem; }
.nozzle-family-admin-body { padding:14px; }
.nozzle-variant-admin-head,.nozzle-variant-admin-row { display:grid; grid-template-columns:48px 58px minmax(150px,1fr) minmax(125px,.7fr) minmax(120px,.6fr) 90px 150px; gap:8px; align-items:center; min-width:900px; }
.nozzle-variant-admin-head { padding:0 3px 7px; color:#777; font-size:.59rem; text-transform:uppercase; }
.nozzle-variant-admin-row { padding:7px 3px; border-top:1px solid #eee; }
.nozzle-variant-admin-row input[type="color"] { width:46px; height:42px; border:1px solid #ccc; padding:3px; background:#fff; }
.nozzle-variant-admin-row .input { height:42px; }
.nozzle-new-color-form { display:grid; grid-template-columns:130px 58px minmax(150px,1fr) minmax(125px,.7fr) minmax(120px,.6fr) 155px; gap:8px; align-items:center; margin-top:13px; padding:12px; background:#fff5f3; border:1px dashed #da291c; min-width:850px; }
.nozzle-new-color-form input[type="color"] { width:46px; height:42px; }
.nozzle-family-admin-body { overflow-x:auto; }
.btn-small { min-height:36px; padding:8px 10px; font-size:.62rem; }

@media (max-width:780px) {
  .configurator-color-choices { grid-template-columns:1fr; }
  .sprayer-visual-v4 { height:250px; }
  .configurator-selection-guide { display:grid; }
  .configurator-selection-guide span { justify-self:start; }
  .configurator-selection-effect { grid-column:3; }
  .configurator-selection-effect > summary { display:grid; grid-template-columns:26px 1fr; }
  .configurator-selection-effect > summary small { grid-column:2; margin-left:0; }
  .configurator-selection-effect-grid { grid-template-columns:1fr; }
  .configurator-selection-effect-grid p { grid-column:1; }
}

/* v4.0: families without active colors remain informative, never misleadingly clickable. */
.configurator-option-unavailable {
  opacity: .58;
  cursor: not-allowed;
  border-style: dashed;
}
.configurator-option-unavailable .configurator-option-reason {
  display: block;
  margin-top: 14px;
}

/* Configurador v4.1 — regras simples e exclusivas */
.configurator-simple-rule {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #dedede;
  border-left: 4px solid #181818;
  background: #fafafa;
}
.configurator-simple-rule > div > span,
.configurator-simple-rule label > span {
  display: block;
  color: #777;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.configurator-simple-rule strong,
.configurator-simple-rule small { display: block; }
.configurator-simple-rule strong { margin: 3px 0; color: #181818; font-size: .78rem; }
.configurator-simple-rule small { color: #666; font-size: .65rem; line-height: 1.45; }
.configurator-simple-rule label { margin: 0; }
.configurator-simple-rule label .input { height: 44px; margin-top: 5px; text-align: center; font-weight: 800; }
.configurator-holder-rule { border-left-color: var(--red); background: #fff7f6; }
.configurator-boom-rule { border-left-color: #17734a; background: #f3faf6; }
.configurator-summary-item small { display:block; margin-top:3px; color:#8d8d8d; font-size:.56rem; line-height:1.35; }
@media (max-width: 780px) {
  .configurator-simple-rule { grid-column: 3; grid-template-columns: 1fr; gap: 10px; }
}


/* v4.3 — refinamentos visuais no admin do configurador */
.nozzle-family-admin-list { display: grid; gap: 14px; }
.nozzle-family-admin { border: 1px solid #ddd; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.nozzle-family-admin > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; cursor: pointer; list-style: none; padding: 16px 18px; background: linear-gradient(180deg,#fbfbfb 0%,#f5f5f5 100%); }
.nozzle-family-admin > summary::-webkit-details-marker { display: none; }
.nozzle-family-admin > summary::marker { content: ''; }
.nozzle-family-summary-main strong, .nozzle-family-summary-main small { display: block; }
.nozzle-family-summary-main strong { font-size: 1.02rem; color: #181818; }
.nozzle-family-summary-main small { margin-top: 4px; color: #777; font-size: .72rem; }
.nozzle-family-summary-meta { display: grid; justify-items: end; gap: 6px; }
.nozzle-family-count { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid #ddd; color: #333; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nozzle-family-swatches { display: flex; align-items: center; gap: 6px; }
.nozzle-family-swatches i { width: 18px; height: 18px; border-radius: 999px; background: var(--swatch); border: 2px solid #fff; box-shadow: 0 0 0 1px #cfcfcf; }
.nozzle-family-swatches span { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 999px; background: #ededed; color: #444; font-size: .68rem; font-weight: 800; }
.nozzle-family-chevron { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid #ddd; background: #fff; color: #444; transition: transform .2s ease; }
.nozzle-family-admin[open] .nozzle-family-chevron { transform: rotate(180deg); }
.nozzle-family-admin-body { padding: 18px; overflow-x: auto; background: #fcfcfc; }
.nozzle-family-help { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; margin-bottom: 12px; border: 1px solid #ececec; border-left: 4px solid var(--red); background: #fff; }
.nozzle-family-help strong, .nozzle-family-help small { display: block; }
.nozzle-family-help strong { font-size: .88rem; color: #181818; }
.nozzle-family-help small { margin-top: 4px; color: #666; font-size: .72rem; line-height: 1.45; }
.nozzle-family-help span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(218,41,28,.09); color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.nozzle-variant-admin-head, .nozzle-variant-admin-row { min-width: 980px; }
.nozzle-variant-admin-head { padding: 10px 12px; background: #181818; color: #fff; font-size: .61rem; letter-spacing: .06em; border-radius: 12px 12px 0 0; }
.nozzle-variant-admin-row { padding: 10px 12px; border: 1px solid #ececec; border-top: 0; background: #fff; }
.nozzle-variant-admin-row:last-of-type { border-radius: 0 0 12px 12px; }
.nozzle-variant-admin-row .row { justify-content: flex-end; }
.nozzle-variant-admin-row input[type="color"] { width: 48px; height: 42px; border-radius: 10px; overflow: hidden; }
.nozzle-new-color-form { min-width: 980px; margin-top: 16px; padding: 16px; border-radius: 14px; background: #fff6f4; border: 1px dashed #da291c; }
.nozzle-new-color-form strong { color: #8f2018; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.nozzle-new-color-form input[type="color"] { width: 48px; height: 42px; border-radius: 10px; overflow: hidden; }

.configurator-admin-option-row .configurator-simple-rule,
.configurator-admin-option-row-new .configurator-simple-rule {
  grid-column: 3 / -1 !important;
  width: 100%;
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(280px, 1.3fr) minmax(250px, .9fr) !important;
  gap: 14px;
  align-items: stretch;
  padding: 14px 16px;
  margin: 8px 0 4px;
  border-radius: 14px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}
.configurator-admin-option-row .configurator-simple-rule > div,
.configurator-admin-option-row-new .configurator-simple-rule > div { min-width: 0; display: grid; align-content: center; gap: 4px; }
.configurator-admin-option-row .configurator-simple-rule > div > span,
.configurator-admin-option-row-new .configurator-simple-rule > div > span { color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.configurator-admin-option-row .configurator-simple-rule strong,
.configurator-admin-option-row-new .configurator-simple-rule strong { display: block; margin: 0; color: #181818; font-size: .9rem; line-height: 1.28; }
.configurator-admin-option-row .configurator-simple-rule small,
.configurator-admin-option-row-new .configurator-simple-rule small { display: block; color: #666; font-size: .72rem; line-height: 1.45; }
.configurator-admin-option-row .configurator-simple-rule label,
.configurator-admin-option-row-new .configurator-simple-rule label { display: grid; grid-template-columns: minmax(150px, 1fr) 110px; gap: 0; align-items: stretch; margin: 0; min-width: 0; }
.configurator-admin-option-row .configurator-simple-rule label > span,
.configurator-admin-option-row-new .configurator-simple-rule label > span { display: flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #d7d7d7; border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: #444; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-align: center; }
.configurator-admin-option-row .configurator-simple-rule label .input,
.configurator-admin-option-row-new .configurator-simple-rule label .input { height: 52px; margin: 0; border-radius: 0 10px 10px 0; text-align: center; font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.configurator-admin-option-row .configurator-holder-rule,
.configurator-admin-option-row-new .configurator-holder-rule { border-left: 4px solid var(--red); background: #fff7f6; }
.configurator-admin-option-row .configurator-boom-rule,
.configurator-admin-option-row-new .configurator-boom-rule { border-left: 4px solid #17734a; background: #f3faf6; }

@media (max-width: 980px) {
  .nozzle-family-admin > summary { grid-template-columns: 1fr auto; }
  .nozzle-family-summary-meta { grid-column: 1 / -1; justify-items: start; }
  .nozzle-family-chevron { grid-column: 2; grid-row: 1; }
  .nozzle-family-help { display: grid; }
  .configurator-admin-option-row .configurator-simple-rule,
  .configurator-admin-option-row-new .configurator-simple-rule { grid-template-columns: 1fr !important; }
  .configurator-admin-option-row .configurator-simple-rule label,
  .configurator-admin-option-row-new .configurator-simple-rule label { grid-template-columns: 1fr 110px; }
}

/* v4.4 — capacidade automática do porta-bico */
.configurator-auto-count {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 82px;
  grid-template-rows: 34px 18px;
  align-items: stretch;
  min-width: 0;
}
.configurator-auto-count > span {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d7d7d7;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #fff;
  color: #444;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}
.configurator-auto-count > strong {
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid #d7d7d7;
  border-bottom: 0;
  border-radius: 0 10px 0 0;
  background: #181818;
  color: #fff !important;
  font-size: 1.15rem !important;
  font-variant-numeric: tabular-nums;
}
.configurator-auto-count > small {
  display: grid !important;
  place-items: center;
  padding: 0 5px;
  border: 1px solid #d7d7d7;
  border-top: 0;
  border-radius: 0 0 10px 0;
  background: #fff;
  color: #777 !important;
  font-size: .54rem !important;
  text-align: center;
}
@media (max-width: 980px) {
  .configurator-auto-count { grid-template-columns: 1fr 82px; }
}

/* v4.6 — cadastro completo das famílias de bicos */
.nozzle-new-family-form {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--red);
  border-radius: 16px;
  background: linear-gradient(135deg,#fff8f7,#fff);
}
.nozzle-new-family-title,
.nozzle-family-edit-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.nozzle-new-family-title { justify-content: flex-start; }
.nozzle-new-family-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}
.nozzle-new-family-title strong,
.nozzle-new-family-title small,
.nozzle-family-edit-title strong,
.nozzle-family-edit-title span { display: block; }
.nozzle-new-family-title strong { font-size: .95rem; }
.nozzle-new-family-title small { margin-top: 3px; color: #666; font-size: .7rem; }
.nozzle-family-edit-form {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fff;
}
.nozzle-family-edit-title > div > span {
  color: var(--red);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nozzle-family-edit-title > div > strong { margin-top: 3px; font-size: .9rem; }
.nozzle-family-edit-grid {
  display: grid;
  grid-template-columns: minmax(190px,1.2fr) minmax(150px,.75fr) minmax(160px,.75fr) minmax(160px,.75fr);
  gap: 12px;
  align-items: end;
}
.nozzle-family-edit-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.nozzle-family-edit-grid label > span {
  color: #555;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nozzle-family-edit-grid .wide { grid-column: 1 / 4; }
.nozzle-family-edit-grid .input { width: 100%; height: 46px; min-width: 0; }
.nozzle-family-edit-grid .btn { min-height: 46px; }
.nozzle-family-active {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #333;
  font-size: .72rem;
  font-weight: 700;
}
.nozzle-family-active input { width: 18px; height: 18px; accent-color: var(--red); }
.nozzle-money-input { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.nozzle-family-price-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f4f2;
  color: #555;
  font-size: .7rem;
}
.nozzle-price-formula {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #181818;
  color: #fff;
}
.nozzle-price-formula strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.nozzle-price-formula span { color: #d4d4d4; font-size: .72rem; text-align: right; }
.nozzle-family-summary-meta::before {
  content: 'Valor base configurável';
  color: #777;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 1180px) {
  .nozzle-family-edit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nozzle-family-edit-grid .wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .configurator-intro-grid { grid-template-columns: 1fr; } .configurator-intro-card > .btn { width: 100%; }
  .nozzle-family-edit-grid { grid-template-columns: 1fr; }
  .nozzle-family-edit-grid .wide { grid-column: auto; }
  .nozzle-new-family-title, .nozzle-family-edit-title, .nozzle-price-formula { display: grid; }
  .nozzle-price-formula span { text-align: left; }
}
.nozzle-family-base-price {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #181818;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.nozzle-family-summary-meta::before { display: none; }

/* v4.8 — ajuste de proporção na etapa de bicos */
[data-config-group="nozzle"] .configurator-options,
[data-config-group="nozzle"] .configurator-options.dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
[data-config-group="nozzle"] .configurator-option {
  min-height: 470px;
  padding: 20px 20px 18px;
  overflow: hidden;
}
[data-config-group="nozzle"] .configurator-option > strong {
  display: block;
  max-width: calc(100% - 42px);
  padding-right: 6px;
  line-height: 1.22;
  font-size: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
[data-config-group="nozzle"] .configurator-option > p {
  margin: 10px 0 14px;
  min-height: 72px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
[data-config-group="nozzle"] .configurator-option-badge {
  margin-right: 42px;
}
[data-config-group="nozzle"] .configurator-color-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 14px;
}
[data-config-group="nozzle"] .configurator-color-choice {
  min-height: 58px;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 9px;
  row-gap: 3px;
  align-items: center;
  padding: 9px 10px;
}
[data-config-group="nozzle"] .configurator-color-choice i {
  grid-row: 1 / 3;
}
[data-config-group="nozzle"] .configurator-color-choice span {
  white-space: normal;
  line-height: 1.18;
  overflow-wrap: anywhere;
  word-break: break-word;
}
[data-config-group="nozzle"] .configurator-color-choice b {
  display: block;
  grid-column: 2;
  line-height: 1.1;
  white-space: nowrap;
}
[data-config-group="nozzle"] .configurator-option-price {
  margin-top: auto;
  line-height: 1.35;
}
[data-config-group="nozzle"] .configurator-selection-guide {
  align-items: start;
}
@media (max-width: 1320px) {
  [data-config-group="nozzle"] .configurator-options,
  [data-config-group="nozzle"] .configurator-options.dense {
    grid-template-columns: 1fr;
  }
  [data-config-group="nozzle"] .configurator-option {
    min-height: auto;
  }
}


/* v4.9 — seleção assistida de bicos pelo técnico */
.configurator-technician-family.selected { grid-column: 1 / -1; min-height: auto !important; }
.technician-nozzle-form {
  display: grid;
  gap: 14px;
  margin: 8px 0 16px;
  padding: 18px;
  border: 1px solid #e0b3ae;
  border-left: 4px solid var(--red);
  background: #fff8f7;
}
.technician-nozzle-form[hidden] { display: none !important; }
.technician-nozzle-form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.technician-nozzle-form-head > div span,
.technician-nozzle-form-head > div strong,
.technician-nozzle-form-head > div small { display: block; }
.technician-nozzle-form-head > div span { color: var(--red); font-size: .62rem; font-weight: 900; letter-spacing: .09em; }
.technician-nozzle-form-head > div strong { margin-top: 4px; color: #181818; font-size: 1rem; }
.technician-nozzle-form-head > div small { margin-top: 5px; color: #666; font-size: .72rem; line-height: 1.45; }
.technician-nozzle-form-head em { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #e4c7c4; background: #fff; color: #8b2b24; font-size: .62rem; font-style: normal; font-weight: 800; }
.technician-nozzle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.technician-nozzle-grid label { display: grid; gap: 6px; min-width: 0; }
.technician-nozzle-grid label > span { color: #444; font-size: .68rem; font-weight: 800; }
.technician-nozzle-grid .input,
.technician-nozzle-grid select,
.technician-nozzle-grid textarea { width: 100%; min-width: 0; border: 1px solid #d5d5d5; background: #fff; color: #181818; border-radius: 0; }
.technician-nozzle-grid .input, .technician-nozzle-grid select { height: 46px; padding: 0 12px; }
.technician-nozzle-grid textarea { min-height: 78px; padding: 11px 12px; resize: vertical; }
.technician-nozzle-full { grid-column: 1 / -1; }
.technician-nozzle-calculation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #d9d9d9; border: 1px solid #d9d9d9; }
.technician-nozzle-calculation > div { min-width: 0; padding: 12px 14px; background: #181818; color: #fff; }
.technician-nozzle-calculation > div span, .technician-nozzle-calculation > div strong { display: block; }
.technician-nozzle-calculation > div span { color: #929292; font-size: .58rem; letter-spacing: .07em; text-transform: uppercase; }
.technician-nozzle-calculation > div strong { margin-top: 4px; font-size: .92rem; color: #fff; }
.technician-nozzle-calculation > small { grid-column: 1 / -1; padding: 9px 12px; background: #f0f0ee; color: #555; font-size: .63rem; }
@media (max-width: 1050px) {
  .technician-nozzle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technician-nozzle-calculation { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .technician-nozzle-form-head { display: grid; }
  .technician-nozzle-form-head em { justify-self: start; }
  .technician-nozzle-grid { grid-template-columns: 1fr; }
  .technician-nozzle-full { grid-column: auto; }
}
.quote-technician-data { display:grid; gap:4px; margin-top:10px; padding:10px 12px; border-left:3px solid var(--red); background:#fff2f0; color:#4d2926; }
.quote-technician-data > strong { margin-bottom:3px; color:#181818; }
.quote-technician-data > span { font-size:.68rem; line-height:1.35; }

/* v5.0 — cálculo automático de bicos ativos */
.technician-nozzle-candidates {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-left: 4px solid #17734a;
  background: #f4faf6;
}
.technician-nozzle-candidates[hidden] { display: none !important; }
.technician-nozzle-candidates > header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.technician-nozzle-candidates > header span,
.technician-nozzle-candidates > header strong,
.technician-nozzle-candidates > header small { display:block; }
.technician-nozzle-candidates > header span { color:#17734a; font-size:.62rem; font-weight:900; letter-spacing:.09em; }
.technician-nozzle-candidates > header strong { margin-top:4px; color:#181818; font-size:1rem; }
.technician-nozzle-candidates > header small { margin-top:5px; color:#666; font-size:.7rem; line-height:1.45; }
.technician-nozzle-candidates > header em { flex:0 0 auto; padding:7px 10px; border:1px solid #b8dac8; background:#fff; color:#17613f; font-size:.64rem; font-style:normal; font-weight:800; }
.technician-candidate-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.technician-candidate-card { min-width:0; display:grid; gap:10px; padding:13px; border:1px solid #d7dfda; background:#fff; color:#181818; text-align:left; cursor:pointer; transition:border-color .15s, box-shadow .15s, transform .15s; }
.technician-candidate-card:hover { border-color:#17734a; transform:translateY(-1px); box-shadow:0 7px 18px rgba(23,115,74,.10); }
.technician-candidate-card.selected { border-color:#17734a; box-shadow:inset 0 0 0 2px #17734a; }
.technician-candidate-rank { justify-self:start; padding:4px 7px; background:#181818; color:#fff; font-size:.56rem; font-weight:900; letter-spacing:.07em; }
.technician-candidate-card:first-child .technician-candidate-rank { background:#17734a; }
.technician-candidate-name { display:grid; grid-template-columns:28px minmax(0,1fr); gap:9px; align-items:center; }
.technician-candidate-name i { width:24px; height:24px; border-radius:50%; background:var(--candidate-color); border:2px solid #fff; box-shadow:0 0 0 1px #aaa; }
.technician-candidate-name strong,.technician-candidate-name small { display:block; overflow-wrap:anywhere; }
.technician-candidate-name strong { font-size:.8rem; line-height:1.25; }
.technician-candidate-name small { margin-top:3px; color:#777; font-size:.62rem; }
.technician-candidate-card dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:0; background:#ddd; border:1px solid #ddd; }
.technician-candidate-card dl div { min-width:0; padding:8px; background:#f8f8f8; }
.technician-candidate-card dt { color:#777; font-size:.55rem; text-transform:uppercase; letter-spacing:.05em; }
.technician-candidate-card dd { margin:3px 0 0; color:#181818; font-size:.68rem; font-weight:800; overflow-wrap:anywhere; }
.technician-candidate-card > em { color:#17734a; font-size:.68rem; font-style:normal; font-weight:800; }
.technician-nozzle-candidates > p { margin:0; padding:12px; border:1px dashed #c8a55a; background:#fff9e9; color:#765a1c; font-size:.72rem; line-height:1.45; }

.nozzle-variant-admin-head-v5,
.nozzle-variant-admin-row {
  grid-template-columns:48px 58px minmax(140px,1fr) minmax(110px,.7fr) 82px 120px 118px 110px 76px 150px !important;
  min-width:1260px !important;
}
.nozzle-new-color-form {
  grid-template-columns:120px 58px minmax(135px,1fr) minmax(110px,.7fr) 100px 130px 120px 120px 150px !important;
  min-width:1200px !important;
}
.nozzle-family-edit-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.nozzle-family-edit-grid .wide { grid-column:span 2; }

@media (max-width:1100px) {
  .technician-candidate-list { grid-template-columns:1fr; }
  .nozzle-family-edit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .technician-nozzle-candidates > header { display:grid; }
  .technician-nozzle-candidates > header em { justify-self:start; }
  .technician-candidate-card dl { grid-template-columns:1fr; }
  .nozzle-family-edit-grid { grid-template-columns:1fr; }
  .nozzle-family-edit-grid .wide { grid-column:auto; }
}


/* v5.1 — calculadora pública de bicos */
.nav-nozzle-calculator-link { position: relative; color: #fff !important; }
.nav-nozzle-calculator-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--red); transform: scaleX(.35); transition: transform .2s ease; }
.nav-nozzle-calculator-link:hover::after, .nav-nozzle-calculator-link.active::after { transform: scaleX(1); }
.nozzle-calculator-page { background: #f4f4f2; }
.nozzle-calc-hero { padding: 76px 0 62px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(218,41,28,.22), transparent 32%), linear-gradient(135deg,#111 0,#242424 70%,#171717 100%); overflow: hidden; }
.nozzle-calc-hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 70px; align-items: center; }
.nozzle-calc-hero h1 { margin: 10px 0 18px; max-width: 760px; font-size: clamp(2.7rem,5vw,5.2rem); line-height: .92; letter-spacing: -.045em; }
.nozzle-calc-hero p { max-width: 740px; color: #c6c6c6; font-size: 1rem; line-height: 1.75; }
.nozzle-calc-catalog-status { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nozzle-calc-catalog-status span { padding: 10px 14px; border: 1px solid #444; background: rgba(255,255,255,.04); color: #aaa; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.nozzle-calc-catalog-status strong { color: #fff; font-size: 1rem; margin-right: 5px; }
.nozzle-calc-formula-card { position: relative; padding: 34px; border: 1px solid #4b4b4b; background: rgba(0,0,0,.35); box-shadow: 18px 18px 0 rgba(218,41,28,.13); }
.nozzle-calc-formula-card::before { content: "Q"; position: absolute; right: 18px; top: -28px; color: rgba(255,255,255,.06); font-size: 9rem; font-weight: 900; line-height: 1; }
.nozzle-calc-formula-card span { color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.nozzle-calc-formula-card strong { display: block; margin: 17px 0 10px; font-size: 1.35rem; line-height: 1.4; }
.nozzle-calc-formula-card p { margin: 0; color: #999; font-size: .76rem; line-height: 1.6; }
.nozzle-calc-section { padding: 64px 0 78px; }
.nozzle-calc-layout { display: grid; grid-template-columns: minmax(420px,.9fr) minmax(0,1.1fr); gap: 24px; align-items: start; }
.nozzle-calc-form, .nozzle-calc-results { border: 1px solid #dededb; background: #fff; box-shadow: 0 16px 42px rgba(0,0,0,.06); }
.nozzle-calc-form { padding: 30px; }
.nozzle-calc-form-head { display: flex; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #e5e5e2; }
.nozzle-calc-form-head > span, .nozzle-calc-empty > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900; font-size: .72rem; }
.nozzle-calc-form-head h2, .nozzle-calc-empty h2, .nozzle-calc-result-head h2 { margin: 0 0 5px; font-size: 1.35rem; }
.nozzle-calc-form-head p, .nozzle-calc-empty p { margin: 0; color: #777; font-size: .78rem; line-height: 1.5; }
.nozzle-calc-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 14px; padding-top: 24px; }
.nozzle-calc-form-grid label { min-width: 0; display: block; }
.nozzle-calc-form-grid label > span { display: block; margin-bottom: 7px; color: #333; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.nozzle-calc-form-grid input, .nozzle-calc-form-grid select { width: 100%; height: 48px; border: 1px solid #d6d6d3; background: #fafaf9; padding: 0 12px; color: #222; font: inherit; outline: none; }
.nozzle-calc-form-grid input:focus, .nozzle-calc-form-grid select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,41,28,.08); }
.nozzle-calc-form-grid small { display: block; margin-top: 5px; color: #929292; font-size: .61rem; line-height: 1.35; }
.nozzle-calc-form-grid .full { grid-column: 1 / -1; }
.unit-input { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.unit-input input { border-right: 0; }
.unit-input b { min-width: 52px; display: grid; place-items: center; padding: 0 9px; border: 1px solid #d6d6d3; background: #202020; color: #fff; font-size: .66rem; }
.nozzle-calc-submit { width: 100%; margin-top: 24px; min-height: 54px; display: flex; justify-content: space-between; align-items: center; }
.nozzle-calc-submit.loading { opacity: .7; cursor: wait; }
.nozzle-calc-form-message { min-height: 20px; margin: 10px 0 0; color: #1d7047; font-size: .72rem; }
.nozzle-calc-form-message.error { color: #a8241b; }
.nozzle-calc-results { min-height: 560px; padding: 30px; position: sticky; top: 104px; }
.nozzle-calc-empty { min-height: 500px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; }
.nozzle-calc-empty > span { margin-bottom: 22px; }
.nozzle-calc-empty p { max-width: 440px; }
.nozzle-calc-empty-icon { position: absolute; right: -14px; bottom: -76px; color: #f1f1ef; font-size: 25rem; line-height: 1; font-weight: 900; z-index: -0; }
.nozzle-calc-result-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.nozzle-calc-result-head span { color: var(--red); font-size: .64rem; font-weight: 900; letter-spacing: .1em; }
.nozzle-calc-reset { border: 0; background: none; color: #777; font-size: .65rem; font-weight: 800; cursor: pointer; text-decoration: underline; }
.nozzle-calc-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #dfdfdc; margin-bottom: 20px; }
.nozzle-calc-metrics > div { min-width: 0; padding: 17px; border-right: 1px solid #dfdfdc; background: #f8f8f6; }
.nozzle-calc-metrics > div:last-child { border-right: 0; }
.nozzle-calc-metrics span, .nozzle-calc-metrics small { display: block; color: #838383; font-size: .59rem; text-transform: uppercase; letter-spacing: .05em; }
.nozzle-calc-metrics strong { display: block; margin: 5px 0 2px; color: #191919; font-size: 1.38rem; line-height: 1; overflow-wrap: anywhere; }
.nozzle-calc-best { margin-bottom: 20px; }
.nozzle-calc-list-head { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 10px; color: #6f6f6f; font-size: .62rem; letter-spacing: .06em; }
.nozzle-calc-candidates { display: grid; gap: 9px; max-height: 370px; overflow: auto; padding-right: 3px; }
.nozzle-calc-candidate { display: grid; grid-template-columns: 44px minmax(0,1fr) minmax(205px,.75fr); gap: 13px; align-items: center; padding: 14px; border: 1px solid #dfdfdc; background: #fff; }
.nozzle-calc-candidate.is-best { border: 2px solid var(--red); background: #fff7f6; box-shadow: 0 9px 24px rgba(218,41,28,.09); }
.nozzle-calc-candidate-color { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #262626; }
.nozzle-calc-candidate-color i { width: 22px; height: 22px; border-radius: 50%; background: var(--nozzle-color); border: 2px solid #fff; box-shadow: 0 0 0 1px #aaa; }
.nozzle-calc-candidate-main { min-width: 0; }
.nozzle-calc-candidate-main > span { color: var(--red); font-size: .54rem; font-weight: 900; letter-spacing: .07em; }
.nozzle-calc-candidate-main h3 { margin: 3px 0; font-size: .88rem; line-height: 1.25; overflow-wrap: anywhere; }
.nozzle-calc-candidate-main p { margin: 0; color: #818181; font-size: .64rem; }
.nozzle-calc-candidate-data { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.nozzle-calc-candidate-data div { min-width: 0; padding-left: 8px; border-left: 1px solid #e1e1df; }
.nozzle-calc-candidate-data span { display: block; color: #888; font-size: .52rem; text-transform: uppercase; }
.nozzle-calc-candidate-data strong { display: block; margin-top: 3px; font-size: .66rem; white-space: nowrap; }
.nozzle-calc-no-match { padding: 25px; border-left: 4px solid var(--red); background: #fff1ef; }
.nozzle-calc-no-match p { margin-bottom: 0; color: #75413d; font-size: .76rem; }
.nozzle-calc-whatsapp { width: 100%; margin-top: 20px; }
.nozzle-calc-disclaimer { margin: 12px 0 0; color: #848484; font-size: .62rem; line-height: 1.5; }
.nozzle-calc-how { padding: 72px 0; background: #1b1b1b; color: #fff; }
.nozzle-calc-how .section-heading h2 { color: #fff; }
.nozzle-calc-how-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 30px; background: #3b3b3b; }
.nozzle-calc-how-grid article { min-height: 215px; padding: 26px; background: #242424; }
.nozzle-calc-how-grid article > span { color: var(--red); font-size: .65rem; font-weight: 900; }
.nozzle-calc-how-grid h3 { margin: 42px 0 10px; font-size: .95rem; }
.nozzle-calc-how-grid p { color: #999; font-size: .72rem; line-height: 1.6; }
@media (max-width: 1180px) {
  .nozzle-calc-hero-grid, .nozzle-calc-layout { grid-template-columns: 1fr; }
  .nozzle-calc-results { position: static; min-height: 0; }
  .nozzle-calc-empty { min-height: 300px; }
  .nozzle-calc-how-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .nozzle-calc-hero { padding: 52px 0 44px; }
  .nozzle-calc-hero-grid { gap: 32px; }
  .nozzle-calc-formula-card, .nozzle-calc-form, .nozzle-calc-results { padding: 21px; }
  .nozzle-calc-form-grid { grid-template-columns: 1fr; }
  .nozzle-calc-form-grid .full { grid-column: auto; }
  .nozzle-calc-metrics { grid-template-columns: 1fr; }
  .nozzle-calc-metrics > div { border-right: 0; border-bottom: 1px solid #dfdfdc; }
  .nozzle-calc-metrics > div:last-child { border-bottom: 0; }
  .nozzle-calc-candidate { grid-template-columns: 40px minmax(0,1fr); }
  .nozzle-calc-candidate-data { grid-column: 1 / -1; }
  .nozzle-calc-how-grid { grid-template-columns: 1fr; }
}


/* v5.2 — aviso de estoque e fotos reais das pontas */
.nozzle-stock-notice,.nozzle-result-stock-note,.technician-stock-notice { display:grid; gap:4px; padding:13px 15px; border-left:4px solid #e12b20; background:#fff2f0; color:#4f1b17; }
.nozzle-stock-notice { margin-top:16px; max-width:760px; }
.nozzle-stock-notice strong,.nozzle-result-stock-note strong,.technician-stock-notice strong { font-size:.68rem; letter-spacing:.07em; }
.nozzle-stock-notice span,.nozzle-result-stock-note span,.technician-stock-notice span { font-size:.72rem; line-height:1.45; }
.nozzle-result-stock-note { margin:14px 0; border:1px solid #f0cbc7; border-left:4px solid #e12b20; }
.technician-stock-notice { margin:14px 0 0; }
.nozzle-calc-candidate { grid-template-columns:82px minmax(0,1fr) minmax(205px,.75fr); }
.nozzle-calc-candidate-photo { position:relative; width:76px; height:76px; display:grid; place-items:center; overflow:hidden; border:1px solid #dededb; background:#fff; }
.nozzle-calc-candidate-photo img { width:100%; height:100%; object-fit:contain; padding:5px; }
.nozzle-calc-candidate-photo > span { padding:7px; color:#999; font-size:.46rem; font-weight:800; text-align:center; }
.nozzle-calc-candidate-photo > i { position:absolute; right:5px; bottom:5px; width:16px; height:16px; border-radius:50%; background:var(--nozzle-color); border:2px solid #fff; box-shadow:0 0 0 1px #aaa; }
.technician-candidate-name { grid-template-columns:64px minmax(0,1fr); }
.technician-candidate-name > i { display:none; }
.technician-candidate-photo { position:relative; width:58px; height:58px; display:grid; place-items:center; overflow:hidden; border:1px solid #ddd; background:#fff; }
.technician-candidate-photo img { width:100%; height:100%; object-fit:contain; padding:4px; }
.technician-candidate-photo span { padding:5px; color:#999; font-size:.42rem; font-weight:800; text-align:center; }
.technician-candidate-photo i { position:absolute; right:4px; bottom:4px; width:14px; height:14px; border-radius:50%; background:var(--candidate-color); border:2px solid #fff; box-shadow:0 0 0 1px #aaa; }
.nozzle-family-summary-main { display:flex; align-items:center; gap:12px; min-width:0; }
.nozzle-family-admin-thumb { width:54px; height:54px; object-fit:contain; padding:4px; border:1px solid #e3e3e3; background:#fff; }
@media (max-width:760px) {
  .nozzle-calc-candidate { grid-template-columns:68px minmax(0,1fr); }
  .nozzle-calc-candidate-photo { width:62px; height:62px; }
  .nozzle-calc-candidate-data { grid-column:1 / -1; }
}


/* v5.3 — catálogo público amplo, contraste e foto por variante */
.nozzle-calc-candidate,
.nozzle-calc-candidate.is-best { color:#171717; }
.nozzle-calc-candidate-main h3,
.nozzle-calc-candidate.is-best .nozzle-calc-candidate-main h3,
.nozzle-calc-candidate-data strong,
.nozzle-calc-candidate.is-best .nozzle-calc-candidate-data strong { color:#171717 !important; opacity:1; }
.nozzle-calc-candidate-main p,
.nozzle-calc-candidate.is-best .nozzle-calc-candidate-main p { color:#666 !important; }
.nozzle-calc-candidate-data span,
.nozzle-calc-candidate.is-best .nozzle-calc-candidate-data span { color:#777 !important; }
.nozzle-public-catalog-notice,.nozzle-public-catalog-note { background:#f4f7fb; border-color:#b9c7d8; border-left-color:#26384f; color:#26384f; }
.candidate-stock { display:inline-flex; margin-left:7px; padding:3px 6px; border-radius:999px; font-size:.48rem; line-height:1; letter-spacing:.04em; vertical-align:middle; }
.candidate-stock.in-stock { background:#e8f6ed; color:#17683a; }
.candidate-stock.on-request { background:#fff2d8; color:#7b4b00; }
.nozzle-variant-admin-head-v53,.nozzle-variant-admin-row { grid-template-columns:50px 78px 60px minmax(140px,1.05fr) minmax(105px,.72fr) 90px 105px 105px minmax(300px,1.55fr) 105px 78px 126px !important; min-width:1460px !important; gap:8px; align-items:center; }
.configurator-stock-check { min-height:42px; display:flex; align-items:center; justify-content:center; gap:5px; padding:5px; border:1px solid #ddd; background:#fafafa; font-size:.52rem; font-weight:800; }
.configurator-stock-check input { accent-color:#159447; }
.nozzle-new-color-form { overflow-x:auto; }
.nozzle-new-color-form .new-stock { min-width:78px; }

/* v5.4 — explicação dos candidatos, importação de fotos e cancelamento de pedidos */
.alert-warning { border: 1px solid #e5c36b; border-left: 4px solid #d99b00; background: #fff8df; color: #684d00; }

.nozzle-calc-candidate-reason {
  grid-column: 2 / -1;
  margin-top: 2px;
  padding: 10px 12px;
  border-left: 3px solid #d9d9d6;
  background: #f7f7f5;
  color: #333;
}
.nozzle-calc-candidate.is-best .nozzle-calc-candidate-reason { border-left-color: var(--red); background: #fff; }
.nozzle-calc-candidate-reason strong { display: block; margin-bottom: 3px; color: #191919; font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; }
.nozzle-calc-candidate-reason p { margin: 0; color: #5d5d5d; font-size: .68rem; line-height: 1.48; }

.nozzle-photo-import-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 17px;
  border: 1px dashed #d5a29e;
  background: #fff8f7;
}
.nozzle-photo-import-copy { min-width: 0; display: grid; gap: 3px; }
.nozzle-photo-import-copy > span { color: var(--red); font-size: .58rem; font-weight: 900; letter-spacing: .09em; }
.nozzle-photo-import-copy > strong { color: #171717; font-size: .86rem; }
.nozzle-photo-import-copy > small { max-width: 760px; color: #6f6f6f; font-size: .67rem; line-height: 1.45; }
.nozzle-photo-import-copy > em { margin-top: 4px; color: #9d2a21; font-size: .64rem; font-style: normal; font-weight: 700; }
.nozzle-photo-import-form > label { display: flex; align-items: center; gap: 7px; color: #555; font-size: .66rem; white-space: nowrap; }
.nozzle-photo-import-form button[disabled] { opacity: .45; cursor: not-allowed; }

.nozzle-variant-photo-field { min-width: 0; display: grid; grid-template-columns: 54px minmax(150px,1fr); gap: 7px; align-items: center; }
.nozzle-variant-photo-field img,
.nozzle-variant-photo-field > span { width: 54px; height: 46px; border: 1px solid #dededb; background: #fff; }
.nozzle-variant-photo-field img { object-fit: contain; padding: 3px; }
.nozzle-variant-photo-field > span { display: grid; place-items: center; padding: 4px; color: #999; font-size: .47rem; font-weight: 800; text-align: center; }
.nozzle-variant-photo-field .input { min-width: 0; }

.admin-order-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.admin-order-cancel-form { display: inline-flex; margin: 0; }
.admin-order-cancel-card { border-top: 4px solid #b52118; }
.admin-order-cancel-card p { color: #6f6f6f; font-size: .76rem; line-height: 1.5; }
.admin-order-cancelled-card { border-top: 4px solid #767676; background: #f5f5f3; }
.admin-order-cancelled-card p { color: #666; }

@media (max-width: 980px) {
  .nozzle-photo-import-form { grid-template-columns: 1fr; align-items: stretch; }
  .nozzle-photo-import-form > label { white-space: normal; }
  .nozzle-photo-import-form .btn { width: 100%; }
}
@media (max-width: 700px) {
  .nozzle-calc-candidate-reason { grid-column: 1 / -1; }
}

/* ==========================================================
   ALLIKON v6.0 — Identidade 2026
   Paleta oficial: cobre, prata, grafite, preto e vermelho.
   ========================================================== */
:root {
  --allikon-copper: #B87333;
  --allikon-silver: #C0C0C0;
  --allikon-graphite: #333333;
  --allikon-black: #0D0D0D;
  --allikon-red: #E60000;
  --allikon-ivory: #F3F0EC;
}

body:not(.admin-body) {
  background: var(--allikon-black);
  font-family: var(--font-body), "Rajdhani", sans-serif;
  letter-spacing: .012em;
}
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) h4,
body:not(.admin-body) .btn,
body:not(.admin-body) .main-nav,
body:not(.admin-body) .eyebrow {
  font-family: var(--font-headings), "Rajdhani", sans-serif;
}
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3 {
  font-weight: 700;
  letter-spacing: .035em;
}

.site-header {
  background: linear-gradient(90deg, #080808, #141414 60%, #090909);
  border-bottom: 1px solid rgba(184,115,51,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.34);
}
.site-header .header-inner { min-height: 72px; }
.site-header .brand-logo img {
  max-width: 250px;
  max-height: 58px;
  border-radius: 2px;
  mix-blend-mode: screen;
}
.site-header .main-nav { gap: 17px; }
.site-header .main-nav > a {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .075em;
  color: #dedede;
}
.site-header .main-nav > a:hover,
.site-header .main-nav > a.active { color: #fff; }
.site-header .main-nav > a.active::after { background: var(--allikon-copper); }
.nav-builder-link,
.header-customer-area-link { background: var(--allikon-red) !important; }
.nav-brand-store-link { color: #f2b071 !important; }
.nav-brand-store-link.active { color: #fff !important; }
.header-actions .icon-link { border-color: rgba(192,192,192,.22); }

.btn {
  border-radius: 0;
  letter-spacing: .07em;
  font-weight: 700;
}
.btn-primary {
  background: linear-gradient(135deg, var(--allikon-red), #a90000);
  border-color: var(--allikon-red);
}
.btn-primary:hover { background: #b60000; border-color: #b60000; }
.btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: linear-gradient(135deg, #cb7b36, #8b4c1c);
  border: 1px solid #dc9354;
  color: #fff;
}
.btn-copper:hover { background: #a65e27; color: #fff; }
.btn-dark { background: #171717; border-color: #3e3e3e; }
.btn-secondary { border-color: rgba(192,192,192,.55); }


/* Gerenciador do slider no editor administrativo */
.hero-slider-admin-head { display:flex; justify-content:space-between; gap:18px; align-items:flex-end; margin:14px 0 16px; }
.hero-slider-admin-head > div:first-child { display:grid; gap:4px; }
.hero-slider-admin-head small { color:#777; }
.hero-slider-timer { width:220px; margin:0; }
.hero-slider-timer-row { display:flex; align-items:center; gap:8px; }
.hero-slider-timer-row .input { width:105px; }
.hero-slider-admin-list { display:grid; gap:12px; margin:0 0 16px; }
.hero-slider-admin-card { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px; border:1px solid #ddd; background:#fff; }
.hero-slider-admin-preview { aspect-ratio:16/9; overflow:hidden; background:#111; border:1px solid #ddd; }
.hero-slider-admin-preview img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-slider-admin-info { min-width:0; display:grid; gap:5px; }
.hero-slider-admin-url { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#777; }
.hero-slider-admin-actions { display:flex; gap:6px; align-items:center; }
.hero-slider-admin-actions .btn { min-width:42px; padding:9px 11px; }
.hero-slider-upload-box { padding:14px; margin:0 0 18px; border:1px dashed #bbb; background:#fafafa; }
@media (max-width: 760px) {
  .hero-slider-admin-head { display:grid; align-items:stretch; }
  .hero-slider-timer { width:100%; }
  .hero-slider-admin-card { grid-template-columns:1fr; }
  .hero-slider-admin-actions { justify-content:flex-start; }
}

/* Banner principal / slider automático */
.hero-v6 {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #070707;
  display: block;
  isolation: isolate;
}
.hero-v6-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 72px);
  min-height: 0;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: none;
}
.hero-v6-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
  overflow: hidden;
}
.hero-v6-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-v6-slide-backdrop {
  position: absolute;
  inset: -28px;
  background-image: linear-gradient(rgba(13,13,13,.08), rgba(13,13,13,.18)), var(--slide-url);
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(.9);
  opacity: .72;
  transform: scale(1.06);
}
.hero-v6-slide > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-v6-cta-area {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  width: auto;
  min-height: 0;
  padding: 0;
  display: block;
  background: transparent;
  box-shadow: none;
}
.hero-v6-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100vw - 32px);
  padding: 8px;
  box-sizing: border-box;
  background: rgba(13,13,13,.78);
  border: 1px solid rgba(184,115,51,.58);
  backdrop-filter: blur(12px);
}
.hero-v6-actions .btn {
  min-height: 44px;
  justify-content: center;
}
.hero-v6-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  pointer-events: none;
}
.hero-v6-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: transform .3s ease, background .3s ease;
}
.hero-v6-dots span.is-active {
  background: #fff;
  transform: scale(1.25);
}

.brand-strip {
  background: linear-gradient(90deg, #0d0d0d, #25150b, #0d0d0d);
  border-top: 1px solid rgba(184,115,51,.42);
  border-bottom: 1px solid rgba(184,115,51,.42);
}
.brand-list span {
  color: #e8e8e8;
  letter-spacing: .15em;
  font-weight: 700;
}
.brand-list span::before { color: var(--allikon-copper); }

.eyebrow { color: var(--allikon-copper); letter-spacing: .16em; }
.section-red { background: linear-gradient(135deg, #8f0000, var(--allikon-red)); }
.section-light, .section-white { background: var(--allikon-ivory); }
.light-page { background: var(--allikon-ivory) !important; }
.page-hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(184,115,51,.17), transparent 34%),
    linear-gradient(135deg, #090909, #242424);
  border-bottom: 2px solid var(--allikon-copper);
}
.page-hero h1 { color: #fff; }

.category-card {
  background: linear-gradient(145deg, #1c1c1c, #292929);
  border-color: #414141;
}
.category-card:hover { border-color: var(--allikon-copper); }
.category-card .category-icon {
  background: linear-gradient(135deg, var(--allikon-red), #8f0000);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}
.category-card-brand {
  background: linear-gradient(145deg, #25160e, #171717);
  border-color: rgba(184,115,51,.7);
}
.category-card-brand .category-icon {
  background: linear-gradient(135deg, #d48742, #7b421b);
  border: 1px solid #e0a16a;
}

.product-card {
  border-color: #d6cec4;
  background: #fff;
  box-shadow: 0 9px 25px rgba(24,17,12,.06);
}
.product-card:hover {
  border-color: var(--allikon-copper);
  box-shadow: 0 16px 35px rgba(59,32,16,.14);
}
.product-image-wrap { background: linear-gradient(145deg, #f8f6f3, #e8e3dd); }
.product-code { color: #7b5c48; }
.badge-copper { background: var(--allikon-copper); color: #fff; }
.price { color: #141414; }

/* Chamada da Loja da Marca na home */
.brand-store-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(184,115,51,.22), transparent 34%),
    #0d0d0d;
  border-top: 1px solid rgba(184,115,51,.35);
  border-bottom: 1px solid rgba(184,115,51,.35);
}
.brand-store-home-grid {
  display: grid;
  grid-template-columns: minmax(280px,.85fr) minmax(0,1.4fr);
  gap: 46px;
  align-items: center;
}
.brand-store-home-copy h2 { font-size: clamp(2.4rem,5vw,4.6rem); max-width: 650px; }
.brand-store-home-copy p { max-width: 560px; color: var(--allikon-silver); font-size: 1.08rem; }
.brand-store-home-products {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.brand-mini-product {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(184,115,51,.48);
  background: #111;
}
.brand-mini-product img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.brand-mini-product:hover img { transform:scale(1.035); }
.brand-mini-product span {
  position:absolute;
  left:0; right:0; bottom:0;
  padding:16px;
  color:#fff;
  font-weight:700;
  letter-spacing:.055em;
  background:linear-gradient(transparent,rgba(0,0,0,.94));
}

/* Página da Loja da Marca */
.brand-store-hero {
  position: relative;
  min-height: 540px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#0d0d0d;
}
.brand-store-hero-media { position:absolute; inset:0; }
.brand-store-hero-media::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.64) 42%,rgba(0,0,0,.12) 76%),linear-gradient(0deg,rgba(0,0,0,.78),transparent 55%); }
.brand-store-hero-media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.brand-store-hero-copy { position:relative; z-index:1; padding-bottom:72px; }
.brand-store-hero-copy h1 { font-size:clamp(3rem,7vw,6rem); max-width:720px; color:#fff; }
.brand-store-hero-copy p { max-width:620px; color:#ddd; font-size:1.15rem; }
.brand-store-note {
  display:grid;
  grid-template-columns:58px 1fr;
  gap:16px;
  align-items:center;
  margin-bottom:28px;
  padding:18px 20px;
  background:#171717;
  color:#fff;
  border-left:4px solid var(--allikon-copper);
}
.brand-store-note > span {
  width:48px; height:48px;
  display:grid; place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,#d08746,#713b18);
  font-size:1.6rem; font-weight:700;
}
.brand-store-note p { margin:3px 0 0; color:#c9c9c9; }
.brand-product-grid .product-image-wrap { aspect-ratio:1 / 1; }
.brand-product-grid .product-image-wrap img { object-fit:cover; }

.site-footer {
  background: #080808;
  border-top: 2px solid var(--allikon-copper);
}
.site-footer h3 { color: #d58a49; }
.footer-logo img { max-width: 310px !important; max-height: 76px !important; mix-blend-mode: screen; }
.footer-bottom { border-top-color: rgba(184,115,51,.3); }

/* Identidade também no painel, sem alterar a estrutura de trabalho */
.admin-body { font-family: "Rajdhani", Inter, sans-serif; }
.admin-sidebar { background: linear-gradient(180deg,#090909,#151515); border-right:1px solid rgba(184,115,51,.35); }
.admin-sidebar .brand img { max-width:230px; max-height:70px; mix-blend-mode:screen; }
.admin-nav a.active { background:linear-gradient(90deg,rgba(184,115,51,.26),rgba(230,0,0,.16)); border-left-color:var(--allikon-copper); }
.catalog-type-badge.merch { background:#f3e2d3; color:#7c431d; border:1px solid #d4a071; }

@media (max-width: 1180px) {
  .site-header .brand-logo img { max-width: 190px; }
  .site-header .main-nav { gap:10px; }
  .site-header .main-nav > a { font-size:.65rem; }
  .brand-store-home-grid { grid-template-columns:1fr; }
  .brand-mini-product { min-height:300px; }
}
@media (max-width: 820px) {
  .hero-v6, .hero-v6-frame { min-height:0; }
  .hero-v6-frame { aspect-ratio: 16 / 9; max-height:none; }
  .hero-v6-cta-area { bottom:12px; width:100%; padding:0 10px; box-sizing:border-box; }
  .hero-v6-actions { width:100%; padding:8px; justify-content:center; background:rgba(13,13,13,.78); }
  .hero-v6-actions .btn { flex:1 1 180px; min-height:40px; }
  .hero-v6-dots { bottom:4px; }
  .brand-store-home-products { grid-template-columns:1fr; }
  .brand-mini-product { min-height:420px; }
  .brand-store-hero { min-height:480px; }
  .brand-store-hero-media img { object-position:68% center; }
  .brand-store-hero-copy { padding-bottom:46px; }
}
@media (max-width: 520px) {
  .site-header .brand-logo img { max-width:150px; max-height:48px; }
  .brand-mini-product { min-height:320px; }
  .brand-store-hero-copy h1 { font-size:2.7rem; }
  .brand-store-page .search-bar form { display:grid; grid-template-columns:1fr; }
}
.hero-v6-editor-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.editor-preview .hero-v6-editor-text {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
  left: 28px;
  top: 28px;
  z-index: 5;
  max-width: 520px;
  padding: 18px;
  color: #fff;
  background: rgba(0,0,0,.78);
  border: 1px dashed #B87333;
}
.editor-preview .hero-v6-editor-text h1 { margin: 6px 0; font-size: 2rem; }


/* v6.1 — cabeçalho enxuto, novo logotipo e cadastro pela Área do Cliente */
.site-header .brand-logo img {
  width: 220px;
  max-width: 220px;
  max-height: 48px;
  mix-blend-mode: normal;
}
.footer-logo img { mix-blend-mode: normal !important; }
.admin-sidebar .brand img { mix-blend-mode: normal; }
.site-header .main-nav { gap: clamp(13px, 1.15vw, 21px); }
.site-header .main-nav > a { font-size: .72rem; }
.customer-registration-entry {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #d8d8d8;
  background: #f5f5f5;
}
.customer-registration-entry strong,
.customer-registration-entry span { display: block; }
.customer-registration-entry strong { color: #181818; font-size: .9rem; }
.customer-registration-entry span { margin-top: 4px; color: #666; font-size: .75rem; line-height: 1.45; }
.customer-registration-entry .btn { min-height: 42px; white-space: nowrap; }
@media (max-width: 1320px) {
  .site-header .brand-logo img { width: 190px; max-width: 190px; }
}
@media (max-width: 640px) {
  .customer-registration-entry { grid-template-columns: 1fr; }
  .customer-registration-entry .btn { width: 100%; }
}

/* ==========================================================
   ALLIKON v6.2 — editor visual ampliado e tipografia legível
   ========================================================== */
body:not(.admin-body) .btn { font-size: .84rem; }
body:not(.admin-body) .eyebrow { font-size: .78rem; }
body:not(.admin-body) .site-header .main-nav > a { font-size: .78rem; }
body:not(.admin-body) .site-footer { font-size: 1rem; }
body:not(.admin-body) .site-footer p,
body:not(.admin-body) .site-footer a,
body:not(.admin-body) .site-footer span { font-size: .96rem; line-height: 1.65; }
body:not(.admin-body) .site-footer h3 { font-size: .92rem; letter-spacing: .06em; }
body:not(.admin-body) .product-description,
body:not(.admin-body) .category-card span,
body:not(.admin-body) .benefit-card p { font-size: .9rem; }

.admin-body { font-size: 17px; }
.admin-body .admin-content { padding: 22px; }
.admin-body .editor-panel > summary strong { font-size: 1.08rem; }
.admin-body .editor-panel > summary small,
.admin-body .form-group label,
.admin-body .color-field > span,
.admin-body .font-choice label { font-size: .8rem; }
.admin-body .editor-panel-body small { font-size: .82rem; line-height: 1.45; }

.site-editor-layout {
  grid-template-columns: minmax(420px, .62fr) minmax(760px, 1.38fr);
  gap: 20px;
}
.site-editor-form { gap: 12px; }
.site-preview-panel {
  top: 84px;
  padding: 16px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.preview-toolbar { align-items: flex-start; }
.preview-toolbar-left strong { font-size: 1.1rem; }
.preview-toolbar-controls { justify-content: flex-end; }
.preview-frame-shell { min-height: 700px; background: #191919; border: 1px solid #bbb; overflow: hidden; }
.site-preview-panel iframe {
  display: block;
  height: calc(100vh - 220px);
  min-height: 700px;
  border: 0;
}
.preview-selection-status { font-size: .88rem; line-height: 1.4; }
.typography-controls-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.button-style-inspector {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #d2d2d2;
  border-top: 4px solid var(--red);
  background: #f7f7f7;
}
.button-style-inspector[hidden] { display: none; }
.button-inspector-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.button-inspector-heading h3 { margin: 3px 0 0; font-size: 1.15rem; color: #181818; }
.button-drag-hint { margin: 0 0 12px; padding: 9px 11px; background: #fff4e9; border-left: 3px solid #b87333; color: #633818; font-size: .82rem; }
.button-inspector-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; max-height: 285px; overflow: auto; padding-right: 4px; }
.inspector-field { display: grid; gap: 5px; min-width: 0; }
.inspector-field-wide { grid-column: span 2; }
.inspector-field > span { color: #444; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.inspector-field input,
.inspector-field select { min-height: 40px; padding: 7px 9px; border: 1px solid #ccc; background: white; color: #181818; }
.color-inspector-field input[type="color"] { width: 100%; min-height: 40px; padding: 3px; }
.button-style-inspector > .btn { margin-top: 12px; }

.preview-panel-fullscreen {
  position: fixed !important;
  inset: 14px !important;
  z-index: 10000 !important;
  max-height: none !important;
  width: auto !important;
  overflow: auto !important;
  background: #fff;
}
.preview-panel-fullscreen .preview-frame-shell { min-height: calc(100vh - 175px); }
.preview-panel-fullscreen iframe { height: calc(100vh - 175px); min-height: 760px; }
.preview-panel-fullscreen .button-inspector-grid { grid-template-columns: repeat(6, minmax(120px, 1fr)); max-height: 210px; }

.editor-preview [data-button-style-key] {
  cursor: grab !important;
  touch-action: none;
  user-select: none;
}
.editor-preview [data-button-style-key]:active { cursor: grabbing !important; }
.editor-preview [data-button-style-key]::before {
  content: "ARRASTE";
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 1001;
  display: none;
  padding: 4px 7px;
  background: #B87333;
  color: #fff;
  font: 800 10px/1 var(--font-ui);
  letter-spacing: .08em;
  pointer-events: none;
}
.editor-preview [data-button-style-key]:hover::before,
.editor-preview [data-button-style-key].editor-preview-selected::before { display: block; }

@media (max-width: 1500px) {
  .site-editor-layout { grid-template-columns: minmax(400px, .7fr) minmax(650px, 1.3fr); }
  .button-inspector-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  body:not(.admin-body) .site-header .main-nav > a { font-size: .72rem; }
}
@media (max-width: 1160px) {
  .site-editor-layout { grid-template-columns: 1fr; }
  .site-preview-panel { position: static; max-height: none; }
  .site-preview-panel iframe { height: 800px; }
}
@media (max-width: 820px) {
  .typography-controls-wide,
  .button-inspector-grid { grid-template-columns: 1fr; }
  .inspector-field-wide { grid-column: auto; }
  .preview-panel-fullscreen { inset: 4px !important; }
}

/* ==========================================================
   ALLIKON v6.3 — editor visual no estilo de construtor Wix
   ========================================================== */
.wix-editor-layout { display: block; position: relative; min-width: 0; }
.wix-content-drawer {
  position: fixed;
  left: 250px;
  top: 70px;
  bottom: 0;
  z-index: 320;
  width: min(560px, calc(100vw - 280px));
  padding: 0 18px 90px;
  overflow-y: auto;
  background: #f5f6f8;
  border-right: 1px solid #cdd2da;
  box-shadow: 12px 0 34px rgba(16,24,40,.18);
  transform: translateX(calc(-100% - 30px));
  transition: transform .24s ease;
}
.wix-content-drawer.is-open { transform: translateX(0); }
.wix-drawer-header {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -18px 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid #d9dde5;
}
.wix-drawer-header h2 { margin: 2px 0 0; color: #101828; font-size: 1.45rem; }
.editor-drawer-backdrop {
  display: block;
  position: fixed;
  inset: 70px 0 0 250px;
  z-index: 310;
  border: 0;
  background: rgba(10,17,29,.26);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.editor-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.wix-icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #101828;
  font-size: 1.5rem;
  cursor: pointer;
}
.wix-icon-button:hover { background: #f0f2f5; }
.wix-editor-layout .site-preview-panel {
  position: relative;
  top: auto;
  width: 100%;
  max-height: none;
  padding: 14px;
  overflow: visible;
  border: 1px solid #d7dce3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16,24,40,.10);
}
.wix-editor-layout .preview-frame-shell {
  min-height: calc(100vh - 235px);
  background: #e9edf3;
  border: 1px solid #c8ced8;
  border-radius: 4px;
  overflow: hidden;
}
.wix-editor-layout .site-preview-panel iframe {
  height: calc(100vh - 235px);
  min-height: 720px;
  background: #fff;
}
.wix-editor-layout .preview-selection-status {
  margin: 10px 0;
  padding: 9px 12px;
  border-left: 3px solid #116dff;
  background: #f3f7ff;
  color: #344054;
}

.wix-style-inspector {
  position: fixed;
  top: 84px;
  right: 22px;
  z-index: 150;
  width: 320px;
  max-height: calc(100vh - 105px);
  overflow: hidden;
  border: 1px solid #d0d5dd;
  border-top: 5px solid #116dff;
  border-radius: 7px;
  background: #fff;
  color: #101828;
  box-shadow: 0 18px 48px rgba(16,24,40,.24);
}
.wix-style-inspector[hidden] { display: none; }
.wix-inspector-header {
  min-height: 62px;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e4e7ec;
}
.wix-inspector-header h3 { margin: 2px 0 0; font: 700 1.05rem/1.2 Inter, sans-serif; }
.wix-inspector-scroll { max-height: calc(100vh - 174px); overflow-y: auto; }
.wix-inspector-section { padding: 16px 18px; border-bottom: 1px solid #e4e7ec; }
.wix-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.wix-label, .wix-size-control > label { display: block; margin-bottom: 7px; color: #475467; font-size: .82rem; font-weight: 600; }
.wix-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #bfc6d1;
  border-radius: 4px;
  background: #fff;
  color: #101828;
  font: 500 .9rem/1.3 Inter, sans-serif;
}
.wix-control:focus { border-color: #116dff; box-shadow: 0 0 0 2px rgba(17,109,255,.12); outline: none; }
.wix-textarea { resize: vertical; min-height: 72px; }
.wix-text-action { border: 0; background: transparent; color: #116dff; cursor: pointer; font-weight: 600; }
.wix-secondary-action {
  width: 100%;
  min-height: 38px;
  margin-top: 9px;
  border: 1px solid #b8c0cc;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  font-weight: 650;
  cursor: pointer;
}
.wix-secondary-action:hover { border-color: #116dff; color: #116dff; }
.wix-size-control { margin-top: 14px; }
.wix-size-control > div { display: grid; grid-template-columns: 1fr 66px; gap: 12px; align-items: center; }
.wix-size-control input[type="range"] { width: 100%; accent-color: #116dff; }
.wix-number, .wix-mini-select {
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #bfc6d1;
  border-radius: 4px;
  background: #fff;
  color: #101828;
}
.wix-format-toolbar, .wix-align-toolbar { display: grid; gap: 6px; margin-top: 15px; }
.wix-format-toolbar { grid-template-columns: repeat(5, 1fr); }
.wix-align-toolbar { grid-template-columns: repeat(4, 1fr); }
.wix-format-toolbar button, .wix-align-toolbar button, .wix-color-button {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font-size: 1rem;
}
.wix-format-toolbar button:hover, .wix-align-toolbar button:hover, .wix-color-button:hover { background: #f2f4f7; }
.wix-format-toolbar button.active, .wix-align-toolbar button.active { background: #116dff; color: #fff; }
.wix-align-toolbar button:nth-child(2) { text-align: center; }
.wix-align-toolbar button:nth-child(3) { transform: scaleX(-1); }
.wix-color-button { position: relative; }
.wix-color-button input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wix-color-button::after { content: ""; position: absolute; bottom: 5px; left: 9px; right: 9px; height: 3px; background: #116dff; }
.wix-inspector-accordion { border-bottom: 1px solid #e4e7ec; }
.wix-inspector-accordion[hidden] { display: none; }
.wix-inspector-accordion > summary {
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #344054;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.wix-inspector-accordion > summary::-webkit-details-marker { display: none; }
.wix-accordion-body { padding: 4px 18px 16px; }
.wix-property-row { min-height: 42px; display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: 12px; color: #475467; font-size: .82rem; }
.wix-property-row input[type="color"] { width: 58px; height: 34px; justify-self: end; padding: 2px; border: 1px solid #bfc6d1; background: #fff; }

.preview-panel-fullscreen .wix-style-inspector { top: 28px; right: 28px; max-height: calc(100vh - 56px); }
.preview-panel-fullscreen .wix-inspector-scroll { max-height: calc(100vh - 128px); }
.preview-panel-fullscreen .preview-frame-shell,
.preview-panel-fullscreen iframe { min-height: calc(100vh - 110px); height: calc(100vh - 110px); }

/* Controles dentro da página em modo editor */
.editor-preview-notice { display: none !important; }
.editor-preview [data-editor-key] {
  outline: 1px dashed rgba(17,109,255,.38) !important;
  outline-offset: 3px;
  cursor: pointer !important;
}
.editor-preview [data-editor-key]:hover {
  outline: 2px solid #116dff !important;
  background-color: rgba(17,109,255,.06) !important;
  box-shadow: none !important;
}
.editor-preview [data-editor-key]::after,
.editor-preview [data-button-style-key]::before { display: none !important; }
.editor-preview .editor-preview-selected {
  outline: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.editor-preview .allikon-inline-editing {
  outline: 2px solid #116dff !important;
  background: rgba(255,255,255,.08) !important;
  cursor: text !important;
}
.allikon-editor-selection-box {
  position: fixed;
  z-index: 2147483000;
  display: none;
  border: 2px solid #116dff;
  pointer-events: none;
  box-sizing: border-box;
}
.allikon-editor-selection-box.visible { display: block; }
.allikon-editor-selection-box .handle {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid #116dff;
  border-radius: 50%;
  background: #fff;
}
.allikon-editor-selection-box .nw { left: -6px; top: -6px; }
.allikon-editor-selection-box .ne { right: -6px; top: -6px; }
.allikon-editor-selection-box .sw { left: -6px; bottom: -6px; }
.allikon-editor-selection-box .se { right: -6px; bottom: -6px; }
.allikon-editor-inline-toolbar {
  position: fixed;
  z-index: 2147483001;
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 7px;
  border: 1px solid #d0d5dd;
  border-radius: 20px;
  background: #fff;
  color: #344054;
  box-shadow: 0 6px 18px rgba(16,24,40,.24);
  font: 600 13px/1 Inter, sans-serif;
}
.allikon-editor-inline-toolbar.visible { display: flex; }
.allikon-editor-inline-toolbar button {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #116dff;
  font: inherit;
  cursor: pointer;
}
.allikon-editor-inline-toolbar button:hover { background: #eef4ff; }
.inline-toolbar-type { padding: 0 8px; color: #667085; border-right: 1px solid #e4e7ec; }
.inline-toolbar-move { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; cursor: grab; color: #475467; }
.inline-toolbar-move:hover { background: #f2f4f7; }
.inline-toolbar-move:active { cursor: grabbing; }

@media (max-width: 1160px) {
  .wix-content-drawer { left: 0; top: 0; width: min(560px, 94vw); z-index: 320; }
  .editor-drawer-backdrop { inset: 0; z-index: 310; }
  .wix-style-inspector { right: 10px; width: 300px; }
  .wix-editor-layout .site-preview-panel iframe { min-height: 680px; height: 78vh; }
}
@media (max-width: 760px) {
  .wix-style-inspector { left: 8px; right: 8px; bottom: 8px; top: auto; width: auto; max-height: 70vh; }
  .wix-inspector-scroll { max-height: calc(70vh - 70px); }
  .wix-editor-layout .preview-toolbar { align-items: stretch; }
  .wix-editor-layout .preview-toolbar-controls { width: 100%; justify-content: flex-start; }
}

/* ALLIKON v6.4 — ícones das categorias e paleta de cores do editor */
.catalog-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card .category-icon.category-icon-image {
  width: 92px; height: 92px; padding: 5px; background: transparent; border: 0; overflow: hidden;
}
.category-card .category-icon.category-icon-image img {
  width: 100%; height: 100%; display: block; object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.28));
}
.category-card .category-icon.category-icon-image + div h3 { margin-top: 18px; }
.wix-color-button { --selected-color: #116dff; }
.wix-color-button::after { background: var(--selected-color); }
.wix-color-palette-popover {
  position: relative; margin-top: 10px; padding: 13px; border: 1px solid #d0d5dd; border-radius: 7px;
  background: #fff; box-shadow: 0 10px 28px rgba(16,24,40,.14);
}
.wix-color-palette-popover[hidden] { display: none; }
.wix-palette-heading { display: grid; gap: 2px; margin-bottom: 10px; }
.wix-palette-heading strong { color: #101828; font-size: .86rem; }
.wix-palette-heading span { color: #667085; font-size: .72rem; }
.wix-color-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.wix-color-swatch {
  position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid #c7cdd6; border-radius: 5px;
  background: var(--swatch); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.wix-color-swatch:hover { transform: scale(1.08); border-color: #116dff; }
.wix-color-swatch.active::after {
  content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  font: 900 13px/1 Inter, sans-serif; text-shadow: 0 1px 4px rgba(0,0,0,.85);
  box-shadow: 0 0 0 2px #116dff; border-radius: 4px;
}
.wix-custom-color {
  margin-top: 11px; display: grid; grid-template-columns: 1fr 46px 70px; align-items: center; gap: 8px;
  color: #475467; font-size: .78rem;
}
.wix-custom-color input[type="color"] {
  width: 46px; height: 34px; padding: 2px; border: 1px solid #bfc6d1; border-radius: 4px; background: #fff;
}
.wix-custom-color output { font: 600 .72rem/1 monospace; color: #344054; }
@media (max-width: 960px) { .catalog-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .catalog-home-grid { grid-template-columns: 1fr; }
  .wix-color-swatches { grid-template-columns: repeat(8, minmax(22px, 1fr)); }
}


/* ALLIKON v6.5 — comportamento do Conteúdo geral e novos ícones */
@media (min-width: 1161px) {
  .admin-sidebar { z-index: 400; }
}
.wix-content-drawer {
  visibility: hidden;
  pointer-events: none;
  transition: transform .24s ease, visibility 0s linear .24s;
}
.wix-content-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: transform .24s ease, visibility 0s linear 0s;
}
.wix-drawer-save-strip {
  position: sticky;
  top: 82px;
  z-index: 3;
  margin: -16px -18px 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #d9dde5;
  box-shadow: 0 5px 14px rgba(16,24,40,.06);
}
.wix-drawer-save-strip span {
  color: #667085;
  font-size: .76rem;
  line-height: 1.35;
}
.wix-drawer-save-strip .btn {
  min-width: 176px;
  flex: 0 0 auto;
}
.category-card .category-icon.category-icon-parts img {
  filter: invert(1) drop-shadow(0 8px 12px rgba(0,0,0,.28));
}
@media (max-width: 1160px) {
  .wix-drawer-save-strip { top: 82px; }
}
@media (max-width: 620px) {
  .wix-drawer-save-strip { align-items: stretch; flex-direction: column; }
  .wix-drawer-save-strip .btn { width: 100%; min-width: 0; }
}

.allikon-custom-box-layer {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
  z-index: 20;
}
.allikon-custom-box {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  max-width: min(90vw, 820px);
  pointer-events: auto;
}
.allikon-custom-box-text { color: inherit; }
.editor-preview .allikon-custom-box {
  outline: 1px dashed rgba(17,109,255,.7);
  outline-offset: 4px;
}
.allikon-editor-context-menu {
  position: fixed;
  z-index: 2147483002;
  min-width: 230px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16,24,40,.24);
}
.allikon-editor-context-menu button {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #101828;
  text-align: left;
  font: 600 13px/1.2 Inter, sans-serif;
  cursor: pointer;
}
.allikon-editor-context-menu button:hover { background: #eef4ff; color: #116dff; }
.allikon-editor-context-divider { height: 1px; margin: 6px 4px; background: #e4e7ec; }


/* v6.8.2 — alinhamento definitivo da grade de cores e upload individual por variante */
.nozzle-variant-admin-head-v53 { padding:10px 12px !important; }
.nozzle-variant-admin-row { padding:10px 12px !important; min-height:92px; }
.nozzle-variant-admin-row > * { min-width:0; }
.nozzle-variant-admin-row .input { width:100%; min-width:0; height:44px; box-sizing:border-box; }
.nozzle-variant-admin-row .row { display:flex; align-items:center; justify-content:flex-start; flex-wrap:nowrap; gap:6px; }
.nozzle-variant-admin-row .row .btn { margin:0; }
.nozzle-variant-photo-field {
  min-width:0;
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:8px;
  align-items:center;
}
.nozzle-variant-photo-field img,
.nozzle-variant-photo-field > span {
  width:62px;
  height:62px;
  border:1px solid #d7d7d7;
  border-radius:8px;
  background:#fff;
}
.nozzle-variant-photo-field img { object-fit:contain; padding:4px; box-sizing:border-box; }
.nozzle-variant-photo-field > span { display:grid; place-items:center; padding:4px; box-sizing:border-box; color:#888; font-size:.48rem; font-weight:800; text-align:center; }
.nozzle-variant-photo-controls,
.nozzle-new-photo-field { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; align-items:center; }
.nozzle-variant-photo-controls .input,
.nozzle-new-photo-field .input { min-width:0; width:100%; }
.nozzle-photo-upload-button {
  position:relative;
  min-width:112px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 9px;
  border:1px solid #c8c8c8;
  border-radius:6px;
  background:#f7f7f7;
  color:#333;
  cursor:pointer;
  font-size:.56rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
  box-sizing:border-box;
}
.nozzle-photo-upload-button:hover { border-color:var(--red); color:var(--red); background:#fff7f6; }
.nozzle-photo-upload-button input[type="file"] { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.nozzle-new-color-form {
  grid-template-columns:120px 78px 60px minmax(140px,1fr) minmax(105px,.72fr) 100px 110px 110px minmax(300px,1.4fr) 105px 150px !important;
  min-width:1400px !important;
  gap:8px !important;
  align-items:center;
}
.nozzle-new-color-form > * { min-width:0; }
.nozzle-new-photo-field { grid-template-columns:minmax(0,1fr) 112px; }
.nozzle-family-admin-body { overflow-x:auto; overflow-y:visible; }


/* ALLIKON v6.8.4 — edição visual completa dos cards da home */
.category-card.allikon-editor-card-styled:hover {
  background: var(--editor-card-hover-bg, #292929) !important;
  border-color: var(--editor-card-hover-border, var(--allikon-copper)) !important;
}
.catalog-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.catalog-editor-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fafbfc;
}
.catalog-editor-card > strong { font-size: .9rem; color: #101828; }
.wix-image-actions { display: grid; gap: 8px; margin-top: 10px; }
@media (max-width: 760px) { .catalog-editor-grid { grid-template-columns: 1fr; } }

/* v7 — paginação de catálogo */
.catalog-pagination{display:grid;grid-template-columns:140px 1fr 140px;align-items:center;gap:16px;margin-top:32px;padding-top:20px;border-top:1px solid #ddd}.catalog-pagination-pages{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}.catalog-pagination-pages a,.catalog-pagination-pages span{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border:1px solid #d6d6d6;background:#fff;color:#222;text-decoration:none;border-radius:8px}.catalog-pagination-pages a.active{background:#181818;color:#fff;border-color:#181818;font-weight:800}@media(max-width:720px){.catalog-pagination{grid-template-columns:1fr 1fr}.catalog-pagination-pages{grid-column:1/-1;grid-row:1}.catalog-pagination>a:last-child{justify-self:end}}

/* v7.2 — fluxo pedido -> cotação de frete -> pagamento */
.status-awaiting_payment, .status-not_started { background:#e9f1ff; color:#234d87; }
.status-failed { background:#fde3e0; color:#8c211b; }
.admin-order-needs-freight td { background:#fffaf0; }
.admin-order-needs-freight td:first-child { box-shadow:inset 4px 0 0 var(--red); }

/* v7.5 — CTA comercial para itens sem preço publicado */
.product-actions.quote-action { grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); }
.product-actions.quote-action .btn { min-width: 0; white-space: normal; line-height: 1.15; padding-left: 10px; padding-right: 10px; }
@media (max-width: 520px) { .product-actions.quote-action { grid-template-columns: 1fr; } }

/* v7.5.7 — Central de leads e roteamento comercial */
.commercial-contact-box{margin-top:14px;padding:18px;border:1px solid #ddd;background:#f7f7f5}.commercial-contact-box>strong{display:block;font-size:1rem;margin-bottom:4px}.commercial-contact-form{margin-top:14px}.commercial-contact-form .full{grid-column:1/-1}
.commercial-lead-stats{margin-bottom:18px}.lead-filter-bar{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(180px,1fr) minmax(180px,1fr) auto;gap:9px;margin:16px 0}.lead-admin-list{display:grid;gap:10px}.lead-admin-card{border:1px solid #d8d8d4;background:#fff}.lead-admin-card>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:160px 1fr minmax(260px,1.5fr) 155px;gap:14px;align-items:center;padding:14px 16px}.lead-admin-card>summary::-webkit-details-marker{display:none}.lead-admin-card[open]>summary{background:#f6f6f3;border-bottom:1px solid #ddd}.lead-admin-card summary strong,.lead-admin-card summary small{display:block}.lead-admin-card summary small{margin-top:3px;color:#777;font-size:.7rem}.lead-summary-id span{display:block;margin-top:4px;color:#777;font-size:.64rem;text-transform:uppercase}.lead-status{justify-self:end;padding:7px 9px;font-size:.63rem;font-weight:800;text-transform:uppercase;white-space:nowrap;background:#eee}.lead-status-new{background:#fff0c8;color:#725100}.lead-status-whatsapp_opened{background:#e7efff;color:#1c4e9a}.lead-status-contacted{background:#e6f4ed;color:#087442}.lead-status-proposal{background:#eee7ff;color:#5b36a5}.lead-status-won{background:#dff6e8;color:#086d3d}.lead-status-lost{background:#ffe4e0;color:#9b271e}.lead-admin-body{padding:16px}.lead-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.lead-info-grid>div{border:1px solid #e1e1de;background:#fafafa;padding:10px}.lead-info-grid span,.lead-info-grid strong{display:block}.lead-info-grid span{font-size:.62rem;color:#777;text-transform:uppercase}.lead-info-grid strong{margin-top:4px;font-size:.78rem}.lead-request-box{margin:12px 0;border:1px solid #ddd}.lead-request-box>summary{cursor:pointer;padding:10px 12px;font-weight:800;font-size:.75rem}.lead-request-box pre{max-height:320px;overflow:auto;margin:0;padding:12px;background:#181818;color:#eee;font-size:.68rem;white-space:pre-wrap}.lead-update-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:13px;background:#f7f7f5;border:1px solid #ddd}.lead-update-form .full{grid-column:1/-1}.lead-timeline{margin-top:14px;border-left:2px solid #ddd;padding-left:14px}.lead-timeline>strong{display:block;margin-bottom:8px}.lead-timeline>div{display:grid;grid-template-columns:145px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid #eee}.lead-timeline span{font-size:.65rem;color:#777}.lead-timeline p{margin:0;font-size:.72rem}.routing-rule-list{display:grid;gap:10px;margin:16px 0}.routing-rule-card{display:grid;grid-template-columns:1.25fr 1fr 1fr 90px auto auto;gap:9px;align-items:end;padding:12px;border:1px solid #ddd;background:#fafafa}.routing-rule-card .check-line{align-self:center}.routing-new-rule{margin-top:18px;padding:16px;border:1px solid #cfcfca;background:#f7f7f5}.routing-new-rule h3{margin-top:0}
@media(max-width:1100px){.lead-admin-card>summary{grid-template-columns:130px 1fr 1fr}.lead-status{grid-column:1/-1;justify-self:start}.lead-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-update-form{grid-template-columns:repeat(2,minmax(0,1fr))}.routing-rule-card{grid-template-columns:repeat(2,minmax(0,1fr))}.routing-rule-card .row{grid-column:1/-1}.lead-filter-bar{grid-template-columns:1fr 1fr}.lead-filter-bar .btn{grid-column:1/-1}}
@media(max-width:700px){.lead-admin-card>summary{grid-template-columns:1fr}.lead-info-grid,.lead-update-form,.routing-rule-card,.lead-filter-bar{grid-template-columns:1fr}.lead-update-form .full,.routing-rule-card .row,.lead-filter-bar .btn{grid-column:auto}.lead-timeline>div{grid-template-columns:1fr}.commercial-contact-form{grid-template-columns:1fr}}

/* CRM integrado ao PostgreSQL — v7.6.5 */
.crm-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 22px;padding:8px;background:#fff;border:1px solid #d5d5d5}.crm-subnav a{padding:9px 12px;font-size:.73rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#555;border-bottom:2px solid transparent}.crm-subnav a:hover,.crm-subnav a.active{color:#111;border-bottom-color:var(--red);background:#f7f7f7}.crm-stat-link{display:block;color:inherit}.crm-stat-link:hover{border-color:#b9b9b9;transform:translateY(-1px)}.stat-card small{display:block;color:#777;margin-top:6px;font-size:.68rem}.crm-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-dashboard-split{grid-template-columns:minmax(0,1.6fr) minmax(330px,.8fr);margin-bottom:20px}.crm-card-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:14px}.crm-card-heading h2{margin:2px 0 0}.crm-sync-list{display:grid;gap:7px}.crm-sync-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eee}.crm-sync-list span:first-child{display:grid}.crm-sync-list small{color:#777;font-size:.62rem}.crm-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;background:#ececec;color:#555;font-size:.58rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em;margin-left:6px}.crm-badge.success{background:#dff6e8;color:#086d3d}.crm-badge.danger{background:#ffe4e0;color:#9b271e}.crm-row-cancelled td{opacity:.62;background:#fff6f4!important}.crm-roadmap-card{margin-top:20px}.crm-roadmap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.crm-roadmap-grid>div{border:1px solid #ddd;background:#fafafa;padding:15px}.crm-roadmap-grid p{margin:5px 0 0;color:#666;font-size:.76rem}.crm-empty-state{display:flex;align-items:center;gap:18px;min-height:130px;margin-bottom:20px}.crm-empty-state .btn{margin-left:auto}.crm-empty-icon{width:50px;height:50px;display:grid;place-items:center;background:#111;color:#fff;font-size:1.4rem}.crm-filter-bar{display:grid;grid-template-columns:minmax(280px,1.7fr) minmax(220px,.8fr) auto auto;gap:10px;align-items:end;background:#fff;border:1px solid #d5d5d5;padding:14px;margin-bottom:16px}.crm-filter-bar.compact{grid-template-columns:minmax(300px,1fr) auto auto}.crm-filter-bar label{display:grid;gap:5px}.crm-filter-bar label>span{font-size:.62rem;text-transform:uppercase;color:#777;font-weight:800}.crm-filter-bar input,.crm-filter-bar select{min-height:40px;border:1px solid #ccc;background:#fff;padding:8px 10px;width:100%}.crm-list-summary{font-size:.75rem;color:#666;margin:0 0 9px}.crm-list-summary strong{color:#111}.crm-table-wrap .table td{min-width:95px}.crm-cell-sub{display:block;color:#777;margin-top:4px;font-size:.62rem}.crm-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:.72rem}.crm-seller-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crm-seller-card{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:start;padding:18px}.crm-seller-card.inactive{opacity:.58}.crm-seller-avatar{width:52px;height:52px;display:grid;place-items:center;background:#111;color:#fff;font:800 1.5rem/1 var(--font-headings)}.crm-seller-copy small{display:block;color:#777;margin-top:3px}.crm-seller-copy p{font-size:.72rem;margin:8px 0 0}.crm-seller-metrics{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #eee;padding-top:12px}.crm-seller-metrics span{display:grid}.crm-seller-metrics strong{font-size:.9rem}.crm-seller-metrics small{color:#777;font-size:.58rem;text-transform:uppercase}.crm-product-thumb{width:72px;height:58px;object-fit:contain;background:#f4f4f4;border:1px solid #ddd}.crm-photo-placeholder{width:72px;height:58px;display:grid;place-items:center;background:#f3f3f3;border:1px dashed #ccc;color:#999;font-size:.58rem;text-align:center}.crm-date-kpi{font-size:1.15rem!important}.crm-text-kpi{font-size:1rem!important;line-height:1.15}.crm-customer-top{margin-bottom:20px}.crm-definition-list{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#ddd}.crm-definition-list>div{background:#fafafa;padding:10px}.crm-definition-list dt{font-size:.58rem;color:#777;text-transform:uppercase;font-weight:800}.crm-definition-list dd{margin:4px 0 0;font-size:.74rem}.crm-mini-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.crm-mini-metrics>div{background:#f7f7f7;border:1px solid #ddd;padding:10px;display:grid}.crm-mini-metrics strong{font-size:1.3rem}.crm-mini-metrics span{font-size:.58rem;color:#777;text-transform:uppercase}.crm-purchased-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.crm-purchased-grid>div{border:1px solid #ddd;background:#fafafa;padding:12px;display:grid;gap:4px}.crm-purchased-grid small,.crm-purchased-grid em{font-size:.61rem;color:#777;font-style:normal}.crm-purchased-grid span{font-size:.72rem}
@media(max-width:1100px){.crm-kpi-grid,.crm-roadmap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-dashboard-split{grid-template-columns:1fr}.crm-filter-bar{grid-template-columns:1fr 1fr}.crm-filter-bar .btn{width:100%}.crm-seller-grid{grid-template-columns:1fr}}
@media(max-width:700px){.crm-subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.crm-kpi-grid,.crm-roadmap-grid,.crm-filter-bar,.crm-filter-bar.compact,.crm-definition-list,.crm-mini-metrics,.crm-purchased-grid{grid-template-columns:1fr}.crm-empty-state{align-items:flex-start;flex-wrap:wrap}.crm-empty-state .btn{margin-left:0;width:100%}.crm-pagination{align-items:flex-start;flex-direction:column}.crm-seller-metrics{grid-template-columns:1fr 1fr}.crm-table-wrap{margin-left:-14px;margin-right:-14px;border-left:0;border-right:0}.crm-product-thumb,.crm-photo-placeholder{width:58px;height:48px}}
.crm-warning-card{margin-bottom:18px;border-left:4px solid #c58a00;background:#fffaf0}.crm-warning-card p{margin:5px 0 0}

/* Plataforma Allikon v7.7.1 — CRM operacional + peças sincronizadas pelo ERP */
.crm-funnel-summary{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr));gap:8px;margin-top:6px}.crm-funnel-stage{display:grid;gap:4px;padding:12px;border:1px solid #ddd;background:#fafafa;color:#222;min-height:92px}.crm-funnel-stage span{font-size:.62rem;text-transform:uppercase;font-weight:900;color:#666}.crm-funnel-stage strong{font-size:1.3rem}.crm-funnel-stage small{font-size:.62rem;color:#777}.crm-funnel-stage.stage-novo{border-top:4px solid #7d8590}.crm-funnel-stage.stage-contato{border-top:4px solid #3b82f6}.crm-funnel-stage.stage-visita{border-top:4px solid #8b5cf6}.crm-funnel-stage.stage-orcamento{border-top:4px solid #d97706}.crm-funnel-stage.stage-negociacao{border-top:4px solid #e11d48}.crm-funnel-stage.stage-ganho{border-top:4px solid #16864b}.crm-funnel-stage.stage-perdido{border-top:4px solid #777}.crm-agenda-strip{display:flex;gap:18px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:.72rem}.crm-agenda-strip a{margin-left:auto}.danger-text{color:#9b271e}.crm-opportunity-list,.crm-timeline-cards,.crm-activity-list{display:grid;gap:12px}.crm-opportunity-card{display:grid;grid-template-columns:minmax(280px,1.5fr) minmax(300px,1fr) auto;gap:18px;align-items:center;border-left:4px solid #bbb}.crm-opportunity-card.stage-ganho{border-left-color:#16864b}.crm-opportunity-card.stage-perdido{border-left-color:#777;opacity:.68}.crm-opportunity-card.stage-negociacao{border-left-color:#e11d48}.crm-opportunity-card.stage-orcamento{border-left-color:#d97706}.crm-opportunity-main h3{margin:6px 0 4px}.crm-opportunity-main small{display:block;color:#777;margin-top:4px}.crm-opportunity-main p{font-size:.72rem;margin:8px 0 0}.crm-opportunity-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.crm-opportunity-metrics span{display:grid;padding:8px;background:#f7f7f7;border:1px solid #eee}.crm-opportunity-metrics small{font-size:.56rem;text-transform:uppercase;color:#777}.crm-opportunity-metrics strong{font-size:.75rem;margin-top:4px}.crm-stage-form{display:grid;gap:7px;min-width:160px}.crm-stage-form select{min-height:36px;border:1px solid #ccc;background:#fff;padding:6px 8px}.crm-visit-card{display:grid;grid-template-columns:82px 1fr;gap:16px}.crm-visit-date{display:grid;place-items:center;align-content:start;background:#171717;color:#fff;padding:12px}.crm-visit-date strong{font-size:1.8rem;line-height:1}.crm-visit-date span,.crm-visit-date small{font-size:.62rem;margin-top:4px}.crm-visit-card h3{margin:0}.crm-visit-card p{font-size:.74rem;margin:8px 0}.crm-next-action{display:inline-block;margin-top:9px;padding:7px 9px;background:#fff4cf;font-size:.66rem}.crm-activity-card{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.crm-activity-card.overdue{border-left:4px solid #b42318}.crm-activity-card.completed{opacity:.6}.crm-activity-card h3{margin:6px 0 3px}.crm-activity-card small{display:block;color:#777}.crm-activity-card p{font-size:.72rem}.crm-activity-when{text-align:right;display:grid;gap:6px;justify-items:end}.crm-action-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-action-tabs details{border:1px solid #ddd;background:#fafafa}.crm-action-tabs summary{cursor:pointer;padding:13px 14px;font-weight:900;font-size:.76rem;text-transform:uppercase}.crm-action-tabs details[open] summary{border-bottom:1px solid #ddd;background:#fff}.crm-action-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px}.crm-action-form label{display:grid;gap:5px}.crm-action-form label>span{font-size:.58rem;text-transform:uppercase;color:#777;font-weight:800}.crm-action-form input,.crm-action-form select,.crm-action-form textarea{width:100%;border:1px solid #ccc;background:#fff;padding:9px 10px;min-height:40px}.crm-action-form textarea{resize:vertical}.crm-action-form .full{grid-column:1/-1}.crm-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crm-history-grid>div{border:1px solid #ddd;background:#fafafa;padding:14px;min-height:120px}.crm-history-grid h3{margin:0 0 10px}.crm-history-item{display:grid;gap:4px;padding:9px 0;border-bottom:1px solid #e5e5e5}.crm-history-item:last-child{border-bottom:0}.crm-history-item small{color:#777;font-size:.61rem}.crm-history-item p{margin:3px 0 0;font-size:.7rem}.crm-history-item.done{opacity:.55}
@media(max-width:1180px){.crm-funnel-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-opportunity-card{grid-template-columns:1fr}.crm-stage-form{grid-template-columns:minmax(180px,1fr) auto}.crm-opportunity-metrics{max-width:620px}}
@media(max-width:700px){.crm-funnel-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-action-tabs,.crm-history-grid,.crm-action-form{grid-template-columns:1fr}.crm-action-form .full{grid-column:auto}.crm-opportunity-metrics{grid-template-columns:1fr}.crm-stage-form{grid-template-columns:1fr}.crm-visit-card{grid-template-columns:62px 1fr}.crm-visit-date{padding:9px}.crm-activity-card{grid-template-columns:1fr}.crm-activity-when{text-align:left;justify-items:start}.crm-agenda-strip{align-items:flex-start;flex-direction:column;gap:7px}.crm-agenda-strip a{margin-left:0}.crm-funnel-stage{min-height:82px}}

/* Plataforma Allikon v7.7.1 — inteligência comercial e produto por código principal */
.crm-intelligence-note{border-left:4px solid var(--primary,#da291c)}
.crm-priority{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.02em;background:#ececec;color:#333;white-space:nowrap}
.crm-priority.priority-urgente{background:#ffe5e2;color:#9d1c12}
.crm-priority.priority-alta{background:#fff0d9;color:#8a4e00}
.crm-priority.priority-média{background:#fff8cf;color:#6a5700}
.crm-priority.priority-acompanhar{background:#e9f2ff;color:#214b7b}
.crm-recommendation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.75rem}
.crm-recommendation-item{display:flex;flex-direction:column;gap:.3rem;padding:1rem;border:1px solid var(--border-color,#ddd);border-radius:12px;text-decoration:none;color:inherit;background:var(--card-bg,#fff)}
.crm-recommendation-item:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,.07)}
.crm-priority-table td{vertical-align:top}
@media(max-width:760px){.crm-priority-table{min-width:980px}.crm-recommendation-grid{grid-template-columns:1fr}}
/* v7.8.1 - Radar comercial, campanhas e inteligência da carteira */
.crm-radar-kpis{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:18px}.crm-radar-filter{grid-template-columns:minmax(260px,1.4fr) minmax(230px,1fr) minmax(220px,.8fr) auto}.crm-radar-dashboard,.crm-birthday-card{margin-bottom:20px}.crm-radar-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.crm-radar-mini-grid a{display:grid;gap:4px;padding:14px;border:1px solid #ddd;background:#fafafa;color:#222}.crm-radar-mini-grid strong{font-size:1.5rem}.crm-radar-mini-grid span{font-size:.62rem;text-transform:uppercase;color:#666;font-weight:800}.crm-birthday-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.crm-birthday-list a{display:grid;gap:4px;border:1px solid #ddd;padding:11px;color:#222;background:#fafafa}.crm-birthday-list small{font-size:.62rem;color:#777}.crm-intelligence-panel{border-left:4px solid var(--red,#da291c);margin-bottom:20px}.crm-intelligence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.crm-intelligence-grid>div{display:grid;gap:4px;padding:11px;background:#f7f7f7;border:1px solid #ddd}.crm-intelligence-grid span{font-size:.58rem;text-transform:uppercase;color:#777;font-weight:800}.crm-intelligence-grid strong{font-size:.9rem}.crm-intelligence-grid small{font-size:.61rem;color:#777}.crm-insight-action{display:grid;gap:3px;margin-top:10px;padding:11px;background:#fff8e7;border:1px solid #efdba4}.crm-insight-action small{color:#6e6250}.crm-consent-box{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px;padding-top:12px;border-top:1px solid #e5e5e5}.crm-consent-box p{margin:4px 0 0;max-width:760px}.crm-consent-check{display:flex!important;align-items:center;gap:7px!important;font-size:.72rem!important;font-weight:800}.crm-consent-check input{width:auto!important;min-height:auto!important}.crm-campaign-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.crm-campaign-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-bottom:18px}.crm-template-list{display:grid;gap:10px}.crm-template-list>div{padding:10px;border:1px solid #ddd;background:#fafafa}.crm-template-list p{font-size:.7rem;margin:7px 0}.crm-template-list small{font-size:.6rem;color:#777}
@media(max-width:1200px){.crm-radar-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-radar-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-birthday-list{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-intelligence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.crm-radar-kpis,.crm-radar-filter,.crm-radar-mini-grid,.crm-birthday-list,.crm-intelligence-grid,.crm-campaign-kpis{grid-template-columns:1fr}.crm-consent-box{align-items:flex-start;flex-direction:column}.crm-campaign-layout{grid-template-columns:1fr}}

/* Plataforma Allikon v7.9.2 — Central de Leads, carteiras, WhatsApp e acessos por vendedor */
.crm-routing-board{display:grid;grid-template-columns:minmax(240px,.55fr) minmax(0,1.45fr);gap:18px;align-items:start;margin-bottom:16px;border-left:4px solid var(--red,#da291c)}
.crm-routing-board p{margin:5px 0 0}.crm-drop-sellers{display:flex;gap:7px;flex-wrap:wrap}.crm-seller-drop{border:1px dashed #aaa;background:#fafafa;padding:9px 11px;border-radius:8px;font-size:.68rem;font-weight:800;cursor:default}.crm-seller-drop.drag-over{border-color:var(--red,#da291c);background:#fff0ee;box-shadow:0 0 0 2px rgba(218,41,28,.1)}
.crm-lead-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crm-central-lead{display:grid;gap:10px}.crm-central-lead.is-dragging{opacity:.45;outline:2px dashed var(--red,#da291c)}.crm-lead-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.crm-lead-meta span{display:grid;gap:3px;padding:8px;background:#f7f7f7;border:1px solid #eee;font-size:.58rem;text-transform:uppercase;color:#777}.crm-lead-meta strong{font-size:.7rem;color:#222;text-transform:none}.crm-lead-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:end;border-top:1px solid #eee;padding-top:10px}.crm-lead-actions form{display:flex;gap:6px;flex-wrap:wrap}.crm-lead-actions select,.crm-lead-actions input{min-height:34px;border:1px solid #ccc;background:#fff;padding:6px 8px;max-width:190px}
.crm-seller-login{grid-column:1/-1;border-top:1px solid #eee;padding-top:10px}.crm-seller-login summary{cursor:pointer;font-size:.7rem;font-weight:900;text-transform:uppercase}.crm-action-form.compact{padding:10px 0 0}.crm-action-form.compact .crm-check{display:flex;align-items:center;gap:7px}.crm-action-form.compact .crm-check input{width:auto;min-height:auto}.crm-inline-form{display:flex;gap:6px;margin-top:8px}.crm-inline-form input{flex:1;min-width:0;border:1px solid #ccc;padding:7px 8px}.crm-row-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.btn-sm{min-height:32px!important;padding:6px 9px!important;font-size:.62rem!important}
.crm-code-box{display:grid;gap:7px;margin:10px 0}.crm-code-box code{display:block;overflow:auto;padding:10px 12px;background:#151515;color:#f4f4f4;border-radius:7px;font-size:.72rem}.crm-integration-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.crm-territory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.crm-whatsapp-list{display:grid;gap:10px}.crm-whatsapp-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.crm-chat-shell{display:grid;grid-template-rows:auto minmax(420px,1fr) auto;min-height:650px}.crm-chat-messages{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:16px;background:#f5f4f1;border:1px solid #ddd}.crm-chat-message{max-width:min(78%,680px);padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #ddd;align-self:flex-start}.crm-chat-message.outbound{align-self:flex-end;background:#e8f7e9}.crm-chat-message small{display:block;color:#777;margin-top:5px;font-size:.58rem}.crm-chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.crm-chat-compose textarea{min-height:58px;border:1px solid #ccc;padding:10px;resize:vertical}
@media(max-width:1100px){.crm-routing-board{grid-template-columns:1fr}.crm-lead-board{grid-template-columns:1fr}.crm-territory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-integration-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.crm-lead-meta,.crm-integration-kpis,.crm-territory-grid{grid-template-columns:1fr}.crm-lead-actions,.crm-lead-actions form{display:grid;grid-template-columns:1fr;width:100%}.crm-lead-actions select,.crm-lead-actions input{max-width:none;width:100%}.crm-chat-shell{min-height:560px}.crm-chat-message{max-width:92%}.crm-chat-compose{grid-template-columns:1fr}.crm-inline-form{flex-direction:column}}
.crm-inbox-list{display:grid;gap:10px}.crm-inbox-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;color:inherit}.crm-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#181818;color:#fff;font-weight:900}.crm-inbox-item small{display:block;color:#777;font-size:.62rem}.crm-inbox-item p{margin:5px 0 0;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-inbox-time{display:grid;justify-items:end;gap:5px}.crm-inbox-time span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#16864b;color:#fff;font-size:.6rem;font-weight:900}.crm-chat{display:grid;gap:10px}.crm-chat-thread{display:flex;flex-direction:column;gap:8px;min-height:420px;max-height:62vh;overflow:auto;padding:14px;background:#f5f4f1;border:1px solid #ddd}.crm-chat-bubble{max-width:min(78%,680px);padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #ddd;align-self:flex-start}.crm-chat-bubble.out{align-self:flex-end;background:#e8f7e9}.crm-chat-bubble p{margin:5px 0;font-size:.75rem;white-space:pre-wrap}.crm-chat-bubble small,.crm-chat-bubble span{font-size:.58rem;color:#777}
@media(max-width:700px){.crm-inbox-item{grid-template-columns:40px minmax(0,1fr)}.crm-inbox-time{grid-column:2;justify-items:start}.crm-chat-bubble{max-width:92%}}


/* Plataforma Allikon v7.9.5 — versão visível e faturamentos no menu lateral */
.admin-sidebar { display:flex; flex-direction:column; }
.admin-sidebar .admin-nav { flex:1 0 auto; }
.admin-sidebar-version {
  margin-top:24px; padding:14px 12px 4px; border-top:1px solid rgba(255,255,255,.14);
  display:flex; flex-direction:column; gap:2px; color:rgba(255,255,255,.62); font-size:.76rem;
  letter-spacing:.02em;
}
.admin-sidebar-version strong { color:rgba(255,255,255,.92); font-size:.82rem; font-weight:700; }
@media (max-width: 900px) {
  .admin-sidebar-version { margin-top:16px; padding-bottom:12px; text-align:center; }
}

/* Plataforma Allikon v7.9.5 — Inteligência Comercial e mapa da base instalada */
.crm-intel-filters{display:grid;grid-template-columns:minmax(180px,1.1fr) 110px minmax(190px,1fr) minmax(230px,1.2fr) auto auto;gap:9px;align-items:end;margin:0 0 18px;padding:14px;border:1px solid #ddd;background:#fafafa}.crm-intel-filters label{display:grid;gap:5px}.crm-intel-filters label>span{font-size:.6rem;text-transform:uppercase;font-weight:800;color:#6d6d6d}.crm-intel-filters select{min-height:40px;border:1px solid #ccc;background:#fff;padding:7px 9px}.crm-intel-kpis{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:18px}.crm-intel-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.65fr);gap:18px;margin-bottom:18px}.crm-map-card{min-width:0}.crm-brazil-map{position:relative;min-height:570px;border:1px solid #ddd;background:linear-gradient(180deg,#f7fafc,#edf2f4);overflow:hidden}.crm-brazil-map svg{display:block;width:100%;height:570px}.crm-brazil-outline{fill:#fff;stroke:#9aa4aa;stroke-width:2.2}.crm-map-bubble{fill:rgba(55,65,72,.25);stroke:#465159;stroke-width:1.5;cursor:pointer}.crm-map-bubble:hover{fill:rgba(218,41,28,.23);stroke:#da291c}.crm-map-label{font:800 10px Inter,sans-serif;fill:#273139;text-anchor:middle;pointer-events:none}.crm-map-point{fill:#da291c;stroke:#fff;stroke-width:2;cursor:pointer}.crm-map-point:hover{r:8}.crm-map-tooltip{position:absolute;z-index:4;max-width:260px;padding:9px 11px;background:#171717;color:#fff;border-radius:7px;font-size:.7rem;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,.25)}.crm-intel-side{min-width:0}.crm-bar-list{display:grid;gap:8px}.crm-bar-row{display:grid;grid-template-columns:90px minmax(70px,1fr) 52px;gap:9px;align-items:center;padding:8px;border:1px solid #eee;color:inherit;text-decoration:none}.crm-bar-row span{display:grid}.crm-bar-row small{font-size:.57rem;color:#777}.crm-bar-row i{height:9px;border-radius:99px;background:linear-gradient(90deg,#da291c var(--bar),#eee var(--bar));}.crm-bar-row b{text-align:right}.crm-intel-split{margin-bottom:18px}.crm-ranking-list{display:grid;gap:7px}.crm-ranking-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eee}.crm-ranking-list span{display:grid;gap:2px}.crm-ranking-list small{font-size:.6rem;color:#777}.crm-ranking-list b{white-space:nowrap}.crm-definition-list dd.crm-note-value{white-space:pre-wrap;max-width:720px}
@media(max-width:1250px){.crm-intel-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-intel-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-intel-filters .btn{width:100%}.crm-intel-layout{grid-template-columns:1fr}.crm-brazil-map,.crm-brazil-map svg{min-height:500px;height:500px}}
@media(max-width:760px){.crm-intel-kpis,.crm-intel-filters{grid-template-columns:1fr}.crm-brazil-map,.crm-brazil-map svg{min-height:390px;height:390px}.crm-bar-row{grid-template-columns:72px 1fr 46px}}

/* v7.9.5 - mapa político, diagnósticos e visitas */
.crm-brazil-map svg{width:100%;height:auto;display:block;max-height:650px}.br-state{fill:#e7ebee;stroke:#fff;stroke-width:2;cursor:pointer;transition:fill .15s,transform .15s;transform-box:fill-box;transform-origin:center}.br-state:hover,.br-state:focus{fill:#d8a726;outline:none}.br-state.is-selected{stroke:#111;stroke-width:3}.br-state-label{font-size:13px;font-weight:800;fill:#333;pointer-events:none;text-anchor:middle}.crm-map-point{fill:#d51418;stroke:#fff;stroke-width:2;cursor:pointer}.crm-map-legend{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.crm-map-legend i{width:22px;height:10px;display:inline-block;border:1px solid #ddd}.crm-sync-error{display:block;max-width:390px;color:#a52a2a;margin-top:5px;white-space:normal}.crm-visit-entry-grid,.crm-prospect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.crm-visit-entry-grid .span-2,.crm-prospect-grid .span-2{grid-column:span 2}.crm-visit-entry-grid .span-3,.crm-prospect-grid .span-3{grid-column:1/-1}@media(max-width:900px){.crm-visit-entry-grid,.crm-prospect-grid{grid-template-columns:1fr}.crm-visit-entry-grid .span-2,.crm-prospect-grid .span-2{grid-column:auto}}

/* CRM v7.9.8 - mapa navegável e operação comercial */
.crm-slippy-map{height:560px;position:relative;overflow:hidden;background:#e8edf0;border:1px solid #d6dadd;cursor:grab;user-select:none;touch-action:none}
.crm-slippy-map.is-dragging{cursor:grabbing}.crm-map-tiles,.crm-map-markers{position:absolute;inset:0}.crm-map-tile{position:absolute;width:256px;height:256px;max-width:none;border:0}.crm-map-markers{pointer-events:none}.crm-map-pin,.crm-map-cluster{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;cursor:pointer;border:2px solid #fff;box-shadow:0 2px 8px #0005;font:700 12px/1 Inter,Arial,sans-serif}.crm-map-pin{width:16px;height:16px;border-radius:50%;background:#d90000;color:transparent}.crm-map-cluster{min-width:34px;height:34px;padding:0 8px;border-radius:18px;background:#171717;color:#fff}.crm-map-controls{position:absolute;z-index:8;left:12px;top:12px;display:flex;flex-direction:column;gap:4px}.crm-map-controls button{width:36px;height:36px;border:1px solid #c9ced1;background:#fff;font-weight:800;cursor:pointer;box-shadow:0 2px 5px #0002}.crm-map-popup{position:absolute;z-index:12;width:260px;background:#fff;border:1px solid #c9ced1;box-shadow:0 8px 24px #0003;padding:12px;pointer-events:auto;font-size:13px;line-height:1.35}.crm-map-popup strong{display:block;font-size:14px;margin-bottom:5px}.crm-map-popup-products{margin:7px 0;color:#555;max-height:54px;overflow:hidden}.crm-map-popup .btn{margin-top:8px}.crm-map-attrib{position:absolute;z-index:7;right:4px;bottom:4px;background:#ffffffd9;padding:2px 5px;font-size:10px}.crm-map-status{position:absolute;z-index:7;left:8px;bottom:8px;background:#171717dd;color:#fff;padding:5px 8px;font-size:11px}.crm-slippy-map.tile-error:after{content:'Mapa base indisponível sem internet; os pontos GPS continuam carregados.';position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:10px 14px;border:1px solid #ddd}.crm-map-empty-note{padding:12px 14px;border:1px dashed #c6cbd0;background:#fafafa;margin-top:10px}.crm-city-customer{margin-bottom:14px}.crm-city-customer summary{cursor:pointer;padding:14px;display:flex;gap:14px;align-items:center;justify-content:space-between}.crm-city-customer[open] summary{border-bottom:1px solid #e2e2e2}.crm-city-purchases{padding:10px 14px 16px}.crm-purchase-type{font-size:10px;text-transform:uppercase;letter-spacing:.06em}.crm-visit-customer-search{position:relative}.crm-autocomplete-results{position:absolute;z-index:30;left:0;right:0;top:100%;background:#fff;border:1px solid #cfd3d6;max-height:260px;overflow:auto;box-shadow:0 8px 18px #0002}.crm-autocomplete-results button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #eee;background:#fff;padding:10px 12px;cursor:pointer}.crm-autocomplete-results button:hover{background:#f5f5f5}.crm-autocomplete-results small{display:block;color:#666;margin-top:2px}
@media(max-width:800px){.crm-slippy-map{height:460px}.crm-city-customer summary{align-items:flex-start;flex-direction:column}}

.crm-map-popup-location{font-weight:700;color:#8a5200;margin:2px 0 4px}.crm-map-popup-address{font-size:12px;color:#555;margin-top:2px}
