/* All rules require the JS category gate: never changes product details or other categories. */
.sc-carpets #content {padding-bottom:48px}
.sc-carpets .category-top {padding:30px 32px 24px;background:#f3f5f0;border:1px solid #e5e9e1;border-radius:12px;margin:20px 0 28px}
.sc-carpets h1.category-title {font-size:36px;line-height:1.15;color:#344e3c;margin:0 0 12px;font-weight:500}
.sc-carpets .sc-carpet-intro {font-size:16px;line-height:1.6;color:#637064;max-width:650px;margin:0 0 20px}
.sc-carpets .products-top-wrapper {display:none}
.sc-carpets .subcategories {display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
.sc-carpets .subcategories li {width:auto;float:none;padding:0;margin:0}
.sc-carpets .subcategories li a {height:auto;min-height:46px;border:1px solid #cbd5c9;border-radius:6px;padding:12px 20px;background:#fff;display:flex;align-items:center;gap:18px;color:#344e3c}
.sc-carpets .subcategories li a:hover {border-color:#344e3c;background:#eaf0e7}
.sc-carpets .subcategories li .image {display:none}
.sc-carpets .subcategories li .text {width:auto!important;font-size:14px;font-weight:600}
.sc-carpets .subcategories li a:before {display:none}
.sc-carpets .subcategories li a:after {content:'↗';font-size:17px;position:static;width:auto;height:auto;transform:none;background:none;border:0}
.sc-carpets #category-header {background:none;border:0;border-bottom:1px solid #e3e8e1;padding:0 0 15px;margin-bottom:24px}
.sc-carpets #products {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0}
.sc-carpets #products:before,.sc-carpets #products:after {display:none}
.sc-carpets #products>.product {width:auto!important;max-width:none;float:none;padding:0!important;border:0!important;margin:0;min-width:0}
.sc-carpets #products .p {height:100%;padding:0!important;display:flex;flex-direction:column;border:1px solid #e3e8df;border-radius:10px;overflow:hidden;background:#fff;transition:box-shadow .2s}
.sc-carpets #products .p:hover {box-shadow:0 8px 28px #344e3c12}
.sc-carpets #products .p>a.image {display:block;aspect-ratio:4/3;height:auto!important;width:100%;padding:0!important;margin:0;background:#f3f3ee;overflow:hidden}
.sc-carpets #products .p>a.image img {width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;position:static;display:block}
.sc-carpets .sc-variants {padding:15px 20px 0}
.sc-carpets .sc-swatch-caption {font-size:12px;color:#667265;margin:0 0 9px;line-height:1.4}
.sc-carpets .sc-swatches {display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.sc-carpets .sc-swatch,.sc-carpets .sc-swatch-more {width:38px;height:38px;flex:0 0 38px;padding:2px;border:1px solid #dce2d8;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#344e3c;font-size:12px;font-weight:600;cursor:pointer}
.sc-carpets .sc-swatch img {width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.sc-carpets .sc-swatch[aria-pressed=true],.sc-carpets .sc-swatch:hover {border:2px solid #344e3c;padding:1px}
.sc-carpets .sc-swatch:focus-visible,.sc-carpets .sc-swatch-more:focus-visible {outline:2px solid #344e3c;outline-offset:3px}
.sc-carpets #products .p-in {padding:18px 20px 20px;display:flex;flex:1;flex-direction:column}
.sc-carpets #products .p-in-in {height:auto!important;min-height:0!important}
.sc-carpets #products .name {font-size:21px!important;line-height:1.35!important;font-weight:500;color:#344e3c;min-height:0!important;height:auto!important;margin:0 0 7px;display:block}
.sc-carpets #products .ratings-wrapper {margin:0;min-height:0;height:auto;display:block;text-align:left}
.sc-carpets #products .stars-placeholder {display:none}
.sc-carpets #products .availability {font-size:12px;text-align:left;margin:6px 0;color:#687266}
.sc-carpets .sc-facts {font-size:13px;color:#687266;margin:10px 0 0}
.sc-carpets #products .sc-has-facts .p-desc {display:none}
.sc-carpets #products .p-bottom {margin-top:auto;padding-top:20px}
.sc-carpets #products .p-bottom>[data-micro=offer] {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sc-carpets #products .prices {display:flex;flex-direction:column;margin:0;flex:1 1 auto;width:auto!important;min-width:0}
.sc-carpets #products .price-final {order:0;font-size:25px!important;line-height:1.3;color:#28392b;white-space:nowrap}
.sc-carpets #products .price-additional {order:1;font-size:11px!important;line-height:1.5;color:#72796f}
.sc-carpets .sc-unit {font-size:13px;font-weight:400;color:#667265}
.sc-carpets #products .p-tools {margin:0!important;padding:0;float:none;flex:0 0 auto;width:auto!important}
.sc-carpets #products .p-tools .btn {font-size:12px;line-height:1.4;min-height:44px;padding:13px 16px;border-radius:5px;text-transform:none;letter-spacing:.1px}
@media(max-width:1100px){.sc-carpets #products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){.sc-carpets .category-top{padding:22px 18px;margin:12px 0 20px}.sc-carpets h1.category-title{font-size:29px}.sc-carpets .sc-carpet-intro{font-size:14px}.sc-carpets #products{grid-template-columns:minmax(0,1fr);gap:20px}.sc-carpets .subcategories{gap:8px}.sc-carpets .subcategories li a{padding:10px 13px}.sc-carpets #products .p>a.image{aspect-ratio:4/3}}
