/* Catalog refresh: strong product imagery, clear labels, and touch-friendly controls. */
body{font-size:16px}
:where(button,a,input,select):focus-visible{outline:3px solid #80cb18;outline-offset:3px}
.container{max-width:1320px}
.featured-section{padding:76px 0 82px;background:linear-gradient(180deg,#f4f8f0,#eaf2e5);border-bottom:1px solid #dce9d5}
.featured-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:29px}
.featured-kicker{display:block;font-size:14px;font-weight:900;color:#398118;margin-bottom:6px}
.featured-heading h2{margin:0;font-size:clamp(28px,3vw,42px);line-height:1.4;color:#0c2349}
.featured-heading h2 span{color:#398118}
.featured-heading p{color:#546985;font-size:16px;line-height:1.8;margin:6px 0 0;max-width:690px}
.featured-all{border:1px solid #bed49e;background:#fff;color:#17462b;border-radius:12px;padding:11px 17px;white-space:nowrap;font-size:14px;font-weight:850}
.featured-all:hover{background:#e0f3cf}
.featured-grid{display:grid;grid-template-columns:1.55fr repeat(3,minmax(0,1fr));gap:15px}
.featured-card{min-width:0;height:315px;padding:0;border:1px solid #d5e1d7;background:#fff;border-radius:23px;overflow:hidden;display:flex;flex-direction:column;text-align:right;box-shadow:0 12px 26px #08234412;transition:transform .28s,box-shadow .28s,border-color .28s}
.featured-card:hover{transform:translateY(-5px);box-shadow:0 20px 42px #08234425;border-color:#86ca3a}
.featured-photo{display:grid;place-items:center;background:radial-gradient(circle at 50% 30%,#e9fad7,#e5f0f5 65%,#eaf0f5);height:218px;overflow:hidden;position:relative}
.featured-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#ffffff80,transparent 35%);pointer-events:none}
.featured-photo img{height:100%;width:100%;object-fit:contain;transition:transform .35s}
.featured-card:hover img{transform:scale(1.055)}
.featured-copy{display:flex;flex-direction:column;gap:2px;padding:12px 17px}
.featured-copy small{color:#377d21;font-size:12px;font-weight:800}
.featured-copy strong{color:#09234b;font-size:18px;line-height:1.4}
.featured-copy>span{color:#58738c;font-size:12px;font-weight:800}
.featured-card:first-child{background:#0b2250;border-color:#294878}
.featured-card:first-child .featured-photo{background:radial-gradient(circle at 50% 20%,#3267a6,#0b2250 75%)}
.featured-card:first-child .featured-copy strong{color:#fff}
.featured-card:first-child .featured-copy small{color:#bbf455}
.featured-card:first-child .featured-copy>span{color:#d5e4f3}
.categories-section{background:#f8faf6}
.section-heading p{font-size:16px}
.category-card h3{font-size:16px}
.category-card small{font-size:14px}
.products-section{background:#fff;padding-top:84px}
.products-bubble{font-size:14px;background:#eaf8d9;color:#235b18;border-color:#cfebb4}
.demo-banner{font-size:14px;align-items:flex-start;line-height:1.8;margin:0 0 25px}
.catalog-toolbar{align-items:stretch;display:flex;flex-direction:column;gap:17px;background:#f6f9f3;border:1px solid #e1eade;border-radius:20px;padding:18px;margin-bottom:4px}
.filter-tabs{width:100%;max-width:100%;gap:8px}
.filter-chip{font-size:14px;padding:10px 16px;border:1px solid #dfe9d7;background:#fff;color:#355064;border-radius:10px}
.filter-chip:hover,.filter-chip.active{background:#0c2452;color:#fff;border-color:#0c2452}
.catalog-tools{width:100%;display:flex;gap:10px;align-items:stretch}
.product-search{flex:1;min-width:220px;border-color:#dbe6da;background:#fff;border-radius:11px;padding:0 13px}
.product-search input{font-size:15px;width:100%;padding:11px 0}
.catalog-tools select{font-size:14px;color:#203c5d;background:#fff;border-color:#dbe6da;padding:11px 30px 11px 13px;min-width:160px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23355064' stroke-width='2' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:13px center}
.catalog-action,.view-switch button{border:1px solid #dbe6da;background:#fff;color:#214264;border-radius:11px;min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:800;padding:0 13px}
.catalog-action .i,.view-switch .i{width:19px;height:19px}
.catalog-action b{background:#e8f3e4;border-radius:8px;min-width:23px;padding:2px 5px;font-size:12px}
.catalog-action.selected{background:#e4f5d6;color:#276d1b;border-color:#a9db80}
.view-switch{display:flex;gap:4px;border:1px solid #dbe6da;background:#fff;padding:3px;border-radius:12px}
.view-switch button{border:0;min-height:38px;min-width:40px;padding:0;border-radius:8px}
.view-switch .view-active{background:#0b2550;color:#fff}
.catalog-summary{font-size:14px;color:#697d91;margin:13px 2px 22px;min-height:20px}
.product-grid{gap:18px;grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card{border-radius:20px;box-shadow:0 8px 22px #0b264712;display:flex;flex-direction:column;background:#fff}
.product-card:hover{border-color:#a3d96e;box-shadow:0 19px 35px #0929561f}
.product-image{height:265px;display:block;background:#eaf2f8}
.product-image:before{display:none}
.product-media{display:grid;place-items:center;width:100%;height:100%;border:0;padding:12px;background:linear-gradient(145deg,#eff7f3,#e7f0f8);overflow:hidden}
.product-media .product-img-real{width:100%;height:100%;object-fit:contain;transition:transform .3s;filter:drop-shadow(0 10px 12px #1539681c)}
.product-card:hover .product-media .product-img-real{transform:scale(1.035)}
.product-card.is-photo .product-media{background:linear-gradient(145deg,#e6eef6,#f4f7f3)}
.product-illustration-real{width:100%;height:100%;max-width:100%;max-height:100%;display:grid;place-items:center}
.product-illustration-real .category-realistic-device{width:185px;height:185px}
.image-fallback .category-realistic-device{width:70%;height:70%}
.product-badge{top:12px;right:12px;font-size:12px;max-width:145px;padding:6px 10px}
.favorite-btn{position:absolute;z-index:4;top:12px;left:12px;width:40px;height:40px;border:1px solid #d7e4ed;border-radius:12px;background:#fff;color:#31516a;display:grid;place-items:center;box-shadow:0 3px 13px #05224325}
.favorite-btn .i{width:20px;height:20px}
.favorite-btn.is-saved{color:#c4435a;background:#fff1f3;border-color:#f5cbd0}
.favorite-btn.is-saved svg{fill:#ef7184;stroke:#b63550}
.image-kind{position:absolute;z-index:2;bottom:10px;right:10px;font-size:12px;font-weight:800;color:#183451;background:#fffffff2;border:1px solid #d8e4e8;border-radius:8px;padding:4px 8px}
.product-details{padding:19px;display:flex;flex-direction:column;flex:1;min-width:0}
.product-meta{display:flex;justify-content:space-between;gap:8px;align-items:center}
.product-category{font-size:13px}
.availability{color:#64798a;font-size:12px;font-weight:700}
.availability.out{color:#af4751}
.product-details h3{font-size:18px;white-space:normal;overflow:visible;min-height:52px;line-height:1.5;margin:8px 0 6px}
.product-title{color:#10284e;text-align:right;background:none;border:0;padding:0;font-size:inherit;font-weight:900;line-height:inherit}
.product-title:hover{color:#3d8521}
.product-description{font-size:14px;color:#63758b;line-height:1.7;min-height:48px;height:auto;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 9px}
.spec-chips{display:flex;flex-wrap:wrap;gap:5px;min-height:31px;margin:0 0 14px;align-content:start}
.spec-chips span{background:#edf5e9;color:#436342;padding:4px 8px;border-radius:7px;font-size:12px;font-weight:750;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spec-chips.spec-empty span{background:#f4f6f8;color:#778799}
.product-price-line{border-top:1px solid #e6ede4;padding-top:14px;margin-top:auto;align-items:end;gap:10px;min-height:70px}
.product-price-line>div{min-width:0}
.product-price-line small{display:block;color:#6e8294;font-size:12px;line-height:1.2}
.product-price{font-size:17px;display:block;white-space:nowrap}
.product-price.ask{font-size:14px;color:#367725}
.old-price{font-size:12px}
.product-add{width:auto;height:39px;gap:6px;padding:0 11px;font-size:12px;font-weight:900;border-radius:10px;white-space:nowrap}
.product-add .i{width:17px;height:17px}
.product-add:hover{background:#94d835;color:#081d3c}
.product-grid.list-view{display:grid;grid-template-columns:1fr}
.list-view .product-card{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:230px}
.list-view .product-image{height:100%;min-height:230px}
.list-view .product-details h3{min-height:0}
.list-view .product-description{min-height:0;-webkit-line-clamp:2}
.list-view .product-price-line{margin-top:12px}
.quickview-card{width:min(1010px,100%)}
.quickview-body{grid-template-columns:minmax(0,1.07fr) minmax(0,1fr)}
.gallery-panel{background:linear-gradient(145deg,#e8f2ef,#dfeaf5);padding:24px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:13px}
.gallery-stage{height:410px;max-height:55vh;display:grid;place-items:center;background:#f5f9fb;border:1px solid #dce6ea;border-radius:18px;overflow:hidden}
.gallery-zoom{display:grid;place-items:center;position:relative;width:100%;height:100%;border:0;background:none;padding:12px}
.gallery-zoom .product-img-real{object-fit:contain;max-width:100%;max-height:100%;width:100%;height:100%}
.gallery-zoom .image-fallback{width:100%;height:100%}
.gallery-zoom>span{position:absolute;bottom:12px;left:12px;background:#071742da;color:#fff;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:800}
.gallery-thumbs{display:flex;gap:8px}
.gallery-thumbs button{display:flex;align-items:center;gap:7px;border:2px solid #d5e3e8;background:white;border-radius:10px;padding:5px 9px;font-size:13px;font-weight:800;color:#39566b}
.gallery-thumbs button[aria-pressed="true"]{border-color:#71b63d;background:#effadc;color:#245725}
.gallery-thumbs img{width:40px;height:40px;object-fit:contain;border-radius:5px}
.gallery-note{font-size:13px;color:#50657b;line-height:1.7;margin:0}
.quickview-info{padding:38px 32px 32px}
.quickview-info h3{font-size:28px;line-height:1.4}
.quickview-info p{font-size:15px;line-height:1.8}
.quickview-info .spec-list{max-height:270px;overflow-y:auto}
.quickview-info .spec-list div{font-size:14px}
.detail-price{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e2eae7;padding:16px 0;margin-top:10px;font-size:15px}
.detail-price strong{margin:0;color:#357b1f;font-size:21px}
.detail-actions{display:flex;gap:9px;flex-wrap:wrap}
.detail-actions .btn{font-size:14px}
.quickview-card.zoomed{width:min(1100px,100%)}
.zoomed .quickview-body{display:block}
.zoomed .quickview-info,.zoomed .gallery-thumbs,.zoomed .gallery-note{display:none}
.zoomed .gallery-panel{padding:15px}
.zoomed .gallery-stage{height:calc(100vh - 100px);max-height:none;background:#fff}
.zoomed .gallery-zoom>span{display:none}
@media(max-width:1100px){.featured-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-card{height:295px}.featured-photo{height:198px}}
@media(max-width:820px){.featured-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 18px;gap:12px}.featured-card{flex:0 0 245px;scroll-snap-align:start}.featured-card:first-child{flex-basis:285px}.catalog-tools{flex-wrap:wrap}.product-search{flex-basis:100%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quickview-body{grid-template-columns:1fr}.gallery-stage{height:335px}.quickview-info{padding:24px}}
@media(max-width:600px){.featured-section{padding:54px 0}.featured-heading{align-items:start;flex-direction:column}.featured-heading h2{font-size:29px}.featured-heading p{font-size:15px}.featured-all{font-size:14px}.section-heading p{font-size:15px}.category-card h3{font-size:15px}.category-card small{font-size:13px}.products-section{padding-top:64px}.catalog-toolbar{padding:13px;border-radius:15px}.filter-chip{font-size:14px}.catalog-tools select{flex:1;min-width:0}.catalog-action{min-width:46px}.catalog-action span{display:none}.product-grid{grid-template-columns:1fr;gap:16px}.product-card{border-radius:19px}.product-image{height:285px}.product-details{padding:18px}.product-details h3{font-size:19px;min-height:0}.product-description{font-size:15px}.product-price.ask{font-size:16px}.product-add{font-size:14px;padding:0 14px}.product-grid.list-view .product-card{grid-template-columns:125px minmax(0,1fr);min-height:180px}.list-view .product-image{min-height:180px}.list-view .product-details{padding:11px}.list-view .product-meta{display:block}.list-view .availability{display:block}.list-view .product-details h3{font-size:15px;line-height:1.4}.list-view .product-description,.list-view .spec-chips{display:none}.list-view .product-price-line{display:block;padding-top:8px;margin-top:5px}.list-view .product-add{margin-top:8px}.list-view .product-add span{display:none}.list-view .image-kind{display:none}.gallery-panel{padding:13px}.gallery-stage{height:290px;max-height:none}.gallery-thumbs button{font-size:12px}.quickview-info h3{font-size:24px}.zoomed .gallery-stage{height:calc(100vh - 85px)}}
@media(prefers-reduced-motion:reduce){.featured-card,.featured-photo img,.product-media .product-img-real{transition:none!important}}
