/* Product-first storefront. Loaded after the historical stylesheet so older product views stay intact. */
.catalog-page{overflow-x:hidden}
.catalog-page .store-main{padding-top:16px}
.catalog-page .ys-welcome{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 15px;border:1px solid #bfe1cf;border-radius:12px;background:#edf8f2;color:#185f3f;box-shadow:0 6px 18px #1232520a}
.catalog-page .ys-welcome>span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%;background:#248355;color:#fff;font-weight:850}
.catalog-page .ys-welcome div{min-width:0;flex:1}.catalog-page .ys-welcome b{font-size:14px}.catalog-page .ys-welcome p{margin:1px 0 0;font-size:11px}
.catalog-page .ys-welcome a{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border-radius:8px;background:#185f3f;color:#fff;font-size:11px;font-weight:750}

.catalog-page .hero-banner{min-height:288px;margin-bottom:24px;background:linear-gradient(112deg,#0d2c55 0%,#174674 67%,#a72b44 100%)}
.catalog-page .hero-copy{width:59%;max-width:650px;padding:38px 45px}
.catalog-page .hero-banner h1{font-size:clamp(32px,3.2vw,44px)}
.catalog-page .hero-banner h1{color:#fff}.catalog-page .hero-banner h1 em{color:#ffd6df}
.catalog-page .hero-banner p{max-width:490px;font-size:14px}
.catalog-page .hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.catalog-page .hero-button{min-height:46px;justify-content:center;padding:11px 17px;border:1px solid transparent}
.catalog-page .hero-button--primary{background:#fff;color:var(--navy)}
.catalog-page .hero-button--secondary{border-color:#ffffff70;background:#ffffff0d;color:#fff!important}
.catalog-page .hero-button--secondary:hover{background:#ffffff1c;color:#fff}
.catalog-page .ys-hero-visual{position:absolute;inset:0 0 0 auto;width:46%;display:flex;align-items:center;justify-content:flex-end;overflow:hidden;pointer-events:none}
.catalog-page .ys-hero-visual:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#174674 0%,transparent 42%)}
.catalog-page .ys-hero-reference{width:100%;height:100%;object-fit:cover;object-position:center}

.catalog-page .products-section{margin-top:0}
.catalog-page .products-heading{margin-bottom:12px}
.catalog-page .category-section{display:flex;align-items:center;gap:10px;margin:0 0 17px;min-width:0}
.catalog-page .category-label{flex:0 0 auto;color:#68788c;font-size:10px;font-weight:750}
.catalog-page .category-grid{display:flex;min-width:0;gap:7px;overflow-x:auto;padding:3px 2px 7px;scroll-snap-type:x proximity;scrollbar-width:thin}
.catalog-page .category-chip,.catalog-page a.category-chip{min-height:38px;min-width:max-content;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:8px 14px;border:1px solid #d8e1eb;border-radius:999px;background:#fff;color:#40516a;font-size:11px;font-weight:650;line-height:1;scroll-snap-align:start;transition:border-color .15s ease,background .15s ease,color .15s ease}
.catalog-page .category-chip:hover{border-color:#7691b0;background:#f5f8fb;color:var(--navy)}
.catalog-page .category-chip.active{border-color:var(--navy);background:var(--navy);color:#fff}
.catalog-page .product-card{content-visibility:auto;contain-intrinsic-size:390px}
.catalog-page .card-image{transition:transform .22s ease}
.catalog-page .product-card:hover .card-image{transform:scale(1.025)}
.catalog-page .card-action.ys-btn-primary{box-shadow:0 5px 12px #c4203a20}
.catalog-page .card-action.ys-btn-primary:active{transform:translateY(1px)}
.catalog-page .promise-row{margin:30px 0 0}
.catalog-page .how-section{margin-top:22px}
.catalog-page .how-steps{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
.catalog-page .how-steps article:nth-last-child(-n+2){border-bottom:0}
.catalog-page .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.product-page .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.product-page .product-badge{border:1px solid #b91d35;background:var(--red);color:#fff;border-radius:999px}
.product-page .buy:not(:disabled){box-shadow:0 6px 14px #c4203a24}

.ys-motion-ready .ys-reveal{opacity:0;transform:translateY(12px)}
.ys-motion-ready .ys-reveal.is-visible{opacity:1;transform:none;transition:opacity .38s ease,transform .38s ease}
.ys-motion-ready .product-card.ys-reveal:nth-child(2n){transition-delay:45ms}

@media(max-width:820px){
  .catalog-page .hero-copy{width:62%;padding:30px}
  .catalog-page .ys-hero-visual{width:48%}
}

@media(max-width:720px){
  .catalog-page .header-bottom{display:none}
  .catalog-page .store-main{padding:10px 11px 91px}
  .catalog-page .ys-welcome{padding:10px 11px}.catalog-page .ys-welcome b{font-size:12px}.catalog-page .ys-welcome p{font-size:9.5px}.catalog-page .ys-welcome a{min-height:38px;padding:0 10px;font-size:9.5px}
  .catalog-page .hero-banner{min-height:226px;margin-bottom:18px;border-radius:14px;display:block}
  .catalog-page .hero-copy{width:72%;max-width:none;padding:20px 16px;position:relative;z-index:3}
  .catalog-page .hero-kicker{font-size:7.5px;letter-spacing:1px}
  .catalog-page .hero-banner h1{margin:8px 0 9px;font-size:clamp(24px,7vw,31px);line-height:1.08;letter-spacing:-.7px}
  .catalog-page .hero-banner p{max-width:300px;margin-bottom:12px;font-size:10.5px;line-height:1.42}
  .catalog-page .hero-actions{gap:7px}
  .catalog-page .hero-actions .hero-button{min-height:42px;padding:8px 10px;font-size:9.5px}
  .catalog-page .ys-hero-visual{inset:0 0 0 auto;width:48%;height:100%;margin:0;aspect-ratio:auto;display:flex;opacity:.92}
  .catalog-page .ys-hero-visual:before{background:linear-gradient(90deg,#174674 0%,#174674b8 23%,transparent 70%)}
  .catalog-page .ys-hero-reference{width:100%;height:100%;object-fit:cover;object-position:center}
  .catalog-page .products-heading{gap:8px;margin-bottom:8px}
  .catalog-page .products-heading h2{font-size:21px}
  .catalog-page .category-section{display:block;margin-bottom:11px}
  .catalog-page .category-label{display:block;margin:0 0 3px;font-size:9px}
  .catalog-page .category-grid{margin-right:-11px;padding-right:11px;gap:6px}
  .catalog-page .category-grid{scrollbar-width:none}.catalog-page .category-grid::-webkit-scrollbar{display:none}
  .catalog-page .category-chip,.catalog-page a.category-chip{min-height:36px;padding:8px 12px;font-size:9.5px}
  .catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .catalog-page .card-image-link{height:145px}
  .catalog-page .card-content{padding:10px 9px 11px}
  .catalog-page .card-title{font-size:12px}
  .catalog-page .card-features{display:none}
  .catalog-page .card-price strong{font-size:16px}
  .catalog-page .ys-product-price-note{font-size:9px;line-height:1.3}
  .catalog-page .card-action.ys-btn-primary,.catalog-page .card-action.card-action--preparing{min-height:43px;padding:0 9px;font-size:10.5px}
  .catalog-page .promise-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px;padding:7px 4px}
  .catalog-page .promise-row>div{display:grid;justify-items:center;align-content:start;gap:4px;padding:7px 4px;text-align:center}
  .catalog-page .promise-row>div+div{border-top:0;border-left:1px solid var(--line)}
  .catalog-page .promise-row>div:nth-child(2){padding-left:4px;border-left:1px solid var(--line)}
  .catalog-page .promise-row>div:nth-child(3){grid-column:auto;border-top:0}
  .catalog-page .promise-row b{font-size:8.5px}.catalog-page .promise-row small{font-size:7.5px}
  .catalog-page .how-section{gap:10px;margin-top:14px;padding:17px 14px}
  .catalog-page .how-steps{grid-template-columns:1fr 1fr;gap:0 12px}
  .catalog-page .how-steps article{align-items:flex-start;padding:9px 0}
  .catalog-page .how-steps article:nth-child(2){border-bottom:1px solid #edf0f3}
}

@media(max-width:430px){
  .catalog-page .header-top{min-height:104px;grid-template-rows:50px 42px}
  .catalog-page .brand{font-size:13px}.catalog-page .brand img{width:35px;height:35px}
  .catalog-page .ys-header-account{font-size:10.5px}.catalog-page .ys-header-account small{display:none}
  .catalog-page .hero-copy{width:76%}
  .catalog-page .hero-button--secondary{background:#102b5299}
}

@media(max-width:350px){
  .catalog-page .store-main{padding-right:8px;padding-left:8px}
  .catalog-page .hero-copy{width:79%;padding:17px 12px}
  .catalog-page .hero-banner h1{font-size:23px}
  .catalog-page .hero-banner p{font-size:9.5px}
  .catalog-page .hero-actions .hero-button{padding-right:8px;padding-left:8px;font-size:8.5px}
  .catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .catalog-page .card-image-link{height:128px}
  .catalog-page .card-content{padding:8px 7px 9px}
  .catalog-page .card-title{font-size:11px}
  .catalog-page .card-price strong{font-size:14px}
  .catalog-page .ys-product-price-note{font-size:8px}
  .catalog-page .card-action.ys-btn-primary,.catalog-page .card-action.card-action--preparing{padding:0 7px;font-size:9.5px}
  .catalog-page .mobile-nav>a,.catalog-page .mobile-nav>button{font-size:7.5px}
}

@media(prefers-reduced-motion:reduce){
  .ys-motion-ready .ys-reveal,.ys-motion-ready .ys-reveal.is-visible{opacity:1;transform:none;transition:none}
  .catalog-page .card-image{transition:none}
}

/* Global storefront UX v3 — shared catalogue, recommendations and product purchase flow. */
:root{--ys-navy:#102b52;--ys-navy-2:#173f70;--ys-coral:#c4203a;--ys-coral-dark:#a91831;--ys-soft:#f5f7fa;--ys-line:#dfe6ee;--ys-muted:#607086;--ys-success:#19704a;--ys-warning:#9a6100;--ys-radius:14px;--ys-shadow:0 12px 34px rgb(16 43 82 / 9%)}
.storefront-page{overflow-x:hidden}
.ys-back-catalog{display:inline-flex;align-items:center;min-height:38px;margin:0 0 8px;color:var(--ys-navy);font-size:11px;font-weight:750}
.ys-back-catalog:hover{text-decoration:underline;text-underline-offset:3px}
.ys-resume-notice{display:flex;align-items:center;gap:11px;margin:0 0 14px;padding:12px 14px;border:1px solid #bfe0ce;border-radius:11px;background:#edf8f2;color:#185f3f}
.ys-resume-notice>span{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:50%;background:#258355;color:#fff;font-weight:850}.ys-resume-notice b{font-size:12px}.ys-resume-notice p{margin:1px 0 0;font-size:10px}

/* Shared product cards and large horizontal rails. */
.ys-featured{margin:0 0 30px;padding:22px 0 2px}
.ys-carousel-heading{align-items:center;margin-bottom:13px}.ys-carousel-actions{display:flex;align-items:center;gap:13px}
.ys-carousel-controls{display:flex;align-items:center;gap:6px}
.ys-carousel-controls button{min-width:38px;height:38px;padding:0 10px;border:1px solid #d6dfe9;border-radius:9px;background:#fff;color:var(--ys-navy);font-size:13px;font-weight:750}
.ys-carousel-controls button:hover{border-color:#8ba0b8;background:#f5f8fb}.ys-carousel-controls [data-carousel-pause]{min-width:68px;font-size:9px}
.ys-carousel{display:flex;gap:14px;overflow-x:auto;padding:3px 3px 16px;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-inline:contain}
.ys-carousel>.ys-product-card{flex:0 0 calc(25% - 11px);scroll-snap-align:start}
.ys-product-card{min-width:0;overflow:hidden;border:1px solid #e1e7ee;border-radius:var(--ys-radius);background:#fff;box-shadow:0 4px 16px rgb(16 43 82 / 5%);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ys-product-card:hover{transform:translateY(-3px);border-color:#cbd7e3;box-shadow:var(--ys-shadow)}
.ys-card-media{position:relative;display:grid;height:218px;place-items:center;overflow:hidden;border-bottom:1px solid #eef1f5;background:#fff}
.ys-card-media .card-image{width:100%;height:100%;padding:12px;object-fit:contain;transition:transform .22s ease}.ys-product-card:hover .card-image{transform:scale(1.025)}
.ys-card-badge{position:absolute;z-index:2;top:10px;left:10px;max-width:calc(100% - 20px);padding:6px 9px;border-radius:999px;font-size:8px;font-weight:850;letter-spacing:.55px;line-height:1}
.ys-card-badge--order{background:var(--ys-coral);color:#fff;box-shadow:0 4px 12px rgb(196 32 58 / 20%);animation:ys-soft-pulse 3.2s ease-in-out infinite}
.ys-card-badge--sale{background:#fff1c7;color:#704800;border:1px solid #f0d37b}.ys-card-badge--preparing{background:#eaf0f7;color:#425973;border:1px solid #cfdbe7}
.ys-card-body{display:flex;min-height:230px;flex-direction:column;padding:13px 14px 14px}
.ys-card-body .card-title{display:-webkit-box;min-height:2.8em;max-height:4.2em;overflow:hidden;margin:5px 0 0;color:#25364c;font-size:13px;font-weight:700;line-height:1.38;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.ys-card-body .card-features{display:-webkit-box;min-height:2.8em;max-height:2.8em;overflow:hidden;margin:8px 0 0;color:#64748a;font-size:10.5px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ys-card-rating{width:max-content;margin:8px 0 0;color:#5e4b0c;font-size:10px;font-weight:750}.ys-card-rating>span{color:#e29d15}.ys-card-rating small{color:#6d7a8a;font-weight:500}
.ys-card-body .card-price{margin-top:auto;padding-top:12px}.ys-card-body .card-price strong{font-size:20px}
.ys-card-body .card-action{display:flex;min-height:44px;align-items:center;justify-content:space-between;margin-top:10px;padding:0 13px;border:0;border-radius:9px;background:var(--ys-coral);color:#fff;font-size:11.5px;font-weight:800;transition:background .16s ease,transform .16s ease}
.ys-card-body .card-action:hover{background:var(--ys-coral-dark);color:#fff}.ys-card-body .card-action:hover>span{transform:translateX(3px)}
.ys-card-body .card-action--preparing{border:1px solid #ccd7e3;background:#f3f6f9;color:#40546d}.ys-card-body .card-action--preparing:hover{background:#e9eff5;color:#293f59}
.no-image{display:grid;gap:6px;place-items:center;color:#718095;font-size:10px}.no-image>span{font-size:28px;color:#a9b5c3}
@keyframes ys-soft-pulse{0%,100%{box-shadow:0 4px 12px rgb(196 32 58 / 16%)}50%{box-shadow:0 4px 12px rgb(196 32 58 / 16%),0 0 0 5px rgb(196 32 58 / 8%)}}

/* Product detail: two visual columns, one coherent purchase column. */
body.product-page .detail-main{max-width:1210px;padding-top:16px}
body.product-page .breadcrumbs{margin-bottom:12px}
body.product-page .product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);grid-template-rows:auto auto;align-items:start;gap:14px 18px}
body.product-page .product-commerce{display:contents}
body.product-page .product-gallery{grid-column:1;grid-row:1 / span 2;padding:15px;border-radius:var(--ys-radius)}
body.product-page .product-info{grid-column:2;grid-row:1;padding:22px 24px;border-radius:var(--ys-radius);box-shadow:none}
body.product-page .purchase-panel{grid-column:2;grid-row:2;position:static;padding:20px 24px;border-top:0;border-radius:var(--ys-radius);box-shadow:var(--ys-shadow)}
body.product-page .product-photo-stage{aspect-ratio:1/1;max-height:610px;background:#fff}
body.product-page .product-photo-stage>img{padding:10px}
body.product-page .product-badge{top:13px;left:13px;padding:7px 10px;border:0;border-radius:999px;background:var(--ys-coral);color:#fff;box-shadow:0 4px 12px rgb(196 32 58 / 18%);animation:ys-soft-pulse 3.2s ease-in-out infinite}
body.product-page .product-badge--sale{background:#f2cd56;color:#493200;animation:none}body.product-page .product-badge--preparing{background:#e9eff6;color:#3e5671;box-shadow:none;animation:none}
body.product-page .thumbs{gap:9px;margin-top:10px}.product-page .thumb{width:62px;height:62px;flex-basis:62px;border-radius:9px}.product-page .thumb.selected{border-color:var(--ys-navy)}
body.product-page .product-info h1{margin:7px 0 8px;font-size:clamp(27px,2.5vw,38px);line-height:1.09;letter-spacing:-1px}
.ys-rating-summary,.ys-first-review{display:inline-flex;align-items:center;gap:5px;margin:3px 0 0;color:#52667d;font-size:10px;font-weight:650}.ys-rating-summary>span{color:#e6a01b;font-size:14px}.ys-rating-summary u,.ys-first-review{text-underline-offset:3px}
.product-benefits{display:grid;gap:7px;margin:16px 0 0;padding:0;list-style:none;color:#4f6074;font-size:12px;line-height:1.48}.product-benefits li{position:relative;padding-left:18px}.product-benefits li:before{content:'✓';position:absolute;left:0;top:0;color:var(--ys-success);font-weight:850}
.ys-purchase-price{padding-bottom:15px;border-bottom:1px solid #e8edf3}.ys-purchase-price .price-label{display:block;margin:0;color:#5b6c80;font-size:9px;font-weight:800;letter-spacing:.75px;text-transform:uppercase}.ys-purchase-price>strong{display:block;margin-top:4px;color:var(--ys-navy);font-size:clamp(29px,3vw,38px);line-height:1.1;letter-spacing:-.8px}.ys-purchase-price .price-note{margin:5px 0 0;color:#52657a;font-size:11px}
body.product-page .attribute-group{margin-top:16px}.attribute-group--color .attribute-option.has-swatch{display:inline-flex;align-items:center;gap:7px}.attribute-group--color .attribute-option.has-swatch:before{content:'';width:15px;height:15px;flex:0 0 15px;border:1px solid #b7c0ca;border-radius:50%;background:var(--ys-swatch)}
body.product-page .variant-hint{margin:7px 0 0}.product-page .attribute-group+.attribute-group{margin-top:13px}
body.product-page .purchase-controls{grid-template-columns:112px minmax(0,1fr);margin-top:17px}.product-page .buy{background:var(--ys-coral);font-size:13px}.product-page .buy:hover:not(:disabled){background:var(--ys-coral-dark)}
.ys-purchase-conditions{display:grid;gap:8px;margin-top:16px;padding:13px;border-radius:10px;background:#f5f8fb}.ys-purchase-conditions>div{display:flex;gap:9px;align-items:flex-start}.ys-purchase-conditions>div>span{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border-radius:50%;background:#e3edf7;color:var(--ys-navy);font-size:10px;font-weight:850}.ys-purchase-conditions p{margin:0;color:#617185;font-size:9.5px;line-height:1.4}.ys-purchase-conditions b{display:block;color:#2f4259;font-size:10px}
body.product-page .seller-line{margin-top:13px}
body.product-page .product-description,body.product-page .ys-reviews{margin-top:18px;padding:22px 24px;border:1px solid var(--ys-line);border-radius:var(--ys-radius);background:#fff;box-shadow:0 5px 20px rgb(16 43 82 / 5%)}
body.product-page .product-description h2,.ys-reviews h2{margin:0 0 7px;color:var(--ys-navy);font-size:20px}.product-page .product-description .product-details p{max-width:850px;padding:10px 0 15px;font-size:12px;line-height:1.7}
.ys-specifications{margin:8px 0 13px}.ys-specifications>div{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(0,1fr);gap:15px;padding:9px 0;border-bottom:1px solid #edf1f5}.ys-specifications dt{color:#3b4f67;font-size:10.5px;font-weight:750}.ys-specifications dd{margin:0;color:#5f6f82;font-size:10.5px}
.ys-reviews .section-heading{align-items:center;margin-bottom:13px}.ys-reviews-average{color:#667589;font-size:11px}.ys-reviews-average b{color:var(--ys-navy);font-size:20px}
.ys-no-reviews{display:flex;align-items:center;gap:13px;padding:16px;border-radius:10px;background:#f6f8fb;color:#55677d}.ys-no-reviews>span{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;background:#fff;color:#e09a18;font-size:24px}.ys-no-reviews b{font-size:12px;color:#334860}.ys-no-reviews p{margin:2px 0 0;font-size:10px}
.ys-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ys-review{padding:14px;border:1px solid #e2e8ef;border-radius:10px}.ys-review-head{display:flex;justify-content:space-between;gap:10px}.ys-review-head b{font-size:11px;color:#30445b}.ys-review-head time{font-size:9px;color:#7b8795}.ys-review-stars{color:#e4a01c;font-size:13px;letter-spacing:1px}.ys-verified-review{display:inline-block;margin:4px 0;color:var(--ys-success);font-size:9px;font-weight:750}.ys-review>p{margin:6px 0 0;color:#56677b;font-size:10.5px;line-height:1.55}
.ys-review-form{margin-top:12px;padding-top:12px;border-top:1px solid #e7ecf2}.ys-review-form summary{color:var(--ys-navy);font-size:11px;font-weight:750;cursor:pointer}.ys-review-form form{display:grid;max-width:600px;gap:7px;margin-top:12px}.ys-review-form label{font-size:10px;font-weight:700;color:#42566e}.ys-review-form select,.ys-review-form textarea{width:100%;padding:9px 10px;border:1px solid #ced8e3;border-radius:8px;background:#fff}.ys-review-form button,.ys-review-form>a{display:inline-flex;width:max-content;min-height:40px;align-items:center;margin-top:4px;padding:0 15px;border:0;border-radius:8px;background:var(--ys-navy);color:#fff;font-size:10.5px;font-weight:750}.ys-review-form>p{font-size:10px;color:#617185}
.product-page .related-section{margin-top:28px}.product-page .ys-card-media{height:205px}.product-page .ys-card-body{min-height:225px}
.ys-mobile-buybar{display:none}

@media(max-width:1000px){
 .ys-carousel>.ys-product-card{flex-basis:calc(33.333% - 10px)}
 body.product-page .product-layout{grid-template-columns:minmax(0,1fr) minmax(325px,.9fr)}
 body.product-page .product-info,body.product-page .purchase-panel{padding-right:18px;padding-left:18px}
}
@media(max-width:768px){
 .ys-carousel>.ys-product-card{flex-basis:calc(50% - 7px)}
 body.product-page .detail-main{padding:12px 14px 104px}
 body.product-page .product-layout{display:grid;grid-template-columns:1fr;gap:11px}
 body.product-page .product-commerce{display:contents}
 body.product-page .product-info{display:block;grid-column:1;grid-row:1;padding:16px 15px;border:1px solid var(--ys-line);background:#fff}
 body.product-page .product-gallery{grid-column:1;grid-row:2;width:100%;padding:10px}
 body.product-page .purchase-panel{grid-column:1;grid-row:3;width:100%;padding:16px}
 body.product-page .product-info h1{margin:5px 0 7px;font-size:clamp(23px,6.2vw,29px);letter-spacing:-.6px}
 .product-benefits{margin-top:12px;font-size:11px}.product-benefits li:nth-child(n+4){display:none}
 body.product-page .product-photo-stage{height:min(86vw,420px);aspect-ratio:auto;max-height:none}
 body.product-page .thumbs{margin-top:8px}.product-page .thumb{width:52px;height:52px;flex-basis:52px}
 body.product-page .purchase-panel{border:1px solid var(--ys-line)}
 .ys-purchase-price>strong{font-size:30px}
 body.product-page .product-description,body.product-page .ys-reviews{padding:18px 16px}
 .ys-review-list{grid-template-columns:1fr}
 .product-page .related-section{margin-top:22px}
 .ys-mobile-buybar{position:fixed;z-index:35;right:0;bottom:0;left:0;display:flex;min-height:74px;align-items:center;justify-content:space-between;gap:12px;padding:10px max(13px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(13px,env(safe-area-inset-left));border-top:1px solid #dce4ec;background:rgb(255 255 255 / 96%);box-shadow:0 -8px 24px rgb(8 27 52 / 14%);backdrop-filter:blur(10px)}
 .ys-mobile-buybar>div{display:grid;min-width:0}.ys-mobile-buybar small{color:#6c7b8e;font-size:8.5px}.ys-mobile-buybar strong{overflow:hidden;color:var(--ys-navy);font-size:17px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.ys-mobile-buybar button{min-width:128px;min-height:48px;padding:0 16px;border:0;border-radius:10px;background:var(--ys-coral);color:#fff;font-size:12px;font-weight:850}.ys-mobile-buybar button:disabled{background:#aab4c0;color:#fff}
 .product-page .site-footer{padding-bottom:96px}
}
@media(max-width:540px){
 .ys-featured{margin-bottom:20px;padding-top:13px}.ys-carousel-heading{align-items:flex-end}.ys-carousel-heading .section-subtitle{display:none}.ys-carousel-controls [data-carousel-pause]{display:none}.ys-carousel-controls button{min-width:35px;height:35px}
 .ys-carousel{gap:10px;margin-right:-11px;padding-right:11px;scrollbar-width:none}.ys-carousel::-webkit-scrollbar{display:none}.ys-carousel>.ys-product-card{flex-basis:82%}
 .ys-card-media{height:225px}.ys-card-body{min-height:222px}.ys-card-body .card-title{font-size:14px}.ys-card-body .card-price strong{font-size:20px}
 body.product-page .breadcrumbs{display:none}.ys-back-catalog{margin-bottom:5px}
 body.product-page .product-info{padding:14px}.product-page .eyebrow{font-size:8px}
 body.product-page .purchase-controls{grid-template-columns:104px minmax(0,1fr)}
 .ys-specifications>div{grid-template-columns:1fr;gap:3px}
 .product-page .related-section .all-products{display:none}
}
@media(max-width:390px){
 .catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .catalog-page .ys-card-media{height:142px}.catalog-page .ys-card-body{min-height:225px;padding:9px 8px 10px}.catalog-page .ys-card-body .card-title{font-size:11px}.catalog-page .ys-card-body .card-features{font-size:9px}.catalog-page .ys-card-body .card-price strong{font-size:15px}.catalog-page .ys-card-body .card-action{min-height:42px;padding:0 8px;font-size:9.5px}.catalog-page .ys-card-badge{top:7px;left:7px;padding:5px 7px;font-size:7px}.catalog-page .ys-product-price-note{font-size:8px}
 .ys-carousel>.ys-product-card{flex-basis:85%}.ys-carousel .ys-card-media{height:235px}.ys-carousel .ys-card-body{min-height:218px}
 body.product-page .detail-main{padding-right:10px;padding-left:10px}.ys-mobile-buybar button{min-width:116px;padding:0 12px}
}
@media(prefers-reduced-motion:reduce){.ys-card-badge--order,body.product-page .product-badge{animation:none}.ys-product-card,.ys-card-media .card-image,.ys-card-body .card-action,.ys-card-body .card-action>span{transition:none}}

/* Priority homepage correction v4: compact navigation, dropdown categories and commercial rails. */
html,body.storefront-page{max-width:100%;overflow-x:clip}
.catalog-page .site-header{box-shadow:0 2px 12px rgb(16 43 82 / 8%)}
.catalog-page .header-top{min-height:72px;grid-template-columns:210px minmax(280px,1fr) auto auto;gap:14px}
.catalog-page .brand img{width:42px;height:42px}.catalog-page .brand{font-size:16px}.catalog-page .brand small{margin-top:2px;font-size:9px}
.catalog-page .search-form{height:44px;border-radius:10px}.catalog-page .ys-header-account{font-size:12px}.catalog-page .ys-header-account small{font-size:9px}.catalog-page .cart-header{min-height:42px}
.catalog-page .header-bottom{min-height:42px;gap:22px}.catalog-page .header-bottom nav{gap:4px}.catalog-page .header-bottom nav a{min-height:32px;padding:5px 10px}
.catalog-page .store-main{padding-top:14px}
.catalog-page .hero-banner{min-height:292px;margin-bottom:10px}.catalog-page .hero-copy{padding:30px 42px}.catalog-page .hero-banner h1{font-size:clamp(31px,3.1vw,42px)}
.catalog-page .ys-home-promise{margin:10px 0 12px;padding:10px 8px;border-radius:11px;box-shadow:none}.catalog-page .ys-home-promise>div{padding:2px 12px}.catalog-page .ys-home-promise .promise-icon{width:30px;height:30px;flex-basis:30px}.catalog-page .ys-home-promise b{font-size:10.5px}.catalog-page .ys-home-promise small{font-size:8.5px}
.catalog-page .ys-featured{margin:0 0 22px;padding:15px 0 0}

.ys-carousel-shell{width:100%;min-width:0;overflow:hidden;border-radius:var(--ys-radius)}
.ys-carousel{width:100%;max-width:100%;gap:13px;overflow-x:auto;overflow-y:hidden;padding:3px 2px 8px;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.ys-carousel::-webkit-scrollbar{width:0;height:0;display:none}
.ys-carousel>.ys-product-card{flex:0 0 calc(25% - 10px)}
.ys-carousel-dots{display:flex;min-height:20px;align-items:center;justify-content:center;gap:6px;margin-top:2px}
.ys-carousel-dots button{width:6px;height:6px;padding:0;border:0;border-radius:50%;background:#c6d0dc;transition:width .16s ease,background .16s ease}
.ys-carousel-dots button[aria-current=true]{width:19px;border-radius:99px;background:var(--ys-navy)}
.ys-carousel-controls button{border-radius:50%}.ys-carousel-controls [data-carousel-pause]{border-radius:9px}

.catalog-page .products-section{margin-top:10px;padding-top:5px}
.catalog-page .products-heading{align-items:center;margin-bottom:10px}.catalog-page .products-heading h2{font-size:25px}.catalog-page .ys-catalog-top{display:inline-flex;min-height:40px;align-items:center;padding:0 13px;border:1px solid #d3dde7;border-radius:9px;background:#fff;color:var(--ys-navy);font-size:10px;font-weight:750}
.ys-catalog-toolbar{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 9px;padding:9px 10px;border:1px solid #dfe6ee;border-radius:11px;background:#fff}
.ys-category-menu{position:relative;min-width:250px}.ys-category-trigger{display:flex;width:100%;min-height:40px;align-items:center;gap:9px;padding:0 12px;border:1px solid #ccd7e3;border-radius:9px;background:#fff;color:var(--ys-navy);font:inherit;font-size:11px;font-weight:750;text-align:left;cursor:pointer}.ys-category-trigger:focus-visible{outline:3px solid rgb(210 32 57 / 22%);outline-offset:2px}.ys-filter-icon{font-size:14px}.ys-category-trigger b{max-width:185px;overflow:hidden;margin-left:auto;color:#5f7187;font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ys-filter-chevron{font-size:16px;transition:transform .15s ease}.ys-category-menu.is-open .ys-filter-chevron{transform:rotate(180deg)}
.ys-category-panel{position:absolute;z-index:25;top:calc(100% + 7px);left:0;width:min(390px,calc(100vw - 28px));max-height:360px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:auto;padding:9px;border:1px solid #d8e1eb;border-radius:12px;background:#fff;box-shadow:0 18px 48px rgb(16 43 82 / 20%)}.ys-category-panel[hidden]{display:none}.ys-category-menu.is-open .ys-category-panel{display:grid}
.catalog-page .ys-category-panel .category-chip,.catalog-page .ys-category-panel a.category-chip{display:flex;min-width:0;min-height:43px;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid transparent;border-radius:8px;background:#f5f7fa;color:#354a62;text-align:left;font-size:10px;line-height:1.25;white-space:normal;scroll-snap-align:none}.catalog-page .ys-category-panel .category-chip:hover{border-color:#b8c7d8;background:#edf3f8}.catalog-page .ys-category-panel .category-chip.active{border-color:var(--ys-navy);background:#eaf1f8;color:var(--ys-navy);font-weight:800}.ys-category-panel .category-chip small{display:grid;min-width:22px;height:22px;place-items:center;border-radius:99px;background:#fff;color:#68798d;font-size:8px}
.ys-catalog-toolbar .sort-control{margin-left:auto}.ys-catalog-toolbar .sort-control select{min-width:190px}
.ys-catalog-price-note{display:flex;align-items:center;gap:7px;margin:0 0 13px;color:#65758a;font-size:9.5px}.ys-catalog-price-note>span{color:var(--ys-coral);font-size:14px}

.catalog-page .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ys-product-card{border-radius:12px;box-shadow:0 3px 12px rgb(16 43 82 / 5%)}
.ys-card-media{height:205px}.ys-card-body{min-height:162px;padding:11px 12px 12px}.ys-card-body .card-title{min-height:2.7em;max-height:2.7em;margin-top:4px;font-size:12.5px;line-height:1.35;-webkit-line-clamp:2}.ys-card-body .card-price{padding-top:9px}.ys-card-body .card-price strong{font-size:19px}.ys-card-body .card-action{min-height:39px;margin-top:8px;font-size:10.5px}
.ys-card-badge--new{background:var(--ys-navy);color:#fff}.ys-card-badge--order{display:none}
.catalog-page .ys-product-card--grid .card-action{border:1px solid #cbd7e3;background:#fff;color:var(--ys-navy);box-shadow:none}.catalog-page .ys-product-card--grid .card-action>span{color:var(--ys-coral)}.catalog-page .ys-product-card--grid .card-action:hover{border-color:var(--ys-navy);background:#eef3f8;color:var(--ys-navy)}
.catalog-page .ys-product-card--carousel .card-action{background:var(--ys-coral)}

@media(max-width:1000px){
 .catalog-page .header-top{grid-template-columns:190px minmax(220px,1fr) auto auto}.catalog-page .header-top,.catalog-page .header-bottom{padding-right:22px;padding-left:22px}
 .catalog-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ys-carousel>.ys-product-card{flex-basis:calc(33.333% - 9px)}
}
@media(max-width:720px){
 .catalog-page .header-top{min-height:98px;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:48px 40px;gap:3px 7px;padding-right:11px;padding-left:11px}.catalog-page .brand{font-size:13px}.catalog-page .brand img{width:34px;height:34px}.catalog-page .brand small{display:none}.catalog-page .ys-header-account{font-size:10px}.catalog-page .ys-header-account small{display:none}.catalog-page .cart-header{min-height:36px;height:36px}.catalog-page .search-form{height:40px}.catalog-page .header-bottom{display:none}
 .catalog-page .store-main{padding:9px 10px 88px}.catalog-page .hero-banner{min-height:220px;margin-bottom:8px}.catalog-page .hero-copy{padding:18px 16px}.catalog-page .hero-banner h1{font-size:clamp(24px,7.2vw,30px)}.catalog-page .hero-banner p{font-size:10.5px}.catalog-page .hero-actions .hero-button{min-height:40px}
 .catalog-page .ys-home-promise{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px;padding:5px 2px}.catalog-page .ys-home-promise>div{display:grid;justify-items:center;gap:3px;padding:6px 4px;text-align:center}.catalog-page .ys-home-promise>div+div{border-top:0;border-left:1px solid var(--line)}.catalog-page .ys-home-promise>div:nth-child(2){padding-left:4px}.catalog-page .ys-home-promise>div:nth-child(3){grid-column:auto;border-top:0}.catalog-page .ys-home-promise .promise-icon{width:25px;height:25px;flex-basis:25px}.catalog-page .ys-home-promise b{font-size:8px;line-height:1.2}.catalog-page .ys-home-promise small{font-size:7px;line-height:1.2}
 .catalog-page .ys-featured{margin-bottom:15px;padding-top:10px}.ys-carousel-heading{margin-bottom:9px}.ys-carousel-controls [data-carousel-pause]{display:none}.ys-carousel-controls button{min-width:34px;height:34px}.ys-carousel{gap:9px;padding-bottom:5px}.ys-carousel>.ys-product-card{flex-basis:78%}.ys-carousel-dots{min-height:17px}
 .catalog-page .products-heading{display:flex;align-items:flex-end;flex-direction:row;gap:8px}.catalog-page .products-heading h2{font-size:20px}.catalog-page .products-heading .section-subtitle{font-size:9px}.catalog-page .ys-catalog-top{min-height:36px;padding:0 10px;font-size:8.5px}
 .ys-catalog-toolbar{align-items:stretch;margin-bottom:7px;padding:7px}.ys-category-menu{min-width:0;flex:1}.ys-category-trigger{min-height:38px;padding:0 9px;font-size:10px}.ys-category-trigger b{max-width:90px;font-size:8.5px}.ys-category-panel{position:absolute;top:calc(100% + 6px);right:0;left:0;width:calc(100vw - 20px);max-height:62vh;grid-template-columns:1fr 1fr}.ys-catalog-toolbar .sort-control{display:grid;gap:2px;margin:0}.ys-catalog-toolbar .sort-control>span{font-size:7.5px}.ys-catalog-toolbar .sort-control select{min-width:0;width:134px;min-height:38px;padding-right:20px;font-size:8.5px}.ys-catalog-price-note{margin-bottom:9px;font-size:8.5px;line-height:1.35}
 .catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.catalog-page .ys-card-media{height:148px}.catalog-page .ys-card-body{min-height:143px;padding:9px}.catalog-page .ys-card-body .card-title{font-size:11px}.catalog-page .ys-card-body .card-price{padding-top:7px}.catalog-page .ys-card-body .card-price strong{font-size:15px}.catalog-page .ys-card-body .card-action{min-height:38px;padding:0 8px;font-size:9.5px}.catalog-page .ys-card-badge{top:7px;left:7px;padding:5px 7px;font-size:7px}
 .ys-carousel .ys-card-media{height:226px}.ys-carousel .ys-card-body{min-height:157px}.ys-carousel .ys-card-body .card-title{font-size:13px}.ys-carousel .ys-card-body .card-price strong{font-size:19px}
}
@media(max-width:390px){
 .catalog-page .hero-copy{width:77%}.catalog-page .hero-banner h1{font-size:24px}.catalog-page .hero-actions .hero-button{padding:8px 9px;font-size:9px}
 .catalog-page .products-heading .section-subtitle{display:none}.catalog-page .ys-catalog-top{white-space:nowrap}.ys-category-panel{grid-template-columns:1fr}.ys-catalog-toolbar .sort-control select{width:116px}
 .catalog-page .ys-card-media{height:135px}.catalog-page .ys-card-body{min-height:139px;padding:8px 7px}.catalog-page .ys-card-body .card-title{font-size:10.5px}.catalog-page .ys-card-body .card-price strong{font-size:14px}.catalog-page .ys-card-body .card-action{font-size:9px}
 .ys-carousel>.ys-product-card{flex-basis:84%}.ys-carousel .ys-card-media{height:220px}.ys-carousel .ys-card-body{min-height:154px}
}

/* Flex fallbacks keep the commercial composition stable in older mobile WebViews. */
.catalog-page .ys-home-promise{display:flex}.catalog-page .ys-home-promise>div{flex:1 1 0}
.catalog-page .product-grid{display:flex;width:calc(100% + 12px);flex-wrap:wrap;gap:0;margin:-6px}.catalog-page .product-grid>.ys-product-card{flex:0 0 calc(25% - 12px);margin:6px}
@media(max-width:1000px){.catalog-page .product-grid>.ys-product-card{flex-basis:calc(33.333% - 12px)}}
@media(max-width:720px){.catalog-page .ys-home-promise{display:flex}.catalog-page .ys-home-promise>div{flex:1 1 0}.catalog-page .product-grid{width:calc(100% + 8px);margin:-4px}.catalog-page .product-grid>.ys-product-card{flex-basis:calc(50% - 8px);margin:4px}}
@media(max-width:430px){
 .ys-catalog-toolbar{display:flex;flex-direction:column;gap:7px}
 .ys-category-menu,.ys-catalog-toolbar .sort-control,.ys-catalog-toolbar .sort-control select{width:100%}
 .ys-catalog-toolbar .sort-control{display:flex}.ys-catalog-toolbar .sort-control select{max-width:none;flex:1}
 .ys-category-trigger b,.ys-catalog-toolbar .sort-control>span{display:none}
 .ys-category-trigger{gap:6px}
}
