/* Shared catalog badges and purchase actions — Nutricion24, 2026-10-14. */
/* Keep labels in normal flow so they never cover a product photograph. */
body[id] #wrapper .product-miniature .thumbnail-container{display:flex;flex-direction:column}
body[id] #wrapper .product-miniature .product-flags{position:static;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:5px;order:-1;width:auto;max-width:100%;min-height:32px;margin:0;padding:8px 8px 0;list-style:none;pointer-events:none;box-sizing:border-box}
body[id] #wrapper .product-flags li.product-flag{position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-width:0;min-height:24px;height:auto;margin:0;padding:4px 7px;border:1px solid transparent;border-radius:3px;background:#111;color:#fff;font:700 10px/1.35 var(--ndc-font,Montserrat,Arial,sans-serif);letter-spacing:.025em;text-transform:uppercase;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transform:none;box-sizing:border-box}
body[id] #wrapper .product-flags li.product-flag:is(.on-sale,.new,.pack){background:#111;color:#fff;border-color:#111}
body[id] #wrapper .product-flags li.product-flag:is(.discount,.discount-amount,.discount-percentage){background:var(--n24-lime,#b5f900);color:#111;border-color:var(--n24-lime,#b5f900)}
body[id] #wrapper .product-flags li.product-flag.out_of_stock{margin:0;background:#f3f3f3;color:#595959;border-color:#ddd;white-space:normal}
body[id] #wrapper .product-flags li.product-flag::before,body[id] #wrapper .product-flags li.product-flag::after{display:none}
/* The same visual and reading sequence is retained after native AJAX updates. */
body[id] #wrapper .product-miniature .product-description{display:flex;flex-flow:column nowrap;flex:1;min-width:0}
body[id] #wrapper .product-miniature .product-title{order:0}
body[id] #wrapper .product-miniature .ndc-list-category{order:1}
body[id] #wrapper .product-miniature .ndc-list-reviews,body[id] #wrapper .product-miniature .product-list-reviews{order:2}
body[id] #wrapper .product-miniature .ndc-list-summary{order:3}
body[id] #wrapper .product-miniature .product-price-and-shipping{order:4;margin-top:auto}
body[id] #wrapper .product-miniature .ndc-price-note{order:5}
body[id] #wrapper .product-miniature .ndc-product-link{display:none}
body[id] #wrapper .n24-card-actions{order:20;flex:0 0 auto;align-self:stretch;width:100%;margin:0;padding-top:10px}
body[id] #wrapper .n24-card-buy-form{margin:0}
body[id] #wrapper .n24-card-actions .n24-card-buy,body[id] #wrapper .ndc-bs-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:11px 16px;background:var(--n24-lime,#b5f900);border:1px solid var(--n24-lime,#b5f900);border-radius:4px;color:#111;font:700 13px/1.4 var(--ndc-font,Montserrat,Arial,sans-serif);letter-spacing:0;text-transform:none;box-shadow:none;white-space:normal;text-decoration:none;cursor:pointer;box-sizing:border-box}
body[id] #wrapper .n24-card-actions .n24-card-buy:hover{background:#a5e500;border-color:#a5e500;color:#111}
body[id] #wrapper .n24-card-actions .n24-card-buy:focus-visible{outline:2px solid #111;outline-offset:3px}
body[id] #wrapper .n24-card-actions .n24-card-buy:disabled{opacity:.5;cursor:wait}
/* Horizontal category / brand results: badges + image at left, purchase below price. */
body:is(#category,#manufacturer) #wrapper .ndc-category-products .thumbnail-container{display:grid;grid-template-rows:auto 1fr;row-gap:8px}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .product-flags{grid-column:1;grid-row:1;min-height:0;padding:0}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .thumbnail-top{grid-column:1;grid-row:2}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .product-description{grid-column:2;grid-row:1 / span 2;display:flex;flex-flow:row wrap}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .product-price-and-shipping{margin-top:0;margin-bottom:0}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .ndc-price-note{margin-bottom:0}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .n24-card-actions{flex-basis:100%;padding-top:12px}
body:is(#category,#manufacturer) #wrapper .ndc-category-products .n24-card-buy-form,body:is(#category,#manufacturer) #wrapper .ndc-category-products .n24-card-actions>.n24-card-buy{max-width:200px}
.n24-product-rail .products{overscroll-behavior-inline:contain}
@media(max-width:767px){
 body[id] #wrapper .product-flags li.product-flag{font-size:9px;min-height:23px;padding:4px 6px}
 body:is(#category,#manufacturer) #wrapper .ndc-category-products .product-flags{gap:4px}
 body:is(#category,#manufacturer) #wrapper .ndc-category-products .n24-card-buy-form,body:is(#category,#manufacturer) #wrapper .ndc-category-products .n24-card-actions>.n24-card-buy{max-width:none}
 body:is(#category,#manufacturer) #wrapper .ndc-category-products .n24-card-actions{padding-top:10px}
}

/* Native best-seller carousel uses its own card markup. */
body[id] #wrapper .ndc-bs-info{order:1}
body[id] #wrapper .ndc-bs-cart{order:20;flex:0 0 auto;margin:10px 0 0}
body[id] #wrapper .ndc-bs-card:not(:has(.ndc-bs-cart))::after{content:'';display:block;order:20;flex:0 0 54px}
