.shop-add-label-short,
.shop-mobile-footer-toggle{display:none}

.shop-mobile-footer-panel,
.shop-mobile-footer-panel-inner{display:contents}

@media (max-width:767.98px), (max-height:500px) and (pointer:coarse){
  html.shop-filters-open,
  html.shop-filters-open body{overflow:hidden}

  .shop-page .shop-container{width:calc(100% - 24px);max-width:none}

  .shop-page .shop-intro,
  .shop-page .shop-intro-inner{min-height:164px}
  .shop-page .shop-intro::before{background:linear-gradient(90deg,rgba(0,18,46,.9) 0%,rgba(0,24,54,.72) 54%,rgba(0,45,62,.22) 100%)}
  .shop-page .shop-intro-media img{object-position:64% 52%;filter:saturate(1.04) contrast(1.04) brightness(.94)}
  .shop-page .shop-intro-inner{place-items:end start;padding:1.25rem 12px}
  .shop-page .shop-intro-copy{width:min(88%,330px);padding-top:.65rem;text-align:left}
  .shop-page .shop-intro-copy::before{right:auto;left:0;width:58px;transform:none}
  .shop-page .shop-intro h1{max-width:11ch;color:#f7fbff;font-size:clamp(1.72rem,7.4vw,2rem);font-weight:780;line-height:1.08;letter-spacing:-.035em;text-indent:0;text-wrap:balance;text-shadow:0 2px 16px rgba(0,10,29,.72)}
  .shop-page .shop-intro-description{max-width:37ch;margin:.5rem 0 0;color:#dcebf5;font-size:.78rem;font-weight:520;line-height:1.45;letter-spacing:0;text-wrap:pretty}

  .shop-page .shop-catalog{padding:12px 0 2.75rem;background:linear-gradient(180deg,#f5f9fc,#eef4f8 64%,#f6f8fa)}
  .shop-page .shop-toolbar{
    position:sticky;
    top:calc(var(--mobile-header-height) + 2px + env(safe-area-inset-top));
    z-index:80;
    display:grid;
    align-items:stretch;
    gap:8px;
    margin:0 0 10px;
    padding:8px;
    border-color:#c8dce8;
    border-radius:15px;
    background:rgba(250,253,255,.96);
    box-shadow:0 9px 24px rgba(0,43,92,.12);
    backdrop-filter:blur(16px);
  }
  .shop-page .shop-toolbar-summary,
  .shop-page .shop-toolbar-actions{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}
  .shop-page .shop-toolbar-summary p{min-width:0;margin:0;color:#526b7f;font-size:.72rem;font-weight:580;line-height:1.25;text-align:right;white-space:nowrap}
  .shop-page .shop-toolbar-summary p strong{color:var(--brand-deep);font-size:.82rem;font-weight:800}
  .shop-page .filter-open{display:inline-flex;min-width:108px;min-height:44px;justify-content:center;padding:0 .72rem;border-radius:12px;background:#e7f2f8;color:#07568f;font-size:.72rem;font-weight:780;line-height:1;white-space:nowrap}
  .shop-page .filter-open .control-icon{width:18px;height:18px}
  .shop-page .filter-open .filter-count{min-width:20px;height:20px;margin-left:0;font-size:.6rem}
  .shop-page .sort-control{display:block;min-width:0;flex:1;color:#5a7183;font-size:.7rem}
  .shop-page .sort-control>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .shop-page .sort-control select{width:100%;min-width:0;height:44px;padding:0 2rem 0 .72rem;border-color:#bcd2df;border-radius:12px;background-color:#f7fbfd;color:#143f5e;font-size:.72rem;font-weight:700}
  .shop-page .view-toggle{flex:none;gap:2px;padding:2px;border-radius:12px}
  .shop-page .view-toggle button{width:54px;min-width:54px;height:44px;gap:3px;padding:0 4px;border-radius:9px;font-size:.61rem}
  .shop-page .view-toggle button svg{width:16px;height:16px}

  .shop-page .active-filters{display:flex;min-width:0;align-items:center;flex-direction:row;gap:6px;margin:0 0 10px;padding:6px;border-radius:13px;overflow:hidden}
  .shop-page .active-filters[hidden]{display:none}
  .shop-page .active-filter-list{display:flex;min-width:0;flex:1;flex-wrap:nowrap;gap:6px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
  .shop-page .active-filter-list::-webkit-scrollbar{display:none}
  .shop-page .active-filter-chip{flex:none;min-height:44px;padding:.45rem .68rem;border-radius:999px;font-size:.66rem;font-weight:680;scroll-snap-align:start;white-space:nowrap}
  .shop-page .active-filter-chip img{width:12px;height:12px}
  .shop-page .clear-all{min-height:44px;padding:0 .55rem;font-size:.66rem;text-underline-offset:3px;white-space:nowrap}

  .shop-page .shop-layout{display:block}
  .shop-page .shop-sidebar{display:none}
  .shop-page .shop-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
  .shop-page .shop-product{
    width:100%;
    min-width:0;
    max-width:none;
    justify-self:stretch;
    overflow:hidden;
    border:0;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 22px rgba(0,43,92,.105);
    transform:none;
    animation:shopMobileCardIn .24s var(--mobile-ease) both;
  }
  .shop-page .shop-product:nth-child(2n){animation-delay:.035s}
  .shop-page .shop-product:hover{transform:none;border-color:transparent;box-shadow:0 8px 22px rgba(0,43,92,.105)}
  .shop-page .shop-product-media{aspect-ratio:1.12;background:#eaf2f7}
  .shop-page .shop-product:hover .shop-product-media>a>img{transform:none;filter:none}
  .shop-page .shop-badge{top:7px;left:7px;max-width:calc(100% - 58px);overflow:hidden;padding:.27rem .45rem;font-size:.5rem;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap}
  .shop-page .wishlist-btn{top:6px;right:6px;width:44px;height:44px;transform:none}
  .shop-page .wishlist-btn:hover{transform:none}
  .shop-page .wishlist-btn img{width:16px;height:16px}
  .shop-page .shop-product-info{padding:9px 8px 10px}
  .shop-page .shop-product-meta{min-height:18px;gap:4px;margin-bottom:3px}
  .shop-page .shop-category{overflow:hidden;font-size:.54rem;font-weight:780;letter-spacing:.05em;text-overflow:ellipsis;white-space:nowrap}
  .shop-page .shop-warranty{display:none}
  .shop-page .shop-product h2,
  .shop-page .shop-product-info h2{min-block-size:44px;max-block-size:44px;min-height:44px;margin:0 0 5px;font-size:.75rem;font-weight:700;line-height:1.32;letter-spacing:-.012em}
  .shop-page .shop-product h2 a{display:-webkit-box;min-height:44px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .shop-page .shop-price-stock{display:grid;align-items:start;justify-items:start;gap:4px;margin-bottom:7px}
  .shop-page .shop-price-row{gap:4px;white-space:normal}
  .shop-page .shop-price{font-size:.98rem;font-weight:800;letter-spacing:-.025em}
  .shop-page .shop-old-price{font-size:.56rem}
  .shop-page .shop-stock{font-size:.56rem;font-weight:740}
  .shop-page .shop-stock::before{width:5px;height:5px}
  .shop-page .shop-features{display:grid;grid-template-columns:1fr;height:58px;margin:0 0 8px;border-radius:9px}
  .shop-page .shop-feature{display:grid;grid-template-columns:17px minmax(0,1fr);align-items:center;align-content:center;justify-items:start;gap:5px;min-height:28px;padding:2px 6px;text-align:left}
  .shop-page .shop-feature+.shop-feature::before{top:0;right:6px;bottom:auto;left:6px;width:auto;height:1px}
  .shop-page .shop-feature:nth-child(n+3){display:none}
  .shop-page .shop-feature img{width:15px;height:15px;margin:0}
  .shop-page .shop-feature strong{max-width:100%;overflow:hidden;font-size:.6rem;font-weight:760;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
  .shop-page .shop-feature span{display:none}
  .shop-page .shop-product-actions{grid-template-columns:minmax(0,1fr) 44px;gap:6px}
  .shop-page .shop-add{min-width:0;min-height:44px;gap:3px;padding:5px 4px;font-size:.625rem;font-weight:700;line-height:1;white-space:nowrap;box-shadow:0 6px 14px rgba(0,76,151,.18)}
  .shop-page .shop-add:disabled{font-size:.55rem}
  .shop-page .shop-add span{overflow:hidden;text-overflow:clip;white-space:nowrap}
  .shop-page .shop-add img{width:14px;height:14px;flex:none}
  .shop-page .shop-product-wa{width:44px;height:44px;transform:none}
  .shop-page .shop-product-wa:hover{transform:none}
  .shop-page .shop-product-wa img{width:20px;height:20px}

  .shop-page .shop-products[data-view="list"]{grid-template-columns:1fr;gap:10px}
  .shop-page .shop-products[data-view="list"] .shop-product{display:grid;grid-template-columns:clamp(132px,40vw,168px) minmax(0,1fr);min-height:184px}
  .shop-page .shop-products[data-view="list"] .shop-product-media{height:100%;min-height:184px;aspect-ratio:auto}
  .shop-page .shop-products[data-view="list"] .shop-product-media>a>img{padding:6px;object-fit:contain;object-position:center;background:#edf4f8}
  .shop-page .shop-products[data-view="list"] .shop-product-info{min-width:0;padding:10px 8px 9px;border-left:1px solid rgba(9,73,124,.07)}
  .shop-page .shop-products[data-view="list"] .shop-product-meta{display:flex;min-height:20px;align-items:flex-start;justify-items:initial;margin-bottom:4px}
  .shop-page .shop-products[data-view="list"] .shop-category{display:inline-flex;max-width:100%;min-height:20px;align-items:center;padding:3px 7px;border:1px solid #d9e9f3;border-radius:999px;background:#eef7fc;font-size:.5rem;line-height:1}
  .shop-page .shop-products[data-view="list"] .shop-product h2{min-block-size:44px;max-block-size:44px;min-height:44px;margin-bottom:5px;font-size:.76rem;line-height:1.3}
  .shop-page .shop-products[data-view="list"] .shop-product h2 a{min-height:44px}
  .shop-page .shop-products[data-view="list"] .shop-price-stock{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;align-items:center;gap:4px;margin-bottom:6px}
  .shop-page .shop-products[data-view="list"] .shop-price-row{max-width:100%;overflow:hidden;white-space:nowrap}
  .shop-page .shop-products[data-view="list"] .shop-stock{min-height:22px;padding:3px 5px;border:1px solid #caeed6;border-radius:999px;background:#edf9f1;font-size:.52rem;line-height:1}
  .shop-page .shop-products[data-view="list"] .shop-stock.out{border-color:#f2d0cc;background:#fff1ef}
  .shop-page .shop-products[data-view="list"] .shop-price{font-size:.94rem}
  .shop-page .shop-products[data-view="list"] .shop-old-price{display:none}
  .shop-page .shop-products[data-view="list"] .shop-features{display:none}
  .shop-page .shop-products[data-view="list"] .shop-product-actions{grid-template-columns:minmax(0,1fr) 44px;margin-top:auto;padding-top:7px;border-top:1px solid #e7eef3}
  .shop-page .shop-products[data-view="list"] .shop-product-wa{display:grid}
  .shop-page .shop-products[data-view="list"] .shop-add{min-height:44px;padding:4px;font-size:.64rem}

  .shop-page .shop-empty{min-height:max(280px,40dvh);gap:.6rem;padding:1.5rem 1rem;border-radius:15px}
  .shop-page .shop-empty img{width:60px;height:60px}
  .shop-page .shop-empty h2{font-size:1.15rem}
  .shop-page .shop-empty p{max-width:32ch;font-size:.78rem;line-height:1.5}
  .shop-page .shop-empty button{min-height:48px;padding:.65rem 1.1rem;font-size:.74rem}

  .shop-page .filter-dialog[open]{
    position:fixed;
    inset:0;
    display:flex;
    width:100%;
    max-width:none;
    height:100dvh;
    max-height:none;
    align-items:flex-end;
    margin:0;
    padding:0;
    overflow:hidden;
    border:0;
    background:transparent;
    box-shadow:none;
  }
  .shop-page .filter-dialog::backdrop{background:rgba(0,24,52,.54);opacity:0;backdrop-filter:none;transition:opacity .2s linear}
  .shop-page .filter-dialog.is-open::backdrop{opacity:1}
  .shop-page .filter-dialog.is-closing::backdrop{opacity:0}
  .shop-page .filter-dialog-shell{
    grid-template-rows:auto minmax(0,1fr) auto;
    width:100%;
    height:min(88dvh,720px);
    overflow:hidden;
    border-radius:22px 22px 0 0;
    background:#f8fbfd;
    box-shadow:0 -20px 55px rgba(0,25,50,.28);
    transform:translateY(104%);
    transition:transform .25s var(--mobile-ease);
  }
  .shop-page .filter-dialog.is-open .filter-dialog-shell{transform:translateY(0)}
  .shop-page .filter-dialog.is-closing .filter-dialog-shell{transform:translateY(104%)}
  .shop-page .filter-dialog-head{min-height:68px;padding:10px 12px;border-radius:22px 22px 0 0}
  .shop-page .filter-dialog-head span{font-size:.58rem}
  .shop-page .filter-dialog-head strong{font-size:1rem}
  .shop-page .filter-dialog-head button{width:44px;height:44px;flex:none}
  .shop-page .filter-dialog .filter-form{padding-bottom:8px;scrollbar-width:thin}
  .shop-page .filter-group{padding:14px 12px}
  .shop-page .filter-group legend{margin-bottom:8px;font-size:.78rem;font-weight:760}
  .shop-page .filter-options{gap:1px}
  .shop-page .filter-option{grid-template-columns:22px minmax(0,1fr) auto;gap:9px;min-height:48px;padding:4px 3px;font-size:.76rem;font-weight:600}
  .shop-page .filter-option input{width:20px;height:20px}
  .shop-page .filter-option span:last-child{font-size:.66rem}
  .shop-page .filter-chips{gap:7px}
  .shop-page .filter-chip span{min-height:44px;padding:.48rem .74rem;font-size:.7rem;font-weight:680}
  .shop-page .price-range-wrap{gap:.75rem}
  .shop-page .price-slider{height:44px;margin:0 8px}
  .shop-page .price-track,
  .shop-page .price-track-fill{top:20px}
  .shop-page .price-slider input[type="range"]{height:44px}
  .shop-page .price-slider input[type="range"]::-webkit-slider-thumb{width:28px;height:28px;margin-top:-12px}
  .shop-page .price-slider input[type="range"]::-moz-range-thumb{width:22px;height:22px}
  .shop-page .price-inputs{gap:7px}
  .shop-page .price-inputs>span{padding-bottom:.8rem}
  .shop-page .price-field{font-size:.6rem}
  .shop-page .price-field span{height:44px;padding:0 .55rem}
  .shop-page .price-field input{font-size:16px}
  .shop-page .filter-dialog-foot{gap:8px;padding:8px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
  .shop-page .filter-dialog-foot button{min-height:48px;font-size:.74rem}

  .shop-page footer{padding:2.5rem 0 calc(6rem + env(safe-area-inset-bottom));text-align:left}
  .shop-page .footer-inner{width:calc(100% - 24px);grid-template-columns:1fr;gap:0;text-align:left}
  .shop-page .footer-inner>div:first-child{padding-bottom:1.35rem;text-align:center}
  .shop-page .footer-logo{width:190px;height:60px;margin:0 auto 1rem}
  .shop-page .footer-inner>div:first-child p{max-width:38ch;margin-inline:auto;font-size:.78rem;line-height:1.55}
  .shop-page .shop-mobile-footer-group{border-top:1px solid rgba(219,237,247,.13)}
  .shop-page .shop-mobile-footer-group>h3{display:none}
  .shop-page .shop-mobile-footer-toggle{
    display:flex;
    width:100%;
    min-height:54px;
    align-items:center;
    justify-content:space-between;
    padding:5px 2px;
    border:0;
    background:transparent;
    color:#fff;
    font-family:inherit;
    font-size:.88rem;
    font-weight:760;
    cursor:pointer;
  }
  .shop-page .shop-mobile-footer-chevron{display:grid;place-items:center;color:#a9c7d9;transition:transform .24s var(--mobile-ease)}
  .shop-page .shop-mobile-footer-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .shop-page .shop-mobile-footer-group.is-mobile-open .shop-mobile-footer-chevron{transform:rotate(90deg)}
  .shop-page .shop-mobile-footer-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .24s var(--mobile-ease)}
  .shop-page .shop-mobile-footer-panel-inner{display:grid;min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s linear .24s}
  .shop-page .shop-mobile-footer-group.is-mobile-open .shop-mobile-footer-panel{grid-template-rows:1fr}
  .shop-page .shop-mobile-footer-group.is-mobile-open .shop-mobile-footer-panel-inner{visibility:visible;transition-delay:0s}
  .shop-page footer .shop-mobile-footer-panel a{display:flex;min-height:44px;align-items:center;padding:.45rem 8px;border-radius:10px;font-size:.8rem}
  .shop-page .foot-bottom{width:calc(100% - 24px);margin-top:1.2rem;padding-top:1rem;font-size:.72rem}

  .shop-page .filter-open:active,
  .shop-page .view-toggle button:active,
  .shop-page .active-filter-chip:active,
  .shop-page .shop-add:active:not(:disabled),
  .shop-page .shop-product-wa:active,
  .shop-page .wishlist-btn:active,
  .shop-page .shop-empty button:active,
  .shop-page .shop-mobile-footer-toggle:active{transform:scale(.97)}

  @keyframes shopMobileCardIn{
    from{opacity:.62;transform:translateY(7px)}
    to{opacity:1;transform:translateY(0)}
  }
}

@media (max-width:340px){
  .shop-page .shop-product-info{padding-inline:7px}
  .shop-page .shop-add{font-size:.59rem}
  .shop-page .view-toggle button{width:50px;min-width:50px}
}

@media (prefers-reduced-motion:reduce){
  .shop-page .shop-product,
  .shop-page .filter-dialog-shell,
  .shop-page .filter-dialog::backdrop,
  .shop-page .shop-mobile-footer-panel,
  .shop-page .shop-mobile-footer-chevron{animation:none!important;transition:none!important}
}
