/* Compact catalogue: identical cover, price and action tracks, including highlights. */
body[data-surface="catalog"] .cards:not(.catalog-list){align-items:stretch;gap:10px}
body[data-surface="catalog"] .product.compact-product{display:grid;grid-template-rows:120px 54px 33px;gap:5px;min-width:0;height:237px;padding:8px!important;align-content:start;box-sizing:border-box;overflow:hidden}
body[data-surface="catalog"] .product.compact-product .compact-product-cover{height:120px;width:100%;aspect-ratio:auto;padding:0!important;position:relative;display:block;background:#fff;border:1px solid #e4eaf3;overflow:hidden;border-radius:8px;color:#22446f}
.compact-product-cover img{display:block;width:100%;height:100%;object-fit:contain;padding:4px 4px 31px;box-sizing:border-box;background:white}
.compact-cover-name{position:absolute;bottom:0;left:0;right:0;background:#f2f6fcf5;color:#243c57;font-size:10px;font-weight:650;line-height:14px;height:31px;padding:2px 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-align:left;box-sizing:border-box}
.compact-cover-empty{position:absolute;inset:10px 0 35px;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--store) 6%,white),white);color:color-mix(in srgb,var(--store) 45%,#aab6c8)}
.compact-cover-empty svg{width:32px;height:32px;opacity:.45}.compact-cover-category{position:absolute;left:5px;top:5px;width:25px;height:25px;display:grid;place-items:center;border:1px solid #d9e4f2;border-radius:7px;background:#fffffff0;color:var(--store)}.compact-cover-category svg{width:16px;height:16px}
.compact-product-price{height:54px;display:flex;align-items:center;min-width:0;overflow:hidden;padding:0 3px}.compact-product-price>strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.compact-product-price .club-old-price{font-size:9px}.compact-product-price .club-price-label{font-size:8px;line-height:1.2}.compact-product-price .club-new-price{font-size:15px}.compact-product-add{height:33px;min-height:33px;padding:6px!important;font-size:11px!important;background:var(--store);width:100%;align-self:end;border-radius:7px;line-height:1.2}
.list-product-title{padding:0;background:none;color:#203e63;box-shadow:none;border:0;text-align:left;font-size:12px;font-weight:700;min-height:28px;overflow-wrap:anywhere;line-height:1.4}.list-product-title:hover{background:none;color:var(--store);text-decoration:underline}.catalog-list .list-actions{gap:0}
body[data-surface="catalog"] .featured-products{grid-auto-columns:180px;align-items:stretch;gap:10px}.featured-products .compact-product{margin:0}.featured-products .compact-product-cover{border-color:#e9dcb8!important}#featuredsection{padding:15px;margin-bottom:16px}.featured-heading{margin-bottom:9px}.featured-heading h2{font-size:20px}.featured-heading .eyebrow{display:none}
.cart .qty{gap:6px;flex-wrap:wrap}.cartline-value{margin-left:auto;font-size:12px;white-space:nowrap}.cart .qty .cart-remove-item{background:#fff0f1;color:#cf2136;border:1px solid #f2c8cf;width:30px;height:30px;min-height:30px;padding:0;font-size:23px;line-height:1;display:grid;place-items:center;border-radius:7px;flex-shrink:0}.cart .qty .cart-remove-item:hover{background:#cf2136;color:#fff}.cartline>p{margin-bottom:6px}.cartline .fine{font-size:10px}
/* Keep closing controls consistent in every module; destructive actions stay separate. */
button[id^="close"],button[aria-label^="Fechar"],button[data-close]{background:#dc263b!important;color:#fff!important;border:1px solid #c21c31!important;box-shadow:none}button[id^="close"]:hover,button[aria-label^="Fechar"]:hover,button[data-close]:hover{background:#b7192c!important}button[id^="close"] svg,button[aria-label^="Fechar"] svg{color:inherit}
body[data-surface="workspace"] .workspace{padding-top:18px}.workspace-content>.dashhead{padding:16px 21px;min-height:0;margin-bottom:14px}.workspace-content>.dashhead h1{font-size:24px;margin:7px 0 0}.compact-workspace-brand{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.compact-workspace-brand .workspace-shopbrand{color:#e9f2ff;gap:8px;max-width:100%}.compact-workspace-brand .workspace-shopbrand strong{font-size:12px;font-weight:550;max-width:290px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-workspace-brand .workspace-shopbrand img,.compact-workspace-brand .shop-monogram{width:26px;height:26px;border-radius:7px;font-size:15px;flex-shrink:0}.compact-workspace-brand .account-chip{font-size:8px;padding:4px 7px;margin:0;background:#ffffff12;color:#d1e6ff;border-color:#ffffff18}.compact-workspace-brand #backadminmobile{display:inline-flex;padding:6px;min-height:27px;margin-left:auto;z-index:1}.compact-workspace-brand #backadminmobile svg{width:16px;height:16px}.workspace .panel{margin-top:12px;margin-bottom:14px;padding:20px}.workspace .personal-tabs{margin-bottom:10px;gap:5px;display:flex;flex-wrap:wrap;width:100%}.workspace .personal-tabs button{font-size:11px;padding:9px 11px;gap:6px}.workspace .personal-tabs svg{width:16px;height:16px}.workspace #newmanualorder{white-space:nowrap}.workspace .period-shortcuts{margin:8px 0 12px;gap:5px}.workspace .period-shortcuts button{font-size:10px;padding:7px 10px;min-height:32px}.workspace .store-order-row{padding:11px 13px;margin:6px 0}.workspace .customer-filters{padding:10px;gap:7px}.workspace .reportfilters{margin:10px 0}.workspace .product-admin-panel>.dashhead{min-height:0;padding:0;margin:0 0 13px}.workspace .product-admin-list{margin-top:0}
@media(max-width:700px){body[data-surface="catalog"] .product.compact-product{grid-template-rows:105px 51px 32px;height:214px;gap:4px;padding:7px!important}body[data-surface="catalog"] .product.compact-product .compact-product-cover{height:105px}.compact-product-price{height:51px;padding:0 1px}.compact-product-price>strong,.compact-product-price .club-new-price{font-size:14px}.compact-cover-name{font-size:9px;line-height:13px;height:29px}.compact-product-cover img{padding-bottom:29px}.compact-cover-category{width:23px;height:23px}.compact-cover-category svg{width:14px;height:14px}.compact-product-add{font-size:10px!important;min-height:32px;height:32px}body[data-surface="catalog"] .featured-products{grid-auto-columns:145px}.catalog-toolbar{padding:8px;gap:6px;margin-bottom:9px}.catalog-toolbar input,.catalog-toolbar select{min-height:38px;font-size:14px;padding:8px 10px}.catalog-toolbar #category{min-height:38px}.catalog-toolbar .view-button{min-height:31px;min-width:31px;padding:6px}.category-ribbon{margin-bottom:5px;padding-bottom:7px}.category-chip{min-height:31px;font-size:9px;padding:6px 9px}.cartline-value{font-size:11px}.cart .qty{gap:5px}.cart .qty button{min-height:30px}.cart .qty .cart-remove-item{width:30px}.cartline{padding-top:10px;padding-bottom:10px}}
@media(max-width:650px){body[data-surface="workspace"] .workspace{padding-top:12px}.workspace-content>.dashhead{padding:13px 15px;min-height:0;margin-bottom:10px}.workspace-content>.dashhead h1{font-size:23px}.compact-workspace-brand{gap:7px}.compact-workspace-brand .workspace-shopbrand strong{font-size:11px;max-width:190px}.compact-workspace-brand .account-chip{font-size:7px;letter-spacing:0}.workspace .panel{padding:15px;margin:10px 0}.workspace .personal-tabs{gap:4px;padding:7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:11px}.workspace .personal-tabs button{justify-content:center;font-size:10px;padding:8px 4px;gap:5px;min-height:35px;min-width:0}.workspace .personal-tabs svg{width:14px;height:14px}.workspace .reportfilters.compact-filters,.workspace .customer-filters,body[data-surface="admin"] .reportfilters.compact-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.workspace .reportfilters label,.workspace .customer-filters label,body[data-surface="admin"] .compact-filters label{font-size:9px;min-width:0;margin:0}.workspace .reportfilters input,.workspace .reportfilters select,.workspace .customer-filters input,.workspace .customer-filters select,body[data-surface="admin"] .compact-filters input,body[data-surface="admin"] .compact-filters select{width:100%;min-width:0;min-height:38px;padding:7px;font-size:16px}.workspace .reportfilters .actions,.workspace .customer-filters>button,body[data-surface="admin"] .compact-filters .actions{grid-column:1 / -1;display:flex;gap:6px;margin:0}.workspace .reportfilters .actions button{flex:1;min-height:33px;padding:7px 10px;font-size:10px}.workspace .reportfilters details,body[data-surface="admin"] .compact-filters details{grid-column:1 / -1}.workspace .store-order-row{padding:10px;gap:7px}.workspace .store-order-row strong{font-size:11px}.workspace .store-order-row small{font-size:9px}.workspace .product-admin-panel>.dashhead{gap:8px;margin-bottom:12px}.workspace .dashhead h3{font-size:16px}.workspace .dashhead .fine{font-size:10px}.workspace .period-shortcuts button{font-size:9px;min-height:30px}.modalhead{gap:9px;margin-bottom:13px}.modalhead h2{font-size:21px}.modalhead button{flex-shrink:0;min-height:34px;font-size:10px;padding:8px 10px}}
