:root{
  --navy:#0b3158;
  --navy-2:#082544;
  --blue:#1b74c9;
  --sky:#4fb5e9;
  --ice:#eef7fc;
  --white:#ffffff;
  --ink:#14263a;
  --muted:#66788a;
  --line:#d9e5ef;
  --soft:#f6f9fc;
  --success:#16794b;
  --danger:#a52a2a;
  --shadow:0 18px 50px rgba(10,49,88,.10);
  --radius:22px;
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input{font:inherit}
.container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(217,229,239,.9);backdrop-filter:blur(14px)}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:inline-flex;align-items:center;gap:11px}
.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,var(--navy),var(--blue));color:#fff;font-weight:900;font-size:22px;box-shadow:0 8px 20px rgba(27,116,201,.20)}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text strong{font-size:17px;letter-spacing:.06em;color:var(--navy)}
.brand-text small{font-size:10px;letter-spacing:.22em;color:var(--blue);margin-top:5px;font-weight:800}
.main-nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:700;color:#45586b}
.main-nav a{position:relative;padding:27px 0 24px}
.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:18px;height:2px;background:var(--blue);transition:.2s ease}
.main-nav a:hover,.main-nav a.active{color:var(--navy)}
.main-nav a:hover:after,.main-nav a.active:after{right:0}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;color:var(--navy)}
.back-site{font-weight:800;color:var(--blue)}
.hero{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f4f9fd 100%);border-bottom:1px solid var(--line)}
.hero-grid{min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px;padding-block:70px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:12px;letter-spacing:.16em;font-weight:900;margin-bottom:14px}
.eyebrow:before{content:"";width:24px;height:2px;background:currentColor}
.eyebrow-light{color:#8cd6fb}
.hero h1,.page-hero h1{margin:0;color:var(--navy);font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-.045em;max-width:820px}
.hero-copy>p{font-size:19px;color:var(--muted);max-width:650px;margin:24px 0 28px}
.hero-actions,.cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:12px;border:1px solid transparent;font-weight:800;cursor:pointer;transition:.2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 10px 24px rgba(27,116,201,.20)}
.btn-secondary{border-color:var(--line);background:#fff;color:var(--navy)}
.btn-light{background:#fff;color:var(--navy)}
.btn-full{width:100%}
.hero-points{display:flex;gap:20px;flex-wrap:wrap;color:#52677b;font-size:13px;font-weight:700;margin-top:28px}
.hero-points span{display:flex;align-items:center;gap:8px}
.hero-points span:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--sky)}
.hero-panel{position:relative;min-height:430px;border-radius:34px;background:linear-gradient(145deg,var(--navy-2),#0c4d83);box-shadow:var(--shadow);overflow:hidden}
.tech-ring{position:absolute;width:380px;height:380px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-80px;top:20px}
.tech-ring:before,.tech-ring:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.10)}
.tech-ring:before{inset:45px}.tech-ring:after{inset:100px}
.tech-card{position:absolute;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.5);border-radius:18px;padding:18px 20px;box-shadow:0 16px 30px rgba(0,0,0,.15);min-width:220px}
.tech-card strong{display:block;color:var(--navy);font-size:13px;letter-spacing:.14em}
.tech-card span{display:block;color:var(--muted);font-size:13px;margin-top:5px}
.tech-card-a{left:42px;top:62px}.tech-card-b{right:34px;top:183px}.tech-card-c{left:80px;bottom:46px}
.section{padding:88px 0}
.section-soft{background:var(--soft);border-block:1px solid var(--line)}
.section-dark{background:linear-gradient(135deg,var(--navy-2),var(--navy));color:#fff}
.section-dark h2{color:#fff}
.section-dark p{color:#c9d9e8}
.section-heading{max-width:720px;margin-bottom:34px}
.section-heading h2,.section h2{font-size:clamp(30px,3vw,44px);line-height:1.08;letter-spacing:-.035em;color:var(--navy);margin:0 0 14px}
.section-heading p,.section p{color:var(--muted)}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card,.contact-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-height:220px;box-shadow:0 8px 30px rgba(10,49,88,.04)}
.service-card h2,.service-card h3,.contact-card h2{font-size:21px;margin:30px 0 10px;color:var(--navy)}
.card-index{position:absolute;top:24px;right:24px;font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--sky)}
.split{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:52px}
.stats-card{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);border-radius:var(--radius);padding:30px}
.stats-card strong{font-size:22px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(10,49,88,.05)}
.product-placeholder,.product-image{aspect-ratio:1.15/1;background:linear-gradient(145deg,#edf6fb,#dfeef8);display:grid;place-items:center;color:var(--navy);font-weight:900;letter-spacing:.16em}
.product-image img{width:100%;height:100%;object-fit:cover}
.product-body{padding:20px}
.product-body h2,.product-body h3{font-size:18px;color:var(--navy);margin:0 0 8px}
.product-body p{font-size:14px;min-height:44px}
.price{display:block;color:var(--navy);font-size:20px;margin-top:14px}
.cta{display:flex;justify-content:space-between;align-items:center;gap:36px;background:var(--ice);border:1px solid #d7ebf7;border-radius:28px;padding:36px}
.cta h2{margin-bottom:0;max-width:700px}
.page-hero{background:linear-gradient(180deg,#f7fbfe 0%,#fff 100%);border-bottom:1px solid var(--line);padding:78px 0 66px}
.page-hero p{font-size:18px;color:var(--muted);max-width:700px;margin:20px 0 0}
.page-hero .btn{margin-top:24px}
.about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:start}
.about-grid>div:first-child p{font-size:18px}
.about-panel{background:var(--navy);color:#fff;border-radius:var(--radius);padding:30px}
.about-panel strong{font-size:20px}
.about-panel ul{margin:18px 0 0;padding-left:20px;color:#dce8f2}
.about-panel li+li{margin-top:10px}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.empty-state{text-align:center;border:1px dashed #bcd6e7;border-radius:28px;padding:70px 30px;background:#f9fcfe}
.empty-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:20px;background:var(--navy);color:#fff;font-size:30px;font-weight:900;margin:0 auto 20px}
.site-footer{background:#081f37;color:#c5d4e2;padding:58px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .9fr;gap:50px}
.footer-grid>div{display:flex;flex-direction:column;gap:9px}
.footer-grid strong,.footer-brand{color:#fff;font-weight:900}
.footer-brand{letter-spacing:.08em}
.footer-grid p{margin:0;color:#9db0c0}
.footer-grid a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.10);padding-top:20px;margin-top:42px;font-size:12px;color:#7890a5}
.admin-section{min-height:calc(100vh - 76px);background:#f3f7fa;padding:64px 0}
.admin-login-wrap{display:grid;place-items:center;min-height:570px}
.admin-login-card{width:min(100%,460px);background:#fff;border:1px solid var(--line);border-radius:26px;padding:34px;box-shadow:var(--shadow)}
.admin-login-card h1{color:var(--navy);font-size:34px;margin:0 0 10px}
.admin-login-card>p{color:var(--muted)}
.form-stack{display:grid;gap:17px;margin-top:24px}
.form-stack label span{display:block;font-size:13px;font-weight:800;color:#3e5265;margin-bottom:7px}
.form-stack input{width:100%;border:1px solid #cbd9e5;border-radius:11px;padding:13px 14px;outline:none}
.form-stack input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(27,116,201,.10)}
.alert{border-radius:12px;padding:13px 14px;margin:18px 0;font-weight:700;font-size:14px}
.alert-error{background:#fff1f0;border:1px solid #ffd2cf;color:var(--danger)}
.alert-success{background:#eefaf4;border:1px solid #c7edd9;color:var(--success)}
.admin-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:28px}
.admin-topbar h1{color:var(--navy);font-size:38px;margin:0 0 6px}
.admin-topbar p{margin:0;color:var(--muted)}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}
.admin-stats article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.admin-stats span{display:block;color:var(--muted);font-size:13px;font-weight:800}
.admin-stats strong{display:block;color:var(--navy);font-size:32px;margin-top:8px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.admin-card{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.admin-card h2{font-size:18px!important;margin:0 0 6px!important}
.admin-card p{font-size:14px;margin:0}
.admin-card>strong{font-size:10px;letter-spacing:.1em;color:var(--muted)}
.status-dot{width:10px;height:10px;border-radius:50%;margin-top:7px}
.status-dot.ready{background:#26a269}.status-dot.waiting{background:#f0a43c}
.admin-version{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:16px 20px;background:#eaf2f8;border-radius:14px;font-size:13px}
@media(max-width:900px){
  .hero-grid,.split,.about-grid{grid-template-columns:1fr}
  .hero-grid{min-height:auto}
  .hero-panel{min-height:380px}
  .service-grid,.contact-grid{grid-template-columns:1fr 1fr}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .admin-stats{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .menu-toggle{display:block}
  .main-nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:14px 20px 20px;flex-direction:column;align-items:stretch;gap:0}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px 4px}
  .main-nav a:after{display:none}
  .hero-grid{padding-block:48px;gap:38px}
  .hero h1,.page-hero h1{font-size:40px}
  .hero-panel{min-height:320px}
  .tech-card{min-width:180px;padding:14px}
  .tech-card-a{left:20px;top:40px}.tech-card-b{right:18px;top:140px}.tech-card-c{left:40px;bottom:30px}
  .section{padding:62px 0}
  .service-grid,.contact-grid,.admin-grid{grid-template-columns:1fr}
  .cta{align-items:flex-start;flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{gap:8px;flex-direction:column}
  .admin-topbar{flex-direction:column}
}
@media(max-width:480px){
  .container{width:min(calc(100% - 28px),var(--container))}
  .brand-text strong{font-size:15px}
  .brand-mark{width:38px;height:38px}
  .hero h1,.page-hero h1{font-size:36px}
  .hero-panel{min-height:290px}
  .product-grid,.admin-stats{grid-template-columns:1fr}
  .tech-card{min-width:160px}
  .tech-card span{font-size:11px}
  .admin-login-card{padding:24px}
}


/* ===== CHIPSET ADMIN CATALOG - BLOCO 3 ===== */
.admin-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
.admin-sidebar{position:sticky;top:100px;background:#0b3158;border-radius:20px;padding:20px;color:#fff;box-shadow:0 16px 34px rgba(10,49,88,.12)}
.admin-side-title{font-size:11px;letter-spacing:.14em;font-weight:900;color:#8dd3f7;margin-bottom:14px}
.admin-side-nav{display:grid;gap:6px}
.admin-side-nav a,.admin-side-nav span{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:10px;padding:11px 12px;color:#d7e6f1;font-size:13px;font-weight:800}
.admin-side-nav a:hover,.admin-side-nav a.active{background:rgba(255,255,255,.12);color:#fff}
.admin-side-nav span{opacity:.55}
.admin-side-nav small{font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.admin-content{min-width:0}
.admin-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}
.admin-page-head h1{margin:0;color:var(--navy);font-size:38px;letter-spacing:-.03em}
.admin-page-head p{margin:7px 0 0;color:var(--muted)}
.admin-card-link{color:inherit;text-decoration:none;transition:.2s ease}
.admin-card-link:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(10,49,88,.08)}
.admin-empty{background:#fff;border:1px dashed #b8cedd;border-radius:20px;padding:44px;text-align:center}
.admin-empty strong{display:block;color:var(--navy);font-size:22px}
.admin-empty p{margin:8px 0 20px;color:var(--muted)}
.admin-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.admin-table{width:100%;border-collapse:collapse;min-width:760px}
.admin-table th,.admin-table td{padding:15px 16px;border-bottom:1px solid #e5edf3;text-align:left;vertical-align:middle}
.admin-table th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6e8191;background:#f7fafc}
.admin-table tbody tr:last-child td{border-bottom:0}
.admin-table td>strong{color:var(--navy)}
.admin-table td small{display:block;color:var(--muted);margin-top:3px;max-width:420px}
.admin-table code{font-size:12px;background:#eef4f8;padding:3px 6px;border-radius:6px;color:#40566a}
.table-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;white-space:nowrap}
.table-actions form{margin:0}
.mini-btn{border:1px solid #c8d8e4;background:#fff;color:#17466f;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer;text-decoration:none}
.mini-btn:hover{background:#eef6fb}
.mini-btn.danger{border-color:#efc9c9;color:#9e3030}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;margin-right:4px}
.badge-on{background:#e7f7ee;color:#187247}
.badge-off{background:#edf1f4;color:#677784}
.badge-featured{background:#fff2d9;color:#8d5b00}
.stock-low{color:#b05a00;font-weight:900}
.product-admin-cell{display:flex;align-items:center;gap:12px;min-width:230px}
.product-admin-cell img,.product-thumb-empty{width:52px;height:52px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.product-thumb-empty{display:grid;place-items:center;background:#e8f2f8;color:#0b3158;font-weight:900}
.admin-form-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.form-section+.form-section{margin-top:30px;padding-top:26px;border-top:1px solid #e7eef3}
.form-section h2{font-size:21px!important;margin:0 0 16px!important;color:var(--navy)}
.form-help{margin:-7px 0 16px;color:var(--muted);font-size:13px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid.three{grid-template-columns:repeat(3,1fr)}
.form-grid.four{grid-template-columns:repeat(4,1fr)}
.field.full{grid-column:1/-1}
.field span,.check-field span{display:block;font-size:12px;font-weight:900;color:#44596d;margin-bottom:7px}
.field input,.field textarea,.field select{width:100%;border:1px solid #c9d8e4;border-radius:11px;background:#fff;padding:12px 13px;color:#172b3f;outline:none}
.field textarea{resize:vertical;min-height:110px}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#1b74c9;box-shadow:0 0 0 4px rgba(27,116,201,.09)}
.check-grid{display:flex;gap:24px;flex-wrap:wrap}
.check-field{display:flex;align-items:center;gap:9px;padding:12px 14px;border:1px solid #d6e1e9;border-radius:12px;background:#f9fbfd}
.check-field input{width:17px;height:17px}
.check-field span{margin:0}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.upload-box{display:flex;align-items:center;justify-content:center;min-height:110px;border:2px dashed #b8cedd;border-radius:16px;background:#f8fbfd;cursor:pointer}
.upload-box input{position:absolute;width:1px;height:1px;opacity:0}
.upload-box span{font-size:14px;font-weight:900;color:#1b74c9}
.product-images-card{margin-top:18px}
.product-images-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.product-image-admin{border:1px solid #d9e5ed;border-radius:15px;padding:8px;background:#fff}
.product-image-admin.is-primary{border-color:#efc169;box-shadow:0 0 0 2px rgba(239,193,105,.18)}
.product-image-admin img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#eef4f8}
.product-image-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:9px}
.product-image-actions form{margin:0}
.alert ul{margin:8px 0 0;padding-left:20px}
@media(max-width:980px){
  .admin-workspace{grid-template-columns:1fr}
  .admin-sidebar{position:static}
  .admin-side-nav{grid-template-columns:repeat(3,1fr)}
  .form-grid.four{grid-template-columns:1fr 1fr}
  .product-images-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:720px){
  .admin-page-head{flex-direction:column}
  .admin-side-nav{grid-template-columns:1fr 1fr}
  .form-grid,.form-grid.three,.form-grid.four{grid-template-columns:1fr}
  .product-images-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .admin-side-nav{grid-template-columns:1fr}
  .product-images-grid{grid-template-columns:1fr}
  .admin-form-card{padding:18px}
}


/* ===== CHIPSET PRODUCT DETAIL + UPLOAD PREVIEW - B3.2 ===== */
.product-card-link-public{display:block;color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.product-card-link-public:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(10,49,88,.11)}
.product-view-link{display:inline-flex;margin-top:14px;color:var(--blue);font-size:12px;font-weight:900}
.product-detail-section{padding:52px 0 90px;background:#fff}
.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#718496;font-size:13px;margin-bottom:28px}
.breadcrumbs a{color:var(--blue);font-weight:800}
.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:58px;align-items:start}
.product-gallery{min-width:0}
.product-main-image{display:grid;place-items:center;aspect-ratio:1/1;background:#f5f9fc;border:1px solid var(--line);border-radius:26px;overflow:hidden}
.product-main-image img{width:100%;height:100%;object-fit:contain;background:#fff}
.product-detail-placeholder{font-size:28px;font-weight:900;letter-spacing:.14em;color:var(--navy)}
.product-thumbnails{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}
.product-thumb{aspect-ratio:1/1;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;overflow:hidden}
.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.product-thumb.active{border-color:var(--blue);box-shadow:0 0 0 2px rgba(27,116,201,.12)}
.product-detail-info{position:sticky;top:110px;padding-top:6px}
.product-category{display:inline-flex;color:var(--blue);font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;margin-bottom:12px}
.product-detail-info h1{font-size:clamp(34px,4vw,54px);line-height:1.04;letter-spacing:-.04em;color:var(--navy);margin:0 0 16px}
.product-lead{font-size:17px;color:var(--muted);margin:0 0 22px}
.compare-price{display:block;color:#8b9aa8;text-decoration:line-through;font-size:15px}
.product-detail-price{display:block;color:var(--navy);font-size:34px;margin:4px 0 22px}
.product-stock-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:#f8fbfd}
.product-stock-box small{color:var(--muted)}
.stock-status{font-size:12px;font-weight:900;border-radius:999px;padding:5px 9px}
.stock-status.available{background:#e7f7ee;color:#187247}
.stock-status.unavailable{background:#f8eaea;color:#9a3030}
.product-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.product-meta>div{border:1px solid var(--line);border-radius:12px;padding:13px 14px}
.product-meta span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.product-meta strong{display:block;color:var(--navy);font-size:13px;margin-top:4px}
.product-next-step{margin-top:20px;padding:18px;border-radius:15px;background:var(--ice);border:1px solid #d7ebf7}
.product-next-step strong{color:var(--navy)}
.product-next-step p{margin:6px 0 0;color:var(--muted);font-size:13px}
.product-description{margin-top:70px;padding-top:48px;border-top:1px solid var(--line);max-width:900px}
.product-description h2{font-size:34px;margin:0 0 18px;color:var(--navy)}
.product-description-text{color:#43596d;font-size:16px;line-height:1.75}
.product-related{margin-top:70px;padding-top:48px;border-top:1px solid var(--line)}
.upload-box{flex-direction:column;gap:6px}
.upload-box small{font-size:11px;font-weight:700;color:var(--muted)}
.product-upload-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.upload-preview-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}
.upload-preview-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#eef4f8}
.upload-preview-meta{padding:9px 10px}
.upload-preview-meta strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--navy);font-size:11px}
.upload-preview-meta span{display:block;color:var(--muted);font-size:10px;margin-top:3px}
@media(max-width:900px){
  .product-detail-grid{grid-template-columns:1fr}
  .product-detail-info{position:static}
  .product-upload-preview{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:620px){
  .product-thumbnails{grid-template-columns:repeat(4,1fr)}
  .product-meta{grid-template-columns:1fr}
  .product-upload-preview{grid-template-columns:repeat(2,1fr)}
}
/* ===== CHIPSET UPLOAD ACCUMULATOR - B3.4 ===== */
.upload-preview-remove{
  margin-top:8px;
  border:1px solid #efcaca;
  background:#fff;
  color:#a33131;
  border-radius:8px;
  padding:6px 9px;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.upload-preview-remove:hover{
  background:#fff4f4;
}

/* ===== CHIPSET CART - BLOCO 4 ===== */
.cart-nav-link{display:inline-flex!important;align-items:center;gap:7px}
.cart-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--blue);color:#fff;font-size:10px;font-weight:900}
.public-alert{max-width:820px;margin:0 0 24px}
.product-add-form{display:flex;align-items:end;gap:12px;margin-top:20px}
.product-add-form label{display:grid;gap:6px}
.product-add-form label span{font-size:11px;font-weight:900;color:#506477;text-transform:uppercase;letter-spacing:.06em}
.product-add-form input{width:100px;border:1px solid #cbd9e5;border-radius:11px;padding:12px 13px;outline:none}
.product-add-form input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(27,116,201,.09)}
.product-add-button{min-height:46px}
.product-add-button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.cart-page-hero{padding-bottom:52px}
.cart-section{padding-top:56px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start}
.cart-items{display:grid;gap:14px}
.cart-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.cart-item-image{display:grid;place-items:center;width:150px;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#eef5f9;color:var(--navy);font-weight:900}
.cart-item-image img{width:100%;height:100%;object-fit:cover}
.cart-item-info{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:5px 4px}
.cart-item-main{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.cart-item-title{display:block;color:var(--navy);font-size:18px;font-weight:900}
.cart-item-main small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.cart-item-main>strong{white-space:nowrap;color:var(--navy);font-size:18px}
.cart-warning{display:block;color:#a85b00;font-size:11px;font-weight:800;margin-top:7px}
.cart-item-actions{display:flex;align-items:end;gap:9px;flex-wrap:wrap}
.cart-quantity-form{display:flex;align-items:end;gap:8px}
.cart-quantity-form label{display:grid;gap:5px}
.cart-quantity-form label span{font-size:10px;font-weight:900;color:var(--muted);text-transform:uppercase}
.cart-quantity-form input{width:80px;border:1px solid #cbd9e5;border-radius:9px;padding:8px 10px}
.cart-line-total{margin-left:auto;color:var(--navy);font-size:17px}
.cart-summary{position:sticky;top:105px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 10px 30px rgba(10,49,88,.07)}
.cart-summary h2{font-size:24px;margin:0 0 20px;color:var(--navy)}
.cart-summary-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e6edf2;color:#5b6f81}
.cart-summary-row strong{color:var(--navy)}
.cart-summary-total{font-size:18px;border-bottom:0;padding:18px 0 22px}
.cart-summary-total strong{font-size:24px}
.cart-summary-warning{background:#fff5e5;border:1px solid #f1d6a7;color:#8c5a11;border-radius:12px;padding:12px;font-size:12px;font-weight:700;margin-bottom:14px}
.cart-checkout-note{color:var(--muted);font-size:11px;text-align:center;margin:10px 0 14px}
.cart-summary .btn+.btn{margin-top:9px}
.cart-empty .btn{margin-top:10px}
@media(max-width:920px){
  .cart-layout{grid-template-columns:1fr}
  .cart-summary{position:static}
}
@media(max-width:680px){
  .product-add-form{align-items:stretch;flex-direction:column}
  .product-add-form input{width:100%}
  .cart-item{grid-template-columns:100px minmax(0,1fr)}
  .cart-item-image{width:100px}
  .cart-item-main{flex-direction:column;gap:8px}
  .cart-item-actions{align-items:stretch}
  .cart-quantity-form{width:100%;align-items:end}
  .cart-quantity-form label{flex:1}
  .cart-quantity-form input{width:100%}
  .cart-line-total{width:100%;margin-left:0;margin-top:4px}
}

/* ===== CHIPSET CHECKOUT - BLOCO 5A ===== */
.checkout-page-hero{padding-bottom:52px}
.checkout-section{padding-top:56px;background:#f7fafc}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}
.checkout-form{display:grid;gap:18px}
.checkout-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.checkout-card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}
.checkout-card-head>span{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:10px;background:var(--navy);color:#fff;font-size:11px;font-weight:900}
.checkout-card-head h2{font-size:22px!important;margin:0 0 4px!important;color:var(--navy)}
.checkout-card-head p{margin:0;color:var(--muted);font-size:13px}
.checkout-info-card{background:var(--ice);border-color:#d7ebf7}
.checkout-info-card strong{color:var(--navy)}
.checkout-info-card p{margin:5px 0 0;color:var(--muted);font-size:13px}
.checkout-actions{display:flex;gap:10px;flex-wrap:wrap}
.checkout-summary{position:sticky;top:105px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 10px 30px rgba(10,49,88,.07)}
.checkout-summary h2,.order-summary-card h2{font-size:24px;margin:0 0 20px;color:var(--navy)}
.checkout-summary-items{display:grid;gap:11px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e6edf2}
.checkout-summary-item{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.checkout-summary-item>div{min-width:0}
.checkout-summary-item strong{color:var(--navy);font-size:13px}
.checkout-summary-item>div>strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.checkout-summary-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.checkout-summary-note{color:var(--muted);font-size:11px;margin:12px 0 0}
.order-confirmation-section{background:#f7fafc;padding-top:56px}
.order-confirmation-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}
.order-success-card,.order-summary-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 8px 24px rgba(10,49,88,.05)}
.order-success-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#e7f7ee;color:#187247;font-size:26px;font-weight:900;margin-bottom:20px}
.order-success-card>span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:var(--blue)}
.order-success-card h2{font-size:32px;margin:4px 0 12px;color:var(--navy)}
.order-success-card>p{color:var(--muted);max-width:650px}
.order-status-line{display:flex;justify-content:space-between;gap:20px;padding:15px 16px;border-radius:13px;background:var(--ice);border:1px solid #d7ebf7;margin:22px 0}
.order-status-line span{color:var(--muted)}
.order-status-line strong{color:var(--navy);text-align:right}
.order-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.order-customer-grid>div{padding:16px;border:1px solid var(--line);border-radius:14px}
.order-customer-grid span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.order-customer-grid strong{display:block;color:var(--navy);margin-top:5px}
.order-customer-grid small{display:block;color:var(--muted);margin-top:4px;line-height:1.5}
.order-summary-card{position:sticky;top:105px}
.alert ul{margin:8px 0 0;padding-left:20px}
@media(max-width:940px){
  .checkout-layout,.order-confirmation-layout{grid-template-columns:1fr}
  .checkout-summary,.order-summary-card{position:static}
}
@media(max-width:680px){
  .order-customer-grid{grid-template-columns:1fr}
  .checkout-card{padding:19px}
}


/* ===== CHIPSET CUSTOMER ACCOUNT - BLOCO 5B ===== */
.account-auth-section{min-height:calc(100vh - 76px);background:#f3f7fa;padding:64px 0}
.account-auth-wrap{display:grid;place-items:center;min-height:600px}
.account-auth-card{width:min(100%,470px);background:#fff;border:1px solid var(--line);border-radius:26px;padding:34px;box-shadow:var(--shadow)}
.account-auth-card-wide{width:min(100%,780px)}
.account-auth-card h1{color:var(--navy);font-size:36px;line-height:1.05;margin:0 0 10px}
.account-auth-card>p{color:var(--muted);margin-bottom:22px}
.account-auth-footer{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:22px;font-size:13px;color:var(--muted)}
.account-auth-footer a{color:var(--blue);font-weight:900}
.account-register-form{box-shadow:none;margin-top:18px}
.account-register-form .field small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.account-page-hero{padding-bottom:52px}
.account-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.account-section{background:#f7fafc;padding-top:56px}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.account-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.account-card-full{grid-column:1/-1;margin-top:18px}
.account-card h2{font-size:22px!important;margin:0 0 18px!important;color:var(--navy)}
.account-card h3{font-size:18px;color:var(--navy);margin:0 0 14px}
.account-muted{color:var(--muted)}
.account-section-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}
.address-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.address-card{border:1px solid var(--line);border-radius:15px;padding:16px;background:#fff}
.address-card.is-default{border-color:#9bcfe8;box-shadow:0 0 0 2px rgba(79,181,233,.10)}
.address-card>div:first-child{display:flex;align-items:center;gap:8px;justify-content:space-between}
.address-card>div:first-child strong{color:var(--navy)}
.address-card p{color:var(--muted);font-size:13px;line-height:1.55;margin:10px 0 14px}
.address-actions{display:flex;gap:7px;flex-wrap:wrap}
.address-actions form{margin:0}
.account-address-form{margin-top:24px;padding-top:24px;border-top:1px solid #e6edf2}
.account-empty-orders{text-align:center;padding:26px 10px}
.account-empty-orders p{color:var(--muted);margin-bottom:16px}
.account-orders{display:grid;gap:9px}
.account-order-row{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:15px 16px;background:#fff;transition:.2s ease}
.account-order-row:hover{border-color:#b8d9eb;box-shadow:0 8px 18px rgba(10,49,88,.05)}
.account-order-row>div strong{display:block;color:var(--navy)}
.account-order-row>div span{display:block;color:#36506a;font-weight:800;font-size:12px}
.account-order-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.account-order-row>strong{color:var(--navy);white-space:nowrap}
.checkout-card input[readonly]{background:#f4f7fa;color:#65798c}
@media(max-width:820px){
  .account-grid{grid-template-columns:1fr}
  .account-card-full{grid-column:auto}
  .address-grid{grid-template-columns:1fr}
  .account-order-row{grid-template-columns:1fr auto}
  .account-order-row>div:nth-child(2){grid-column:1/2}
  .account-order-row>strong{grid-column:2/3;grid-row:1/3}
}
@media(max-width:620px){
  .account-page-head{flex-direction:column}
  .account-auth-card{padding:24px}
  .account-order-row{grid-template-columns:1fr}
  .account-order-row>div:nth-child(2),.account-order-row>strong{grid-column:auto;grid-row:auto}
}


/* ===== CHIPSET MASKS + CEP LOOKUP - 5B FIX1 ===== */
.cep-lookup-status{
  display:block;
  min-height:16px;
  margin-top:5px;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
.cep-lookup-status[data-state="loading"]{color:#42637f}
.cep-lookup-status[data-state="success"]{color:#187247;font-weight:800}
.cep-lookup-status[data-state="error"]{color:#a33131;font-weight:800}
input.cep-is-loading{
  background-image:linear-gradient(90deg,rgba(27,116,201,.04),rgba(27,116,201,.10),rgba(27,116,201,.04));
}

/* ===== CHIPSET SHIPPING - BLOCO 6 ===== */
.admin-header-links{display:flex;align-items:center;gap:8px}
.shipping-options{display:grid;gap:10px}
.shipping-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:15px;background:#fff;cursor:pointer;transition:.18s ease}
.shipping-option:hover{border-color:#9bcfe8;box-shadow:0 8px 20px rgba(10,49,88,.05)}
.shipping-option:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 3px rgba(27,116,201,.08)}
.shipping-option input{width:18px;height:18px;margin:0;accent-color:var(--blue)}
.shipping-option-main{display:grid;gap:2px}
.shipping-option-main strong{color:var(--navy);font-size:14px}
.shipping-option-main small{color:var(--muted);font-size:11px}
.shipping-option-time{color:#506477;font-size:11px;font-weight:800;white-space:nowrap}
.shipping-option-price{color:var(--navy);font-size:17px;white-space:nowrap}
.shipping-calculate-box,.shipping-unavailable{border:1px dashed #bfd5e4;border-radius:14px;padding:18px;background:#f7fbfd}
.shipping-calculate-box p,.shipping-unavailable p{margin:0 0 12px;color:var(--muted);font-size:13px}
.shipping-unavailable strong{color:#7b4a00}
.shipping-recalculate{margin-top:12px}
.shipping-admin-status{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.shipping-admin-status article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px}
.shipping-admin-status span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.shipping-admin-status strong{display:block;color:var(--navy);margin-top:5px}
.shipping-admin-form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.shipping-admin-form .field small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.shipping-test-card{margin-top:18px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}
.shipping-test-card form{margin:0}
.shipping-admin-note{margin-top:18px;padding:16px 18px;border-radius:14px;background:#eff8fe;border:1px solid #cfe9f8}
.shipping-admin-note strong{color:var(--navy)}
.shipping-admin-note p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
@media(max-width:900px){
  .shipping-admin-status{grid-template-columns:repeat(2,1fr)}
  .shipping-option{grid-template-columns:auto 1fr auto}
  .shipping-option-time{grid-column:2/4}
}
@media(max-width:620px){
  .admin-header-links{gap:5px}
  .shipping-admin-status{grid-template-columns:1fr}
  .shipping-option{grid-template-columns:auto 1fr}
  .shipping-option-time,.shipping-option-price{grid-column:2/3}
  .shipping-test-card{grid-template-columns:1fr}
}


/* ===== CHIPSET SHIPPING EDITOR - BLOCO 6.1 ===== */
.shipping-current-config{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}
.shipping-current-config>div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 16px;
}
.shipping-current-config span{
  display:block;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:5px;
}
.shipping-current-config strong{
  color:var(--navy);
  font-size:13px;
  overflow-wrap:anywhere;
}
.shipping-config-editor{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  margin:18px 0;
  overflow:hidden;
}
.shipping-config-editor>summary{
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:19px 22px;
  cursor:pointer;
  user-select:none;
}
.shipping-config-editor>summary::-webkit-details-marker{display:none}
.shipping-config-editor>summary strong{
  display:block;
  color:var(--navy);
  font-size:16px;
}
.shipping-config-editor>summary small{
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px;
}
.shipping-editor-action{
  flex:0 0 auto;
  border:1px solid #cbd9e5;
  background:#f7fafc;
  color:var(--blue);
  border-radius:9px;
  padding:8px 12px;
  font-size:11px;
  font-weight:900;
}
.shipping-config-editor[open]>summary{
  border-bottom:1px solid var(--line);
}
.shipping-config-editor .shipping-admin-form{
  margin:0;
  border:0;
  box-shadow:none;
  border-radius:0;
}
.shipping-danger-option{
  border-color:#efd1d1!important;
  background:#fff8f8!important;
}
.shipping-danger-option span{
  color:#963434!important;
}
.shipping-edit-note{
  margin:0 0 16px;
  padding:11px 13px;
  border-radius:10px;
  background:#f3f8fb;
  color:var(--muted);
  font-size:11px;
}
@media(max-width:760px){
  .shipping-current-config{grid-template-columns:1fr}
  .shipping-config-editor>summary{align-items:flex-start}
}

/* ===== CHIPSET PAYMENTS - BLOCO 7A ===== */
.payment-admin-status{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.payment-admin-status article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:15px 16px;
}
.payment-admin-status span{
  display:block;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  margin-bottom:5px;
}
.payment-admin-status strong{
  color:var(--navy);
  font-size:14px;
}
.payment-security-note{
  border:1px solid #cfe8dc;
  background:#f1fbf6;
  border-radius:16px;
  padding:17px 18px;
  margin-bottom:18px;
}
.payment-security-note strong{
  color:#176442;
}
.payment-security-note p{
  color:#557063;
  margin:5px 0 0;
  font-size:12px;
  line-height:1.55;
}
.payment-config-editor{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  margin:18px 0;
  overflow:hidden;
}
.payment-config-editor>summary{
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:19px 22px;
  cursor:pointer;
  user-select:none;
}
.payment-config-editor>summary::-webkit-details-marker{display:none}
.payment-config-editor>summary strong{
  display:block;
  color:var(--navy);
  font-size:16px;
}
.payment-config-editor>summary small{
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px;
}
.payment-config-editor[open]>summary{
  border-bottom:1px solid var(--line);
}
.payment-editor-action{
  border:1px solid #cbd9e5;
  background:#f7fafc;
  color:var(--blue);
  border-radius:9px;
  padding:8px 12px;
  font-size:11px;
  font-weight:900;
}
.payment-config-editor .payment-admin-form{
  margin:0;
  border:0;
  box-shadow:none;
  border-radius:0;
}
.payment-danger-option{
  background:#fff8f8!important;
  border-color:#efd1d1!important;
}
.payment-danger-option span{
  color:#963434!important;
}
.payment-test-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin-top:18px;
}
.payment-test-card h2{
  margin:0 0 4px;
  font-size:17px;
  color:var(--navy);
}
.payment-test-card p{
  margin:0;
  color:var(--muted);
  font-size:12px;
}
.payment-webhook-card{
  margin-top:18px;
  padding:22px;
  border:1px solid #cfe4f1;
  border-radius:16px;
  background:#f4faff;
}
.payment-webhook-card h2{
  margin:3px 0 8px;
  color:var(--navy);
  font-size:20px;
}
.payment-webhook-card p{
  color:var(--muted);
  margin:0 0 10px;
  font-size:12px;
}
.payment-webhook-card code{
  display:block;
  overflow-wrap:anywhere;
  border:1px solid #d6e5ef;
  background:#fff;
  border-radius:9px;
  padding:10px 12px;
  color:var(--navy);
  font-size:12px;
}
.payment-webhook-card small{
  display:block;
  color:var(--muted);
  margin-top:9px;
  line-height:1.45;
}
@media(max-width:820px){
  .payment-admin-status{grid-template-columns:repeat(2,minmax(0,1fr))}
  .payment-test-card{grid-template-columns:auto 1fr}
  .payment-test-card form{grid-column:1/-1}
}
@media(max-width:560px){
  .payment-admin-status{grid-template-columns:1fr}
}


/* ===== CHIPSET PAYMENTS POLISH - 7A R3 CSS1 ===== */
.admin-content:has(.payment-admin-status){
  min-width:0;
}

.admin-content:has(.payment-admin-status) .admin-topbar{
  align-items:flex-start;
  gap:20px;
  margin-bottom:20px;
}

.admin-content:has(.payment-admin-status) .admin-topbar h1{
  margin:4px 0 6px;
  font-size:28px;
  line-height:1.15;
}

.admin-content:has(.payment-admin-status) .admin-topbar p{
  max-width:720px;
  margin:0;
  color:var(--muted);
}

.payment-admin-status{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}

.payment-admin-status article{
  min-height:86px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px 18px;
  box-shadow:0 5px 18px rgba(10,49,88,.035);
}

.payment-admin-status span{
  margin-bottom:7px;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.payment-admin-status strong{
  color:var(--navy);
  font-size:15px;
  line-height:1.25;
}

.payment-security-note{
  display:grid;
  gap:5px;
  margin:0 0 18px;
  padding:17px 19px;
  border:1px solid #cfe8dc;
  border-radius:16px;
  background:#f3fbf7;
}

.payment-security-note strong{
  color:#176442;
  font-size:14px;
}

.payment-security-note p{
  max-width:900px;
  margin:0;
  color:#557063;
  font-size:12px;
  line-height:1.55;
}

.payment-config-editor{
  margin:0 0 18px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 8px 28px rgba(10,49,88,.045);
}

.payment-config-editor>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 22px;
  list-style:none;
  cursor:pointer;
  user-select:none;
}

.payment-config-editor>summary::-webkit-details-marker{
  display:none;
}

.payment-config-editor>summary strong{
  display:block;
  margin:0;
  color:var(--navy);
  font-size:16px;
  line-height:1.25;
}

.payment-config-editor>summary small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}

.payment-editor-action{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  height:36px;
  padding:0 13px;
  border:1px solid #c7d7e3;
  border-radius:10px;
  background:#f8fbfd;
  color:var(--blue);
  font-size:11px;
  font-weight:900;
}

.payment-config-editor[open]>summary{
  border-bottom:1px solid var(--line);
}

.payment-admin-form{
  margin:0!important;
  padding:22px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff;
}

.payment-admin-form .form-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px 20px;
}

.payment-admin-form .field{
  min-width:0;
  display:grid;
  align-content:start;
  gap:7px;
}

.payment-admin-form .field.full,
.payment-admin-form .check-field.full{
  grid-column:1 / -1;
}

.payment-admin-form .field>span,
.payment-admin-form .check-field>span{
  color:#17324d;
  font-size:12px;
  font-weight:850;
  line-height:1.2;
}

.payment-admin-form .field input,
.payment-admin-form .field select{
  width:100%;
  min-height:46px;
  padding:11px 14px;
  border:1px solid #cbd9e5;
  border-radius:11px;
  background:#fff;
  color:#17324d;
  font-size:14px;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.payment-admin-form .field input:focus,
.payment-admin-form .field select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(27,116,201,.09);
}

.payment-admin-form .field small{
  margin:0;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.45;
}

.payment-admin-form .check-field{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #d8e4ec;
  border-radius:11px;
  background:#f8fbfd;
}

.payment-admin-form .check-field input{
  width:17px;
  height:17px;
  margin:0;
  accent-color:var(--blue);
}

.payment-danger-option{
  border-color:#efd1d1!important;
  background:#fff8f8!important;
}

.payment-danger-option span{
  color:#963434!important;
}

.payment-admin-form .form-actions{
  display:flex;
  justify-content:flex-start;
  gap:10px;
  margin-top:2px;
}

.payment-admin-form .form-actions .btn{
  min-width:190px;
  min-height:44px;
}

.payment-test-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  margin:0 0 18px;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(10,49,88,.04);
}

.payment-test-card .status-dot{
  align-self:start;
  margin-top:6px;
}

.payment-test-card h2{
  margin:0 0 4px;
  color:var(--navy);
  font-size:17px;
}

.payment-test-card p{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.5;
}

.payment-test-card form{
  margin:0;
}

.payment-test-card .btn{
  min-width:150px;
}

.payment-test-card .btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.payment-webhook-card{
  margin:0;
  padding:20px 22px;
  border:1px solid #cfe4f1;
  border-radius:18px;
  background:#f4faff;
}

.payment-webhook-card .eyebrow{
  margin-bottom:5px;
}

.payment-webhook-card h2{
  margin:0 0 7px;
  color:var(--navy);
  font-size:20px;
}

.payment-webhook-card p{
  max-width:780px;
  margin:0 0 10px;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.5;
}

.payment-webhook-card code{
  display:block;
  width:100%;
  margin:0;
  padding:11px 13px;
  overflow-wrap:anywhere;
  border:1px solid #d6e5ef;
  border-radius:10px;
  background:#fff;
  color:var(--navy);
  font-size:11px;
  line-height:1.45;
}

.payment-webhook-card small{
  display:block;
  margin-top:9px;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.45;
}

@media(max-width:1050px){
  .payment-admin-status{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .payment-admin-form .form-grid{
    grid-template-columns:1fr;
  }

  .payment-admin-form .field.full,
  .payment-admin-form .check-field.full{
    grid-column:auto;
  }

  .payment-test-card{
    grid-template-columns:auto minmax(0,1fr);
  }

  .payment-test-card form{
    grid-column:1 / -1;
    margin-left:31px;
  }
}

@media(max-width:560px){
  .payment-admin-status{
    grid-template-columns:1fr;
  }

  .payment-config-editor>summary{
    align-items:flex-start;
  }

  .payment-admin-form{
    padding:18px!important;
  }

  .payment-admin-form .form-actions .btn,
  .payment-test-card .btn{
    width:100%;
  }

  .payment-test-card{
    padding:18px;
  }

  .payment-test-card form{
    margin-left:0;
  }
}


/* ===== CHIPSET MERCADO PAGO CHECKOUT - BLOCO 7B ===== */
.payment-checkout-card{
  border-color:#cfe8dc;
  background:#fbfefc;
}
.payment-checkout-ready{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:13px;
  align-items:start;
  padding:16px;
  border:1px solid #cbe9d8;
  border-radius:14px;
  background:#f1fbf6;
}
.payment-checkout-shield{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#daf2e5;
  color:#176442;
  font-size:18px;
  font-weight:900;
}
.payment-checkout-ready strong{
  color:#176442;
}
.payment-checkout-ready p{
  margin:4px 0 0;
  color:#557063;
  font-size:12px;
  line-height:1.55;
}
.payment-checkout-unavailable{
  padding:16px;
  border:1px solid #efd1d1;
  border-radius:14px;
  background:#fff8f8;
}
.payment-checkout-unavailable strong{
  color:#963434;
}
.payment-checkout-unavailable p{
  margin:4px 0 0;
  color:#795b5b;
  font-size:12px;
}
.checkout-payment-button{
  min-width:235px;
}
.payment-pending-box,
.payment-failed-box,
.payment-approved-box{
  margin:18px 0;
  padding:16px;
  border-radius:14px;
}
.payment-pending-box{
  border:1px solid #efdcae;
  background:#fffaf0;
}
.payment-failed-box{
  border:1px solid #efd1d1;
  background:#fff8f8;
}
.payment-approved-box{
  border:1px solid #cbe9d8;
  background:#f1fbf6;
}
.payment-pending-box strong{color:#8a6415}
.payment-failed-box strong{color:#963434}
.payment-approved-box strong{color:#176442}
.payment-pending-box p,
.payment-failed-box p,
.payment-approved-box p{
  margin:5px 0 12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}
.payment-status-line{
  margin-top:-12px;
}
.payment-return-section{
  background:#f7fafc;
}
.payment-return-card{
  width:min(100%,760px);
  margin:0 auto;
  padding:30px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 34px rgba(10,49,88,.06);
}
.payment-return-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  margin-bottom:18px;
  border-radius:16px;
  background:var(--ice);
  color:var(--blue);
  font-size:26px;
  font-weight:900;
}
.payment-return-card>span{
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.payment-return-card h2{
  margin:4px 0 16px;
  color:var(--navy);
  font-size:30px;
}
.payment-return-card>p{
  color:var(--muted);
  line-height:1.55;
}
.payment-return-status{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin:18px 0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f8fbfd;
}
.payment-return-status span{color:var(--muted)}
.payment-return-status strong{color:var(--navy)}
.payment-return-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:20px;
}
.payment-return-actions form{margin:0}
.payment-webhook-warning,
.payment-webhook-ready{
  margin-top:12px;
  padding:11px 13px;
  border-radius:10px;
  font-size:11px;
  font-weight:800;
}
.payment-webhook-warning{
  border:1px solid #efdcae;
  background:#fffaf0;
  color:#8a6415;
}
.payment-webhook-ready{
  border:1px solid #cbe9d8;
  background:#f1fbf6;
  color:#176442;
}
@media(max-width:620px){
  .checkout-payment-button{width:100%;min-width:0}
  .payment-return-card{padding:22px}
  .payment-return-actions,
  .payment-return-actions form,
  .payment-return-actions .btn{
    width:100%;
  }
}


/* ===== CHIPSET PASSWORD RECOVERY - BLOCO 8A ===== */
.account-auth-card .password-help-link{display:flex;justify-content:flex-end;margin-top:-6px}
.account-auth-card .password-help-link a{font-size:13px;font-weight:800;color:var(--blue);text-decoration:none}
.account-auth-card .password-help-link a:hover{text-decoration:underline}
.form-errors{margin:0;padding-left:18px}
.email-config-card{max-width:820px}
.email-config-card .form-help{margin:0;color:var(--muted);font-size:12px;line-height:1.6}


/* CHIPSET ADMIN ORDERS - 8B, readonly */
.chipset-orders-module .chipset-order-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px;margin:0 0 14px;background:#fff;border:1px solid #d5e4ef;border-radius:18px}
.chipset-orders-module .chipset-order-filters label{display:grid;gap:7px;flex:1 1 200px;font-size:12px;font-weight:800;color:#12385e}
.chipset-orders-module .chipset-order-filters input,.chipset-orders-module .chipset-order-filters select{height:43px;padding:9px 12px;border-radius:10px;border:1px solid #c9ddea;font:inherit;font-size:14px;color:#12385e;width:100%;background:#fff}
.chipset-orders-module .chipset-order-count,.chipset-orders-module .chipset-order-pages{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#657d91;margin:16px 0;font-size:13px}
.chipset-orders-module .chipset-orders-table td{vertical-align:middle}
.chipset-orders-module .chipset-orders-table td small{display:block;font-size:11px;color:#6b8195;margin-top:4px;overflow-wrap:anywhere}
.chipset-orders-module .chipset-orders-table .btn{white-space:nowrap}
.chipset-orders-module .chipset-order-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.chipset-orders-module .chipset-order-status-grid article{background:#fff;border:1px solid #d5e4ef;border-radius:15px;padding:17px;min-width:0}
.chipset-orders-module .chipset-order-status-grid span{display:block;color:#647c91;font-size:12px;margin-bottom:8px}
.chipset-orders-module .chipset-order-status-grid strong{overflow-wrap:anywhere;color:#0b3158}
.chipset-orders-module .chipset-order-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.chipset-orders-module .chipset-order-info,.chipset-orders-module .chipset-order-items{display:block;margin:18px 0;padding:22px}
.chipset-orders-module .chipset-order-detail-grid .chipset-order-info{margin:0}
.chipset-orders-module .chipset-order-info h2,.chipset-orders-module .chipset-order-items h2{font-size:19px;margin:0 0 15px;color:#0b3158}
.chipset-orders-module .chipset-order-info dl{display:grid;grid-template-columns:minmax(110px,36%) minmax(0,1fr);gap:11px 10px;margin:0;font-size:13px}
.chipset-orders-module .chipset-order-info dt{color:#667b91}.chipset-orders-module .chipset-order-info dd{margin:0;font-weight:750;overflow-wrap:anywhere}
.chipset-orders-module .chipset-order-address{line-height:1.7;font-size:13px;margin:0 0 17px;color:#233f5d}
.chipset-orders-module .chipset-order-totals{margin:18px 0 0 auto;max-width:320px;display:grid;gap:10px}
.chipset-orders-module .chipset-order-totals div{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:#65798c}
.chipset-orders-module .chipset-order-totals strong{color:#0b3158}
.chipset-orders-module .chipset-order-totals .grand{padding-top:10px;border-top:1px solid #dbe8f2;font-size:17px;font-weight:800}
.chipset-orders-module .chipset-order-note{color:#657d91;margin:18px 0 0;font-size:12px}
@media(max-width:820px){.chipset-orders-module .chipset-order-status-grid,.chipset-orders-module .chipset-order-detail-grid{grid-template-columns:1fr}.chipset-orders-module .chipset-order-filters>*{flex:1 1 100%}.chipset-orders-module .admin-table-wrap{overflow-x:auto}}


/* CHIPSET 8D - etapa interna de separação de pedidos */
.chipset-fulfillment-panel{margin-top:20px}
.chipset-fulfillment-panel h3{margin:20px 0 12px;font-size:16px;color:#0b3158}
.chipset-fulfillment-status{padding:13px 16px;background:#eef7ff;border:1px solid #d0e6fa;border-radius:12px}
.chipset-fulfillment-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.chipset-fulfillment-actions form{margin:0}
.chipset-fulfillment-hint{font-size:13px;color:#607589}
.chipset-fulfillment-success,.chipset-fulfillment-error{padding:12px 15px;border-radius:10px;margin:10px 0}
.chipset-fulfillment-success{background:#eef9f1;border:1px solid #b9e7c9;color:#126236}
.chipset-fulfillment-error{background:#fff1f1;border:1px solid #ffd1d1;color:#9b2424}
.chipset-fulfillment-history{padding-left:22px}
.chipset-fulfillment-history li{margin:9px 0}
.chipset-fulfillment-history small{display:block;color:#647789}


/* CHIPSET 8E: expedição e rastreio */
.chipset-dispatch-panel{display:grid;gap:14px}
.chipset-dispatch-panel h2,.chipset-dispatch-panel h3,.chipset-dispatch-panel p{margin:0}
.chipset-dispatch-panel h3{font-size:16px}
.chipset-dispatch-checks{background:#f5f9fc;border:1px solid #d5e6f5;border-radius:14px;padding:18px;display:grid;gap:10px}
.chipset-dispatch-checks ul{margin:0;padding-left:20px}
.chipset-dispatch-warning{background:#fff8e9;border:1px solid #f4d897;border-radius:12px;padding:12px;color:#82551d}
.chipset-dispatch-form,.chipset-dispatch-post-form{display:grid;gap:10px;justify-items:start}
.chipset-dispatch-form input[type=text]{width:min(100%,460px);border:1px solid #bfd5e7;border-radius:10px;padding:12px;font:inherit}
.chipset-dispatch-post-form{background:#f2faf5;border:1px solid #cbe5d4;border-radius:12px;padding:14px}
.chipset-dispatch-post-form label{display:flex;align-items:start;gap:10px}
.chipset-dispatch-hint{color:#557086}
.chipset-dispatch-history{margin:0;padding-left:22px}
.chipset-dispatch-history small{color:#557086}
.chipset-customer-shipment{background:#eef7ff;border:1px solid #c8e1f4;padding:15px;border-radius:13px;margin:14px 0}
.chipset-customer-shipment p{margin:6px 0 0;font-size:14px}


/* CHIPSET 8F — cadastro privado do remetente da expedição. */
.chipset-sender-section .admin-content{min-width:0}
.chipset-sender-note,.chipset-sender-success,.chipset-sender-errors{padding:18px;border-radius:14px;margin:16px 0}
.chipset-sender-note{background:#edf7fd;border:1px solid #bddcef;color:#17446b}
.chipset-sender-note p{margin:8px 0 0}
.chipset-sender-success{background:#edfaf2;border:1px solid #b9e6c8;color:#16633b}
.chipset-sender-errors{background:#fff3f3;border:1px solid #ffc5c5;color:#982c2c}
.chipset-sender-form{display:grid;gap:20px;padding:26px}
.chipset-sender-form h2{margin:0;color:#0b3158;font-size:20px}
.chipset-sender-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.chipset-sender-fields .full{grid-column:1/-1}
.chipset-sender-fields label{display:grid;gap:7px;color:#37516a;font-size:13px;font-weight:800}
.chipset-sender-fields input,.chipset-sender-fields select{width:100%;max-width:100%;border:1px solid #bad1e4;border-radius:11px;padding:12px;font:inherit;background:#fff;color:#17324d}
.chipset-sender-fields input:focus,.chipset-sender-fields select:focus{outline:2px solid #2386d6;outline-offset:1px}
.chipset-sender-actions{display:flex;justify-content:flex-start}
.chipset-sender-footnote{color:#667d91;font-size:12px}
@media(max-width:760px){.chipset-sender-fields{grid-template-columns:1fr}.chipset-sender-fields .full{grid-column:auto}.chipset-sender-form{padding:16px}}

/* CHIPSET 8G - clientes administrativos */
.chipset-customers-module .admin-table td small{display:block;font-size:12px;color:#66788a;margin-top:4px}
.chipset-client-status{display:inline-flex;border-radius:50px;font-size:11px;padding:5px 10px;font-weight:800}
.chipset-client-status.is-active{background:#e6f7ec;color:#14613b}
.chipset-client-status.is-inactive{background:#fff3eb;color:#9b4b14}
.chipset-customers-notice{margin:18px 0 0;color:#6a7889;font-size:12px;line-height:1.6}
.chipset-customer-addresses{display:grid;gap:10px}
.chipset-customer-address{padding:12px;border:1px solid #d6e4f2;border-radius:12px;line-height:1.6;overflow-wrap:anywhere}
.chipset-customer-address strong{display:block;color:#102f54;margin-bottom:4px}
.chipset-customer-orders{margin-top:18px}
@media(max-width:760px){.chipset-customers-module .admin-table-wrap{overflow-x:auto}}

/* CHIPSET 8G.2 - ficha de cliente: layout e histórico corrigidos */
.chipset-customers-module .admin-content{min-width:0}
.chipset-customers-module .admin-page-head{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;justify-content:space-between}
.chipset-customers-module .admin-page-head h1{font-size:clamp(27px,3vw,38px);overflow-wrap:anywhere}
.chipset-customers-module .chipset-order-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
.chipset-customers-module .chipset-order-status-grid article{display:block;min-width:0;background:#fff;border:1px solid #d5e4ef;border-radius:16px;padding:18px 20px}
.chipset-customers-module .chipset-order-status-grid article span{display:block;color:#657b90;font-size:12px;font-weight:700;margin:0 0 7px}
.chipset-customers-module .chipset-order-status-grid article strong{display:block;font-size:19px;line-height:1.45;color:#0b3158;overflow-wrap:anywhere}
.chipset-customers-module .chipset-order-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;margin:0 0 18px}
.chipset-customers-module .chipset-order-info.admin-card,
.chipset-customers-module .chipset-customer-orders.admin-card{display:block;min-width:0;margin:0;padding:24px}
.chipset-customers-module .chipset-order-info h2,
.chipset-customers-module .chipset-customer-orders h2{font-size:19px!important;line-height:1.35;margin:0 0 20px!important;color:#0b3158}
.chipset-customers-module .chipset-order-info dl{display:grid;grid-template-columns:minmax(125px,36%) minmax(0,1fr);gap:13px 14px;align-items:start;margin:0;font-size:14px}
.chipset-customers-module .chipset-order-info dt{color:#677b8e;font-weight:600}
.chipset-customers-module .chipset-order-info dd{margin:0;color:#133758;font-weight:750;overflow-wrap:anywhere}
.chipset-customers-module .chipset-customer-addresses{display:grid;grid-template-columns:1fr;gap:12px}
.chipset-customers-module .chipset-customer-address{min-width:0;padding:15px;line-height:1.65}
.chipset-customers-module .chipset-customer-orders{width:100%;min-width:0}
.chipset-customers-module .chipset-customer-orders>.admin-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;margin-top:12px;border-radius:12px;box-shadow:none}
.chipset-customers-module .chipset-customer-orders .admin-table{width:100%;min-width:750px;border-collapse:collapse}
.chipset-customers-module .chipset-customer-orders .admin-table th,
.chipset-customers-module .chipset-customer-orders .admin-table td{padding:14px 12px;vertical-align:middle}
.chipset-customers-module .chipset-customer-orders .admin-table td a{white-space:nowrap}
.chipset-customers-module .chipset-customer-orders .chipset-order-pages{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px}
.chipset-customers-module .chipset-customers-notice{display:block;width:100%;max-width:100%;margin:16px 0 0;color:#677c90;font-size:12px;line-height:1.5}
@media(max-width:900px){
 .chipset-customers-module .chipset-order-detail-grid{grid-template-columns:1fr}
 .chipset-customers-module .chipset-order-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 .chipset-customers-module .admin-page-head{flex-direction:column;gap:12px}
 .chipset-customers-module .chipset-order-status-grid{grid-template-columns:1fr}
 .chipset-customers-module .chipset-order-info.admin-card,.chipset-customers-module .chipset-customer-orders.admin-card{padding:17px}
 .chipset-customers-module .chipset-order-info dl{grid-template-columns:1fr;gap:5px}
 .chipset-customers-module .chipset-order-info dt:not(:first-child){margin-top:10px}
 .chipset-customers-module .chipset-order-info dd{padding-bottom:6px;border-bottom:1px solid #edf2f7}
}


/* CHIPSET 8H - verificação de etiqueta Sandbox, somente leitura */
.chipset-sandbox-label .admin-content{min-width:0}
.chipset-sandbox-label .chipset-sandbox-warning{padding:19px 22px;margin:0 0 18px;background:#fff7e9;border:1px solid #f3d79a;color:#7e5200;border-radius:16px}
.chipset-sandbox-label .chipset-sandbox-warning p{margin:7px 0 0}
.chipset-sandbox-label .chipset-sandbox-card{display:block;padding:24px;margin:0 0 18px}
.chipset-sandbox-label .chipset-sandbox-card h2{margin:0 0 15px;font-size:20px}
.chipset-sandbox-label .chipset-sandbox-card h3{margin:17px 0 12px;font-size:16px}
.chipset-sandbox-label .chipset-sandbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.chipset-sandbox-label .chipset-sandbox-grid>div{min-width:0;padding:13px;border:1px solid #d7e5f0;border-radius:12px}
.chipset-sandbox-label .chipset-sandbox-grid span{display:block;font-size:12px;color:#60788b;margin-bottom:7px}
.chipset-sandbox-label .chipset-sandbox-grid strong{display:block;overflow-wrap:anywhere}
.chipset-sandbox-label .chipset-sandbox-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.chipset-sandbox-label .chipset-sandbox-note{font-size:12px;color:#65798b}
.chipset-sandbox-label .chipset-sandbox-checks{margin:8px 0;padding:0 0 0 24px;line-height:1.65}
.chipset-sandbox-label .chipset-sandbox-checks li+li{margin-top:7px}
.chipset-sandbox-label .chipset-sandbox-success,.chipset-sandbox-label .chipset-sandbox-error{padding:14px;margin:0 0 16px;border-radius:12px}
.chipset-sandbox-label .chipset-sandbox-success{background:#e9f8ef;color:#11603b;border:1px solid #bce7cd}
.chipset-sandbox-label .chipset-sandbox-error{background:#fff0f0;color:#922222;border:1px solid #fac8c8}
.chipset-sandbox-label .admin-table-wrap{max-width:100%;overflow:auto}
@media(max-width:730px){.chipset-sandbox-label .chipset-sandbox-grid{grid-template-columns:1fr}.chipset-sandbox-label .chipset-sandbox-card{padding:17px}}

/* ===== CHIPSET 8H.1 - pedidos e expedição: layout responsivo ===== */
.chipset-orders-module .admin-content{min-width:0}
.chipset-orders-module .chipset-order-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.chipset-orders-module .chipset-order-filters .btn{flex:0 0 auto;white-space:nowrap}
.chipset-orders-module .chipset-order-count{flex-wrap:wrap}
.chipset-orders-module .chipset-orders-list{display:grid;gap:13px;min-width:0}
.chipset-orders-module .chipset-order-row{min-width:0;overflow:hidden;border:1px solid var(--line);background:#fff;border-radius:18px;box-shadow:0 8px 24px rgba(10,49,88,.04)}
.chipset-orders-module .chipset-order-row-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid #e2edf5}
.chipset-orders-module .chipset-order-row-identity{display:grid;gap:3px;min-width:0}
.chipset-orders-module .chipset-order-label{color:#647b91;font-size:10px;font-weight:900;letter-spacing:.11em}
.chipset-orders-module .chipset-order-number{color:var(--navy);font-size:16px;font-weight:900;overflow-wrap:anywhere;line-height:1.4}
.chipset-orders-module .chipset-order-number:hover{text-decoration:underline}
.chipset-orders-module .chipset-order-created{font-size:11px;color:var(--muted)}
.chipset-orders-module .chipset-order-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex:0 0 auto}
.chipset-orders-module .chipset-order-row-actions .btn{white-space:nowrap;min-height:40px;padding-inline:15px}
.chipset-orders-module .chipset-order-row-price{font-size:17px;color:var(--navy);white-space:nowrap}
.chipset-orders-module .chipset-order-row-fields{display:grid;grid-template-columns:minmax(160px,1.4fr) repeat(4,minmax(105px,1fr));gap:14px;padding:15px 20px;min-width:0}
.chipset-orders-module .chipset-order-row-field{display:grid;align-content:start;gap:5px;min-width:0}
.chipset-orders-module .chipset-order-row-field>span{font-size:10px;font-weight:900;color:#637b90;letter-spacing:.05em;text-transform:uppercase}
.chipset-orders-module .chipset-order-row-field strong{color:var(--navy);font-size:13px;line-height:1.45;overflow-wrap:break-word}
.chipset-orders-module .chipset-order-row-field small{color:var(--muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
/* A classe admin-card original tem três colunas: impedir que separe as seções operacionais. */
.chipset-orders-module .chipset-fulfillment-panel,
.chipset-orders-module .chipset-dispatch-panel{display:block;min-width:0;padding:24px;margin:18px 0}
.chipset-orders-module .chipset-fulfillment-panel>h2,
.chipset-orders-module .chipset-dispatch-panel>h2{margin:0 0 15px;font-size:20px;line-height:1.35;color:var(--navy)}
.chipset-orders-module .chipset-fulfillment-panel>p,
.chipset-orders-module .chipset-dispatch-panel>p{margin:13px 0;line-height:1.55}
.chipset-orders-module .chipset-fulfillment-panel>h3,
.chipset-orders-module .chipset-dispatch-panel>h3{margin:22px 0 12px}
.chipset-orders-module .chipset-fulfillment-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chipset-orders-module .chipset-fulfillment-actions{display:flex;flex-wrap:wrap;gap:10px}
.chipset-orders-module .chipset-fulfillment-history,
.chipset-orders-module .chipset-dispatch-history{display:grid;gap:9px;padding-left:22px;margin:10px 0 0;overflow-wrap:anywhere}
.chipset-orders-module .chipset-dispatch-checks{display:block;max-width:100%;padding:19px 20px}
.chipset-orders-module .chipset-dispatch-checks>h3{margin:0 0 10px}
.chipset-orders-module .chipset-dispatch-checks>p{margin:12px 0;line-height:1.6}
.chipset-orders-module .chipset-dispatch-checks>p:last-child{margin-bottom:0}
.chipset-orders-module .chipset-dispatch-checks .btn{max-width:100%;height:auto;min-height:42px;white-space:normal;text-align:center}
.chipset-orders-module .chipset-dispatch-warning{margin:15px 0}
.chipset-orders-module .chipset-dispatch-form,
.chipset-orders-module .chipset-dispatch-post-form{margin-top:16px;min-width:0}
.chipset-orders-module .chipset-dispatch-form label{font-size:13px;font-weight:800;color:var(--navy)}
.chipset-orders-module .chipset-dispatch-post-form label{max-width:100%}
.chipset-orders-module .chipset-order-payment{display:block;min-width:0}
.chipset-orders-module .chipset-order-items .admin-table-wrap{max-width:100%;overflow-x:auto}
.chipset-orders-module .chipset-order-items .admin-table{min-width:680px}
@media(max-width:1200px){
  .chipset-orders-module .chipset-order-row-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
  .chipset-orders-module .chipset-order-row-customer{grid-column:span 1}
}
@media(max-width:780px){
  .chipset-orders-module .chipset-order-row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .chipset-orders-module .chipset-order-row-customer{grid-column:1 / -1}
  .chipset-orders-module .chipset-fulfillment-panel,.chipset-orders-module .chipset-dispatch-panel{padding:19px}
  .chipset-orders-module .chipset-order-status-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .chipset-orders-module .chipset-order-row-head{align-items:stretch;flex-direction:column;padding:17px}
  .chipset-orders-module .chipset-order-row-actions{justify-content:space-between;gap:10px;width:100%}
  .chipset-orders-module .chipset-order-row-actions .btn{flex:0 1 auto}
  .chipset-orders-module .chipset-order-row-fields{padding:16px 17px;gap:18px 12px}
  .chipset-orders-module .chipset-order-filters .btn{flex:1 1 100%}
  .chipset-orders-module .chipset-fulfillment-panel,.chipset-orders-module .chipset-dispatch-panel{padding:17px}
  .chipset-orders-module .chipset-dispatch-checks{padding:15px}
  .chipset-orders-module .chipset-order-info dl{grid-template-columns:1fr;gap:4px}
  .chipset-orders-module .chipset-order-info dt:not(:first-child){margin-top:10px}
}


/* ===== CHIPSET 8M — ACABAMENTO DO PAINEL ADMINISTRATIVO =====
   Estilos restritos a .admin-section; sem mudancas no site publico. */
.admin-section{
  --admin-border:#d9e5ed;
  --admin-text:#102f50;
  background:#f4f7fa;
  padding:38px 0 74px;
}
.admin-section>.container{--container:1280px}
.admin-section .admin-workspace{grid-template-columns:224px minmax(0,1fr);gap:28px;align-items:start}
.admin-section .admin-sidebar{
  top:98px;padding:23px 14px 16px;border-radius:19px;
  background:#0e3155;border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 28px rgba(10,42,76,.09);
}
.admin-section .admin-side-title{
  margin:0 12px 18px;font-size:10px;letter-spacing:.17em;color:#a2d7ef;
}
.admin-section .admin-side-nav{display:grid;gap:4px;min-width:0}
.admin-section .admin-side-nav a{
  position:relative;min-width:0;min-height:41px;padding:10px 12px;
  border-radius:9px;color:#d6e6f0;font-size:13px;font-weight:720;
  transition:background-color .15s ease,color .15s ease;
}
.admin-section .admin-side-nav a:hover{background:rgba(255,255,255,.09);color:#fff}
.admin-section .admin-side-nav a.active{
  background:#2d5274;color:#fff;font-weight:800;
}
.admin-section .admin-side-nav a.active:before{
  content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;
  border-radius:0 3px 3px 0;background:#7cd2f7;
}
.admin-section .admin-content{min-width:0}
.admin-section .admin-topbar,.admin-section .admin-page-head{gap:18px;margin-bottom:26px}
.admin-section .admin-topbar h1,.admin-section .admin-page-head h1{
  font-size:clamp(29px,2.9vw,38px);line-height:1.16;letter-spacing:-.035em;
  color:var(--admin-text);overflow-wrap:anywhere;
}
.admin-section .admin-topbar p,.admin-section .admin-page-head p{
  color:#617589;line-height:1.6;max-width:68ch;
}
.admin-section .eyebrow{font-size:11px;letter-spacing:.15em;margin-bottom:13px}
.admin-section .admin-stats{gap:13px;margin:0 0 22px}
.admin-section .admin-stats article{
  position:relative;padding:21px 22px;background:#fff;border:1px solid var(--admin-border);
  border-radius:16px;box-shadow:0 3px 15px rgba(11,47,83,.025);
}
.admin-section .admin-stats article:before{
  content:"";display:block;width:26px;height:3px;border-radius:5px;
  background:#2478bf;margin-bottom:18px;
}
.admin-section .admin-stats span{font-size:12px;letter-spacing:.015em;color:#60778d}
.admin-section .admin-stats strong{font-size:31px;line-height:1.2;letter-spacing:-.035em;margin-top:7px}
.admin-section .admin-grid{gap:13px;min-width:0}
.admin-section .admin-grid>.admin-card-link{
  display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:start;
  min-width:0;gap:14px;padding:21px 20px;
  background:#fff;border:1px solid var(--admin-border);border-radius:16px;
  box-shadow:0 3px 14px rgba(11,47,83,.025);
  transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease;
}
.admin-section .admin-grid>.admin-card-link:hover{
  transform:translateY(-2px);border-color:#a9c9df;
  box-shadow:0 10px 24px rgba(11,47,83,.075);
}
.admin-section .admin-grid>.admin-card-link .status-dot{width:8px;height:8px;margin-top:8px}
.admin-section .admin-grid>.admin-card-link h2{color:#103354;font-size:17px!important;line-height:1.3}
.admin-section .admin-grid>.admin-card-link p{color:#63778a;font-size:13px;line-height:1.55}
.admin-section .admin-grid>.admin-card-link>strong{
  align-self:center;font-size:10px;letter-spacing:.06em;color:#1c70b6;
}
.admin-section .admin-version{
  margin-top:22px;padding:15px 18px;background:#ecf3f8;
  border:1px solid #dce8f1;border-radius:12px;color:#526a80;
}
.admin-section .admin-version strong{color:#103354;overflow-wrap:anywhere}
/* Inputs: unificar aparencia sem afetar radio, checkbox e selecao de imagens. */
.admin-section input:is([type="text"],[type="email"],[type="number"],[type="password"],[type="search"],[type="tel"],[type="url"]),
.admin-section input:not([type]),.admin-section select,.admin-section textarea{
  min-width:0;max-width:100%;min-height:44px;
  border:1px solid #c9d8e5;border-radius:10px;background:#fff;color:#17354d;
}
.admin-section :is(input,select,textarea,button,a):focus-visible{
  outline:3px solid rgba(38,132,203,.42);outline-offset:2px;
}
.admin-section .btn{border-radius:10px;box-shadow:none;white-space:normal;text-align:center}
.admin-section .btn-primary{box-shadow:0 7px 17px rgba(27,116,201,.12)}
.admin-section .btn:hover{transform:none}
.admin-section .btn-primary:hover{background:#176ab5}
.admin-section .btn-secondary:hover{background:#f4f8fb;border-color:#a9c6da}
.admin-section .admin-form-card,.admin-section .admin-table-wrap{
  border-color:var(--admin-border);box-shadow:0 5px 20px rgba(11,47,83,.035);
  border-radius:17px;
}
.admin-section .admin-table th{background:#f5f8fb;color:#60788d}
.admin-section .admin-table tbody tr:hover{background:#fbfdff}
.admin-section .admin-empty{border-radius:17px}
/* Evita que a regra base .admin-card (3 colunas) quebre formularios inteiros. */
.admin-section .email-config-card{display:block;min-width:0;width:100%;max-width:860px;padding:28px}
.admin-section .email-config-card .form-stack{margin:0;gap:18px;min-width:0}
.admin-section .email-config-card .form-grid{min-width:0}
.admin-section .email-config-card .form-grid>label{min-width:0}
.admin-section .email-config-card .check-row{display:flex;align-items:center;gap:10px}
.admin-section .email-config-card .check-row input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;margin:0}
.admin-section .email-config-card .check-row span{margin:0}
.admin-section .email-config-card .checkout-actions{display:flex;flex-wrap:wrap;gap:10px}
.admin-section .chipset-sender-form{
  display:grid;grid-template-columns:minmax(0,1fr);gap:19px;
  padding:28px;border:1px solid var(--admin-border);box-shadow:0 5px 20px rgba(11,47,83,.035)
}
.admin-section .chipset-sender-form h2{margin:9px 0 0;color:#103354;font-size:19px}
.admin-section .chipset-sender-form h2:not(:first-of-type){padding-top:24px;border-top:1px solid #e5edf4}
.admin-section .chipset-sender-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.admin-section .chipset-sender-fields label{min-width:0}
.admin-section .chipset-sender-fields input,.admin-section .chipset-sender-fields select{width:100%;min-width:0}
.admin-section .chipset-sender-actions{padding-top:8px}
.admin-section .chipset-sender-actions .btn{min-height:46px}
.admin-section .chipset-sender-note,.admin-section .chipset-sender-errors,
.admin-section .chipset-sender-success{border-radius:15px;line-height:1.6}
/* Telas operacionais: ajustar containers sem modificar suas regras. */
.admin-section .chipset-order-row,.admin-section .chipset-order-info,
.admin-section .chipset-order-items,.admin-section .chipset-fulfillment-panel,
.admin-section .chipset-dispatch-panel,.admin-section .chipset-customer-orders{
  border-color:var(--admin-border);box-shadow:0 4px 17px rgba(11,47,83,.025);
}
@media(max-width:980px){
  .admin-section{padding:28px 0 55px}
  .admin-section .admin-workspace{grid-template-columns:minmax(0,1fr);gap:20px}
  .admin-section .admin-sidebar{position:static;padding:18px}
  .admin-section .admin-side-title{margin:0 4px 12px}
  .admin-section .admin-side-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .admin-section .admin-side-nav a{justify-content:flex-start;min-height:40px}
}
@media(max-width:720px){
  .admin-section .admin-topbar,.admin-section .admin-page-head{align-items:stretch}
  .admin-section .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-section .admin-grid{grid-template-columns:1fr}
  .admin-section .admin-sidebar{padding:16px}
  .admin-section .email-config-card{padding:20px}
}
@media(max-width:560px){
  .admin-section{padding:20px 0 44px}
  .admin-section .admin-side-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-section .admin-side-nav a{padding:10px;font-size:12px}
  .admin-section .admin-stats article{padding:16px}
  .admin-section .admin-stats strong{font-size:27px}
  .admin-section .admin-grid>.admin-card-link{grid-template-columns:8px minmax(0,1fr);gap:11px;padding:17px}
  .admin-section .admin-grid>.admin-card-link>strong{grid-column:2;justify-self:start;margin-top:-3px}
  .admin-section .chipset-sender-form{padding:18px}
  .admin-section .chipset-sender-fields{grid-template-columns:1fr}
  .admin-section .chipset-sender-fields .full{grid-column:auto}
  .admin-section .email-config-card .form-grid{grid-template-columns:1fr}
  .admin-section .email-config-card .checkout-actions .btn{width:100%}
  .admin-section .admin-version{flex-wrap:wrap;gap:7px}
}
@media(prefers-reduced-motion:reduce){
  .admin-section .admin-grid>.admin-card-link,.admin-section .admin-side-nav a{transition:none}
}
