:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#e8edf5;background:#10151e;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#10151e,#141d2b);min-height:100vh}
a{color:inherit;text-decoration:none}.topbar{height:68px;border-bottom:1px solid #283446;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100% - 1200px)/2));background:#111925;position:sticky;top:0;z-index:3}
.brand{font-weight:800;font-size:19px}.brand span{color:#8ca8d9;font-weight:500}.topbar nav{display:flex;gap:20px;color:#b7c4d9;font-size:14px}.topbar nav a:hover,.text-link:hover{color:#fff}
.container{max-width:1200px;margin:0 auto;padding:28px 20px 50px}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 26px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#8ea9db;margin:0 0 8px}h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1.3px;margin:0 0 8px}h2{font-size:20px;margin:0 0 7px}.muted{color:#9ba9bd;font-size:14px;margin:0 0 8px}.small{font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:#81a5e6;color:#0b1422;padding:11px 16px;font-weight:800;cursor:pointer;font-size:14px}.button:hover{background:#a1bcf0}.button.secondary{background:#26354a;color:#dce7f7}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric{background:linear-gradient(135deg,#1a2637,#182231);border:1px solid #2a394e;border-radius:15px;padding:18px;min-height:98px}.metric span{display:block;color:#9daec5;font-size:12px;margin-bottom:12px}.metric strong{font-size:clamp(17px,2vw,24px);letter-spacing:-.4px}
.panel{background:#171f2c;border:1px solid #2b3749;border-radius:16px;padding:22px;margin:0 0 18px;box-shadow:0 12px 30px #00000012}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.table-wrap{width:100%;overflow-x:auto;margin-top:14px}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:left;color:#9eacc0;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.5px;background:#1d2939}th,td{padding:13px 12px;border-bottom:1px solid #2a3546}td{color:#d9e1ee}tr:last-child td{border-bottom:0}.status{background:#263b36;color:#9be0be;padding:5px 8px;border-radius:99px;font-size:11px}.text-link{color:#9cb9f0;font-weight:700}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.form-grid label,.stack-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#aab8cc}.form-grid input,.form-grid select,.form-grid textarea,.stack-form input,.stack-form select{background:#101722;color:#e8edf5;border:1px solid #35445a;border-radius:8px;padding:10px 11px;min-width:0;width:100%;font:inherit;font-size:14px}.form-grid textarea{min-height:40px}.wide{grid-column:1/-1}.form-actions{display:flex;align-items:end}.stack-form{display:grid;gap:12px}.add-box{margin-top:18px;padding:13px;background:#111a27;border:1px solid #2c3a4f;border-radius:10px}.add-box summary{cursor:pointer;color:#a9c1f0;font-weight:700}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.messages{margin-bottom:14px}.notice{padding:12px 14px;border-radius:9px;margin-bottom:8px;background:#25364b;color:#d9e7ff}.notice.error{background:#4b292d;color:#ffc5ca}.notice.success{background:#1f3d34;color:#b6f0d4}.callout{font-size:13px;color:#b8c5d8;border-left:3px solid #7da0dd;background:#1a2635;padding:14px 16px;border-radius:0 10px 10px 0;margin:20px 0}footer{color:#74849b;font-size:12px;text-align:center;padding:25px}
@media(max-width:850px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{align-items:flex-start;flex-direction:column}.topbar{padding:0 16px}.container{padding:20px 12px 40px}}
@media(max-width:480px){.form-grid{grid-template-columns:1fr}.topbar nav{gap:10px;font-size:12px}.metric{padding:14px}.panel{padding:15px}}

/* Totais e edição do histórico de vendas */
.total-row { background: rgba(126, 166, 239, .14); border-top: 2px solid #7ea6ef; }
.total-row td { font-weight: 700; }
.summary-metrics { margin-top: 16px; }
.metric small { display: block; margin-top: 8px; color: #9fb0ca; line-height: 1.4; }
.sale-edit-form { display: grid; grid-template-columns: 130px 100px 130px minmax(120px,1fr) minmax(120px,1fr) 105px auto; gap: 8px; align-items: center; }
.sale-edit-form input { min-width: 0; width: 100%; box-sizing: border-box; }
.delete-sale-form { margin-top: 8px; }
.small-button { padding: 7px 10px; font-size: .85rem; }
.button.danger { background: #7f2938; color: #fff; }
@media (max-width: 900px) { .sale-edit-form { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Tabelas ajustadas à largura disponível, com redimensionamento manual das colunas */
.table-wrap.resizable-table { overflow-x: auto; width: 100%; }
.resizable-table table { width: 100%; table-layout: fixed; }
.resizable-table th, .resizable-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
.resizable-table th { position: relative; padding-right: 14px; }
.col-resizer { position: absolute; top: 0; right: 0; height: 100%; width: 7px; cursor: col-resize; user-select: none; touch-action: none; }
.col-resizer:hover, body.resizing-column .col-resizer { background: #81a5e6; opacity: .8; }
body.resizing-column { cursor: col-resize; user-select: none; }
.products-table th:nth-child(1) { width: 20%; }
.products-table th:nth-child(2) { width: 12%; }
.products-table th:nth-child(3) { width: 12%; }
.products-table th:nth-child(4), .products-table th:nth-child(5), .products-table th:nth-child(6) { width: 7%; }
.products-table th:nth-child(7), .products-table th:nth-child(8) { width: 11%; }
.products-table th:nth-child(9) { width: 13%; }
.row-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.row-actions form { margin: 0; }
.inline-edit { display: inline-block; }
.inline-edit summary { list-style: none; }
.inline-edit summary::-webkit-details-marker { display: none; }
.product-edit-form { position: relative; z-index: 4; width: min(340px, 75vw); white-space: normal; display: grid; gap: 8px; padding: 12px; margin-top: 8px; background: #101722; border: 1px solid #40516b; border-radius: 10px; box-shadow: 0 12px 30px #0008; }
.product-edit-form label { display: grid; gap: 4px; color: #aab8cc; font-size: 12px; }
.product-edit-form input { min-width: 0; width: 100%; padding: 8px; color: #e8edf5; background: #171f2c; border: 1px solid #35445a; border-radius: 6px; }
@media(max-width: 850px) { .products-table { min-width: 900px; } }

/* V3: edição em modal central, sem cortar o formulário dentro da tabela */
.edit-modal { width: min(680px, calc(100vw - 32px)); max-width: 680px; max-height: calc(100vh - 32px); overflow: auto; padding: 24px; color: #e8edf5; background: #171f2c; border: 1px solid #40516b; border-radius: 16px; box-shadow: 0 24px 80px #000b; }
.edit-modal::backdrop { background: #050914cc; backdrop-filter: blur(3px); }
.modal-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
.modal-head h2 { margin:0; }
.modal-form { margin-top:0; }
.products-table th:nth-child(1) { width: 7%; }
.products-table th:nth-child(2) { width: 20%; }
.products-table th:nth-child(3) { width: 10%; }
.products-table th:nth-child(4) { width: 11%; }
.products-table th:nth-child(5), .products-table th:nth-child(6), .products-table th:nth-child(7) { width: 7%; }
.products-table th:nth-child(8), .products-table th:nth-child(9) { width: 10%; }
.products-table th:nth-child(10) { width: 11%; }
@media(max-width: 850px) { .edit-modal { padding:16px; } .modal-form { grid-template-columns:1fr; } .modal-form .wide { grid-column:auto; } }


/* V4: destaque visual para lucro unitário e total previsto */
.products-table td.profit-value { color: #83e0a1; font-weight: 700; }
.profit-total strong { color: #83e0a1; }
.live-profit { color: #83e0a1 !important; font-weight: 700; }


/* V6: registro de estoque em lote a partir das quantidades previstas */
.bulk-purchase-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 16px;margin:14px 0;background:#111a27;border:1px solid #35465e;border-radius:12px}
.bulk-purchase-bar p{margin:5px 0 0;max-width:680px}
.bulk-product-check{width:18px;height:18px;accent-color:#81a5e6;cursor:pointer}
.products-table th:first-child,.products-table td:first-child{width:68px;text-align:center}
@media(max-width:650px){.bulk-purchase-bar{align-items:stretch;flex-direction:column}.bulk-purchase-bar .button{width:100%}}




/* V8: layout fluido em monitores grandes, mantendo a largura original em telas menores. */
@media (min-width: 1400px) {
  main.container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(24px, 2.2vw, 40px);
    padding-right: clamp(24px, 2.2vw, 40px);
  }
  .topbar { padding-left: clamp(24px, 2.2vw, 40px); padding-right: clamp(24px, 2.2vw, 40px); }
  .metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}


/* V9: experiência mobile. Desktop mantém integralmente o layout fluido da V8. */
@media (max-width: 650px) {
  body { background: #10151e; }
  .topbar { height: auto; min-height: 58px; padding: 12px 14px; gap: 12px; align-items: center; flex-wrap: wrap; }
  .brand { font-size: 17px; }
  .topbar nav { display:flex; flex-wrap:wrap; gap:12px; font-size:12px; }
  .container { width:100%; max-width:none; padding:16px 10px 30px; }
  .hero { margin:4px 0 18px; gap:12px; }
  h1 { font-size:30px; }
  h2 { font-size:18px; }
  .muted { font-size:13px; }
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .metric { min-height:unset; padding:12px; border-radius:12px; }
  .metric span { font-size:11px; margin-bottom:8px; line-height:1.35; }
  .metric strong { font-size:17px; overflow-wrap:anywhere; }
  .panel { padding:13px; border-radius:13px; margin-bottom:13px; }
  .section-head { align-items:flex-start; gap:10px; flex-wrap:wrap; }
  .button { min-height:40px; padding:10px 12px; }
  .bulk-purchase-bar { padding:12px; margin:12px 0; gap:10px; }
  .bulk-purchase-bar p { font-size:12px; line-height:1.45; }

  /* A tabela principal vira cartões de produto, sem rolagem horizontal. */
  .table-wrap.resizable-table:has(.products-table) { overflow:visible; }
  .products-table { min-width:0 !important; width:100%; table-layout:auto; border-collapse:separate; border-spacing:0; }
  .products-table thead { display:none; }
  .products-table tbody { display:grid; gap:10px; }
  .products-table tbody tr:not(.total-row) { display:block; min-width:0; background:#141e2c; border:1px solid #304057; border-radius:12px; padding:8px 11px; overflow:hidden; }
  .products-table tbody tr:not(.total-row) td { display:grid; grid-template-columns:minmax(112px, 42%) minmax(0,1fr); align-items:center; gap:10px; width:100% !important; padding:8px 0; border-bottom:1px solid #29364a; text-align:left; white-space:normal; overflow-wrap:anywhere; font-size:13px; }
  .products-table tbody tr:not(.total-row) td::before { color:#91a5c1; font-size:10px; line-height:1.3; font-weight:800; text-transform:uppercase; letter-spacing:.35px; }
  .products-table tbody tr:not(.total-row) td:nth-child(1)::before { content:'Registrar estoque'; }
  .products-table tbody tr:not(.total-row) td:nth-child(2)::before { content:'Qtd. prevista'; }
  .products-table tbody tr:not(.total-row) td:nth-child(3)::before { content:'Produto / solicitante'; }
  .products-table tbody tr:not(.total-row) td:nth-child(4)::before { content:'Custo previsto (US$)'; }
  .products-table tbody tr:not(.total-row) td:nth-child(5)::before { content:'Venda prevista'; }
  .products-table tbody tr:not(.total-row) td:nth-child(6)::before { content:'Lucro unitário'; }
  .products-table tbody tr:not(.total-row) td:nth-child(7)::before { content:'Comprado'; }
  .products-table tbody tr:not(.total-row) td:nth-child(8)::before { content:'Vendido'; }
  .products-table tbody tr:not(.total-row) td:nth-child(9)::before { content:'Estoque'; }
  .products-table tbody tr:not(.total-row) td:nth-child(10)::before { content:'Investimento real'; }
  .products-table tbody tr:not(.total-row) td:nth-child(11)::before { content:'Faturamento'; }
  .products-table tbody tr:not(.total-row) td:nth-child(12)::before { content:'Ações'; }
  .products-table tbody tr:not(.total-row) td:nth-child(1) { grid-template-columns:minmax(112px,42%) minmax(0,1fr); }
  .products-table tbody tr:not(.total-row) td:nth-child(1) input { justify-self:start; margin:0 0 0 3px; }
  .products-table tbody tr:not(.total-row) td:nth-child(3) strong { display:block; }
  .products-table tbody tr:not(.total-row) td:nth-child(3) .small { display:block; }
  .products-table tbody tr:not(.total-row) td:last-child { border-bottom:0; }
  .row-actions { gap:7px; }
  .row-actions .button { min-height:36px; }
  .products-table .total-row { display:block; min-width:0; margin-top:4px; border:1px solid #48618a; border-radius:10px; overflow:hidden; }
  .products-table .total-row td { display:block; padding:9px 10px; white-space:normal; border-bottom:1px solid #2a3b55; }
  .products-table .total-row td:nth-child(1), .products-table .total-row td:last-child { display:none; }
  .products-table .total-row td::before { display:block; color:#9fb5d8; font-size:10px; margin-bottom:3px; }
  .products-table .total-row td:nth-child(2)::before { content:'Quantidade prevista total'; }
  .products-table .total-row td:nth-child(3)::before { content:'Resumo'; }
  .products-table .total-row td:nth-child(4)::before { content:'Custo previsto total'; }
  .products-table .total-row td:nth-child(5)::before { content:'Faturamento previsto'; }
  .products-table .total-row td:nth-child(6)::before { content:'Lucro previsto'; }
  .products-table .total-row td:nth-child(7)::before { content:'Total comprado'; }
  .products-table .total-row td:nth-child(8)::before { content:'Total vendido'; }
  .products-table .total-row td:nth-child(9)::before { content:'Estoque total'; }
  .products-table .total-row td:nth-child(10)::before { content:'Investimento real total'; }
  .products-table .total-row td:nth-child(11)::before { content:'Faturamento realizado'; }

  .form-grid { grid-template-columns:1fr; gap:12px; }
  .form-grid .wide { grid-column:auto; }
  .two-col { grid-template-columns:minmax(0,1fr); }
  .sale-edit-form { grid-template-columns:1fr !important; gap:10px; }
  .table-wrap:not(:has(.products-table)) { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .table-wrap:not(:has(.products-table)) table { min-width:640px; }
  .edit-modal { width:calc(100vw - 20px); max-width:none; max-height:calc(100dvh - 20px); padding:15px; }
  .modal-head { align-items:flex-start; }
  footer { padding:18px 6px; }
}

@media (max-width: 380px) {
  .metrics { grid-template-columns:1fr; }
  .products-table tbody tr:not(.total-row) td { grid-template-columns:105px minmax(0,1fr); gap:7px; font-size:12px; }
  .products-table tbody tr:not(.total-row) td::before { font-size:9px; }
  .brand { font-size:16px; }
  .topbar nav { gap:9px; }
}

/* V10: alinhamento do histórico de compras com as colunas reais da tabela. */
.purchases-table { width:100%; table-layout:fixed; }
.purchases-table th:nth-child(1) { width:14%; }
.purchases-table th:nth-child(2) { width:8%; }
.purchases-table th:nth-child(3) { width:8%; }
.purchases-table th:nth-child(4) { width:12%; }
.purchases-table th:nth-child(5) { width:17%; }
.purchases-table th:nth-child(6) { width:22%; }
.purchases-table th:nth-child(7) { width:8%; }
.purchases-table th:nth-child(8) { width:11%; }
.purchases-table td { vertical-align:middle; }
.purchases-table td input { display:block; width:100%; min-width:0; max-width:100%; padding:8px 9px; border:1px solid #35445a; border-radius:7px; background:#101722; color:#e8edf5; font:inherit; font-size:12px; }
.purchases-table .purchase-actions { white-space:normal; }
.purchases-table .purchase-actions form { margin:7px 0 0; }
.purchases-table .purchase-actions form:first-child { margin:0; }
.purchases-table .purchase-save,.purchases-table .purchase-delete { white-space:nowrap; }

@media (max-width:650px) {
  /* Histórico de compras: cada linha vira um cartão com rótulos, sem tabela larga. */
  .table-wrap.resizable-table:has(.purchases-table) { overflow:visible; }
  .purchases-table { min-width:0 !important; width:100%; table-layout:auto; border-collapse:separate; border-spacing:0; }
  .purchases-table thead { display:none; }
  .purchases-table tbody { display:grid; gap:12px; }
  .purchases-table tbody tr.purchase-row { display:grid; grid-template-columns:minmax(0,1fr); gap:0; padding:10px 12px; border:1px solid #304057; border-radius:12px; background:#141e2c; overflow:hidden; }
  .purchases-table tbody tr.purchase-row td { display:grid; grid-template-columns:minmax(105px,34%) minmax(0,1fr); align-items:center; gap:9px; width:100%; padding:8px 0; border-bottom:1px solid #29364a; white-space:normal; overflow-wrap:anywhere; }
  .purchases-table tbody tr.purchase-row td::before { content:attr(data-label); color:#91a5c1; font-size:10px; line-height:1.3; font-weight:800; text-transform:uppercase; letter-spacing:.25px; }
  .purchases-table td input { font-size:13px; padding:8px; min-height:35px; }
  .purchases-table .purchase-actions { display:flex !important; flex-wrap:wrap; align-items:center; gap:8px; border-bottom:0 !important; padding-top:10px !important; }
  .purchases-table .purchase-actions::before { flex:0 0 100%; }
  .purchases-table .purchase-actions form { margin:0; }
  .purchases-table .purchase-save,.purchases-table .purchase-delete { min-height:32px; padding:6px 10px; font-size:12px; }
  .purchases-table .total-row { display:grid; grid-template-columns:1fr; border:1px solid #48618a; border-radius:10px; overflow:hidden; }
  .purchases-table .total-row td { display:block; padding:10px; white-space:normal; }
  .purchases-table .total-row td::before { content:none; }
  .purchases-table .total-row td:first-child { display:block; }
}

/* V11 - KZ Store: vitrine pública, checkout e área administrativa responsivos. */
.store-body{background:#0c111a;color:#edf2fa;min-height:100vh;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.store-topbar{height:76px;padding:0 clamp(18px,5vw,76px);display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(12,17,26,.94);border-bottom:1px solid #273449;position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}
.store-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#f1f5fb;font-weight:800;letter-spacing:-.3px}.store-brand>span:last-child{font-size:19px;line-height:1.15}.store-brand b{color:#8eaff0}.store-brand small{display:block;font-size:10px;color:#93a4bc;font-weight:500;letter-spacing:.2px;margin-top:4px}.store-brand-mark,.auth-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#9dbcf6,#6488d4);color:#101a2a;font-weight:950;letter-spacing:-1px;box-shadow:0 8px 24px #6e94df30}
.store-topbar nav{display:flex;align-items:center;gap:24px}.store-topbar nav a{color:#bac8dc;text-decoration:none;font-size:13px;font-weight:700}.store-topbar nav a:hover{color:#fff}.store-cart-link{padding:10px 14px;border:1px solid #33435b;border-radius:999px}.store-cart-link span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;padding:0 5px;border-radius:20px;background:#86a9ed;color:#101827;font-size:11px}
.store-container{width:min(1440px,100%);margin:0 auto;padding:0 clamp(16px,4.3vw,64px) 56px}.store-hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:36px;min-height:430px;padding:48px 0 38px;border-bottom:1px solid #273449}.store-eyebrow{display:block;color:#8faff0;font-size:10px;font-weight:900;letter-spacing:2.1px;margin-bottom:13px}.store-hero h1{font-size:clamp(38px,5.2vw,70px);letter-spacing:-2.7px;line-height:1.02;margin:0 0 18px;max-width:680px}.store-hero h1 em{font-style:normal;color:#8eaff0}.store-hero p,.store-catalog-head p,.store-page-heading p{color:#a4b2c8;line-height:1.7;max-width:540px;font-size:14px}.store-primary,.store-secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:0 20px;border:0;border-radius:10px;background:#8eaff0;color:#101827;text-decoration:none;font-size:13px;font-weight:850;cursor:pointer;transition:transform .18s,filter .18s}.store-primary:hover,.store-secondary:hover,.store-add-button:hover{filter:brightness(1.07);transform:translateY(-1px)}.store-primary span{font-size:17px}.store-primary.full{width:100%;margin-top:14px}.store-primary:disabled{opacity:.45;cursor:not-allowed;transform:none}.store-secondary{background:#26364d;color:#eaf1fc;border:1px solid #3a4b65}.store-hero-art{position:relative;min-height:315px;display:grid;place-items:center;overflow:hidden;border-radius:24px;background:radial-gradient(ellipse at 60% 35%,#32496e 0%,#1b2a41 43%,#121b2a 100%);border:1px solid #344761}.store-orbit{position:absolute;width:310px;height:310px;border:1px solid #b5cbfa38;border-radius:50%;transform:rotate(-28deg) scaleX(1.4)}.orbit-two{width:230px;height:360px;transform:rotate(42deg) scaleX(1.15);border-color:#a2bff72b}.store-hero-card{position:relative;width:230px;height:230px;padding:25px;border-radius:18px;background:linear-gradient(145deg,#dbe6f7,#8199bd);color:#132035;box-shadow:0 28px 70px #050a1290;transform:rotate(-5deg)}.store-hero-card>span{font-size:9px;letter-spacing:2px;font-weight:900}.store-hero-card strong{display:block;margin-top:24px;font-size:34px;letter-spacing:-1.2px;line-height:1.02}.store-hero-card small{display:block;margin-top:12px;font-size:10px;color:#34465f}.store-hero-stamp{position:absolute;right:15px;bottom:16px;display:grid;place-items:center;width:45px;height:45px;border:1px solid #253753;border-radius:50%;font-size:12px;font-weight:900;text-align:center;line-height:1.05}
.store-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:22px 0;border-bottom:1px solid #273449}.store-trust>div{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:10px 12px}.store-trust>div>span{grid-row:span 2;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#1e2c41;color:#a9c4fa;font-size:20px}.store-trust strong{font-size:12px}.store-trust small{color:#8e9fb7;font-size:11px;margin-top:4px}
.store-catalog-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:48px 0 18px}.store-catalog-head h2,.store-bottom-cta h2{font-size:clamp(25px,3vw,36px);letter-spacing:-1px;margin:0 0 8px}.store-catalog-head p{margin:0;font-size:12px}.store-search{display:flex;align-items:center;gap:9px;min-width:min(300px,100%);padding:0 14px;height:43px;border:1px solid #34435a;border-radius:10px;background:#131d2b;color:#91a5c1}.store-search input{width:100%;border:0;outline:0;background:transparent;color:#eff4fd;font:inherit;font-size:12px}.store-categories{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.category-pill{padding:8px 14px;border-radius:999px;border:1px solid #34445b;background:#141e2d;color:#aab9cf;font-size:11px;font-weight:800;cursor:pointer}.category-pill.active{background:#8eaff0;color:#101827;border-color:#8eaff0}.store-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.store-product-card{min-width:0;overflow:hidden;border:1px solid #2b3a50;border-radius:16px;background:#141d2b;transition:transform .2s,border-color .2s}.store-product-card:hover{transform:translateY(-3px);border-color:#5877a9}.store-product-card[hidden]{display:none}.store-product-image{position:relative;display:grid;place-items:center;aspect-ratio:1/1.12;background:linear-gradient(145deg,#24364e,#131e2d);overflow:hidden;text-decoration:none}.store-product-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.store-product-card:hover .store-product-image img{transform:scale(1.035)}.no-product-image{background:radial-gradient(circle at 50% 38%,#3b5376,#19283c 60%,#111a28)}.product-monogram{display:grid;place-items:center;width:90px;height:90px;border-radius:27px;border:1px solid #b6caf755;color:#b9cefa;font-size:27px;font-weight:950;letter-spacing:-2px;transform:rotate(-8deg)}.product-image-caption{position:absolute;bottom:20px;color:#8298b9;font-size:8px;font-weight:900;letter-spacing:2.5px}.product-stock{position:absolute;left:12px;top:12px;padding:6px 8px;border-radius:999px;background:#0c151edb;color:#d6e5fb;font-size:9px;font-weight:800;backdrop-filter:blur(10px)}.store-product-info{padding:15px}.product-category{display:block;color:#8eaff0;font-size:9px;text-transform:uppercase;font-weight:900;letter-spacing:1.2px}.store-product-info h3{margin:7px 0 8px;font-size:14px;line-height:1.4}.store-product-info p{min-height:36px;margin:0;color:#9aaac0;font-size:11px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.store-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #2a394e}.store-product-bottom>strong{font-size:16px;white-space:nowrap}.store-add-button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border:0;border-radius:8px;background:#8eaff0;color:#101827;font-size:10px;font-weight:900;cursor:pointer}.store-add-button span{font-size:15px}.store-empty{text-align:center;padding:62px 20px;margin:28px 0;border:1px dashed #3b4d66;border-radius:18px;background:#121b29}.store-empty>div{font-size:28px;color:#8eaff0}.store-empty h3{margin:12px 0 8px;font-size:21px}.store-empty p{color:#9eafc7;font-size:13px;margin:0 0 18px}.store-bottom-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:48px;padding:28px 32px;border:1px solid #344761;border-radius:18px;background:linear-gradient(110deg,#1d2d44,#151f2e)}.store-bottom-cta p{margin:0;color:#a5b4ca;font-size:12px;line-height:1.6}.store-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:24px 14px;border-top:1px solid #253247;color:#7587a1;font-size:10px;text-align:center}.store-footer a,.store-back-link{color:#a7c2f5;text-decoration:none}
.store-page-heading{padding:38px 0 24px}.store-page-heading h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.5px;margin:0}.store-cart-layout,.store-checkout-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:22px;align-items:start}.store-cart-lines,.store-cart-item,.store-summary,.store-checkout-form,.store-order-status-card{border:1px solid #2b3b51;border-radius:15px;background:#141e2c}.store-cart-lines{padding:16px}.store-cart-item{display:grid;grid-template-columns:76px minmax(0,1fr) 90px 100px;gap:14px;align-items:center;padding:13px;margin-bottom:10px;background:#101925}.cart-item-image{width:76px;height:82px;display:grid;place-items:center;border-radius:10px;background:#24364e;color:#b5caf5;font-weight:900;overflow:hidden}.cart-item-image img{width:100%;height:100%;object-fit:cover}.cart-item-main h3{font-size:13px;margin:6px 0}.cart-item-main small{display:block;color:#8fa2bc;font-size:10px}.cart-item-main>strong{display:block;margin-top:7px;font-size:13px}.cart-item-main>strong small{display:inline}.cart-qty{font-size:10px;color:#9eafc6}.cart-qty input{display:block;width:72px;margin-top:7px}.cart-line-total{text-align:right}.cart-line-total>strong{font-size:13px}.text-button{display:block;margin:8px 0 0 auto;border:0;background:transparent;color:#e88c9a;font-size:10px;cursor:pointer}.store-back-link{display:inline-block;margin-top:16px;font-size:11px}.store-summary{padding:22px;position:sticky;top:94px}.store-summary h2,.store-checkout-form h2{margin:0 0 20px;font-size:21px}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #2a394e;font-size:12px;color:#a8b8cf}.summary-row strong,.summary-total strong{color:#eff4fc}.summary-total{margin-top:8px;border-bottom:0;color:#d7e2f3;font-weight:800}.summary-total strong{font-size:20px}.summary-note{font-size:10px;line-height:1.55;color:#8294ae}.store-checkout-form{padding:24px}.store-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.store-form-grid label,.auth-card label{display:block;color:#a7b8d0;font-size:11px;font-weight:700}.store-form-grid label.wide{grid-column:1/-1}.store-form-grid input,.auth-card input{width:100%;min-width:0;margin-top:7px;padding:12px;border:1px solid #35465e;border-radius:8px;background:#0e1622;color:#f2f6fc;font:inherit;font-size:12px}.store-payment-method{display:flex;align-items:center;gap:12px;margin-top:22px;padding:13px;border:1px solid #3a4d67;border-radius:12px;background:#101a28}.nupay-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#8eaff0;color:#101827;font-weight:950}.store-payment-method div{flex:1}.store-payment-method strong,.store-payment-method small{display:block}.store-payment-method strong{font-size:12px}.store-payment-method small{margin-top:4px;color:#96a8c2;font-size:10px;line-height:1.4}.payment-badge{padding:6px 8px;border:1px solid #3a4b62;border-radius:999px;color:#a9bddc;font-size:9px}.store-legal{font-size:9px;line-height:1.55;color:#7f91aa}.store-payment-warning{padding:16px;margin:0 0 18px;border:1px solid #8c6e37;border-radius:12px;background:#33291a;color:#f7dca7}.store-payment-warning strong{font-size:13px}.store-payment-warning p{margin:7px 0 0;font-size:11px;line-height:1.6}.checkout-line,.store-order-items>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #29374b;color:#a8b8cf;font-size:11px}.checkout-line strong,.store-order-items strong{color:#eff4fc;white-space:nowrap}.store-order-status-card{max-width:650px;margin:0 auto;padding:30px;text-align:center}.order-status-icon{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 15px;border-radius:50%;background:#223651;color:#9cbcf4;font-size:28px;font-weight:900}.order-status-label{color:#9dbbf0;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:1.1px}.store-order-status-card h2{font-size:34px;margin:12px 0}.store-order-status-card>p{font-size:11px;color:#95a7c0;line-height:1.6}.store-order-items{margin:24px 0;text-align:left;border-top:1px solid #29374b}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:20px;background:radial-gradient(ellipse at top,#1e2c42,#0c111a 65%)}.auth-card{width:min(440px,100%);padding:30px;border:1px solid #354761;border-radius:18px;background:#141e2c;box-shadow:0 30px 80px #0005}.auth-mark{margin-bottom:22px}.auth-card h1{font-size:25px;letter-spacing:-.8px;margin:0 0 12px}.auth-card .muted{font-size:12px;line-height:1.6;color:#a1b1c7;margin-bottom:22px}.auth-card label{margin:13px 0}.auth-card .button{width:100%;margin-top:8px}.admin-order-status-form{display:flex;gap:6px;min-width:190px}.admin-order-status-form select{min-width:0;width:100%;font-size:11px}.order-admin-status{display:inline-block;padding:6px 8px;border-radius:999px;background:#26374d;color:#c4d6f3;font-size:10px;font-weight:800}.status-paid,.status-delivered{background:#1e423c;color:#9ce1c8}.status-error,.status-canceled{background:#492a36;color:#f0a9b5}.store-product-settings{padding:14px;border:1px solid #34445a;border-radius:10px;background:#101a28}.store-product-settings h3{margin:0 0 12px;font-size:13px}.store-product-settings .checkbox-label{display:flex;align-items:center;gap:8px;font-size:12px}.store-product-settings .checkbox-label input{width:auto}.store-product-settings label{margin-top:10px}
@media(max-width:1050px){.store-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-hero{min-height:360px}.store-cart-item{grid-template-columns:64px minmax(0,1fr) 76px}.cart-line-total{grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;text-align:left}.text-button{margin:0}.store-cart-layout,.store-checkout-layout{grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr)}}
@media(max-width:700px){.store-topbar{height:62px;padding:0 14px}.store-brand-mark{width:35px;height:35px;border-radius:11px}.store-brand>span:last-child{font-size:16px}.store-brand small{font-size:8px}.store-topbar nav{gap:12px}.store-topbar nav a{font-size:11px}.store-cart-link{padding:8px 10px}.store-container{padding:0 13px 34px}.store-hero{grid-template-columns:1fr;gap:20px;padding:35px 0 24px;min-height:0}.store-hero h1{font-size:43px;letter-spacing:-1.8px}.store-hero p{font-size:12px}.store-hero-art{min-height:230px}.store-hero-card{width:175px;height:175px;padding:19px}.store-hero-card strong{font-size:27px;margin-top:17px}.store-hero-card small{font-size:9px}.store-hero-stamp{width:35px;height:35px;font-size:10px}.store-orbit{width:230px;height:230px}.orbit-two{width:180px;height:260px}.store-trust{grid-template-columns:1fr;gap:3px;padding:13px 0}.store-trust>div{padding:7px 4px}.store-trust>div>span{width:32px;height:32px}.store-catalog-head{align-items:stretch;flex-direction:column;padding:32px 0 14px;gap:15px}.store-catalog-head h2,.store-bottom-cta h2{font-size:27px}.store-search{width:100%;min-width:0}.store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-product-info{padding:11px}.store-product-info h3{font-size:12px}.store-product-info p{font-size:10px;min-height:30px}.store-product-bottom{align-items:flex-start;flex-direction:column;gap:10px}.store-product-bottom>strong{font-size:15px}.store-add-button{width:100%;justify-content:center;min-height:35px}.product-stock{left:7px;top:7px;font-size:8px;padding:5px 6px}.product-monogram{width:64px;height:64px;border-radius:20px;font-size:21px}.product-image-caption{bottom:12px;font-size:7px}.store-bottom-cta{align-items:flex-start;flex-direction:column;margin-top:28px;padding:20px}.store-bottom-cta .store-primary{width:100%}.store-page-heading{padding:28px 0 18px}.store-page-heading h1{font-size:35px}.store-cart-layout,.store-checkout-layout{grid-template-columns:minmax(0,1fr);gap:14px}.store-cart-lines{padding:10px}.store-cart-item{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:10px}.cart-item-image{width:58px;height:65px;grid-row:span 2}.cart-item-main h3{font-size:12px}.cart-qty{grid-column:2;display:flex;align-items:center;gap:12px}.cart-qty input{width:72px;margin:0}.cart-line-total{grid-column:2;display:flex;align-items:center;justify-content:space-between}.store-summary{position:static;padding:17px}.store-checkout-form{padding:15px}.store-form-grid{grid-template-columns:1fr;gap:11px}.store-form-grid label.wide{grid-column:auto}.store-form-grid input{padding:12px}.store-payment-method{align-items:flex-start}.payment-badge{display:none}.store-order-status-card{padding:22px 15px}.store-order-status-card h2{font-size:29px}.store-footer{font-size:9px}.admin-order-status-form{flex-direction:column}.store-product-settings{padding:10px}}
@media(max-width:380px){.store-brand small{display:none}.store-product-grid{gap:8px}.store-product-info{padding:9px}.store-product-bottom>strong{font-size:14px}.store-add-button{font-size:9px;padding:0 6px}.store-hero h1{font-size:38px}}
.logout-form{display:inline-flex;margin:0}.logout-form button{border:1px solid #35465e;border-radius:7px;background:#172232;color:#b8c8df;padding:6px 9px;font:inherit;font-size:11px;cursor:pointer}


/* V12 — identidade visual YK Store: rosa queimado, blush e fundo claro. */
.store-body{background:#fff8f8;color:#39262b}
.store-topbar{background:rgba(255,248,248,.94);border-bottom:1px solid #f0d9dd;box-shadow:0 5px 22px #7f35400b}
.store-brand{gap:10px;color:#472a31;flex-wrap:wrap}
.store-brand-logo{display:block;width:150px;max-width:36vw;height:auto;max-height:62px;object-fit:contain;mix-blend-mode:multiply;border-radius:4px}
.store-brand-caption{font-size:10px;color:#9b6972;font-weight:600;letter-spacing:.1px}
.store-topbar nav a{color:#80535c}
.store-topbar nav a:hover{color:#a84e62}
.store-cart-link{border-color:#e7c2ca}
.store-cart-link span{background:#bd7c84;color:#fff}
.store-container{color:#39262b}
.store-hero{border-bottom-color:#f0d9dd}
.store-eyebrow{color:#a95869}
.store-hero h1 em{color:#b76b7a}
.store-hero p,.store-catalog-head p,.store-page-heading p{color:#896b72}
.store-primary,.store-secondary,.store-add-button{background:#b87582;color:#fff}
.store-primary:hover,.store-secondary:hover,.store-add-button:hover{filter:brightness(1.04)}
.store-secondary{background:#fff0f2;color:#874d5a;border-color:#e9c4cc}
.store-hero-art{background:radial-gradient(ellipse at 60% 35%,#f4cbd1 0%,#e8aeb8 43%,#c27d8a 100%);border-color:#e3b0b9}
.store-orbit{border-color:#fff8f86b}
.orbit-two{border-color:#fff8f85c}
.store-hero-card{background:linear-gradient(145deg,#fff7f6,#eac1c7);color:#6c3b45;box-shadow:0 28px 70px #8b445044}
.store-hero-card small{color:#94616b}
.store-hero-stamp{border-color:#b77984;color:#9d5665}
.store-trust{border-bottom-color:#f0d9dd}
.store-trust>div>span{background:#f9e5e8;color:#ac6674}
.store-trust small{color:#987b81}
.store-search{border-color:#e7cbd0;background:#fff;color:#986f77}
.store-search input{color:#39262b}
.category-pill{border-color:#e7cbd0;background:#fff;color:#89616a}
.category-pill.active{background:#b87582;color:#fff;border-color:#b87582}
.store-product-card{border-color:#f0d9dd;background:#fff;box-shadow:0 8px 24px #8b44500b}
.store-product-card:hover{border-color:#d6a0aa}
.store-product-image{background:linear-gradient(145deg,#fff0f2,#f6dce0)}
.no-product-image{background:radial-gradient(circle at 50% 38%,#f5d0d6,#fbecef 62%,#fff8f8)}
.product-monogram{border-color:#d9a6af;color:#ae6d7a}
.product-image-caption{color:#ae7b84}
.product-stock{background:#fff9fae8;color:#7b4b55;border:1px solid #efd6db}
.product-category{color:#a95869}
.store-product-info p{color:#92767d}
.store-product-bottom>strong{color:#6e3b46}
.store-empty{border-color:#e8c7ce;background:#fffafa}
.store-empty>div{color:#b87582}
.store-empty p{color:#92767d}
.store-bottom-cta{border-color:#eccbd1;background:linear-gradient(110deg,#fae6e9,#fff6f6)}
.store-bottom-cta p{color:#896b72}
.store-footer{border-top-color:#f0d9dd;color:#a17e85}
.store-footer a,.store-back-link{color:#a95869}
.store-cart-lines,.store-cart-item,.store-summary,.store-checkout-form,.store-order-status-card{border-color:#f0d9dd;background:#fff}
.store-cart-item{background:#fff8f8}
.cart-item-image{background:#f8e5e8;color:#a95869}
.cart-item-main h3{color:#39262b}
.cart-item-main small,.summary-note,.store-form-grid label,.auth-card label{color:#92767d}
.cart-item-main>strong,.summary-row strong,.summary-total strong,.checkout-line strong,.store-order-items strong{color:#39262b}
.summary-row,.summary-total{border-bottom-color:#f0d9dd;color:#896b72}
.store-form-grid input,.auth-card input{border-color:#e7cbd0;background:#fff8f8;color:#39262b}
.store-payment-method{border-color:#ecd0d5;background:#fff8f8}
.nupay-logo{background:#b87582;color:#fff}
.payment-badge{border-color:#e7cbd0;color:#8d6670}
.store-legal{color:#a17e85}
.store-payment-warning{border-color:#e8c98e;background:#fff7e7;color:#785b28}
.checkout-line,.store-order-items>div{border-bottom-color:#f0d9dd;color:#896b72}
.order-status-icon{background:#f9e5e8;color:#a95869}
.order-status-label{color:#a95869}
.auth-shell{background:radial-gradient(ellipse at top,#f8e1e5,#fff8f8 65%)}
.auth-card{border-color:#efd4d9;background:#fff;box-shadow:0 30px 80px #8b44501a}
.store-product-settings{border-color:#efcbd2;background:#fff7f8}
.store-product-settings .checkbox-label{color:#68454d}
.product-image-upload{display:block;width:100%;margin-top:7px;padding:10px;border:1px dashed #d5a0aa;border-radius:9px;background:#fff0f2;color:#774b55;font-size:12px}
.product-current-image{display:flex;align-items:center;gap:12px;color:#8d626b;font-size:11px}
.product-current-image img{width:76px;height:76px;object-fit:cover;border:1px solid #efcbd2;border-radius:10px;background:#fff}
@media(max-width:700px){.store-brand-logo{width:112px;max-height:45px}.store-brand-caption{display:none}.store-topbar{background:rgba(255,248,248,.97)}}


/* V13 — acabamento premium, Instagram, disponibilidade e prévia de fotos. */
.store-topbar nav{gap:clamp(10px,2vw,24px)}
.store-instagram-link{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #e7c2ca;border-radius:999px;background:#fff7f8;color:#8e4d5b!important}
.store-instagram-link:hover,.footer-instagram:hover,.store-instagram-cta:hover{background:#f8e4e8;color:#733b48!important}
.store-product-card{display:flex;flex-direction:column;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.store-product-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px #8b445018}
.store-product-image{aspect-ratio:1/1.05;background:#fff;padding:8px;box-sizing:border-box}
.store-product-image img{object-fit:contain;object-position:center;width:100%;height:100%;padding:2px;box-sizing:border-box;transform:none}
.store-product-card:hover .store-product-image img{transform:scale(1.025)}
.store-product-info{display:flex;flex-direction:column;flex:1}
.store-product-info h3{line-height:1.4;min-height:2.7em}
.store-product-info p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.5em}
.store-product-bottom{margin-top:auto;padding-top:14px}
.product-stock{max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fffaf8;color:#80535c;border:1px solid #efd6da;box-shadow:0 4px 12px #7f35400a}
.product-stock-low{background:#fff0e9;border-color:#f1c6b5;color:#9b4f34}
.store-about{display:grid;grid-template-columns:100px minmax(0,1.2fr) minmax(240px,.8fr);align-items:center;gap:30px;margin-top:34px;padding:30px;border:1px solid #eccbd1;border-radius:20px;background:linear-gradient(125deg,#fffafa,#f9e9ec)}
.store-about-mark{position:relative;display:grid;place-items:center;width:88px;height:88px;border-radius:27px;background:linear-gradient(145deg,#c5868e,#a75e6b);color:#fff;font-family:Georgia,serif;font-size:36px;letter-spacing:-3px;box-shadow:0 12px 28px #a75e6b24}
.store-about-mark span{position:absolute;right:9px;top:7px;font-size:18px;letter-spacing:0}
.store-about-copy h2{margin:0 0 10px;font-size:clamp(22px,2.4vw,30px);line-height:1.15;letter-spacing:-.7px;color:#4b2d34}
.store-about-copy p,.store-policy-note p{font-size:12px;line-height:1.7;color:#896b72}
.store-instagram-cta{display:inline-flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:5px;padding:10px 14px;border:1px solid #e7c2ca;border-radius:999px;background:#fff;color:#874d5a;text-decoration:none;font-size:11px;font-weight:800}
.store-instagram-cta span{color:#b87582}
.store-policy-note{padding:18px;border:1px solid #eed6da;border-radius:14px;background:#fffdfd}
.store-policy-note h3{margin:0 0 8px;color:#68404a;font-size:14px}
.store-policy-note p{margin:8px 0}
.store-policy-note small{display:block;margin-top:10px;color:#9c7c83;font-size:10px;line-height:1.6}
.store-footer{gap:12px 22px;align-items:center}
.footer-instagram{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #ecd0d5;border-radius:999px;background:#fff8f8;color:#a95869!important;text-decoration:none;font-weight:800}
.product-upload-preview{display:flex;align-items:center;gap:12px;margin-top:10px;padding:10px;border:1px solid #efcbd2;border-radius:10px;background:#fffafa}
.product-upload-preview[hidden]{display:none}
.product-upload-preview span{font-size:11px;font-weight:800;color:#80535c}
.product-upload-preview img{width:76px;height:76px;object-fit:contain;background:#fff;border:1px solid #f0d9dd;border-radius:8px}
@media(max-width:800px){.store-about{grid-template-columns:70px minmax(0,1fr);gap:17px;padding:20px}.store-about-mark{width:66px;height:66px;border-radius:20px;font-size:29px}.store-policy-note{grid-column:1/-1}.store-instagram-link{padding:7px 9px}}
@media(max-width:700px){.store-topbar nav{gap:7px}.store-topbar nav a{font-size:10px}.store-instagram-link{font-size:0!important;width:34px;height:34px;padding:0;justify-content:center}.store-instagram-link:before{content:'◎';font-size:18px}.store-product-image{aspect-ratio:1/1.05;padding:5px}.store-product-info h3{min-height:0}.store-product-info p{min-height:3.8em;-webkit-line-clamp:3}.store-about{grid-template-columns:1fr;padding:18px}.store-about-mark{display:none}.store-policy-note{grid-column:auto}.store-footer{flex-direction:column;gap:10px}.footer-instagram{font-size:10px}}

/* V17 — navegação compacta das movimentações dentro do pedido. */
.order-workspace{margin:24px 0 18px}
.order-tabs{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:8px;margin:0 0 12px;border:1px solid var(--border,#26364b);border-radius:15px;background:var(--panel,#172231);scrollbar-width:thin}
.order-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted,#9db0c9);font:600 13px inherit;cursor:pointer;white-space:nowrap}
.order-tab:hover{background:#243247;color:#fff}
.order-tab.active{background:#31527c;border-color:#5276a5;color:#fff;box-shadow:0 5px 16px #0002}
.order-tab span{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#ffffff20;color:inherit;font-size:10px}
.order-tab-panel{display:none;margin:0!important}
.order-tab-panel.active{display:block}
.order-tab-content{min-height:180px}
.cep-feedback{display:block;margin-top:5px;color:#a36a77;font-size:11px;font-weight:500;line-height:1.4}
@media(max-width:700px){.order-tabs{gap:5px;padding:6px;border-radius:12px}.order-tab{padding:10px 11px;font-size:12px}.order-tab-content .panel{padding:15px}.order-tab-content .form-grid{grid-template-columns:1fr}}

/* v18 — produtos esgotados e captação de interesse */
.product-stock-soldout{background:#3b3035;color:#fff;border:1px solid #fff5}
.store-interest-box{width:100%;min-width:0}
.store-interest-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:10px 13px;border:1px solid #a85b6a;border-radius:9px;background:#fff2f4;color:#793d49;font-size:11px;font-weight:850;cursor:pointer;list-style:none;text-align:center}
.store-interest-button::-webkit-details-marker{display:none}
.store-interest-button:after{content:'＋';font-size:14px}
.store-interest-box[open] .store-interest-button:after{content:'−'}
.store-interest-form{display:grid;gap:8px;margin-top:10px;padding:12px;border:1px solid #f0d9dd;border-radius:10px;background:#fffafb}
.store-interest-form label{display:grid;gap:6px;color:#68454d;font-size:10px;font-weight:800}
.store-interest-form input[type=email]{width:100%;min-width:0;padding:11px;border:1px solid #e6cbd0;border-radius:8px;background:#fff;color:#382d31;font:inherit;font-size:12px}
.store-interest-form small{color:#92767d;font-size:9px;line-height:1.5}
.store-interest-form .store-add-button{width:100%;justify-content:center}
.interest-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

/* V19 - opções de kits e itens com fotos individuais */
.variant-admin-settings{margin-top:12px}
.variant-admin-list{display:grid;gap:12px;margin:12px 0}
.variant-admin-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(130px,.6fr);gap:10px;padding:13px;border:1px solid #ead0d5;border-radius:12px;background:#fff}
.variant-admin-row label{display:block;font-size:11px;color:#68454d}
.variant-admin-row label.wide{grid-column:1/-1}
.variant-admin-row input{width:100%;margin-top:5px}
.variant-admin-row .variant-remove{justify-self:start}
.store-options-modal{width:min(620px,calc(100% - 24px));max-height:min(88vh,760px);padding:0;border:1px solid #e8cbd1;border-radius:20px;background:#fffaf9;color:#402b30;box-shadow:0 24px 90px #35151f55}
.store-options-modal::backdrop{background:#1b1116a8;backdrop-filter:blur(3px)}
.store-options-head{display:flex;justify-content:space-between;gap:18px;padding:22px 22px 15px;border-bottom:1px solid #f0dfe2}
.store-options-head h2{margin:5px 0;font-size:23px;letter-spacing:-.5px}
.store-options-head p{margin:0;color:#856c72;font-size:12px;line-height:1.5}
.options-close{flex:0 0 34px;width:34px;height:34px;border:0;border-radius:50%;background:#f5e6e9;color:#80525c;font-size:23px;cursor:pointer}
.store-option-list{display:grid;gap:10px;max-height:52vh;overflow:auto;padding:16px 22px}
.store-option-row{display:grid;grid-template-columns:56px 64px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border:1px solid #efdcdf;border-radius:13px;background:#fff}
.store-option-photo{width:56px;height:62px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:#f7e9eb;color:#b87582;font-weight:900}
.store-option-photo img{width:100%;height:100%;object-fit:cover}
.store-option-copy{display:grid;gap:4px;min-width:0}
.store-option-copy strong{font-size:13px;color:#4b3037}
.store-option-copy small{font-size:10px;color:#8c7379;line-height:1.4}
.store-option-copy b{font-size:12px;color:#9e5c6b}
.store-option-row input{width:100%;padding:9px 5px;border:1px solid #e7cbd1;border-radius:8px;background:#fff8f9;color:#50353c;text-align:center;font:inherit;font-size:13px;font-weight:800}
.store-options-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 22px 20px;border-top:1px solid #f0dfe2}
.store-options-footer small{color:#8c7379;font-size:10px}
.store-options-footer .store-add-button{min-width:190px;justify-content:center}
@media(max-width:520px){.variant-admin-row{grid-template-columns:1fr}.variant-admin-row label.wide{grid-column:auto}.store-options-head{padding:17px}.store-option-list{padding:12px 15px}.store-options-footer{align-items:stretch;flex-direction:column;padding:13px 17px 17px}.store-options-footer .store-add-button{width:100%}.store-option-row{grid-template-columns:48px 52px minmax(0,1fr);gap:9px;padding:8px}.store-option-photo{width:48px;height:54px}}

/* V20: alinhamento compacto das opções na janela de personalização */
.store-option-copy{min-width:0;overflow-wrap:anywhere}
.store-option-copy strong,.store-option-copy small{display:block;overflow-wrap:anywhere}

/* V22: estoque individual por opção e aviso de reposição */
.variant-out-stock{display:grid;place-items:center;width:100%;min-height:36px;border:1px solid #ead4d8;border-radius:9px;background:#fff5f6;color:#a56b76;font-size:12px;font-weight:800}
.variant-interest-form{display:flex;align-items:end;gap:7px;flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px dashed #f0dfe2}
.variant-interest-form label{display:grid;gap:4px;flex:1 1 150px;color:#8c7379;font-size:10px}
.variant-interest-form input[type=email]{width:100%;min-width:0;padding:7px 9px;border:1px solid #e7cbd1;border-radius:8px;background:#fff8f9;color:#50353c;font:inherit;font-size:11px}
.variant-interest-button{border:0;border-radius:8px;padding:8px 12px;background:#b87582;color:#fff;font:inherit;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.variant-interest-button:hover{filter:brightness(.96)}
@media(max-width:520px){.variant-interest-form{align-items:stretch}.variant-interest-form label{flex-basis:100%}.variant-interest-button{width:100%}}

/* V22: resumo da distribuição de estoque no cadastro/edição */
.variant-stock-total{margin:8px 0 0;padding:9px 11px;border:1px solid #314158;border-radius:8px;background:#111a27;color:#a9c2e8}
.variant-stock-total strong{color:#7ee7b0}

/* V24 — chamada para solicitar produtos fora do catálogo */
.store-request-banner{position:relative;min-height:315px;display:flex;align-items:center;overflow:hidden;padding:34px 38px;border:1px solid #e7b5bf;border-radius:24px;background:linear-gradient(135deg,#f1c5cd 0%,#d98f9e 52%,#c7798a 100%);color:#59333c;text-decoration:none;box-shadow:0 18px 48px #8c46501c;isolation:isolate}
.store-request-banner:hover{transform:translateY(-2px);filter:saturate(1.04)}
.request-banner-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;max-width:360px}
.request-banner-content small{font-size:9px;font-weight:900;letter-spacing:2.2px;color:#763e4b;margin-bottom:18px}
.request-banner-content strong{font-size:clamp(29px,3vw,42px);line-height:1.03;letter-spacing:-1.5px;color:#633743}
.request-banner-content>span{margin-top:12px;color:#774b55;font-size:14px}
.request-banner-content b{display:inline-flex;align-items:center;gap:22px;margin-top:24px;padding:12px 17px;border-radius:10px;background:#fff1f2;color:#713d49;font-size:12px;box-shadow:0 6px 18px #70313e20}
.request-banner-content i{font-size:18px;font-style:normal}
.request-banner-stamp{position:absolute;z-index:2;right:34px;bottom:30px;width:58px;height:58px;border:1px solid #874c5b88;border-radius:50%;display:grid;place-content:center;text-align:center;color:#784653;font-size:12px;font-weight:900;line-height:1.05;transform:rotate(8deg)}
.request-banner-orbit{position:absolute;z-index:1;width:360px;height:360px;border:1px solid #fff6;border-radius:50%;pointer-events:none}
.request-banner-orbit-one{right:8%;top:-28%;transform:scaleX(1.3) rotate(-25deg)}
.request-banner-orbit-two{right:-2%;top:4%;width:280px;height:420px;transform:scaleX(1.1) rotate(38deg);border-color:#fff4}
.store-request-page{max-width:820px;margin:28px auto 60px}
.store-request-page>.store-back-link{display:inline-block;margin-bottom:18px}
.store-request-form-card{padding:clamp(22px,5vw,44px);border:1px solid #efd5da;border-radius:22px;background:#fffafb;box-shadow:0 18px 50px #6f34400e;color:#50343b}
.store-request-form-card .store-eyebrow{color:#b36d7b}
.store-request-form-card h1{margin:0 0 12px;font-size:clamp(30px,5vw,46px);line-height:1.05;letter-spacing:-1.5px;color:#50343b}
.store-request-form-card>p{max-width:620px;margin:0 0 26px;color:#8b6d74;font-size:14px;line-height:1.7}
.store-request-form{display:grid;gap:16px}
.store-request-form label{display:flex;flex-direction:column;gap:7px;color:#6f5058;font-size:12px;font-weight:750}
.store-request-form input,.store-request-form textarea{width:100%;min-width:0;border:1px solid #e8cbd1;border-radius:10px;padding:12px 13px;background:#fff;color:#50343b;font:inherit;font-size:14px;outline:none}
.store-request-form textarea{resize:vertical;min-height:130px}
.store-request-form input:focus,.store-request-form textarea:focus{border-color:#c47d8c;box-shadow:0 0 0 3px #d99aa51f}
.store-request-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.store-request-form .store-primary{background:#bd7786;color:#fff}
.store-request-privacy{display:block;margin-top:17px;color:#987e84;font-size:10px;line-height:1.6}
.request-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.request-description-cell{white-space:pre-wrap;min-width:220px;max-width:420px;line-height:1.5}
@media(max-width:760px){.store-request-banner{min-height:270px;padding:26px}.request-banner-content strong{font-size:32px}.request-banner-stamp{right:18px;bottom:18px}.store-request-form-row{grid-template-columns:1fr}}

/* V25 — banner de solicitação com arte oficial YK Store */
.store-request-banner{display:block;position:relative;overflow:hidden;width:100%;min-height:0;padding:0;border:0;border-radius:24px;background:#e9aeb9;box-shadow:0 18px 48px #8c46501c;line-height:0;text-decoration:none;transition:transform .18s,filter .18s}
.store-request-banner:hover{transform:translateY(-2px);filter:saturate(1.04)}
.store-request-banner img{display:block;width:100%;height:auto;aspect-ratio:1661/720;object-fit:cover}
@media(max-width:760px){.store-request-banner{border-radius:17px}.store-request-banner img{aspect-ratio:1.65;object-fit:cover;object-position:left center}}

/* V26 — banner sempre proporcional, sem ampliar nem recortar a arte */
.store-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center}
.store-hero>.store-request-banner{
  display:block!important;
  align-self:center;
  width:100%;
  max-width:560px;
  min-width:0;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1661/720;
  padding:0!important;
  overflow:hidden;
  box-sizing:border-box;
}
.store-hero>.store-request-banner img{
  display:block;
  width:100%!important;
  max-width:100%;
  height:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center;
}
@media(max-width:700px){
  .store-hero{grid-template-columns:minmax(0,1fr);align-items:stretch}
  .store-hero>.store-request-banner{width:100%;max-width:none;aspect-ratio:1661/720}
  .store-hero>.store-request-banner img{height:100%!important;object-fit:contain!important}
}

/* V28 — painel de analytics da loja */
.analytics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 22px}
.analytics-kpi{padding:18px;border:1px solid var(--line,#26364a);border-radius:14px;background:var(--panel,#111a27);display:flex;flex-direction:column;gap:7px;min-width:0}
.analytics-kpi span{font-size:12px;color:var(--muted,#8ea0b8)}
.analytics-kpi strong{font-size:clamp(23px,2.4vw,32px);line-height:1.1;color:var(--text,#e8eef8);font-variant-numeric:tabular-nums}
.analytics-kpi small{font-size:10px;color:var(--muted,#8ea0b8)}
.analytics-panel{margin:0 0 18px}
.analytics-panel h2{margin:0 0 15px;font-size:18px}
.analytics-days{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:8px;align-items:end;min-height:150px;padding:12px 0 0}
.analytics-day{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.analytics-bar-track{height:100px;width:100%;display:flex;align-items:flex-end;background:color-mix(in srgb,var(--line,#26364a) 45%,transparent);border-radius:7px;overflow:hidden}
.analytics-bar{width:100%;min-height:3px;background:linear-gradient(180deg,#d994a2,#a9576a);border-radius:7px 7px 0 0}
.analytics-day strong{font-size:11px;font-variant-numeric:tabular-nums}
.analytics-day small{font-size:9px;color:var(--muted,#8ea0b8)}
.analytics-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.analytics-path{max-width:260px;overflow-wrap:anywhere;font-family:monospace;font-size:12px}
.analytics-privacy{font-size:11px;line-height:1.6;color:var(--muted,#8ea0b8);margin:16px 2px}
@media(max-width:1100px){.analytics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-two-col{grid-template-columns:1fr}.analytics-days{gap:3px}.analytics-day small{font-size:8px}.analytics-bar-track{height:76px}}

/* V30: produto privado acessado por link direto */
.private-product-heading{margin-top:22px}
