:root{
  --lfcas-blue:#0b3a66;
  --lfcas-blue-2:#123f69;
  --lfcas-blue-soft:#eef5fb;
  --lfcas-border:#dce5ee;
  --lfcas-text:#14263a;
  --lfcas-muted:#64748b;
  --lfcas-green:#198754;
  --lfcas-amber:#d97706;
  --lfcas-red:#c62828;
}

.lfcas-shell{
  width:min(1500px,calc(100vw - 48px));
  max-width:none!important;
  margin:28px 0 52px!important;
  padding:0 18px;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  color:var(--lfcas-text);
  font-family:inherit;
  box-sizing:border-box
}
.lfcas-shell *{box-sizing:border-box}
.lfcas-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 20px;border:1px solid var(--lfcas-border);border-radius:16px;background:linear-gradient(135deg,#fff 0%,var(--lfcas-blue-soft) 100%);box-shadow:0 8px 30px rgba(15,47,77,.06)}
.lfcas-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--lfcas-blue);margin-bottom:5px}
.lfcas-hero h1{margin:0;font-size:34px!important;line-height:1.08!important;color:var(--lfcas-blue);font-weight:800}
.lfcas-hero p{margin:6px 0 0;max-width:700px;color:var(--lfcas-muted);font-size:15px}
.lfcas-summary{display:grid;grid-template-columns:repeat(3,minmax(88px,1fr));gap:7px;min-width:340px}
.lfcas-summary div{background:#fff;border:1px solid var(--lfcas-border);border-radius:10px;padding:6px 10px;text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:54px}
.lfcas-summary strong{display:block;font-size:19px;color:var(--lfcas-blue);line-height:1.1}
.lfcas-summary span{font-size:11px;color:var(--lfcas-muted)}

.lfcas-main-filters{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 6px;padding-bottom:16px;border-bottom:1px solid var(--lfcas-border)}
.lfcas-main-filters button,.lfcas-pills button,.lfcas-stock-filters button{appearance:none;border:1px solid var(--lfcas-border);background:#fff;color:var(--lfcas-text);border-radius:9px;padding:9px 16px;font-weight:700;cursor:pointer;transition:.15s ease}
.lfcas-main-filters button:hover,.lfcas-pills button:hover,.lfcas-stock-filters button:hover{border-color:var(--lfcas-blue);color:var(--lfcas-blue)}
.lfcas-main-filters button.is-active,.lfcas-pills button.is-active,.lfcas-stock-filters button.is-active{background:var(--lfcas-blue);border-color:var(--lfcas-blue);color:#fff;box-shadow:0 4px 10px rgba(11,58,102,.16)}
.lfcas-main-filters button span{opacity:.75;margin-left:4px}
.lfcas-stock-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 2px}
.lfcas-stock-filters>span{font-size:12px;font-weight:800;color:var(--lfcas-muted);margin-right:2px}
.lfcas-stock-filters button{padding:7px 12px;font-size:12px}
.lfcas-stock-filters button span{opacity:.72;margin-left:3px}

.lfcas-section{margin-top:28px}
.lfcas-section[hidden]{display:none!important}
.lfcas-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:12px}
.lfcas-section-head h2{font-size:23px!important;line-height:1.15!important;margin:0;color:var(--lfcas-blue);font-weight:800}
.lfcas-section-head h2 small{font-size:12px;font-weight:700;color:var(--lfcas-muted);background:#f1f5f9;border-radius:999px;padding:5px 8px;vertical-align:middle;margin-left:6px}
.lfcas-section-head p{margin:5px 0 0;color:var(--lfcas-muted);font-size:13px}
.lfcas-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.lfcas-pills button{padding:7px 13px;font-size:13px}

.lfcas-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.lfcas-card{border:1px solid var(--lfcas-border);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 3px 14px rgba(18,47,75,.05);transition:transform .15s ease, box-shadow .15s ease;min-width:0}
.lfcas-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(18,47,75,.10)}
.lfcas-card[hidden]{display:none!important}
.lfcas-image-link{display:block;width:100%;text-decoration:none!important;color:inherit!important}
.lfcas-image-wrap{position:relative;aspect-ratio:1.62/1;background:#f7f9fb;overflow:hidden}
.lfcas-image-wrap img{width:100%;height:100%;object-fit:contain;padding:10px;display:block;transition:transform .18s ease}
.lfcas-card:not(.is-unavailable):hover .lfcas-image-wrap img{transform:scale(1.025)}
.lfcas-badge{position:absolute;z-index:2;left:10px;top:10px;background:var(--lfcas-blue);color:#fff;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.10)}
.lfcas-card-body{padding:11px 12px 12px;border-top:1px solid #eef2f6}
.lfcas-card h3{font-size:14px!important;line-height:1.22!important;margin:0 0 5px!important;color:var(--lfcas-text)!important;font-weight:750!important;min-height:34px!important;letter-spacing:0!important;text-transform:none!important}
.lfcas-meta{font-size:11px!important;line-height:1.25!important;color:var(--lfcas-muted);min-height:14px}
.lfcas-price{font-size:16px!important;line-height:1.2!important;font-weight:800;color:var(--lfcas-blue);margin-top:8px}
.lfcas-stock{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:11px!important;line-height:1.2!important;font-weight:700}
.lfcas-dot{width:7px;height:7px;border:0;background:currentColor;border-radius:50%;display:inline-block;flex:0 0 7px}
.stock-in{color:var(--lfcas-green)}
.stock-low{color:var(--lfcas-amber)}
.stock-last{color:var(--lfcas-red)}
.stock-backorder{color:#2563eb}
.stock-nostock{color:var(--lfcas-amber)}
.stock-unavailable{color:var(--lfcas-red)}

.lfcas-card.is-backorder{background:#f7fbff}
.lfcas-card.is-nostock{background:#fffdf9}
.lfcas-card.is-nostock .lfcas-image-wrap{background:#fafafa}
.lfcas-card.is-unavailable{background:#f5f6f7}
.lfcas-card.is-unavailable .lfcas-image-wrap img{filter:grayscale(1);opacity:.27}
.lfcas-card.is-unavailable .lfcas-card-body{opacity:.58}
.lfcas-card.is-unavailable .lfcas-badge{background:#7a8590}
.lfcas-x:before,.lfcas-x:after{content:"";position:absolute;z-index:3;left:12%;top:50%;width:76%;height:2px;background:rgba(90,96,102,.5);transform-origin:center}
.lfcas-x:before{transform:rotate(38deg)}
.lfcas-x:after{transform:rotate(-38deg)}
.lfcas-unavailable{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(44,52,60,.82);color:#fff;padding:7px 11px;border-radius:7px;font-size:11px;font-weight:800;letter-spacing:.03em;white-space:nowrap}

.lfcas-admin-note{margin-top:30px;padding:14px 16px;border:1px dashed #9db7cd;border-radius:11px;background:#f4f8fc;color:#35536d;font-size:13px}

.lfcas-modal[hidden]{display:none!important}
.lfcas-modal{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;padding:20px}
.lfcas-modal-backdrop{position:absolute!important;z-index:0!important;inset:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(3,17,29,.78)!important;box-shadow:none!important;cursor:zoom-out!important}
.lfcas-modal-box{position:relative;z-index:1;max-width:min(920px,92vw);max-height:90vh;background:#fff;border-radius:15px;padding:14px;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.lfcas-modal-box img{display:block;max-width:100%;max-height:82vh;object-fit:contain;border-radius:10px}
.lfcas-modal-close{position:absolute;right:8px;top:6px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:rgba(10,32,52,.82);color:#fff;font-size:24px;line-height:34px;cursor:pointer}

@media (max-width:1300px){
  .lfcas-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:1050px){
  .lfcas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lfcas-hero{align-items:flex-start;flex-direction:column}
  .lfcas-summary{min-width:0;width:100%}
}
@media (max-width:760px){
  .lfcas-shell{width:calc(100vw - 20px);padding:0 6px;margin-top:20px!important}
  .lfcas-hero{padding:14px 16px}
  .lfcas-hero h1{font-size:34px}
  .lfcas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lfcas-card-body{padding:11px}
  .lfcas-card h3{font-size:13px!important;min-height:32px!important}
  .lfcas-price{font-size:15px!important}
  .lfcas-summary{grid-template-columns:repeat(3,1fr)}
  .lfcas-section-head h2{font-size:22px}
}
@media (max-width:460px){
  .lfcas-grid{grid-template-columns:1fr}
  .lfcas-summary{grid-template-columns:1fr}
}


/* v0.5 — ordenação + página de detalhe */
.lfcas-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin:12px 0 4px}
.lfcas-toolbar label{font-size:12px;font-weight:800;color:var(--lfcas-muted)}
.lfcas-toolbar select{min-width:210px;padding:8px 34px 8px 11px;border:1px solid var(--lfcas-border);border-radius:9px;background:#fff;color:var(--lfcas-text);font-weight:700;font-size:13px}
.lfcas-product-link{text-decoration:none!important;color:inherit!important}
.lfcas-card h3 a:hover{color:var(--lfcas-blue)!important}
.lfcas-view-product{display:inline-block;margin-top:10px;font-size:11px;font-weight:800;color:var(--lfcas-blue)!important;text-decoration:none!important;border-bottom:1px solid rgba(11,58,102,.25)}
.lfcas-view-product:hover{border-color:var(--lfcas-blue)}

.lfcas-detail-shell{max-width:1280px!important}
.lfcas-detail-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;color:var(--lfcas-muted);font-size:12px}
.lfcas-back{font-weight:800;color:var(--lfcas-blue)!important;text-decoration:none!important}
.lfcas-detail-card{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);gap:32px;border:1px solid var(--lfcas-border);border-radius:18px;background:#fff;padding:24px;box-shadow:0 8px 30px rgba(15,47,77,.06)}
.lfcas-detail-image{position:relative;min-height:460px;border-radius:14px;background:#f7f9fb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.lfcas-detail-image img{display:block;width:100%;height:100%;max-height:620px;object-fit:contain;padding:24px}
.lfcas-detail-image.is-unavailable img{filter:grayscale(1);opacity:.3}
.lfcas-detail-info{padding:12px 8px 12px 0}
.lfcas-detail-info h1{font-size:30px!important;line-height:1.14!important;color:var(--lfcas-text)!important;margin:5px 0 12px!important;font-weight:800!important}
.lfcas-detail-meta{font-size:14px;color:var(--lfcas-muted);margin-bottom:14px}
.lfcas-detail-price{font-size:28px!important;font-weight:850;color:var(--lfcas-blue);margin:8px 0}
.lfcas-detail-stock{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:800;margin:9px 0 24px}
.lfcas-detail-panel{border-top:1px solid var(--lfcas-border);border-bottom:1px solid var(--lfcas-border);padding:18px 0;margin-top:8px}
.lfcas-detail-panel h2{font-size:16px!important;color:var(--lfcas-blue)!important;margin:0 0 10px!important;font-weight:800!important}
.lfcas-detail-row{display:flex;justify-content:space-between;gap:22px;padding:8px 0;font-size:13px;border-top:1px solid #eef2f6}
.lfcas-detail-row:first-of-type{border-top:0}
.lfcas-detail-row span{color:var(--lfcas-muted)}
.lfcas-detail-row strong{text-align:right;color:var(--lfcas-text)}
.lfcas-detail-test-note{margin-top:20px;padding:12px 14px;border:1px dashed #9db7cd;border-radius:10px;background:#f4f8fc;color:#35536d;font-size:12px;line-height:1.45}

@media (max-width:900px){
  .lfcas-detail-card{grid-template-columns:1fr;gap:18px;padding:18px}
  .lfcas-detail-image{min-height:360px}
  .lfcas-detail-info{padding:0 4px 8px}
}
@media (max-width:760px){
  .lfcas-toolbar{justify-content:flex-start;flex-wrap:wrap}
  .lfcas-toolbar select{width:100%;min-width:0}
  .lfcas-detail-topbar{align-items:flex-start;flex-direction:column;gap:5px}
  .lfcas-detail-card{padding:12px;border-radius:14px}
  .lfcas-detail-image{min-height:280px}
  .lfcas-detail-image img{padding:14px}
  .lfcas-detail-info h1{font-size:24px!important}
  .lfcas-detail-price{font-size:23px!important}
}
@media (max-width:460px){
  .lfcas-detail-image{min-height:230px}
}


/* v0.6 — imagem ampliada + ações do cartão */
.lfcas-image-link{cursor:zoom-in}
.lfcas-card-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;margin-top:11px;align-items:stretch}
.lfcas-view-product,.lfcas-add-cart{display:flex!important;align-items:center;justify-content:center;min-height:34px;border-radius:8px;padding:7px 9px;font-size:11px!important;line-height:1.15!important;font-weight:800!important;text-align:center;text-decoration:none!important;box-sizing:border-box}
.lfcas-view-product{margin-top:0!important;border:1px solid var(--lfcas-blue)!important;color:var(--lfcas-blue)!important;background:#fff}
.lfcas-view-product:hover{background:#f3f7fb;border-color:var(--lfcas-blue)!important}
.lfcas-add-cart{appearance:none;border:1px solid var(--lfcas-blue);background:var(--lfcas-blue);color:#fff;cursor:pointer}
.lfcas-add-cart.is-disabled,.lfcas-add-cart:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.15)}
html.lfcas-modal-open{overflow:hidden}

@media (max-width:520px){
  .lfcas-card-actions{grid-template-columns:1fr}
}


/* v0.7 — pesquisa + correções lightbox/estado de stock */
.lfcas-toolbar{justify-content:space-between;gap:16px;flex-wrap:wrap}
.lfcas-search-wrap,.lfcas-sort-wrap{display:flex;align-items:center;gap:9px}
.lfcas-search-wrap{flex:1 1 420px;max-width:650px}
.lfcas-search-wrap>label,.lfcas-sort-wrap>label{font-size:12px;font-weight:800;color:var(--lfcas-muted);white-space:nowrap}
.lfcas-search-box{position:relative;flex:1;min-width:220px}
.lfcas-search-box input{width:100%;height:38px;padding:8px 38px 8px 12px;border:1px solid var(--lfcas-border);border-radius:9px;background:#fff;color:var(--lfcas-text);font:inherit;font-size:13px;outline:none;box-shadow:none}
.lfcas-search-box input:focus{border-color:var(--lfcas-blue);box-shadow:0 0 0 3px rgba(11,58,102,.08)}
.lfcas-search-box input::placeholder{color:#94a3b8}
#lfcas-search-clear{display:none;position:absolute;right:6px;top:50%;transform:translateY(-50%);width:28px;height:28px;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--lfcas-muted)!important;font-size:20px!important;line-height:28px!important;box-shadow:none!important;cursor:pointer}
#lfcas-search-clear.is-visible{display:block}
#lfcas-search-clear:hover{background:#eef2f6!important;color:var(--lfcas-text)!important}
.lfcas-no-results{margin:28px 0 0;padding:18px;border:1px dashed var(--lfcas-border);border-radius:11px;background:#f8fafc;text-align:center;color:var(--lfcas-muted);font-size:13px;font-weight:700}
.lfcas-no-results[hidden]{display:none!important}
.lfcas-modal-box{z-index:2!important}
.lfcas-modal-close{z-index:3!important}
@media (max-width:760px){
  .lfcas-toolbar{align-items:stretch}
  .lfcas-search-wrap,.lfcas-sort-wrap{width:100%;max-width:none;flex:1 1 100%;align-items:flex-start;flex-direction:column;gap:5px}
  .lfcas-search-box,.lfcas-sort-wrap select{width:100%;min-width:0}
}

/* v0.8 — lightbox independente do contentor/tema */
body.lfcas-modal-open{overflow:hidden!important}
body>.lfcas-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:2147483000!important;box-sizing:border-box!important;transform:none!important;filter:none!important;opacity:1!important}
body>.lfcas-modal[hidden]{display:none!important}
body>.lfcas-modal .lfcas-modal-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;background:rgba(3,17,29,.82)!important;z-index:0!important}
body>.lfcas-modal .lfcas-modal-box{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:1!important;width:auto!important;height:auto!important;max-width:94vw!important;max-height:90vh!important;min-width:120px!important;min-height:120px!important;margin:0!important;padding:14px!important;background:#fff!important;border-radius:15px!important;box-shadow:0 24px 80px rgba(0,0,0,.38)!important;overflow:hidden!important;transform:none!important;opacity:1!important;visibility:visible!important}
body>.lfcas-modal .lfcas-modal-box img{position:relative!important;display:block!important;width:auto!important;height:auto!important;max-width:90vw!important;max-height:84vh!important;margin:0!important;padding:0!important;object-fit:contain!important;opacity:1!important;visibility:visible!important;filter:none!important;transform:none!important;border-radius:9px!important}
body>.lfcas-modal.is-loading .lfcas-modal-box:before{content:"A carregar imagem…";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#fff;color:#64748b;font-size:13px;font-weight:700;z-index:0}
body>.lfcas-modal.is-loading .lfcas-modal-box img{visibility:hidden!important}
body>.lfcas-modal.is-error .lfcas-modal-box:before{content:"Não foi possível carregar esta imagem.";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#fff;color:#b42318;font-size:13px;font-weight:800;z-index:0}
body>.lfcas-modal .lfcas-modal-close{position:absolute!important;right:8px!important;top:8px!important;z-index:3!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(10,32,52,.86)!important;color:#fff!important;font-size:24px!important;line-height:36px!important;text-align:center!important;cursor:pointer!important}
@media(max-width:760px){body>.lfcas-modal{padding:12px!important}body>.lfcas-modal .lfcas-modal-box{max-width:96vw!important;padding:9px!important}body>.lfcas-modal .lfcas-modal-box img{max-width:92vw!important;max-height:82vh!important}}


/* v0.9 — filtro agregado de stock + carrinho de teste */
.lfcas-add-cart:not(:disabled){cursor:pointer!important}
.lfcas-add-cart.is-loading{opacity:.72!important;cursor:wait!important}
.lfcas-add-cart.is-added{background:#147a45!important;border-color:#147a45!important;color:#fff!important}
.lfcas-add-cart.is-error{background:#b42318!important;border-color:#b42318!important;color:#fff!important;font-size:9px!important}
.lfcas-detail-cart-actions{display:flex;align-items:stretch;gap:10px;margin-top:20px;flex-wrap:wrap}
.lfcas-detail-add-cart{min-height:44px!important;padding:10px 18px!important;font-size:13px!important;min-width:210px}
.lfcas-go-cart{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--lfcas-blue);border-radius:8px;color:var(--lfcas-blue)!important;background:#fff;text-decoration:none!important;font-size:13px;font-weight:800}
.lfcas-go-cart:hover{background:#f3f7fb}
@media(max-width:520px){.lfcas-detail-cart-actions{display:grid;grid-template-columns:1fr}.lfcas-detail-add-cart,.lfcas-go-cart{width:100%;min-width:0}}

/* v1.1 — método de entrega da Air Store decidido no carrinho */
.lfcas-delivery-box{margin:0 0 26px;padding:18px 20px;border:1px solid #d8e2ea;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(15,47,77,.05)}
.lfcas-delivery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.lfcas-delivery-head h2{margin:0 0 5px!important;font-size:20px!important;line-height:1.2!important;color:#123a5d!important}
.lfcas-delivery-head p{margin:0;color:#64748b;font-size:13px;line-height:1.45}
.lfcas-delivery-test{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#eef5fb;color:#315b7d;font-size:11px;font-weight:800}
.lfcas-delivery-form{display:grid;gap:10px}
.lfcas-delivery-option{display:flex;align-items:flex-start;gap:11px;padding:12px 14px;border:1px solid #d8e2ea;border-radius:10px;cursor:pointer;background:#fff}
.lfcas-delivery-option:has(input:checked){border-color:#0b3a66;box-shadow:0 0 0 2px rgba(11,58,102,.07) inset;background:#f8fbfe}
.lfcas-delivery-option input{margin-top:3px}
.lfcas-delivery-option span{display:flex;flex-direction:column;gap:2px}
.lfcas-delivery-option strong{color:#17344d;font-size:14px}
.lfcas-delivery-option small{color:#64748b;font-size:12px}
.lfcas-delivery-save{justify-self:start;margin-top:4px!important}
.lfcas-delivery-inherited{display:flex;flex-direction:column;gap:4px;padding:13px 15px;border-radius:10px;border:1px solid #b7d6c4;background:#f2fbf5;color:#25533a}
.lfcas-delivery-inherited strong{font-size:14px}
.lfcas-delivery-inherited span{font-size:12px;line-height:1.45}
@media(max-width:760px){.lfcas-delivery-head{flex-direction:column;gap:8px}.lfcas-delivery-save{width:100%;justify-self:stretch}}

/* v1.2 — detalhes de levantamento/CTT no carrinho */
.lfcas-pickup-details,.lfcas-ctt-details{margin:-2px 0 4px;padding:14px;border:1px solid #d8e2ea;border-radius:10px;background:#fbfdff}
.lfcas-delivery-grid{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:14px;align-items:start}
.lfcas-pickup-details .lfcas-delivery-grid{grid-template-columns:300px 120px;justify-content:start;gap:18px}
.lfcas-delivery-grid label,.lfcas-address label{display:block;font-size:12px;font-weight:800;color:#334e68}
.lfcas-time-label select,.lfcas-address input,.lfcas-address textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:9px 10px;border:1px solid #cfdbe5;border-radius:8px;background:#fff;color:#17344d}
.lfcas-address textarea{min-height:52px;resize:vertical}
.lfcas-help{margin-top:7px;font-size:11px;color:#64748b;font-weight:700}
.lfcas-check{display:flex!important;align-items:flex-start;gap:9px;margin-top:10px;font-size:12px!important;font-weight:800!important;color:#334e68!important}
.lfcas-check input{margin-top:2px}
.lfcas-address{display:grid;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #e3ebf1}
.lfcas-address .lfcas-delivery-grid{grid-template-columns:1fr 1fr}
.lfcas-address .req{color:#b42318}
.lfcas-ctt-dispatch{padding:11px 12px;border:1px solid #d6a600;border-radius:10px;background:#fff9df;color:#5d4700;line-height:1.45;font-size:12px}
.lfcas-ctt-dispatch>strong{display:block;margin-bottom:3px;font-size:13px}
.lfcas-cal{margin-top:7px;padding:9px;border:1px solid #d8e2ea;border-radius:10px;background:#fff;max-width:330px}
.lfcas-cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.lfcas-cal-head strong{flex:1;text-align:center;color:#17344d;font-size:12px}
.lfcas-cal-nav{width:28px;height:28px;padding:0!important;border:1px solid #d8e2ea!important;border-radius:999px!important;background:#f7fafc!important;color:#17344d!important;font-weight:900!important;line-height:26px!important;cursor:pointer}
.lfcas-cal-week,.lfcas-cal-grid{display:grid;grid-template-columns:repeat(7,34px);gap:4px;justify-content:center}
.lfcas-cal-week span{text-align:center;font-size:9px;font-weight:900;color:#64748b}
.lfcas-cal-day{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:24px!important;min-width:34px!important;padding:0!important;margin:0!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:7px!important;background:#ecf8ef!important;color:#176b2c!important;font-size:11px!important;font-weight:900!important;line-height:1!important;cursor:pointer}
.lfcas-cal-day.is-empty{visibility:hidden;pointer-events:none}
.lfcas-cal-day.is-bad{background:#fdeaea!important;color:#a62121!important;cursor:not-allowed!important;opacity:.78}
.lfcas-cal-day.is-selected{background:#dbeafe!important;color:#0c4a6e!important;border-color:#2563eb!important;box-shadow:0 0 0 2px rgba(37,99,235,.25) inset!important}
.lfcas-cal-legend{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:10px;font-weight:800;color:#64748b}
.lfcas-dot-ok,.lfcas-dot-no{display:inline-block;width:9px;height:9px;border-radius:50%}.lfcas-dot-ok{background:#2aa84a}.lfcas-dot-no{background:#dc3232}
@media(max-width:760px){.lfcas-delivery-grid,.lfcas-pickup-details .lfcas-delivery-grid,.lfcas-address .lfcas-delivery-grid{grid-template-columns:1fr}.lfcas-cal{max-width:100%}.lfcas-time-label select{max-width:180px}}

.lfcas-form-error{margin:10px 0;padding:9px 11px;border:1px solid #dc3232;border-radius:8px;background:#fff6f6;color:#8a1f1f;font-weight:800;font-size:12px}

/* v1.6 — campos por variação + produtos em destaque */
.lfcas-product-specs{line-height:1.35}
.lfcas-featured-section{margin:24px 0 30px;padding:20px;border:1px solid #d8e2ea;border-radius:14px;background:#f8fbfe;box-shadow:0 6px 22px rgba(15,47,77,.05)}
.lfcas-featured-head{margin-bottom:14px}
.lfcas-featured-head h2{margin-top:4px!important}
.lfcas-featured-grid{margin-top:0!important}
@media(max-width:760px){.lfcas-featured-section{padding:14px}}


/* v1.7 — apresentação pronta para público, ainda limitada a administradores */
.lfcas-catalog-checkout-row{display:flex;justify-content:flex-end;margin:12px 0 4px}
.lfcas-checkout-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:9px 18px;border:1px solid var(--lfcas-blue);border-radius:9px;background:var(--lfcas-blue);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800;transition:.15s ease}
.lfcas-checkout-btn:hover{background:var(--lfcas-blue-2);border-color:var(--lfcas-blue-2);color:#fff!important}
.lfcas-checkout-btn.is-disabled{opacity:.38;cursor:not-allowed;pointer-events:none;filter:grayscale(.15)}
.lfcas-detail-cart-actions .lfcas-checkout-btn{min-height:44px;padding:10px 18px;font-size:13px;min-width:180px}
@media(max-width:520px){.lfcas-catalog-checkout-row{justify-content:stretch}.lfcas-catalog-checkout-row .lfcas-checkout-btn{width:100%}.lfcas-detail-cart-actions .lfcas-checkout-btn{width:100%;min-width:0}}


/* v1.8 — release final preparada para público */
.lfcas-detail-cart-actions .lfcas-detail-add-cart,
.lfcas-detail-cart-actions .lfcas-checkout-btn{flex:1 1 0;min-width:210px;min-height:46px!important;height:46px;padding:10px 18px!important;font-size:13px!important;border-radius:9px!important}
.lfcas-detail-cart-actions .lfcas-detail-add-cart{background:#2684c7!important;border-color:#2684c7!important;color:#fff!important}
.lfcas-detail-cart-actions .lfcas-detail-add-cart:hover:not(:disabled){background:#1f73ad!important;border-color:#1f73ad!important}
.lfcas-detail-cart-actions .lfcas-checkout-btn{background:var(--lfcas-blue)!important;border-color:var(--lfcas-blue)!important;color:#fff!important}
.lfcas-detail-cart-actions .lfcas-checkout-btn:hover{background:var(--lfcas-blue-2)!important;border-color:var(--lfcas-blue-2)!important}
@media(max-width:520px){.lfcas-detail-cart-actions .lfcas-detail-add-cart,.lfcas-detail-cart-actions .lfcas-checkout-btn{width:100%;min-width:0}}


/* v1.8.1 — afinações finais de layout */
.lfcas-hero{padding:8px 16px!important;min-height:0!important}
.lfcas-kicker{margin-bottom:3px!important}
.lfcas-hero h1{font-size:29px!important;line-height:1.02!important}
.lfcas-hero p{margin:3px 0 0!important;font-size:13px!important;line-height:1.25!important}
.lfcas-summary{gap:6px!important;min-width:300px!important}
.lfcas-summary div{padding:4px 8px!important;border-radius:9px!important}
.lfcas-summary strong{font-size:17px!important;line-height:1!important}
.lfcas-summary span{font-size:10px!important;line-height:1.1!important}

/* Na grelha, os dois botões ocupam exatamente metade da largura e têm a mesma altura. */
.lfcas-card-actions{grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:stretch!important}
.lfcas-card-actions .lfcas-view-product,
.lfcas-card-actions .lfcas-add-cart{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;margin:0!important;padding:6px 8px!important}

/* Na página individual, os dois botões ficam perfeitamente alinhados e iguais. */
.lfcas-detail-cart-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:stretch!important}
.lfcas-detail-cart-actions .lfcas-detail-add-cart,
.lfcas-detail-cart-actions .lfcas-checkout-btn{width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0 14px!important;line-height:1.1!important;box-sizing:border-box!important}
@media(max-width:760px){
  .lfcas-hero{padding:10px 14px!important}
  .lfcas-summary{min-width:0!important;width:100%!important}
}
@media(max-width:520px){
  .lfcas-card-actions,.lfcas-detail-cart-actions{grid-template-columns:1fr!important}
}
