/*
Theme Name: Uchem Rebuilt
Version: 1.0.3
Text Domain: uchem-rebuilt
*/
.uchem-shell .uchem-body{padding-block:28px 48px}
.uchem-shell .uchem-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px;margin:24px 0}
.uchem-shell .uchem-card{border:1px solid #dce1e9;padding:16px;border-radius:6px;overflow-wrap:anywhere}
.uchem-shell .uchem-card img{object-fit:contain;width:100%;height:145px;margin-bottom:12px}
.uchem-shell .uchem-card h2{font-size:1.1rem;margin:0 0 .5em}
.uchem-shell .display-list .uchem-grid{grid-template-columns:1fr}
.uchem-shell .display-list .uchem-card img{float:left;width:120px;margin-right:16px}
.uchem-shell .uchem-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-block:14px}
.uchem-shell .uchem-tools label{display:grid;gap:4px}
.uchem-shell .uchem-tools input,.uchem-shell .uchem-tools select{border:1px solid #aeb7c2;background:white;color:#172638;border-radius:4px;padding:8px;min-width:0}
.uchem-shell .uchem-tools button,.uchem-shell .uchem-variations-table button{border:1px solid #567443;border-radius:4px;padding:8px 12px;background:#fff;color:#263e13;cursor:pointer}
.uchem-shell .uchem-variations-table{overflow:auto;margin:24px 0}
.uchem-shell .uchem-variations-table table{width:100%;border-collapse:collapse}
.uchem-shell .uchem-variations-table th,.uchem-shell .uchem-variations-table td{border:1px solid #dce1e9;padding:8px;text-align:left}
.uchem-shell .uchem-suggestions{position:absolute;z-index:20;min-width:220px;max-width:95vw;background:white;color:#18202b;border:1px solid #b8c2ce;box-shadow:0 6px 10px #0002;padding:8px;list-style:none}
.uchem-shell .uchem-suggestions[hidden]{display:none!important}
.uchem-shell .uchem-suggestions a{display:block;color:inherit;padding:6px}
.uchem-shell .search-form{position:relative}
.uchem-shell .uchem-catalog-categories{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px}
.uchem-shell .uchem-product .woocommerce-product-gallery img{height:auto}
.uchem-shell .uchem-product .quantity button{margin-inline:4px}
.uchem-shell .uchem-historical{margin:12px 0;padding:10px;background:#f1f4f7;border-left:3px solid #6e8860;color:#253340}
.uchem-shell.woocommerce-account nav.woocommerce-MyAccount-navigation{display:block}
.uchem-shell .woocommerce-MyAccount-navigation ul{margin:0 0 20px;padding-left:0;list-style:none}
.uchem-shell .woocommerce-MyAccount-navigation li a{display:block;padding:8px 12px}
.uchem-shell .woocommerce-MyAccount-navigation li.is-active a{font-weight:700;color:#004c72;background:#edf4f7}
.uchem-shell .uchem-newsletter{position:relative}
.uchem-shell .uchem-newsletter-consent{position:absolute;inset-inline:0;top:calc(100% + 8px);display:flex;align-items:start;gap:6px;font-size:12px;line-height:16px;color:#201e39}
.green-block-container .green-block .uchem-newsletter input[type=checkbox]{padding:0;margin:2px 0 0;flex:none;cursor:pointer}
.green-block-container .green-block .uchem-newsletter input[type=submit]{cursor:pointer}
.green-block-container .green-block .uchem-newsletter input:focus-visible{outline:2px solid #201e39;outline-offset:2px}
.green-block-container .green-block .uchem-newsletter p{grid-column:1/-1;margin:0;color:#201e39}
.uchem-shell .uchem-product form.variations_form table.variations{overflow:visible;max-width:100%}
.uchem-shell .uchem-product .woocommerce-product-gallery__wrapper img{max-width:100%}
@media(max-width:768px){.uchem-shell .uchem-body{padding-block:16px 30px}.uchem-shell .uchem-tools{align-items:stretch}.uchem-shell .uchem-tools label{max-width:100%}.uchem-shell .uchem-newsletter-consent{top:calc(100% + 5px);font-size:11px;line-height:13px}}

@media (max-width: 768px) {
    .uchem-shell.home .block-2 .tags { min-block-size: 142px; }
}
