:root {
    --primary: #00b9ff;
    --primary-dark: #0097d1;
    --secondary: #00b000;
    --secondary-dark: #008800;
    --dark: #102033;
    --gray: #667085;
    --light: #f6f9fd;
    --border: #e3ebf5;
    --success: #00b000;
    --danger: #c1121f;
    --radius: 8px;
    --shadow: 0 10px 28px rgba(16,32,51,.08);
}

html { width: 100%; min-height: 100%; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { width: 100%; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Poppins', system-ui, sans-serif; color: var(--dark); background: #fff; line-height: 1.55; font-weight: 400; overflow-x: hidden; }
main { width: 100%; flex: 1 0 auto; }
.container { width: 90%; max-width: none; margin: 0 auto; padding-left: 0; padding-right: 0; }
.narrow { width: 90%; max-width: none; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.top-strip { background: #fff; color: var(--dark); font-size: .85rem; border-bottom: 1px solid var(--border); }
.top-strip-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .55rem 1.25rem; }

.header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; color: var(--dark); z-index: 100; box-shadow: 0 3px 16px rgba(16,32,51,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: .9rem; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--dark); }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; }
.site-logo-img { display: block; max-width: 180px; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.logo-text { font-size: 1.15rem; font-weight: 800; }
.logo-text span { color: var(--secondary); }
.search-box { flex: 0 1 75%; max-width: none; display: flex; align-items: center; border: 1px solid #cfe0f4; border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,185,255,.08); }
.search-box input { border: 0; border-radius: 0; min-width: 0; padding: .55rem 1rem; font-size: .88rem; font-weight: 300; background: #fff; color: var(--dark); }
.search-box input::placeholder { color: #7f91a8; opacity: 1; font-weight: 300; }
.search-box:focus-within { box-shadow: none; border-color: #cfe0f4; }
.search-box input:focus { outline: none; box-shadow: none; }
.search-box button { border: 0; background: var(--primary); color: #fff; font-weight: 500; width: 42px; align-self: stretch; cursor: pointer; display: grid; place-items: center; }
.search-box button:hover { background: var(--primary-dark); }
.search-box svg, .icon-only svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-actions { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; flex-wrap: nowrap; }
.header .btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.header .btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.header .btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.header .btn-primary:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.category-nav { border-top: 1px solid var(--border); background: #fff; }
.category-nav-inner { display: flex; gap: 1.35rem; overflow-x: auto; padding-top: .68rem; padding-bottom: .68rem; }
.category-link { color: #344054; font-size: .86rem; white-space: nowrap; font-weight: 300; letter-spacing: 0; }
.category-link.strong, .category-link:hover { color: var(--primary); }

.btn-primary, .btn-outline, .btn-text, .btn-cart, .btn-secondary-action {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    padding: .55rem 1.1rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem;
    border: 2px solid transparent; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-secondary-action { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-secondary-action:hover { background: var(--secondary-dark); color: #fff; border-color: var(--secondary-dark); }
.btn-text { background: none; border: none; color: var(--gray); padding: .35rem .5rem; }
.btn-text.danger { color: var(--danger); }
.btn-cart { background: var(--light); color: var(--dark); position: relative; border-color: var(--border); }
.icon-only { width: 42px; height: 42px; padding: 0; font-size: 1.05rem; border-radius: 999px; }
.profile-toggle { height: 42px; padding: 0 .9rem; border-radius: 999px; white-space: nowrap; }
.profile-toggle span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm { padding: .35rem .75rem; font-size: .8rem; }
.btn-cart .badge { background: var(--secondary); color: #fff; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: .7rem; position: absolute; top: -6px; right: -6px; }

.home-hero { background: #fff; border-bottom: 1px solid var(--border); }
.home-hero-inner { min-height: 390px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: center; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); line-height: 1; margin-bottom: 1rem; color: var(--dark); }
.hero-copy p { font-size: 1.1rem; color: var(--gray); max-width: 620px; margin-bottom: 1.5rem; }
.eyebrow { display: block; color: var(--secondary); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0; margin-bottom: .5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-panel { display: grid; gap: 1rem; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.offer-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; background: var(--light); }
.offer-card.primary { background: #e8f7f1; border-color: #b7e6d2; }
.offer-card strong { display: block; font-size: 2rem; color: var(--primary); line-height: 1; }
.offer-card span { color: var(--gray); font-size: .9rem; }
.admin-shell-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 3px 16px rgba(16,32,51,.05); }
.home-banner-section { --active-banner-height: auto; }
.home-banner-layout { display: grid; gap: 1rem; }
.home-banner-main, .home-promo-side { min-width: 0; }
.printi-like-carousel { background: #fff; }
.printi-banner-img { width: 100%; height: auto; display: block; }
.printi-banner-copy { min-height: 180px; background: #fff; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border); }
.home-promo-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    width: 100%;
}
.home-promo-item {
    min-width: 0;
}
.home-promo-item .card { height: 100%; }
.home-promo-item .card-body { height: 100%; }
.carousel-control-prev-icon,
.carousel-control-next-icon { filter: invert(24%) sepia(91%) saturate(2334%) hue-rotate(204deg) brightness(92%) contrast(94%); }

.section { padding: 3rem 0; }
.section-soft, .section-alt, .painel-section, .auth-section { background: var(--light); }
.section-title, .page-title { font-size: 2rem; margin-bottom: 1.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { font-size: 1.7rem; }
.section-head span, .lead, .text-muted { color: var(--gray); }
.page-heading { margin-bottom: 2rem; max-width: 760px; }
.page-heading h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: .75rem; }
.page-heading p { color: var(--gray); }
.page-heading.horizontal { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 1rem; }

.grid-categorias { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.grid-categorias.compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.grid-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.card-categoria, .card-produto, .form-card, .checkout-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.card-categoria { padding: 1.25rem; text-align: center; color: var(--dark); transition: all .2s; }
.card-categoria:hover, .card-produto:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-categoria h3, .card-categoria .h6 { font-weight: 300; font-size: .94rem; letter-spacing: 0; }
.category-home-card h3 { font-weight: 300; letter-spacing: 0; }
.cat-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: rgba(0,185,255,.12); color: var(--primary); font-weight: 800; margin: 0 auto .75rem; }
.card-categoria p { color: var(--gray); font-size: .9rem; margin-top: .35rem; }
.card-produto { overflow: hidden; color: var(--dark); display: block; transition: all .2s; }
.card-produto-img { height: 180px; background: var(--light); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.card-produto-img img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { font-size: 2.2rem; color: var(--primary); font-weight: 800; }
.placeholder-img.large { font-size: 4rem; padding: 3rem; }
.card-produto-body { padding: 1rem; }
.cat-label { font-size: .75rem; color: var(--secondary); font-weight: 800; text-transform: uppercase; }
.card-produto h3 { font-size: 1rem; margin: .35rem 0; }
.preco { color: var(--gray); font-size: .9rem; }
.preco strong { color: var(--dark); font-size: 1.1rem; }
.product-badge { position: absolute; top: .75rem; left: .75rem; background: var(--secondary); color: #fff; border-radius: 6px; padding: .2rem .45rem; font-size: .75rem; font-weight: 800; }
.card-cta { display: inline-flex; margin-top: .75rem; color: var(--primary); font-weight: 800; }

.produto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.produto-img img, .produto-img .placeholder-img { width: 100%; border-radius: var(--radius); }
.produto-info-panel { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; background: #fff; }
.gabaritos-list { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .75rem; }
.tag-strong { background: var(--primary); color: #fff; border-color: var(--primary); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: .4rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=file], input[type=search], select, textarea, .form-control {
    width: 100%; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .95rem; font-family: inherit; background: #fff;
}
.radio-option { display: block; padding: .4rem 0; cursor: pointer; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.password-field { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.password-field input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.password-field input:focus { outline: none; box-shadow: none; }
.password-toggle { border: 0; border-left: 1px solid var(--border); background: var(--light); color: var(--primary); padding: 0 .85rem; font-size: .82rem; font-weight: 500; cursor: pointer; }
.password-toggle:hover { background: #fff; color: var(--primary-dark); }
.preco-box { background: var(--light); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; border: 1px solid var(--border); }
.preco-valor { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.prazo-info { display: block; color: var(--gray); font-size: .85rem; margin-top: .25rem; }
.produto-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.carrinho-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.carrinho-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; flex-wrap: wrap; background: #fff; }
.item-info { flex: 1; }
.item-preco { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.resumo-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 132px; }
.resumo-linha { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.resumo-linha.total { font-weight: 800; font-size: 1.15rem; border-top: 2px solid var(--border); margin-top: .5rem; padding-top: 1rem; }
.endereco-option { display: flex; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; cursor: pointer; background: #fff; }
.endereco-option:has(input:checked) { border-color: var(--primary); background: rgba(0,185,255,.12); }
.coupon-form { margin: 1rem 0 .5rem; }

.tag { display: inline-block; background: var(--light); border: 1px solid var(--border); padding: .2rem .6rem; border-radius: 20px; font-size: .78rem; margin: .15rem; }
.status-tags, .filter-bar, .painel-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1.5rem; }
.field-error { color: var(--danger); font-size: .85rem; }
.messages { padding-top: 1rem; }
.alert { padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: .5rem; }
.alert-success { background: #d8f3dc; color: var(--success); }
.alert-error, .alert-danger { background: #fde8e8; color: var(--danger); }
.alert-info, .alert-warning { background: #e5f8ff; color: var(--primary-dark); }
.pix-box { text-align: center; margin: 1.5rem 0; }
.pix-code { background: var(--light); padding: 1rem; border-radius: var(--radius); word-break: break-all; font-family: monospace; margin: 1rem 0; }
.empty-state { text-align: center; padding: 3rem; color: var(--gray); }
.breadcrumb { font-size: .85rem; color: var(--gray); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gray); }
.text-center { text-align: center; }

.steps-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.steps-band div { padding: 1rem; border-right: 1px solid var(--border); }
.steps-band div:last-child { border-right: 0; }
.steps-band strong { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--primary); color: #fff; margin-right: .5rem; }
.auth-layout { display: grid; grid-template-columns: 1fr minmax(320px, 480px); gap: 2rem; align-items: start; }
.auth-copy { padding-top: 2rem; }
.auth-copy h1 { font-size: 2.4rem; line-height: 1.1; margin-bottom: 1rem; }
.auth-copy p { color: var(--gray); max-width: 560px; }
.auth-card, .form-card { padding: 1.5rem; }
.auth-card h2 { margin-bottom: 1rem; }
.mini-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.mini-list span { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem; font-weight: 700; }
.checkout-card { padding: 1.25rem; margin-bottom: 1rem; }
.checkout-art-item { display: grid; gap: .5rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.checkout-art-item:last-child { border-bottom: 0; padding-bottom: 0; }
.checkout-product-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)); gap: .65rem; margin: .35rem 0 .5rem; }
.checkout-product-icon { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .7rem; border: 1px solid #d7edf8; border-radius: var(--radius); background: rgba(0,185,255,.06); }
.checkout-icon-shape { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--primary); border: 1px solid rgba(0,185,255,.28); }
.checkout-icon-shape svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checkout-product-icon strong { display: block; font-size: .82rem; font-weight: 700; color: var(--dark); line-height: 1.2; overflow-wrap: anywhere; }
.checkout-product-icon small { display: block; color: var(--gray); font-size: .72rem; line-height: 1.25; margin-top: .1rem; }
.profile-dropdown { position: relative; }
.dropdown-toggle-clean::after { display: none; }
.profile-dropdown-menu {
    width: 292px;
    padding: .5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(16,32,51,.16);
}
.profile-dropdown-head {
    padding: .8rem .85rem .75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: .4rem;
}
.profile-dropdown-head strong { display: block; font-size: .95rem; color: var(--dark); }
.profile-dropdown-head span { display: block; color: var(--gray); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .78rem .85rem;
    border-radius: 8px;
    color: var(--dark);
    font-size: .92rem;
    font-weight: 400;
}
.profile-dropdown-item:hover { background: var(--light); color: var(--primary); }
.profile-dropdown-item svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.profile-dropdown-item.danger { color: var(--danger); }
.profile-dropdown-divider { height: 1px; background: var(--border); margin: .4rem 0; }

.footer { background: #000; color: #ccd7e2; padding: 3rem 0 0; margin-top: 3rem; }
.footer h4 { color: #fff; margin-bottom: .75rem; }
.footer a { display: block; color: #dce6ef; margin-bottom: .35rem; }
.footer a:hover { color: #fff; }
.social-links { display: flex; gap: .6rem; margin-top: 1rem; }
.social-links a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; margin: 0; color: #fff; }
.social-links a:hover { background: #fff; color: #000; }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 1.5rem 0; margin-top: 2rem; text-align: center; font-size: .85rem; }
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    width: min(90vw, 920px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 46px rgba(16,32,51,.18);
    padding: 1rem;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent strong { display: block; margin-bottom: .2rem; }
.cookie-consent p { color: var(--gray); font-size: .88rem; margin: 0; }

.perfil-grid, .painel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.perfil-links { display: flex; gap: 1rem; }
.endereco-card { padding: .75rem 0; border-bottom: 1px solid var(--border); }
.pedido-card { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; color: var(--dark); flex-wrap: wrap; gap: .75rem; background: #fff; }
.pedido-card:hover { border-color: var(--primary); }
.painel-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.painel-nav a, .filter-bar a { padding: .45rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); color: var(--dark); font-size: .9rem; }
.painel-nav a.active, .painel-nav a:hover, .filter-bar a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.painel-nav a { display: inline-flex; align-items: center; gap: .4rem; }
.painel-nav svg, .order-source svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.25rem; text-align: center; box-shadow: var(--shadow); }
.stat-card.highlight { background: var(--primary); color: #fff; }
.stat-num { display: block; font-size: 1.75rem; font-weight: 800; }
.stat-card span:last-child { font-size: .8rem; opacity: .85; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--light); font-weight: 700; font-size: .85rem; }
.arte-form { margin-top: .75rem; display: flex; flex-direction: column; gap: .5rem; }
.inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.form-control-sm { padding: .35rem .5rem; font-size: .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.timeline-item { border-left: 3px solid var(--primary); padding: .25rem 0 .75rem 1rem; margin-bottom: .75rem; }
.task-list-inline { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.task-chip, .task-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem; color: var(--dark); }
.task-chip span { display: block; color: var(--gray); font-size: .85rem; }
.kanban-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; }
.kanban-column { background: #eef4fb; border-radius: var(--radius); padding: 1rem; min-height: 320px; border: 1px dashed transparent; transition: border-color .2s, background .2s; }
.kanban-column.drag-over { border-color: var(--primary); background: rgba(0,185,255,.12); }
.kanban-column h3 { margin-bottom: .75rem; font-size: 1rem; }
.task-card { margin-bottom: .75rem; box-shadow: none; cursor: grab; transition: opacity .2s, transform .2s, border-color .2s; }
.task-card:active { cursor: grabbing; }
.task-card.dragging { opacity: .55; transform: scale(.98); }
.task-card h4 { margin: .5rem 0; }
.task-card p { color: var(--gray); font-size: .9rem; }
.task-card-head { display: flex; gap: .35rem; flex-wrap: wrap; }
.priority-urgente { border-color: var(--danger); }
.priority-alta { border-color: var(--secondary); }
.order-source { display: inline-flex; align-items: center; gap: .3rem; }
.site-logo-preview { min-height: 160px; border: 1px solid var(--border); border-radius: var(--radius); display: grid; place-items: center; background: #fff; padding: 1.5rem; }
.site-logo-preview img { max-width: 100%; max-height: 140px; object-fit: contain; }
.site-logo-placeholder { width: 110px; height: 110px; border-radius: var(--radius); background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 2.1rem; font-weight: 800; }
.feedback-section { background: #fff; }
.feedback-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .35rem; }
.feedback-card { flex: 0 0 min(390px, 86vw); min-height: 210px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); display: grid; grid-template-columns: 128px 1fr; overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); }
.feedback-img { width: 100%; height: 100%; object-fit: cover; background: var(--light); }
.feedback-body { padding: 1rem; display: flex; flex-direction: column; justify-content: center; }
.feedback-stars { color: var(--secondary); font-size: .9rem; letter-spacing: 0; margin-bottom: .4rem; }
.feedback-body h3 { font-size: 1rem; margin-bottom: .45rem; }
.feedback-body p { color: var(--gray); font-size: .9rem; margin-bottom: .7rem; }
.feedback-body strong { font-size: .9rem; }
.feedback-admin-thumb { width: 70px; height: 54px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.help-steps { display: grid; gap: .7rem; margin: 1rem 0 1.25rem; padding-left: 1.2rem; color: var(--gray); }
.help-steps li::marker { color: var(--primary); font-weight: 800; }
.help-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.integration-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; background: #fff; }
.integration-box legend { float: none; width: auto; padding: 0 .35rem; margin-bottom: 1rem; font-size: 1rem; font-weight: 800; color: var(--primary); }
.api-test-result { margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; background: var(--light); }
.api-test-result.success { border-color: rgba(0,176,0,.25); background: rgba(0,176,0,.06); }
.api-test-result.danger { border-color: rgba(220,53,69,.25); background: rgba(220,53,69,.06); }
.api-test-data { display: grid; gap: .45rem; margin-top: .75rem; }
.api-test-data div, .api-quote-item { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: .45rem; }
.api-test-data span, .api-quote-item span { color: var(--gray); overflow-wrap: anywhere; }
.api-quote-list { display: grid; gap: .45rem; margin-top: .75rem; }
.card-test-form { display: grid; gap: .25rem; }
.payment-test-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.payment-test-tab { border: 1px solid var(--border); background: #fff; color: var(--dark); border-radius: var(--radius); padding: .85rem 1rem; font-weight: 700; cursor: pointer; }
.payment-test-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.payment-test-panel[hidden] { display: none; }
.mp-secure-field { min-height: 43px; width: 100%; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.mp-secure-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 .18rem rgba(0,185,255,.12); }
.api-test-json { margin: .75rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem; font-size: .78rem; color: var(--dark); }
.pix-test-qr { display: block; width: min(240px, 100%); height: auto; margin: .75rem 0; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: .5rem; }
.pix-test-code { width: 100%; min-height: 110px; margin-top: .5rem; padding: .75rem; border: 1px solid var(--border); border-radius: var(--radius); resize: vertical; font-size: .78rem; color: var(--dark); }
.arte-preview-row { display: flex; align-items: center; gap: .85rem; margin: .8rem 0; }
.arte-preview-row.compact { align-items: flex-start; gap: .65rem; }
.arte-preview-thumb,
.arte-preview-file {
    width: 92px;
    height: 72px;
    flex: 0 0 92px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-weight: 700;
}
.arte-preview-thumb.small,
.arte-preview-file.small {
    width: 64px;
    height: 52px;
    flex-basis: 64px;
    font-size: .75rem;
}
.arte-preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arte-preview-file span { border: 1px solid var(--primary); border-radius: 5px; padding: .15rem .35rem; font-size: .78rem; }

@media (max-width: 900px) {
    .home-hero-inner, .auth-layout, .produto-layout, .carrinho-layout, .checkout-layout, .perfil-grid, .painel-grid { grid-template-columns: 1fr; }
    .hero-panel { max-width: 520px; }
    .steps-band, .kanban-board { grid-template-columns: 1fr; }
    .steps-band div { border-right: 0; border-bottom: 1px solid var(--border); }
    .header-inner { flex-wrap: wrap; }
    .search-box { order: 3; width: 100%; max-width: none; flex-basis: 100%; }
    .resumo-box { position: static; }
    .home-promo-rail { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .35rem; }
    .home-promo-item { flex: 0 0 min(300px, 84vw); scroll-snap-align: start; }
    .feedback-card { grid-template-columns: 1fr; }
    .feedback-img { height: 140px; }
    .help-grid { grid-template-columns: 1fr; }
    .integration-grid { grid-template-columns: 1fr; }
    .cookie-consent { align-items: stretch; flex-direction: column; }
}

@media print {
    .no-print,
    .admin-shell-header,
    .painel-header,
    .footer,
    .messages {
        display: none !important;
    }
    body,
    .painel-section {
        background: #fff !important;
    }
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}
